]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
4d667ad7595f6a104231cec22a9f085e54dc45b2
[thirdparty/glibc.git] / ChangeLog
1 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * manual/contrib.texi: Fix typo.
4
5 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6
7 [BZ #15998]
8 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
10 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11
12 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13
14 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
15 STRCHR as __strchr_power8.
16 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
17 strlen as __strlen_power8.
18
19 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20
21 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
22 unaligned load for shorter strings.
23 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
24
25 2017-02-06 Joseph Myers <joseph@codesourcery.com>
26
27 * math/libm-test-driver.c (flag_test_errno): New variable.
28 (flag_test_exceptions): Likewise.
29 (flag_test_finite): Likewise.
30 (flag_test_inline): Likewise.
31 (flag_test_mathvec): Likewise.
32 (test_msg): Likewise.
33 (ulp_idx): Likewise.
34 (qtype_str): Likewise.
35 (ULP_IDX): Remove macro.
36 (QTYPE_STR): Likewise.
37 (find_ulps): Use ulp_idx not ULP_IDX.
38 (print_function_ulps): Use qtype_str, printed with %s, not
39 QTYPE_STR, printed with concatentation to format string.
40 (print_complex_function_ulps): Likewise.
41 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
42 (test_errno): Use flag_test_errno not TEST_ERRNO.
43 (enable_test): Use flag_test_inline, flag_test_finite and
44 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
45 TEST_MATHVEC.
46 (libm_test_init): New function. Factored out of main.
47 (libm_test_finish): Likewise.
48 (main): Call libm_test_init and libm_test_finish and move most
49 code to those functions.
50
51 * math/libm-test-driver.c (STRX): New macro.
52 (STR): Likewise.
53 (STR_FLOAT): Likewise.
54 (STR_VEC_LEN): Likewise.
55 (TEST_MSG): Likewise. Define here instead of expecting to be
56 defined by including file.
57 * math/test-double-finite.c (TEST_MSG): Remove macro.
58 * math/test-double-vlen2.h (TEST_MSG): Likewise.
59 * math/test-double-vlen4.h (TEST_MSG): Likewise.
60 * math/test-double-vlen8.h (TEST_MSG): Likewise.
61 * math/test-double.c (TEST_MSG): Likewise.
62 * math/test-float-finite.c (TEST_MSG): Likewise.
63 * math/test-float-vlen16.h (TEST_MSG): Likewise.
64 * math/test-float-vlen4.h (TEST_MSG): Likewise.
65 * math/test-float-vlen8.h (TEST_MSG): Likewise.
66 * math/test-float.c (TEST_MSG): Likewise.
67 * math/test-idouble.c (TEST_MSG): Likewise.
68 * math/test-ifloat.c (TEST_MSG): Likewise.
69 * math/test-ildouble.c (TEST_MSG): Likewise.
70 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
71 * math/test-ldouble.c (TEST_MSG): Likewise.
72
73 * math/libm-test.inc: Move all tests of individual functions to
74 libm-test-*.inc and #include libm-test-*.c files.
75 (acos_test_data): Remove.
76 (acos_test): Likewise.
77 (acosh_test_data): Likewise.
78 (acosh_test): Likewise.
79 (asin_test_data): Likewise.
80 (asin_test): Likewise.
81 (asinh_test_data): Likewise.
82 (asinh_test): Likewise.
83 (atan_test_data): Likewise.
84 (atan_test): Likewise.
85 (atanh_test_data): Likewise.
86 (atanh_test): Likewise.
87 (atan2_test_data): Likewise.
88 (atan2_test): Likewise.
89 (cabs_test_data): Likewise.
90 (cabs_test): Likewise.
91 (cacos_test_data): Likewise.
92 (cacos_test): Likewise.
93 (cacosh_test_data): Likewise.
94 (cacosh_test): Likewise.
95 (canonicalize_test_data): Likewise.
96 (canonicalize_test): Likewise.
97 (carg_test_data): Likewise.
98 (carg_test): Likewise.
99 (casin_test_data): Likewise.
100 (casin_test): Likewise.
101 (casinh_test_data): Likewise.
102 (casinh_test): Likewise.
103 (catan_test_data): Likewise.
104 (catan_test): Likewise.
105 (catanh_test_data): Likewise.
106 (catanh_test): Likewise.
107 (cbrt_test_data): Likewise.
108 (cbrt_test): Likewise.
109 (ccos_test_data): Likewise.
110 (ccos_test): Likewise.
111 (ccosh_test_data): Likewise.
112 (ccosh_test): Likewise.
113 (ceil_test_data): Likewise.
114 (ceil_test): Likewise.
115 (cexp_test_data): Likewise.
116 (cexp_test): Likewise.
117 (cimag_test_data): Likewise.
118 (cimag_test): Likewise.
119 (clog_test_data): Likewise.
120 (clog_test): Likewise.
121 (clog10_test_data): Likewise.
122 (clog10_test): Likewise.
123 (conj_test_data): Likewise.
124 (conj_test): Likewise.
125 (copysign_test_data): Likewise.
126 (copysign_test): Likewise.
127 (cos_test_data): Likewise.
128 (cos_test): Likewise.
129 (cosh_test_data): Likewise.
130 (cosh_test): Likewise.
131 (cpow_test_data): Likewise.
132 (cpow_test): Likewise.
133 (cproj_test_data): Likewise.
134 (cproj_test): Likewise.
135 (creal_test_data): Likewise.
136 (creal_test): Likewise.
137 (csin_test_data): Likewise.
138 (csin_test): Likewise.
139 (csinh_test_data): Likewise.
140 (csinh_test): Likewise.
141 (csqrt_test_data): Likewise.
142 (csqrt_test): Likewise.
143 (ctan_test_data): Likewise.
144 (ctan_test): Likewise.
145 (ctanh_test_data): Likewise.
146 (ctanh_test): Likewise.
147 (erf_test_data): Likewise.
148 (erf_test): Likewise.
149 (erfc_test_data): Likewise.
150 (erfc_test): Likewise.
151 (exp_test_data): Likewise.
152 (exp_test): Likewise.
153 (exp10_test_data): Likewise.
154 (exp10_test): Likewise.
155 (pow10_test): Likewise.
156 (exp2_test_data): Likewise.
157 (exp2_test): Likewise.
158 (expm1_test_data): Likewise.
159 (expm1_test): Likewise.
160 (fabs_test_data): Likewise.
161 (fabs_test): Likewise.
162 (fdim_test_data): Likewise.
163 (fdim_test): Likewise.
164 (floor_test_data): Likewise.
165 (floor_test): Likewise.
166 (fma_test_data): Likewise.
167 (fma_test): Likewise.
168 (fmax_test_data): Likewise.
169 (fmax_test): Likewise.
170 (fmaxmag_test_data): Likewise.
171 (fmaxmag_test): Likewise.
172 (fmin_test_data): Likewise.
173 (fmin_test): Likewise.
174 (fminmag_test_data): Likewise.
175 (fminmag_test): Likewise.
176 (fmod_test_data): Likewise.
177 (fmod_test): Likewise.
178 (fpclassify_test_data): Likewise.
179 (fpclassify_test): Likewise.
180 (frexp_test_data): Likewise.
181 (frexp_test): Likewise.
182 (fromfp_test_data): Likewise.
183 (fromfp_test): Likewise.
184 (fromfpx_test_data): Likewise.
185 (fromfpx_test): Likewise.
186 (getpayload_test_data): Likewise.
187 (getpayload_test): Likewise.
188 (hypot_test_data): Likewise.
189 (hypot_test): Likewise.
190 (ilogb_test_data): Likewise.
191 (ilogb_test): Likewise.
192 (iscanonical_test_data): Likewise.
193 (iscanonical_test): Likewise.
194 (iseqsig_test_data): Likewise.
195 (iseqsig_test): Likewise.
196 (isfinite_test_data): Likewise.
197 (isfinite_test): Likewise.
198 (finite_test): Likewise.
199 (isgreater_test_data): Likewise.
200 (isgreater_test): Likewise.
201 (isgreaterequal_test_data): Likewise.
202 (isgreaterequal_test): Likewise.
203 (isinf_test_data): Likewise.
204 (isinf_test): Likewise.
205 (isless_test_data): Likewise.
206 (isless_test): Likewise.
207 (islessequal_test_data): Likewise.
208 (islessequal_test): Likewise.
209 (islessgreater_test_data): Likewise.
210 (islessgreater_test): Likewise.
211 (isnan_test_data): Likewise.
212 (isnan_test): Likewise.
213 (isnormal_test_data): Likewise.
214 (isnormal_test): Likewise.
215 (issignaling_test_data): Likewise.
216 (issignaling_test): Likewise.
217 (issubnormal_test_data): Likewise.
218 (issubnormal_test): Likewise.
219 (isunordered_test_data): Likewise.
220 (isunordered_test): Likewise.
221 (iszero_test_data): Likewise.
222 (iszero_test): Likewise.
223 (j0_test_data): Likewise.
224 (j0_test): Likewise.
225 (j1_test_data): Likewise.
226 (j1_test): Likewise.
227 (jn_test_data): Likewise.
228 (jn_test): Likewise.
229 (lgamma_test_data): Likewise.
230 (lgamma_test): Likewise.
231 (gamma_test): Likewise.
232 (llogb_test_data): Likewise.
233 (llogb_test): Likewise.
234 (lrint_test_data): Likewise.
235 (lrint_test): Likewise.
236 (llrint_test_data): Likewise.
237 (llrint_test): Likewise.
238 (log_test_data): Likewise.
239 (log_test): Likewise.
240 (log10_test_data): Likewise.
241 (log10_test): Likewise.
242 (log1p_test_data): Likewise.
243 (log1p_test): Likewise.
244 (log2_test_data): Likewise.
245 (log2_test): Likewise.
246 (logb_test_data): Likewise.
247 (logb_test): Likewise.
248 (lround_test_data): Likewise.
249 (lround_test): Likewise.
250 (llround_test_data): Likewise.
251 (llround_test): Likewise.
252 (modf_test_data): Likewise.
253 (modf_test): Likewise.
254 (nearbyint_test_data): Likewise.
255 (nearbyint_test): Likewise.
256 (nextafter_test_data): Likewise.
257 (nextafter_test): Likewise.
258 (nextup_test_data): Likewise.
259 (nextup_test): Likewise.
260 (nextdown_test_data): Likewise.
261 (nextdown_test): Likewise.
262 (nexttoward_test_data): Likewise.
263 (nexttoward_test): Likewise.
264 (pow_test_data): Likewise.
265 (pow_test): Likewise.
266 (remainder_test_data): Likewise.
267 (remainder_test): Likewise.
268 (drem_test): Likewise.
269 (remquo_test_data): Likewise.
270 (remquo_test): Likewise.
271 (rint_test_data): Likewise.
272 (rint_test): Likewise.
273 (round_test_data): Likewise.
274 (round_test): Likewise.
275 (roundeven_test_data): Likewise.
276 (roundeven_test): Likewise.
277 (scalb_test_data): Likewise.
278 (scalb_test): Likewise.
279 (scalbn_test_data): Likewise.
280 (scalbn_test): Likewise.
281 (ldexp_test): Likewise.
282 (scalbln_test_data): Likewise.
283 (scalbln_test): Likewise.
284 (setpayload_test_data): Likewise.
285 (setpayload_test): Likewise.
286 (setpayloadsig_test_data): Likewise.
287 (setpayloadsig_test): Likewise.
288 (signbit_test_data): Likewise.
289 (signbit_test): Likewise.
290 (sin_test_data): Likewise.
291 (sin_test): Likewise.
292 (sincos_test_data): Likewise.
293 (sincos_test): Likewise.
294 (sinh_test_data): Likewise.
295 (sinh_test): Likewise.
296 (sqrt_test_data): Likewise.
297 (sqrt_test): Likewise.
298 (tan_test_data): Likewise.
299 (tan_test): Likewise.
300 (tanh_test_data): Likewise.
301 (tanh_test): Likewise.
302 (tgamma_test_data): Likewise.
303 (tgamma_test): Likewise.
304 (totalorder_test_data): Likewise.
305 (totalorder_test): Likewise.
306 (totalordermag_test_data): Likewise.
307 (totalordermag_test): Likewise.
308 (trunc_test_data): Likewise.
309 (trunc_test): Likewise.
310 (ufromfp_test_data): Likewise.
311 (ufromfp_test): Likewise.
312 (ufromfpx_test_data): Likewise.
313 (ufromfpx_test): Likewise.
314 (y0_test_data): Likewise.
315 (y0_test): Likewise.
316 (y1_test_data): Likewise.
317 (y1_test): Likewise.
318 (yn_test_data): Likewise.
319 (yn_test): Likewise.
320 (significand_test_data): Likewise.
321 (significand_test): Likewise.
322 * math/Makefile (auto-libm-test-out-files): Remove variable.
323 (libm-test-funcs-noauto): New variable.
324 (libm-test-funcs-all): Likewise.
325 (libm-test-c-auto): Likewise.
326 (libm-test-c-noauto): Likewise.
327 (libm-tests-generated): Add $(libm-test-c-auto) and
328 $(libm-test-c-noauto).
329 (generated): Do not add auto-libm-test-out.
330 (libm-test-c-auto-obj): New variable.
331 (libm-test-c-noauto-obj): Likewise.
332 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
333 ($(libm-test-c-noauto-obj)): New static pattern rule.
334 ($(libm-test-c-auto-obj)): Likewise.
335 (libm-test-incs): New variable.
336 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
337 and pass it to gen-libm-have-vector-test.sh.
338 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
339 be passed on command line.
340 * math/libm-test-acos.inc: New file. Content from
341 math/libm-test.inc.
342 * math/libm-test-acosh.inc: Likewise.
343 * math/libm-test-asin.inc: Likewise.
344 * math/libm-test-asinh.inc: Likewise.
345 * math/libm-test-atan.inc: Likewise.
346 * math/libm-test-atan2.inc: Likewise.
347 * math/libm-test-atanh.inc: Likewise.
348 * math/libm-test-cabs.inc: Likewise.
349 * math/libm-test-cacos.inc: Likewise.
350 * math/libm-test-cacosh.inc: Likewise.
351 * math/libm-test-canonicalize.inc: Likewise.
352 * math/libm-test-carg.inc: Likewise.
353 * math/libm-test-casin.inc: Likewise.
354 * math/libm-test-casinh.inc: Likewise.
355 * math/libm-test-catan.inc: Likewise.
356 * math/libm-test-catanh.inc: Likewise.
357 * math/libm-test-cbrt.inc: Likewise.
358 * math/libm-test-ccos.inc: Likewise.
359 * math/libm-test-ccosh.inc: Likewise.
360 * math/libm-test-ceil.inc: Likewise.
361 * math/libm-test-cexp.inc: Likewise.
362 * math/libm-test-cimag.inc: Likewise.
363 * math/libm-test-clog.inc: Likewise.
364 * math/libm-test-clog10.inc: Likewise.
365 * math/libm-test-conj.inc: Likewise.
366 * math/libm-test-copysign.inc: Likewise.
367 * math/libm-test-cos.inc: Likewise.
368 * math/libm-test-cosh.inc: Likewise.
369 * math/libm-test-cpow.inc: Likewise.
370 * math/libm-test-cproj.inc: Likewise.
371 * math/libm-test-creal.inc: Likewise.
372 * math/libm-test-csin.inc: Likewise.
373 * math/libm-test-csinh.inc: Likewise.
374 * math/libm-test-csqrt.inc: Likewise.
375 * math/libm-test-ctan.inc: Likewise.
376 * math/libm-test-ctanh.inc: Likewise.
377 * math/libm-test-erf.inc: Likewise.
378 * math/libm-test-erfc.inc: Likewise.
379 * math/libm-test-exp.inc: Likewise.
380 * math/libm-test-exp10.inc: Likewise.
381 * math/libm-test-exp2.inc: Likewise.
382 * math/libm-test-expm1.inc: Likewise.
383 * math/libm-test-fabs.inc: Likewise.
384 * math/libm-test-fdim.inc: Likewise.
385 * math/libm-test-floor.inc: Likewise.
386 * math/libm-test-fma.inc: Likewise.
387 * math/libm-test-fmax.inc: Likewise.
388 * math/libm-test-fmaxmag.inc: Likewise.
389 * math/libm-test-fmin.inc: Likewise.
390 * math/libm-test-fminmag.inc: Likewise.
391 * math/libm-test-fmod.inc: Likewise.
392 * math/libm-test-fpclassify.inc: Likewise.
393 * math/libm-test-frexp.inc: Likewise.
394 * math/libm-test-fromfp.inc: Likewise.
395 * math/libm-test-fromfpx.inc: Likewise.
396 * math/libm-test-getpayload.inc: Likewise.
397 * math/libm-test-hypot.inc: Likewise.
398 * math/libm-test-ilogb.inc: Likewise.
399 * math/libm-test-iscanonical.inc: Likewise.
400 * math/libm-test-iseqsig.inc: Likewise.
401 * math/libm-test-isfinite.inc: Likewise.
402 * math/libm-test-isgreater.inc: Likewise.
403 * math/libm-test-isgreaterequal.inc: Likewise.
404 * math/libm-test-isinf.inc: Likewise.
405 * math/libm-test-isless.inc: Likewise.
406 * math/libm-test-islessequal.inc: Likewise.
407 * math/libm-test-islessgreater.inc: Likewise.
408 * math/libm-test-isnan.inc: Likewise.
409 * math/libm-test-isnormal.inc: Likewise.
410 * math/libm-test-issignaling.inc: Likewise.
411 * math/libm-test-issubnormal.inc: Likewise.
412 * math/libm-test-isunordered.inc: Likewise.
413 * math/libm-test-iszero.inc: Likewise.
414 * math/libm-test-j0.inc: Likewise.
415 * math/libm-test-j1.inc: Likewise.
416 * math/libm-test-jn.inc: Likewise.
417 * math/libm-test-lgamma.inc: Likewise.
418 * math/libm-test-llogb.inc: Likewise.
419 * math/libm-test-llrint.inc: Likewise.
420 * math/libm-test-llround.inc: Likewise.
421 * math/libm-test-log.inc: Likewise.
422 * math/libm-test-log10.inc: Likewise.
423 * math/libm-test-log1p.inc: Likewise.
424 * math/libm-test-log2.inc: Likewise.
425 * math/libm-test-logb.inc: Likewise.
426 * math/libm-test-lrint.inc: Likewise.
427 * math/libm-test-lround.inc: Likewise.
428 * math/libm-test-modf.inc: Likewise.
429 * math/libm-test-nearbyint.inc: Likewise.
430 * math/libm-test-nextafter.inc: Likewise.
431 * math/libm-test-nextdown.inc: Likewise.
432 * math/libm-test-nexttoward.inc: Likewise.
433 * math/libm-test-nextup.inc: Likewise.
434 * math/libm-test-pow.inc: Likewise.
435 * math/libm-test-remainder.inc: Likewise.
436 * math/libm-test-remquo.inc: Likewise.
437 * math/libm-test-rint.inc: Likewise.
438 * math/libm-test-round.inc: Likewise.
439 * math/libm-test-roundeven.inc: Likewise.
440 * math/libm-test-scalb.inc: Likewise.
441 * math/libm-test-scalbln.inc: Likewise.
442 * math/libm-test-scalbn.inc: Likewise.
443 * math/libm-test-setpayload.inc: Likewise.
444 * math/libm-test-setpayloadsig.inc: Likewise.
445 * math/libm-test-signbit.inc: Likewise.
446 * math/libm-test-significand.inc: Likewise.
447 * math/libm-test-sin.inc: Likewise.
448 * math/libm-test-sincos.inc: Likewise.
449 * math/libm-test-sinh.inc: Likewise.
450 * math/libm-test-sqrt.inc: Likewise.
451 * math/libm-test-tan.inc: Likewise.
452 * math/libm-test-tanh.inc: Likewise.
453 * math/libm-test-tgamma.inc: Likewise.
454 * math/libm-test-totalorder.inc: Likewise.
455 * math/libm-test-totalordermag.inc: Likewise.
456 * math/libm-test-trunc.inc: Likewise.
457 * math/libm-test-ufromfp.inc: Likewise.
458 * math/libm-test-ufromfpx.inc: Likewise.
459 * math/libm-test-y0.inc: Likewise.
460 * math/libm-test-y1.inc: Likewise.
461 * math/libm-test-yn.inc: Likewise.
462 * math/README.libm-test: Update.
463
464 * math/gen-auto-libm-tests.c: Update comment about use of program.
465 (generate_output): Add argument FUNCTION.
466 (main): Require extra argument. Pass function name to
467 generate_output.
468 * math/Makefile (generated): Add auto-libm-test-out.
469 (libm-test-funcs-auto): New variable.
470 (auto-libm-test-out-files): New variable.
471 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
472 Concatenate those files to form $(objpfx)auto-libm-test-out and
473 use it as input to gen-libm-test.pl.
474 * math/README.libm-test: Update.
475 * math/auto-libm-test-out: Remove.
476 * math/auto-libm-test-out-acos: New generated file.
477 * math/auto-libm-test-out-acosh: Likewise.
478 * math/auto-libm-test-out-asin: Likewise.
479 * math/auto-libm-test-out-asinh: Likewise.
480 * math/auto-libm-test-out-atan: Likewise.
481 * math/auto-libm-test-out-atan2: Likewise.
482 * math/auto-libm-test-out-atanh: Likewise.
483 * math/auto-libm-test-out-cabs: Likewise.
484 * math/auto-libm-test-out-carg: Likewise.
485 * math/auto-libm-test-out-cbrt: Likewise.
486 * math/auto-libm-test-out-ccos: Likewise.
487 * math/auto-libm-test-out-ccosh: Likewise.
488 * math/auto-libm-test-out-cexp: Likewise.
489 * math/auto-libm-test-out-clog: Likewise.
490 * math/auto-libm-test-out-clog10: Likewise.
491 * math/auto-libm-test-out-cos: Likewise.
492 * math/auto-libm-test-out-cosh: Likewise.
493 * math/auto-libm-test-out-cpow: Likewise.
494 * math/auto-libm-test-out-csin: Likewise.
495 * math/auto-libm-test-out-csinh: Likewise.
496 * math/auto-libm-test-out-csqrt: Likewise.
497 * math/auto-libm-test-out-ctan: Likewise.
498 * math/auto-libm-test-out-ctanh: Likewise.
499 * math/auto-libm-test-out-erf: Likewise.
500 * math/auto-libm-test-out-erfc: Likewise.
501 * math/auto-libm-test-out-exp: Likewise.
502 * math/auto-libm-test-out-exp10: Likewise.
503 * math/auto-libm-test-out-exp2: Likewise.
504 * math/auto-libm-test-out-expm1: Likewise.
505 * math/auto-libm-test-out-fma: Likewise.
506 * math/auto-libm-test-out-hypot: Likewise.
507 * math/auto-libm-test-out-j0: Likewise.
508 * math/auto-libm-test-out-j1: Likewise.
509 * math/auto-libm-test-out-jn: Likewise.
510 * math/auto-libm-test-out-lgamma: Likewise.
511 * math/auto-libm-test-out-log: Likewise.
512 * math/auto-libm-test-out-log10: Likewise.
513 * math/auto-libm-test-out-log1p: Likewise.
514 * math/auto-libm-test-out-log2: Likewise.
515 * math/auto-libm-test-out-pow: Likewise.
516 * math/auto-libm-test-out-sin: Likewise.
517 * math/auto-libm-test-out-sincos: Likewise.
518 * math/auto-libm-test-out-sinh: Likewise.
519 * math/auto-libm-test-out-sqrt: Likewise.
520 * math/auto-libm-test-out-tan: Likewise.
521 * math/auto-libm-test-out-tanh: Likewise.
522 * math/auto-libm-test-out-tgamma: Likewise.
523 * math/auto-libm-test-out-y0: Likewise.
524 * math/auto-libm-test-out-y1: Likewise.
525 * math/auto-libm-test-out-yn: Likewise.
526
527 * math/Makefile (generated): Do not include libm-test.stmp.
528 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
529 on $(objpfx)libm-test.stmp.
530 ($(objpfx)libm-test.stmp): Remove rule.
531 ($(objpfx)libm-test-ulps.h): New rule.
532 ($(objpfx)libm-test.c): Likewise.
533 ($(objpfx)libm-have-vector-test.h): Likewise.
534 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
535 individual generated files, not libm-test.stmp.
536
537 * math/gen-libm-test.pl ($output_dir): Remove variable.
538 ($srcdir): Likewise.
539 ($opt_a): New variable.
540 ($opt_c): Likewise.
541 ($opt_C): Likewise.
542 ($opt_H): Likewise.
543 (-n): Make option take argument and use it as NewUlps output.
544 (-a): New option. Use its argument for auto-libm-test-out input.
545 (-c): New option. Use its argument for libm-test.inc input.
546 (-C): New option. Use its argument for libm-test.c output.
547 (-H): New option. Use its argument for libm-test-ulps.h output.
548 (top level): Only process inputs needed to generate outputs
549 specified by command-line options. Only generate outputs
550 specified by command-line options.
551 * math/README.libm-test: Update example gen-libm-test.pl command.
552 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
553 commands.
554 (regen-ulps): Likewise.
555
556 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
557
558 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
559 * include/string.h (index): Remove define.
560 (rindex): Likewise.
561 * misc/getttyent.c (__getttyent): Rename index to strchr.
562 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
563 * sunrpc/rpc_main.c (mkfile_output): Likewise.
564
565 2017-02-06 Joseph Myers <joseph@codesourcery.com>
566
567 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
568 * math/libm-test.inc: Move all contents, other than tests of
569 individual functions, to libm-test-driver.c.
570 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
571 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
572 [!FE_UPWARD] (FE_UPWARD): Likewise.
573 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
574 (NO_EXCEPTION): Likewise.
575 (INVALID_EXCEPTION): Likewise.
576 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
577 (OVERFLOW_EXCEPTION): Likewise.
578 (UNDERFLOW_EXCEPTION): Likewise.
579 (INEXACT_EXCEPTION): Likewise.
580 (INVALID_EXCEPTION_OK): Likewise.
581 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
582 (OVERFLOW_EXCEPTION_OK): Likewise.
583 (UNDERFLOW_EXCEPTION_OK): Likewise.
584 (NO_INEXACT_EXCEPTION): Likewise.
585 (EXCEPTIONS_OK): Likewise.
586 (IGNORE_ZERO_INF_SIGN): Likewise.
587 (TEST_NAN_SIGN): Likewise.
588 (TEST_NAN_PAYLOAD): Likewise.
589 (NO_TEST_INLINE): Likewise.
590 (XFAIL_TEST): Likewise.
591 (ERRNO_UNCHANGED): Likewise.
592 (ERRNO_EDOM): Likewise.
593 (ERRNO_ERANGE): Likewise.
594 (IGNORE_RESULT): Likewise.
595 (NON_FINITE): Likewise.
596 (TEST_SNAN): Likewise.
597 (NO_TEST_MATHVEC): Likewise.
598 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
599 (__CONCATX): Likewise.
600 (TYPE_MIN): Likewise.
601 (TYPE_TRUE_MIN): Likewise.
602 (TYPE_MAX): Likewise.
603 (MIN_EXP): Likewise.
604 (MAX_EXP): Likewise.
605 (MANT_DIG): Likewise.
606 (FSTR_MAX): Likewise.
607 (ULP_IDX): Likewise.
608 (QTYPE_STR): Likewise.
609 (TEST_COND_binary32): Likewise.
610 (TEST_COND_binary64): Likewise.
611 (TEST_COND_binary128): Likewise.
612 (TEST_COND_ibm128): Likewise.
613 (TEST_COND_intel96): Likewise.
614 (TEST_COND_m68k96): Likewise.
615 (TEST_COND_ibm128_libgcc): Likewise.
616 (XFAIL_IBM128_LIBGCC): Likewise.
617 (PAYLOAD_DIG): Likewise.
618 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
619 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
620 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
621 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
622 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
623 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
624 (TEST_COND_long32): Likewise.
625 (TEST_COND_long64): Likewise.
626 (TEST_COND_before_rounding): Likewise.
627 (TEST_COND_after_rounding): Likewise.
628 (lit_pi_3_m_4_d): Likewise.
629 (lit_pi_3_m_4_ln10_m_d): Likewise.
630 (lit_pi_2_ln10_m_d): Likewise.
631 (lit_pi_4_ln10_m_d): Likewise.
632 (lit_pi_ln10_d): Likewise.
633 (lit_pi_2_d): Likewise.
634 (lit_pi_4_d): Likewise.
635 (lit_pi): Likewise.
636 (lit_e): Likewise.
637 (ulps_file_name): Likewise.
638 (ulps_file): Likewise.
639 (output_ulps): Likewise.
640 (output_dir): Likewise.
641 (noErrors): Likewise.
642 (noTests): Likewise.
643 (noExcTests): Likewise.
644 (noErrnoTests): Likewise.
645 (verbose): Likewise.
646 (output_max_error): Likewise.
647 (output_points): Likewise.
648 (ignore_max_ulp): Likewise.
649 (plus_zero): Likewise.
650 (minus_zero): Likewise.
651 (plus_infty): Likewise.
652 (minus_infty): Likewise.
653 (qnan_value_pl): Likewise.
654 (qnan_value): Likewise.
655 (snan_value_pl): Likewise.
656 (snan_value): Likewise.
657 (max_value): Likewise.
658 (min_value): Likewise.
659 (min_subnorm_value): Likewise.
660 (snan_value_ld): Likewise.
661 (max_error): Likewise.
662 (real_max_error): Likewise.
663 (imag_max_error): Likewise.
664 (prev_max_error): Likewise.
665 (prev_real_max_error): Likewise.
666 (prev_imag_max_error): Likewise.
667 (max_valid_error): Likewise.
668 (TYPE_DECIMAL_DIG): Likewise.
669 (TYPE_HEX_DIG): Likewise.
670 (fmt_ftostr): Likewise.
671 (compare_ulp_data): Likewise.
672 (find_ulps): Likewise.
673 (init_max_error): Likewise.
674 (set_max_error): Likewise.
675 (print_float): Likewise.
676 (print_screen): Likewise.
677 (print_screen_max_error): Likewise.
678 (update_stats): Likewise.
679 (print_function_ulps): Likewise.
680 (print_complex_function_ulps): Likewise.
681 (fpstack_test): Likewise.
682 (print_max_error): Likewise.
683 (print_complex_max_error): Likewise.
684 (test_single_exception): Likewise.
685 (test_exceptions): Likewise.
686 (test_single_errno): Likewise.
687 (test_errno): Likewise.
688 (ULPDIFF): Likewise.
689 (ulp): Likewise.
690 (check_float_internal): Likewise.
691 (check_float): Likewise.
692 (check_complex): Likewise.
693 (check_int): Likewise.
694 (check_long): Likewise.
695 (check_bool): Likewise.
696 (check_longlong): Likewise.
697 (check_intmax_t): Likewise.
698 (check_uintmax_t): Likewise.
699 (enable_test): Likewise.
700 (struct test_f_f_data): Likewise.
701 (struct test_ff_f_data): Likewise.
702 (struct test_fj_f_data): Likewise.
703 (struct test_fi_f_data): Likewise.
704 (struct test_fl_f_data): Likewise.
705 (struct test_if_f_data): Likewise.
706 (struct test_fff_f_data): Likewise.
707 (struct test_fiu_M_data): Likewise.
708 (struct test_fiu_U_data): Likewise.
709 (struct test_c_f_data): Likewise.
710 (struct test_f_f1_data): Likewise.
711 (struct test_fF_f1_data): Likewise.
712 (struct test_ffI_f1_data): Likewise.
713 (struct test_c_c_data): Likewise.
714 (struct test_cc_c_data): Likewise.
715 (struct test_f_i_data): Likewise.
716 (struct test_ff_i_data): Likewise.
717 (struct test_f_l_data): Likewise.
718 (struct test_f_L_data): Likewise.
719 (struct test_fFF_11_data): Likewise.
720 (struct test_Ff_b1_data): Likewise.
721 (IF_ROUND_INIT_): Likewise.
722 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
723 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
724 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
725 (IF_ROUND_INIT_FE_UPWARD): Likewise.
726 (ROUND_RESTORE_): Likewise.
727 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
728 (ROUND_RESTORE_FE_TONEAREST): Likewise.
729 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
730 (ROUND_RESTORE_FE_UPWARD): Likewise.
731 (RM_): Likewise.
732 (RM_FE_DOWNWARD): Likewise.
733 (RM_FE_TONEAREST): Likewise.
734 (RM_FE_TOWARDZERO): Likewise.
735 (RM_FE_UPWARD): Likewise.
736 (COMMON_TEST_SETUP): Likewise.
737 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
738 (COMMON_TEST_CLEANUP): Likewise.
739 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
740 (RUN_TEST_f_f): Likewise.
741 (RUN_TEST_LOOP_f_f): Likewise.
742 (RUN_TEST_fp_f): Likewise.
743 (RUN_TEST_LOOP_fp_f): Likewise.
744 (RUN_TEST_2_f): Likewise.
745 (RUN_TEST_LOOP_2_f): Likewise.
746 (RUN_TEST_ff_f): Likewise.
747 (RUN_TEST_LOOP_ff_f): Likewise.
748 (RUN_TEST_LOOP_fj_f): Likewise.
749 (RUN_TEST_fi_f): Likewise.
750 (RUN_TEST_LOOP_fi_f): Likewise.
751 (RUN_TEST_fl_f): Likewise.
752 (RUN_TEST_LOOP_fl_f): Likewise.
753 (RUN_TEST_if_f): Likewise.
754 (RUN_TEST_LOOP_if_f): Likewise.
755 (RUN_TEST_fff_f): Likewise.
756 (RUN_TEST_LOOP_fff_f): Likewise.
757 (RUN_TEST_fiu_M): Likewise.
758 (RUN_TEST_LOOP_fiu_M): Likewise.
759 (RUN_TEST_fiu_U): Likewise.
760 (RUN_TEST_LOOP_fiu_U): Likewise.
761 (RUN_TEST_c_f): Likewise.
762 (RUN_TEST_LOOP_c_f): Likewise.
763 (RUN_TEST_f_f1): Likewise.
764 (RUN_TEST_LOOP_f_f1): Likewise.
765 (RUN_TEST_fF_f1): Likewise.
766 (RUN_TEST_LOOP_fF_f1): Likewise.
767 (RUN_TEST_fI_f1): Likewise.
768 (RUN_TEST_LOOP_fI_f1): Likewise.
769 (RUN_TEST_ffI_f1_mod8): Likewise.
770 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
771 (RUN_TEST_Ff_b1): Likewise.
772 (RUN_TEST_LOOP_Ff_b1): Likewise.
773 (RUN_TEST_Ffp_b1): Likewise.
774 (RUN_TEST_LOOP_Ffp_b1): Likewise.
775 (RUN_TEST_c_c): Likewise.
776 (RUN_TEST_LOOP_c_c): Likewise.
777 (RUN_TEST_cc_c): Likewise.
778 (RUN_TEST_LOOP_cc_c): Likewise.
779 (RUN_TEST_f_i): Likewise.
780 (RUN_TEST_LOOP_f_i): Likewise.
781 (RUN_TEST_f_i_tg): Likewise.
782 (RUN_TEST_LOOP_f_i_tg): Likewise.
783 (RUN_TEST_ff_b): Likewise.
784 (RUN_TEST_LOOP_ff_b): Likewise.
785 (RUN_TEST_ff_i_tg): Likewise.
786 (RUN_TEST_LOOP_ff_i_tg): Likewise.
787 (RUN_TEST_f_b): Likewise.
788 (RUN_TEST_LOOP_f_b): Likewise.
789 (RUN_TEST_f_b_tg): Likewise.
790 (RUN_TEST_LOOP_f_b_tg): Likewise.
791 (RUN_TEST_f_l): Likewise.
792 (RUN_TEST_LOOP_f_l): Likewise.
793 (RUN_TEST_f_L): Likewise.
794 (RUN_TEST_LOOP_f_L): Likewise.
795 (RUN_TEST_fFF_11): Likewise.
796 (RUN_TEST_LOOP_fFF_11): Likewise.
797 (VEC_SUFF): Likewise.
798 (STR_CONCAT): Likewise.
799 (STR_CON3): Likewise.
800 (HAVE_VECTOR): Likewise.
801 (START): Likewise.
802 (END): Likewise.
803 (END_COMPLEX): Likewise.
804 (ALL_RM_TEST): Likewise.
805 (matherr): Likewise.
806 (initialize): Likewise.
807 (options): Likewise.
808 (doc): Likewise.
809 (parse_opt): Likewise.
810 (argp): Likewise.
811 (check_ulp): Likewise.
812 (main): Likewise.
813 (do_test): New function. Call tests of individual functions
814 previously called from main.
815
816 * math/libm-test.inc: Remove comment listing functions tested and
817 not tested.
818
819 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
820
821 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
822 (allocate_stack): Remove COLORING_INCREMENT usage.
823 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
824 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
825
826 2017-02-06 Joseph Myers <joseph@codesourcery.com>
827
828 * manual/libm-err-tab.pl (@all_functions): Change to
829 %all_functions. Initialize as empty.
830 (parse_ulps): Add to %all_functions based on functions found in
831 ulps files. Ignore results for non-default rounding modes and
832 vector functions.
833 (print_platforms): Use %all_platforms.
834 * manual/math.texi (Errors in Math Functions): Document omissions
835 from the table.
836
837 * math/Makefile (before-compile): Remove.
838
839 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
840
841 [BZ #21075]
842 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
843 unused assignment.
844 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
845
846 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
847
848 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
849 Add __glibc_unlikely hint.
850
851 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
852
853 [BZ #16640]
854 * sysdeps/i386/i686/strtok.S: Remove file.
855 * sysdeps/i386/i686/strtok_r.S: Likewise.
856 * sysdeps/i386/strtok.S: Likewise.
857 * sysdeps/i386/strtok_r.S: Likewise.
858 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
859 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
860 * sysdeps/x86_64/strtok.S: Likewise.
861 * sysdeps/x86_64/strtok_r.S: Likewise.
862
863 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
864 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
865 * sysdeps/unix/sysv/linux/mips/kernel-features.h
866 (__ASSUME_FADVISE64_AS_64_64): Define.
867 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
868 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
869 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
870 __ALIGNMENT_ARG usage.
871 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
872 __NR_fadvise64_64 if it is not defined.
873
874 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
875
876 * version.h (RELEASE): Set to "development"
877 (VERSION): Set to 2.25.90.
878 * NEWS: Add 2.26 section.
879
880 * version.h (RELEASE): Set to "stable"
881 (VERSION): Set to 2.25.
882 * include/features.h (__GLIBC_MINOR__): Set to 25.
883
884 * manual/contrib.texi: Add more contributors from this release
885 and past releases.
886
887 * NEWS (2.25): Add list of bugs fixed.
888
889 * NEWS: Add missing news items.
890
891 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
892
893 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
894 parent if child exited in that manner. Print WEXITSTATUS
895 instead of the raw status.
896 (do_test_prep): Rename to do_test.
897 (do_test): Return the result of run_executable_sgid.
898 (TEST_FUNCTION_ARGV): Adjust.
899
900 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
901 Florian Weimer <fweimer@redhat.com>
902 Carlos O'Donell <carlos@redhat.com>
903
904 [BZ #20915]
905 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
906 Do not initialize DTV.
907 * nptl/allocatestack.c (init_one_static_tls): Likewise.
908
909 2017-02-03 David S. Miller <davem@davemloft.net>
910
911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
920 (libm-sysdep_routines): Update.
921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
926 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
927 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
928 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
929 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
931 Likewise.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
934 Likewise.
935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
937 Likewise.
938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
940 Likewise.
941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
943 (libm-sysdep_routines): Update.
944
945 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
946
947 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
948 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
949 against unrelocated shared library.
950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
951
952 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
953
954 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
955 * elf/tst-env-setuid-tunables.c
956 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
957 GLIBC_TUNABLES is removed in a setgid process.
958
959 [BZ #21073]
960 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
961 * elf/dl-tunables.c (tunables_strdup): Remove.
962 (get_next_env): Also return the previous envp.
963 (parse_tunables): Erase tunables of category
964 TUNABLES_SECLEVEL_SXID_ERASE.
965 (maybe_enable_malloc_check): Make MALLOC_CHECK_
966 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
967 (__tunables_init)[TUNABLES_FRONTEND ==
968 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
969 after parsing.
970 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
971 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
972 * elf/dl-tunables.h (struct _tunable): Change member is_secure
973 to security_level.
974 * elf/dl-tunables.list: Add security_level annotations for all
975 tunables.
976 * scripts/gen-tunables.awk: Recognize and generate enum values
977 for security_level.
978 * elf/tst-env-setuid.c: New test case.
979 * elf/tst-env-setuid-tunables: new test case.
980 * elf/Makefile (tests-static): Add them.
981
982 2017-02-01 Richard Henderson <rth@twiddle.net>
983
984 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
985 adjusting the byte count.
986
987 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
988
989 * conform/Makefile (linknamespace-libs): Define.
990
991 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
992 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
993 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
994 operands.
995
996 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
997
998 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
999
1000 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 [BZ #21081]
1003 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1004 (L(stosb)): Add VZEROUPPER before ret.
1005
1006 2016-01-28 Carlos O'Donell <carlos@redhat.com>
1007 Alexey Makhalov <amakhalov@vmware.com>
1008 Florian Weimer <fweimer@redhat.com>
1009
1010 [BZ #20116]
1011 * nptl/pthread_create.c: Document concurrency notes.
1012 Enhance thread creation notes.
1013 (create_thread): Use bool *stopped_start.
1014 (START_THREAD_DEFN): Comment ownership of PD.
1015 (__pthread_create_2_1): Add local bool stopped_start and use
1016 that instead of pd->stopped_start where appropriate.
1017 * nptl/createthread.c (create_thread): Use bool *stopped_start.
1018 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1019 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1020 * nptl/tst-create-detached.c: New file.
1021 * nptl/Makefile (tests): Add tst-create-detached.
1022 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1023 Reference the enhanced thread creation notes.
1024 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1025 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1026 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1027 (__pthread_current_priority): Likewise.
1028 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1029 xpthread_attr_init, xpthread_attr_setdetachstate, and
1030 xpthread_attr_setstacksize.
1031 * support/xpthread_attr_destroy.c: New file.
1032 * support/xpthread_attr_init.c: New file.
1033 * support/xpthread_attr_setdetachstate.c: New file.
1034 * support/xpthread_attr_setstacksize.c: New file.
1035 * support/xthread.h: Define prototypes for xpthread_attr_destroy
1036 xpthread_attr_init, xpthread_attr_setdetachstate, and
1037 xpthread_attr_setstacksize.
1038
1039 2017-01-27 Florian Weimer <fweimer@redhat.com>
1040
1041 * nptl/Makefile (tests): Add tst-robust-fork.
1042 * nptl/tst-robust-fork.c: New file.
1043 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1044 xpthread_mutex_consistent, xpthread_mutex_destroy,
1045 xpthread_mutex_init, xpthread_mutexattr_destroy,
1046 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1047 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1048 xpthread_mutexattr_settype.
1049 * support/xmmap.c: New file.
1050 * support/xmunmap.c: Likewise.
1051 * support/xpthread_mutex_consistent.c: Likewise.
1052 * support/xpthread_mutex_destroy.c: Likewise.
1053 * support/xpthread_mutex_init.c: Likewise.
1054 * support/xpthread_mutexattr_destroy.c: Likewise.
1055 * support/xpthread_mutexattr_init.c: Likewise.
1056 * support/xpthread_mutexattr_setprotocol.c: Likewise.
1057 * support/xpthread_mutexattr_setpshared.c: Likewise.
1058 * support/xpthread_mutexattr_setrobust.c: Likewise.
1059 * support/xpthread_mutexattr_settype.c: Likewise.
1060 * support/xthread.h (xpthread_mutexattr_destroy)
1061 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1062 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1063 (xpthread_mutexattr_settype, xpthread_mutex_init)
1064 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1065 * support/xunistd.h (xmmap, xmunmap): Likewise.
1066
1067 2017-01-25 Florian Weimer <fweimer@redhat.com>
1068
1069 * string/Makefile (xtests): Add comment.
1070 (LOCALES): Add en_GB.UTF-8.
1071 (tst-strcoll-overflow.out): Depend on generated locales.
1072 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1073 (SIZE, TIMEOUT): Update comments.
1074 (do_test): Define as static. Fail test if setlocale fails.
1075 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
1076 messages.
1077 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1078 TIMEOUT at 300 seconds should be enough to run this test
1079 successfully.
1080
1081 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1082
1083 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1084 /* FALLTHRU */ comments.
1085
1086 2017-01-24 James Clarke <jrtc27@jrtc27.com>
1087
1088 [BZ #21053]
1089 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1090 constants instead of the old R* ones.
1091 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1092 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1093 (NGREG): ... to this, to fit in with other architectures.
1094 (gpregset_t): Use new NGREG macro.
1095 [__USE_GNU]: Remove condition; all architectures other than tile
1096 are unconditional.
1097 (R*): Rename to REG_R*.
1098
1099 2017-01-20 DJ Delorie <dj@redhat.com>
1100
1101 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1102 (tunable_set_val_if_valid_range_signed) ... this, and ...
1103 (tunable_set_val_if_valid_range_unsigned) ... this.
1104 (tunable_initialize): Call the correct one of the above based on type.
1105
1106 2017-01-20 Joseph Myers <joseph@codesourcery.com>
1107
1108 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1109 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1110 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1111 * sysdeps/microblaze/libm-test-ulps: Likewise.
1112 * sysdeps/sh/libm-test-ulps: Likewise.
1113
1114 * math/README.libm-test: Update list of characters for input and
1115 output types.
1116
1117 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1118
1119 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1120 (__lll_unlock_elision): Fix adapt_count decrement.
1121
1122 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
1123
1124 * README.pretty-printers (Known issues): Warn about printers not
1125 always covering everything.
1126 * nptl/nptl-printers.py (MutexPrinter): Change output.
1127 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1128
1129 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1130
1131 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1132 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1133 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1134 (__lll_lock_elision): Do not test futex before starting a
1135 transaction. Use __glibc_likely instead of __builtin_expect.
1136 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1137 (__lll_trylock_elision): Do not test futex before starting a
1138 transaction. Use __glibc_likely instead of __builtin_expect.
1139
1140 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
1141
1142 * po/Makefile (update-translations): New target.
1143
1144 2017-01-19 Joseph Myers <joseph@codesourcery.com>
1145
1146 [BZ #21061]
1147 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1148
1149 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
1150
1151 * elf/dl-tunables (get_next_env): Always advance envp.
1152 * stdlib/tst-empty-env.c: New test case.
1153 * stdlib/Makefile (tests): Use it.
1154
1155 2017-01-19 Joseph Myers <joseph@codesourcery.com>
1156
1157 [BZ #21047]
1158 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1159 name for instruction.
1160 [!__SOFTFP__] (_FPU_SETCW): Likewise.
1161
1162 2017-01-18 Joseph Myers <joseph@codesourcery.com>
1163
1164 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1165 for make install.
1166
1167 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
1168
1169 * po/bg.po: Merge from Translation Project.
1170 * po/fr.po: Likewise.
1171 * po/ko.po: Likewise.
1172 * po/nl.po: Likewise.
1173 * po/sv.po: Likewise.
1174
1175 2017-01-18 Joseph Myers <joseph@codesourcery.com>
1176
1177 * manual/install.texi (Tools for Compilation): Update GCC version
1178 known to work to build glibc.
1179 * INSTALL: Regenerated.
1180
1181 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1182
1183 [BZ #21006]
1184 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1185
1186 2017-01-16 Joseph Myers <joseph@codesourcery.com>
1187
1188 [BZ #21045]
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1190 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1191 to __sigprocmask.
1192
1193 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
1194
1195 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1196 wrap-around.
1197 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1198
1199 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1200
1201 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1202
1203 * NEWS: Fix typo.
1204
1205 2016-01-13 Torvald Riegel <triegel@redhat.com>
1206
1207 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1208 barriers and comments.
1209 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1210 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1211 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1212
1213 2016-01-13 Torvald Riegel <triegel@redhat.com>
1214
1215 [BZ #19402]
1216 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1217 mutexes.
1218
1219 2016-01-13 Torvald Riegel <triegel@redhat.com>
1220
1221 [BZ #20985]
1222 * nptl/Makefile: Adapt.
1223 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1224 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1225 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1226 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1227 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1228 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1229 lll_robust* functions and adapt.
1230 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1231 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1232 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1233 __lll_robust_timedlock, __lll_robust_unlock): Remove.
1234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1235 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1237 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1238 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1239 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1240 __lll_robust_timedlock, __lll_robust_unlock): Remove.
1241 * nptl/lowlevelrobustlock.c: Remove file.
1242 * nptl/lowlevelrobustlock.sym: Likewise.
1243 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1245
1246 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1247
1248 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1249
1250 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
1251
1252 * po/cs.po: Merge translations from the Translation Project.
1253 * po/de.po: Likewise.
1254 * po/pl.po: Likewise.
1255 * po/ru.po: Likewise.
1256 * po/tr.po: Likewise.
1257 * po/uk.po: Likewise.
1258 * po/vi.po: Likewise.
1259 * po/zh_CN.po: Likewise.
1260
1261 2017-01-12 Joseph Myers <joseph@codesourcery.com>
1262
1263 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1264
1265 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1266 object.
1267
1268 2017-01-11 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #16458]
1271 * bits/uintn-identity.h: New file.
1272 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1273 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1274 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1275 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1276 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1277 * string/endian.h: Include <bits/uintn-identity.h>.
1278 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1279 __uint16_identity.
1280 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1281 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1282 __uint32_identity.
1283 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1284 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1285 __uint64_identity.
1286 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1287 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1288 __uint16_identity.
1289 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1290 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1291 __uint32_identity.
1292 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1293 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1294 __uint64_identity.
1295 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1296 * string/Makefile (headers): Add bits/uintn-identity.h.
1297 (tests): Add test-endian-types.
1298 * string/test-endian-types.c: New file.
1299 * inet/Makefile (tests): Add test-hnto-types.
1300 * inet/test-hnto-types.c: New file.
1301
1302 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1303
1304 * po/be.po: Update from Translation Project.
1305 * po/bg.po: Likewise.
1306 * po/ca.po: Likewise.
1307 * po/cs.po: Likewise.
1308 * po/da.po: Likewise.
1309 * po/de.po: Likewise.
1310 * po/el.po: Likewise.
1311 * po/eo.po: Likewise.
1312 * po/es.po: Likewise.
1313 * po/fi.po: Likewise.
1314 * po/fr.po: Likewise.
1315 * po/gl.po: Likewise.
1316 * po/hr.po: Likewise.
1317 * po/hu.po: Likewise.
1318 * po/ia.po: Likewise.
1319 * po/id.po: Likewise.
1320 * po/it.po: Likewise.
1321 * po/ja.po: Likewise.
1322 * po/ko.po: Likewise.
1323 * po/lt.po: Likewise.
1324 * po/nb.po: Likewise.
1325 * po/nl.po: Likewise.
1326 * po/pl.po: Likewise.
1327 * po/pt_BR.po: Likewise.
1328 * po/ru.po: Likewise.
1329 * po/rw.po: Likewise.
1330 * po/sk.po: Likewise.
1331 * po/sl.po: Likewise.
1332 * po/sv.po: Likewise.
1333 * po/tr.po: Likewise.
1334 * po/uk.po: Likewise.
1335 * po/vi.po: Likewise.
1336 * po/zh_CN.po: Likewise.
1337 * po/zh_TW.po: Likewise.
1338
1339 2017-01-11 Joseph Myers <joseph@codesourcery.com>
1340
1341 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1342 -Wformat-truncation instead of -Wformat-length.
1343 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1344 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1345 GCC 7.
1346 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1347 (do_test): Ignore -Wformat-truncation for GCC 7.
1348
1349 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1350 buffer used to print long int value.
1351
1352 * elf/sotruss-lib.c (init): Increase space allocated for pid by
1353 one byte. Print it with %ld, cast to long int.
1354
1355 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1356
1357 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1358 (re.fullmatch, subprocess.run): Likewise.
1359
1360 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1361
1362 * po/libc.pot: Regenerate.
1363
1364 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
1365
1366 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1367 (min_strlen): Likewise.
1368 (disable_tunable): Likewise.
1369 (maybe_disable_malloc_check): Rename to
1370 maybe_enable_malloc_check.
1371 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1372 if /etc/suid-debug file exists.
1373 (__tunables_init): Update caller.
1374 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1375 secure.
1376
1377 2016-01-10 Torvald Riegel <triegel@redhat.com>
1378
1379 * nptl/DESIGN-rwlock.txt: Remove.
1380 * nptl/lowlevelrwlock.sym: Remove.
1381 * nptl/Makefile: Add new tests.
1382 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
1383 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
1384 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
1385 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
1386 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
1387 PTHREAD_RWLOCK_FUTEX_USED): New.
1388 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
1389 implementation.
1390 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
1391 (__pthread_rwlock_rdlock): Adapt.
1392 * nptl/pthread_rwlock_timedrdlock.c
1393 (pthread_rwlock_timedrdlock): Adapt.
1394 * nptl/pthread_rwlock_timedwrlock.c
1395 (pthread_rwlock_timedwrlock): Adapt.
1396 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
1397 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
1398 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
1399 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
1400 (__pthread_rwlock_wrlock): Adapt.
1401 * nptl/tst-rwlock10.c: Adapt.
1402 * nptl/tst-rwlock11.c: Adapt.
1403 * nptl/tst-rwlock17.c: New file.
1404 * nptl/tst-rwlock18.c: New file.
1405 * nptl/tst-rwlock19.c: New file.
1406 * nptl/tst-rwlock2b.c: New file.
1407 * nptl/tst-rwlock8.c: Adapt.
1408 * nptl/tst-rwlock9.c: Adapt.
1409 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1410 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1411 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1412 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1413 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1414 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1415 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1416 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1417 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1418 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1419 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1420 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1421 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1422 (pthread_rwlock_t): Adapt.
1423 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1424 (pthread_rwlock_t): Adapt.
1425 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1426 * nptl/nptl-printers.py (): Adapt.
1427 * nptl/nptl_lock_constants.pysym: Adapt.
1428 * nptl/test-rwlock-printers.py: Adapt.
1429 * nptl/test-rwlockattr-printers.c: Adapt.
1430 * nptl/test-rwlockattr-printers.py: Adapt.
1431
1432 2017-01-10 Joseph Myers <joseph@codesourcery.com>
1433
1434 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
1435 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
1436 (fma_test_data): Likewise.
1437 (hypot_test_data): Likewise.
1438 (log1p_test_data): Likewise.
1439 (modf_test_data): Likewise.
1440 (pow_test_data): Likewise.
1441 (remainder_test_data): Likewise.
1442 (remquo_test_data): Likewise.
1443 (scalb_test_data): Likewise.
1444 (scalbn_test_data): Likewise.
1445 (scalbln_test_data): Likewise.
1446 * math/gen-libm-test.pl (parse_args): Transform
1447 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
1448 on the rounding mode.
1449
1450 2017-01-09 Joseph Myers <joseph@codesourcery.com>
1451
1452 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
1453 xfail-rounding:ibm128-libgcc automatically to tests overflowing
1454 and those that can underflow to zero.
1455 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
1456 add others.
1457 * math/auto-libm-test-out: Regenerated.
1458
1459 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
1460 supported.
1461 (feholdexcept_tests): Skip tests requiring exceptions or rounding
1462 modes support if not supported.
1463
1464 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
1465 Add libc.so PLT entry.
1466 (__tls_get_addr): Make ld.so PLT entry optional.
1467
1468 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1469
1470 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
1471 * string/bits/string3.h: ... here.
1472
1473 2017-01-05 Joseph Myers <joseph@codesourcery.com>
1474
1475 [BZ #21028]
1476 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
1477 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
1478 if EXCEPTION_TESTS returns false.
1479
1480 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1481
1482 [BZ #20558]
1483 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
1484 strings_fortified.h.
1485 [__USE_MISC] (bzero): Likewise.
1486 [__USE_MISC] (explicit_bzero): Likewise.
1487 * string/strings.h: Include strings_fortified.h.
1488 * string/Makefile (headers): Add strings_fortified.h.
1489 * string/bits/strings_fortified.h: New file.
1490 * include/bits/strings_fortified.h: Likewise.
1491
1492 2017-01-05 Joseph Myers <joseph@codesourcery.com>
1493
1494 * elf/tst-tls13.c (TIMEOUT): Remove.
1495 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
1496 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
1497 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
1498 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
1499 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
1500
1501 [BZ #21026]
1502 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
1503 (readahead): New syscall entry.
1504
1505 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1506
1507 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
1508 around tests of strncat with large sizes.
1509
1510 * malloc/tst-malloc.c: Include <libc-internal.h>.
1511 (do_test): Disable -Walloc-size-larger-than= around tests of
1512 malloc with negative sizes.
1513 * malloc/tst-mcheck.c: Include <libc-internal.h>.
1514 (do_test): Disable -Walloc-size-larger-than= around tests of
1515 malloc and realloc with negative sizes.
1516 * malloc/tst-realloc.c: Include <libc-internal.h>.
1517 (do_test): Disable -Walloc-size-larger-than= around tests of
1518 realloc with negative sizes.
1519
1520 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
1521 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
1522 allowed to 16 ulps.
1523 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
1524 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
1525 * math/auto-libm-test-out: Regenerated.
1526
1527 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1528
1529 * math/Makefile (libm-calls): Move wrappers...
1530 (libm-compat-call-auto): Here.
1531 (libm-routines): Add items in libm-compat-calls-auto.
1532 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
1533 the filenames of the wrappers that have been renamed.
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
1535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1536
1537 * math/w_acos.c: Add _compat suffix to filename.
1538 * math/w_acosf.c: Likewise.
1539 * math/w_acosh.c: Likewise.
1540 * math/w_acoshf.c: Likewise.
1541 * math/w_acoshl.c: Likewise.
1542 * math/w_acosl.c: Likewise.
1543 * math/w_asin.c: Likewise.
1544 * math/w_asinf.c: Likewise.
1545 * math/w_asinl.c: Likewise.
1546 * math/w_atan2.c: Likewise.
1547 * math/w_atan2f.c: Likewise.
1548 * math/w_atan2l.c: Likewise.
1549 * math/w_atanh.c: Likewise.
1550 * math/w_atanhf.c: Likewise.
1551 * math/w_atanhl.c: Likewise.
1552 * math/w_cosh.c: Likewise.
1553 * math/w_coshf.c: Likewise.
1554 * math/w_coshl.c: Likewise.
1555 * math/w_exp10.c: Likewise.
1556 * math/w_exp10f.c: Likewise.
1557 * math/w_exp10l.c: Likewise.
1558 * math/w_exp2.c: Likewise.
1559 * math/w_exp2f.c: Likewise.
1560 * math/w_exp2l.c: Likewise.
1561 * math/w_fmod.c: Likewise.
1562 * math/w_fmodf.c: Likewise.
1563 * math/w_fmodl.c: Likewise.
1564 * math/w_hypot.c: Likewise.
1565 * math/w_hypotf.c: Likewise.
1566 * math/w_hypotl.c: Likewise.
1567 * math/w_j0.c: Likewise.
1568 * math/w_j0f.c: Likewise.
1569 * math/w_j0l.c: Likewise.
1570 * math/w_j1.c: Likewise.
1571 * math/w_j1f.c: Likewise.
1572 * math/w_j1l.c: Likewise.
1573 * math/w_jn.c: Likewise.
1574 * math/w_jnf.c: Likewise.
1575 * math/w_jnl.c: Likewise.
1576 * math/w_log10.c: Likewise.
1577 * math/w_log10f.c: Likewise.
1578 * math/w_log10l.c: Likewise.
1579 * math/w_log2.c: Likewise.
1580 * math/w_log2f.c: Likewise.
1581 * math/w_log2l.c: Likewise.
1582 * math/w_log.c: Likewise.
1583 * math/w_logf.c: Likewise.
1584 * math/w_logl.c: Likewise.
1585 * math/w_pow.c: Likewise.
1586 * math/w_powf.c: Likewise.
1587 * math/w_powl.c: Likewise.
1588 * math/w_remainder.c: Likewise.
1589 * math/w_remainderf.c: Likewise.
1590 * math/w_remainderl.c: Likewise.
1591 * math/w_scalb.c: Likewise.
1592 * math/w_scalbf.c: Likewise.
1593 * math/w_scalbl.c: Likewise.
1594 * math/w_sinh.c: Likewise.
1595 * math/w_sinhf.c: Likewise.
1596 * math/w_sinhl.c: Likewise.
1597 * math/w_sqrt.c: Likewise.
1598 * math/w_sqrtf.c: Likewise.
1599 * math/w_sqrtl.c: Likewise.
1600 * math/w_tgamma.c: Likewise.
1601 * math/w_tgammaf.c: Likewise.
1602 * math/w_tgammal.c: Likewise.
1603
1604 * math/w_acos_compat.c: New file copied from above and
1605 adjusted for new #includes path
1606 * math/w_acosf_compat.c: Likewise.
1607 * math/w_acosh_compat.c: Likewise.
1608 * math/w_acoshf_compat.c: Likewise.
1609 * math/w_acoshl_compat.c: Likewise.
1610 * math/w_acosl_compat.c: Likewise.
1611 * math/w_asin_compat.c: Likewise.
1612 * math/w_asinf_compat.c: Likewise.
1613 * math/w_asinl_compat.c: Likewise.
1614 * math/w_atan2_compat.c: Likewise.
1615 * math/w_atan2f_compat.c: Likewise.
1616 * math/w_atan2l_compat.c: Likewise.
1617 * math/w_atanh_compat.c: Likewise.
1618 * math/w_atanhf_compat.c: Likewise.
1619 * math/w_atanhl_compat.c: Likewise.
1620 * math/w_cosh_compat.c: Likewise.
1621 * math/w_coshf_compat.c: Likewise.
1622 * math/w_coshl_compat.c: Likewise.
1623 * math/w_exp10_compat.c: Likewise.
1624 * math/w_exp10f_compat.c: Likewise.
1625 * math/w_exp10l_compat.c: Likewise.
1626 * math/w_exp2_compat.c: Likewise.
1627 * math/w_exp2f_compat.c: Likewise.
1628 * math/w_exp2l_compat.c: Likewise.
1629 * math/w_fmod_compat.c: Likewise.
1630 * math/w_fmodf_compat.c: Likewise.
1631 * math/w_fmodl_compat.c: Likewise.
1632 * math/w_hypot_compat.c: Likewise.
1633 * math/w_hypotf_compat.c: Likewise.
1634 * math/w_hypotl_compat.c: Likewise.
1635 * math/w_j0_compat.c: Likewise.
1636 * math/w_j0f_compat.c: Likewise.
1637 * math/w_j0l_compat.c: Likewise.
1638 * math/w_j1_compat.c: Likewise.
1639 * math/w_j1f_compat.c: Likewise.
1640 * math/w_j1l_compat.c: Likewise.
1641 * math/w_jn_compat.c: Likewise.
1642 * math/w_jnf_compat.c: Likewise.
1643 * math/w_jnl_compat.c: Likewise.
1644 * math/w_log10_compat.c: Likewise.
1645 * math/w_log10f_compat.c: Likewise.
1646 * math/w_log10l_compat.c: Likewise.
1647 * math/w_log2_compat.c: Likewise.
1648 * math/w_log2f_compat.c: Likewise.
1649 * math/w_log2l_compat.c: Likewise.
1650 * math/w_log_compat.c: Likewise.
1651 * math/w_logf_compat.c: Likewise.
1652 * math/w_logl_compat.c: Likewise.
1653 * math/w_pow_compat.c: Likewise.
1654 * math/w_powf_compat.c: Likewise.
1655 * math/w_powl_compat.c: Likewise.
1656 * math/w_remainder_compat.c: Likewise.
1657 * math/w_remainderf_compat.c: Likewise.
1658 * math/w_remainderl_compat.c: Likewise.
1659 * math/w_scalb_compat.c: Likewise.
1660 * math/w_scalbf_compat.c: Likewise.
1661 * math/w_scalbl_compat.c: Likewise.
1662 * math/w_sinh_compat.c: Likewise.
1663 * math/w_sinhf_compat.c: Likewise.
1664 * math/w_sinhl_compat.c: Likewise.
1665 * math/w_sqrt_compat.c: Likewise.
1666 * math/w_sqrtf_compat.c: Likewise.
1667 * math/w_sqrtl_compat.c: Likewise.
1668 * math/w_tgamma_compat.c: Likewise.
1669 * math/w_tgammaf_compat.c: Likewise.
1670 * math/w_tgammal_compat.c: Likewise.
1671
1672 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
1673 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1674 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1675 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1676 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1677 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1678 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1679 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1680 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1681 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
1682 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
1683 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
1684 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1685 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1686 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1687 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1688 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1689 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1690 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1691 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1692 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1693 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1694 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1695 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1696 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1697 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1698 * sysdeps/ia64/fpu/w_log.c: Likewise.
1699 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1700 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1701 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1702 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1703 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1704 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1705 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1706 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1707 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1708 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1709 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1710 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1711 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1712 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1713 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1714 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1715 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1716 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1717 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1718 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1719 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1720 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1721 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1722 * sysdeps/ia64/fpu/w_asin.c: Likewise.
1723 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1724 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1725 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1726 * sysdeps/ia64/fpu/w_acos.c: Likewise.
1727 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1728 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1729 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1730 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
1731 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
1732 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
1735 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
1737 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
1738 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
1739 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
1741 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
1743 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
1744 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
1745 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
1747 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
1749 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
1750 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
1751 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
1752 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
1753 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
1755 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
1756 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
1757 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
1758 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
1759 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
1761 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
1763 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
1765 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
1767 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
1769 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
1771 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
1772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
1773 Likewise.
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
1775 Likewise.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
1777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
1778 Likewise.
1779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
1780 Likewise.
1781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1784 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1786 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1787 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
1789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1794 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1795 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1796
1797 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
1798 and adjusted for new #includes path
1799 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
1800 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
1801 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
1802 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
1803 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
1804 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
1805 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
1806 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
1807 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
1808 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
1809 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
1810 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
1811 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
1812 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
1813 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
1814 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
1815 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
1816 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
1817 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
1818 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
1819 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
1820 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
1821 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
1822 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
1823 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
1824 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
1825 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
1826 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
1827 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
1828 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
1829 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
1830 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
1831 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
1832 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
1833 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
1834 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
1835 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
1836 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
1837 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
1838 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
1839 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
1840 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
1841 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
1842 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
1843 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
1844 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
1845 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
1846 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
1847 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
1848 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
1849 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
1850 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
1851 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
1852 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
1853 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
1854 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
1855 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
1856 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
1857 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
1858 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1859 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1860 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
1861 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1862 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
1863 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1864 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
1865 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1866 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
1867 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1868 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
1869 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
1870 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
1871 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1872 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
1873 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1874 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
1875 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1876 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
1877 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1878 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
1879 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1880 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
1881 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1882 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
1883 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1884 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
1885 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1886 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
1887 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1888 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
1889 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1890 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
1891 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
1892 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1893 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1894 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1895 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1896 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1897 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1899 Likewise.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1901 Likewise.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1903 Likewise.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1905 Likewise.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1907 Likewise.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1909 Likewise.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1911 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1913 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1914 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1915 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1917 Likewise.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1919 Likewise.
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1921 Likewise.
1922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1923 Likewise.
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1926 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1927 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1928
1929 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1930
1931 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
1932 __jmp_buf_internal_tag.
1933
1934 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
1935 preserve NaN payload if [__mips_nan2008].
1936 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1937
1938 [BZ #21022]
1939 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
1940
1941 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1942
1943 * sysdeps/i386/fpu/libm-test-ulps: Update.
1944
1945 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1946
1947 * sysdeps/ia64/strcat.c: Remove file.
1948 * sysdeps/powerpc/strcat.c: Likewise.
1949 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
1950 C implementation.
1951 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
1952 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
1953
1954 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1955 Steven Munroe <sjmunroe@us.ibm.com>
1956 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1957
1958 [BZ #20822]
1959 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1960 (__lll_lock_elision): Access adapt_count via C11 atomics.
1961 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1962 (__lll_trylock_elision): Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1964 (__lll_unlock_elision): Update adapt_count variable inside the
1965 critical section using C11 atomics.
1966
1967 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1968
1969 * math/test-fenvinline.c (do_test): Disable tests of raised
1970 exceptions if !EXCEPTION_TESTS (FLOAT).
1971
1972 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1973
1974 [BZ #19390]
1975 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
1976 maximum string size.
1977 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
1978 in pointer addition.
1979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
1980 Likewise.
1981
1982 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1983
1984 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
1985 passed to tst-ldconfig-X.sh.
1986
1987 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
1988
1989 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
1990
1991 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #21019]
1994 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
1995 New syscall entry.
1996 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
1997 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
1998 lseek.
1999
2000 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2001 power4 glibc for powerpc-linux-gnu.
2002
2003 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2004
2005 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2006 semctl.
2007
2008 2017-01-02 Joseph Myers <joseph@codesourcery.com>
2009
2010 * math/test-nearbyint-except.c: Include <stdbool.h>.
2011 (any_supported): New variable.
2012 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
2013 set any_supported.
2014 (do_test): Return 77 if no floating-point type supported
2015 exceptions.
2016
2017 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2018 condition on [__mips_hard_float].
2019
2020 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2021
2022 [BZ #21014]
2023 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2024 in pointer addition.
2025 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2026
2027 2017-01-02 Torvald Riegel <triegel@redhat.com>
2028
2029 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2030 new condvar.
2031
2032 2017-01-02 Joseph Myers <joseph@codesourcery.com>
2033
2034 * scripts/build-many-glibcs.py (Context.checkout): Default
2035 binutils version to 2.28 branch.
2036
2037 2017-01-01 Florian Weimer <fweimer@redhat.com>
2038
2039 * support/support_format_netent.c (support_format_netent): Work
2040 around alpha struct netent definition difference.
2041
2042 2017-01-01 Florian Weimer <fweimer@redhat.com>
2043
2044 * support/xwrite.c (xwrite): Use %td for pointer difference.
2045
2046 2017-01-01 Florian Weimer <fweimer@redhat.com>
2047
2048 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2049 have-tunables only.
2050 (tests-static): Add tst-malloc-usable-static-tunables for
2051 have-tunables only.
2052
2053 2017-01-01 Joseph Myers <joseph@codesourcery.com>
2054
2055 * scripts/config.guess: Update to version 2017-01-01.
2056 * scripts/config.sub: Update to version 2017-01-01.
2057
2058 * NEWS: Update copyright dates.
2059 * catgets/gencat.c (print_version): Likewise.
2060 * csu/version.c (banner): Likewise.
2061 * debug/catchsegv.sh: Likewise.
2062 * debug/pcprofiledump.c (print_version): Likewise.
2063 * debug/xtrace.sh (do_version): Likewise.
2064 * elf/ldconfig.c (print_version): Likewise.
2065 * elf/ldd.bash.in: Likewise.
2066 * elf/pldd.c (print_version): Likewise.
2067 * elf/sotruss.sh: Likewise.
2068 * elf/sprof.c (print_version): Likewise.
2069 * iconv/iconv_prog.c (print_version): Likewise.
2070 * iconv/iconvconfig.c (print_version): Likewise.
2071 * locale/programs/locale.c (print_version): Likewise.
2072 * locale/programs/localedef.c (print_version): Likewise.
2073 * login/programs/pt_chown.c (print_version): Likewise.
2074 * malloc/memusage.sh (do_version): Likewise.
2075 * malloc/memusagestat.c (print_version): Likewise.
2076 * malloc/mtrace.pl: Likewise.
2077 * manual/libc.texinfo: Likewise.
2078 * nptl/version.c (banner): Likewise.
2079 * nscd/nscd.c (print_version): Likewise.
2080 * nss/getent.c (print_version): Likewise.
2081 * nss/makedb.c (print_version): Likewise.
2082 * posix/getconf.c (main): Likewise.
2083 * scripts/test-installation.pl: Likewise.
2084 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2085
2086 * All files with FSF copyright notices: Update copyright dates
2087 using scripts/update-copyrights.
2088 * intl/plural.c: Regenerated.
2089 * locale/programs/charmap-kw.h: Likewise.
2090 * locale/programs/locfile-kw.h: Likewise.
2091
2092 2016-12-31 Florian Weimer <fweimer@redhat.com>
2093
2094 [BZ #20593]
2095 Update DNS RR type definitions.
2096 * scripts/gen-rrtypes.py: New file.
2097 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2098 BIND-internal RR type not used on the Internet. Add ns_t_ds,
2099 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2100 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2101 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2102 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2103 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2104 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2105 ns_t_ta, ns_t_dlv.
2106 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2107 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2108 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2109 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2110 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2111 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2112 Define.
2113 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
2114 entry for ns_t_zxfr.
2115
2116 2016-12-31 Florian Weimer <fweimer@redhat.com>
2117
2118 [BZ #18784]
2119 CVE-2015-5180
2120 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2121 T_UNSPEC. Adjust value.
2122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2123 * resolv/res_query.c (__libc_res_nquery): Likewise.
2124 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2125 QTYPEs.
2126 * resolv/tst-resolv-qtypes.c: New file.
2127 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2128 (tst-resolv-qtypes): Link against libresolv and libpthread.
2129
2130 2016-12-31 Florian Weimer <fweimer@redhat.com>
2131
2132 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2133
2134 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2135
2136 * manual/tunables.texi: New chapter.
2137 * manual/Makefile (chapters): Add it.
2138 * manual/probes.texi (@node): Point to the Tunables chapter.
2139
2140 * Makeconfig (have-tunables): Check for non-negative instead
2141 of positive.
2142 * configure.ac: Add 'valstring' as a valid value for
2143 --enable-tunables.
2144 * configure: Regenerate.
2145 * elf/Makefile (have-tunables): Check for non-negative instead
2146 of positive.
2147 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2148 dl-tunables.c.
2149 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2150 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2151 (tunables_strdup): Likewise.
2152 (disable_tunables): Likewise.
2153 (parse_tunables): Likewise.
2154 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2155 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2156 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2157 (TUNABLES_FRONTEND_yes): New macro, define as
2158 TUNABLES_FRONTEND_valstring by default.
2159 * manual/install.texi: Document new acceptable values for
2160 --enable-tunables.
2161 * INSTALL: Regenerate.
2162
2163 * config.make.in (have-loop-to-function): Define.
2164 * elf/Makefile (CFLAGS-dl-tunables.c): Add
2165 -fno-tree-loop-distribute-patterns.
2166 * elf/dl-tunables.c: Include libc-internals.h.
2167 (GLIBC_TUNABLES): New macro.
2168 (tunables_strdup): New function.
2169 (parse_tunables): New function.
2170 (min_strlen): New function.
2171 (__tunables_init): Use the new functions and macro.
2172 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2173 * malloc/tst-malloc-usable-tunables.c: New test case.
2174 * malloc/tst-malloc-usable-static-tunables.c: New test case.
2175 * malloc/Makefile (tests, tests-static): Add tests.
2176
2177 * manual/install.texi: Add --enable-tunables option.
2178 * INSTALL: Regenerate.
2179 * README.tunables: New file.
2180 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2181 (before-compile): Generate dl-tunable-list.h early.
2182 * config.h.in: Add HAVE_TUNABLES.
2183 * config.make.in: Add have-tunables.
2184 * configure.ac: Add --enable-tunables option.
2185 * configure: Regenerate.
2186 * csu/init-first.c (__libc_init_first): Move
2187 __libc_init_secure earlier...
2188 * csu/init-first.c (LIBC_START_MAIN):... to here.
2189 Include dl-tunables.h, libc-internal.h.
2190 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2191 binaries.
2192 * elf/Makefile (dl-routines): Add dl-tunables.
2193 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2194 namespace.
2195 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2196 only when !HAVE_TUNABLES.
2197 * elf/rtld.c (process_envvars): Likewise.
2198 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2199 (_dl_sysdep_start): Call __tunables_init.
2200 * elf/dl-tunable-types.h: New file.
2201 * elf/dl-tunables.c: New file.
2202 * elf/dl-tunables.h: New file.
2203 * elf/dl-tunables.list: New file.
2204 * malloc/tst-malloc-usable-static.c: New test case.
2205 * malloc/Makefile (tests-static): Add it.
2206 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2207 Define TUNABLE_NAMESPACE.
2208 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2209 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
2210 callback functions.
2211 (ptmalloc_init): Set tunable values.
2212 * scripts/gen-tunables.awk: New file.
2213 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2214 (_dl_sysdep_start): Call __tunables_init.
2215
2216 2016-12-31 Florian Weimer <fweimer@redhat.com>
2217
2218 * resolv/resolv.h (RES_BLAST): Deprecate.
2219 * resolv/res_debug.c (p_option): Remove RES_BLAST.
2220 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2221 to RES_BLAST.
2222
2223 2016-12-27 Florian Weimer <fweimer@redhat.com>
2224
2225 [BZ #19582]
2226 Deprecate RES_USE_INET6.
2227 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2228 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2229 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2230 RES_USE_INET6.
2231 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2232 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2233 (_nss_nisplus_gethostbyaddr_r): Likewise.
2234 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2235 of res_use_inet6.
2236 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2237 instead of RES_USE_INET6.
2238 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2239 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2240 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2241 Likewise.
2242 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2243 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2244 Likewise.
2245 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2246 (_nss_dns_gethostbyname_r): Likewise.
2247 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2248 alternate RES_USE_INET6 handling.
2249 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2250 instead of RES_USE_INET6.
2251 * resolv/res_init.c (res_setoptions): Likewise.
2252 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2253 * resolv/resolv-internal.h: New file.
2254 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2255 make the deprecation warning non-fatal.
2256 * resolv/README (Using the resolver in multi-threaded code): Drop
2257 reference to RES_USE_INET6.
2258 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2259 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2260
2261 2016-12-31 Florian Weimer <fweimer@redhat.com>
2262
2263 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2264 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2265 tst-resolv-search.
2266 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2267 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2268 with libresolv and libpthread.
2269 * resolv/tst-bug18665.c: New file.
2270 * resolv/tst-bug18665-tcp: Likewise.
2271 * resolv/tst-res_use_inet6: Likewise.
2272 * resolv/tst-resolv-basic: Likewise.
2273 * resolv/tst-resolv-network: Likewise.
2274 * resolv/tst-resolv-search: Likewise.
2275 * support/Makefile (libsupport-routines): Add check_addrinfo,
2276 check_dns_packet, check_hostent, check_netent, resolv_test,
2277 support_format_address_family, support_format_addrinfo,
2278 support_format_dns_packet, support_format_herrno,
2279 support_format_hostent, support_format_netent, support_run_diff,
2280 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2281 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2282 xstrdup, xwrite.
2283 * support/check_addrinfo.c: New file.
2284 * support/check_dns_packet.c: Likewise.
2285 * support/check_hostent.c: Likewise.
2286 * support/check_netent.c: Likewise.
2287 * support/check_nss.h: Likewise.
2288 * support/format_nss.h: Likewise.
2289 * support/resolv_test.c: Likewise.
2290 * support/resolv_test.h: Likewise.
2291 * support/run_diff.h: Likewise.
2292 * support/support_format_address_family.c: Likewise.
2293 * support/support_format_addrinfo.c: Likewise.
2294 * support/support_format_dns_packet.c: Likewise.
2295 * support/support_format_herrno.c: Likewise.
2296 * support/support_format_hostent.c: Likewise.
2297 * support/support_format_netent.c: Likewise.
2298 * support/support_run_diff.c: Likewise.
2299 * support/xaccept.c: Likewise.
2300 * support/xbind.c: Likewise.
2301 * support/xconnect.c: Likewise.
2302 * support/xfclose.c: Likewise.
2303 * support/xfopen.c: Likewise.
2304 * support/xgetsockname.c: Likewise.
2305 * support/xlisten.c: Likewise.
2306 * support/xmemstream.c: Likewise.
2307 * support/xmemstream.h: Likewise.
2308 * support/xpoll.c: Likewise.
2309 * support/xpthread_once.c: Likewise.
2310 * support/xrecvfrom.c: Likewise.
2311 * support/xsendto.c: Likewise.
2312 * support/xsetsockopt.c: Likewise.
2313 * support/xstdio.h: Likewise.
2314 * support/xstrdup.c: Likewise.
2315 * support/support.h (xstrdup): Declare.
2316 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2317 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2318 * support/xthread.h (xpthread_once): Likwise.
2319 * support/xunistd.h (xwrite): Declare.
2320
2321 2016-12-31 Florian Weimer <fweimer@redhat.com>
2322
2323 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2324 (test_verbose): Declare.
2325 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2326 * support/support_test_main.c (default_options): Likewise.
2327 (usage, support_test_main): Handle 'v'.
2328 (test_verbose): Define.
2329 * support/tst-support_record_failure.c (do_test): Use
2330 test_verbose.
2331 * support/tst-support_record_failure-2.sh (different_status): Add
2332 --verbose test.
2333
2334 2016-12-31 Florian Weimer <fweimer@redhat.com>
2335
2336 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2337 test failures are recorded.
2338 * support/check.c (support_print_failure_impl): Call
2339 support_record_failure.
2340 (support_exit_failure_impl): Call support_record_failure if status
2341 indicates failure.
2342 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2343 * support/xasprintf.c (xasprintf): Likewise.
2344 * support/xfork.c (xfork): Likewise.
2345 * support/xpthread_check_return.c (xpthread_check_return):
2346 Likewise.
2347 * support/xsocket.c (xsocket): Likeweise.
2348 * support/xwaitpid.c (xwaitpid): Likewise.
2349 * support/support_record_failure.c (struct test_failures): Adjust
2350 to coding style.
2351 * support/support_test_verify_impl.c (support_test_verify_impl):
2352 Adjust error messages.
2353 * support/tst-support_record_failure-2.sh (different_status):
2354 Adjust error messages.
2355
2356 2016-12-31 Florian Weimer <fweimer@redhat.com>
2357
2358 * support/namespace.h: New file.
2359 * support/support_become_root.c: Likewise.
2360 * support/support_enter_network_namespace.c: Likewise.
2361 * support/tst-support-namespace.c: Likewise.
2362 * support/xsocket.c: Likewise.
2363 * support/xsocket.h: Likewise.
2364 * support/Makefile (libsupport-routines): Add support_become_root,
2365 support_enter_network_namespace, xsocket.
2366 (tests): Add tst-support-namespace.
2367
2368 2016-12-31 Florian Weimer <fweimer@redhat.com>
2369
2370 [BZ #17252]
2371 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2372 __USE_GNU.
2373
2374 2016-12-31 Torvald Riegel <triegel@redhat.com>
2375
2376 [BZ #13165]
2377 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
2378 use new algorithm.
2379 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2380 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2381 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2382 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2383 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
2384 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
2385 __condvar_cleanup_waiting, __condvar_dec_grefs,
2386 __pthread_cond_wait_common): New.
2387 (__condvar_cleanup): Remove.
2388 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
2389 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
2390 Likewise.
2391 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
2392 Likewise.
2393 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
2394 * nptl/tst-cond1.c: Add comment.
2395 * nptl/tst-cond20.c (do_test): Adapt.
2396 * nptl/tst-cond22.c (do_test): Likewise.
2397 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
2398 structure.
2399 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2400 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2401 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2402 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
2403 Likewise.
2404 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2405 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2406 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2407 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2408 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2409 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
2412 Likewise.
2413 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2414 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
2415 (COND_CLOCK_BITS): Adapt.
2416 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
2417 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
2418 __PTHREAD_COND_SHARED_MASK): New.
2419 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
2420 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
2421 * nptl/nptl_lock_constants.pysym: Adapt.
2422 * nptl/test-cond-printers.py: Adapt.
2423 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
2424 cond_compat_check_and_clear): Adapt.
2425 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
2426 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2427 (__pthread_cond_timedwait): ... and move here.
2428 * nptl/DESIGN-condvar.txt: Remove file.
2429 * nptl/lowlevelcond.sym: Likewise.
2430 * nptl/pthread_cond_timedwait.c: Likewise.
2431 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2432 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
2433 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2434 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2435 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
2436 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
2437 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
2438 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
2439 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
2440 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
2441 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
2442 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
2443 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
2444 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
2447
2448 2016-12-31 Joseph Myers <joseph@codesourcery.com>
2449
2450 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2451 (fromfp): New declaration.
2452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2455 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
2456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
2457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2460 * math/math.h: Include <bits/types.h>.
2461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
2462 constant and macro.
2463 (FP_INT_DOWNWARD): Likewise.
2464 (FP_INT_TOWARDZERO): Likewise.
2465 (FP_INT_TONEARESTFROMZERO): Likewise.
2466 (FP_INT_TONEAREST): Likewise.
2467 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
2468 (fromfpf): Likewise.
2469 (fromfpl): Likewise.
2470 (ufromfp): Likewise.
2471 (ufromfpf): Likewise.
2472 (ufromfpl): Likewise.
2473 (fromfpx): Likewise.
2474 (fromfpxf): Likewise.
2475 (fromfpxl): Likewise.
2476 (ufromfpx): Likewise.
2477 (ufromfpxf): Likewise.
2478 (ufromfpxl): Likewise.
2479 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
2480 s_fromfpxF and s_ufromfpxF.
2481 * math/gen-fromfp-tests.py: New file.
2482 * math/gen-fromfp-tests-inputs: Likewise.
2483 * math/libm-test.inc: Include <stdint.h>
2484 (check_intmax_t): New function.
2485 (check_uintmax_t): Likewise.
2486 (struct test_fiu_M_data): New type.
2487 (struct test_fiu_U_data): Likewise.
2488 (RUN_TEST_fiu_M): New macro.
2489 (RUN_TEST_LOOP_fiu_M): Likewise.
2490 (RUN_TEST_fiu_U): Likewise.
2491 (RUN_TEST_LOOP_fiu_U): Likewise.
2492 (fromfp_test_data): New array.
2493 (fromfp_test): New function.
2494 (fromfpx_test_data): New array.
2495 (fromfpx_test): New function.
2496 (ufromfp_test_data): New array.
2497 (ufromfp_test): New function.
2498 (ufromfpx_test_data): New array.
2499 (ufromfpx_test): New function.
2500 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
2501 ufromfpx_test.
2502 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
2503 characters.
2504 * math/test-tgmath-ret.c: Include <stdint.h>.
2505 (rm): New variable.
2506 (width): Likewise.
2507 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
2508 called function.
2509 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
2510 CHECK_RET_CONST_TYPE.
2511 (CHECK_RET_CONST_DOUBLE): Likewise.
2512 (CHECK_RET_CONST_LDOUBLE): Likewise.
2513 (CHECK_RET_CONST): Take extra arguments and pass them to calls
2514 macros.
2515 (fromfp): New CHECK_RET_CONST call.
2516 (ufromfp): Likewise.
2517 (fromfpx): Likewise.
2518 (ufromfpx): Likewise.
2519 (do_test): Call check_return_fromfp, check_return_ufromfp,
2520 check_return_fromfpx and check_return_ufromfpx.
2521 * math/test-tgmath.c: Include <stdint.h>
2522 (NCALLS): Increase to 138.
2523 (F(compile_test)): Initialize i. Call fromfp functions.
2524 (F(fromfp)): New function.
2525 (F(fromfpx)): Likewise.
2526 (F(ufromfp)): Likewise.
2527 (F(ufromfpx)): Likewise.
2528 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
2529 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
2530 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
2531 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
2532 ufromfpxl.
2533 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
2534 ufromfp and ufromfpx.
2535 * math/fromfp.h: New file.
2536 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
2537 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
2538 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
2539 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
2540 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
2541 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
2542 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
2543 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
2544 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
2545 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
2546 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
2547 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
2560 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
2562 ufromfp, fromfpx and ufromfpx.
2563 (CFLAGS-nldbl-fromfp.c): New variable.
2564 (CFLAGS-nldbl-fromfpx.c): Likewise.
2565 (CFLAGS-nldbl-ufromfp.c): Likewise.
2566 (CFLAGS-nldbl-ufromfpx.c): Likewise.
2567 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
2568 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
2569 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
2570 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
2571 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
2572 * sysdeps/nacl/libm.abilist: Update.
2573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2574 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2575 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2576 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2578 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2579 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2581 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2582 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2583 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2584 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2586 Likewise.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2588 Likewise.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2590 Likewise.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2592 Likewise.
2593 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2594 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2595 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2596 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2599 Likewise.
2600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2605
2606 2016-12-30 Florian Weimer <fweimer@redhat.com>
2607
2608 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
2609 compat-gethnamaddr.
2610 (CPPFLAGS): Remove.
2611 * resolv/gethnamaddr.c: Rename ...
2612 * resolv/compat-gethnamaddr.c: ... to this file.
2613 (_endhtent): Make static.
2614 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
2615 symbol.
2616 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
2617 compat symbol.
2618 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
2619 symbol.
2620 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
2621 Turn into compat symbol.
2622 * include/resolv.h (_endhtent): Remove declaration.
2623
2624 2016-12-30 Joseph Myers <joseph@codesourcery.com>
2625
2626 * bits/types.h (__intmax_t): New typedef.
2627 (__uintmax_t): Likewise.
2628 * sysdeps/generic/stdint.h: Include <bits/types.h>.
2629 (intmax_t): Define using __intmax_t.
2630 (uintmax_t): Define using __uintmax_t.
2631
2632 * support/Makefile (tests-special): Make definition conditional on
2633 [$(run-built-tests) = yes].
2634 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
2635 on [$(run-built-tests) = yes].
2636
2637 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
2638
2639 * Rules (tests): Add tests-printers-programs to tests to be
2640 built.
2641
2642 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2643
2644 * sysvipc/Makefile (tests): Add test-sysvshm.
2645 * sysvipc/test-sysvshm.c: New file.
2646
2647 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
2648 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
2649 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
2650 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
2651 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
2652 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
2653 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
2654 Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
2656 Likewise.
2657 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
2658 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
2659 is defined.
2660
2661 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
2662 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
2663 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
2664 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
2665 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
2666 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
2667 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
2668 Likewise.
2669 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
2670 Likewise.
2671 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
2672 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
2673 defined.
2674
2675 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2676 oldshmctl.
2677 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
2678 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
2679 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
2680 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
2681 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
2682 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
2683 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
2684 Likewise.
2685 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
2686 Likewise.
2687 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
2688 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
2689 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
2690 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
2691 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
2692 implementation.
2693 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
2694 if it is defined.
2695
2696 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
2697 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
2698 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
2699 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
2700 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
2701 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
2702 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
2703 Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
2705 Likewise.
2706 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
2707 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2708 Define to __NR_osf_shmat.
2709 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
2710 defined.
2711
2712 * sysvipc/Makefile (tests): Add test-sysvsem.
2713 * sysvipc/test-sysvsem.c: New file.
2714
2715 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
2716 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
2717 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
2718 Likewise.
2719 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
2720 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
2721 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
2722 Likewise.
2723 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
2724 Likewise.
2725 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
2726 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
2727 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
2728 add a comment about s390 syscall difference from default one.
2729 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
2730 syscall if it is defined.
2731
2732 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
2733 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
2734 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
2735 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
2736 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
2737 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
2738 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
2739 Likewise.
2740 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
2741 Likewise.
2742 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
2743 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
2744 defined.
2745
2746 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
2747 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
2748 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
2749 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
2750 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
2751 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
2752 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
2753 Likewise.
2754 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
2755 Likewise.
2756 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
2757 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
2758 if it is defined.
2759
2760 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2761 oldsemctl.
2762 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
2763 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
2764 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
2765 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2766 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
2767 implementation.
2768 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
2769 syscall if it is defined.
2770 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
2771 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
2772 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
2773 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
2774 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
2775 Likewise.
2776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
2777
2778 * sysvipc/Makefile (tests): Add test-sysvmsg.
2779 * sysvipc/test-sysvmsg.c: New file.
2780 * support/check.h (FAIL_UNSUPPORTED): New define.
2781
2782 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
2783 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
2784 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
2785 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
2786 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
2787 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
2788 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
2789 Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
2791 Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
2793 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
2794 define.
2795
2796 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
2797 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
2798 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
2799 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
2800 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
2801 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
2802 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
2803 Likewise.
2804 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
2805 Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
2807 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
2808 if defined.
2809
2810 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
2811 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
2812 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2813 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2814 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2815 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
2816 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2817 Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
2819 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
2820 Likewise.
2821 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
2822 if defined.
2823 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
2824
2825 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2826 oldmsgctl.
2827 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
2828 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
2829 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
2830 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
2831 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2832 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2833 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2835 Likewise.
2836 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
2837 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
2838 implementation.
2839 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
2840 if defined.
2841
2842 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
2843 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
2844 definition and define its own.
2845 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
2846 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
2847 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
2848 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
2849 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
2850 definitions to common header.
2851 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
2852 operation from ipc_ops.h.
2853
2854 * sysdeps/unix/sysv/linux/kernel-features.h
2855 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
2856 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2857 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
2858 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2859 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2860 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2861 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2863 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2864 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2865 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2866 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2867 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2868 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2869 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2870
2871 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2872
2873 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
2874 overflow in pointer addition.
2875
2876 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2877
2878 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2879 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
2880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2881 (strchr): Add __strchr_power8 to list of strchr functions.
2882 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
2883 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
2884 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
2885 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
2886 (strchr): Add __strchr_power8 to ifunc list.
2887 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
2888 (__strchrnul): Add __strchrnul_power8 to ifunc list.
2889 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
2890 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
2891
2892 2016-12-28 Florian Weimer <fweimer@redhat.com>
2893
2894 * support/Makefile (libsupport-routines): Add
2895 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
2896 (tests): Add tst-support_record_failure.
2897 (tests-special): tst-support_record_failure-2.
2898 (tst-support_record_failure-2.out): Depend on
2899 tst-support_record_failure-2.sh and tst-support_record_failure.
2900 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
2901 (support_test_verify_impl, support_record_failure)
2902 (support_report_failure, support_report_failure_reset): Declare.
2903 * support/support_test_main.c (adjust_exit_status): New function.
2904 (support_test_main): Call it to incorporate record test failures.
2905 * support/support_test_verify_impl.c: New file.
2906 * support/support_record_failure.c: Likewise.
2907 * support/tst-support_record_failure.c: Likewise.
2908 * support/tst-support_record_failure-2.sh: Likewise.
2909 * support/xunistd.h: Likewise.
2910 * support/xfork.c: Likewise.
2911 * support/xwaitpid.c: Likewise.
2912
2913 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
2914
2915 * scripts/check-c++-types.sh: Add comments.
2916
2917 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
2918
2919 [BZ #19514]
2920 * resolv/res_send.c: Fix typo in comment.
2921 * sysdeps/i386/i386-mcount.S: Likewise.
2922 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2923 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2924 * sysdeps/sparc/sparc-mcount.S: Likewise.
2925
2926 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2927
2928 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
2929 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
2930 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2931 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2932 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
2933 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
2936
2937 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2938
2939 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
2940
2941 2016-12-27 Florian Weimer <fweimer@redhat.com>
2942
2943 [BZ #17252]
2944 * posix/unistd.h (getentropy): Declare.
2945
2946 2016-12-27 Florian Weimer <fweimer@redhat.com>
2947
2948 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
2949 Remove.
2950 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
2951 (cmd): Remove spoof, nospoof, spoofalert.
2952 (parse_line): Ignore spoof-related lines.
2953 (do_init): Do not process RESOLV_SPOOF_CHECK.
2954
2955 2016-12-27 Florian Weimer <fweimer@redhat.com>
2956
2957 [BZ #20964]
2958 sunrpc: Always obtain AF_INET addresses from NSS.
2959 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
2960 * sunrpc/rpc_gethostbyname.c: New file.
2961 * sunrpc/Makefile (routines): Add it.
2962 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
2963 * sunrpc/clnt_simp.c (callrpc): Likewise.
2964 * sunrpc/getrpcport.c (getrpcport): Likewise.
2965
2966 2016-12-27 Florian Weimer <fweimer@redhat.com>
2967
2968 * sunrpc/rpcinfo.c: Remove.
2969 * sunrpc/Makefile: Remove comments referring to rpcinfo.
2970
2971 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2972
2973 [BZ# 19387]
2974 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
2975 addition.
2976 * string/test-memchr.c (do_test): Remove alignment limitation.
2977 (test_main): Add test that trigger BZ# 19387.
2978
2979 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2980
2981 [BZ #7065]
2982 Enable stack protectore if requested by ./configure.
2983 * Makeconfig (+stack-protector): New variable.
2984 (+cflags): Use it.
2985
2986 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2987
2988 [BZ #7065]
2989 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
2991 (__rt_sigreturn_stub): Use inhibit_stack_protector.
2992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2993 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
2994
2995 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2996
2997 [BZ #7065]
2998 * login/Makefile (pt_chown-cflags): Remove.
2999 * nscd/Makefile (CFLAGS-nscd): Likewise.
3000 * resolv/Makefile (CFLAGS-libresolv): Likewise.
3001
3002 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3003
3004 [BZ #7065]
3005 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3006 non-libc-linking testcase.
3007
3008 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3009 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3010 Florian Weimer <fweimer@redhat.com>
3011
3012 [BZ #7065]
3013 PLT avoidance for __stack_chk_fail*.
3014 * debug/Makefile (CFLAGS-stack_chk_fail.c)
3015 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3016 * debug/stack_chk_fail.c (__stack_chk_fail): Add
3017 __stack_chk_fail_local alias.
3018 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3019 (__stack_chk_fail): Turn into hidden reference to
3020 __stack_chk_fail_local.
3021
3022 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3023
3024 [BZ #7065]
3025 * configure.ac: Add check for unsupported stack-protection level.
3026 (libc_cv_predef_stack_protector): Remove.
3027 (no_ssp): New variable.
3028 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3029 (stack_protector): Set to -fno-stack-protector similarly.
3030 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3031 (libc_cv_asm_set_directive): Likewise.
3032 (libc_cv_protected_data): Likewise.
3033 (libc_cv_z_combreloc): Likewise.
3034 (libc_cv_hashstyle): Likewise.
3035 (libc_cv_has_glob_dat): Likewise.
3036 (libc_cv_output_format): Likewise.
3037 (libc_cv_output_format): Likewise.
3038 (libc_cv_ehdr_start): Likewise.
3039 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3040 (LIBC_LINKER_FEATURE): Likewise.
3041 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3042
3043 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3044
3045 [BZ #7065]
3046 * elf/Makefile (dummy-stack-chk-fail): New.
3047 (librtld.map): Use it.
3048
3049 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3050
3051 [BZ #7065]
3052 Compile the dynamic linker without stack protection.
3053 * elf/Makefile (elide-stack-protector): New.
3054 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3055 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3056 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3057 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3058
3059 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3060
3061 [BZ #7065]
3062 * config.make.in (have-ssp, no-stack-protector): New.
3063 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3064 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3065 (CFLAGS-sbrk.op): Likewise.
3066 (CFLAGS-brk.o): Likewise.
3067 (CFLAGS-brk.op): Likewise.
3068 * string/Makefile (CFLAGS-memcpy.c): Likewise.
3069 (CFLAGS-wordcopy.c): Likewise.
3070
3071 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3072
3073 [BZ #7065]
3074 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3075 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3076 * include/libc-symbols.h (inhibit_stack_protector): New macro.
3077 (__ifunc_resolver): Use it.
3078 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3079 inhibit_stack_protector.
3080 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3081 * elf/ifuncmain7.c (foo_ifunc): Likewise.
3082 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3083 (foo_protected_ifunc): Likewise.
3084 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3085 (foo_protected_ifunc): Likewise.
3086 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3087 * sysdeps/nacl/nacl_interface_query.c
3088 (nacl_interface_query_ifunc): Likewise.
3089 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3090 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3091 Likewise.
3092 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3093 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3094 the generated vDSO syscall resolver.
3095
3096 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3097 Florian Weimer <fweimer@redhat.com>
3098
3099 [BZ #7065]
3100 Initialize the stack guard earlier when linking statically.
3101 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3102 (__pthread_initialize_minimal): Declare.
3103 * csu/libc-start.c (__pthread_initialize_minimal): Remove
3104 declaration.
3105 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
3106 stack canary and apply_irel initialization up. Call
3107 __pthread_initialize_minimal only if linked in.
3108 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3109 constant values.
3110 (__pthread_initialize_minimal): Remove.
3111 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3112 (__pthread_initialize_minimal_internal): Do not call
3113 __libc_setup_tls.
3114
3115 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
3116
3117 [BZ #7065]
3118 * configure.ac (libc_cv_ssp): Move up.
3119 (libc_cv_ssp_strong): Likewise.
3120 (libc_cv_ssp_all): New.
3121 (stack_protector): Augment, adding -fstack-protector-all.
3122 (no_stack_protector): New.
3123 (STACK_PROTECTOR_LEVEL): New.
3124 (AC_ARG_ENABLE(stack-protector)): New configure flag.
3125 * manual/install.texi (--enable-stack-protector): Document it.
3126 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3127
3128 2016-12-24 Carlos O'Donell <carlos@redhat.com>
3129
3130 * README.pretty-printers: Must specify CPPFLAGS-* also.
3131 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3132 (CPPFLAGS-test-mutex-printers.c): Define.
3133 (CPPFLAGS-test-condattr-printers.c): Define.
3134 (CPPFLAGS-test-cond-printers.c): Define.
3135 (CPPFLAGS-test-rwlockattr-printers.c): Define.
3136 (CPPFLAGS-test-rwlock-printers.c): Define.
3137
3138 * nss/Makefile [ifeq (yes,$(have-thread-library))]
3139 (tests): Add tst-cancel-getpwuid_r.
3140 * nss/tst-cancel-getpwuid_r.c: New file.
3141
3142 [BZ #11941]
3143 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3144 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3145 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3146 tst-nodelete-dlclose.
3147 (modules-names): Add tst-nodelete-dlclose-dso and
3148 tst-nodelete-dlclose-plugin.
3149 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3150 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3151 ($(objpfx)tst-nodelete-dlclose): Define.
3152 ($(objpfx)tst-nodelete-dlclose.out): Define.
3153
3154 2016-12-23 Florian Weimer <fweimer@redhat.com>
3155
3156 * scripts/test_printers_common.py: Log GDB output in case of
3157 Python detection failure.
3158
3159 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
3160
3161 * configure.ac: Check for python3 or python.
3162 * configure: Regenerated.
3163 * config.make.in (PYTHON): New variable.
3164 * benchtests/Makefile: Don't define PYTHON.
3165 (bench): Define target only if PYTHON was defined.
3166 * Rules: Don't define PYTHON.
3167 Define pretty printer targets only if PYTHON was defined.
3168 (tests-printers): Add to tests-unsupported if PYTHON is not
3169 found.
3170 (python-flags, python-invoke): Remove.
3171 (tests-printers-out): Use PYTHON instead of python-invoke.
3172
3173 2016-12-21 Joseph Myers <joseph@codesourcery.com>
3174
3175 [BZ #20978]
3176 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3177 Compare name == NULL, not name != NULL.
3178
3179 * manual/texinfo.tex: Update to version 2016-09-18.18 with
3180 trailing whitespace removed.
3181 * scripts/config.guess: Update to version 2016-10-02.
3182 * scripts/config.sub: Update to version 2016-11-19.
3183 * scripts/install-sh: Update to version 2016-01-11.22.
3184 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3185 * scripts/move-if-change: Update to version 2016-01-11 22:04.
3186
3187 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3188
3189 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3190 (do_one_test) Restore original string so iteration works.
3191 * string/string-inlines.c (do_test): Create better input strings.
3192 (test_main) Reduce number of testruns.
3193 * string/string-inlines.c (__old_strsep_1c): New function.
3194 (__old_strsep_2c): Likewise.
3195 (__old_strsep_3c): Likewise.
3196 * string/strsep.c (__strsep): Remove case of small delim string.
3197 Call strcspn directly rather than strpbrk.
3198 * string/bits/string2.h (__strsep): Remove define.
3199 (__strsep_1c): Remove.
3200 (__strsep_2c): Remove.
3201 (__strsep_3c): Remove.
3202 (strsep): Remove.
3203 * sysdeps/unix/sysv/linux/internal_statvfs.c
3204 (__statvfs_getflags): Rename to __strsep.
3205
3206 2016-12-21 Florian Weimer <fweimer@redhat.com>
3207
3208 * csu/libc-tls.c (_dl_tls_setup): Remove.
3209 * elf/dl-tls.c (_dl_tls_setup): Likewise.
3210 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3211 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3212
3213 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
3214
3215 [BZ #7065]
3216 * sysdeps/x86_64/Makefile [$(subdir) = elf]
3217 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3218
3219 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
3220 Florian Weimer <fweimer@redhat.com>
3221
3222 [BZ #7065]
3223 * csu/Makefile (tests): Empty assignment and document it.
3224 (tests-static): Remove.
3225 * csu/tst-empty.c: Move to...
3226 * misc/tst-empty.c: ... here. Switch to new test driver.
3227 * csu/tst-atomic.c: Move to...
3228 * misc/tst-atomic.c: ... here. Switch to new test driver.
3229 * csu/tst-atomic-long.c: Move to...
3230 * misc/tst-atomic-long.c: ... here.
3231 * misc/Makefile (tests): Add tst-empty, tst-atomic,
3232 tst-atomic-long.
3233 (tests-static): Add tst-empty.
3234
3235 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
3236
3237 * manual/nss.texi: Change incorrect @vtable to @table.
3238 * manual/arith.texi: Convert @tables of variables to @vtables
3239 and remove unnecessary indexing.
3240 * manual/filesys.texi: Likewise.
3241 * manual/llio.texi: Likewise.
3242 * manual/memory.texi: Likewise.
3243 * manual/process.texi: Likewise.
3244 * manual/resource.texi: Likewise.
3245 * manual/search.texi: Likewise.
3246 * manual/signal.texi: Likewise.
3247 * manual/socket.texi: Likewise.
3248 * manual/stdio.texi: Likewise.
3249 * manual/sysinfo.texi: Likewise.
3250 * manual/syslog.texi: Likewise.
3251 * manual/terminal.texi: Likewise.
3252 * manual/time.texi: Likewise.
3253 * manual/users.texi: Likewise.
3254
3255 2016-12-21 Joseph Myers <joseph@codesourcery.com>
3256
3257 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3258 (roundeven): New declaration.
3259 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3260 macro.
3261 * math/Versions (roundeven): New libm symbol at version
3262 GLIBC_2.25.
3263 (roundevenf): Likewise.
3264 (roundevenl): Likewise.
3265 * math/Makefile (libm-calls): Add s_roundevenF.
3266 * math/libm-test.inc (roundeven_test_data): New array.
3267 (roundeven_test): New function.
3268 (main): Call roundeven_test.
3269 * math/test-tgmath.c (NCALLS): Increase to 134.
3270 (F(compile_test)): Call roundeven.
3271 (F(roundeven)): New function.
3272 * manual/arith.texi (Rounding Functions): Document roundeven,
3273 roundevenf and roundevenl.
3274 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3275 * include/math.h (roundeven): Use libm_hidden_proto.
3276 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3277 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3278 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3279 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3283 roundeven.
3284 (CFLAGS-nldbl-roundeven.c): New variable.
3285 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3286 * sysdeps/nacl/libm.abilist: Update.
3287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3288 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3289 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3291 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3292 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3293 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3296 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3297 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3298 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3300 Likewise.
3301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3302 Likewise.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3304 Likewise.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3306 Likewise.
3307 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3308 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3309 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3313 Likewise.
3314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3315 Likewise.
3316 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3318 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3319
3320 2016-12-20 Joseph Myers <joseph@codesourcery.com>
3321
3322 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3323 preprocessor indentation inside #if.
3324
3325 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3326
3327 * math/libm-test.inc (fmt_ftostr): New function.
3328 (print_float, check_float_internal): Replace some uses of
3329 FTOSTR with uses of fmt_ftostr.
3330 (print_max_error, print_complex_max_error, print_function_ulps)
3331 (print_complex_function_ulps): Remove uses of the macros
3332 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3333 * math/test-double.h (FTOSTR): Define to strfromd.
3334 (PRINTF_EXPR): Delete.
3335 (PRINTF_XEXPR): Likewise.
3336 (PRINTF_NEXPR): Likewise.
3337 * math/test-float.h (FTOSTR): Define to strfromf.
3338 (PRINTF_EXPR): Delete.
3339 (PRINTF_XEXPR): Likewise.
3340 (PRINTF_NEXPR): Likewise.
3341 * math/test-ldouble.h (FTOSTR): Define to strfroml.
3342 (PRINTF_EXPR): Delete.
3343 (PRINTF_XEXPR): Likewise.
3344 (PRINTF_NEXPR): Likewise.
3345
3346 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3347
3348 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3349 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3350 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3351 (__lll_lock_elision): Decrement adapt_count while unlocking
3352 instead of before locking.
3353 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3354 (__lll_trylock_elision): Likewise.
3355 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3356 (__lll_unlock_elision): Likewise.
3357
3358 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3359
3360 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3361 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3362 Use __libc_tbegin_retry macro.
3363
3364 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3365
3366 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3367 Add -msoft-float.
3368 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3369 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3370 Use __libc_t* transaction macros instead of __builtin_t*.
3371 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3373
3374 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3375
3376 * sysdeps/unix/sysv/linux/s390/elision-lock.c
3377 (__lll_lock_elision): Use atomics to load / store adapt_count.
3378 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3379 (__lll_trylock_elision): Likewise.
3380
3381 2016-12-20 Florian Weimer <fweimer@redhat.com>
3382
3383 Do not require memset elimination in explicit_bzero test.
3384 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
3385 (enum test_expectation): Add NO_EXPECTATIONS.
3386 (subtests): NO_EXPECTATIONS for ordinary clear.
3387 (check_test_buffer): Handle NO_EXPECTATIONS.
3388 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
3389
3390 2016-12-20 Joseph Myers <joseph@codesourcery.com>
3391
3392 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3393 (fmaxmag): New declaration.
3394 (fminmag): Likewise.
3395 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
3396 macro.
3397 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
3398 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
3399 (fmaxmagf): Likewise.
3400 (fmaxmagl): Likewise.
3401 (fminmag): Likewise.
3402 (fminmagf): Likewise.
3403 (fminmagl): Likewise.
3404 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
3405 * math/s_fmaxmag_template.c: New file.
3406 * math/s_fminmag_template.c: Likewise.
3407 * math/libm-test.inc (fmaxmag_test_data): New array.
3408 (fmaxmag_test): New function.
3409 (fminmag_test_data): New array.
3410 (fminmag_test): New function.
3411 (main): Call fmaxmag_test and fminmag_test.
3412 * math/test-tgmath.c (NCALLS): Increase to 132.
3413 (F(compile_test)): Call fmaxmag and fminmag.
3414 (F(fminmag)): New function.
3415 (F(fmaxmag)): Likewise.
3416 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
3417 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
3418 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
3419 fminmag.
3420 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
3421 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
3422 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
3425 and fminmag.
3426 (CFLAGS-nldbl-fmaxmag.c): New variable.
3427 (CFLAGS-nldbl-fminmag.c): Likewise.
3428 * sysdeps/nacl/libm.abilist: Update.
3429 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3430 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3431 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3432 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3433 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3434 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3435 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3436 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3437 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3438 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3439 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3440 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3442 Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3444 Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3446 Likewise.
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3448 Likewise.
3449 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3450 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3451 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3452 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3455 Likewise.
3456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3457 Likewise.
3458 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3461
3462 2016-12-19 Torvald Riegel <triegel@redhat.com>
3463
3464 [BZ #20973]
3465 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
3466 wake-up in robust mutexes.
3467 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3468
3469 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3470
3471 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
3472 (CFLAGS-bench-fmaxf.c): New rule.
3473 (CFLAGS-bench-fminf.c): Likewise.
3474 * benchtests/fmaxf-inputs: New file.
3475 * benchtests/fminf-inputs: Likewise.
3476
3477 * benchtests/Makefile (bench-math): Add fmin and fmax.
3478 (CFLAGS-bench-fmax.c): New rule.
3479 (CFLAGS-bench-fmin.c): Likewise.
3480 * benchtests/fmax-inputs: New file.
3481 * benchtests/fmin-inputs: Likewise.
3482
3483 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
3484 parenthesis.
3485 (CMDLINE_PROCESS): Define using function instead of macro.
3486 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
3487 of test-skeleton.
3488 * benchtests/bench-memchr.c: Likewise.
3489 * benchtests/bench-memcmp.c: Likewise.
3490 * benchtests/bench-memcpy-large.c: Likewise.
3491 * benchtests/bench-memcpy.c: Likewise.
3492 * benchtests/bench-memmem.c: Likewise.
3493 * benchtests/bench-memmove-large.c: Likewise.
3494 * benchtests/bench-memmove.c: Likewise.
3495 * benchtests/bench-memset-large.c: Likewise.
3496 * benchtests/bench-memset.c: Likewise.
3497 * benchtests/bench-rawmemchr.c: Likewise.
3498 * benchtests/bench-strcasecmp.c: Likewise.
3499 * benchtests/bench-strcasestr.c: Likewise.
3500 * benchtests/bench-strcat.c: Likewise.
3501 * benchtests/bench-strchr.c: Likewise.
3502 * benchtests/bench-strcmp.c: Likewise.
3503 * benchtests/bench-strcpy.c: Likewise.
3504 * benchtests/bench-strcpy_chk.c: Likewise.
3505 * benchtests/bench-strlen.c: Likewise.
3506 * benchtests/bench-strncasecmp.c: Likewise.
3507 * benchtests/bench-strncmp.c: Likewise.
3508 * benchtests/bench-strncpy.c: Likewise.
3509 * benchtests/bench-strnlen.c: Likewise.
3510 * benchtests/bench-strpbrk.c: Likewise.
3511 * benchtests/bench-strrchr.c: Likewise.
3512 * benchtests/bench-strsep.c: Likewise.
3513 * benchtests/bench-strspn.c: Likewise.
3514 * benchtests/bench-strstr.c: Likewise.
3515 * benchtests/bench-strtok.c: Likewise.
3516
3517 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
3518
3519 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
3520 stepping identification.
3521 (init_cpu_features): Add handle of Haswell.
3522
3523 2016-11-25 Jim Meyering <meyering@fb.com>
3524
3525 [BZ #20386]
3526 Let gcc detect assert(a = 1) errors.
3527 * assert/assert.h (assert): Rewrite, retaining the old definintion
3528 when required, but otherwise putting the expression as-is in an "if"
3529 expression (hence, with no added parentheses) within a statement
3530 expression.
3531
3532 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
3533
3534 * benchtests/Makefile (binaries-benchset): Depend on libsupport
3535 DSO.
3536
3537 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
3538
3539 * Rules (python-flags, python-invoke): New.
3540 ($(test-printers-out)): Use $(python-flags).
3541
3542 2016-12-16 Joseph Myers <joseph@codesourcery.com>
3543
3544 * manual/arith.texi (Math Error Reporting): Document that sNaN
3545 arguments are not considered domain errors.
3546
3547 2016-12-16 Zack Weinberg <zackw@panix.com>
3548 Florian Weimer <fweimer@redhat.com>
3549 Nick Mathewson <nickm@torproject.org>
3550
3551 * string/explicit_bzero.c: New routine.
3552 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
3553 * string/Makefile (routines, strop-tests, tests): Add them.
3554 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
3555 * string/string.h [__USE_MISC]: Declare explicit_bzero.
3556
3557 * debug/explicit_bzero_chk.c: New routine.
3558 * debug/Makefile (routines): Add it.
3559 * debug/tst-chk1.c: Test fortification of explicit_bzero.
3560 * string/bits/string3.h: Fortify explicit_bzero.
3561
3562 * manual/string.texi: Document explicit_bzero.
3563 * NEWS: Mention addition of explicit_bzero.
3564
3565 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
3566 data before returning, using explicit_bzero.
3567 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
3568 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3569 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3570
3571 * include/string.h: Redirect internal uses of explicit_bzero
3572 to __explicit_bzero_chk[_internal].
3573 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
3574 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
3575 * sysdeps/arm/nacl/libc.abilist
3576 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3577 * sysdeps/unix/sysv/linux/alpha/libc.abilist
3578 * sysdeps/unix/sysv/linux/arm/libc.abilist
3579 * sysdeps/unix/sysv/linux/hppa/libc.abilist
3580 * sysdeps/unix/sysv/linux/i386/libc.abilist
3581 * sysdeps/unix/sysv/linux/ia64/libc.abilist
3582 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3583 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3584 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3585 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3586 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3587 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3588 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3589 * sysdeps/unix/sysv/linux/nios2/libc.abilist
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3594 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3596 * sysdeps/unix/sysv/linux/sh/libc.abilist
3597 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3601 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3602 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3603 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3604 Add entries for explicit_bzero and __explicit_bzero_chk.
3605
3606 2016-12-16 Joseph Myers <joseph@codesourcery.com>
3607
3608 * math/fenv.h
3609 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
3610 (FE_SNANS_ALWAYS_SIGNAL): New macro.
3611 * math/test-fe-snans-always-signal.c: New file.
3612 * math/Makefile (tests): Add test-fe-snans-always-signal.
3613 (CFLAGS-test-fe-snans-always-signal.c): New variable.
3614 * manual/arith.texi (Infinity and NaN): Document
3615 FE_SNANS_ALWAYS_SIGNAL.
3616
3617 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3618
3619 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
3620 bracket.
3621
3622 2016-12-16 Joseph Myers <joseph@codesourcery.com>
3623
3624 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
3625 before calling execv.
3626
3627 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3628
3629 [BZ# 20971]
3630 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
3631 overflow in pointer addition.
3632 * string/test-memchr.c (do_test): Add an argument to pass as
3633 the size on memchr.
3634 (test_main): Add check for SIZE_MAX.
3635
3636 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3637
3638 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
3639 (libm-calls): Add w_scalblnF.
3640 * math/w_scalbln.c: Remove.
3641 * math/w_scalblnf.c: Likewise.
3642 * math/w_scalblnl.c: Likewise.
3643 * math/w_scalbln_template.c: New file with type-generic
3644 implementation based on math/w_scalbln.c.
3645 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
3646 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
3647
3648 2016-12-15 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #20947]
3651 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
3652 either is a signaling NaN.
3653 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
3654 follow fmaxl more closely.
3655 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
3656 when either is a signaling NaN.
3657 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
3658 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
3659 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
3660 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
3661 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
3662 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
3663 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
3664 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
3665 (fmin_test_data): Likewise.
3666
3667 2016-12-15 Andreas Schwab <schwab@suse.de>
3668
3669 * support/support_test_main.c (support_test_main): Don't shadow
3670 file-local variable test_pid.
3671
3672 2016-12-15 Joseph Myers <joseph@codesourcery.com>
3673
3674 [BZ #20947]
3675 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
3676 either is a signaling NaN.
3677 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
3678
3679 2016-12-14 Joseph Myers <joseph@codesourcery.com>
3680
3681 [BZ #20947]
3682 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
3683 when either is a signaling NaN.
3684 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
3685
3686 * bits/long-double.h: New file.
3687 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
3688 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
3689 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
3690 * sysdeps/mips/bits/long-double.h: Likewise.
3691 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
3692 * math/Makefile (headers): Add bits/long-double.h.
3693 * misc/sys/cdefs.h: Include <bits/long-double.h>.
3694 * stdlib/strtold.c: Include <bits/long-double.h> instead of
3695 <bits/wordsize.h>.
3696 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
3697 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
3698 * math/math.h: Do not include <bits/mathdef.h>.
3699 * sysdeps/aarch64/bits/mathdef.h: Remove file.
3700 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
3701 inclusion.
3702 * sysdeps/ia64/bits/mathdef.h: Remove file.
3703 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
3704 * sysdeps/mips/bits/mathdef.h: Likewise.
3705 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3706 * sysdeps/s390/bits/mathdef.h: Likewise.
3707 * sysdeps/sparc/bits/mathdef.h: Likewise.
3708 * sysdeps/x86/bits/mathdef.h: Likewise.
3709 * sysdeps/s390/s390-32/bits/wordsize.h
3710 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
3711 conditional code.
3712 * sysdeps/s390/s390-64/bits/wordsize.h
3713 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3714 Likewise.
3715 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
3716 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3717 Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
3719 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3720 Likewise.
3721 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3722 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3723 Likewise.
3724
3725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
3726 <linux/falloc.h>.
3727 (FALLOC_FL_KEEP_SIZE): Remove.
3728 (FALLOC_FL_PUNCH_HOLE): Likewise.
3729 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
3730 (FALLOC_FL_ZERO_RANGE): Likewise.
3731
3732 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3733
3734 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
3735
3736 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3737
3738 * sysdeps/unix/sysv/linux/renameat.c: New file.
3739 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
3740
3741 * sysdeps/unix/sysv/linux/rename.c: New file.
3742 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
3743
3744 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
3745
3746 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
3747 * string/strtok.c (strtok): Change to tailcall __strtok_r.
3748 * string/strtok_r.c (__strtok_r): Optimize for performance.
3749 * string/string-inlines.c (__old_strtok_r_1c): New function.
3750 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
3751
3752 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3753
3754 * math/Makefile (gen-libm-calls): Add w_log1pF.
3755 (libm-calls): Remove w_log1pF.
3756 * math/w_log1p.c: Remove.
3757 * math/w_log1pf.c: Likewise.
3758 * math/w_log1pl.c: Likewise.
3759 * math/w_log1p_template.c: New file with type-generic
3760 implementation based on math/w_log1p.c.
3761 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
3762 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
3763
3764 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
3765
3766 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
3767
3768 2016-12-14 Joseph Myers <joseph@codesourcery.com>
3769
3770 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3771 kernel version to 4.9.
3772
3773 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
3774
3775 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
3776 ($(inst_libdir)/libm.a): Fix rule to create the target only.
3777
3778 2016-12-13 Andreas Schwab <schwab@suse.de>
3779
3780 * sysdeps/powerpc/dl-procinfo.c: Don't define
3781 _dl_powerpc_platforms.
3782 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
3783 constants instead of referencing _dl_powerpc_platforms.
3784 (_dl_platform_string): Remove.
3785
3786 2016-12-13 Florian Weimer <fweimer@redhat.com>
3787
3788 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
3789
3790 2016-12-13 Florian Weimer <fweimer@redhat.com>
3791
3792 * Rules (binaries-shared-tests, binaries-pie-tests)
3793 (binaries-static-tests): Link with $(link-extra-libs-tests).
3794 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
3795 Remove $(link-extra-libs-tests).
3796
3797 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3798
3799 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3800 (sysdep_routines): Add strncmp_power9.
3801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3802 (strncmp): Add __strncmp_power9 to list of strncmp functions.
3803 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
3804 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
3805 (strncmp): Add __strncmp_power9 to ifunc list.
3806 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
3807
3808 2016-12-12 Florian Weimer <fweimer@redhat.com>
3809
3810 [BZ #17252]
3811 Add getentropy, getrandom.
3812 * stdlib/sys/random.h: New file.
3813 (headers): Add it.
3814 * stdlib/Makefile (routines): Add getentropy, getrandom.
3815 (tests): Add tst-getrandom.
3816 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
3817 * stdlib/getentropy.c: New file.
3818 * stdlib/getrandom.c: Likewise.
3819 * stdlib/tst-getrandom.c: Likewise.
3820 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
3821 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
3822 * manual/crypt.texi (Unpredictable Bytes): New section.
3823 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
3824 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
3825 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3826 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3829 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3830 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3831 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3834 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3835 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3836 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3837 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3838 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3840 Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3842 Likewise.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3852 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3855
3856 2016-12-10 Florian Weimer <fweimer@redhat.com>
3857
3858 [BZ #20956]
3859 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
3860 as additional compiler barriers.
3861 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
3862 (fn2, do_test): Declare with external linkage.
3863 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
3864 (do_test): Declare with external linkage.
3865 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
3866 (do_test): Declare with external linkage.
3867 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
3868 (do_test): Declare with external linkage.
3869
3870 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 * support/support_test_main.c (support_test_main): Use correct
3873 timeout.
3874
3875 2016-12-09 Carlos O'Donell <carlos@redhat.com>
3876 Florian Weimer <fweimer@redhat.com>
3877
3878 [BZ #16421]
3879 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
3880 and __u6_addr32 members.
3881 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
3882 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
3883 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
3884 Use __u6_addr32.
3885 * inet/tst-checks.c: Use <support/test-driver.c>
3886 * inet/tst-checks-posix.c: New file.
3887 * inet/Makefile (tests): Add it.
3888 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
3889
3890 2016-12-09 Florian Weimer <fweimer@redhat.com>
3891
3892 New subdirectory support for build and test infrastructure.
3893 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
3894 setting install-lib.
3895 * Makeconfig (link-extra-libs-tests): Define.
3896 (+link-pie-tests, +link-static-tests, +link-tests): Use
3897 link-extra-libs-tests.
3898 (rpath-dirs, all-subdirs): Add support.
3899 (built-modules): Add libsupport.
3900 (libsupport): Define.
3901 * support: New directory.
3902 * support/Makefile: New file.
3903 * support/check.c: Likewise.
3904 * support/check.h: Likewise.
3905 * support/delayed_exit.c: Likewise.
3906 * support/ignore_stderr.c: Likewise.
3907 * support/oom_error.c: Likewise.
3908 * support/set_fortify_handler.c: Likewise.
3909 * support/support.h: Likewise.
3910 * support/temp_file-internal.h: Likewise.
3911 * support/temp_file.c: Likewise.
3912 * support/test-driver.c: Likewise.
3913 * support/test-driver.h: Likewise.
3914 * support/test_main.c: Likewise.
3915 * support/write_message.c: Likewise.
3916 * support/xasprintf.c: Likewise.
3917 * support/xcalloc.c: Likewise.
3918 * support/xmalloc.c: Likewise.
3919 * support/xpthread_barrier_destroy.c: Likewise.
3920 * support/xpthread_barrier_init.c: Likewise.
3921 * support/xpthread_barrier_wait.c: Likewise.
3922 * support/xpthread_cancel.c: Likewise.
3923 * support/xpthread_check_return.c: Likewise.
3924 * support/xpthread_cond_wait.c: Likewise.
3925 * support/xpthread_create.c: Likewise.
3926 * support/xpthread_detach.c: Likewise.
3927 * support/xpthread_join.c: Likewise.
3928 * support/xpthread_mutex_lock.c: Likewise.
3929 * support/xpthread_mutex_unlock.c: Likewise.
3930 * support/xpthread_sigmask.c: Likewise.
3931 * support/xpthread_spin_lock.c: Likewise.
3932 * support/xpthread_spin_unlock.c: Likewise.
3933 * support/xrealloc.c: Likewise.
3934 * support/xsignal.h: Likewise.
3935 * support/xthread.h: Likewise.
3936 * support_tempfile.h: Likewise.
3937 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
3938 (TEST_DATA_LIMIT): Remove unused macro.
3939 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
3940 <support/check.h>.
3941 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
3942 (ignore_stderr, set_fortify_handler): Remove. Now in
3943 <support/support.h>.
3944 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
3945 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
3946 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
3947 (xpthread_join): Remove. Now in <support/xthread.h>.
3948 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
3949 Introduce legacy wrappers.
3950 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
3951 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
3952 (write_message): Remove.
3953 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
3954 test-skeleton.c.
3955 * io/test-open-tmpfile: Likewise.
3956 * io/tst-posix_fallocate-common.c: Likewise.
3957 * libio/tst-fseek.c: Likewise.
3958 * malloc/tst-malloc-backtrace.c: Likewise.
3959 * malloc/tst-malloc-fork-deadlock.c: Likewise.
3960 * malloc/tst-malloc-thread-exit.c: Likewise.
3961 * nptl/tst-cancel7.c: Likewise.
3962 * nptl/tst-cleanup0.c: Likewise.
3963 * posix/tst-posix_fadvise-common.c: Likewise.
3964 * rt/tst-shm.c: Likewise.
3965 * time/bug-getdate1.c: Likewise.
3966 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3967 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
3968 * elf/Makefile (tst-piemod1.so): Link against libsupport.
3969
3970 2016-12-08 Joseph Myers <joseph@codesourcery.com>
3971
3972 * Rules [$(run-built-tests) != no] (tests-expected): Add
3973 $(tests-printers).
3974 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
3975
3976 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
3977
3978 [BZ #20539]
3979 * math/Makefile (install-lib-ldscripts): Add libm.a.
3980 (install_subdir): Remove.
3981 (install-others): Add.
3982 ($(inst_libdir)/libm.a): Add rule for installation as
3983 linker script.
3984 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
3985
3986 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
3987
3988 * INSTALL: Regenerated.
3989 * Makeconfig: Add comments and whitespace to make the control flow
3990 clearer.
3991 (+link-printers-tests, +link-pie-printers-tests,
3992 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
3993 built-rtld-LDFLAGS, link-libc-rpath,
3994 link-libc-tests-after-rpath-link,
3995 link-libc-printers-tests): New.
3996 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
3997 link-libc-tests): Use the new variables as required.
3998 * Makerules ($(py-const)): New rule.
3999 generated: Add $(py-const).
4000 * README.pretty-printers: New file.
4001 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4002 (others): Depend on $(py-const).
4003 (tests): Depend on $(tests-printers-programs) or
4004 $(tests-printers-out),
4005 as required. Pass $(tests-printers) to merge-test-results.sh.
4006 * manual/install.texi: Add requirements for testing the pretty
4007 printers.
4008 * nptl/Makefile (gen-py-const-headers, pretty-printers,
4009 tests-printers, CFLAGS-test-mutexattr-printers.c
4010 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4011 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4012 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4013 * nptl/nptl-printers.py: New file.
4014 * nptl/nptl_lock_constants.pysym: Likewise.
4015 * nptl/test-cond-printers.c: Likewise.
4016 * nptl/test-cond-printers.py: Likewise.
4017 * nptl/test-condattr-printers.c: Likewise.
4018 * nptl/test-condattr-printers.py: Likewise.
4019 * nptl/test-mutex-printers.c: Likewise.
4020 * nptl/test-mutex-printers.py: Likewise.
4021 * nptl/test-mutexattr-printers.c: Likewise.
4022 * nptl/test-mutexattr-printers.py: Likewise.
4023 * nptl/test-rwlock-printers.c: Likewise.
4024 * nptl/test-rwlock-printers.py: Likewise.
4025 * nptl/test-rwlockattr-printers.c: Likewise.
4026 * nptl/test-rwlockattr-printers.py: Likewise.
4027 * scripts/gen-py-const.awk: Likewise.
4028 * scripts/test_printers_common.py: Likewise.
4029 * scripts/test_printers_exceptions.py: Likewise.
4030
4031 2016-12-07 Joseph Myers <joseph@codesourcery.com>
4032
4033 * scripts/build-many-glibcs.py (Context.__init__): Take strip
4034 argument.
4035 (Glibc.build_glibc): Strip installed shared libraries if
4036 requested.
4037 (get_parser): Add --strip option.
4038 (main): Update Context call.
4039
4040 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4041 Dominik Vogt <vogt@linux.vnet.ibm.com>
4042
4043 [BZ #20847]
4044 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4045 array bounds for else branch.
4046 (__execvpe): Style fixes.
4047 * posix/tst-vfork3.c (run_script): New function.
4048 (create_script): Likewise.
4049 (do_test): Use run_script internal function.
4050 (do_prepare): Use create_script internal function.
4051
4052 2016-12-07 Andreas Schwab <schwab@suse.de>
4053
4054 * sysdeps/unix/sysv/linux/x86/elision-conf.h
4055 (__elision_available): Don't declare.
4056 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4057 (__elision_available): Don't define.
4058 (elision_init): Don't set __elision_available.
4059
4060 2016-12-07 Joseph Myers <joseph@codesourcery.com>
4061
4062 [BZ #20940]
4063 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4064 return Inf for arguments Inf and sNaN.
4065 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4066 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4067 Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4069 Likewise.
4070 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4071 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4072 for arguments Inf and sNaN. When returning a NaN, compute it by
4073 arithmetic on the arguments.
4074 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4075 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4076 arguments.
4077
4078 2016-12-06 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #20916]
4081 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4082 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
4083 to compute result.
4084 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4085 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4086
4087 2016-12-05 Torvald Riegel <triegel@redhat.com>
4088
4089 * include/atomic.h (__atomic_check_size_ls): New.
4090 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4091 atomic_store_release): Use it.
4092 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4093 (elision_adapt, ELIDE_LOCK): Use atomics.
4094 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4095 atomics and improve code comments.
4096 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4097 (__lll_trylock_elision): Likewise.
4098
4099 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4100
4101 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4102 programs.
4103
4104 2016-12-02 Joseph Myers <joseph@codesourcery.com>
4105
4106 [BZ #20916]
4107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4108 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
4109 arguments to compute result.
4110 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4111 1 for arguments (sNaN, 0) or (1, sNaN).
4112 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4114
4115 [BZ #20919]
4116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4117 NaN first argument when raised to power 0.
4118 * math/w_pow.c (__pow): Do not check for NaN or zero results from
4119 raising to power zero.
4120 * math/w_powf.c (__powf): Likewise.
4121 * math/w_powl.c (__powl): Likewise.
4122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4123 pow (0, 0) or pow (NaN, 0).
4124
4125 2016-12-02 Carlos O'Donell <carlos@redhat.com>
4126
4127 [BZ #20918]
4128 * configure.ac: Test for static NSS cryptographic libraries and set
4129 libc_cv_static_nss_crypt.
4130 * configure: Regenerate.
4131 * config.make.in (static-nss-crypt): Define.
4132 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4133 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4134 (CFLAGS-tst-linkall-static.c): Define.
4135 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4136 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4137 ($(objpfx)tst-linkall-static): Define.
4138 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4139 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4140
4141 2016-12-02 Florian Weimer <fweimer@redhat.com>
4142
4143 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4144 (one-hundred, tst-tls-many-dynamic-modules): Define.
4145 (modules-names): Add $(tst-tls-many-dynamic-modules).
4146 (tst-tls-manydynamic%mod.os): Build with special preprocessor
4147 macros.
4148 (tst-tls-manydynamic): Link against libdl, libpthread.
4149 (tst-tls-manydynamic.out): The test needs the test modules at run
4150 time.
4151 * elf/tst-tls-manydynamic.c: New file.
4152 * elf/tst-tls-manydynamic.h: Likewise.
4153 * elf/tst-tls-manydynamicmod.c: Likewise.
4154
4155 2016-12-02 Florian Weimer <fweimer@redhat.com>
4156
4157 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4158 (TLS_DTV_UNALLOCATED): Add.
4159 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4160 offsets.
4161
4162 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
4163
4164 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4165
4166 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
4167
4168 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4169 Add -fno-optimize-sibling-calls.
4170
4171 2016-12-02 Joseph Myers <joseph@codesourcery.com>
4172
4173 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4174 New declaration.
4175 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4176 macro.
4177 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4178 New macro.
4179 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4180 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4181 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4182 (llogbf): Likewise.
4183 (llogbl): Likewise.
4184 * math/Makefile (gen-libm-calls): Add w_llogbF.
4185 (tests): Add test-fp-llogb-constants.
4186 * math/w_llogb_template.c: New file. Based on
4187 math/w_ilogb_template.c.
4188 * math/libm-test.inc (llogb_test_data): New array.
4189 (llogb_test): New function.
4190 (main): Call llogb_test.
4191 * math/test-fp-llogb-constants.c: New file. Based on
4192 math/test-fp-ilogb-constants.c.
4193 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4194 (do_test): Call check_return_llogb.
4195 * math/test-tgmath.c (NCALLS): Increase to 126.
4196 (F(compile_test)): Call llogb.
4197 (F(llogb)): New function.
4198 * manual/math.texi (Exponents and Logarithms): Document llogb,
4199 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4200 * manual/libm-err-tab.pl (@all_functions): Add llogb.
4201 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4202 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4204 (CFLAGS-nldbl-llogb.c): New variable.
4205 * sysdeps/nacl/libm.abilist: Update.
4206 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4207 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4208 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4209 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4210 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4211 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4212 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4213 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4214 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4215 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4216 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4217 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4219 Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4221 Likewise.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4223 Likewise.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4225 Likewise.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4227 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4228 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4229 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4230 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4232 Likewise.
4233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4234 Likewise.
4235 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4236 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4237 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4238
4239 2016-12-01 Joseph Myers <joseph@codesourcery.com>
4240
4241 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4242 _Float128 instead of long double.
4243 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4244
4245 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4246 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4247 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4248 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4249 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4250 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4251 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4252 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4253 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4254 Likewise.
4255
4256 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4257
4258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4259 Remove redirection to __strrchr_ppc.
4260
4261 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4262
4263 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4264 (sysdep_routines): Add strcmp_power9.
4265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4266 (strcmp): Add __strcmp_power9 to list of strcmp functions.
4267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4268 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4269 (strcmp): Add __strcmp_power9 to ifunc list.
4270 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4271
4272 2016-12-01 Joseph Myers <joseph@codesourcery.com>
4273
4274 * bits/fp-logb.h: New file.
4275 * sysdeps/ia64/bits/fp-logb.h: Likewise.
4276 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4277 * sysdeps/x86/bits/fp-logb.h: Likewise.
4278 * math/Makefile (headers): Add bits/fp-logb.h.
4279 * math/math.h: Include <bits/fp-logb.h>.
4280 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4281 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4282 * bits/mathdef.h (FP_ILOGB0): Remove.
4283 (FP_ILOGBNAN): Likewise.
4284 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4285 (FP_ILOGBNAN): Likewise.
4286 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4287 (FP_ILOGBNAN): Likewise.
4288 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4289 (FP_ILOGBNAN): Likewise.
4290 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4291 (FP_ILOGBNAN): Likewise.
4292 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4293 (FP_ILOGBNAN): Likewise.
4294 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4295 (FP_ILOGBNAN): Likewise.
4296 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4297 (FP_ILOGBNAN): Likewise.
4298 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4299 (FP_ILOGBNAN): Likewise.
4300 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4301 (FP_ILOGBNAN): Likewise.
4302
4303 * scripts/build-many-glibcs.py: Add bot to usage message. Import
4304 time module.
4305 (Context.__init__): Initialize self.logsdir_old.
4306 (Context.run_builds): Handle bot action.
4307 (Context.bot_cycle): Copy logs directory before running builds.
4308 (Context.bot_run_self): Take argument for whether to check
4309 subprocess result. Flush stdout before running subprocess.
4310 (Context.bot): New function.
4311 (get_parser): Allow bot action.
4312
4313 2016-11-30 Joseph Myers <joseph@codesourcery.com>
4314
4315 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4316 Import email.mime.text, email.utils and smtplib modules.
4317 (Context.__init__): Initialize self.bot_config_json.
4318 (Context.run_builds): Handle bot-cycle action.
4319 (Context.load_bot_config_json): New function.
4320 (Context.part_build_old): Likewise.
4321 (Context.bot_cycle): Likewise.
4322 (Context.bot_build_mail): Likewise.
4323 (Context.bot_run_self): Likewise.
4324 (get_parser): Allow bot-cycle action.
4325
4326 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4327
4328 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4329 Remove redirection to __stpcpy_ppc.
4330
4331 2016-11-30 Florian Weimer <fweimer@redhat.com>
4332
4333 Remove __libc_memalign from ld.so because it is unused.
4334 * elf/dl-minimal.c: Update comment on the malloc implementation.
4335 (malloc): Renamed from __libc_memalign, replacing the original
4336 malloc implementation. Replace the align parameter with
4337 MALLOC_ALIGNMENT.
4338 * elf/Versions (ld): Update comment and remove __libc_memalign.
4339 * sysdeps/nacl/ld.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4348 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4349 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4350 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4351 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4352 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4356 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4366 * sysdeps/generic/localplt.data (ld.so): Likewise.
4367 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4368 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4369 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4370 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4371 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4372 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4373 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4374 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4375 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4377 (ld.so): Likewise.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4379 (ld.so): Likewise.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4381 Likewise.
4382 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4383 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4384 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
4386 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4387
4388 2016-11-30 Florian Weimer <fweimer@redhat.com>
4389
4390 [BZ #16628]
4391 Implement _dl_catch_error, _dl_signal_error in libc.so.
4392 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
4393 (catch_hook): Define as thread-local or regular variable,
4394 depending on DL_ERROR_BOOTSTRAP.
4395 (CATCH_HOOK): Remove.
4396 (dl_signal_error, _dl_catch_error): Use
4397 catch_hook. Add hidden definition for libc.
4398 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
4399 for DL_ERROR_BOOTSTRAP only.
4400 * elf/dl-error.c: New file.
4401 * elf/dl-error-minimal.c: Likewise.
4402 * elf/tst-latepthread.c: Likewise.
4403 * elf/tst-latepthreadmod.c: Likewise.
4404 * elf/Makefile (routines): Add dl-error.
4405 (dl-routines): Remove dl-error.
4406 (rtld-routines): Add dl-error-minimal.
4407 [build-shared] (tests): Add tst-latepthread.
4408 (module-names): Add tst-latepthreadmod.
4409 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
4410 symbol.
4411 (tst-latepthreadmod.so): Link against libpthread.
4412 (tst-latepthread): Link against libdbl.
4413 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
4414 _dl_catch_error.
4415 [ld] (GLIBC_PRIVATE): Likewise.
4416 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
4417 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
4418 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
4419 directly.
4420 * elf/dl-tsd.c: Remove file.
4421 * elf/rtld.c (_rtld_global_ro): Remove initializers for
4422 _dl_catch_error, _dl_signal_error.
4423 (_dl_initial_error_catch_tsd): Remove definition.
4424 (do_preload): Remove initialization of dl_error_catch_tsd.
4425 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
4426 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
4427 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4428 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4429 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
4430 set dl_error_catch_tsd.
4431 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
4432 _dl_error_catch_tsd member.
4433 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
4434 members.
4435 (_dl_initial_error_catch_tsd): Remove declaration.
4436 (_dl_dprintf): Provide definition for use outside of ld.so.
4437 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
4438 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
4439 prototype for libc.
4440 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
4441 _dl_catch_error.
4442 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4443 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4444 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4445 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4446 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4447 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4448 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4449 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4450 Likewise.
4451 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4453 (ld.so): Likewise.
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4455 (ld.so): Likewise.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4457 Likewise.
4458 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4459 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4460 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4461 Likewise.
4462 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4463 Likewise.
4464 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4465
4466 2016-11-30 Florian Weimer <fweimer@redhat.com>
4467
4468 [BZ #4099]
4469 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
4470 _IO_BUFSIZ (8192).
4471
4472 2016-11-30 Carlos O'Donell <carlos@redhat.com>
4473
4474 * PROJECTS: Remove file.
4475
4476 2016-11-29 Florian Weimer <fweimer@redhat.com>
4477
4478 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
4479
4480 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
4481 Steve Ellcey <sellcey@caviumnetworks.com>
4482
4483 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
4484 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
4485 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
4486 fxstatat.
4487 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
4488 lxstat.
4489 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
4490 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
4491 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
4492 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
4493 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
4494 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
4495 __xstat.
4496
4497 2016-11-29 Florian Weimer <fweimer@redhat.com>
4498
4499 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
4500 Define.
4501 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
4502 definition.
4503
4504 2016-11-29 Florian Weimer <fweimer@redhat.com>
4505
4506 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
4507 version and turn into strong alias. Remove compat symbol.
4508
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4510 (__longjmp): Remove.
4511
4512 2016-11-29 Joseph Myers <joseph@codesourcery.com>
4513
4514 * bits/fp-fast.h: New file.
4515 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
4516 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
4517 * math/Makefile (headers): Add bits/fp-fast.h.
4518 * math/math.h: Include <bits/fp-fast.h>.
4519 * bits/mathdef.h (FP_FAST_FMA): Remove.
4520 (FP_FAST_FMAF): Likewise.
4521 (FP_FAST_FMAL): Likewise.
4522 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
4523 (FP_FAST_FMAF): Likewise.
4524 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
4525 (FP_FAST_FMAF): Likewise.
4526 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
4527 (FP_FAST_FMAF): Likewise.
4528 (FP_FAST_FMAL): Likewise.
4529 * sysdeps/arm/bits/mathdef.h: Remove file.
4530 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
4531 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4532 * sysdeps/tile/bits/mathdef.h: Likewise.
4533
4534 2016-11-28 Joseph Myers <joseph@codesourcery.com>
4535
4536 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
4537 * math/w_ilogb.c: Remove.
4538 * math/w_ilogbf.c: Likewise.
4539 * math/w_ilogbl.c: Likewise.
4540 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
4541 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
4542 * math/Makefile (gen-libm-calls): Add w_ilogbF.
4543 (libm-calls): Remove w_ilogbF.
4544 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
4545 (LDOUBLE_ilogbl_libm_version): New macro.
4546
4547 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
4548
4549 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
4550 [!__STRICT_ANSI__ && !__cplusplus].
4551
4552 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
4553
4554 [BZ #20750]
4555 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
4556 of PIC.
4557
4558 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4559 Yury Norov <ynorov@caviumnetworks.com>
4560 Steve Ellcey <sellcey@caviumnetworks.com>
4561
4562 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
4563 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
4564 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
4565 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
4566 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
4567 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
4568 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
4569 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
4570 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
4571 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
4572 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
4573 to get correct reg name for ILP32.
4574 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
4575 (RELA_SIZE): New Macro.
4576 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
4577 to support ILP32.
4578 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
4579 cast for ILP32 mode.
4580 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
4581 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
4582 * sysdeps/aarch64/memset.S (__memset): Ditto.
4583 * sysdeps/aarch64/strchr.S (strchr): Ditto.
4584 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
4585 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
4586 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
4587 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
4588 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
4589 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
4590 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
4591 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
4592 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
4593 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
4594 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
4595 change PTR_MANGLE call to use register numbers instead of names.
4596 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
4597 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
4598 ILP32 mode, change PTR_MANGLE calls to use register numbers.
4599 * sysdeps/aarch64/start.S (_start): Ditto.
4600 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
4601 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
4602 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
4603 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
4604 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
4605 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
4606 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
4607 Make defined values dependent on __ILP32__.
4608 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
4609 (sem_t): Change __align type.
4610 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
4611 PTR_SIZE): New Macros.
4612 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
4613 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
4614 Set when in ILP32 mode.
4615 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
4616 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
4617 Set elf flags for ILP32.
4618 (add_system_dir): Set ILP32 library directories.
4619 * sysdeps/unix/sysv/linux/aarch64/init-first.c
4620 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
4621 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
4622 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
4623 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
4624 New Macros.
4625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
4626
4627 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
4628
4629 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
4630 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
4631 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
4632
4633 2016-11-28 Joseph Myers <joseph@codesourcery.com>
4634
4635 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
4636 <asm/cachectl.h>.
4637
4638 2016-11-27 Zack Weinberg <zackw@panix.com>
4639
4640 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
4641 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
4642
4643 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4644
4645 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
4646 error_t to fix usage in C++ programs.
4647
4648 2016-11-26 Joseph Myers <joseph@codesourcery.com>
4649
4650 * scripts/build-many-glibcs.py: Import datetime module.
4651 (Context.__init__): Load JSON build state. Initialize list of
4652 status logs.
4653 (Context.run_builds): Update saved build state.
4654 (Context.add_makefile_cmdlist): Update list of status logs.
4655 (Context.load_build_state_json): New function.
4656 (Context.store_build_state_json): Likewise.
4657 (Context.clear_last_build_state): Likewise.
4658 (Context.update_build_state): Likewise.
4659 (CommandList.status_logs): Likewise.
4660
4661 2016-11-25 Joseph Myers <joseph@codesourcery.com>
4662
4663 * scripts/build-many-glibcs.py (Context.__init__): Save text of
4664 script being executed.
4665 (Context.get_script_text): New function.
4666 (Context.exec_self): Likewise.
4667 (Context.checkout): Re-exec script if changed by checkout process.
4668
4669 2016-11-24 Joseph Myers <joseph@codesourcery.com>
4670
4671 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4672 (setpayloadsig): New declaration.
4673 * math/Versions (setpayloadsig): New libm symbol at version
4674 GLIBC_2.25.
4675 (setpayloadsigf): Likewise.
4676 (setpayloadsigl): Likewise.
4677 * math/Makefile (libm-calls): Add s_setpayloadsigF.
4678 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
4679 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
4680 (setpayloadsig_test_data): New array.
4681 (setpayloadsig_test): New function.
4682 (main): Call setpayloadsig_test.
4683 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
4684 setpayloadsigf and setpayloadsigl.
4685 * manual/libm-err-tab.pl: Update comment on interfaces without
4686 ulps tabulated.
4687 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
4688 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
4693 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4694 setpayloadsig.
4695 (CFLAGS-nldbl-setpayloadsig.c): New variable.
4696 * sysdeps/nacl/libm.abilist: Update.
4697 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4698 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4699 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4700 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4701 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4702 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4703 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4704 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4705 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4707 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4708 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4710 Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4712 Likewise.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4714 Likewise.
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4716 Likewise.
4717 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4718 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4719 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4720 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4723 Likewise.
4724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4725 Likewise.
4726 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4727 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4728 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4729
4730 * scripts/build-many-glibcs.py: Import json module.
4731 (Context.__init__): Take replace_sources argument. Load
4732 versions.json.
4733 (Context.load_versions_json): New function.
4734 (Context.store_json): Likewise.
4735 (Context.store_versions_json): Likewise.
4736 (Context.set_component_version): Likewise.
4737 (Context.checkout): Update versions.json. Check for and handle
4738 changes of version. Prefer previously explicitly specified
4739 version to default version.
4740 (Context.checkout_vcs): Return a revision identifier.
4741 (Context.git_checkout): Likewise.
4742 (Context.gcc_checkout): Likewise.
4743 (get_parser): Add --replace-sources option.
4744 (main): Pass replace_sources argument to Context call.
4745
4746 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4747
4748 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
4749 * nptl/allocatestack.c (allocate_stack): Likewise.
4750 (__reclaim_stacks): Likewise.
4751 (setxid_signal_thread): Obtain pid through syscall.
4752 * nptl/nptl-init.c (sigcancel_handler): Likewise.
4753 (sighandle_setxid): Likewise.
4754 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
4755 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4756 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4757 Likewise.
4758 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4759 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
4760 comment.
4761 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
4762 * nptl/descr.h (struct pthread): Change comment about pid value.
4763 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
4764 pid assert.
4765 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
4766 Do not set pid value.
4767 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
4768 pid cache check.
4769 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
4770 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
4771 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
4772 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
4773 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
4774 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4775 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
4776 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
4777 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
4778 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
4779 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
4780 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4781 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
4782 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4783 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
4784 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
4785 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4786 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
4787 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
4788 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
4789 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
4790 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4791 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
4792 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4793 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4796 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4797 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4798 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4799 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4801 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
4802 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4803 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
4804 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4805 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
4806 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4807 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
4808 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4809 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4810 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
4811 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4815 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4816 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4817 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4818 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4819 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
4820 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4821 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
4822 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
4823 struct access.
4824 (clone_test): Remove function.
4825 (do_test): Rewrite to take in consideration pid is not cached anymore.
4826
4827 2016-11-24 Joseph Myers <joseph@codesourcery.com>
4828
4829 * bits/flt-eval-method.h: New file.
4830 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
4831 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
4832 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
4833 * math/Makefile (headers): Add bits/flt-eval-method.h.
4834 * math/math.h: Include <bits/flt-eval-method.h>.
4835 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
4836 [__USE_ISOC99] (double_t): Likewise.
4837 * bits/mathdef.h (float_t): Remove.
4838 (double_t): Likewise.
4839 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
4840 (double_t): Likewise.
4841 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
4842 (double_t): Likewise.
4843 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
4844 (double_t): Likewise.
4845 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
4846 (double_t): Likewise.
4847 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
4848 (double_t): Likewise.
4849 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
4850 (double_t): Likewise.
4851 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
4852 (double_t): Likewise.
4853 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
4854 (double_t): Likewise.
4855 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
4856 (double_t): Likewise.
4857 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
4858 (double_t): Likewise.
4859 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
4860 (double_t): Likewise.
4861 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
4862 (double_t): Likewise.
4863 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
4864 (double_t): Likewise.
4865
4866 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
4867
4868 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
4869 instead of PIC.
4870
4871 2016-11-23 Joseph Myers <joseph@codesourcery.com>
4872
4873 [BZ #20859]
4874 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
4875 (-0x7fffffff) instead of 0x80000001.
4876 * math/test-fp-ilogb-constants.c: New file.
4877 * math/Makefile (tests): Add test-fp-ilogb-constants.
4878
4879 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
4880
4881 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
4882 (_init): Use it in place of hardcoded R_MIPS_JALR.
4883 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
4884 (_init): Use it in place of hardcoded R_MIPS_JALR.
4885 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
4886 (_init): Use it in place of hardcoded R_MIPS_JALR.
4887
4888 2016-11-23 Joseph Myers <joseph@codesourcery.com>
4889
4890 [BZ #20787]
4891 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
4892 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
4893 (double_t): Do not define to double if [__x86_64__] when
4894 __FLT_EVAL_METHOD__ is nonzero.
4895 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
4896 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
4897 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4898 test-flt-eval-method-387 and test-flt-eval-method-sse.
4899 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
4900 variable.
4901 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
4902
4903 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
4904
4905 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
4906 use of -fno-isolate-erroneous-paths options for tilepro.
4907
4908 2016-11-23 Florian Weimer <fweimer@redhat.com>
4909
4910 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
4911 structure initialization is no longer needed.
4912
4913 2016-11-23 Joseph Myers <joseph@codesourcery.com>
4914
4915 [BZ #20855]
4916 * bits/mathdef.h (float_t): Define to float.
4917 * math/test-flt-eval-method.c: New file.
4918 * math/Makefile (tests): Add test-flt-eval-method.
4919 (CFLAGS-test-flt-eval-method.c): New variable.
4920
4921 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
4922
4923 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
4924 and __fstatfs. Make them aliases of __fstatfs64 if
4925 STATFS_IS_STATFS64 is set to non-zero.
4926 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
4927 and __statfs64.
4928 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
4929 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
4930 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
4931 for __statfs and statfs.
4932 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
4933 to 0.
4934 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
4935 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
4936 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
4937 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4938 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4939 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
4942 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
4943 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4944 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
4945 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
4946
4947 2016-11-22 Andreas Schwab <schwab@suse.de>
4948
4949 * misc/mkstemp.c: Include <fcntl.h>.
4950 * misc/mkstemps.c: Likewise.
4951 * misc/mkostemp.c: Likewise.
4952 * misc/mkostemps.c: Likewise.
4953
4954 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
4955
4956 [BZ #20847]
4957 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4958 array bounds.
4959 (__execvpe): Likewise.
4960
4961 2016-11-22 Joseph Myers <joseph@codesourcery.com>
4962
4963 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
4964 -fno-isolate-erroneous-paths options for tilepro.
4965
4966 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
4967
4968 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
4969 to 0 when in 32 bit mode.
4970 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
4971 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4972 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4973 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4975 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4976 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
4977 XSTAT_IS_XSTAT64 test.
4978 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
4979 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
4980 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
4981 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
4982 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
4983 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
4984 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
4985 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
4986 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
4987 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
4988 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
4989
4990 2016-11-19 Joseph Myers <joseph@codesourcery.com>
4991
4992 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4993 (setpayload): New declaration.
4994 * math/Versions (setpayload): New libm symbol at version
4995 GLIBC_2.25.
4996 (setpayloadf): Likewise.
4997 (setpayloadl): Likewise.
4998 * math/Makefile (libm-calls): Add s_setpayloadF.
4999 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5000 test_Ff_b1_data.
5001 (RUN_TEST_Ff_b1): New macro.
5002 (RUN_TEST_LOOP_Ff_b1): Likewise.
5003 (canonicalize_test_data): Update type.
5004 (setpayload_test_data): New array.
5005 (setpayload_test): New function.
5006 (main): Call setpayload_test.
5007 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5008 setpayloadf and setpayloadl.
5009 * manual/libm-err-tab.pl: Update comment on interfaces without
5010 ulps tabulated.
5011 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5012 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5014 Likewise.
5015 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5016 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5019 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5021 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5023 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5024 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5025 setpayload.
5026 (CFLAGS-nldbl-setpayload.c): New variable.
5027 * sysdeps/nacl/libm.abilist: Update.
5028 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5029 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5030 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5031 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5032 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5033 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5034 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5035 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5036 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5037 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5038 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5039 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5043 Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5045 Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5047 Likewise.
5048 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5049 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5050 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5051 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5052 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5054 Likewise.
5055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5056 Likewise.
5057 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5058 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5059 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5060
5061 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5062
5063 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5064 * include/unistd.h: Extend comment about __access_noerrno return
5065 semantics.
5066 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5067 (access_common): Correct typo for EACCES.
5068
5069 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
5070
5071 * sysdeps/tile/math-tests.h: New file.
5072
5073 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5074 (__old_set_dataplane): Rename from set_dataplane and make a
5075 compatibility symbol.
5076 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5077 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5078 sys/dataplane.h.
5079
5080 2016-11-18 Joseph Myers <joseph@codesourcery.com>
5081
5082 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5083 script quote words in command output to log suitably for input to
5084 the shell.
5085
5086 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
5087 Maciej W. Rozycki <macro@imgtec.com>
5088
5089 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5090 `.Lno_weak_fn' label.
5091 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5092 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5093
5094 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5095 Yury Norov <ynorov@caviumnetworks.com>
5096
5097 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5098 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5099 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5100 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5101 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5103 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5105 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5107 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5108 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5109 (sysdep_routines): Remove oldgetrlimit64.
5110 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5111 (sysdep_routines): Likewise.
5112 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5113 (sysdep_routines): Likewise.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5115 [$(subdir) = resource] (sysdep_routines): Likewise.
5116 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5117 [$(subdir) = resource] (sysdep_routines): Likewise.
5118 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5119 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5120 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5121 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5122 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5123 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5124 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5125 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5126 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5128 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5129 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5130 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5131 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5132 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5133 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5134 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5135 setrlimit and getrlimit.
5136 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5138 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5142 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5143 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5145 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5146 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5147 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5148 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5149 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5150 (__old_getrlimit64): Add compatibility symbol.
5151 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5152
5153 2016-11-17 Joseph Myers <joseph@codesourcery.com>
5154
5155 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5156 newly built gmp, mpfr and mpc.
5157
5158 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5159
5160 2016-11-16 Joseph Myers <joseph@codesourcery.com>
5161
5162 * conform/Makefile (linknamespace-libs): Rename to
5163 linknamespace-libs-thr.
5164 (linknamespace-libs-posix): New variable.
5165 (linknamespace-libs-xsi): Likewise.
5166 (linknamespace-libs-XPG3): Include libcrypt.a.
5167 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5168 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5169 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5170 (linknamespace-libs-XOPEN2K): Likewise.
5171 (linknamespace-libs-XOPEN2K8): Likewise.
5172 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5173
5174 [BZ #20829]
5175 * stdio-common/Versions (__snprintf): Add to version
5176 GLIBC_PRIVATE.
5177 * include/stdio.h (__snprintf): Use libc_hidden_proto.
5178 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5179 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5180 of snprintf.
5181 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5182
5183 2016-11-16 Zack Weinberg <zackw@panix.com>
5184
5185 * string/string.h: Remove obsolete comment stating that
5186 strcoll_l and strxfrm_l have not yet been standardized.
5187
5188 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5189
5190 * hurd/hurd.h (__hurd_fail_noerrno): New function.
5191 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5192 __access_noerrno.
5193 * io/access.c (__access_noerrno): New function.
5194 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5195 (hurd_fail_seterrno): Likewise.
5196 (access_common): Likewise.
5197 (__access_noerrno): Likewise.
5198 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5199 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5200 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5201 macro.
5202
5203 2016-11-16 Joseph Myers <joseph@codesourcery.com>
5204
5205 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5206 Only declare fpregs if [__SH_FPU_ANY__].
5207
5208 2016-11-15 Joseph Myers <joseph@codesourcery.com>
5209
5210 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5211 Make code unconditional.
5212 [!(__SH4__ || __SH4A__)]: Remove conditional code.
5213
5214 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
5215
5216 * manual/sysinfo.texi (S_APPEND): Delete.
5217 (S_IMMUTABLE): Likewise.
5218
5219 2016-11-15 Denis Kaganovich <mahatma@eu.by>
5220 Magnus Granberg <zorry@gentoo.org>
5221 Mike Frysinger <vapier@gentoo.org>
5222
5223 [BZ #20662]
5224 * configure.ac (libc_cv_predef_stack_protector): Also check for
5225 __stack_chk_fail_local symbols.
5226 * configure: Regenerated.
5227
5228 2016-11-15 Florian Weimer <fweimer@redhat.com>
5229
5230 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5231 (libc_hidden_def): Remove redefinition.
5232 (__sigsetjmp): Add hidden definition.
5233 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5234 (libc_hidden_def): Remove redefinition.
5235 (__sigsetjmp): Add hidden definition.
5236
5237 2016-11-14 Joseph Myers <joseph@codesourcery.com>
5238
5239 * scripts/build-many-glibcs.py (os.path): Do not import.
5240 (Context): Inherit explicitly from object. Remove blank line
5241 between class and docstring.
5242 (Config): Likewise.
5243 (Glibc): Likewise.
5244 (Command): Likewise.
5245 (CommandList): Likewise.
5246 (Context.write_files): Store chmod mode in a variable.
5247
5248 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5249 LIBC_SLIBDIR_RTLDDIR for tilegx32.
5250 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5251
5252 2016-11-14 Zack Weinberg <zackw@panix.com>
5253
5254 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5255 creating or re-creating it.
5256
5257 * string/bits/string2.h: Fix typo in comment.
5258
5259 2016-11-14 Zack Weinberg <zackw@panix.com>
5260
5261 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5262 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5263 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5264 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5265 of redirected function names.
5266
5267 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5268 as well. Document that MESSAGE must be a single string literal.
5269
5270 2016-11-11 Joseph Myers <joseph@codesourcery.com>
5271
5272 * scripts/build-many-glibcs.py: New file.
5273
5274 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5275 (do_test): Disable -Wmaybe-uninitialized around uses of
5276 except_mask.
5277
5278 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5279
5280 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
5281
5282 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5283 (atomic_store_release): Provide tilepro-specific implementations.
5284
5285 2016-11-10 Joseph Myers <joseph@codesourcery.com>
5286
5287 * math/math.h (__MATH_TG): New macro.
5288 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5289 [__USE_ISOC99] (signbit): Likewise.
5290 [__USE_ISOC99] (isfinite): Likewise.
5291 [__USE_ISOC99] (isnan): Likewise.
5292 [__USE_ISOC99] (isinf): Likewise.
5293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5294 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5295 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5296 __MATH_TG and __MATH_EVAL_FMT2.
5297 * sysdeps/generic/math_private.h (fabs_tg): Define using
5298 __MATH_TG.
5299 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5300 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5301 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5302 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5303 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5304 macro.
5305 (__iscanonical): Likewise.
5306 (iscanonical): Define using __MATH_TG.
5307
5308 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5309
5310 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5311 guards.
5312
5313 * sysdeps/unix/sysv/linux/access.c: New file.
5314 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5315
5316 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
5317
5318 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5319 and __WORDSIZE32_PTRDIFF_LONG.
5320
5321 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5322
5323 * sysdeps/aarch64/libm-test-ulps: Regenerated.
5324
5325 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5326
5327 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5328 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5329 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5330 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5331 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5333 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5334 * sysdeps/unix/sysv/linux/truncate.c: New file.
5335 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5336 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5337 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5338 Remove.
5339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5340 Likewise.
5341
5342 * posix/tst-truncate-common.c: New file.
5343 * posix/tst-truncate.c: Use tst-truncate-common.c.
5344 * posix/tst-truncate64.c: Likewise and add LFS tests.
5345 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5346 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5347 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5348 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5349 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5351 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5352 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5353 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5354 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5355 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5356 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5357 Remove.
5358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5359 Likewise.
5360
5361 2016-11-08 Joseph Myers <joseph@codesourcery.com>
5362
5363 [BZ #20790]
5364 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5365 to MAXLINESIZE.
5366 * sunrpc/bug20790.x: New file.
5367 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5368 variable.
5369 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5370 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5371
5372 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5373
5374 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
5375
5376 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
5377 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
5378 calloc, realloc, free, memalign and __libc_memalign rather than
5379 making them optional.
5380
5381 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
5382 for libc.so.
5383
5384 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5385
5386 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
5387 ptw-lseek64.
5388 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
5389 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
5390 Likewise.
5391 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
5392 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
5393 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
5394 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
5395 * sysdeps/unix/sysv/linux/lseek.c: New file.
5396 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
5397 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
5398 __libc_lseek64 from auto-generation.
5399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5400 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
5401
5402 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5403
5404 * nptl/tst-basic1.c (tf, do_test): Use write_message.
5405 * nptl/tst-cleanup1.c (do_test): Likewise.
5406 * nptl/tst-cleanup3.c (do_test): Likewise.
5407 * nptl/tst-key1.c (do_test): Likewise.
5408 * nptl/tst-key2.c (tf, do_test): Likewise.
5409 * nptl/tst-key3.c (tf, do_test): Likewise.
5410 * nptl/tst-stdio1.c (do_test): Likewise.
5411 * nptl/tst-stdio2.c (do_test): Likewise.
5412
5413 * nptl/tst-kill3.c (handler): Use write_message in place of write.
5414 * nptl/tst-kill6.c (handler): Likewise.
5415 * nptl/tst-tls2.c (CB): Likewise.
5416 * nptl/tst-tls3.c (CB): Likewise.
5417
5418 2016-11-07 Joseph Myers <joseph@codesourcery.com>
5419
5420 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5421
5422 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
5423 Steve Ellcey <sellcey@caviumnetworks.com>
5424
5425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5426 __ASSUME_ST_INO_64_BIT as 0
5427 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
5428 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
5429 over the code where __ASSUME_ST_INO_64_BIT is used.
5430 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5431 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5432 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5433
5434 2016-11-07 Florian Weimer <fweimer@redhat.com>
5435
5436 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5437 Document ABI exposure of the __kind offset.
5438 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5439 Mention reason for the __kind offset exposure in the ABI.
5440 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5441 Likewise.
5442 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5443 Likewise.
5444 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5445 Likewise.
5446 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
5447 (struct __pthread_mutex_s): Likewise.
5448 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5449 Likewise.
5450 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5451 Likewise.
5452 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5453 Likewise.
5454 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5455 Likewise.
5456 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5457 Likewise.
5458 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5459 Likewise.
5460 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5461 (struct __pthread_mutex_s): Likewise.
5462 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5463 (struct __pthread_mutex_s): Likewise.
5464 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
5465 Likewise.
5466
5467 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
5468
5469 * test-skeleton.c: Document do_test usage.
5470
5471 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
5472
5473 * iconv/gconv.h (__gconv_info): Define __data element using a
5474 zero-length array.
5475
5476 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
5477
5478 * math/test-tgmath2.c: Split up test function.
5479
5480 2016-11-04 Joseph Myers <joseph@codesourcery.com>
5481
5482 * Rules (tests-expected): New variable, depending on
5483 $(run-built-tests).
5484 (tests): Pass $(tests-expected) to merge-test-results.sh, not
5485 $(tests).
5486
5487 * Rules [$(run-built-tests) = no] (tests): Do not depend on
5488 $(tests-unsupported).
5489
5490 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5491
5492 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5493 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
5494
5495 2016-11-04 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #20768]
5498 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
5499 __fegetenv instead of fegetenv.
5500
5501 [BZ #14139]
5502 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
5503 (find_files): Obtain platform name from libm-test-ulps-name and
5504 store in %pplatforms.
5505 (canonicalize_platform): Remove.
5506 (print_platforms): Use $pplatforms directly.
5507 (by_platforms): Do not allow for platforms missing from
5508 %pplatforms.
5509 * sysdeps/aarch64/libm-test-ulps-name: New file.
5510 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
5511 * sysdeps/arm/libm-test-ulps-name: Likewise.
5512 * sysdeps/generic/libm-test-ulps-name: Likewise.
5513 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
5514 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
5515 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
5516 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
5517 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
5518 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
5519 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
5520 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
5521 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
5522 * sysdeps/nios2/libm-test-ulps-name: Likewise.
5523 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
5524 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
5525 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
5526 * sysdeps/sh/libm-test-ulps-name: Likewise.
5527 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
5528 * sysdeps/tile/libm-test-ulps-name: Likewise.
5529 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
5530
5531 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
5532
5533 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
5534 (test-xfail-check-execstack): New variable.
5535
5536 * sysdeps/mips/localplt.data: New file.
5537
5538 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
5539 Steve Ellcey <sellcey@caviumnetworks.com>
5540
5541 * bits/wordsize.h: Add documentation.
5542 * sysdeps/aarch64/bits/wordsize.h : New file
5543 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
5544 definitions.
5545 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
5546 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
5547 with #if instead of #ifdef.
5548 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
5549 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
5550 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
5551 Add or change defines.
5552 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
5553 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5554 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
5555 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
5556 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5557 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5558 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
5559 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5560 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
5561 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5562 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
5563 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
5564 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
5565 * sysdeps/x86/bits/wordsize.h: Likewise.
5566
5567 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
5568 Kevin Petit <kevin.petit@arm.com>
5569
5570 * sysdeps/aarch64/memchr.S (__memchr): New file.
5571
5572 2016-11-04 Joseph Myers <joseph@codesourcery.com>
5573
5574 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
5575
5576 2016-11-03 Joseph Myers <joseph@codesourcery.com>
5577
5578 [BZ #19398]
5579 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
5580 $(linknamespace-symlists-tests).
5581
5582 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
5583
5584 * time/tst-strptime2.c: Ignore -Wformat-length warning.
5585
5586 2016-11-02 Florian Weimer <fweimer@redhat.com>
5587 Carlos O'Donell <carlos@redhat.com>
5588
5589 [Bug #20729]
5590 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
5591 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
5592 for -Os related change.
5593
5594 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
5595
5596 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
5597
5598 2016-11-01 Joseph Myers <joseph@codesourcery.com>
5599
5600 [BZ #19673]
5601 * manual/math.texi (Exponents and Logarithms): Correct description
5602 of clog10.
5603
5604 2016-10-31 Carlos O'Donell <carlos@redhat.com>
5605
5606 [Bz #20729]
5607 * locale/weight.h: Include libc-internal.h.
5608 * locale/weightwc.h: Likewise.
5609 * nptl/nptl_dbP.h: Likewise.
5610
5611 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
5612
5613 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
5614 when it is MACH_PORT_NULL.
5615
5616 2016-10-31 Andreas Schwab <schwab@suse.de>
5617
5618 [BZ #20707]
5619 * posix/glob.c (glob): Initialize pglob before checking for
5620 GLOB_BRACE. Don't call glob recursively if pattern contains no
5621 valid brace expression despite GLOB_BRACE.
5622 * posix/globtest.sh: Test it.
5623
5624 2016-10-28 Carlos O'Donell <carlos@redhat.com>
5625
5626 [BZ #20729]
5627 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
5628 Define.
5629 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
5630 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
5631 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
5632 for seq2.back_us and seq1.back_us only for -Os compiles.
5633 * locale/weightwc.h (findix): Likewise.
5634 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
5635 DB_GET_FIELD_ADDRESS only for -Os compiles.
5636 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
5637 for slen only for -Os compiles.
5638 * string/strcoll_l.c (get_next_seq): Ignore
5639 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
5640 for -Os compiles.
5641
5642 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
5643 * include/crypt.h: New file.
5644
5645 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5646
5647 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
5648 from test-skeleton.c.
5649 (statclass): Replace calls to write with calls to write_message.
5650
5651 2016-10-28 Joseph Myers <joseph@codesourcery.com>
5652
5653 * math/math.h
5654 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
5655 New macro.
5656 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
5657 Likewise.
5658 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
5659 Likewise.
5660 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
5661 SNANL.
5662 * math/test-double.h (snan_value_MACRO): New macro.
5663 * math/test-float.h (snan_value_MACRO): Likewise.
5664 * math/test-ldouble.h (snan_value_MACRO): Likewise.
5665 * math/libm-test.inc (issignaling_test_data): Add tests of
5666 snan_value_MACRO.
5667
5668 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5669
5670 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
5671 behavior when eliding a lock not held by the current thread.
5672 * sysdeps/powerpc/nptl/elide.h: Likewise.
5673
5674 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5675
5676 [BZ #20728]
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
5678 branch to _exit() by a function call.
5679
5680 2016-10-28 Florian Weimer <fweimer@redhat.com>
5681
5682 * malloc/malloc.c: Update chunk layout comments.
5683 (chunk_main_arena): Update comment.
5684
5685 2016-10-28 Florian Weimer <fweimer@redhat.com>
5686
5687 * crypt/sha256.c, crypt/sha256-block.c,
5688 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
5689 sha256_process_block to __sha256_process_block.
5690 * crypt/sha512.c, crypt/sha512-block.c,
5691 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
5692 sha512_process_block to __sha512_process_block.
5693
5694 2016-10-28 Carlos O'Donell <carlos@redhat.com>
5695
5696 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
5697
5698 * math/test-nan-overflow.c: Include stdlib.h for malloc.
5699
5700 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 [BZ #20019]
5703 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
5704 definition in unrelocated shared library.
5705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5706
5707 2016-10-28 Florian Weimer <fweimer@redhat.com>
5708
5709 [BZ #20729]
5710 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
5711 * sysdeps/unix/sysv/linux/i386/Makefile
5712 (uses-6-syscall-arguments): Define.
5713 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
5714 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
5715 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
5716 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
5717 Likewise.
5718 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
5719 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
5720 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
5721 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
5722 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
5723 (CFLAGS-fallocate64.os): Likewise.
5724 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
5725 (CFLAGS-pthread_rwlock_timedrdlock.os)
5726 (CFLAGS-pthread_rwlock_timedwrlock.o)
5727 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
5728 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
5729 (CFLAGS-sem_timedwait.os): Likewise.
5730
5731 2016-10-28 Florian Weimer <fweimer@redhat.com>
5732
5733 * elf/tst-linkall-static.c: New file.
5734 * elf/Makefile (tests-static): Add tst-linkall-static.
5735 (tst-linkall-static): Link against static libraries.
5736
5737 2016-10-27 Florian Weimer <fweimer@redhat.com>
5738
5739 * malloc/malloc.c (sysmalloc): Initialize previous size field of
5740 mmaped chunks.
5741
5742 2016-10-28 Florian Weimer <fweimer@redhat.com>
5743
5744 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
5745 members to mchunk_prev_size, mchunk_size.
5746 (chunk_main_arena): Reverse sense and rename from
5747 chunk_non_main_arena.
5748 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
5749 mchunk_size instead of size.
5750 (set_non_main_arena): Define.
5751 (chunksize): Use chunksize_nomask instead of direct member access.
5752 (chunksize_nomask): Define.
5753 (next_chunk): Use chunksize instead of direct member access.
5754 (prev_size, set_prev_size): Define.
5755 (prev_chunk): Use prev_size instead of direct member access.
5756 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
5757 (inuse_bit_at_offset, set_inuse_bit_at_offset)
5758 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
5759 (mchunk_prev_size, mchunk_size): Poison tokens.
5760 (unlink): Use chunksize_nomask, prev_size accessors.
5761 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
5762 (do_check_free_chunk): Use prev_size accessor.
5763 (sysmalloc): Use set_prev_size, set_head accessors.
5764 (munmap_chunk, mremap_chunk): Use prev_size accessor.
5765 (__libc_free): Use chunksize_nomask accessor.
5766 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
5767 chunk_main_arena accessors.
5768 (_int_free): Use chunksize_nomask, prev_size accessors.
5769 (malloc_consolidate): Use chunksize, prev_size accessors.
5770 (_int_realloc): Use chunksize_nomask accessor.
5771 (_int_memalign): Use set_prev_size accessor.
5772 (__malloc_info): Use chunksize_nomask accessor.
5773 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
5774 accessors.
5775 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
5776 (heap_trim): Use chunksize_nomask, prev_size accessors.
5777
5778 2016-10-28 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #19380]
5781 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
5782 for inexact results.
5783 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
5784 of inexact result where mpfr_subnormalize is the only inexact
5785 step.
5786 * stdlib/tst-strtod-round-data.h: Regenerated.
5787 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
5788 Define to 0.
5789 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
5790
5791 2016-10-27 David S. Miller <davem@davemloft.net>
5792
5793 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
5794
5795 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
5796
5797 * malloc/malloc.c (do_set_mallopt_check): New function.
5798 (do_set_mmap_threshold): Likewise.
5799 (do_set_mmaps_max): Likewise.
5800 (do_set_top_pad): Likewise.
5801 (do_set_perturb_byte): Likewise.
5802 (do_set_trim_threshold): Likewise.
5803 (do_set_arena_max): Likewise.
5804 (do_set_arena_test): Likewise.
5805 (__libc_mallopt): Use them.
5806
5807 2016-10-26 Joseph Myers <joseph@codesourcery.com>
5808
5809 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5810 (canonicalize): New declaration.
5811 * math/Versions (canonicalize): New libm symbol at version
5812 GLIBC_2.25.
5813 (canonicalizef): Likewise.
5814 (canonicalizel): Likewise.
5815 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
5816 * math/s_canonicalize_template.c: New file.
5817 * math/libm-test.inc: Update comment on functions tested and
5818 testing of NaN payloads.
5819 (TEST_NAN_PAYLOAD): New macro.
5820 (NO_TEST_INLINE): Update value.
5821 (XFAIL_TEST): Likewise.
5822 (ERRNO_UNCHANGED): Likewise.
5823 (ERRNO_EDOM): Likewise.
5824 (ERRNO_ERANGE): Likewise.
5825 (IGNORE_RESULT): Likewise.
5826 (NON_FINITE): Likewise.
5827 (TEST_SNAN): Likewise.
5828 (NO_TEST_MATHVEC): Likewise.
5829 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
5830 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
5831 (struct test_Ffp_b1_data): New type.
5832 (RUN_TEST_Ffp_b1): New macro.
5833 (RUN_TEST_LOOP_Ffp_b1): Likewise.
5834 (canonicalize_test_data): New array.
5835 (canonicalize_test): New function.
5836 (main): Call canonicalize_test.
5837 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
5838 canonicalizef and canonicalizel.
5839 * manual/libm-err-tab.pl: Update comment on interfaces without
5840 ulps tabulated.
5841 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
5842 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
5843 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5844 canonicalize.
5845 (CFLAGS-nldbl-canonicalize.c): New variable.
5846 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
5847 to ...
5848 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
5849 ... here.
5850 (do_test): Also test canonicalizel.
5851 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
5852 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
5853 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
5854 file.
5855 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
5856 Use libm_hidden_def.
5857 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
5858 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
5859 (do_test): Also test canonicalizel.
5860 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
5861 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
5862 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
5863 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
5864 libm_hidden_def.
5865 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
5866 macro.
5867 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
5868 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
5869 * sysdeps/nacl/libm.abilist: Update.
5870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5871 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5872 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5873 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5874 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5875 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5876 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5877 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5878 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5879 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5880 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5881 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5883 Likewise.
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5885 Likewise.
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5887 Likewise.
5888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5889 Likewise.
5890 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5891 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5892 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5896 Likewise.
5897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5898 Likewise.
5899 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5900 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5902
5903 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
5904 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5905 getpayload.
5906 (CFLAGS-nldbl-getpayload.c): New variable.
5907
5908 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5909
5910 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
5911 integer from the format string.
5912
5913 2016-10-26 Florian Weimer <fweimer@redhat.com>
5914
5915 [BZ #19473]
5916 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
5917 declarations.
5918 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
5919 weak aliases.
5920 * malloc/hooks.c (__malloc_get_state): Remove definition.
5921 (malloc_get_state): New stub implementation as
5922 compatibility symbol.
5923 (malloc_set_state): Rename from __malloc_set_state. Turn into
5924 compat symbol.
5925 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
5926 malloc_set_state.
5927 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
5928
5929 2016-10-26 Florian Weimer <fweimer@redhat.com>
5930
5931 * iconvdata/iso646.c (enum variant): Drop illegal_var.
5932 (names): Turn into concatenation of strings.
5933 (gconv_init): Adapt iteration over names.
5934
5935 2016-10-26 Florian Weimer <fweimer@redhat.com>
5936
5937 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
5938 make const.
5939 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
5940 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
5941 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
5942 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
5943 character in sbconv.
5944 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
5945 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
5946 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
5947
5948 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
5949
5950 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
5951
5952 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
5953 (M_TRIM_THRESHOLD): Likewise.
5954
5955 * manual/memory.texi (M_ARENA_TEST): Add documentation.
5956 (M_ARENA_MAX): Likewise.
5957 * malloc/malloc.c: Remove obsolete comment.
5958
5959 * manual/memory.texi: Add environment variable alternatives to
5960 setting mallopt parameters.
5961
5962 2016-10-26 Carlos O'Donell <carlos@redhat.com>
5963
5964 * include/atomic.h
5965 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
5966 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
5967
5968 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5969
5970 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
5971 * stdlib/tst-strfrom.h: New file.
5972 * stdlib/tst-strfrom.c: New file.
5973 * stdlib/tst-strfrom-locale.c: New file.
5974
5975 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
5976 * stdlib/bug-strtod2.c: Likewise.
5977 * stdlib/tst-strtod-round-skeleton.c: Likewise.
5978 * stdlib/tst-strtod6.c: Likewise.
5979 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
5980
5981 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5982
5983 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
5984 * manual/arith.texi: Document strfromd, strfromf, strfroml.
5985 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
5986 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
5987 * stdlib/stdlib.h (strfromd): New declaration.
5988 (strfromf): Likewise.
5989 (strfroml): Likewise.
5990 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
5991 strfrom.
5992 * stdlib/strfromd.c: New file.
5993 * stdlib/strfromf.c: Likewise.
5994 * stdlib/strfroml.c: Likewise.
5995 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
5996 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
5997 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
5998 * sysdeps/arm/nacl/libc.abilist: Update.
5999 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6001 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6002 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6003 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6004 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6005 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6006 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6008 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6009 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6011 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6012 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6017 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6018 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6019 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6020 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6024 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6026 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6027
6028 2016-10-25 Joseph Myers <joseph@codesourcery.com>
6029
6030 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6031 instead of cmpli.
6032 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6033 instead of cmpli.
6034
6035 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
6036
6037 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6038 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6039 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6040 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6041 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6043
6044 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6045
6046 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6047 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6048 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6049 SYSCALL_LL64_PRW.
6050 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6051 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6052 __ASSUME_PRW_DUMMY_ARG.
6053 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6054 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6055 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6056 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6057 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6058 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6059
6060 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
6061
6062 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6063
6064 2016-10-22 Florian Weimer <fweimer@redhat.com>
6065
6066 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6067 "C++", to override a potential extern "C" directive around the
6068 header file inclusion.
6069
6070 2016-10-21 Joseph Myers <joseph@codesourcery.com>
6071
6072 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6073
6074 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6075
6076 * sysdeps/powerpc/fpu/fenv_private.h:
6077 (_FPU_MASK_ALL): Rename to...
6078 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6079 XE FPSCR bits.
6080
6081 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6082
6083 (_FPU_MASK_ROUNDING): Rename to...
6084 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6085 NI bits.
6086
6087 (_FPU_MASK_EXCEPT_ROUND): Rename to...
6088 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6089 bits and rounding bits.
6090
6091 (__libc_feholdbits_ppc): New inline function to mask, set,
6092 and pontentially clear FSPCR bits, and change MSR[FE] bits.
6093 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6094 (libc_feholdexcept_setround_ppc): Likewise.
6095
6096 (__libc_femergeenv_ppc): New function to dynamically mask both
6097 old and new FP environments and merge.
6098 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6099 (libc_feresetround_ppc): Likewise.
6100 (libc_feupdateenv_test_ppc): Likewise.
6101 (libc_feupdateenv_ppc): Likewise.
6102
6103 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6104 of ISA RN bits, and update macro names.
6105 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6106 effectively the same as the previously mentioned function.
6107
6108 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6109 usage with fe_resetround_ppc.
6110
6111 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6112 to be used.
6113 (libc_feholdexcept_setround_ctxf): Likewise.
6114 (libc_feholdexcept_setround_ctxl): Likewise.
6115
6116 2016-10-21 Florian Weimer <fweimer@redhat.com>
6117
6118 [BZ #20715]
6119 * math/math.h [__cplusplus] (iszero): Define as function template.
6120 * math/Makefile [CXX] (tests): Add test-math-iszero.
6121 (CFLAGS-test-math-iszero.cc): Set.
6122 * math/test-math-iszero.cc: New file.
6123
6124 2016-10-20 Joseph Myers <joseph@codesourcery.com>
6125
6126 [BZ #20660]
6127 * sysdeps/arm/e_sqrt.c: New file.
6128 * sysdeps/arm/e_sqrtf.c: Likewise.
6129
6130 2016-10-19 Joseph Myers <joseph@codesourcery.com>
6131
6132 [BZ #20718]
6133 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6134 not use floating-point comparisons to test sign.
6135 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6136 Likewise.
6137
6138 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6139 (getpayload): New declaration.
6140 * math/Versions (getpayload): New libm symbol at version
6141 GLIBC_2.25.
6142 (getpayloadf): Likewise.
6143 (getpayloadl): Likewise.
6144 * math/Makefile (libm-calls): Add s_getpayloadF.
6145 * math/libm-test.inc: Include <nan-high-order-bit.h>.
6146 (struct test_f_f_data): Add comment.
6147 (RUN_TEST_fp_f): New macro.
6148 (RUN_TEST_LOOP_fp_f): Likewise.
6149 (getpayload_test_data): New array.
6150 (getpayload_test): New function.
6151 (main): Call getpayload_test.
6152 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6153 descriptor.
6154 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6155 getpayloadf and getpayloadl.
6156 * manual/libm-err-tab.pl: Update comment on interfaces without
6157 ulps tabulated.
6158 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6159 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6160 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6164 * sysdeps/nacl/libm.abilist: Update.
6165 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6166 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6167 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6168 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6169 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6170 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6171 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6172 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6173 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6174 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6175 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6176 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6178 Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6180 Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6182 Likewise.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6184 Likewise.
6185 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6187 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6191 Likewise.
6192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6193 Likewise.
6194 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6195 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6196 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6197
6198 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6199
6200 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6201 tst-fallocate{64}.
6202 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6203 on syscall return.
6204
6205 2016-10-17 Carlos O'Donell <carlos@redhat.com>
6206
6207 [BZ #20689]
6208 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6209 usable.
6210
6211 2016-10-17 Joseph Myers <joseph@codesourcery.com>
6212
6213 * sysdeps/generic/nan-high-order-bit.h: New file.
6214 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6215 * sysdeps/mips/nan-high-order-bit.h: Likewise.
6216 * sysdeps/hppa/math_private.h: Remove file.
6217 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6218 not define here.
6219 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6220 <nan-high-order-bit.h>.
6221 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6222 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6223 <nan-high-order-bit.h>.
6224 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6225 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6226 <nan-high-order-bit.h>.
6227 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6228 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6229 <nan-high-order-bit.h>.
6230 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6232 <nan-high-order-bit.h>.
6233 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6234 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6235 <nan-high-order-bit.h>.
6236 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6237 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6238 <nan-high-order-bit.h>.
6239 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6240 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6241 <nan-high-order-bit.h>.
6242 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6243 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6244 <nan-high-order-bit.h>.
6245 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6246 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6247 <nan-high-order-bit.h>.
6248 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6249 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6250 <nan-high-order-bit.h>.
6251 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6252 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6253 <nan-high-order-bit.h>.
6254 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6255 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6256 <nan-high-order-bit.h>.
6257 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6258 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6259 <nan-high-order-bit.h>.
6260 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6261 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6262 <nan-high-order-bit.h>.
6263 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6264 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6265 <nan-high-order-bit.h>.
6266 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6267 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6268 <nan-high-order-bit.h>.
6269 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6270 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6271 <nan-high-order-bit.h>.
6272 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6273
6274 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6275
6276 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6277
6278 2016-09-22 John David Anglin <dave.anglin@bell.net>
6279
6280 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6281 abort-instr.h.
6282 (EFAULT): Remove conditional define.
6283 (ENOSYS): Likewise.
6284 (atomic_compare_and_exchange_val_acq): Use instruction nullification
6285 instead of conditional branch instructions.
6286
6287 2016-10-15 Joseph Myers <joseph@codesourcery.com>
6288
6289 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6290 (totalordermag): New declaration.
6291 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6292 New macro.
6293 * math/Versions (totalordermag): New libm symbol at version
6294 GLIBC_2.25.
6295 (totalordermagf): Likewise.
6296 (totalordermagl): Likewise.
6297 * math/Makefile (libm-calls): Add s_totalordermagF.
6298 * math/libm-test.inc (totalordermag_test_data): New array.
6299 (totalordermag_test): New function.
6300 (main): Call totalordermag_test.
6301 * math/test-tgmath.c (NCALLS): Increase to 125.
6302 (F(compile_test)): Call totalordermag.
6303 (F(totalordermag)): New function.
6304 * manual/arith.texi (FP Comparison Functions): Document
6305 totalordermag, totalordermagf and totalordermagl.
6306 * manual/libm-err-tab.pl: Update comment on interfaces without
6307 ulps tabulated.
6308 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6309 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6310 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6315 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6316 totalordermag.
6317 (CFLAGS-nldbl-totalordermag.c): New variable.
6318 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6319 (do_test): Also test totalordermagl.
6320 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6321 Likewise.
6322 * sysdeps/nacl/libm.abilist: Update.
6323 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6325 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6326 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6327 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6328 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6329 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6330 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6331 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6332 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6334 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6336 Likewise.
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6338 Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6342 Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6344 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6345 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6349 Likewise.
6350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6351 Likewise.
6352 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6353 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6354 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6355
6356 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
6357
6358 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6359 boolean.
6360
6361 2016-10-13 Joseph Myers <joseph@codesourcery.com>
6362
6363 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6364 raising FE_INVALID with feraisexcept in case where part of
6365 argument is infinite, subtract that part of argument from itself.
6366 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6367 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6368 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6369
6370 2016-10-12 Joseph Myers <joseph@codesourcery.com>
6371
6372 * math/libm-test.inc (totalorder_test_data): Add more tests.
6373
6374 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
6375
6376 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
6377 Undefine weak_alias and add a comment why mips64 require
6378 versioning.
6379
6380 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
6381
6382 [BZ #20647]
6383 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
6384 maximum CPUID level is less than 2.
6385
6386 2016-10-12 Joseph Myers <joseph@codesourcery.com>
6387
6388 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6389 (totalorder): New declaration.
6390 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6391 New macro.
6392 * math/Versions (totalorder): New libm symbol at version
6393 GLIBC_2.25.
6394 (totalorderf): Likewise.
6395 (totalorderl): Likewise.
6396 * math/Makefile (libm-calls): Add s_totalorderF.
6397 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
6398 string.
6399 * math/libm-test.inc (PAYLOAD_DIG): New macro.
6400 (qnan_value_pl): Likewise.
6401 (snan_value_pl): Likewise.
6402 (qnan_value): Define using qnan_value_pl.
6403 (snan_value): Define using snan_value_pl.
6404 (struct test_ff_i_data): Add comment about which tests use this
6405 structure.
6406 (RUN_TEST_ff_b): New macro.
6407 (RUN_TEST_LOOP_ff_b): Likewise.
6408 (totalorder_test_data): New array.
6409 (totalorder_test): New function.
6410 (main): Call totalorder_test.
6411 * math/test-tgmath.c (NCALLS): Increase to 122.
6412 (F(compile_test)): Call totalorder.
6413 (F(totalorder)): New function.
6414 * manual/arith.texi (FP Comparison Functions): Document
6415 totalorder, totalorderf and totalorderl.
6416 * manual/libm-err-tab.pl: Update comment on interfaces without
6417 ulps tabulated.
6418 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
6419 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
6420 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
6425 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6426 totalorder.
6427 (CFLAGS-nldbl-totalorder.c): New variable.
6428 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
6429 file.
6430 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6431 Add test-totalorderl-ldbl-128ibm.
6432 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
6433 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
6434 test-totalorderl-ldbl-96.
6435 * sysdeps/nacl/libm.abilist: Update.
6436 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6437 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6438 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6439 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6440 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6441 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6442 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6443 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6444 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6447 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6449 Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6451 Likewise.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6453 Likewise.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6455 Likewise.
6456 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6457 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6458 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6459 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6464 Likewise.
6465 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6466 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6468
6469 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6470
6471 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
6472 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
6473 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
6474 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
6475 remove ENOSYS implementation.
6476 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
6477 Consolidate all Linux implementations.
6478
6479 2016-10-11 Florian Weimer <fweimer@redhat.com>
6480
6481 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
6482 * resolv/herror.c (herror): Cast away const-ness.
6483 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
6484 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
6485
6486 2016-10-11 Joseph Myers <joseph@codesourcery.com>
6487
6488 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
6489 instead of M_NAN + M_NAN.
6490 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6491
6492 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6493
6494 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
6495 unused variable 'p'.
6496
6497 2016-10-09 Alan Modra <amodra@gmail.com>
6498 Andreas Schwab <schwab@linux-m68k.org>
6499
6500 [BZ #20554]
6501 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
6502 [PIC && !SHARED]: Set up PIC register for PLT call.
6503
6504 2016-10-07 Joseph Myers <joseph@codesourcery.com>
6505
6506 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
6507 conditional on value of [__FLT_EVAL_METHOD__].
6508 * math/test-iseqsig-excess-precision.c: New file.
6509 * math/Makefile (tests): Add test-iseqsig-excess-precision.
6510
6511 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6512
6513 * math/s_iseqsig_template.c: Include math-private.h.
6514
6515 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
6516 * posix/tst-posix_fadvise.c: New file.
6517 * posix/tst-posix_fadvise64.c: Likewise.
6518 * posix/tst-posix_fadvise-common.c: Likewise.
6519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6520 (__ASSUME_FADVISE64_64_6ARG): Define.
6521 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6522 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
6523 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6524 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
6525 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
6526 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
6527 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6528 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6529 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
6530 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
6531 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
6532 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
6535 Likewise.
6536 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
6537 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
6538 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
6539 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6540 Alias to __posix_fadvise64_l32.
6541 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
6542 Add compat definition to posix_fadvise64.
6543 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6544 Add versioned definition to posix_fadvise64.
6545 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
6546 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
6547 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
6548 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
6549 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
6550
6551 * io/Makefile (tests): Add tst-posix_fallocate and
6552 tst-posix_fallocate64.
6553 * io/tst-posix_fallocate-common.c: New file.
6554 * io/tst-posix_fallocate.c: Likewise.
6555 * io/tst-posix_fallocate64.c: Likewise.
6556 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
6557 file.
6558 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
6559 Likewise.
6560 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
6561 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
6562 Likewise.
6563 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
6564 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
6565 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
6566 SYSCALL_LL to pass both offset and len arguments.
6567 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
6568 Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
6570 __libc_pwrite64 alias used by posix_fallocate64.
6571
6572 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6573 tst-fallocate64.
6574 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6575 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6576 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6577 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6578 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6579 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6580 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6581 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6582 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6583 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6584 macro on offset argument.
6585 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6586 SYSCALL_LL64 on offset argument.
6587
6588 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6589 tst-fallocate64.
6590 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6591 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6592 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6593 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6594 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6595 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6596 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6597 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6598 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6600 macro on offset argument.
6601 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6602 SYSCALL_LL64 on offset argument.
6603 * test-skeleton.c (FAIL_RET): Add macro.
6604 (FAIL_EXIT): Likewise.
6605 (FAIL_EXIT1): Likewise.
6606 (_FAIL): Likewise.
6607
6608 2016-10-07 Florian Weimer <fweimer@redhat.com>
6609
6610 [BZ #20629]
6611 resolv: Remove RES_USEBSTRING and its implementation.
6612 * resolv/resolv.h (RES_USEBSTRING): Remove.
6613 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
6614 (digitvalue, encode_bitstring, decode_bitstring): Remove.
6615 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
6616 (labellen): Remove extended label types support.
6617 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
6618 * resolv/res_init.c (res_setoptions): Likewise.
6619 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6620
6621 2016-10-07 Florian Weimer <fweimer@redhat.com>
6622
6623 resolv: Remove RES_NOIP6DOTINT and its implementation.
6624 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
6625 (RES_NOIP6DOTINT): Remove.
6626 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
6627 handling.
6628 * resolv/res_debug.c (p_option): Likewise.
6629 * resolv/res_init.c (res_setoptions): Likewise.
6630 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6631
6632 2016-10-07 Florian Weimer <fweimer@redhat.com>
6633
6634 resolv: Deprecate unimplemented flags.
6635 * misc/sys/cdefs.h (__glibc_macro_warning1)
6636 (__glibc_macro_warning): Define.
6637 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
6638 (RES_KEEPTSIG): Mark as deprecated.
6639 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
6640 RES_NOCHECKNAME, RES_KEEPTSIG.
6641 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
6642
6643 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6644
6645 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
6646 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
6647 Use strong_alias to create symbols for glibc verison 2.19.
6648
6649 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6650
6651 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
6652
6653 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6654
6655 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
6656
6657 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6658
6659 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
6660
6661 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6662
6663 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6664 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
6665 in header for using it as type for ifunc function because __GI_* symbols
6666 for ppc32 do not target the ifunc symbols.
6667 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6668
6669 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6670
6671 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
6672 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
6673 libc_ifunc_hidden_def.
6674 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
6675 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
6676 Redirect ifunced function in header for using it as type of ifunc'ed
6677 function. Redefine libc_hidden_def to use fallback non ifunc'ed
6678 function for __GI_* symbol.
6679 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
6680 * include/libc-symbols.h
6681 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
6682
6683 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6684
6685 [BZ #20478]
6686 * sysdeps/s390/multiarch/ifunc-resolve.h
6687 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
6688 to create ifunc symbols.
6689 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
6690 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
6691 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
6692 for using it as type for ifunc function.
6693 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6694 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6695 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6696 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6697 * sysdeps/s390/multiarch/strcat.c: Likewise.
6698 * sysdeps/s390/multiarch/strchr.c: Likewise.
6699 * sysdeps/s390/multiarch/strcmp.c: Likewise.
6700 * sysdeps/s390/multiarch/strcpy.c: Likewise.
6701 * sysdeps/s390/multiarch/strcspn.c: Likewise.
6702 * sysdeps/s390/multiarch/strlen.c: Likewise.
6703 * sysdeps/s390/multiarch/strncmp.c: Likewise.
6704 * sysdeps/s390/multiarch/strncpy.c: Likewise.
6705 * sysdeps/s390/multiarch/strnlen.c: Likewise.
6706 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6707 * sysdeps/s390/multiarch/strrchr.c: Likewise.
6708 * sysdeps/s390/multiarch/strspn.c: Likewise.
6709 * sysdeps/s390/multiarch/wcschr.c: Likewise.
6710 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6711 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6712 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6713 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6714 * sysdeps/s390/multiarch/wmemset.c: Likewise.
6715 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6716 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
6717 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
6718 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6719 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
6720 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
6721
6722 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6723
6724 * include/libc-symbols.h (__ifunc_resolver):
6725 New macro is used by __ifunc* macros.
6726 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
6727 depending on HAVE_GCC_IFUNC.
6728 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
6729 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6731 Redirect ifunced function in header for using as type for ifunc function.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6737 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6740 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6742 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6744 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
6748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
6750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6751 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6752 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6754 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6755 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6756 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6757 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6758 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6759 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6760 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6762 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6763 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
6764 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
6766 Add libc_hidden_def() and use libc_ifunc_hidden() macro
6767 instead of libc_ifunc() macro.
6768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
6769 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6770
6771 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
6772
6773 * config.h.in (HAVE_GCC_IFUNC): New undef.
6774 * configure.ac: Add check if gcc supports attribute ifunc feature.
6775 * configure: Regenerated.
6776 * manual/install.texi: Add recommendation for gcc with
6777 indirect-function support.
6778 * INSTALL: Regenerated.
6779
6780 2016-10-06 Joseph Myers <joseph@codesourcery.com>
6781
6782 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
6783 macro.
6784 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6785 (__iseqsig): New declaration.
6786 * math/s_iseqsig_template.c: New file.
6787 * math/Versions (__iseqsigf): New libm symbol at version
6788 GLIBC_2.25.
6789 (__iseqsig): Likewise.
6790 (__iseqsigl): Likewise.
6791 * math/libm-test.inc (iseqsig_test_data): New array.
6792 (iseqsig_test): New function.
6793 (main): Call iseqsig_test.
6794 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
6795 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
6796 * manual/libm-err-tab.pl: Update comment on interfaces without
6797 ulps tabulated.
6798 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
6799 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
6800 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
6801 * sysdeps/nacl/libm.abilist: Update.
6802 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6803 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6804 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6805 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6806 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6807 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6808 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6809 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6810 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6811 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6812 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6813 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6815 Likewise.
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6817 Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6819 Likewise.
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6823 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6824 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6825 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6826 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6828 Likewise.
6829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6830 Likewise.
6831 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6834
6835 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
6836
6837 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
6838 do_sincos_2, sloww, sloww1): Update comments.
6839
6840 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
6841 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
6842
6843 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
6844 K boolean and rename it.
6845 (__sin): Adjust.
6846 (__cos): Adjust.
6847
6848 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
6849 Siddhesh Poyarekar <siddhesh@sourceware.org>
6850
6851 * manual/nss.texi: Fix typos in the manual.
6852
6853 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
6854
6855 * manual/contrib.texi: Fix typos in the manual.
6856
6857 * manual/maint.texi: Fix typos in the manual.
6858
6859 * manual/install.texi: Fix typos in the manual.
6860 * INSTALL: Regenerated.
6861
6862 * manual/lang.texi: Fix typos in the manual.
6863
6864 * manual/probes.texi: Fix typos in the manual.
6865
6866 * manual/threads.texi: Fix typos in the manual.
6867
6868 * manual/debug.texi: Fix typos in the manual.
6869
6870 * manual/crypt.texi: Fix typos in the manual.
6871
6872 * manual/conf.texi: Fix typos in the manual.
6873
6874 * manual/sysinfo.texi: Fix typos in the manual.
6875
6876 * manual/users.texi: Fix typos in the manual.
6877
6878 * manual/job.texi: Fix typos in the manual.
6879
6880 * manual/process.texi: Fix typos in the manual.
6881
6882 * manual/argp.texi: Fix typos in the manual.
6883 * manual/getopt.texi: Likewise.
6884 * manual/startup.texi: Likewise.
6885
6886 * manual/signal.texi: Fix typos in the manual.
6887
6888 * manual/setjmp.texi: Fix typos in the manual.
6889
6890 * manual/resource.texi: Fix typos in the manual.
6891
6892 * manual/time.texi: Fix typos in the manual.
6893
6894 * manual/arith.texi: Fix typos in the manual.
6895
6896 * manual/math.texi: Fix typos in the manual.
6897
6898 * manual/syslog.texi: Fix typos in the manual.
6899
6900 * manual/terminal.texi: Fix typos in the manual.
6901
6902 * manual/socket.texi: Fix typos in the manual.
6903
6904 * manual/filesys.texi: Fix typos in the manual.
6905
6906 * manual/llio.texi: Fix typos in the manual.
6907
6908 * manual/stdio.text: Fix typos in the manual.
6909
6910 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
6911
6912 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
6913 instead of K1.
6914
6915 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
6916 SHIFT_QUADRANT and make it bool.
6917 (do_sincos_2): Likewise.
6918 (sloww): Likewise.
6919 (sloww1): Likewise.
6920 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
6921 (__cos): Likewise.
6922
6923 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6924
6925 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6926
6927 2016-10-04 Joseph Myers <joseph@codesourcery.com>
6928
6929 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
6930 Define to __WORDSIZE, not conditional on [LONG_MAX ==
6931 0x7fffffffL].
6932 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6933
6934 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6935
6936 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
6937 inline by __inline__.
6938 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6939 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
6940 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
6942 sigset_t from signal.h.
6943 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
6944 which is already required.
6945
6946 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6947
6948 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6949
6950 2016-10-03 Joseph Myers <joseph@codesourcery.com>
6951
6952 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
6953 (struct tcp_repair_window): New type.
6954
6955 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6956
6957 * libio/tst-memstream3.c: Include string.h.
6958
6959 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6960
6961 [BZ #18241]
6962 [BZ #20181]
6963 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
6964 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
6965 write position is at the end the buffer.
6966 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
6967 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
6968 (_IO_str_seekoff): Set correct offset from negative displacement and
6969 set EINVAL for invalid ones.
6970 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
6971 buffer length.
6972 (_IO_wstr_switch_to_get_mode): New function.
6973 (_IO_wstr_seekoff): Set correct offset from negative displacement and
6974 set EINVAL for invalid ones.
6975 * libio/tst-memstream3.c: New file.
6976 * libio/tst-wmemstream3.c: Likewise.
6977 * manual/examples/memstrm.c: Remove warning when priting size_t.
6978
6979 2016-09-30 Joseph Myers <joseph@codesourcery.com>
6980
6981 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
6982 macro to use __builtin_fma.
6983 * sysdeps/x86_64/fpu/dla.h: Remove file.
6984
6985 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6986 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
6987 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
6988
6989 2016-09-30 Carlos O'Donell <carlos@redhat.com>
6990
6991 [BZ #20292]
6992 * elf/Makefile (routines): Add dl-addr-obj.
6993 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
6994 tst-_dl_addr_inside_object.
6995 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
6996 [ifeq (yesyes,$(have-fpie)$(build-shared))]
6997 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
6998 [ifeq (yesyes,$(have-fpie)$(build-shared))]
6999 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7000 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7001 * elf/dl-open.c: Likewise.
7002 * elf/dl-addr-obj.c: New file.
7003 * elf/tst-_dl_addr_inside_object.c: New file.
7004
7005 2016-09-30 Joseph Myers <joseph@codesourcery.com>
7006
7007 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7008 <bits/iscanonical.h>.
7009 * bits/iscanonical.h: New file.
7010 * math/s_iscanonicall.c: Likewise.
7011 * math/Versions (__iscanonicall): New libm symbol at version
7012 GLIBC_2.25.
7013 * math/libm-test.inc (iscanonical_test_data): New array.
7014 (iscanonical_test): New function.
7015 (main): Call iscanonical_test.
7016 * math/Makefile (headers): Add bits/iscanonical.h.
7017 (type-ldouble-routines): Add s_iscanonicall.
7018 * manual/arith.texi (Floating Point Classes): Document
7019 iscanonical.
7020 * manual/libm-err-tab.pl: Update comment on interfaces without
7021 ulps tabulated.
7022 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7023 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7025 Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7027 test-iscanonical-ldbl-128ibm.
7028 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7029 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7030 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7031 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7032 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7033 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7034 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7036 Likewise.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7038 Likewise.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7040 Likewise.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7042 Likewise.
7043 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7044 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7045
7046 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7047
7048 * string/bits/string3.h: Remove C++ style comments.
7049
7050 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
7051
7052 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7053 instead of ternary condition.
7054 (do_sincos_2): Likewise.
7055 (__sin): Likewise.
7056 (__cos): Likewise.
7057 (slow): Likewise.
7058 (sloww): Likewise.
7059 (sloww1): Likewise.
7060 (bsloww): Likewise.
7061 (bsloww1): Likewise.
7062
7063 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7064 instead of ternary condition.
7065 (do_sin_slow): Likewise.
7066 (do_sincos_1): Likewise.
7067 (do_sincos_2): Likewise.
7068 (__cos): Likewise.
7069 (sloww): Likewise.
7070 (sloww1): Likewise.
7071 (sloww2): Likewise.
7072 (bsloww): Likewise.
7073 (bsloww1): Likewise.
7074 (bsloww2): Likewise.
7075
7076 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7077 check from here...
7078 (slow2): ... and here...
7079 (__sin): ... to here.
7080
7081 2016-09-28 Joseph Myers <joseph@codesourcery.com>
7082
7083 * math/math.h
7084 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7085 Cast argument to its own type.
7086 * math/test-iszero-excess-precision.c: New file.
7087 * math/Makefile (tests): Add test-iszero-excess-precision.
7088 (CFLAGS-test-iszero-excess-precision.c): New variable.
7089
7090 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7091
7092 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7093 field, add err field.
7094 (__spawni_child): Report error through err member instead of pipe.
7095 (__spawnix): Likewise.
7096
7097 2016-09-28 Zack Weinberg <zackw@panix.com>
7098
7099 * scripts/check-installed-headers.sh: Generalize treatment of
7100 sys/elf.h to all target architectures.
7101
7102 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7103 deleted typedef ucontext_t.
7104
7105 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7106
7107 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7108 (__INTERNAL_SYSCALL1): Likewise.
7109 (__INTERNAL_SYSCALL2): Likewise.
7110 (__INTERNAL_SYSCALL3): Likewise.
7111 (__INTERNAL_SYSCALL4): Likewise.
7112 (__INTERNAL_SYSCALL5): Likewise.
7113 (__INTERNAL_SYSCALL6): Likewise.
7114 (__INTERNAL_SYSCALL7): Likewise.
7115 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7116 (__INTERNAL_SYSCALL_NARGS): Likewise.
7117 (__INTERNAL_SYSCALL_DISP): Likewise.
7118 (INTERNAL_SYSCALL_CALL): Likewise.
7119 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7120 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7121 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7122 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7123 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7124 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7125 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7126 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7127 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7128 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7129 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7130 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7131 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7132
7133 2016-09-23 Joseph Myers <joseph@codesourcery.com>
7134
7135 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7136 macro.
7137 * math/libm-test.inc (iszero_test_data): New array.
7138 (iszero_test): New function.
7139 (main): Call iszero_test.
7140 * manual/arith.texi (Floating Point Classes): Document iszero.
7141 * manual/libm-err-tab.pl: Update comment on interfaces without
7142 ulps tabulated.
7143
7144 2016-09-23 Zack Weinberg <zackw@panix.com>
7145
7146 * scripts/check-installed-headers.sh: New script.
7147 * Rules: In each directory that defines header files to be installed,
7148 run check-installed-headers.sh on them as a special test.
7149 * Makefile: Likewise for the headers installed at top level.
7150
7151 * include/aliases.h, include/alloca.h, include/argz.h
7152 * include/arpa/nameser.h, include/arpa/nameser_compat.h
7153 * include/elf.h, include/envz.h, include/err.h
7154 * include/execinfo.h, include/fpu_control.h, include/getopt.h
7155 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7156 * include/link.h, include/malloc.h, include/mcheck.h
7157 * include/mntent.h, include/netinet/ether.h
7158 * include/nss.h, include/obstack.h, include/printf.h
7159 * include/pty.h, include/resolv.h, include/rpc/auth.h
7160 * include/rpc/auth_des.h, include/rpc/auth_unix.h
7161 * include/rpc/clnt.h, include/rpc/des_crypt.h
7162 * include/rpc/key_prot.h, include/rpc/netdb.h
7163 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7164 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7165 * include/rpc/rpc_msg.h, include/rpc/svc.h
7166 * include/rpc/svc_auth.h, include/rpc/xdr.h
7167 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7168 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7169 * include/rpcsvc/ypupd.h, include/shadow.h
7170 * include/stdio_ext.h, include/sys/epoll.h
7171 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7172 * include/sys/prctl.h, include/sys/profil.h
7173 * include/sys/statfs.h, include/sys/sysctl.h
7174 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7175 * sysdeps/arm/nacl/include/bits/setjmp.h
7176 * sysdeps/mips/include/sys/asm.h
7177 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7178 * sysdeps/unix/sysv/linux/include/sys/timex.h
7179 * sysdeps/x86/fpu/include/bits/fenv.h:
7180 Add #ifndef _ISOMAC guard around internal declarations.
7181 Add multiple-inclusion guard if not already present.
7182
7183 2016-09-23 Zack Weinberg <zackw@panix.com>
7184
7185 * sysdeps/generic/sys/ucontext.h
7186 * sysdeps/arm/sys/ucontext.h
7187 * sysdeps/i386/sys/ucontext.h
7188 * sysdeps/m68k/sys/ucontext.h
7189 * sysdeps/mips/sys/ucontext.h
7190 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7191 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7192 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7193 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7194 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7195 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7196 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7197 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7198 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7199 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7201 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7202 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7203 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7204 Include both bits/sigcontext.h and bits/sigstack.h.
7205 Fix grammar error in comment, if present.
7206
7207 * bits/sigstack.h
7208 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7209 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7210 * sysdeps/unix/sysv/linux/bits/sigstack.h
7211 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7212 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7213 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7214 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7215 * bits/sigcontext.h
7216 * sysdeps/mach/hurd/i386/bits/sigcontext.h
7217 * sysdeps/unix/sysv/linux/bits/sigcontext.h
7218 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7219 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7220 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
7221 as well as signal.h, if this was not already allowed. Request
7222 definition of size_t if necessary. Minimize semantically-null
7223 differences across files.
7224
7225 2016-09-23 Zack Weinberg <zackw@panix.com>
7226
7227 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7228 Remove all logic conditional on __need macros. Move all the
7229 conditionally defined types to their own headers...
7230 * time/bits/types/clock_t.h: Define clock_t here.
7231 * time/bits/types/clockid_t.h: Define clockid_t here.
7232 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7233 * time/bits/types/struct_timespec.h: Define struct timespec here.
7234 * time/bits/types/struct_timeval.h: Define struct timeval here.
7235 * time/bits/types/struct_tm.h: Define struct tm here.
7236 * time/bits/types/time_t.h: Define time_t here.
7237 * time/bits/types/timer_t.h: Define timer_t here.
7238 * time/Makefile: Install the new headers.
7239
7240 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7241 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7242 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7243 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7244 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7245 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7246 * sysdeps/unix/sysv/linux/bits/resource.h
7247 * sysdeps/unix/sysv/linux/bits/timex.h
7248 * sysdeps/unix/sysv/linux/mips/bits/resource.h
7249 * sysdeps/unix/sysv/linux/net/ppp_defs.h
7250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7251 * sysdeps/unix/sysv/linux/sys/acct.h
7252 * sysdeps/unix/sysv/linux/sys/timerfd.h
7253 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7254 * time/sys/time.h, time/sys/timeb.h
7255 Use the new bits/types headers.
7256
7257 * include/time.h: Remove __need logic.
7258 * include/bits/time.h
7259 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7260 * include/bits/types/time_t.h, include/bits/types/timer_t.h
7261 * include/bits/types/struct_itimerspec.h
7262 * include/bits/types/struct_timespec.h
7263 * include/bits/types/struct_timeval.h
7264 * include/bits/types/struct_tm.h:
7265 New wrapper headers.
7266
7267 2016-09-23 Zack Weinberg <zackw@panix.com>
7268
7269 * sysdeps/mach/hurd/net/if_ppp.h
7270 * sysdeps/unix/sysv/linux/net/if_ppp.h:
7271 Only define struct ifpppstatsreq and struct ifpppcstatsreq
7272 if __USE_MISC is defined, to ensure struct ifreq is declared.
7273
7274 * inet/netinet/ether.h: Condition all function prototypes
7275 on __USE_MISC, to ensure struct ether_addr is declared.
7276
7277 * socket/bits/types/struct_osockaddr.h: New header.
7278 * include/bits/types/struct_osockaddr.h: New wrapper.
7279 * socket/Makefile: Install the new header.
7280 * socket/sys/socket.h, inet/protocols/talkd.h:
7281 Refer to bits/types/struct_osockaddr.h for the definition of
7282 struct osockaddr.
7283
7284 2016-09-23 Zack Weinberg <zackw@panix.com>
7285
7286 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7287 * inet/protocols/routed.h, inet/protocols/talkd.h
7288 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7289 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7290 * sysdeps/generic/netinet/if_ether.h
7291 * sysdeps/generic/netinet/in_systm.h
7292 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7293 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7294 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7295 * sysdeps/mach/hurd/net/if_arp.h
7296 * sysdeps/mach/hurd/net/if_ppp.h
7297 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7298 * sysdeps/unix/sysv/linux/bits/in.h
7299 * sysdeps/unix/sysv/linux/net/ethernet.h
7300 * sysdeps/unix/sysv/linux/net/if_arp.h
7301 * sysdeps/unix/sysv/linux/net/if_ppp.h
7302 * sysdeps/unix/sysv/linux/net/if_shaper.h
7303 * sysdeps/unix/sysv/linux/net/route.h
7304 * sysdeps/unix/sysv/linux/netinet/if_ether.h
7305 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7306 * sysdeps/unix/sysv/linux/netinet/if_tr.h
7307 * sysdeps/unix/sysv/linux/netipx/ipx.h
7308 * sysdeps/unix/sysv/linux/sys/acct.h
7309 * include/arpa/nameser.h, include/resolv.h:
7310 Change all uses of u_char to unsigned char,
7311 u_short and ushort to unsigned short, u_int and uint to unsigned int,
7312 u_long and ulong to unsigned long, u_int8_t to uint8_t,
7313 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7314 and u_int64_t and u_quad_t to uint64_t.
7315
7316 * mach/sys/reboot.h: Remove two casts of integer literals
7317 to the types they already have.
7318
7319 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7320 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7321 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7322 from referring to 'unsigned char' to 'uint8_t' for consistency with
7323 the macro definition below.
7324
7325 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7326 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7327 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7328 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7329 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7330 * sysdeps/unix/sysv/linux/sys/acct.h
7331 * include/arpa/nameser.h, include/resolv.h:
7332 Fix indentation disrupted by mechanical edits.
7333
7334 * inet/protocols/talkd.h, resolv/arpa/nameser.h
7335 * sysdeps/generic/netinet/in_systm.h
7336 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7337 * sysdeps/gnu/netinet/udp.h
7338 * sysdeps/unix/sysv/linux/net/ethernet.h
7339 * sysdeps/unix/sysv/linux/net/if_arp.h
7340 * sysdeps/unix/sysv/linux/net/if_ppp.h
7341 * sysdeps/unix/sysv/linux/net/if_shaper.h
7342 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7343 * sysdeps/unix/sysv/linux/netinet/if_tr.h
7344 * sysdeps/unix/sysv/linux/netipx/ipx.h
7345 * sysdeps/unix/sysv/linux/sys/acct.h
7346 Include stdint.h for uintNN_t definitions.
7347 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7348
7349 2016-09-23 Zack Weinberg <zackw@panix.com>
7350
7351 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7352 * sysdeps/unix/sysv/linux/netrose/rose.h:
7353 Include sys/socket.h and netax25/ax25.h.
7354
7355 * inet/netinet/icmp6.h, inet/netinet/ip6.h
7356 * resolv/arpa/nameser_compat.h:
7357 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7358
7359 * sysdeps/unix/sysv/linux/sys/quota.h:
7360 Use __caddr_t instead of caddr_t.
7361 * sysdeps/unix/sysv/linux/sys/timerfd.h:
7362 Use __clockid_t instead of clockid_t.
7363
7364 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7365
7366 * argp/argp.h: Check whether _LIBC is defined before expanding it.
7367 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7368 expanding it.
7369
7370 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7371 Define __glibc_c99_flexarr_available to 1 when the compiler
7372 supports C99-compatible flexible array members, 0 otherwise.
7373 * sysdeps/unix/sysv/linux/bits/socket.h
7374 * sysdeps/mach/hurd/bits/socket.h
7375 * bits/socket.h: Use __glibc_c99_flexarr_available in
7376 definitions of struct cmsghdr and CMSG_DATA.
7377
7378 2016-09-23 Florian Weimer <fweimer@redhat.com>
7379
7380 * manual/nss.texi (NSS Modules Interface): Adjust function return
7381 type to enum nss_status. Document errnop argument. Clarify
7382 h_errnop semantics. Fix cross-reference formatting.
7383 (NSS Module Function Internals): Mention that *errnop needs to be
7384 set on failure, but not to zero.
7385
7386 2016-09-23 Florian Weimer <fweimer@redhat.com>
7387
7388 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
7389 (get_random_name): New functions.
7390 (check_wrapper_flags_mode): Use linkat to give the new file a name
7391 determined by get_random_name.
7392 (do_test): Add calls to test open64 and openat64.
7393
7394 2016-09-23 Florian Weimer <fweimer@redhat.com>
7395
7396 * test-skeleton.c: Remove #include <stdarg.h>.
7397
7398 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
7399
7400 [BZ #19826]
7401 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
7402 initialization of static TLS entries.
7403 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
7404 * nptl/allocatestack.c (init_one_static_tls): Likewise.
7405
7406 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7407
7408 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
7409 _hurd_malloc_fork_prepare.
7410 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
7411 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
7412 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
7413 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
7414 (_hurd_fork_child_hook): Drop malloc_fork_child.
7415 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
7416 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
7417 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
7418 after locking locks (notably hurd_dtable_lock). Call
7419 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
7420 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
7421 __malloc_fork_unlock_child.
7422 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
7423
7424 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
7425
7426 * soft-fp/extendhftf2.c: New.
7427 * soft-fp/fixhfti.c: Likewise.
7428 * soft-fp/fixunshfti.c: Likewise.
7429 * soft-fp/floattihf.c: Likewise.
7430 * soft-fp/floatuntihf.c: Likewise.
7431 * soft-fp/half.h: Likewise.
7432 * soft-fp/trunctfhf2.c: Likewise.
7433
7434 2016-09-21 Joseph Myers <joseph@codesourcery.com>
7435
7436 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
7437 macro.
7438 * math/libm-test.inc (issubnormal_test_data): New array.
7439 (issubnormal_test): New function.
7440 * manual/arith.texi (Floating Point Classes): Document
7441 issubnormal.
7442 * manual/libm-err-tab.pl: Update comment on interfaces without
7443 ulps tabulated.
7444
7445 * sysdeps/generic/stdint.h: Define
7446 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7447 <bits/libc-header-start.h> instead of including <features.h>.
7448 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
7449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
7450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
7451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
7452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
7453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
7454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
7455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
7456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
7457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
7458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
7459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
7460 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
7461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
7462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
7463 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
7464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
7465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
7466 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
7467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
7468 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
7469 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
7470 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
7471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
7472 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
7473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
7474 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
7475 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
7476 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
7477 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
7478 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
7479 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
7480 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
7481 * manual/arith.texi (Integers): Document these macros for types
7482 specified by width properties.
7483 * manual/lang.texi (Width of Type): Document these macros for
7484 other standard typedefs.
7485 * stdlib/tst-width-stdint.c: New file.
7486 * stdlib/Makefile (tests): Add tst-width-stdint.
7487
7488 2016-09-21 Florian Weimer <fweimer@redhat.com>
7489
7490 [BZ #20016]
7491 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
7492 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
7493 Move ...
7494 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
7495 ... here, as compatibility symbols in a new file.
7496 * resolv/Makefile (libresolv-routines): Add compat-hooks.
7497 * resolv/res_init.c (__res_vinit): Adjust member names.
7498 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
7499 * resolv/resolv.h (res_sendhookact, res_send_qhook)
7500 (res_send_rhook): Remove.
7501 (struct __res_state): Rename qhook, rhook members.
7502
7503 2016-09-21 Florian Weimer <fweimer@redhat.com>
7504
7505 malloc: Use __libc_lock wrappers.
7506 * malloc/arena.c (list_lock, free_list_lock): Define using
7507 __libc_lock_define_initialized.
7508 (arena_lock): Adjust formatting.
7509 * malloc/malloc.c (struct malloc_state): Define mutex using
7510 __libc_lock_define.
7511 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
7512 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
7513 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
7514 (mutex_unlock, mutex_trylock): Remove.
7515 (__pthread_initialize): Remove unused macro.
7516 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
7517 (mutex_unlock, mutex_trylock): Remove.
7518
7519 2016-09-21 Florian Weimer <fweimer@redhat.com>
7520
7521 [BZ #20592]
7522 Remove RR type classification macros.
7523 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
7524 (ns_t_udp_p, ns_t_xfr_p): Remove.
7525
7526 2016-09-21 Florian Weimer <fweimer@redhat.com>
7527
7528 Remove misleading version information.
7529 * resolv/arpa/nameser.h (__NAMESER): Remove.
7530 * resolv/arpa/nameser_compat.h (__BIND): Remove.
7531
7532 2016-09-21 Florian Weimer <fweimer@redhat.com>
7533
7534 Remove the always-defined BIND_4_COMPAT macro.
7535 * resolv/arpa/nameser.h: Unconditionally include
7536 <arpa/nameser_compat.h>.
7537 (BIND_4_COMPAT): Remove.
7538 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
7539
7540 2016-09-21 Florian Weimer <fweimer@redhat.com>
7541
7542 [BZ #20591]
7543 Remove obsolete DNSSEC support.
7544 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
7545 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
7546 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
7547 (ns_verify_tcp, ns_verify_tcp_init): Remove.
7548 (ns_cert_types): Add comment.
7549 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
7550 separately.
7551 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
7552 (dst_s_dns_key_id): Remove.
7553 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
7554 variables.
7555
7556 2016-09-21 Florian Weimer <fweimer@redhat.com>
7557
7558 [BZ #20524]
7559 * manual/string.texi (String/Array Comparison): Clarify the
7560 strverscmp behavior.
7561
7562 2016-09-21 Florian Weimer <fweimer@redhat.com>
7563
7564 * test-skeleton.c (xasprintf): Add function.
7565 * io/tst-open-tmpfile.c: New test.
7566 * io/Makefile (tests): Add it.
7567
7568 2016-09-21 Florian Weimer <fweimer@redhat.com>
7569
7570 Avoid running $(CXX) during build to obtain header file paths.
7571 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
7572 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
7573 * Makerules (cstdlib, cmath): Remove variables. Use
7574 $(c++-cstdlib-header), $(c++-cmath-header) instead.
7575 * configure: Regenerate.
7576
7577 2016-09-21 Florian Weimer <fweimer@redhat.com>
7578
7579 * Makeconfig (all-object-suffixes): Include .op only if
7580 $(build-profile).
7581
7582 2016-09-21 Florian Weimer <fweimer@redhat.com>
7583
7584 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
7585 conditionals. Do not define PATH_MAX.
7586
7587 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7588
7589 * posix/Makefile (tests): Add tst-spawn3.
7590 * posix/tst-spawn3.c: New file.
7591 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
7592 if it is already opened for open action.
7593
7594 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
7595 all signals when executing the clone vfork child.
7596 (SIGALL_SET): Remove macro.
7597
7598 * nptl/Makefile (tests): Add tst-exec5.
7599 * nptl/tst-exec5.c: New file.
7600 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
7601 asynchronous cancellation.
7602
7603 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7604
7605 * hurd/exc2signal.c: #include <hurd/signal.h>
7606 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
7607 'sigcode', 'error' parameters with 'detail' parameter. Fix code
7608 accordingly.
7609 * mach/mach_error.c (mach_error): Fix old-style function definition.
7610 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
7611
7612 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7613
7614 * math/Makefile (libm-calls): Remove s_nanF.
7615 (gen-libm-calls): Add s_nanF.
7616
7617 * math/s_nan.c: Refactor into ...
7618 * math/s_nan_template.c: New file.
7619
7620 * math/s_nanf.c: Removed.
7621 * math/s_nanl.c: Removed.
7622 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
7623 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
7624
7625 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7626 (LDOUBLE_nanl_libm_version): New macro.
7627
7628 * sysdeps/generic/math-type-macros-double.h:
7629 (M_STRTO_NAN): New macro.
7630 * sysdeps/generic/math-type-macros-float.h: Likewise.
7631 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7632
7633 * sysdeps/generic/math-type-macros.h: Document
7634 M_STRTO_NAN.
7635
7636 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7637
7638 * math/s_nanf.c: Remove __nanf undef.
7639 * math/s_nan.c: Remove __nan undef.
7640 * math/s_nanl.c: Remove __nanl undef.
7641
7642 * sysdeps/generic/math_private.h (__nan): Remove macro
7643 override.
7644 (__nanf): Likewise.
7645 (__nanl): Likewise.
7646
7647 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7648
7649 * math/Makefile (gen-all-calls): New variable.
7650 (generated): Replace gen-libm-calls with gen-all-calls.
7651 (gen-libm-templates.stmp): Likewise. Also, ensure
7652 the output directory exists or is created and add
7653 dependency on the Makefile.
7654 (calls): Move s_ldexpF into gen-calls.
7655 (gen-calls): New variable.
7656
7657 * math/s_ldexpf.c: Removed.
7658 * math/s_ldexpl.c: Removed.
7659 * math/s_ldexp.c: Refactored into ...
7660 * math/s_ldexp_template.c: New file.
7661
7662 * sysdeps/generic/math-type-macros-double.h: Remove
7663 redundant fall-through definition of declare_mgen_alias.
7664 (declare_mgen_alias_2): New macro.
7665
7666 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
7667 New macro for function aliased to two exported symbols.
7668
7669 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
7670 new template file.
7671 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7672
7673 2016-09-20 Florian Weimer <fweimer@redhat.com>
7674
7675 * Makeconfig (all-object-suffixes): Remove .og.
7676 * Makerules (elide-routines.og): Remove.
7677 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
7678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
7679 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
7680
7681 2016-09-20 Florian Weimer <fweimer@redhat.com>
7682
7683 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
7684 .os objects.
7685
7686 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7687
7688 [BZ #20615]
7689 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
7690 fpu directory by non-fpu.
7691 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
7692 on non-fpu directory from a fpu directory.
7693
7694 2016-09-19 Joseph Myers <joseph@codesourcery.com>
7695
7696 * include/limits.h: Define
7697 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7698 <bits/libc-header-start.h> instead of including <features.h>.
7699 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
7700 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
7701 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
7702 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
7703 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
7704 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
7705 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
7706 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
7707 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7708 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
7709 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
7710 * manual/lang.texi (Width of Type): Document these macros.
7711 * stdlib/tst-width.c: New file.
7712 * stdlib/Makefile (tests): Add tst-width.
7713
7714 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7715
7716 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
7717 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
7718
7719 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7720
7721 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
7722 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7723 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7724
7725 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7726
7727 [BZ #18243]
7728 * rt/Makefile (test): Add tst-shm-cancel.
7729 * rt/tst-shm-cancel.c: New file.
7730 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
7731
7732 [BZ #18243]
7733 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
7734 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
7735 definition.
7736 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
7737 uncontended case.
7738 * nptl/sem_wait.c (__new_sem_wait): Likewise.
7739 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
7740 (tf): Fix check for uncontended case.
7741 (do_test): Likewise.
7742 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
7743 (tf): Fix check for uncontended case.
7744 (do_test): Likewise.
7745 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
7746 (tf): Fix check for uncontended case.
7747 (do_test): Likewise.
7748 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
7749 (tf): Fix check for uncontended case.
7750 (do_test): Likewise.
7751
7752 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
7753 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
7754
7755 [BZ #15765]
7756 * nptl/Makefile (tests): Add tst-sem16.
7757 * nptl/tst-sem16.c: New file.
7758 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
7759
7760 * nptl/sem_open.c (sem_open): Init pad value to 0.
7761 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7762 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7763
7764 2016-09-15 Florian Weimer <fweimer@redhat.com>
7765
7766 [BZ #20611]
7767 * inet/Makefile (routines): Add inet6_scopeid_pton.
7768 (tests): Add tst-inet6_scopeid_pton.
7769 * inet/inet6_scopeid_pton.c: New file.
7770 * inet/net-internal.h: Likewise.
7771 * inet/tst-inet6_scopeid_pton.c: New test.
7772 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
7773 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
7774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7775
7776 2016-09-14 Florian Weimer <fweimer@redhat.com>
7777
7778 Remove support for compiling wrappers with PTW.
7779 * sysdeps/nptl/Makeconfig: Drop ptw- support.
7780 * nptl/Makefile (pthread-compat-wrappers): Define.
7781 (libpthread-routines): Use pthread-compat-wrappers.
7782 * sysdeps/unix/sysv/linux/alpha/Makefile
7783 (libpthread-routines, libpthread-shared-only-routines): Remove
7784 ptw- prefix.
7785 * sysdeps/s390/nptl/Makefile
7786 (libpthread-routines, libpthread-shared-only-routines): Likewise.
7787 * sysdeps/ia64/nptl/Makefile
7788 (libpthread-routines, libpthread-shared-only-routines): Likewise.
7789 * sysdeps/nacl/Makefile (libpthread-routines): Use
7790 pthread-compat-wrappers to filter the routines list instead of the
7791 ptw- prefix.
7792
7793 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7794
7795 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
7796 with L() and remove explicit suffix, convert real literals
7797 which can be equivalentally substituted with integers, and
7798 transform -L(x) to L(-x).
7799
7800 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7848 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7850
7851 2016-09-13 Florian Weimer <fweimer@redhat.com>
7852
7853 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
7854
7855 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
7856
7857 * malloc/Makefile (tests): Remove individual static test names
7858 and just add all of tests-static.
7859
7860 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
7861
7862 2016-09-07 Joseph Myers <joseph@codesourcery.com>
7863
7864 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
7865 file.
7866
7867 * sysdeps/sparc/fpu/fegetmode.c: New file.
7868 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
7869
7870 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
7871 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
7872
7873 * sysdeps/s390/fpu/fegetmode.c: New file.
7874 * sysdeps/s390/fpu/fesetmode.c: Likewise.
7875
7876 * sysdeps/powerpc/fpu/fegetmode.c: New file.
7877 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
7878 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
7879 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
7880 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
7881 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
7882
7883 * sysdeps/mips/fpu/fegetmode.c: New file.
7884 * sysdeps/mips/fpu/fesetmode.c: Likewise.
7885
7886 * sysdeps/m68k/fpu/fegetmode.c: New file.
7887 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
7888
7889 * sysdeps/ia64/fpu/fegetmode.c: New file.
7890 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
7891
7892 * sysdeps/hppa/fpu/fegetmode.c: New file.
7893 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
7894
7895 * sysdeps/arm/fegetmode.c: New file.
7896 * sysdeps/arm/fesetmode.c: Likewise.
7897
7898 * sysdeps/alpha/fpu/fegetmode.c: New file.
7899 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
7900
7901 * sysdeps/aarch64/fpu/fegetmode.c: New file.
7902 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
7903
7904 * math/fegetmode.c: New file.
7905 * math/fesetmode.c: Likewise.
7906 * sysdeps/i386/fpu/fegetmode.c: Likewise.
7907 * sysdeps/i386/fpu/fesetmode.c: Likewise.
7908 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
7909 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
7910 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
7911 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
7912 declaration.
7913 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
7914 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
7915 typedef.
7916 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7917 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7918 (femode_t): New typedef.
7919 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7920 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7921 (femode_t): New typedef.
7922 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7923 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7924 (femode_t): New typedef.
7925 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7926 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7927 (femode_t): New typedef.
7928 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7929 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7930 (femode_t): New typedef.
7931 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7932 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7933 (femode_t): New typedef.
7934 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7935 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7936 (femode_t): New typedef.
7937 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7938 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7939 (femode_t): New typedef.
7940 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7941 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7942 (femode_t): New typedef.
7943 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7944 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7945 (femode_t): New typedef.
7946 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
7947 declaration.
7948 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7949 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7950 (femode_t): New typedef.
7951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7952 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7953 (femode_t): New typedef.
7954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7955 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7956 (femode_t): New typedef.
7957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7958 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7959 (femode_t): New typedef.
7960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7961 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7962 (femode_t): New typedef.
7963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7964 * manual/arith.texi (FE_DFL_MODE): Document macro.
7965 (fegetmode): Document function.
7966 (fesetmode): Likewise.
7967 * math/Versions (fegetmode): New libm symbol at version
7968 GLIBC_2.25.
7969 (fesetmode): Likewise.
7970 * math/Makefile (libm-support): Add fegetmode and fesetmode.
7971 (tests): Add test-femode and test-femode-traps.
7972 * math/test-femode-traps.c: New file.
7973 * math/test-femode.c: Likewise.
7974 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
7975 alias for __fe_dfl_env.
7976 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
7977 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
7978 (__fe_dfl_mode): Likewise.
7979 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
7980 version GLIBC_2.25.
7981 * sysdeps/nacl/libm.abilist: Update.
7982 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7983 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7984 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7985 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7986 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7987 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7988 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7989 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7990 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7991 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7992 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7993 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7995 Likewise.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7997 Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7999 Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8001 Likewise.
8002 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8003 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8004 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8008 Likewise.
8009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8010 Likewise.
8011 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8014
8015 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
8016
8017 [BZ #20495]
8018 [BZ #20508]
8019 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8020 processors, set Use_dl_runtime_resolve_slow and set
8021 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8022 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8023 New.
8024 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8025 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8026 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8027 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8028 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8029 if Use_dl_runtime_resolve_opt is set. Use
8030 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8031 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8032 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
8033 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8034 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8035 New.
8036 (_dl_runtime_resolve_opt): Likewise.
8037 (_dl_runtime_profile): Define only if _dl_runtime_profile is
8038 defined.
8039
8040 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8041
8042 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8043 __libc_memalign with "+ RELA R_390_GLOB_DAT".
8044
8045 2016-09-06 Florian Weimer <fweimer@redhat.com>
8046
8047 Convert malloc to __libc_lock. Automated part, using this Perl
8048 s/// command:
8049 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8050 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8051 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8052 conversion.
8053
8054 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
8055
8056 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8057 (linknamespace-symlists-tests): Likewise.
8058 (linknamespace-header-tests): Likewise.
8059
8060 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
8061
8062 [BZ #19810]
8063 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8064 * elf/tst-noload.c: New test case.
8065 * elf/Makefile (tests): Add tst-noload.
8066
8067 2016-09-02 Roland McGrath <roland@hack.frob.com>
8068
8069 * sysdeps/nacl/dup.c: Add libc_hidden_def.
8070
8071 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8072 not any more.
8073
8074 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8075
8076 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8077
8078 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8079 (do_cos_slow): Likewise.
8080 (do_sin): Likewise.
8081 (do_sin_slow): Likewise.
8082 (slow): Likewise.
8083 (slow1): Likewise.
8084 (slow2): Likewise.
8085 (sloww): Likewise.
8086 (sloww1): Likewise.
8087 (sloww2): Likewise.
8088 (bsloww): Likewise.
8089 (bsloww1): Likewise.
8090 (bsloww2): Likewise.
8091 (cslow2): Likewise.
8092
8093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8094
8095 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8096 arguments. Consolidate input partitioning from callers here.
8097 (do_cos_slow): Likewise.
8098 (do_sin): Likewise.
8099 (do_sin_slow): Likewise.
8100 (do_sincos_1): Remove the no longer necessary input partitioning.
8101 (do_sincos_2): Likewise.
8102 (__sin): Likewise.
8103 (__cos): Likewise.
8104 (slow1): Likewise.
8105 (slow2): Likewise.
8106 (sloww1): Likewise.
8107 (sloww2): Likewise.
8108 (bsloww1): Likewise.
8109 (bsloww2): Likewise.
8110 (cslow2): Likewise.
8111
8112 2016-09-02 Florian Weimer <fweimer@redhat.com>
8113
8114 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8115 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
8116 outside of allocated array.
8117
8118 2016-09-02 Florian Weimer <fweimer@redhat.com>
8119
8120 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8121 instead of MB_CUR_MAX to avoid variable-length array.
8122
8123 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8124
8125 * math/Makefile (libm-calls): Remove k_rem_pio2F.
8126 (type-double-routines): Add k_rem_pio2.
8127 (type-float-routines): Add k_rem_pio2f.
8128
8129 * sysdeps/generic/math_private.h:
8130 (__kernel_rem_pio2l): Removed.
8131
8132 * math/k_rem_pio2l.c: Removed.
8133 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8134 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8135 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8136 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8137
8138 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8139
8140 * math/Makefile (gen-libm-calls): Add s_fmin
8141 (libm-calls): Remove above.
8142
8143 * math/s_fmin.c: Refactor into ...
8144 * math/s_fmin_template.c: New file.
8145
8146 * math/s_fminf.c: Removed.
8147 * math/s_fminl.c: Removed.
8148 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8149 (LDOUBLE_fmin_libm_version): New macro.
8150
8151 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8152 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8153
8154 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8155
8156 * math/Makefile: (gen-libm-calls): Add s_fmax.
8157 (libm-calls): Remove above.
8158
8159 * math/s_fmax.c: Refactor into ...
8160 * math/s_fmax_template.c: New file.
8161 * math/s_fmaxf.c: Removed.
8162 * math/s_fmaxl.c: Removed.
8163
8164 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8165 (LDOUBLE_fmaxl_libm_version): New macro.
8166
8167 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8168 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8169
8170 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8171 s_fmin.c to pick the aarch64 version of the file.
8172 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8173 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8174
8175 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8176
8177 * math/Makefile: (gen-libm-calls): Add s_nextdown.
8178 (libm-calls): Remove above.
8179
8180 * math/s_nextdown.c: Refactor into ...
8181 * math/s_nextdown_template.c: New file.
8182 * math/s_nextdownf.c: Removed.
8183 * math/s_nextdownl.c: Removed.
8184
8185 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8186
8187 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8188
8189 * math/Makefile (gen-libm-calls): Add s_fdim.
8190 (libm-calls): Move to above.
8191
8192 * math/s_fdim.c: Renamed and refactored into to ...
8193 * math/s_fdim_template.c: New file.
8194 * math/s_fdiml.c: Removed.
8195 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8196 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8197
8198 * sysdeps/generic/math-type-macros-double.h:
8199 (declare_mgen_alias): Don't declare if already declared.
8200 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8201 Likewise.
8202
8203 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8204 (declare_mgen_alias): Don't declare if already declared.
8205 (M_LIBM_NEED_COMPAT): Likewise.
8206 (declare_mgen_libm_compat): Likewise.
8207 (LDOUBLE_fdiml_libm_version): New macro.
8208
8209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8210 Include math/s_fdim.c now that ldbl-opt version is not needed.
8211 (declare_mgen_alias): New macro to disable aliasing.
8212
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8214 (declare_mgen_alias): Likewise.
8215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8216 (declare_mgen_alias): Likewise.
8217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8218 (declare_mgen_alias): Likewise.
8219 (M_LIBM_NEED_COMPAT): Likewise.
8220
8221 2016-09-01 Florian Weimer <fweimer@redhat.com>
8222
8223 [BZ #20525]
8224 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8225 Include <linux/quota.h>.
8226 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8227 and btodb.
8228 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8229 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8230 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8231 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8232 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8233 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8234 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8235 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8236 types.
8237 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8238 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8239
8240 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8241
8242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8243 (gammal_positive): Fix spacing.
8244 (__ieee754_gammal_r): Likewise.
8245
8246 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8247
8248 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8249 (_Float128): Define as long double, always.
8250 (L): Apply long double type suffix, always.
8251
8252 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8253 _Float128, excepting comments.
8254
8255 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8321 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8323
8324 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8325 _Float128, and include math_private.h.
8326 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8327
8328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8329 long double semantics.
8330 (_Float128): Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8335
8336 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8337
8338 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8339 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8340 * sysdeps/s390/configure: Regenerated.
8341 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8342 instruction for raising over-/underflow if z196 zarch is supported
8343 by default.
8344 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8345
8346 2016-08-30 Svante Signell <svante.signell@gmail.com>
8347
8348 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8349 it point to a dumb buffer for RPC to fill it.
8350
8351 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
8352
8353 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8354 instead of if/else.
8355 (do_sin_slow): Likewise.
8356 (do_sincos_1): Use fabs instead of if/else.
8357 (do_sincos_2): Likewise.
8358 (__sin): Likewise.
8359 (__cos): Likewise.
8360 (slow2): Likewise.
8361 (sloww): Likewise.
8362 (sloww1): Likewise. Drop argument M.
8363 (sloww2): Use fabs instead of if/else.
8364 (bsloww): Likewise.
8365 (bsloww1): Likewise.
8366 (bsloww2): Likewise.
8367
8368 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8369 fall through comment.
8370 (do_sincos_1): Likewise.
8371
8372 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8373 Consolidate switch cases 0 and 2.
8374
8375 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8376
8377 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
8378 (libm-calls): Remove the above.
8379
8380 * math/s_cexp_template.c: Update using type-generic macros.
8381 * math/s_clog10_template.c: Likewise.
8382 * math/s_cpow_template.c: Likewise.
8383 * math/s_clog_template.c: Likewise.
8384 * math/s_cproj_template.c: Likewise.
8385 * math/s_csqrt_template.c: Likewise.
8386
8387 * math/s_cexp.c: Removed.
8388 * math/s_cexpf.c: Removed.
8389 * math/s_cexpl.c: Removed.
8390 * math/s_clog10.c: Removed.
8391 * math/s_clog10f.c: Removed.
8392 * math/s_clog10l.c: Removed.
8393 * math/s_cpow.c: Removed.
8394 * math/s_cpowf.c: Removed.
8395 * math/s_cpowl.c: Removed.
8396 * math/s_clog.c: Removed.
8397 * math/s_clogf.c: Removed.
8398 * math/s_clogl.c: Removed.
8399 * math/s_cproj.c: Removed.
8400 * math/s_cprojf.c: Removed.
8401 * math/s_cprojl.c: Removed.
8402 * math/s_csqrt.c: Removed.
8403 * math/s_csqrtf.c: Removed.
8404 * math/s_csqrtl.c: Removed.
8405
8406 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
8407 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
8408 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
8409 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
8410 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
8411 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
8412
8413 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
8414 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
8415 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
8416 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
8417 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
8418 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
8419 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
8420 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
8421 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
8422 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
8423 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
8424
8425 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
8426 version.
8427
8428 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
8429 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
8430 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
8431 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
8432
8433 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8434
8435 * s_cexp_template.c: Copy of s_cexp.c.
8436 * s_clog_template.c: Copy of s_clog.c.
8437 * s_clog10_template.c: Copy of s_clog10.c.
8438 * s_cpow_template.c: Copy of s_cpow.c.
8439 * s_cproj_template.c: Copy of s_cproj.c.
8440 * s_csqrt_template.c: Copy of s_csqrt.c.
8441
8442 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8443
8444 [BZ #20517]
8445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8446 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
8447 exported.
8448
8449 2016-08-29 Joseph Myers <joseph@codesourcery.com>
8450
8451 * math/fetestexceptflag.c: New file.
8452 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
8453 Stefan Liebler.
8454 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8455 (fetestexceptflag): New function declaration.
8456 * manual/arith.texi (fetestexceptflag): Document function.
8457 * math/Versions (fetestexceptflag): New libm symbol at version
8458 GLIBC_2.25.
8459 * math/Makefile (libm-support): Add fetestexceptflag.
8460 (tests): Add test-fetestexceptflag.
8461 * math/test-fetestexceptflag.c: New file.
8462 * sysdeps/nacl/libm.abilist: Update.
8463 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8464 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8465 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8466 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8467 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8468 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8469 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8470 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8471 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8472 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8473 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8474 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8476 Likewise.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8478 Likewise.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8480 Likewise.
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8482 Likewise.
8483 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8484 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8485 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8486 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8487 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8489 Likewise.
8490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8491 Likewise.
8492 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8493 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8495
8496 2016-08-26 Florian Weimer <fweimer@redhat.com>
8497
8498 [BZ #20432]
8499 Avoid strong references to malloc-internal symbols when linking
8500 statically, to support statically interposed mallocs.
8501 * include/libc-symbols.h (call_function_static_weak): New macro.
8502 * malloc/Makefile (tests): Add tst-interpose-nothread,
8503 tst-interpose-thread, tst-interpose-static-nothread,
8504 tst-interpose-static-thread.
8505 (tests-static): Add tst-interpose-static-nothread,
8506 tst-interpose-static-thread.
8507 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
8508 tst-interpose-aux-thread.o.
8509 (test-extras): Add tst-interpose-aux-nothread,
8510 tst-interpose-aux-thread.
8511 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
8512 tst-interpose-aux-nothread.o.
8513 (tst-interpose-thread, tst-interpose-static-thread): Link with
8514 tst-interpose-aux-thread.o and libthread.
8515 * malloc/tst-interpose-aux-nothread.c: New file.
8516 * malloc/tst-interpose-aux-thread.c: Likewise.
8517 * malloc/tst-interpose-aux.c: Likewise.
8518 * malloc/tst-interpose-aux.h: Likewise.
8519 * malloc/tst-interpose-nothread.c: Likewise.
8520 * malloc/tst-interpose-skeleton.c: Likewise.
8521 * malloc/tst-interpose-static-nothread.c: Likewise.
8522 * malloc/tst-interpose-static-thread.c: Likewise.
8523 * malloc/tst-interpose-thread.c: Likewise.
8524 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
8525 * sysdeps/mach/hurd/fork.c (__fork): Only call
8526 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8527 __malloc_fork_unlock_child if defined.
8528 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8529
8530 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8531
8532 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
8533 timespec C99 designated initialization.
8534
8535 2016-08-26 Florian Weimer <fweimer@redhat.com>
8536
8537 [BZ #19946]
8538 Avoid expected SIGALRM signals.
8539 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
8540 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
8541 (xpthread_create, xpthread_detach, xpthread_join)
8542 (delayed_exit_thread, delayed_exit): New functions.
8543 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
8544 (tf): Use xpthread_cond_wait.
8545 (do_test): Likewise. Replace alarm with delayed_exit.
8546 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8547 (do_test): Call delayed_exit. Report failure.
8548 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8549 (do_test): Call delayed_exit.
8550 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8551 (do_test): Call delayed_exit. Use xpthread_join. Report error.
8552 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8553 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
8554 error.
8555 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8556 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
8557 error.
8558 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
8559 (do_test): Call delayed_exit.
8560 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
8561 (do_test): Call delayed_exit.
8562 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
8563 (do_test): Call delayed_exit instead of alarm. Use
8564 xpthread_mutex_lock.
8565 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
8566 (do_test): Call delayed_exit instead of alarm. Use
8567 xpthread_mutex_lock.
8568 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
8569 (do_test): Call delayed_exit instead of alarm.
8570 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
8571 (do_test): Call delayed_exit instead of alarm. Use
8572 xpthread_spin_lock.
8573 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
8574 (do_test): Call delayed_exit instead of alarm. Use
8575 xpthread_join.
8576
8577 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
8580 adjust CFA when allocating register save area on re-aligned
8581 stack.
8582
8583 2016-08-26 Florian Weimer <fweimer@redhat.com>
8584
8585 * string/tst-cmp.c: New test.
8586 * string/Makefile (tests): Add it.
8587
8588 2016-08-25 Mark Wielaard <mark@klomp.org>
8589
8590 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
8591 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
8592 (check_tree_recurse): Use newly defined accessors.
8593 (check_tree): Likewise.
8594 (maybe_split_for_insert): Likewise.
8595 (__tfind): Likewise.
8596 (__tdelete): Likewise.
8597 (trecurse): Likewise.
8598 (tdestroy_recurse): Likewise.
8599 (__tsearch): Likewise. And add asserts for malloc alignment.
8600 (__twalk): Cast root to node in case CHECK_TREE is defined.
8601
8602 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
8603
8604 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
8605
8606 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8607
8608 * math/Makefile (libm-gen-calls): Add
8609 catan, catanh, ctan, ctanh.
8610 (libm-calls): Remove the above.
8611
8612 * math/s_catan_template.c: Update using type-generic macros.
8613 * math/s_catanh_template.c: Likewise.
8614 * math/s_ctan_template.c: Likewise.
8615 * math/s_ctanh_template.c: Likewise.
8616
8617 * math/s_catanf.c: Removed.
8618 * math/s_catan.c: Removed.
8619 * math/s_catanl.c: Removed.
8620 * math/s_catanhf.c: Removed.
8621 * math/s_catanh.c: Removed.
8622 * math/s_catanhl.c: Removed.
8623 * math/s_ctanf.c: Removed.
8624 * math/s_ctan.c: Removed.
8625 * math/s_ctanl.c: Removed.
8626 * math/s_ctanhf.c: Removed.
8627 * math/s_ctanh.c: Removed.
8628 * math/s_ctanhl.c: Removed.
8629
8630 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
8631 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
8632 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
8633 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
8634 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
8635 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
8636
8637 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
8638 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
8639 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
8640 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
8641
8642 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8643
8644 * s_catan_template.c: Copy of s_catan.c.
8645 * s_catanh_template.c: Copy of s_catanh.c.
8646 * s_ctan_template.c: Copy of s_ctan.c.
8647 * s_ctanh_template.c: Copy of s_ctanh.c.
8648
8649 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8650
8651 * math/Makefile (gen-libm-calls): Move
8652 casin, casinh, csin, csinh here.
8653 (libm-calls): Remove the above.
8654
8655 * math/s_casin_template.c: Update using type-generic macros.
8656 * math/s_casinh_template.c: Likewise.
8657 * math/s_csin_template.c: Likewise.
8658 * math/s_csinh_template.c: Likewise.
8659 * math/k_casinh_template.c: Likewise.
8660
8661 * math/s_casinf.c: Removed.
8662 * math/s_casin.c: Removed.
8663 * math/s_casinl.c: Removed.
8664 * math/s_casinh.c: Removed.
8665 * math/s_casinhf.c: Removed.
8666 * math/s_casinhl.c: Removed.
8667 * math/s_csin.c: Removed.
8668 * math/s_csinf.c: Removed.
8669 * math/s_csinl.c: Removed.
8670 * math/s_csinh.c: Removed.
8671 * math/s_csinhf.c: Removed.
8672 * math/s_csinhl.c: Removed.
8673 * math/k_casinh.c: Removed.
8674 * math/k_casinhf.c: Removed.
8675 * math/k_casinhl.c: Removed.
8676
8677 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
8678 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
8679 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
8680 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
8681
8682 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
8683 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
8684 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
8685 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
8686 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
8687 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
8688 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
8689 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
8690
8691 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
8692 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
8693 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
8694 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
8695
8696 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
8697 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
8698 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
8699 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
8700
8701 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8702
8703 * s_casin_template.c: Copy of s_casin.c.
8704 * s_casinh_template.c: Copy of s_casinh.c.
8705 * s_csin_template.c: Copy of s_csin.c.
8706 * s_csinh_template.c: Copy of s_csinh.c.
8707 * k_casinh_template.c: Copy of k_casinh.c.
8708
8709 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
8710
8711 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
8712
8713 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8714
8715 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
8716 (mul_split) Remove, rename as mul_splitl, remove
8717 redundant float.h include, and include via mul_splitl.h
8718
8719 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8724
8725 * math/mul_splitl.h: New file.
8726
8727 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
8728 Move into mul_split.h, and remove redundant float.h include.
8729
8730 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
8734
8735 * math/mul_split.h: New file.
8736
8737 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8738
8739 * math/Makefile (libm-gen-calls): Move
8740 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
8741 (libm-calls): Remove above.
8742
8743 * math/s_cacos_template.c: Update using type-generic macros.
8744 * math/s_cacosh_template.c: Likewise.
8745 * math/s_ccos_template.c: Likewise.
8746 * math/s_ccosh_template.c: Likewise.
8747
8748 * math/s_cacosf.c: Removed.
8749 * math/s_cacos.c: Removed.
8750 * math/s_cacosl.c: Removed.
8751 * math/s_cacoshf.c: Removed.
8752 * math/s_cacosh.c: Removed.
8753 * math/s_cacoshl.c: Removed.
8754 * math/s_ccosf.c: Removed.
8755 * math/s_ccos.c: Removed.
8756 * math/s_ccosl.c: Removed.
8757 * math/s_ccoshf.c: Removed.
8758 * math/s_ccosh.c: Removed.
8759 * math/s_ccoshl.c: Removed.
8760
8761 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
8762 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
8763 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
8764 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
8765 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
8766 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
8767
8768 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
8769 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
8770 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
8771 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
8772
8773 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
8774 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
8775 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
8776 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
8777
8778 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8779
8780 * s_cacos_template.c: Copy of s_cacos.c.
8781 * s_cacosh_template.c: Copy of s_cacosh.c.
8782 * s_ccos_template.c: Copy of s_ccos.c.
8783 * s_ccosh_template.c: Copy of s_ccosh.c.
8784
8785 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8786
8787 * stdlib/tst-strtod-round-skeleton.c:
8788 Refactored from tst-strtod-round.c.
8789
8790 (L_): New macro to apply literal modifier.
8791 (FNPFX): New macro to select str or wcs prefix.
8792 (CHAR): New macro to choose wchar_t or char.
8793 (STRM): New macro to choose printf for tested character type.
8794
8795 (STRTO): New macro to choose appropriate string -> real function.
8796 (FNPFXS): Stringitized version of FNPFX.
8797 (STR): Support for above macro.
8798 (STRX): Likewise.
8799
8800 (TEST): Update with above macros.
8801 (test): Likewise.
8802 (GEN_ONE_TEST): Likewise.
8803 (test_in_one_mode): Likewise.
8804
8805 * stdlib/tst-strtod-round.c: New file.
8806 * wcsmbs/tst-wcstod-round.c: New file.
8807
8808 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
8809 (tst-wcstod-round): Add libm depencency for fesetround.
8810
8811 2016-08-19 Zack Weinberg <zackw@panix.com>
8812
8813 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
8814
8815 2016-08-18 Torvald Riegel <triegel@redhat.com>
8816
8817 [BZ #20477]
8818 * resolv/res_hconf.c (do_init): Use atomic access.
8819 * resolv/res_hconf.h: Add comments.
8820 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
8821 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
8822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8823
8824 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
8825
8826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8827 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
8828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8829 Likewise.
8830
8831 2016-08-18 Florian Weimer <fweimer@redhat.com>
8832
8833 [BZ #16907]
8834 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
8835 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
8836 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
8837 (__attribute__): Remove definition.
8838
8839 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8840
8841 * sysdeps/ieee754/ldbl-128/e_asinl.c:
8842 Remove unused sqrtl declaration.
8843
8844 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8845
8846 * math/Makefile: (gen-libm-templates.stmp): New rule.
8847 (libm-calls): Move carg conj cimag and cabs into ...
8848 (gen-libm-calls): New variable.
8849 (generated): Inform Make objects from gen-libm-calls
8850 may be generated.
8851
8852 * sysdeps/generic/math-type-macros.h: New file.
8853 * sysdeps/generic/math-type-macros-float.h: Likewise.
8854 * sysdeps/generic/math-type-macros-double.h: Likewise.
8855 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8856 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
8857 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
8858
8859 * math/cabs.c: Refactor into
8860 * math/cabs_template.c: new file.
8861 * math/cabsf.c: Removed.
8862 * math/cabsl.c: Removed.
8863 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
8864 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
8865
8866 * math/carg.c: Refactor into
8867 * math/carg_template.c: new file.
8868 * math/cargf.c: Removed.
8869 * math/cargl.c: Removed.
8870 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
8871 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
8872
8873 * math/conj.c: Refactor into
8874 * math/conj_template.c: new file.
8875 * math/conjf.c: Removed.
8876 * math/conjl.c: Removed.
8877 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
8878 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
8879
8880 * math/cimag.c: Refactor into
8881 * math/cimag_template.c: new file.
8882 * math/cimagf.c: Removed.
8883 * math/cimagl.c: Removed.
8884 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8885 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8886
8887 * math/cimag.c: Refactor into
8888 * math/cimag_template.c: new file.
8889 * math/cimagf.c: Removed.
8890 * math/cimagl.c: Removed.
8891 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8892 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8893
8894 2016-08-17 Florian Weimer <fweimer@redhat.com>
8895
8896 Reduce time to expected nptl/tst-once5 failure.
8897 * nptl/tst-once5.cc (TIMEOUT): Define.
8898
8899 2016-08-17 Florian Weimer <fweimer@redhat.com>
8900
8901 [BZ #20452]
8902 Avoid additional copies of objects in libc.a in static libraries.
8903 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
8904 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
8905 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
8906 rt-sysdep.
8907 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
8908 Add nptl-sysdep.
8909 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
8910 Add ptw-sysdep.
8911 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
8912 rt-sysdep.
8913 * sysdeps/unix/sysv/linux/alpha/Makefile
8914 (libpthread-shared-only-routines): Add ptw-sysdep,
8915 ptw-sigprocmask, ptw-rt_sigaction.
8916 * sysdeps/unix/sysv/linux/ia64/Makefile
8917 (librt-shared-only-routines): Add rt-sysdep.
8918 * sysdeps/unix/sysv/linux/i386/Makefile
8919 (libpthread-shared-only-routines): Add libc-do-syscall.
8920 * sysdeps/unix/sysv/linux/microblaze/Makefile
8921 (libpthread-shared-only-routines): Add sysdep.
8922 * sysdeps/unix/sysv/linux/powerpc/Makefile
8923 (librt-shared-only-routines): Add rt-sysdep.
8924 (libpthread-shared-only-routines): Add sysdep.
8925 * sysdeps/unix/sysv/linux/s390/Makefile
8926 (librt-shared-only-routines): Add rt-sysdep.
8927 * sysdeps/unix/sysv/linux/sparc/Makefile
8928 (librt-shared-only-routines): Add rt-sysdep.
8929 (libpthread-shared-only-routines): Add sysdep.
8930 * sysdeps/unix/sysv/linux/tile/Makefile
8931 (libpthread-shared-only-routines): Likewise.
8932
8933 2016-08-16 Joseph Myers <joseph@codesourcery.com>
8934
8935 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
8936 Mask implicit bit out of unpacked value.
8937 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
8938 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
8939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
8940
8941 * sysdeps/sparc/fpu/fesetexcept.c: New file.
8942
8943 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
8944
8945 * sysdeps/s390/fpu/fesetexcept.c: New file.
8946
8947 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8948 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
8949 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
8950
8951 * sysdeps/mips/fpu/fesetexcept.c: New file.
8952
8953 * sysdeps/m68k/fpu/fesetexcept.c: New file.
8954
8955 * sysdeps/ia64/fpu/fesetexcept.c: New file.
8956
8957 * sysdeps/hppa/fpu/fesetexcept.c: New file.
8958
8959 * sysdeps/arm/fesetexcept.c: New file.
8960
8961 * sysdeps/alpha/fpu/fesetexcept.c: New file.
8962
8963 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
8964
8965 * math/fesetexcept.c: New file.
8966 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
8967 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
8968 * math/fenv.h: Define
8969 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8970 <bits/libc-header-start.h> instead of including <features.h>.
8971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
8972 declaration.
8973 * manual/arith.texi (fesetexcept): Document function.
8974 * math/Versions (fesetexcept): New libm symbol at version
8975 GLIBC_2.25.
8976 * math/Makefile (libm-support): Add fesetexcept.
8977 (tests): Add test-fesetexcept and test-fesetexcept-traps.
8978 * math/test-fesetexcept.c: New file.
8979 * math/test-fesetexcept-traps.c: Likewise.
8980 * sysdeps/nacl/libm.abilist: Update.
8981 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8984 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8985 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8990 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8994 Likewise.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8996 Likewise.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8998 Likewise.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9000 Likewise.
9001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9003 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9005 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9007 Likewise.
9008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9009 Likewise.
9010 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9011 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9013
9014 2016-08-16 Florian Weimer <fweimer@redhat.com>
9015
9016 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9017 New.
9018 (do_test): Apply default_stack_size_in_mb if not set.
9019 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9020
9021 2016-08-15 Andreas Schwab <schwab@suse.de>
9022
9023 [BZ #20435]
9024 CVE-2016-6323
9025 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9026 as .cantunwind.
9027
9028 2016-08-12 Joseph Myers <joseph@codesourcery.com>
9029
9030 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9031 comment from fraiseexcpt.c.
9032
9033 * math/test-fexcept.c (feraiseexcept_exact): New function.
9034 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9035 (test_except): Likewise.
9036
9037 2016-08-10 Joseph Myers <joseph@codesourcery.com>
9038
9039 [BZ #20455]
9040 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9041 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9042 to be restored.
9043
9044 * math/test-fexcept-traps.c: New file.
9045 * math/test-fexcept.c: Likewise.
9046 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9047 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9048 macro.
9049 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9050 (EXCEPTION_SET_FORCES_TRAP): Likewise.
9051
9052 2016-08-09 Torvald Riegel <triegel@redhat.com>
9053
9054 * include/atomic.h (atomic_fetch_and_relaxed,
9055 atomic_fetch_and_release, atomic_fetch_or_release,
9056 atomic_fetch_xor_release): New.
9057
9058 2016-08-06 Christian Seiler <christian@iwakd.de>
9059
9060 [BZ #20444]
9061 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9062 MACH_PORT_NULL.
9063
9064 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
9065
9066 * math/s_fdim.c: Avoid alias renamed.
9067 * math/s_fdimf.c: Likewise.
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9069 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9070 Add s_fdimf-vis3, s_fdim-vis3.
9071 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9072 (CFLAGS-s_fdim-vis3.c): Likewise.
9073 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9074 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9075
9076 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
9077
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9079 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9080 Remove s_fdimf-vis3, s_fdim-vis3.
9081 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9082 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9089 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9090 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9091
9092 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
9093
9094 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9095 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9096 -Wa,-Av9a -mvis.
9097
9098 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9099
9100 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9101 LIT() to individual constants in simple expressions
9102 after splitting on spaces.
9103 (_apply_lit): Rename replaced version, and use it to
9104 apply to what appears to be a token.
9105
9106 * math/libm-test.inc: Fix many, many issues with
9107 spacing.
9108
9109 2016-08-05 Joseph Myers <joseph@codesourcery.com>
9110
9111 * math/math.h: Move comment about <bits/mathdef.h> definitions
9112 above inclusion of <bits/mathdef.h>. Do not mention
9113 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9114
9115 2016-08-05 Torvald Riegel <triegel@redhat.com>
9116
9117 * include/atomic.h (atomic_exchange_relaxed): New.
9118
9119 2016-08-04 Joseph Myers <joseph@codesourcery.com>
9120
9121 * math/e_scalb.c: Do not include <fenv.h>.
9122 (invalid_fn): Do calculation resulting in NaN instead of raising
9123 FE_INVALID and returning a NaN explicitly.
9124 * math/e_scalbf.c: Do not include <fenv.h>.
9125 (invalid_fn): Do calculation resulting in NaN instead of raising
9126 FE_INVALID and returning a NaN explicitly.
9127 * math/e_scalbl.c: Do not include <fenv.h>.
9128 (invalid_fn): Do calculation resulting in NaN instead of raising
9129 FE_INVALID and returning a NaN explicitly.
9130
9131 2016-08-04 Carlos O'Donell <carlos@redhat.com>
9132
9133 * po/de.po: Updated from Translation Project.
9134 * po/fi.po: Likewise.
9135 * po/sv.po: Likewise.
9136
9137 2016-08-04 Florian Weimer <fweimer@redhat.com>
9138
9139 [BZ #20452]
9140 Use sysdep.o from libc.a in static libraries.
9141 * sysdeps/unix/sysv/linux/i386/Makefile
9142 (libpthread-shared-only-routines): Add sysdep.
9143 (librt-shared-only-routines): Likewise.
9144
9145 2016-08-03 Joseph Myers <joseph@codesourcery.com>
9146
9147 * math/tgmath.h (nextdown): Define if
9148 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9149 (nextup): Likewise.
9150
9151 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9152 macro.
9153 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9154 Document.
9155 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9156 Document macro.
9157 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9158 (exp10f): Likewise.
9159 (exp10l): Likewise.
9160 * math/bits/mathcalls.h (exp10): Declare if
9161 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9162
9163 * manual/arith.texi (nextup): Fix typo in last change.
9164
9165 2016-08-03 Zack Weinberg <zackw@panix.com>
9166
9167 [BZ #19239]
9168 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9169 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9170 define major, minor, and makedev to issue deprecation warnings on use.
9171 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9172 previously-activated deprecation warnings for these macros and prevent
9173 subsequent inclusions of this header from having any effect.
9174 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9175 including <sys/sysmacros.h>, and undefine it again afterward.
9176
9177 2016-08-03 Zack Weinberg <zackw@panix.com>
9178
9179 * sysdeps/generic/sys/sysmacros.h: Delete file.
9180 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9181 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9182 * bits/sysmacros.h: ... here; this encoding is now the generic
9183 encoding. Now defines only the following macros:
9184 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9185 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9186 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9187
9188 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9189 bits/sysmacros.h and the above new macros to generate the
9190 public implementations of major, minor, and makedev.
9191 * misc/tst-makedev.c: New test.
9192 * include/sys/sysmacros.h: New wrapper.
9193
9194 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9195 (routines): Add makedev.
9196 (tests): Add tst-makedev.
9197 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9198 gnu_dev_makedev.
9199 * posix/Makefile (headers): Remove sys/sysmacros.h.
9200 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9201
9202 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9203 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9204 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9205 * sysdeps/unix/sysv/linux/alpha/libc.abilist
9206 * sysdeps/unix/sysv/linux/arm/libc.abilist
9207 * sysdeps/unix/sysv/linux/hppa/libc.abilist
9208 * sysdeps/unix/sysv/linux/i386/libc.abilist
9209 * sysdeps/unix/sysv/linux/ia64/libc.abilist
9210 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9211 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9212 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9213 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9214 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9215 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9216 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9217 * sysdeps/unix/sysv/linux/nios2/libc.abilist
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9222 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9223 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9224 * sysdeps/unix/sysv/linux/sh/libc.abilist
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9226 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9229 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9231 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9232 Add GLIBC_2.25.
9233
9234 * include/features.h (__glibc_clang_prereq): New macro.
9235 * misc/sys/cdefs.h (__glibc_clang_has_extension)
9236 (__attribute_deprecated_msg__): New macros.
9237
9238 2016-08-03 Joseph Myers <joseph@codesourcery.com>
9239
9240 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9241 macro.
9242 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9243 * manual/arith.texi (issignaling): Document as ISO from TS
9244 18661-1:2014.
9245 (nextup): Likewise.
9246 (nextupf): Likewise.
9247 (nextupl): Likewise.
9248 (nextdown): Likewise.
9249 (nextdownf): Likewise.
9250 (nextdownl): Likewise.
9251 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9252 macro.
9253 * math/math.h: Define
9254 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9255 <bits/libc-header-start.h> instead of including <features.h>.
9256 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9257 [__USE_GNU].
9258 * math/bits/mathcalls.h (nextdown): Declare if
9259 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9260 (nextup): Likewise.
9261 (__issignaling): Likewise.
9262
9263 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9264
9265 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9266 check, and remove __glibc_likely hint
9267 from FP_INFINITE check.
9268 * s_csinhf.c (__csinhf): Likewise.
9269
9270 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9271 hint from FP_INFINITE check.
9272 * s_csinhl.c (__csinhl): Likewise.
9273
9274 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9275
9276 * math/Makefile (libm-calls): Insert F placeholder into
9277 object names. Move w_lgamma_compat* routines into
9278 (libm-compat-calls): New variable.
9279 (libm-compat-calls-ldouble-yes): New variable.
9280 (calls): Insert F placeholder.
9281 (generated): Redefine using new type-foreach macro call.
9282 (routines): Likewise.
9283
9284 (types): New variable to hold a list of symbolic names
9285 for each type supported by the target machine.
9286 (libm-routines): Redefine using new types variable.
9287 (type-foreach): macro to replace fooF with the
9288 appropriately suffixed foo for each types.
9289
9290 (type-ldouble-suffix): New variable.
9291 (type-ldouble-routines): Likewise.
9292 (type-ldouble-yes): Likewise.
9293 (type-double-suffix): Likewise.
9294 (type-double-routines): Likewise.
9295 (type-float-suffix): Likewise.
9296 (type-float-routines): Likewise.
9297
9298 (dbl-only-routines): Remove.
9299 (long-c-yes): Likewise.
9300 (long-m-routines): Likewise.
9301 (long-m-support): Likewise.
9302 (long-m-yes): Likewise.
9303 (test-longdouble-yes): Likewise.
9304
9305 (test-float.o): Simplify by increasing the scope of the
9306 recipe which adds libm-test.stmp to the vector types.
9307 (test-ifloat.o): Likewise.
9308 (test-float-finite.o): Likewise.
9309 (test-double.o): Likewise
9310 (test-idouble.o): Likewise.
9311 (test-double-finite.o): Likewise.
9312 (test-ldouble.o): Likewise
9313 (test-ildoubl.o): Likewise.
9314 (test-ldouble-finite.o): Likewise.
9315
9316 (libm-tests): Redefine type tests using foreach and the
9317 list of types in types.
9318
9319 (CPPFLAGS-test-ildoubl.c): Rename to
9320 (CPPFLAGS-test-ildouble.c): New variable
9321
9322 * math/test-ildoubl.c: Rename to
9323 * math/test-ildouble.c: New file.
9324
9325 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9326
9327 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9328 Use fabsl instead of fabs.
9329 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9330 Likewise.
9331 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9332 Add long double suffix to constant to ensure proper
9333 promotion to long double.
9334
9335 2016-08-03 Tom Tromey <tom@tromey.com>
9336
9337 [BZ #20311]
9338 * nptl_db/Makefile (headers): Add proc_service.h.
9339 * nptl_db/proc_service.h: Add include guard. Use
9340 __BEGIN/__END_DECLS.
9341 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9342 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9343 arguments.
9344
9345
9346 2016-08-03 Florian Weimer <fweimer@redhat.com>
9347
9348 [BZ #17730]
9349 Avoid using memalign for TCB allocations.
9350 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9351 (_dl_allocate_tls_storage): Use malloc and manual alignment.
9352 Avoid alignment gap in the TLS_DTV_AT_TP case.
9353 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9354 determine the pointer to free.
9355 * nptl/tst-tls3-malloc.c: New test.
9356 * nptl/Makefile (tests): Add it.
9357 (tst-tls3-malloc): Link with libdl, libpthread.
9358 (LDFLAGS-tst-tls3-malloc): Set.
9359 (tst-tls3-malloc.out): Depend on DSO used in test.
9360
9361 2016-08-03 Florian Weimer <fweimer@redhat.com>
9362
9363 [BZ #17730]
9364 Avoid using memalign for TLS allocations.
9365 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
9366 is_static member with to_free member.
9367 (union dtv): Use struct dtv_pointer.
9368 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9369 dtv_pointer instead of is_static.
9370 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9371 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9372 instead of val.
9373 (allocate_dtv_entry): New function.
9374 (allocate_and_init): Return struct dtv_pointer. Call
9375 allocate_dtv_entry instead of __libc_memalign.
9376 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
9377 instead of val.
9378 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
9379 instead of is_static. Adjust call to allocate_and_init.
9380 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
9381 struct dtv_pointer instead of val.
9382
9383 2016-08-03 Florian Weimer <fweimer@redhat.com>
9384
9385 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
9386 (MALLOC_ALIGN_MASK): Move ...
9387 * malloc/malloc-internal.h: ... to here.
9388 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
9389
9390 2016-08-03 Joseph Myers <joseph@codesourcery.com>
9391
9392 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
9393 (UDP_ENCAP_GTP1U): Likewise.
9394
9395 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
9396 (PF_MAX): Update value.
9397 (AF_QIPCRTR): New macro.
9398
9399 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
9400
9401 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
9402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9403 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9405 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9406 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9407 s_truncf-vis3, s_trunc-vis3.
9408 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9409 (CFLAGS-s_ceil-vis3.c): Likewise.
9410 (CFLAGS-s_floorf-vis3.c): Likewise.
9411 (CFLAGS-s_floor-vis3.c): Likewise.
9412 (CFLAGS-s_truncf-vis3.c): Likewise.
9413 (CFLAGS-s_trunc-vis3.c): Likewise.
9414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
9415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
9417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
9419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
9421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9422 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
9423 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9424 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
9425 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9426
9427 2016-08-02 David S. Miller <davem@davemloft.net>
9428
9429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9430 (__nearbyint_vis3): Don't check for sNaN before float register is
9431 loaded with the incoming argument.
9432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9433 (__nearbyintf_vis3): Likewise.
9434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
9435 Likewise.
9436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
9437 Likewise.
9438
9439 * string/test-strncmp.c (do_test_limit): Make sure the test data
9440 stream is aligned as required for the type "CHAR".
9441 (do_test): Likewise.
9442
9443 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
9444
9445 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
9446 by beq instructions jumping to the end of the function.
9447 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
9448 clobber list. Use "i" constraint instead of "X".
9449 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
9450 of "X".
9451
9452 2016-08-02 Joseph Myers <joseph@codesourcery.com>
9453
9454 * bits/libc-header-start.h: New file.
9455 * Makefile (headers): Add bits/libc-header-start.h.
9456 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
9457 (__GLIBC_USE): New macro.
9458 * libio/stdio.h: Define
9459 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9460 <bits/libc-header-start.h> instead of including <features.h>.
9461 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
9462 (open_memstream): Likewise.
9463 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
9464 (__asprintf): Likewise.
9465 (asprintf): Likewise.
9466 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
9467 (getdelim): Likewise.
9468 (getline): Likewise.
9469 * string/string.h: Define
9470 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9471 <bits/libc-header-start.h> instead of including <features.h>.
9472 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
9473 (strndup): Likewise.
9474 * wcsmbs/wchar.h: Define
9475 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9476 <bits/libc-header-start.h> instead of including <features.h>.
9477 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
9478 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
9479
9480 2016-08-02 Florian Weimer <fweimer@redhat.com>
9481
9482 Support linking against compatibility symbols, for use in tests.
9483 * include/libc-symbols.h (symbol_version_reference): New macro.
9484 (symbol_version): Use it.
9485 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
9486 (compat_symbol): Use compat_symbol_reference.
9487 (compat_symbol_1, compat_symbol_2): Remove.
9488 (compat_symbol_reference, compat_symbol_reference_1)
9489 (compat_symbol_reference_2): New macro. Use
9490 symbol_version_reference.
9491
9492 2016-08-02 Florian Weimer <fweimer@redhat.com>
9493
9494 [BZ #19469]
9495 * malloc/Makefile (CPPFLAGS): Compile tests with
9496 -DTEST_NO_MALLOPT.
9497 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
9498
9499 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
9500
9501 [BZ #20033]
9502 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
9503 finite version.
9504 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
9505 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
9506 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
9507 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
9508 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
9509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
9510 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
9511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
9512 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
9513 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
9514 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
9515 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
9516 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
9517 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
9518 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
9519 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
9520 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
9521 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
9522 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
9523 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
9524 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
9525 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
9526 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
9527 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
9528 in zero power.
9529
9530 2016-08-02 Florian Weimer <fweimer@redhat.com>
9531
9532 [BZ #20370]
9533 * malloc/arena.c (get_free_list): Update comment. Assert that
9534 arenas on the free list have no attached threads.
9535 (remove_from_free_list): New function.
9536 (reused_arena): Call it.
9537
9538 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
9539
9540 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
9541 when it is a NaN.
9542 [_IEEE_FP_INEXACT] Remove.
9543 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
9544 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
9545 when it is a NaN.
9546 [_IEEE_FP_INEXACT] Remove.
9547 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
9548 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
9549 when it is a NaN.
9550 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
9551 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
9552 when its absolute value is greater than 0x1.0p52.
9553 [_IEEE_FP_INEXACT] Remove.
9554 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
9555 when its absolute value is greater than 0x1.0p23.
9556 [_IEEE_FP_INEXACT] Remove.
9557
9558 2016-08-01 Carlos O'Donell <carlos@redhat.com>
9559
9560 * version.h (RELEASE): Set to "development"
9561 (VERSION): Set to 2.24.90.
9562 * NEWS: Add 2.25 section.
9563
9564 * version.h (RELEASE): Set to "stable"
9565 (VERSION): Set to 2.24.
9566 * include/features.h (__GLIBC_MINOR__): Set to 24.
9567
9568 * NEWS: Add 2.24 fixed bugs.
9569 * po/libc.pot: Regenerate.
9570
9571 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
9572
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9574 [$(subdir) = math] (libm-sysdep_routines): Remove.
9575 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9576 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9577 s_truncf-vis3, s_trunc-vis3.
9578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
9580 file.
9581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
9582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
9583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
9587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
9588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
9590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
9592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
9594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
9595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
9600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
9602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
9603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
9609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
9612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9614 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
9615 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
9616 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
9617 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
9618 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9619 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9620 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
9621 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
9622 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
9623 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
9624
9625 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
9626
9627 [BZ #20384]
9628 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
9629 test-double-libmvec-sincos-avx-main.o,
9630 test-double-libmvec-sincos-avx2-main.o,
9631 test-double-libmvec-sincos-main.o,
9632 test-float-libmvec-sincosf-avx-main.o,
9633 test-float-libmvec-sincosf-avx2-main.o and
9634 test-float-libmvec-sincosf-main.o.
9635 test-float-libmvec-sincosf-avx512-main.o.
9636 ($(objpfx)test-double-libmvec-sincos): Also link with
9637 $(objpfx)test-double-libmvec-sincos-main.o.
9638 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
9639 $(objpfx)test-double-libmvec-sincos-avx-main.o.
9640 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
9641 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
9642 ($(objpfx)test-float-libmvec-sincosf): Also link with
9643 $(objpfx)test-float-libmvec-sincosf-main.o.
9644 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
9645 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
9646 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
9647 test-double-libmvec-sincos-avx512-main.o and
9648 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
9649 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
9650 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
9651 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
9652 (CFLAGS-test-double-libmvec-sincos.c): Removed.
9653 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
9654 (CFLAGS-test-double-libmvec-sincos-main.c): New.
9655 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
9656 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
9657 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
9658 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
9659 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
9660 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
9661 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
9662 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
9663 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
9664 -DREQUIRE_AVX2.
9665 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
9666 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
9667 -DREQUIRE_AVX512F.
9668 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
9669 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
9670 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9671 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
9672 file.
9673 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
9674 Likewise.
9675 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
9676 Likewise.
9677 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
9678 Likewise.
9679 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
9680 Likewise.
9681 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
9682 Likewise.
9683 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
9684 Likewise.
9685 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
9686 Likewise.
9687
9688 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
9689
9690 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
9691
9692 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
9693
9694 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
9695 and typo in a comment about AT_HWCAP entry.
9696
9697 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9698
9699 * sysdeps/aarch64/libm-test-ulps: Updated.
9700
9701 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9702
9703 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
9704 of r13 as it is not restored in mvcle case.
9705
9706 2016-07-19 Mike Frysinger <vapier@gentoo.org>
9707
9708 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
9709 Rename "ret" to "__ret".
9710 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
9711 inline_syscall5, inline_syscall6): Likewise.
9712
9713 2016-07-19 Will Newton <will.newton@gmail.com>
9714
9715 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
9716 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
9717 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
9718 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
9719 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
9720
9721 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
9724 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
9725 -mfpmath=387 with $(rtld-CFLAGS).
9726 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
9727 $(rtld-CFLAGS).
9728
9729 2016-07-18 Ross Burton <ross.burton@intel.com>
9730 Khem Raj <raj.khem@gmail.com>
9731
9732 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
9733 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
9734 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
9735 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
9736 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
9737 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
9738 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
9739 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
9740 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
9741 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
9742 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
9743 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
9744 R_METAG_TLS_DTPOFF): New.
9745
9746 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
9747 Matt Clay <mclay@lycos.com>
9748
9749 [BZ #20357]
9750 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
9751 to call __mpsin/__mpcos and to negate values.
9752 * math/auto-libm-test-in: Add test.
9753 * math/auto-libm-test-out: Regenerate.
9754
9755 2016-07-18 Zack Weinberg <zackw@panix.com>
9756
9757 * grp/Makefile: Don't install the internal header grp-merge.h.
9758
9759 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
9760
9761 * sysdeps/aarch64/libm-test-ulps: Regenerated.
9762
9763 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9764
9765 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
9766
9767 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9768
9769 [BZ #15368]
9770 * sysdeps/unix/sysv/linux/nptl-signals.h
9771 (__nptl_clear_internal_signals): New function.
9772 (__libc_signal_block_all): Likewise.
9773 (__libc_signal_block_app): Likewise.
9774 (__libc_signal_restore_set): Likewise.
9775 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
9776 implementation.
9777 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
9778 the cached pid/tid value in pthread structure.
9779
9780 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 [BZ #20347]
9783 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9784
9785 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
9786
9787 [BZ #20348]
9788 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
9789 preadv64, pwrite64 and pwritev64.
9790
9791 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
9792
9793 [BZ #20350]
9794 * posix/tst-preadwrite.c: Renamed to ...
9795 * posix/tst-preadwrite-common.c: This.
9796 (PREAD): Removed.
9797 (PWRITE): Likewise.
9798 (STRINGIFY): Likewise.
9799 (STRINGIFY2): Likewise.
9800 (do_prepare): Make it static and remove function arguments.
9801 (do_test): Likewise.
9802 (PREPARE): Updated.
9803 (TEST_FUNCTION): New.
9804 (name): Make it static.
9805 (fd): Likewise.
9806 (do_prepare): Use create_temp_file.
9807 (do_test): Renamed to ...
9808 (do_test_with_offset): This. Make it static and accept offset.
9809 Properly check return value of PWRITE and PREAD. Return bytes
9810 read. Don't close fd nor unlink name.
9811 * posix/tst-preadwrite.c: Rewrite.
9812 * posix/tst-preadwrite64.c: Likewise.
9813
9814 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
9815
9816 [BZ #20309]
9817 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
9818 -mtls-dialect=gnu2 works.
9819 * configure: Regenerated.
9820 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
9821 (tests): Add tst-gnu2-tls1.
9822 (modules-names): Add tst-gnu2-tls1mod.
9823 ($(objpfx)tst-gnu2-tls1): New.
9824 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
9825 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
9826 * elf/tst-gnu2-tls1.c: New file.
9827 * elf/tst-gnu2-tls1mod.c: Likewise.
9828 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
9829 bytes for push in the PLT entry to align the stack.
9830
9831 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 [BZ #20349]
9834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
9835
9836 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9837
9838 [BZ #18707]
9839 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
9840 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
9841
9842 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9843
9844 * sysdeps/unix/sysv/linux/sysdep.h
9845 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
9846 guards.
9847 * misc/tst-preadvwritev-common.c: New file.
9848 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
9849 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
9850 a check for files larger than 2GB.
9851
9852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9853 (__ASSUME_OFF_DIFF_OFF64): Remove define.
9854 * sysdeps/unix/sysv/linux/pread.c
9855 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
9856 __OFF_T_MATCHES_OFF64_T.
9857 * sysdeps/unix/sysv/linux/pread64.c
9858 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
9859 * sysdeps/unix/sysv/linux/preadv.c
9860 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
9861 * sysdeps/unix/sysv/linux/preadv64.c
9862 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
9863 * sysdeps/unix/sysv/linux/pwrite.c
9864 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
9865 * sysdeps/unix/sysv/linux/pwrite64.c
9866 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
9867 * sysdeps/unix/sysv/linux/pwritev.c
9868 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
9869 * sysdeps/unix/sysv/linux/pwritev64.c
9870 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
9871
9872 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
9873
9874 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9875 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
9876
9877 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
9878
9879 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
9880
9881 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
9882
9883 [BZ #20240]
9884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
9885 (CFLAGS-s_modf-ppc32.c): New variable.
9886 (CFLAGS-s_modff-ppc32.c): Likewise.
9887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9888 (CFLAGS-s_modf-ppc64.c): Likewise.
9889 (CFLAGS-s_modff-ppc64.c): Likewise.
9890
9891 2016-07-07 Andreas Schwab <schwab@suse.de>
9892
9893 [BZ #20263]
9894 * nptl/tst-robust10.c: New test.
9895 * nptl/Makefile (tests): Add tst-robust10.
9896
9897 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
9898
9899 [BZ #20263]
9900 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
9901
9902 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9903
9904 * sysdeps/s390/linkmap.h (struct link_map_machine):
9905 Remove member gotplt and add member jmprel.
9906 * sysdeps/s390/s390-32/dl-machine.h
9907 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
9908 instead of gotplt with &got[3].
9909 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
9910 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9911
9912 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
9913
9914 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
9915
9916 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9917
9918 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
9919 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
9920 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9921 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
9922 * libio/vtables.c (_IO_vtable_check)
9923 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9924 * libio/libioP.h (IO_set_accept_foreign_vtables)
9925 [!PTR_MANGLE]: Do not call PTR_MANGLE.
9926
9927 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
9928
9929 [BZ #20314]
9930 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
9931 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
9932 $(common-objpfx)cmath.
9933 ($(common-objpfx)cstdlib): New target.
9934 ($(common-objpfx)cmath): Likewise.
9935
9936 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
9937
9938 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
9939
9940 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9941
9942 [BZ #20327]
9943 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
9944 are not part of the string.
9945
9946 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9947
9948 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
9949 * nptl/tst-cancel4-common.h (fifoname): New variable.
9950 (fifofd): Likewise.
9951 (cl_fifo): New function.
9952 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
9953 SIGINT.
9954 (tf_open): Add early cancel test.
9955
9956 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
9957
9958 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
9959
9960 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
9961
9962 * sysdeps/generic/ldsodefs.h
9963 (dl_symbol_visibility_binds_local_p): New inline function.
9964 * elf/dl-addr.c (determine_info): Treat hidden and internal
9965 symbols as local.
9966 * elf/dl-lookup.c (do_lookup_x): Likewise.
9967 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
9968
9969 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
9970
9971 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
9972 invalid exception for a sNaN input.
9973 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9974 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9975 (__nearbyint_vis3): Likewise
9976 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9977 (__nearbyintf_vis3): Likewise
9978 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
9979 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9980 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
9981 Likewise.
9982 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
9983 Likewise.
9984
9985 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 [BZ #20139]
9988 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
9989 (HAVE_AVX512DQ_ASM_SUPPORT): This.
9990 * sysdeps/x86_64/configure.ac: Require assembler from binutils
9991 2.24 or above.
9992 (HAVE_AVX512_ASM_SUPPORT): Removed.
9993 (HAVE_AVX512DQ_ASM_SUPPORT): New.
9994 * sysdeps/x86_64/configure: Regenerated.
9995 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
9996 check unconditional.
9997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9998 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9999 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10000 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10001 Likewise.
10002 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10003 Likewise.
10004 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10005 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10006 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10007 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10008 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10009 Likewise.
10010 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10011 Likewise.
10012 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10013 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10014 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10015 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10016 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10017 Likewise.
10018 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10019 Likewise.
10020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10021 Likewise.
10022 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10023 Likewise.
10024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10025 Likewise.
10026 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10027 Likewise.
10028 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10029 Likewise.
10030 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10031 Likewise.
10032 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10033 Likewise.
10034 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10035 Likewise.
10036 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10037 Likewise.
10038
10039 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
10040
10041 [BZ #20024]
10042 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10044 of this implementation of vector function.
10045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10047 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10048 Likewise.
10049 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10050 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10051 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10052 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10053 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10054 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10055 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10056 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10057 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10058 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10059 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10060 for testing vector sincos with fixed ABI.
10061 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10062 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10063 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10064 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10065 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10066 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10067 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10068 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10069 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10070 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10071 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10072 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10073 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10074 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10075 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10076 * sysdeps/x86_64/fpu/Makefile: Added new tests.
10077
10078 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
10079
10080 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10081
10082 2016-06-30 Anton Blanchard <anton@samba.org>
10083
10084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10085 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10086 s_sinf-ppc64.
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10090 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10091
10092 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10093
10094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10096 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10097 e_expf-ppc64.
10098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10099 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10101 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10102
10103 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
10104
10105 [BZ #20277]
10106 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10107 when SHARED is defined.
10108
10109 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10112 (index_arch_Prefer_ERMS): Likewise.
10113 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10114 __memcpy_erms for Prefer_ERMS.
10115 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10116 (__memmove_erms): Enabled for libc.a.
10117 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10118 __memmove_erms or Prefer_ERMS.
10119 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10120 __mempcpy_erms for Prefer_ERMS.
10121 * sysdeps/x86_64/multiarch/memset.S (memset): Return
10122 __memset_erms for Prefer_ERMS.
10123
10124 2016-06-30 Andreas Schwab <schwab@suse.de>
10125
10126 [BZ #20262]
10127 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10128 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
10129 of memory.
10130
10131 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
10132
10133 [BZ #18645]
10134 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10135 (test-extras): Add tst-cleanupx4aux.
10136 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
10137 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10138 tst-cleanupx4aux.o.
10139 * nptl/tst-cleanupx4aux.c: New file.
10140
10141 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
10142
10143 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10144
10145 2016-06-29 Andreas Schwab <schwab@suse.de>
10146
10147 [BZ #20260]
10148 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10149 address before the beginning of the string as an integer to avoid
10150 array-bounds warning.
10151
10152 2016-06-28 Richard Henderson <rth@redhat.com>
10153
10154 * elf/elf.h (EM_BPF): New.
10155 (EM_NUM): Update.
10156 (R_BPF_NONE, R_BPF_MAP_FD): New.
10157
10158 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10159 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10160 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10161 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10162 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10163 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10164 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10165 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10166 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10167 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10168 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10169 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10170 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10171 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10172 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10173 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10174 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10175 (EM_NUM): Update.
10176
10177 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
10178
10179 [BZ #18960]
10180 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10181 Set _nl_current_LC_CATEGORY_used to two instead of one.
10182
10183 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
10184
10185 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10186 (do_test): ... this.
10187 (TEST_FUNCTION): New macro.
10188 Include test-skeleton.c.
10189 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10190 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10191
10192 2016-06-27 Joseph Myers <joseph@codesourcery.com>
10193
10194 [BZ #15479]
10195 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10196 floating-point environment rather than just control word.
10197 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10198 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10199 floating-point environment, with "invalid" exceptions merged in,
10200 rather than just control word.
10201 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10202 * math/libm-test.inc (trunc_test_data): Do not allow spurious
10203 "inexact" exceptions.
10204
10205 [BZ #15479]
10206 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10207 floating-point environment rather than just control word.
10208 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10209 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10210 floating-point environment, with "invalid" exceptions merged in,
10211 rather than just control word.
10212 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10213 * math/libm-test.inc (floor_test_data): Do not allow spurious
10214 "inexact" exceptions.
10215
10216 [BZ #15479]
10217 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10218 floating-point environment rather than just control word.
10219 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10220 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10221 floating-point environment, with "invalid" exceptions merged in,
10222 rather than just control word.
10223 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10224 * math/libm-test.inc (ceil_test_data): Do not allow spurious
10225 "inexact" exceptions.
10226
10227 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
10228
10229 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10230 __libc_vfork.
10231 (__vfork) [IS_IN (libc)]: Remove alias.
10232 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10233 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10234 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10235
10236 2016-06-24 Torvald Riegel <triegel@redhat.com>
10237
10238 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10239 of atomic_compare_and_exchange_bool_rel.
10240 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10241 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10242 catomic_compare_and_exchange_bool_rel): Remove.
10243 * sysdeps/aarch64/atomic-machine.h
10244 (atomic_compare_and_exchange_bool_rel): Likewise.
10245 * sysdeps/alpha/atomic-machine.h
10246 (atomic_compare_and_exchange_bool_rel): Likewise.
10247 * sysdeps/arm/atomic-machine.h
10248 (atomic_compare_and_exchange_bool_rel): Likewise.
10249 * sysdeps/mips/atomic-machine.h
10250 (atomic_compare_and_exchange_bool_rel): Likewise.
10251 * sysdeps/microblaze/atomic-machine.h
10252 ( __arch_compare_and_exchange_bool_8_rel,
10253 __arch_compare_and_exchange_bool_16_rel): Likewise.
10254 * sysdeps/powerpc/atomic-machine.h
10255 ( __arch_compare_and_exchange_bool_8_rel,
10256 __arch_compare_and_exchange_bool_16_rel): Likewise.
10257 * sysdeps/powerpc/powerpc32/atomic-machine.h
10258 ( __arch_compare_and_exchange_bool_32_rel,
10259 __arch_compare_and_exchange_bool_64_rel): Likewise.
10260 * sysdeps/powerpc/powerpc64/atomic-machine.h
10261 ( __arch_compare_and_exchange_bool_32_rel,
10262 __arch_compare_and_exchange_bool_64_rel): Likewise.
10263 * sysdeps/tile/atomic-machine.h
10264 (atomic_compare_and_exchange_bool_rel): Likewise.
10265
10266 2016-06-23 Joseph Myers <joseph@codesourcery.com>
10267
10268 [BZ #20296]
10269 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10270 when either argument is a NaN.
10271 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10272 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10273
10274 * math/libm-test.inc (snan_value_ld): New macro.
10275 (isgreater_test_data): Add sNaN tests.
10276 (isgreaterequal_test_data): Likewise.
10277 (isless_test_data): Likewise.
10278 (islessequal_test_data): Likewise.
10279 (islessgreater_test_data): Likewise.
10280 (isunordered_test_data): Likewise.
10281 (nextafter_test_data): Likewise.
10282 (nexttoward_test_data): Likewise.
10283 (remainder_test_data): Likewise.
10284 (remquo_test_data): Likewise.
10285 (significand_test_data): Likewise.
10286 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10287
10288 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
10289
10290 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10291 environment macros are defined.
10292 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10293
10294 2016-06-23 Florian Weimer <fweimer@redhat.com>
10295
10296 [BZ #20191]
10297 Implement vtable verification in libio.
10298 * Makerules (shlib.lds): Place __libc_IO_vtables section.
10299 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10300 * debug/vdprintf_chk.c (__vdprintf_chk): Call
10301 _IO_new_file_init_internal instead of _IO_file_init.
10302 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10303 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10304 * libio/Makefile (routines): Add vtables.
10305 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10306 (_IO_init): Remove, not for internal use.
10307 (_IO_init_internal): Declare, internal replacement for _IO_init.
10308 (_IO_file_init): Remove, not for internal use.
10309 (_IO_new_file_init): Remove, not for internal use.
10310 (_IO_new_file_init_internal): Declare, internal replacement for
10311 _IO_new_file_init.
10312 (_IO_old_file_init): Remove, not for internal use.
10313 (_IO_old_file_init_internal): Declare, internal replacement for
10314 _IO_old_file_init.
10315 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10316 internal use.
10317 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10318 Declare.
10319 (libio_vtable): New macro.
10320 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10321 functions.
10322 * libio/fileops.c (_IO_new_file_init_internal): Rename from
10323 _IO_new_file_init.
10324 (_IO_new_file_init): New externally visible wrapper which disables
10325 vtable verification.
10326 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10327 Define as vtables.
10328 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10329 (_IO_init): New externally visible wrapper which disables
10330 vtable verification.
10331 * libio/iofdopen.c (_IO_new_fdopen): Call
10332 _IO_new_file_init_internal instead of _IO_file_init. Adjust
10333 comment.
10334 * libio/iofopen.c (__fopen_internal): Call
10335 _IO_new_file_init_internal instead of _IO_file_init.
10336 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10337 Define as vtables.
10338 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10339 _IO_new_file_init_internal instead of _IO_file_init.
10340 * libio/iopopen.c (_IO_new_popen): Likewise.
10341 (_IO_proc_jumps): Define as vtable.
10342 * libio/iovdprintf.c (_IO_vdprintf): Call
10343 _IO_new_file_init_internal instead of _IO_file_init.
10344 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10345 (__open_memstream): Call _IO_init_internal instead of _IO_init.
10346 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10347 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10348 _IO_old_file_init.
10349 (_IO_old_file_init): New externally visible wrapper which disables
10350 vtable verification.
10351 (_IO_old_file_jumps): Define as vtable.
10352 * libio/oldiofdopen.c (_IO_old_fdopen): Call
10353 _IO_old_file_init_internal instead of _IO_old_file_init.
10354 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10355 * libio/oldiopopen.c (_IO_old_popen): Likewise.
10356 (_IO_old_proc_jumps): Define as vtable.
10357 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10358 Define as vtables.
10359 * libio/vtables.c: New file.
10360 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10361 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10362 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10363 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10364 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10365 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10366 instead of _IO_init.
10367
10368 2016-06-23 Florian Weimer <fweimer@redhat.com>
10369
10370 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10371
10372 2016-06-23 Florian Weimer <fweimer@redhat.com>
10373
10374 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10375 potentially unused.
10376
10377 2016-06-22 Florian Weimer <fweimer@redhat.com>
10378
10379 * test-skeleton.c (write_message): New function.
10380 * malloc/tst-mallocfork2.c (write_message): Remove.
10381 * debug/tst-longjmp_chk2.c (write_indented): New function.
10382 (write_message): Remove.
10383 (stackoverflow_handler): Call write_indented.
10384
10385 2016-06-22 Joseph Myers <joseph@codesourcery.com>
10386
10387 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
10388 "inexact" exceptions after fnstenv.
10389 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10390 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10391 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10392
10393 2015-06-22 Zack Weinberg <zackw@panix.com>
10394
10395 * sysdeps/generic/bits/hwcap.h: Moved to ...
10396 * bits/hwcap.h: Here.
10397
10398 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
10399
10400 * sysdeps/aarch64/memcpy.S (memcpy):
10401 Further tuning for performance.
10402
10403 2016-06-21 Florian Weimer <fweimer@redhat.com>
10404
10405 [BZ #20284]
10406 * malloc/arena.c (reused_arena): Do not return NULL if we start
10407 out with a non-corrupted arena.
10408
10409 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10410
10411 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
10412 * misc/tst-preadvwritev.c: New file.
10413 * misc/tst-preadvwritev64.c: Likewise.
10414 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
10415 usage.
10416 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
10417 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
10418 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
10419 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
10420
10421 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
10422
10423 [BZ #19654]
10424 * sysdeps/x86_64/fpu/Makefile: Added new tests.
10425 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
10426 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
10427 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
10428 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
10429 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
10430 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
10431 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
10432 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
10433 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
10434 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
10435 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
10436 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
10437 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
10438 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
10439 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
10440 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
10441 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
10442 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
10443 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
10444 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
10445 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
10446 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
10447 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
10448 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
10449 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
10450
10451 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
10452
10453 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
10454 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
10455
10456 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
10457
10458 * sysdeps/aarch64/memcpy.S (memcpy):
10459 Rewrite of optimized memcpy and memmove.
10460 * sysdeps/aarch64/memmove.S (memmove): Remove
10461 memmove code (merged into memcpy.S).
10462
10463 2016-06-20 Florian Weimer <fweimer@redhat.com>
10464
10465 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
10466 * sysdeps/generic/dl-dtv.h: New file.
10467 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10468 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
10469 (dtv_t): Remove.
10470 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10471 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
10472 (dtv_t): Remove.
10473 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10474 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
10475 (dtv_t): Remove.
10476 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10477 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
10478 (dtv_t): Remove.
10479 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10480 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
10481 (dtv_t): Remove.
10482 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10483 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
10484 (dtv_t): Remove.
10485 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10486 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
10487 (dtv_t): Remove.
10488 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
10489 (dtv_t): Remove.
10490 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10491 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
10492 (dtv_t): Remove.
10493 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10494 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
10495 (dtv_t): Remove.
10496 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10497 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
10498 (dtv_t): Remove.
10499 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10500 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
10501 (dtv_t): Remove.
10502 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10503 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
10504 (dtv_t): Remove.
10505 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10506 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
10507 (dtv_t): Remove.
10508 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10509 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
10510 (dtv_t): Remove.
10511 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10512 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
10513 (dtv_t): Remove.
10514
10515 2016-06-20 Florian Weimer <fweimer@redhat.com>
10516
10517 Revert symbol poisoning of __malloc_initialize_hook.
10518 * include/stdc-predef.h (__malloc_initialize_hook): Remove
10519 poisoning.
10520 * malloc/Makefile: Remove un-poisoning.
10521 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
10522 instead of old__malloc_initialize_hook.
10523 * malloc/malloc-hooks.h: Likewise.
10524 * malloc/malloc.c: Likewise.
10525 * malloc/mcheck-init.c: Likewise.
10526
10527 2016-06-19 Carlos O'Donell <carlos@redhat.com>
10528
10529 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
10530
10531 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
10532
10533 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
10534 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
10535 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10536 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10537
10538 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10539
10540 * NEWS: Mention addition of nextup and nextdown.
10541 * manual/arith.texi: Document nextup and nextdown.
10542 * manual/libm-err-tab.pl: Add nextup and nextdown.
10543 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
10544 * math/Versions (libm): Add GLIBC_2.24.
10545 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
10546 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10547 Add new test.
10548 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
10549 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
10550 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
10551 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
10552 (nextup_test_data): Likewise.
10553 (nextdown_test_data): Likewise.
10554 * math/s_nextdown.c: New file.
10555 * math/s_nextdownf.c: Likewise.
10556 * math/s_nextdownl.c: Likewise.
10557 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
10558 F(nextup): New function.
10559 F(nextdown): Likewise.
10560 * math/tgmath.h: Add nextup and nextdown.
10561 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
10562 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
10567 Add nextup and nextdown.
10568 (CFLAGS-nldbl-nextup.c): New variable.
10569 (CFLAGS-nldbl-nextdown.c): Likewise.
10570 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
10571 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
10572 * sysdeps/nacl/libm.abilist: Update.
10573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10582 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10587 Likewise.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10591 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10592 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10601
10602 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10603
10604 * manual/pattern.texi: Fix typos & grammar errors.
10605
10606 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10607
10608 * manual/search.texi: Fix typos & grammar errors.
10609
10610 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10611
10612 * manual/message.texi: Fix typos & grammar errors.
10613
10614 2016-06-16 Mike Frysinger <vapier@gentoo.org>
10615
10616 * manual/contrib.texi: Fix spelling typos.
10617 * manual/crypt.texi: Likewise.
10618 * manual/filesys.texi: Likewise.
10619 * manual/locale.texi: Likewise.
10620 * manual/message.texi: Likewise.
10621 * manual/nss.texi: Likewise.
10622 * manual/string.texi: Likewise.
10623
10624 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10625
10626 * manual/locale.texi: Fix typos & grammar errors.
10627
10628 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10629
10630 * manual/charset.texi: Fix typos & grammar errors.
10631
10632 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10633
10634 * manual/string.texi: Fix typos.
10635
10636 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10637
10638 * manual/ctype.texi: Fix typos.
10639
10640 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
10641
10642 * manual/memory.texi: Fix various typos & grammar errors.
10643
10644 2016-06-14 Joseph Myers <joseph@codesourcery.com>
10645
10646 [BZ #20255]
10647 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
10648 * math/libm-test.inc (fdim_test_data): Add another test.
10649
10650 [BZ #6796]
10651 [BZ #20255]
10652 [BZ #20256]
10653 * math/s_fdim.c: Include <math_private.h>.
10654 (__fdim): Use math_narrow_eval on result.
10655 * math/s_fdimf.c: Include <math_private.h>.
10656 (__fdimf): Use math_narrow_eval on result.
10657 * sysdeps/i386/fpu/s_fdim.S: Remove file.
10658 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
10659 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
10660 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
10661 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
10662 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
10663 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
10664 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
10665 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
10666 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
10667 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
10668 * math/libm-test.inc (fdim_test_data): Expect errno setting on
10669 overflow. Add sNaN tests.
10670
10671 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
10672 fpclassify.
10673 * math/s_fdimf.c (__fdimf): Likewise.
10674 * math/s_fdiml.c (__fdiml): Likewise.
10675
10676 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10677
10678 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10679 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
10680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10681 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10682 ifunc'ed strcasecmp/strncasecmp.
10683 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
10684 [EALIGN]: Removed.
10685 [END]: Likewise.
10686 [__strcasecmp]: Define instead of the above to control symbol name.
10687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
10688 for __strcasecmp_power8.
10689 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
10690 for __strncasecmp_power8.
10691 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
10692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
10693 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
10694 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
10695 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
10696 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
10697
10698 2016-06-13 Joseph Myers <joseph@codesourcery.com>
10699
10700 [BZ #20252]
10701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
10702 arguments when second argument is a NaN.
10703 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
10704 qNaN tests.
10705
10706 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
10707 (conj_test_data): Likewise.
10708 (copysign_test_data): Likewise.
10709 (creal_test_data): Likewise.
10710 (fma_test_data): Likewise.
10711 (fmod_test_data): Likewise.
10712
10713 [BZ #20250]
10714 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
10715 itself.
10716 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
10717 zero input to itself.
10718 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
10719 Likewise.
10720 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
10721 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10723 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10724 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
10725
10726 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10727
10728 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
10729 * nptl/tst-cancel4-common.c: New file.
10730 * nptl/tst-cancel4-common.h: Likewise.
10731 * nptl/tst-cancel4.c: Move common definitions to
10732 tst-cancel4-common.{c,h} file.
10733 * nptl/tst-cancel4_1.c: New test.
10734 * nptl/tst-cancel4_2.c: New test.
10735
10736 2016-06-13 Florian Weimer <fweimer@redhat.com>
10737
10738 [BZ #20248]
10739 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
10740 (write_message): New function.
10741 (stackoverflow_handler): Call it instead of printf, to avoid
10742 excessive stack usage by printf.
10743 (do_test): Restore SIGSEGV, SIGBUS default handlers.
10744
10745 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10746
10747 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
10748 (prio_inherit_missing): Remove define.
10749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10750 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
10752 Likewise.
10753 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10754 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10756 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10758 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10759
10760 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10761
10762 [BZ #19670]
10763 [BZ #19672]
10764
10765 * io/test-lfs.c (do_prepare): Use xmalloc.
10766 * io/tst-fcntl.c (do_prepare): Likewise.
10767 * libio/tst-fopenloc.c (do_bz17916): Likewise.
10768 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
10769 * login/tst-utmp.c (do_prepare): Likewise.
10770 * posix/tst-exec.c (do_prepare): Likewise.
10771 * posix/tst-pathconf.c (prepare): Likewise.
10772 * posix/tst-spawn.c (do_prepare): Likewise.
10773 * posix/tst-truncate.c (do_prepare): Likewise.
10774 * rt/tst-aio.c (do_prepare): Likewise.
10775 * rt/tst-aio64.c (do_prepare): Likewise.
10776
10777 2016-06-11 Florian Weimer <fweimer@redhat.com>
10778
10779 [BZ #20237]
10780 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
10781 (get*ent): Set entidx to NULL during initialization. If entidx is
10782 NULL, start iteration from the beginning.
10783
10784 2016-06-11 Florian Weimer <fweimer@redhat.com>
10785
10786 * malloc/malloc.c (musable): Return correct size for dumped fake
10787 mmapped chunk.
10788
10789 2016-06-11 Florian Weimer <fweimer@redhat.com>
10790
10791 [BZ #20222]
10792 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
10793 (_IO_cookie_write): Likewise.
10794 (_IO_cookie_seek): Likewise.
10795 (_IO_cookie_close): Likewise.
10796 (_IO_old_cookie_seek): Likewise.
10797 (set_callbacks): New function.
10798 (_IO_cookie_init): Call set_callbacks to copy callbacks.
10799
10800 2016-06-11 Marko Myllynen <myllynen@redhat.com>
10801
10802 * locale/programs/localedef.c (oldstyle_tables): Remove.
10803 * locale/programs/localedef.h (oldstyle_tables): Likewise.
10804
10805 2016-06-10 Joseph Myers <joseph@codesourcery.com>
10806
10807 [BZ #20240]
10808 * math/Makefile (CFLAGS-s_modf.c): New variable.
10809 (CFLAGS-s_modff.c): Likewise.
10810 (CFLAGS-s_modfl.c): Likewise.
10811 * math/libm-test.inc (modf_test_data): Add sNaN tests.
10812
10813 2016-06-09 Carlos O'Donell <carlos@redhat.com>
10814
10815 [BZ #20215]
10816 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
10817 [!__GNUC_PREREQ (3,2)]: Likewise.
10818
10819 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
10820
10821 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
10822 (msghdr.msg_controllen): Likewise.
10823 (cmsghdr.cmsg_len): Likewise.
10824 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
10825 ptw-oldsendmsg.
10826 (CFLAGS-oldrecvmsg.c): Remove rule.
10827 (CFLAGS-oldsendmsg.c): Likewise.
10828 (CFLAGS-recvmsg.c): Add rule.
10829 (CFLAGS-sendmsg.c): Likewise.
10830 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
10831 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
10832 (CFLAGS-recvmsg.c): Remove rule.
10833 (CFLAGS-sendmsg.c): Likewise.
10834 (CFLAGS-oldrecvmsg.c): Likewise.
10835 (CFLAGS-oldsendmsg.c): Likewise.
10836 (CFLAGS-recvmmsg.c): Likewise.
10837 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
10838 to kernel defined interfaces.
10839 (msghdr.msg_controllen): Likewise.
10840 (cmsghdr.cmsg_len): Likewise.
10841 (msghdr.__glibc_reserved1): Remove member.
10842 (msghdr.__glibc_reserved2): Likewise.
10843 (cmsghdr.__glibc_reserved1): Likewise.
10844 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
10845 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
10846 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10847 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10848 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
10849 version.
10850 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10851 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
10852 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10853 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
10854 Remove recvmsg and sendmsg.
10855 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
10856 Likewise.
10857 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10858 Likewise.
10859 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10860 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10861 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10862 Likewise.
10863 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10864 Likewise.
10865 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
10866 [libc] (GLIBC_2.24): Likewise.
10867 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10868 Likewise.
10869 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10870 Likewise.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10872 [libc] (GLIBC_2.24): Likewise.
10873 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10874 Likewise.
10875 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10876 Likewise.
10877 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10878 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10879 Likewise.
10880 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10881 Likewise.
10882 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10883 Likewise.
10884 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
10885 Likewise.
10886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
10887 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
10888 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
10889 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
10890 version for {recv,send,recm,sendm}msg.
10891 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10904 Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10906 Likewise.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10920
10921 2016-06-10 Florian Weimer <fweimer@redhat.com>
10922
10923 [BZ #19564]
10924 Remove __malloc_initialize_hook from the API.
10925 * malloc/malloc.h (__malloc_initialize_hook): Remove.
10926 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
10927 #pragma GCC poison.
10928 * malloc/malloc-hooks.h: New file.
10929 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10930 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
10931 (old__malloc_initialize_hook): Rename from
10932 __malloc_initialize_hook to evade poisoning. Turn into compat
10933 symbol.
10934 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
10935 __malloc_initialize_hook.
10936 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
10937 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
10938 * manual/memory.texi (Hooks for Malloc): Remove
10939 __malloc_initialize_hook. Adjust hook example.
10940
10941 2016-06-09 Joseph Myers <joseph@codesourcery.com>
10942
10943 [BZ #20235]
10944 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
10945 itself.
10946 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10947 * math/libm-test.inc (log2_test_data): Add sNaN tests.
10948
10949 [BZ #20234]
10950 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
10951 infinity or NaN input to itself.
10952
10953 [BZ #20233]
10954 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
10955 to itself.
10956
10957 [BZ #20232]
10958 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
10959 itself.
10960
10961 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 * sysdeps/x86_64/start.S (_start): Always indirect branch to
10964 __libc_start_main via GOT.
10965
10966 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
10967
10968 * sysdeps/x86_64/memcopy.h: New file.
10969 * sysdeps/x86_64/wordcopy.c: Likewise.
10970
10971 2016-06-09 Florian Weimer <fweimer@redhat.com>
10972
10973 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
10974 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
10975 <cstdlib>.
10976 (optimization_barrier): New.
10977 (do_test): Use it. Call quick_exit in the global namespace.
10978 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
10979 instead of <cstdlib>, <thread>.
10980 (optimization_barrier): New.
10981 (non_main_thread): Adjust declaration. Call optimization_barrier.
10982 Call quick_exit in the global namespace.
10983 (do_test): Call optimization_barrier. Use pthread_create,
10984 pthread_join instead of std::thread.
10985
10986 2016-06-09 Andreas Schwab <schwab@suse.de>
10987
10988 [BZ #19755]
10989 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
10990 new entries in auto-propagate mode.
10991 * nscd/grpcache.c (cache_addgr): Likewise.
10992
10993 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10994
10995 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
10996 New functions.
10997 (add_temp_file): Use them.
10998
10999 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
11000
11001 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11002
11003 2016-06-08 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #20229]
11006 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11007 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11008 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11009
11010 [BZ #20228]
11011 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11012 itself.
11013 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11014 * math/libm-test.inc (log10_test_data): Add sNaN tests.
11015
11016 [BZ #20227]
11017 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11018 itself.
11019 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11020 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11021 * math/libm-test.inc (log_test_data): Add sNaN tests.
11022
11023 [BZ #20226]
11024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11025 itself.
11026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11027 * math/libm-test.inc (exp_test_data): Add sNaN tests.
11028 (exp10_test_data): Likewise.
11029 (expm1_test_data): Likewise.
11030
11031 [BZ #20225]
11032 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11033 itself.
11034 * math/s_ldexpf.c (__ldexpf): Likewise.
11035 * math/s_ldexpl.c (__ldexpl): Likewise.
11036 * math/w_scalbln.c (__w_scalbln): Likewise.
11037 * math/w_scalblnf.c (__w_scalblnf): Likewise.
11038 * math/w_scalblnl.c (__w_scalblnl): Likewise.
11039 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11040 (scalbln_test_data): Likewise.
11041
11042 [BZ #20224]
11043 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11044 argument to itself.
11045 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11046
11047 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 [BZ #19776]
11050 * sysdeps/x86_64/memcpy.S: Make it dummy.
11051 * sysdeps/x86_64/mempcpy.S: Likewise.
11052 * sysdeps/x86_64/memmove.S: New file.
11053 * sysdeps/x86_64/memmove_chk.S: Likewise.
11054 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11055 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11056 * sysdeps/x86_64/memmove.c: Removed.
11057 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11058 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11059 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11060 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11061 Likewise.
11062 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11065 memcpy-sse2-unaligned, memmove-avx-unaligned,
11066 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11068 (__libc_ifunc_impl_list): Replace
11069 __memmove_chk_avx512_unaligned_2 with
11070 __memmove_chk_avx512_unaligned. Remove
11071 __memmove_chk_avx_unaligned_2. Replace
11072 __memmove_chk_sse2_unaligned_2 with
11073 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
11074 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
11075 with __memmove_avx512_unaligned. Replace
11076 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11077 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
11078 with __memcpy_chk_avx512_unaligned. Remove
11079 __memcpy_chk_avx_unaligned_2. Replace
11080 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11081 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
11082 Replace __memcpy_avx512_unaligned_2 with
11083 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
11084 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
11085 with __mempcpy_chk_avx512_unaligned. Remove
11086 __mempcpy_chk_avx_unaligned_2. Replace
11087 __mempcpy_chk_sse2_unaligned_2 with
11088 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
11089 Replace __mempcpy_avx512_unaligned_2 with
11090 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
11091 Replace __mempcpy_sse2_unaligned_2 with
11092 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
11093 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11094 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11095 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11096 if processor has ERMS. Default to __memcpy_sse2_unaligned.
11097 (ENTRY): Removed.
11098 (END): Likewise.
11099 (ENTRY_CHK): Likewise.
11100 (libc_hidden_builtin_def): Likewise.
11101 Don't include ../memcpy.S.
11102 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11103 __memcpy_chk_avx512_unaligned_erms and
11104 __memcpy_chk_avx512_unaligned. Use
11105 __memcpy_chk_avx_unaligned_erms and
11106 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11107 Default to __memcpy_chk_sse2_unaligned.
11108 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11109 Change function suffix from unaligned_2 to unaligned.
11110 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11111 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11112 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11113 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
11114 (ENTRY): Removed.
11115 (END): Likewise.
11116 (ENTRY_CHK): Likewise.
11117 (libc_hidden_builtin_def): Likewise.
11118 Don't include ../mempcpy.S.
11119 (mempcpy): New. Add a weak alias.
11120 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11121 __mempcpy_chk_avx512_unaligned_erms and
11122 __mempcpy_chk_avx512_unaligned. Use
11123 __mempcpy_chk_avx_unaligned_erms and
11124 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11125 Default to __mempcpy_chk_sse2_unaligned.
11126
11127 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
11128
11129 [BZ #19881]
11130 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11131 into ...
11132 * sysdeps/x86_64/memset.S: This.
11133 (__bzero): Removed.
11134 (__memset_tail): Likewise.
11135 (__memset_chk): Likewise.
11136 (memset): Likewise.
11137 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11138 defined.
11139 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11140 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11141 (__memset_zero_constant_len_parameter): Check SHARED instead of
11142 PIC.
11143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11144 memset-avx2 and memset-sse2-unaligned-erms.
11145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11146 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11147 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11148 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11149 (__bzero): Enabled.
11150 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11151 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11152 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
11153 or __memset_avx2_unaligned_erms if processor has ERMS. Support
11154 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11155 (memset): Removed.
11156 (__memset_chk): Likewise.
11157 (MEMSET_SYMBOL): New.
11158 (libc_hidden_builtin_def): Replace __memset_sse2 with
11159 __memset_sse2_unaligned.
11160 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11161 __memset_chk_sse2 and __memset_chk_avx2 with
11162 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11163 Use __memset_chk_sse2_unaligned_erms or
11164 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
11165 __memset_chk_avx512_unaligned_erms and
11166 __memset_chk_avx512_unaligned.
11167
11168 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11169
11170 * math/gen-auto-libm-test.c (fp_format_desc): remove
11171 suffix member.
11172 (output_generic_value): Remove usage of suffix member,
11173 and the resulting unuse of the fp_format argument.
11174 (output_for_one_input_case): Remove unused fp_format
11175 parameter.
11176
11177 * math/auto-libm-test-out: Regenerate.
11178
11179 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11180 usage with TEST_COND_ibm128.
11181 (TEST_COND_flt_32): Remove.
11182 (TEST_COND_dbl_64): Remove.
11183 (TEST_COND_ldbl_96_intel): Remove.
11184 (TEST_COND_ldbl_96_m68k): Remove.
11185 (TEST_COND_ldbl_128): Remove.
11186
11187 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11188
11189 * auto-libm-test-in:
11190 Replace flt-32 usage with binary32.
11191 Replace dbl-64 usage with binary64.
11192 Replace ldbl-intel-96 usage with intel96.
11193 Replace ldbl-m68k-96 usage with m68k96.
11194 Replace ldbl-128ibm usage with ibm128.
11195 Replace ldbl-128 usage with binary128.
11196
11197 * auto-libm-test-out: Regenerate.
11198
11199 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11200
11201 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11202 (parse_ulps): Dynamically generate type name matching
11203 string from all_floats.
11204 (get_ulps): Generate the ulps as an array instead.
11205 (output_ulps): Dynamically compose the type based
11206 on the number of supported formats, and print
11207 the indices as type specific helper macros.
11208
11209 * math/libm-test.inc: Remove comment about CHOOSE.
11210 (ulp_data): Generate the type in libm-test-ulps.h.
11211 (ULP_IDX): New macro.
11212 (find_ulps): Update usage of max_ulp.
11213
11214 * math/test-double-vlen2.h (CHOOSE): Remove.
11215 * math/test-double-vlen4.h (CHOOSE): Likewise.
11216 * math/test-double-vlen8.h (CHOOSE): Likewise.
11217 * math/test-float.c (CHOOSE): Likewise.
11218 * math/test-float-finite.c (CHOOSE): Likewise.
11219 * math/test-double.c (CHOOSE): Likewise.
11220 * math/test-double-finite.c (CHOOSE): Likewise.
11221 * math/test-idouble.c (CHOOSE): Likewise.
11222 * math/test-ifloat.c (CHOOSE): Likewise.
11223 * math/test-ildoubl.c (CHOOSE): Likewise.
11224 * math/test-ldouble-finite.c (CHOOSE): Likewise.
11225 * math/test-ldouble.c (CHOOSE): Likewise.
11226
11227 * math/test-float.h (TEST_FLOAT): Remove.
11228 * math/test-double.h (TEST_DOUBLE): Likewise.
11229 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11230
11231 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11232
11233 * math/gen-libm-test.pl: (apply_lit): New subroutine.
11234 (parse_args): Strip C suffix from floating point literals
11235 typed with 'f' and wrap them with LIT().
11236
11237 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11238 (test_ff_f_data_nexttoward): Rename to
11239 (test_fj_f_data): New struct.
11240 (nexttoward_test_data): Relabel tests as
11241 TEST_fj_f instead of TEST_ff_f.
11242
11243 2016-06-08 Florian Weimer <fweimer@redhat.com>
11244
11245 Emacs bug 23726.
11246 * malloc/malloc.c (dumped_main_arena_start): Update comment.
11247 (__libc_realloc): Correct size computation for dumped fake mmapped
11248 chunks.
11249
11250 2016-06-07 Joseph Myers <joseph@codesourcery.com>
11251
11252 [BZ #20219]
11253 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11254 to itself.
11255 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11256
11257 [BZ #20218]
11258 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11259 to itself.
11260 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11261
11262 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 [BZ #20195]
11265 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11266 check to ...
11267 (init_cpu_features): Here.
11268
11269 2016-06-07 Carlos O'Donell <carlos@redhat.com>
11270
11271 [BZ #20214]
11272 * sysdeps/unix/sysv/linux/bits/in.h
11273 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11274 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11275 Define to 1.
11276 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11277 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11278 Define to 0.
11279 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11280 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11281
11282 2016-06-06 Carlos O'Donell <carlos@redhat.com>
11283
11284 [BZ #20198]
11285 * stdlib/Makefile (tests): Add tst-quick_exit, and
11286 tst-thread-quick_exit.
11287 [ifeq ($(have-cxx-thread_local),yes)]
11288 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11289 (CFLAGS-tst-thread-quick_exit.o): Likewise.
11290 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11291 (LDLIBS-tst-thread-quick_exit): Likewise.
11292 [ifneq ($(have-cxx-thread_local),yes)]
11293 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11294 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11295 If run_dtors is true call __call_tls_dtors.
11296 (exit): Call __run_exit_handlers with run_dtors set to true.
11297 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11298 definition.
11299 * stdlib/quick_exit.c (quick_exit): Remove function.
11300 (__new_quick_exit): New function.
11301 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11302 function.
11303 * stdlib/tst-quick_exit.cc: New file.
11304 * stdlib/tst-thread-quick_exit.cc: New file.
11305 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11306 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11307 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11308 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11309 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11310 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11311 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11312 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11313 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11314 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11315 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11316 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11317 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11318 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11319 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11320 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11325 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11326 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11327 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11328 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11332 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11333 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11334 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11335
11336 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
11337
11338 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11339 a typo in comments.
11340
11341 2016-06-06 Joseph Myers <joseph@codesourcery.com>
11342
11343 [BZ #20213]
11344 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11345 argument to itself.
11346 * math/libm-test.inc (asin_test_data): Add sNaN tests.
11347
11348 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11349
11350 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11351 required flags.
11352 (CFLAGS-pwritev64.c): Likewise.
11353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11355 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11356 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11357 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11358 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11359 syscall from auto-generation.
11360 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11361 [WORDSIZE == 64] (pwritev64): Remove macro.
11362 [!PWRITEV] (PWRITEV): Likewise.
11363 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11364 [!PWRITEV] (PWRITE): Likewise.
11365 [!PWRITEV] (OFF_T): Likewise.
11366 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11367 (LO_HI_LONG): Remove macro.
11368 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11369 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11370 (PWRITEV): Remove macro.
11371 (PWRITEV_REPLACEMENTE): Likewise.
11372 (PWRITE): Likewise.
11373 (OFF_T): Likewise.
11374 (pwritev64): New function.
11375 * nptl/tst-cancel4.c (tf_writev): Add test.
11376
11377 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
11378 required flags.
11379 (CFLAGS-preadv64.c): Likewise.
11380 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
11381 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11382 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
11383 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
11384 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
11386 syscall from auto-generation.
11387 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
11388 [WORDSIZE == 64] (preadv64): Remove macro.
11389 [!PREADV] (PREADV): Likewise.
11390 [!PREADV] (PREADV_REPLACEMENT): Likewise.
11391 [!PREADV] (PREAD): Likewise.
11392 [!PREADV] (OFF_T): Likewise.
11393 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
11394 (LO_HI_LONG): Remove macro.
11395 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
11396 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
11397 (PREADV): Remove macro.
11398 (PREADV_REPLACEMENTE): Likewise.
11399 (PREAD): Likewise.
11400 (OFF_T): Likewise.
11401 (preadv64): New function.
11402 * nptl/tst-cancel4.c (tf_preadv): Add test.
11403
11404 2016-06-06 Joseph Myers <joseph@codesourcery.com>
11405
11406 [BZ #20212]
11407 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
11408 argument to itself.
11409 * math/libm-test.inc (acos_test_data): Add sNaN tests.
11410
11411 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11412
11413 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
11414 New symbol defined as libc_hidden_def.
11415 (strcasestr): Became a weak alias to __strcasestr.
11416 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
11417 according to multi-arch support. Move __stpncpy hidden
11418 definition from here to...
11419 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
11420 symbol stpncpy.
11421 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
11422 libc_hidden_builtin_def.
11423 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
11424 memset symbol to use when multi-arch support is available.
11425
11426 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
11427
11428 * dlfcn/tst-rec-dlopen.c: Include string.h.
11429
11430 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11431
11432 * manual/install.texi: Remove mention of --without-tls
11433 * INSTALL: Regenerate.
11434
11435 2016-06-05 Florian Weimer <fweimer@redhat.com>
11436
11437 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
11438 Remove.
11439 (call_function, interposed_malloc_called): New variables.
11440 (malloc): New function.
11441 (do_test): Do not change malloc hooks. Initialize malloc. Set
11442 and clear call_function as needed.
11443
11444 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
11445
11446 * include/wchar.h (__wmemset): Use __typeof.
11447
11448 2016-06-03 Carlos O'Donell <carlos@redhat.com>
11449
11450 * include/wchar.h (__wmemset): Declare function without typeof.
11451
11452 2016-06-03 Joseph Myers <joseph@codesourcery.com>
11453
11454 [BZ #20205]
11455 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
11456 exponent when incrementing negative subnormal with low mantissa
11457 word zero.
11458 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11459 Add another test.
11460
11461 2016-06-03 Florian Weimer <fweimer@redhat.com>
11462
11463 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
11464 __wmemset instead of wmemset.
11465
11466 2016-06-02 Carlos O'Donell <carlos@redhat.com>
11467
11468 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
11469 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
11470 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
11471 __USE_KERNEL_IPV6_DEFS to 0.
11472 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
11473 Update comment.
11474
11475 2016-06-01 Florian Weimer <fweimer@redhat.com>
11476
11477 [BZ #19861]
11478 Do not use IFUNC resolver with potentially unrelocated symbol.
11479 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
11480 (DEFINE_FORK): Remove macro and inline definition.
11481 (fork_alias): Renamed from fork_ifunc.
11482 (__fork_alias): Renamed from __fork_ifunc.
11483
11484 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11485
11486 [BZ 19653]
11487 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
11488 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
11489
11490 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11491
11492 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
11493 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
11494 i386-linux-gnu).
11495 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
11496 Set to no.
11497 * sysdeps/mach/hurd/configure: Refresh.
11498
11499 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11500
11501 [BZ #20178]
11502 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
11503 on failure instead of exit.
11504
11505 2016-05-30 Roland McGrath <roland@hack.frob.com>
11506
11507 [BZ #3629]
11508 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
11509 of POSIX.1-2008.
11510
11511 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11512
11513 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
11514 Use PLT entry for calling _hurd_self_sigstate.
11515
11516 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
11517
11518 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
11519 available logical processors with SMT level type sharing L2
11520 cache for Intel processors.
11521
11522 2016-05-27 Joseph Myers <joseph@codesourcery.com>
11523
11524 [BZ #20160]
11525 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
11526 argument to itself before returning the result.
11527 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11528 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11529 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11531 Likewise.
11532 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11533 Likewise.
11534 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
11535 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
11536 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11537 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11538 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11539 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11540
11541 [BZ #20160]
11542 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
11543 argument to itself before returning the result.
11544 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11545 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11546 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
11548 Likewise.
11549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11550 Likewise.
11551 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
11552 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
11553 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
11554 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11555 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11556 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11557
11558 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11559
11560 * libm-test.inc: Replace usage of M_El with
11561 (lit_e): New macro.
11562
11563 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11564
11565 * libm-test.inc: Replace usage of M_PI_4l with
11566 (lit_pi_4_d): New macro.
11567
11568 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11569
11570 * libm-test.inc: Replace usage of M_PIl with
11571 (lit_pi): New macro.
11572
11573 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11574
11575 * libm-test.inc: Replace usage of M_PI2l with
11576 (lit_pi_2_d): New macro.
11577
11578 * math/test-double.h (LITM): New macro.
11579 * math/test-float.h (LITM): Likewise.
11580 * math/test-ldouble.h (LITM): Likewise.
11581
11582 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11583
11584 * libm-test.inc (M_PI_34l): Rename to
11585 (lit_pi_3_m_4_d): New Macro.
11586 (M_PI_34_LOG10El): Rename to
11587 (lit_pi_3_m_4_ln10_m_d): New Macro.
11588 (M_PI2_LOG10El): Rename to
11589 (lit_pi_2_ln10_m_d): New Macro.
11590 (M_PI4_LOG10El): Rename to
11591 (lit_pi_4_ln10_m_d): New Macro.
11592 (M_PI_LOG10El): Rename to
11593 (lit_pi_ln10_d): New Macro.
11594
11595 2016-05-27 Joseph Myers <joseph@codesourcery.com>
11596
11597 [BZ #20157]
11598 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
11599 determine whether to negate low half if [_ARCH_PPCGR], and integer
11600 comparison otherwise.
11601 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
11602 determine whether to negate low half.
11603
11604 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
11605 (NO_TEST_INLINE_DOUBLE): Likewise.
11606 (TEST_COND_x86_64): Likewise.
11607 (TEST_COND_x86): Likewise.
11608 (M_PI_6l): Likewise.
11609
11610 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11611
11612 * math/libm-test.inc:
11613 (TEST_FLOAT): Change usage to TEST_COND_binary32.
11614 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
11615 (TEST_LDOUBLE): Update usage to evaluate as true if
11616 the guarded tests match the property being tested.
11617 (LDBL_MAX_EXP): Change to MAX_EXP.
11618 (LDBL_MIN_EXP): Change to MIN_EXP.
11619 (LDBL_MANT_DIG): Change to MANT_DIG, except for
11620 nexttoward tests.
11621
11622 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11623
11624 * math/libm-test.inc:
11625 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
11626 (TYPE_MIN): Likewise.
11627 (TYPE_TRUE_MIN): Likewise.
11628 (TYPE_MAX): Likewise.
11629 (MIN_EXP): Likewise.
11630 (MAX_EXP): Likewise.
11631 (MANT_DIG): Likewise.
11632
11633 (FSTR_MAX): New macro.
11634 (__CONCATX): Likewise.
11635 (QTYPE_STR): Likewise.
11636 (TEST_COND_binary32): Likewise.
11637 (TEST_COND_binary64): Likewise.
11638 (TEST_COND_binary128): Likewise.
11639 (TEST_COND_ibm128): Likewise.
11640 (TEST_COND_intel96): Likewise.
11641 (TEST_COND_m68k96): Likewise.
11642
11643 (TEST_COND_flt_32): Redefine as equivalent format test macro.
11644 (TEST_COND_dbl_64): Likewise.
11645 (TEST_COND_ldbl_96_intel): Likewise.
11646 (TEST_COND_ldbl_96_m68k): Likewise.
11647 (TEST_COND_ldbl_128): Likewise.
11648 (TEST_COND_ldbl_128ibm): Likewise.
11649
11650 (plus_zero): Redefine using LIT macro.
11651 (minus_zero): Likewise.
11652 (plus_infty): Redefine as (INF).
11653 (minux_infty): Redefine as (-INF).
11654 (max_value): Redefine as TYPE_MAX.
11655 (min_value): Redefine as TYPE_MIN.
11656 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
11657
11658 (print_float): Refactor to use snprintf to convert FLOAT values
11659 to string. This brings it closer to dropin replacement of strtof
11660 for the TS 18661 defined types.
11661 (update_stats): Likewise.
11662 (print_complex_function_ulps): Likewise.
11663 (print_max_error): Likewise.
11664 (print_complex_max_error): Likewise.
11665 (check_float_internal): Likewise.
11666
11667 * math/test-float.h (PREFIX): New macro.
11668 (LIT): Likewise.
11669 (TYPE_STR): Likewise.
11670 (FTOSTR): Likewise.
11671
11672 * math/test-double.h (PREFIX): New macro.
11673 (LIT): Likewise.
11674 (TYPE_STR): Likewise.
11675 (FTOSTR): Likewise.
11676
11677 * math/test-ldouble.h (PREFIX): New macro.
11678 (LIT): Likewise.
11679 (TYPE_STR): Likewise.
11680 (FTOSTR): Likewise.
11681
11682 2016-05-27 Joseph Myers <joseph@codesourcery.com>
11683
11684 [BZ #20156]
11685 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
11686 to itself when zero or not finite.
11687 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11691
11692 2016-05-26 Joseph Myers <joseph@codesourcery.com>
11693
11694 [BZ #20153]
11695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
11696 x * x + x for infinities and NaNs.
11697
11698 [BZ #20151]
11699 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
11700 argument to itself before returning result.
11701 (__ieee754_y0l): Likewise.
11702 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11703 (__ieee754_y1l).
11704
11705 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
11706 (atan_test_data): Likewise.
11707 (ceil_test_data): Likewise.
11708 (cos_test_data): Likewise.
11709 (cosh_test_data): Likewise.
11710 (erf_test_data): Likewise.
11711 (exp2_test_data): Likewise.
11712 (fabs_test_data): Likewise.
11713 (floor_test_data): Likewise.
11714 (ilogb_test_data): Likewise.
11715 (j0_test_data): Likewise.
11716 (j1_test_data): Likewise.
11717 (jn_test_data): Likewise.
11718 (lgamma_test_data): Likewise.
11719 (lrint_test_data): Likewise.
11720 (llrint_test_data): Likewise.
11721 (logb_test_data): Likewise.
11722 (lround_test_data): Likewise.
11723 (llround_test_data): Likewise.
11724 (nearbyint_test_data): Likewise.
11725 (rint_test_data): Likewise.
11726 (round_test_data): Likewise.
11727 (sin_test_data): Likewise.
11728 (sincos_test_data): Likewise.
11729 (sinh_test_data): Likewise.
11730 (sqrt_test_data): Likewise.
11731 (tan_test_data): Likewise.
11732 (tanh_test_data): Likewise.
11733 (tgamma_test_data): Likewise.
11734 (trunc_test_data): Likewise.
11735 (y0_test_data): Likewise.
11736 (y1_test_data): Likewise.
11737 (yn_test_data): Likewise.
11738
11739 * math/libm-test.inc: Update comment about NaN testing.
11740 (TEST_SNAN): New macro.
11741 (snan_value): Likewise.
11742 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
11743 (fpclassify_test_data): Add sNaN tests.
11744 (isfinite_test_data): Likewise.
11745 (isinf_test_data): Likewise.
11746 (isnan_test_data): Likewise.
11747 (isnormal_test_data): Likewise.
11748 (issignaling_test_data): Likewise.
11749 (signbit_test_data): Likewise.
11750 * math/gen-libm-test.pl (%beautify): Add snan_value.
11751 (show_exceptions): Add argument $test_snan.
11752 (parse_args): Handle snan_value as non-finite. Update call to
11753 show_exceptions.
11754 * math/Makefile (libm-test-no-inline-cflags): Add
11755 -fsignaling-nans.
11756
11757 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11758
11759 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
11760 (CFLAGS-oldsendmsg.c): Add rule.
11761 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11762 Correct recvmsg symbol name.
11763 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
11764 Likewise.
11765
11766 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11767
11768 * sysdeps/unix/sysv/linux/Makefile
11769 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
11770 oldsendmmsg.
11771 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
11772 sendmmsg.
11773 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11776 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11781 Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
11784 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11785 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
11786 iovlen and controllen fields to adjust to POSIX specification.
11787 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11788
11789 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
11790 and change to correct expected type.
11791 (msghdr.msg_controllen): Likewise.
11792 (cmsghdr.cmsg_len): Likewise.
11793 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
11794 expected POSIX assumption about the size.
11795 (msghdr.msg_controllen): Likewise.
11796 (msghdr.__glibc_reserved1): Likewise.
11797 (msghdr.__glibc_reserved2): Likewise.
11798 (cmsghdr.cmsg_len): Likewise.
11799 (cmsghdr.__glibc_reserved1): Likewise.
11800 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
11801 Add ptw-oldrecvmsg and ptw-oldsendmsg.
11802 (CFLAGS-sendmsg.c): Remove rule.
11803 (CFLAGS-recvmsg.c): Likewise.
11804 (CFLAGS-oldsendmsg.c): Add rule.
11805 (CFLAGS-oldrecvmsg.c): Likewise.
11806 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
11807 recvmsg and sendmsg.
11808 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
11809 Likewise.
11810 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
11811 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
11812 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11813 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
11814 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11815 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11816 Likewise.
11817 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11818 Likewise.
11819 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
11820 Likewise.
11821 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
11822 Likewise.
11823 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11824 Likewise.
11825 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11826 Likewise.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
11828 (GLIBC_2.24): Likewise.
11829 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11830 Likewise.
11831 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11832 Likewise.
11833 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11834 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11835 Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11837 Likewise.
11838 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11839 Likewise.
11840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
11841 (GLIBC_2.24): Likewise.
11842 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
11843 Likewise.
11844 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
11845 Likewise.
11846 * sysdeps/unix/sysv/linux/Makefile
11847 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
11848 (CFLAGS-sendmsg.c): Add rule.
11849 (CFLAGS-recvmsg.c): Likewise.
11850 (CFLAGS-oldsendmsg.c): Likewise.
11851 (CFLAGS-oldrecvmsg.c): Likewise.
11852 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
11853 initialization.
11854 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11855 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11856 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
11857 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11858 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
11859 iovlen and controllen fields to adjust to POSIX specification.
11860 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
11861 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
11862 added recvmsg and sendmsg.
11863 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11866 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11867 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11868 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11869 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11870 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11871 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11872 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11873 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11874 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11876 Likewise.
11877 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11879 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11880 Likewise.
11881 Likewise.
11882 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11883 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11889 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11894
11895 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
11896 from auto-generation.
11897 (sendmsg): Likewise.
11898 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
11899 (sendmsg): Likewise.
11900 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
11901 (sendmsg): Likewise.
11902 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
11903 (sendmsg): Likewise.
11904 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
11905 (sendmsg): Likewise.
11906 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
11907 (sendmsg): Likewise.
11908 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
11909 Likewise.
11910 (sendmsg): Likewise.
11911 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
11912 (sendmsg): Likewise.
11913 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11914 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11915 Remove.
11916 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11917 Likewise.
11918 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11919 Undefine.
11920 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11921 Likewise.
11922 * sysdeps/unix/sysv/linux/kernel-features.h
11923 (__ASSUME_SENDMSG_SYSCALL): Define.
11924 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11925 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11926 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11927 Remove.
11928 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11929 Likewise.
11930 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11931 Undefine.
11932 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11933 Likewise.
11934 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11935 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11936 Remove.
11937 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11938 Likewise.
11939 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11940 Undefine.
11941 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11942 Likewise.
11943 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11944 (__ASSUME_SENDMSG_SYSCALL): Undefine.
11945 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11946 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11947 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11948 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11949 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11950 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11951 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11952
11953 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11954
11955 * stdlib/gen-tst-strtod-round.c: Add backslash to
11956 compile command in comment.
11957 (printfp): Remove the literal suffix, and define an infinite
11958 value as INF to avoid expansion clash with INFINITY.
11959 (round_str): Remove the literal suffix.
11960 (round_for_all): Likewise, remove the now duplicate ldbl-64
11961 entry, and remove some magic constants.
11962
11963 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
11964 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
11965 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
11966 (_CONCAT): New macro.
11967 (CONCAT): Likewise.
11968 (CHOOSE_ld): Likewise.
11969 (CHOOSE_f): Likewise.
11970 (CHOOSE_d): Likewise.
11971 (FTYPE_MEMBER): Likewise.
11972 (BOOL_MEMBER): Likewise.
11973 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
11974 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
11975 (_XNTRY): Likewise.
11976 (XNTRY): Likewise.
11977 (_ENTRY): Likewise.
11978 (ENTRY): Likewise.
11979 (test_exactness): Generate members via macro.
11980 (test_results): Likewise.
11981 (test): Update members.
11982 (TEST): Redefine using new macros.
11983 (INF): New macro.
11984 (fetestmodes): New structure.
11985 (do_test): Refactor to be type generic.
11986 (test_in_one_mode): Refactor duplicate code into
11987 (GEN_ONE_TEST): New macro.
11988
11989 * stdlib/tst-strtod-round-data.h: Regenerate.
11990
11991 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
11992 Extend to pass additional arbitrary parameters to
11993 generators.
11994
11995 2016-05-25 Joseph Myers <joseph@codesourcery.com>
11996
11997 [BZ #15479]
11998 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
11999 floating-point state after first floating-point operation on
12000 input. Restore full floating-point state instead of just rounding
12001 mode.
12002 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12003 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12004 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12005 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12006 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12007
12008 [BZ #15479]
12009 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12010 floating-point state after first floating-point operation on
12011 input. Restore full floating-point state instead of just rounding
12012 mode.
12013 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12014 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12015 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12016 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12017 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12018
12019 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12020
12021 [BZ #19727]
12022 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12023 valid high surrogate.
12024 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12025 of an utf16 surrogate.
12026 * iconv/gconv_simple.c (BODY): Likewise.
12027 * iconvdata/bug-iconv12.c: New file.
12028 * iconvdata/Makefile (tests): Add bug-iconv12.
12029
12030 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12031
12032 [BZ #19726]
12033 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12034 outptrp in case of an illegal input.
12035 * iconv/tst-iconv6.c: New file.
12036 * iconv/Makefile (tests): Add tst-iconv6.
12037
12038 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12039
12040 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12041 an error in case of a value in range of an utf16 low surrogate.
12042
12043 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12044
12045 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12046 an error in case of a value in range of an utf16 low surrogate.
12047
12048 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12049
12050 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12051 Move to ...
12052 * sysdeps/s390/Makefile: ... here.
12053 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12054 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12055 (BRANCH_ON_COUNT): New define.
12056 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12057 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12058 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12059 run on s390-32, too.
12060 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12061 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12062 run on s390-32, too.
12063 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12064 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12065 run on s390-32, too.
12066
12067 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12068
12069 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12070 etf3eh or new vector loop-variant.
12071
12072 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12073
12074 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12075 etf3eh or new vector loop-variant.
12076
12077 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12078
12079 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12080 or new vector loop-variant.
12081
12082 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12083
12084 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12085 Rename to TR_LOOP and usage of tr instead of troo instruction.
12086
12087 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12088
12089 * sysdeps/s390/multiarch/gconv_simple.c: New File.
12090 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12091
12092 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12093
12094 * sysdeps/s390/multiarch/8bit-generic.c: New File.
12095 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12096 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12097 New override define.
12098 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12099
12100 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12101
12102 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12103 * sysdeps/s390/configure.ac: Add test for S390 vector register
12104 support in gcc.
12105 * sysdeps/s390/configure: Regenerated.
12106
12107 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12108
12109 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12110 Install file from $(objpfx)gconv-modules.
12111 ($(objpfx)gconv-modules): Concatenate architecture specific file
12112 in variable sysdeps-gconv-modules and gconv-modules in src dir.
12113 * sysdeps/s390/gconv-modules: New file.
12114 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12115 Deleted.
12116 ($(objpfx)gconv-modules-s390): Deleted.
12117 (sysdeps-gconv-modules): New variable.
12118
12119 2016-05-24 Joseph Myers <joseph@codesourcery.com>
12120
12121 [BZ #15479]
12122 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12123 of immediate operand to rounding instruction.
12124 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12125 Likewise.
12126 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12127 Likewise.
12128 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12129 Likewise.
12130
12131 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12132
12133 * math/libm-test.inc (MIN_EXP): Directly define as
12134 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12135
12136 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12137
12138 * math/libm-test.inc (MANT_DIG): Directly define as
12139 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12140
12141 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12142
12143 * stdlib/gen-tst-strtod-round.c (main):
12144 Change usage to more closely match the generated
12145 output. Add usage and compilation instructions.
12146 (string_to_fp): Add and use FILE* parameter as
12147 output target.
12148 (print_fp): Likewise.
12149 (round_str): Likewise.
12150 (round_for_all): Likewise.
12151 * stdlib/tst-strtod-round.c (tests): Move into
12152 * stdlib/tst-strtod-round-data.h: New file.
12153
12154 2016-05-24 Joseph Myers <joseph@codesourcery.com>
12155
12156 [BZ #15479]
12157 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12158 (__round): Do not force "inexact" exception.
12159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12160 variable.
12161 (__round): Do not force "inexact" exception.
12162 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12163 (__roundf): Do not force "inexact" exception.
12164 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12165 (__roundl): Do not force "inexact" exception.
12166 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12167 (__roundl): Do not force "inexact" exception.
12168 * math/libm-test.inc (round_test_data): Do not allow spurious
12169 "inexact" exceptions.
12170
12171 [BZ #15479]
12172 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12173 exception in comment.
12174 (huge): Remove variable.
12175 (__floor): Do not force "inexact" exception.
12176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12177 "inexact" exception in comment.
12178 (huge): Remove variable.
12179 (__floor): Do not force "inexact" exception.
12180 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12181 exception in comment.
12182 (huge): Remove variable.
12183 (__floorf): Do not force "inexact" exception.
12184 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12185 exception in comment.
12186 (huge): Remove variable.
12187 (__floorl): Do not force "inexact" exception.
12188
12189 [BZ #15479]
12190 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12191 exception in comment.
12192 (huge): Remove variable.
12193 (__ceil): Do not force "inexact" exception.
12194 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12195 "inexact" exception in comment.
12196 (huge): Remove variable.
12197 (__ceil): Do not force "inexact" exception.
12198 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12199 (__ceilf): Do not force "inexact" exception.
12200 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12201 exception in comment.
12202 (huge): Remove variable.
12203 (__ceill): Do not force "inexact" exception.
12204
12205 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
12206
12207 * config.h.in (BIND_NOW): New.
12208 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
12209 * configure: Regenerated.
12210 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12211 indirect branch via the GOT slot.
12212
12213 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12214
12215 [BZ #19765]
12216 * sysdeps/s390/mempcpy.S: New File.
12217 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12218 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12219 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12220 Add mempcpy variants.
12221 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12222 (memcpy): Adjust to be usable from mempcpy entry point.
12223 (__memcpy_mvcle): Likewise.
12224 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12225 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12226 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12227 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12228 (__memcpy_z10): Likewise.
12229 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12230
12231 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12232
12233 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12234 Remove __GI_ symbol.
12235 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12236 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12237 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12238 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12239 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12240 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12241
12242 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12243
12244 * sysdeps/s390/s390-64/memcpy.S (memcpy):
12245 Use cghi instead of chi to compare 64bit value.
12246
12247 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12248
12249 * sysdeps/s390/s390-32/memcpy.S (memcpy):
12250 Jump to 1MB check before executing mvc-loop.
12251
12252 2016-05-24 Florian Weimer <fweimer@redhat.com>
12253
12254 [BZ #6527]
12255 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12256 unconditionally.
12257 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12258
12259 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12260
12261 * stdlib/tst-strtod6.c (do_test): Use new type generic
12262 invocation of the test function.
12263 (test): Refactor into ...
12264 (TEST_STRTOD): New macro base function.
12265
12266 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12267
12268 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12269 (TEST_STRTOD): New macro.
12270 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12271
12272 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12273
12274 * stdlib/tst-strtod6.c (do_test): Use new type generic
12275 invocation of the test function.
12276 (test): Refactor into ...
12277 (TEST_STRTOD): New macro base function.
12278
12279 2016-05-23 Florian Weimer <fweimer@redhat.com>
12280
12281 CVE-2016-4429
12282 [BZ #20112]
12283 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12284 payload.
12285
12286 2016-05-23 Florian Weimer <fweimer@redhat.com>
12287
12288 [BZ #20111]
12289 * bits/sockaddr.h (_SS_SIZE): Define.
12290 * bits/socket.h (_SS_SIZE): Remove.
12291 (_SS_PADSIZE): Adjust to account for all padding.
12292 (struct sockaddr_storage): Update comment. Avoid implicit
12293 padding.
12294 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12295 (_SS_PADSIZE): Adjust to account for all padding.
12296 (struct sockaddr_storage): Update comment. Avoid implicit
12297 padding.
12298 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12299 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12300 (_SS_PADSIZE): Adjust to account for all padding.
12301 (struct sockaddr_storage): Update comment. Avoid implicit
12302 padding.
12303 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12304 __SS_SIZE is 126 in this version.
12305 * inet/tst-sockaddr.c: New file.
12306 * inet/Makefile (tests): Add tst-sockaddr.c
12307 (tst-sockaddr.c): Compile with non-strict aliasing.
12308
12309 2016-05-23 Joseph Myers <joseph@codesourcery.com>
12310
12311 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12312 [XPG3 || XPG4].
12313 (NL_ARGMAX): Also expect for [XPG3].
12314 (NL_LANGMAX): Likewise.
12315 (NL_MSGMAX): Likewise.
12316 (NL_NMAX): Likewise.
12317 (NL_SETMAX): Likewise.
12318 (NL_TEXTMAX): Likewise.
12319 (NZERO): Likewise.
12320 (TMP_MAX): Likewise.
12321 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12322 variable.
12323
12324 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12325 (PF_MAX): Update value.
12326 (AF_KCM): New macro.
12327 (SOL_NETBEUI): Likewise.
12328 (SOL_LLC): Likewise.
12329 (SOL_DCCP): Likewise.
12330 (SOL_NETLINK): Likewise.
12331 (SOL_TIPC): Likewise.
12332 (SOL_RXRPC): Likewise.
12333 (SOL_PPPOL2TP): Likewise.
12334 (SOL_BLUETOOTH): Likewise.
12335 (SOL_PNPIPE): Likewise.
12336 (SOL_RDS): Likewise.
12337 (SOL_IUCV): Likewise.
12338 (SOL_CAIF): Likewise.
12339 (SOL_ALG): Likewise.
12340 (SOL_NFC): Likewise.
12341 (SOL_KCM): Likewise.
12342 (MSG_BATCH): New enum value and macro.
12343
12344 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
12345
12346 [BZ #18185]
12347 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12348 sharing L2 cache to 2 for Knights Landing.
12349
12350 2016-05-20 Joseph Myers <joseph@codesourcery.com>
12351
12352 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12353 (FTW_DP): Do not expect for [XPG3 || XPG4].
12354 (FTW_SL): Do not expect for [XPG3].
12355 (FTW_SLN): Likewise.
12356 (FTW_PHYS): Likewise.
12357 (FTW_MOUNT): Likewise.
12358 (FTW_DEPTH): Likewise.
12359 (FTW_CHDIR): Likewise.
12360 (nftw): Likewise.
12361 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12362 variable.
12363
12364 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
12365
12366 * manual/errno.texi: Fix various typos & grammar errors.
12367
12368 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
12369
12370 * manual/intro.texi: Fix duplicated typo.
12371
12372 2016-05-19 Joseph Myers <joseph@codesourcery.com>
12373
12374 [BZ #13304]
12375 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
12376 <float.h>, <math_private.h> and <stdlib.h>.
12377 (add_split): New function.
12378 (mul_split): Likewise.
12379 (ext_val): New typedef.
12380 (store_ext_val): New function.
12381 (mul_ext_val): New function.
12382 (compare): New function.
12383 (add_split_ext): New function.
12384 (__fmal): After checking for Inf, NaN and zero, compute result as
12385 an exact sum of scaled double values in round-to-nearest before
12386 adding those up and adjusting for other rounding modes.
12387 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
12388 tests of fma.
12389 * math/auto-libm-test-out: Regenerated.
12390
12391 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
12392
12393 [BZ #20119]
12394 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
12395 processor level type mask for CPUID with EAX == 11.
12396
12397 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
12398
12399 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
12400 logical threads if the HTT bit is 0.
12401 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
12402 (index_cpu_HTT): Likewise.
12403 (reg_HTT): Likewise.
12404
12405 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
12406
12407 [BZ #20115]
12408 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
12409 Remove alignments on jump targets.
12410
12411 2016-05-19 Joseph Myers <joseph@codesourcery.com>
12412
12413 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
12414 (getpwent): Likewise.
12415 (setpwent): Likewise.
12416 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
12417 variable.
12418
12419 * conform/data/search.h-data (insque): Do not expect for [XPG3].
12420 (remque): Likewise.
12421 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
12422 variable.
12423
12424 2016-05-18 Joseph Myers <joseph@codesourcery.com>
12425
12426 * math/libm-test.inc: Update comment not to refer to signs of NaNs
12427 not being tested.
12428
12429 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12432 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
12433 call.
12434 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12435 (__condvar_cleanup1): Likewise.
12436
12437 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
12438
12439 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
12440 New
12441 (__pthread_unwind): Renamed to ...
12442 (PTHREAD_UNWIND): This.
12443 (__pthread_enable_asynccancel): Replace
12444 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
12445
12446 2016-05-18 Joseph Myers <joseph@codesourcery.com>
12447
12448 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
12449 (CLONE_NEWCGROUP): New macro.
12450
12451 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
12452 (Q_GETNEXTQUOTA): New macro.
12453
12454 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 [BZ #19907]
12457 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
12458 buffer updated by the previous run.
12459 * string/test-memcpy.c (do_one_test): Likewise.
12460 * benchtests/bench-memmove.c (do_one_test): Add a comment.
12461 * string/test-memmove.c (do_one_test): Likewise.
12462
12463 2016-05-17 Joseph Myers <joseph@codesourcery.com>
12464
12465 [BZ #20094]
12466 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
12467 not [__USE_XOPEN].
12468 (unlockpt): Likewise.
12469 (ptsname): Likewise.
12470 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
12471 variable.
12472
12473 [BZ #20076]
12474 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
12475 instead of [__USE_UNIX98].
12476 (S_ISSOCK): Likewise.
12477 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
12478 variable.
12479
12480 [BZ #20074]
12481 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
12482 [__USE_POSIX].
12483 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
12484 variable.
12485
12486 [BZ #20051]
12487 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
12488 (ttyslot): Do not declare.
12489 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
12490 (ttyslot): New prototype.
12491 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
12492 variable.
12493 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12494
12495 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12496
12497 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
12498
12499 2016-05-13 Florian Weimer <fweimer@redhat.com>
12500
12501 Fix race condition in tst-mallocfork2, use fewer resources.
12502 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
12503 to current process group.
12504 (signal_sender): Yield in the non-sleeping case.
12505
12506 2016-05-13 Joseph Myers <joseph@codesourcery.com>
12507
12508 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
12509 (ecvt): Likewise.
12510 (fcvt): Likewise.
12511 (gcvt): Likewise.
12512 (getsubopt): Likewise.
12513 (grantpt): Likewise.
12514 (initstate): Likewise.
12515 (l64a): Likewise.
12516 (mktemp): Likewise.
12517 (mkstemp): Likewise.
12518 (ptsname): Likewise.
12519 (random): Likewise.
12520 (realpath): Likewise.
12521 (setstate): Likewise.
12522 (srandom): Likewise.
12523 (ttyslot): Likewise.
12524 (unlockpt): Likewise.
12525 (valloc): Likewise.
12526
12527 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
12528 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
12529 variable.
12530
12531 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
12532
12533 [BZ #20072]
12534 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
12535 init_cpu_features only if SHARED is defined.
12536 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
12537
12538 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
12539
12540 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
12541 non-inclusive caches on Intel processors.
12542
12543 2016-05-13 Florian Weimer <fweimer@redhat.com>
12544
12545 * malloc/malloc.c (dumped_main_arena_start)
12546 (dumped_main_arena_end): New variables.
12547 (DUMPED_MAIN_ARENA_CHUNK): New macro.
12548 (do_check_chunk): Skip dumped fake mmapped chunks.
12549 (munmap_chunk): Likewise.
12550 (__libc_free): Do not adjust statistics for fake mmapped chunks.
12551 (__libc_realloc): Adjust hardening check. Always copy dumped fake
12552 mmapped chunks.
12553 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
12554 Mark dumped chunks as using mmap. Update dumped_main_arena_start
12555 and dumped_main_arena_end to cover the dumped heap.
12556
12557 2016-05-12 Joseph Myers <joseph@codesourcery.com>
12558
12559 * conform/data/time.h-data (getdate_err): Do not expect for
12560 [XPG3].
12561 (getdate): Likewise.
12562 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
12563 variable.
12564
12565 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
12566 (F_ULOCK): Likewise.
12567 (F_TEST): Likewise.
12568 (F_TLOCK): Likewise.
12569 (useconds_t): Likewise.
12570 (intptr_t): Do not expect for [XPG3] or [XPG4].
12571 (brk): Do not expect for [XPG3]
12572 (fchown): Likewise.
12573 (fchdir): Likewise.
12574 (ftruncate): Likewise.
12575 (getdtablesize): Likewise.
12576 (gethostid): Likewise.
12577 (getpagesize): Likewise.
12578 (getpgid): Likewise.
12579 (getsid): Likewise.
12580 (getwd): Likewise.
12581 (lchown): Likewise.
12582 (lockf): Likewise.
12583 (readlink): Likewise.
12584 (sbrk): Likewise.
12585 (setpgrp): Likewise.
12586 (setregid): Likewise.
12587 (setreuid): Likewise.
12588 (symlink): Likewise.
12589 (sync): Likewise.
12590 (truncate): Likewise.
12591 (ualarm): Likewise.
12592 (usleep): Likewise.
12593 (vfork): Likewise.
12594 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
12595 variable.
12596
12597 [BZ #20054]
12598 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
12599 not [__USE_UNIX98].
12600 * conform/data/unistd.h-data (gethostname): Do not expect for
12601 [XPG3].
12602
12603 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
12604 [!POSIX] (S_IFBLK): Likewise.
12605 [!POSIX] (S_IFCHR): Likewise.
12606 [!POSIX] (S_IFIFO): Likewise.
12607 [!POSIX] (S_IFREG): Likewise.
12608 [!POSIX] (S_IFDIR): Likewise.
12609 [!POSIX] (S_IFLNK): Likewise.
12610 [!POSIX] (S_IFSOCK): Likewise.
12611 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
12612 variable.
12613 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12614
12615 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
12616
12617 * sysdeps/aarch64/memset.S (__memset):
12618 Rewrite of optimized memset.
12619
12620 2016-05-12 Florian Weimer <fweimer@redhat.com>
12621
12622 [BZ #19703]
12623 Partially async-signal-safe fork for single-threaded processes.
12624 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
12625 variable. Do not acquire and reset/release malloc and libio locks
12626 in single-threaded processes.
12627 * malloc/tst-mallocfork2.c: New file.
12628 * malloc/Makefile (tests): Add it.
12629
12630 2016-05-12 Florian Weimer <fweimer@redhat.com>
12631
12632 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
12633 argument. Use scratch buffer instead of extend_alloca.
12634 (gethosts): Use scratch buffer instead of extend_alloca.
12635 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
12636 extend_alloca.
12637 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
12638
12639 2016-05-11 Joseph Myers <joseph@codesourcery.com>
12640
12641 [BZ #20055]
12642 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
12643 instead of [__USE_UNIX98].
12644 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
12645 [__USE_UNIX98].
12646 * conform/data/termios.h-data (tcgetsid): Do not expect for
12647 [XPG3].
12648 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
12649 variable.
12650 (test-xfail-XPG4/termios.h/conform): Likewise.
12651
12652 2016-05-11 Florian Weimer <fweimer@redhat.com>
12653
12654 Do not use mcheck in localedef.
12655 * locale/programs/localedef.c (turn_on_mcheck)
12656 (__malloc_initialize_hook): Remove.
12657
12658 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12659
12660 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
12661 * sysdeps/s390/s390-64/Makefile: Likewise.
12662
12663 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
12666 Remove ifunc-defines.sym.
12667 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
12668 Likewise.
12669 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
12670 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12671 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
12672 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
12673 rtld-global-offsets.sym.
12674 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
12675 * sysdeps/x86/cpu-features-offsets.sym: This.
12676 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
12677 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
12678
12679 2016-05-10 Joseph Myers <joseph@codesourcery.com>
12680
12681 [BZ #20073]
12682 * io/sys/stat.h (fchmod): Declare for
12683 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
12684 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
12685 variable.
12686
12687 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
12688 [XPG3] (S_IFSOCK): Likewise.
12689 [XPG3] (S_ISVTX): Likewise.
12690 [XPG3] (S_ISLNK): Likewise.
12691 [XPG3] (S_ISSOCK): Likewise.
12692 [XPG3] (fchmod): Likewise.
12693 [XPG3] (lstat): Likewise.
12694 [XPG3] (mknod): Likewise.
12695
12696 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
12697 [XPG3]. Expect type long and XFAIL for [XPG4].
12698 (st_blocks): Likewise.
12699
12700 [BZ #20044]
12701 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
12702 (pthread_atfork): New prototype.
12703 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
12704 variable.
12705
12706 [BZ #20043]
12707 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
12708 prototype.
12709
12710 2016-05-10 Florian Weimer <fweimer@redhat.com>
12711
12712 [BZ #20017]
12713 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
12714 gmtime.
12715
12716 2016-05-10 Florian Weimer <fweimer@redhat.com>
12717
12718 [BZ #19994]
12719 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
12720 flag in _res.options.
12721
12722 2016-05-09 Joseph Myers <joseph@codesourcery.com>
12723
12724 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
12725 [XPG3 || XPG4].
12726 (blksize_t): Likewise.
12727 (clockid_t): Likewise.
12728 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
12729 variable.
12730 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12731
12732 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
12733
12734 * sysdeps/unix/sysv/linux/s390/init-first.c:
12735 Add VDSO_SYMBOL(getcpu).
12736 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
12737 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
12738 Add VDSO_SYMBOL(getcpu).
12739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
12740 New define HAVE_GETCPU_VSYSCALL.
12741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12742
12743 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
12744
12745 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
12746 instead of <sysdeps/x86_64/cacheinfo.c>.
12747 * sysdeps/x86_64/cacheinfo.c: Moved to ...
12748 * sysdeps/x86/cacheinfo.c: Here.
12749
12750 2016-05-04 Florian Weimer <fweimer@redhat.com>
12751
12752 * malloc/malloc-internal.h: Adjust header file guard.
12753
12754 2016-05-04 Florian Weimer <fweimer@redhat.com>
12755
12756 [BZ #19787]
12757 * inet/getnameinfo.c (check_sprintf_result): New function.
12758 (CHECKED_SNPRINTF): New macro.
12759 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
12760 to the host buffer.
12761 (gni_host_local): Use checked_copy to copy the host name.
12762 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
12763 (gni_serv_local): Use checked_copy to copy the service name.
12764 (getnameinfo): Remove unnecessary truncation of result buffers.
12765
12766 2016-05-04 Florian Weimer <fweimer@redhat.com>
12767
12768 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
12769 in case of inet_ntop failure.
12770
12771 2016-05-04 Florian Weimer <fweimer@redhat.com>
12772
12773 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
12774 avoid long lines.
12775 (gni_host_inet_numeric): Likewise. Reduce scope of local
12776 variables.
12777 (gni_host_inet, gni_host_local): Add comment.
12778 (gni_host): Add comment. Use temporary to avoid long lines.
12779
12780 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12781
12782 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
12783 registers specifiers where general purpose registers specifiers should
12784 have been used.
12785
12786 2016-05-04 Florian Weimer <fweimer@redhat.com>
12787
12788 [BZ #19779]
12789 CVE-2016-1234
12790 Avoid copying names of directory entries.
12791 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
12792 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
12793 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
12794 (struct readdir_result): New type.
12795 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
12796 (GL_READDIR): New macros.
12797 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
12798 (convert_dirent, convert_dirent64): New functions.
12799 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
12800 convert_dirent64. Adjust references to the readdir result.
12801 * sysdeps/unix/sysv/linux/i386/glob64.c:
12802 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
12803 * posix/bug-glob2.c (LONG_NAME): Define.
12804 (filesystem): Add LONG_NAME.
12805 (my_DIR): Increase the size of room_for_dirent.
12806
12807 2016-05-03 Joseph Myers <joseph@codesourcery.com>
12808
12809 [BZ #20041]
12810 * misc/sys/select.h (__need_timespec): Only define if
12811 [__USE_XOPEN2K].
12812 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
12813 variable.
12814 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12815 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12816 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12817
12818 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12819 Segher Boessenkool <segher@gcc.gnu.org>
12820
12821 [BZ #20004]
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
12823 (__novec_swapcontext): Add missing load.
12824
12825 2016-05-02 Joseph Myers <joseph@codesourcery.com>
12826
12827 [BZ #20023]
12828 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
12829 <time.h>.
12830 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
12831 variable.
12832 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12833
12834 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12835
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
12837 flags CLONE_VM compare.
12838
12839 2016-05-02 Florian Weimer <fweimer@redhat.com>
12840
12841 [BZ #20031]
12842 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
12843 completely empty.
12844
12845 2016-05-02 Florian Weimer <fweimer@redhat.com>
12846
12847 [BZ #19573]
12848 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
12849 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
12850 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
12851 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
12852 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
12853 (hesiod_free_list): Mark as hidden.
12854 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
12855 res_set, res_get.
12856 * hesiod/hesiod.c: Remove unnecessary forward declarations.
12857 (init, __hesiod_res_get, __hesiod_res_set): Remove.
12858 (hesiod_init): Remove obsolete res_ninit call.
12859 (hesiod_end): Do not free resolver state. Do not invoke callback.
12860 (hesiod_bind): Do not call init.
12861 (get_txt_records): Use res_mkquery, res_send instead of
12862 res_nmkquery, res_nsend.
12863 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
12864 instead of _nss_hesiod_init.
12865 (_nss_hesiod_initgroups_dyn): Likewise.
12866 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
12867 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
12868 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
12869
12870 2016-05-02 Florian Weimer <fweimer@redhat.com>
12871
12872 * hesiod/hesiod_p.h (DEF_RHS): Remove.
12873 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
12874
12875 2016-05-02 Florian Weimer <fweimer@redhat.com>
12876
12877 * hesiod/hesiod.h: Remove RCS keyword.
12878 * hesiod/hesiod_p.h: Likewise.
12879
12880 * hesiod/hesiod.c: Likewise.
12881
12882 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
12883
12884 [BZ #12450]
12885 * locale/iso-639.def: Add Samogitian/sgs.
12886
12887 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
12888
12889 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
12890
12891 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
12892
12893 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
12894 Carlos O'Donell <carlos@redhat.com>
12895
12896 [BZ #19072]
12897 * grp/Makefile (headers): Add grp-merge.h
12898 (routines): Add grp-merge.
12899 * grp/getgrgid_r.c: Include grp-merge.h.
12900 (DEEPCOPY_FN): Define.
12901 (MERGE_FN): Define.
12902 * grp/getgrname_r.c: Include grp-merge.h.
12903 (DEEPCOPY_FN): Define.
12904 (MERGE_FN): Define.
12905 * grp/grp-merge.c: New file.
12906 * grp/grp-merge.h: New file.
12907 * include/grp-merge.h: New file.
12908 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
12909 __copy_grp@GLIBC_PRIVATE.
12910 * manual/nss.texi (Actions in the NSS configuration): Describe
12911 return, continue, and merge.
12912 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
12913 (DEEPCOPY_FN): Define.
12914 (MERGE_FN): Define.
12915 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
12916 (DEEPCOPY_FN): Define.
12917 (MERGE_FN): Define.
12918 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
12919 [!MERGE_FN]: Define __merge_einval.
12920 (CHECK_MERGE): Define.
12921 (REENTRANT_NAME): Process merge if do_merge is true.
12922 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
12923 (__nss_getent_r): Likewise.
12924 * nss/nsswitch.c (nss_parse_service_list): Likewise.
12925 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
12926
12927 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12928
12929 [BZ #20012]
12930 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
12931 length to calculate the buffer to read.
12932 (fmemopen_write): Set the buffer position based on bytes written.
12933 (fmemopen_seek): Return EINVAL for invalid whence modes.
12934
12935 [BZ #19957]
12936 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
12937 tst-getpid2.
12938 (test): Add tst-clone2.
12939 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
12940 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
12941 pid/tid fields for CLONE_VM.
12942 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12943 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12944 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12945 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
12946 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12947 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12948 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12949 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12951 Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12953 Likewise.
12954 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12955 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12956 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12959 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12960 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12961 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
12962
12963 2016-04-29 Florian Weimer <fweimer@redhat.com>
12964
12965 [BZ #19642]
12966 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
12967 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
12968 (gni_serv_local, gni_serv): New functions extracted from
12969 getnameinfo.
12970 (getnameinfo): Call gni_host and gni_serv to perform the
12971 processing. Always free scratch buffer.
12972
12973 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12974
12975 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
12976 remaining bytes in the dest string, with zeros.
12977
12978 2016-04-29 Florian Weimer <fweimer@redhat.com>
12979
12980 [BZ #20010]
12981 CVE-2016-3706
12982 * sysdeps/posix/getaddrinfo.c
12983 (convert_hostent_to_gaih_addrtuple): New function.
12984 (gethosts): Call convert_hostent_to_gaih_addrtuple.
12985 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
12986 AF_INET data.
12987
12988 2016-04-29 Florian Weimer <fweimer@redhat.com>
12989
12990 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
12991 callback function gl_readdir.
12992 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
12993 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
12994 (glob_in_dir): Remove len. Use strdup instead of malloc and
12995 memcpy to copy the name.
12996 * manual/pattern.texi (Calling Glob): Document requirements for
12997 implementations of the gl_readdir callback function.
12998 * manual/examples/mkdirent.c: New example.
12999 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13000 per the manual guidance.
13001 * posix/tst-gnuglob.c (my_readdir): Likewise.
13002
13003 2016-04-28 Joseph Myers <joseph@codesourcery.com>
13004
13005 [BZ #20014]
13006 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13007 not [__USE_POSIX].
13008 (getchar_unlocked): Likewise.
13009 (putc_unlocked): Likewise.
13010 (putchar_unlocked): Likewise.
13011 (flockfile): Likewise.
13012 (ftrylockfile): Likewise.
13013 (funlockfile): Likewise.
13014 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13015 variable.
13016 (test-xfail-XPG4/stdio.h/conform): Likewise.
13017
13018 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13019 Expect constant.
13020 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13021 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13022 variable.
13023 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13024 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13025
13026 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13027 [__USE_LARGEFILE64] (off64_t): Likewise.
13028 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13029 variable.
13030
13031 2016-04-28 Florian Weimer <fweimer@redhat.com>
13032
13033 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13034
13035 2016-04-28 Florian Weimer <fweimer@redhat.com>
13036
13037 * resolv/inet_addr.c: Reindent preprocessor conditionals.
13038 * resolv/res_init.c: Likewise.
13039 * resolv/res_mkquery.c: Likewise.
13040
13041 2016-04-28 Florian Weimer <fweimer@redhat.com>
13042
13043 * resolv/res_init.c (isascii): Do not define. Use definition in
13044 <ctype.h>.
13045 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13046 (LOG_AUTH): Remove.
13047 (SPRINTF): Remove, adjust caller.
13048 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13049
13050 2016-04-28 Florian Weimer <fweimer@redhat.com>
13051
13052 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13053 SUNSECURITY conditional.
13054 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13055
13056 2016-04-28 Florian Weimer <fweimer@redhat.com>
13057
13058 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13059 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13060 Remove BSD-related preprocessor conditionals.
13061 * conf/portability.h: Remove.
13062
13063 2016-04-28 Florian Weimer <fweimer@redhat.com>
13064
13065 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13066 * resolv/res_data.c: Likewise.
13067
13068 2016-04-28 Florian Weimer <fweimer@redhat.com>
13069
13070 * resolv/res_comp.c: Remove code conditional on __ultrix__.
13071 * resolv/res_data.c: Remove code conditional on ultrix.
13072
13073 2016-04-28 Florian Weimer <fweimer@redhat.com>
13074
13075 * resolv/res_init.c (RFC1535): Do not define. Remove
13076 RFC1535 preprocessor conditionals.
13077 * resolv/README: Update. Do not claim strict RFC 1535 compliance
13078 because there configuration options which make the resolver
13079 behavior different.
13080
13081 2016-04-28 Florian Weimer <fweimer@redhat.com>
13082
13083 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
13084 RESOLVSORT preprocessor conditionals.
13085 * resolv/nss_dns/dns-host.c: Likewise.
13086 * resolv/res_init.c: Likewise.
13087
13088 2016-04-28 Florian Weimer <fweimer@redhat.com>
13089
13090 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
13091 is never defined.
13092
13093 2016-04-28 Florian Weimer <fweimer@redhat.com>
13094
13095 * inet/inet_lnaof.c: Remove SCSS keyword.
13096 * inet/inet_mkadr.c: Likewise.
13097 * inet/inet_net.c: Likewise.
13098 * inet/inet_netof.c: Likewise.
13099 * inet/rcmd.c: Likewise.
13100 * inet/rexec.c: Likewise.
13101 * inet/ruserpass.c: Likewise.
13102
13103 2016-04-28 Florian Weimer <fweimer@redhat.com>
13104
13105 * resolv/inet_addr.c: Remove _LIBC conditionals.
13106 * resolv/res_data.c: Likewise.
13107 * resolv/res_init.c: Likewise.
13108 * resolv/res_mkquery.c: Likewise.
13109 * resolv/res_libc.c: Update comment.
13110 * resolv/README: Update.
13111
13112 2016-04-28 Florian Weimer <fweimer@redhat.com>
13113
13114 * resolv/gethnamaddr.c: Remove SCSS keyword.
13115 * resolv/herror.c: Likewise.
13116 * resolv/inet_addr.c: Likewise.
13117 * resolv/inet_net_ntop.c: Likewise.
13118 * resolv/inet_net_pton.c: Likewise.
13119 * resolv/inet_neta.c: Likewise.
13120 * resolv/inet_ntop.c: Likewise.
13121 * resolv/inet_pton.c: Likewise.
13122 * resolv/ns_date.c: Remove RCS keyword.
13123 * resolv/ns_name.c: Likewise.
13124 * resolv/ns_netint.c: Likewise.
13125 * resolv/ns_parse.c: Likewise.
13126 * resolv/ns_print.c: Likewise.
13127 * resolv/ns_samedomain.c: Likewise.
13128 * resolv/ns_ttl.c: Likewise.
13129 * resolv/nsap_addr.c: Likewise.
13130 * resolv/res_comp.c: Remove SCSS and RCS keyword.
13131 * resolv/res_data.c: Remove RCS keyword.
13132 * resolv/res_debug.c: Remove SCSS and RCS keyword.
13133 * resolv/res_init.c: Likewise.
13134 * resolv/res_mkquery.c: Likewise.
13135 * resolv/res_query.c: Likewise.
13136 * resolv/res_send.c: Likewise.
13137
13138 2016-04-27 Joseph Myers <joseph@codesourcery.com>
13139
13140 * conform/data/stdio.h-data (fdopen): Expect also for
13141 [XPG3 || XPG4].
13142
13143 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13144 (fseeko): Likewise.
13145 (ftello): Likewise.
13146 (ftrylockfile): Likewise.
13147 (funlockfile): Likewise.
13148 (getc_unlocked): Likewise.
13149 (getchar_unlocked): Likewise.
13150 (putc_unlocked): Likewise.
13151 (putchar_unlocked): Likewise.
13152
13153 2016-04-27 Florian Weimer <fweimer@redhat.com>
13154
13155 [BZ #19868]
13156 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13157 DNS packet syntax checks (which were not needed before). Skip
13158 over non-PTR records.
13159
13160 2016-04-27 Florian Weimer <fweimer@redhat.com>
13161
13162 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13163 definition. Include <stddef.h> instead.
13164
13165 2016-04-27 Florian Weimer <fweimer@redhat.com>
13166
13167 [BZ #19831]
13168 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13169 function.
13170 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13171 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13172
13173 2016-04-27 Florian Weimer <fweimer@redhat.com>
13174
13175 [BZ #19862]
13176 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13177 (getanswer_r): Do not call syslog.
13178 (gaih_getanswer_slice): Likewise.
13179 * resolv/gethnamaddr.c (AskedForGot): Remove.
13180 (getanswer): Do not call syslog.
13181 (gethostbyaddr): Likewise.
13182
13183 2016-04-27 Joseph Myers <joseph@codesourcery.com>
13184
13185 * conform/data/signal.h-data (union sigval): Expect also if
13186 [XOPEN2K].
13187 (struct sigevent): Likewise.
13188 (SIGEV_NONE): Likewise.
13189 (SIGEV_SIGNAL): Likewise.
13190 (SIGEV_THREAD): Likewise.
13191 (SIGRTMIN): Likewise.
13192 (SIGRTMAX): Likewise.
13193 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13194 variable.
13195 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13196
13197 2016-04-27 Florian Weimer <fweimer@redhat.com>
13198
13199 [BZ #19830]
13200 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13201 (gaih_getanswer_slice): Likewise.
13202 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13203 Also check for availability of RR metadata.
13204
13205 2016-04-27 Florian Weimer <fweimer@redhat.com>
13206
13207 [BZ #19825]
13208 * resolv/res_send.c (send_vc): Remove early *resplen2
13209 initialization. Set *resplen2 on socket error. Call
13210 close_and_return_error for other errors.
13211
13212 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13213
13214 * sysdeps/unix/sysv/linux/netiucv/iucv.h
13215 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13216 (SCM_IUCV_TRGCLS): New define.
13217
13218 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13219
13220 [BZ #20005]
13221 * libio/fmemopen.c (fmemopen_write): Update internal position after
13222 write.
13223 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13224 * stdio-common/tst-fmemopen4.c: New file..
13225
13226 2016-04-26 Joseph Myers <joseph@codesourcery.com>
13227
13228 [BZ #19996]
13229 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13230 not [__USE_XOPEN2K].
13231 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13232 variable.
13233
13234 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13235 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13236 variable.
13237
13238 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13239 [__USE_XOPEN2K8].
13240 [__USE_LARGEFILE64] (off64_t): Likewise.
13241 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13242 variable.
13243
13244 2016-04-25 Joseph Myers <joseph@codesourcery.com>
13245
13246 [BZ #19989]
13247 * libio/stdio.h (cuserid): Do not declare if
13248 [__USE_XOPEN2K && !__USE_GNU].
13249 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13250 variable.
13251
13252 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13253
13254 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13255 (sysdep_routines): Add P8 and PPC64 strcspn targets.
13256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13257 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13258 ifunc'ed strcspn.
13259 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13260 [EALIGN]: Removed.
13261 [END]: Likewise
13262 [STRSPN]: Define instead of the above to control symbol name.
13263 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13264 New file.
13265 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13266 Likewise.
13267 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13268 Likewise.
13269 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13270 Likewise.
13271 * sysdeps/powerpc/powerpc64/power8/strspn.S:
13272 [INITIAL_MASK]: New macro.
13273 [STRCSPN]: Likewise.
13274 [UPDATE_MASK]: Likewise.
13275 [USE_AS_STRCSPN]: Likewise.
13276
13277 2016-04-25 Florian Weimer <fweimer@redhat.com>
13278
13279 [BZ #19931]
13280 * stdio-common/tst-vfprintf-width-prec.c: New file.
13281 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13282 (tests-special): Add tst-vfprintf-width-prec-mem.out.
13283 (generated): Add mtrace-related files.
13284 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13285 (tst-%-mem.out): New pattern rule, replaces
13286 tst-printf-bz18872-mem.out.
13287 * stdio-common/vfprintf.c (vfprintf): When handling a precision
13288 specifier, deallocate any previously allocated work buffer.
13289
13290 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13291
13292 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13293 Add nop before __startcontext, add explaining comments.
13294
13295 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
13296
13297 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13298 any more. Notably since IPV6_PKTINFO has been reintroduced with a
13299 completely different API.
13300
13301 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13302 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13303 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13304 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13305 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13306 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13307 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13308 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13309 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13310 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13311
13312 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
13313
13314 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13315
13316 2016-04-23 Mike Frysinger <vapier@gentoo.org>
13317
13318 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13319 when it is the default of 0.
13320
13321 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13322
13323 * sysdeps/powerpc/locale-defines.sym: Add new macros.
13324 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13325 (sysdep_routines): Add new strcasestr targets.
13326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13327 (__libc_ifunc_impl_list): Likewise.
13328 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13329 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13330 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13331 * sysdeps/powerpc/powerpc64/power8/Makefile:
13332 New file to add strcasestr-ppc64 to sysdep_routines.
13333 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13334 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13335
13336 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
13337
13338 * benchtests/Makefile (wcsmbs-benchset): Include only for
13339 native builds and runs.
13340 (LOCALES): Likewise.
13341 (bench-build): Build timing-type here instead of the bench
13342 target. Generate locale only for native builds.
13343 * benchtests/README: Add note for cross-building.
13344
13345 * benchtests/Makefile (bench-clean): Clean up extra-objs.
13346
13347 * benchtests/README: Update README to include instructions on
13348 using bench-build.
13349
13350 * Makefile.in (bench-build): New target.
13351 * Rules (PHONY): Add bench-build target.
13352 * benchtests/Makefile (bench): Depend on bench-build.
13353 (bench-build): New target.
13354
13355 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13356
13357 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13358 profil_reply_port.
13359 (profile_waiter): Do not initialize profil_reply_port.
13360 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13361 frequency instead of tick length in us.
13362
13363 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
13364
13365 [BZ #18712]
13366 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13367 (__old_mempcpy_small): Likewise.
13368 (__old_strcpy_small): Likewise.
13369 (__old_stpcpy_small): Likewise.
13370 (__old_strpbrk_c2): Fix compat symbol name.
13371 (__old_strpbrk_c3): Likewise.
13372 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13373 (__mempcpy_small): Remove.
13374 (__strcpy_small): Remove.
13375 (__stpcpy_small): Remove.
13376
13377 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
13378
13379 [BZ #19400]
13380 * locale/iso-639.def: Add the Talossan/tzl language.
13381
13382 2016-04-16 Mike Frysinger <vapier@gentoo.org>
13383
13384 [BZ #16983]
13385 * locale/programs/ld-address.c (address_finish): Update postal_fmt
13386 comment. Add "ln" to strchr check on postal_fmt.
13387
13388 2016-04-16 Mike Frysinger <vapier@gentoo.org>
13389
13390 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
13391 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
13392 tel_dom_fmt.
13393
13394 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13395
13396 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13397 (sysdep_routines): Added __strlen_power8.
13398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
13399 __strlen_power8 entry.
13400 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
13401 Implementation for POWER8.
13402 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
13403 for __strlen_power8.
13404 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
13405 Implementation for POWER8.
13406
13407 2016-04-15 Mike Frysinger <vapier@gentoo.org>
13408
13409 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
13410
13411 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
13412
13413 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
13414 Goldmont and Airmont processors.
13415
13416 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
13417
13418 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
13419 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
13420 (__STRING2_SMALL_GET32): Remove.
13421 (memset): Remove.
13422 (__memset_1): Remove.
13423 (__memset_gc): Remove.
13424 (__mempcpy): Remove.
13425 (mempcpy): Remove.
13426 (__mempcpy_args): Remove.
13427 (strchr): Remove.
13428 (strcpy): Remove.
13429 (strcpy_args): Remove.
13430 (__stpcpy_args): Remove.
13431 (__strcmp_cc): Remove.
13432 (__strcmp_gc): Remove.
13433 (strstr): Remove.
13434
13435 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
13436
13437 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
13438 * nis/nis_call.c (nis_server_cache_add): Likewise.
13439
13440 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13441
13442 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
13443
13444 2016-04-14 Florian Weimer <fweimer@redhat.com>
13445
13446 * malloc/arena.c (__malloc_fork_lock_parent)
13447 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
13448 internal_function attribute.
13449
13450 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
13451
13452 * stdio-common/printf_fp.c (__printf_fp_l):
13453 Rename ___printf_fp_l to __printf_fp_l and
13454 remove strong alias. Use libc_hidden_def instead
13455 of ldbl_hidden_def macro.
13456
13457 2016-04-14 Florian Weimer <fweimer@redhat.com>
13458
13459 Remove malloc hooks from fork handler. They are no longer needed
13460 because malloc runs right before fork, and no malloc calls from
13461 other fork handlers are not possible anymore.
13462 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
13463 declarations.
13464 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
13465 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
13466 (atfork_recursive_cntr): Remove.
13467 (__malloc_fork_lock_parent): Do not override malloc hooks and
13468 thread_arena.
13469 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
13470 thread_arena.
13471 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
13472 thread_arena instead of save_arena.
13473
13474 2016-04-14 Florian Weimer <fweimer@redhat.com>
13475
13476 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
13477 (thread_atfork, thread_atfork_static): Remove.
13478 * sysdeps/mach/hurd/malloc-machine.h:
13479 (thread_atfork, thread_atfork_static): Remove.
13480
13481 2016-04-14 Florian Weimer <fweimer@redhat.com>
13482
13483 [BZ #19431]
13484 Run the malloc fork handler as late as possible to avoid deadlocks.
13485 * malloc/malloc-internal.h: New file.
13486 * malloc/malloc.c: Include it.
13487 * malloc/arena.c (ATFORK_MEM): Remove.
13488 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
13489 Update comment.
13490 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
13491 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
13492 Remove outdated comment.
13493 (ptmalloc_init): Do not call thread_atfork. Remove
13494 thread_atfork_static.
13495 * malloc/tst-malloc-fork-deadlock.c: New file.
13496 * Makefile (tests): Add tst-malloc-fork-deadlock.
13497 (tst-malloc-fork-deadlock): Link against libpthread.
13498 * manual/memory.texi (Aligned Memory Blocks): Update safety
13499 annotation comments.
13500 * sysdeps/nptl/fork.c (__libc_fork): Call
13501 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13502 __malloc_fork_unlock_child.
13503 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
13504
13505 2016-04-14 Florian Weimer <fweimer@redhat.com>
13506
13507 [BZ #19613]
13508 Remove union wait.
13509 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
13510 (w_stopsig, w_stopval): Remove.
13511 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
13512 stat_loc argument.
13513 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
13514 (__WAIT_STATUS_DEFN): Remove.
13515 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13516 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
13517 (wait, wait3, wait4): Use int * for the stat_loc argument.
13518 * posix/wait.c (__wait): Likewise.
13519 * posix/wait3.c (__wait3): Likewise.
13520 * posix/wait4.c (__wait4): Likewise.
13521 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
13522 (__WAIT_STATUS_DEFN): Remove.
13523 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13524 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
13525 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
13526 argument.
13527 * sysdeps/posix/wait.c (__libc_wait): Likewise.
13528 * sysdeps/posix/wait3.c (__wait3): Likewise.
13529 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
13530 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13531 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
13532 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
13533 stat_loc argument.
13534 * manual/process.texi (BSD Wait Functions): Remove union wait.
13535
13536 2016-04-13 Andreas Schwab <schwab@suse.de>
13537
13538 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
13539 (test-extras): Add tst-tlsalign-vars.
13540 * math/Makefile: Wrap long lines.
13541 (libm-vec-test-wrappers): Define.
13542 (test-extras): Add $(libm-vec-test-wrappers).
13543 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
13544 * nss/Makefile (extra-test-objs): Add nss_test1.os.
13545 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
13546 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
13547 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
13548 (extra-test-objs): Add corresponding objects.
13549
13550 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 [BZ #19928]
13553 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
13554 New.
13555 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
13556 times of shared cache size.
13557 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
13558 (VMOVNT): New.
13559 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
13560 (VMOVNT): Likewise.
13561 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13562 (VMOVNT): Likewise.
13563 (VMOVU): Changed to movups for smaller code sizes.
13564 (VMOVA): Changed to movaps for smaller code sizes.
13565 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
13566 comments.
13567 (PREFETCH): New.
13568 (PREFETCH_SIZE): Likewise.
13569 (PREFETCHED_LOAD_SIZE): Likewise.
13570 (PREFETCH_ONE_SET): Likewise.
13571 Rewrite to use forward and backward loops, which move 4 vector
13572 registers at a time, to support overlapping addresses and use
13573 non temporal store if size is above the threshold and there is
13574 no overlap between destination and source.
13575
13576 2016-04-12 Alex Smith <alex.smith@imgtec.com>
13577
13578 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
13579 Include dl-vdso.
13580 * sysdeps/unix/sysv/linux/mips/Versions: Add
13581 __vdso_clock_gettime.
13582 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
13583 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
13584 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
13585 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
13586 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
13587 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
13588 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13589 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13590 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13591
13592 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13593
13594 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
13595 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
13596 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13598 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13599 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13602 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
13603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
13604 syscalls generation.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13606 [__NR_pwrite64] (__NR_write): Remove define.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13608 [__NR_pwrite64] (__NR_write): Remove define.
13609 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
13610 Remove define.
13611 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
13612 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
13613 Remove define.
13614 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
13615 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
13616 Linux implementation as base.
13617 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13618
13619 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
13620 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
13621 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13622 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13625 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
13626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
13627 syscall generation.
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13629 [__NR_pread64] (__NR_pread): Remove define.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13631 [__NR_pread64] (__NR_pread): Likewise.
13632 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
13633 define.
13634 (__libc_pread): Use SYSCALL_LL macro on offset argument.
13635 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
13636 Remove define.
13637 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
13638 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
13639 Linux implementation as base.
13640 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13641 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13642 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13643
13644 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
13645 definition.
13646 (__ALIGNMENT_COUNT): Likewise.
13647 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
13648 (__ALIGNMENT_COUNT): Likewise.
13649 (SYSCALL_LL): New define.
13650 (SYSCALL_LL64): Likewise.
13651 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
13652 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
13653 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
13654 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
13655
13656 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13657 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
13658 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13659 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13660 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13661 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13662
13663 2016-04-11 Florian Weimer <fweimer@redhat.com>
13664
13665 [BZ #19865]
13666 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
13667 original buffer before retry.
13668
13669 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13670
13671 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
13672 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
13673 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
13674 GLRO(dl_auxv) list.
13675 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
13676 including <ldsodefs.h>.
13677 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
13678
13679 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
13680
13681 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
13682 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
13683 $(CPPFLAGS).
13684
13685 2016-04-09 Khem Raj <raj.khem@gmail.com>
13686
13687 [BZ #17950]
13688 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
13689 Add -mfpmath=387.
13690
13691 2016-04-09 Mike Frysinger <vapier@gentoo.org>
13692
13693 * sysdeps/i386/configure.ac: Change == to = when calling test.
13694 * sysdeps/x86_64/configure.ac: Likewise.
13695 * sysdeps/i386/configure: Regenerated.
13696 * sysdeps/x86_64/configure: Likewise.
13697
13698 2016-04-08 Mike Frysinger <vapier@gentoo.org>
13699
13700 [BZ #16137]
13701 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
13702 * benchtests/bench-strcoll.c (input_files): Likewise.
13703 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13704 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
13705 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
13706
13707 2016-04-08 Joseph Myers <joseph@codesourcery.com>
13708
13709 [BZ #19929]
13710 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
13711 [__USE_XOPEN2K8 && !__USE_GNU].
13712 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
13713 variable.
13714
13715 [BZ #19925]
13716 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
13717 define if [!__USE_MISC && __USE_XOPEN2K].
13718 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
13719 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
13720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
13721 Likewise.
13722 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
13723 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
13724 variable.
13725 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13726
13727 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13728
13729 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13730 (sysdep_routines): Add new strspn targets.
13731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13732 (__libc_ifunc_impl_list): Add strspn.
13733 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13734 New file.
13735 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
13736 Likewise.
13737 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
13738 Likewise.
13739 * sysdeps/powerpc/powerpc64/power8/strspn.S:
13740 Likewise.
13741
13742 2016-04-07 Florian Weimer <fweimer@redhat.com>
13743
13744 * misc/hsearch_r.c: Include <limits.h>.
13745
13746 2016-04-07 Florian Weimer <fweimer@redhat.com>
13747
13748 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
13749
13750 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
13751
13752 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13753 (MEMCPY_SYMBOL): New.
13754 (MEMPCPY_SYMBOL): Likewise.
13755 (MEMMOVE_CHK_SYMBOL): Likewise.
13756 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
13757 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
13758 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
13759 Provide alias for memcpy in libc.a and ld.so.
13760
13761 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
13762
13763 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13764 (MEMSET_CHK_SYMBOL): New. Define if not defined.
13765 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
13766 Disabled fro now.
13767 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
13768 symbols. Properly check USE_MULTIARCH on __memset symbols.
13769
13770 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * benchtests/Makefile (string-benchset): Add memcpy-large,
13773 memmove-large and memset-large.
13774 * benchtests/bench-memcpy-large.c: New file.
13775 * benchtests/bench-memmove-large.c: Likewise.
13776 * benchtests/bench-memmove-large.c: Likewise.
13777 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
13778
13779 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
13780
13781 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
13782 32-bit displacement to avoid long nop between instructions.
13783
13784 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
13787 a comment on VMOVU and VMOVA.
13788
13789 2016-04-04 Florian Weimer <fweimer@redhat.com>
13790
13791 [BZ #19633]
13792 Use specified locale for number formatting in strfmon_l.
13793 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
13794 (__nl_lookup_word): New inline functions.
13795 * include/printf.h (__print_fp_l): Declare.
13796 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
13797 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
13798 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
13799 (___printf_fp): New function.
13800 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
13801 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
13802 * stdlib/tst-strfmon_l.c (do_test): New test.
13803 * stdlib/Makefile (tests): Add kt.
13804 (LOCALES): Build additional locales.
13805 (tst-strfmon_l.out): Require locales.
13806
13807 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
13810 if not in libc.
13811 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13812 Likewise.
13813 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
13814 Likewise.
13815 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13816 Likewise.
13817
13818 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
13819
13820 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13821 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
13822 with unaligned_erms.
13823 (__memmove_erms): Skip if source == destination.
13824 (__memmove_unaligned_erms): Don't check source == destination
13825 first.
13826
13827 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
13828
13829 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
13830 bit_arch_Fast_Copy_Backward for Intel Core proessors.
13831
13832 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13833
13834 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
13835 * string/strspn.c (strspn): Likewise.
13836
13837 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
13838
13839 * benchtests/bench-memset.c (do_test): Support 64-byte
13840 alignment.
13841 (test_main): Test 64-byte alignment.
13842
13843 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
13844
13845 * benchtests/bench-memmove.c (test_main): Test 64-byte
13846 alignment.
13847
13848 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
13849
13850 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
13851
13852 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13853
13854 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
13855 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
13856 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
13857
13858 * string/strpbrk.c (strpbrk): Rewrite function.
13859 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
13860 (__strpbrk_c2): Likewise.
13861 (__strpbrk_c3): Likewise.
13862 * string/string-inlines.c
13863 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
13864 Likewise.
13865 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
13866 Likewise.
13867
13868 * string/strspn.c (strcspn): Rewrite function.
13869 * string/bits/string2.h (strspn): Use __builtin_strcspn.
13870 (__strspn_c1): Remove inline function.
13871 (__strspn_c2): Likewise.
13872 (__strspn_c3): Likewise.
13873 * string/string-inlines.c
13874 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
13875 compatibility symbol.
13876 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
13877 Likewise.
13878 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
13879 Likewise.
13880 * string/string-inlines.c: Include generic version.
13881
13882 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
13883 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13884
13885 * string/Version (libc): Add GLIBC_2.24.
13886 * string/strcspn.c (strcspn): Rewrite function.
13887 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
13888 (__strcspn_c1): Remove inline function.
13889 (__strcspn_c2): Likewise.
13890 (__strcspn_c3): Likewise.
13891 * string/string-inline.c
13892 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
13893 compatibility symbol.
13894 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
13895 Likewise.
13896 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
13897 Likewise.
13898 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
13899
13900 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13901
13902 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13903 Use ahi instead of aghi to adjust stack pointer.
13904
13905 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13906
13907 [BZ #19853]
13908 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
13909 TEST to take significant digits as second parameter.
13910 [TEST]: Redefine in terms of TEST_N taking 30
13911 significant digits.
13912 (do_test): Add test case to demonstrate precision
13913 failure in the ldbl-128ibm printf.
13914 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
13915 (__mpn_extract_long_double): Carry 7 extra intermediate
13916 bits of precision to aide computing difference when
13917 signs differ.
13918
13919 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
13920
13921 [BZ #19881]
13922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13923 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
13924 memset-avx512-unaligned-erms.
13925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13926 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
13927 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
13928 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
13929 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
13930 __memset_sse2_unaligned_erms, __memset_erms,
13931 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
13932 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13933 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
13934 file.
13935 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13936 Likewise.
13937 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
13938 Likewise.
13939 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
13940 Likewise.
13941
13942 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
13943
13944 [BZ #19776]
13945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13946 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
13947 memmove-avx512-unaligned-erms.
13948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13949 (__libc_ifunc_impl_list): Test
13950 __memmove_chk_avx512_unaligned_2,
13951 __memmove_chk_avx512_unaligned_erms,
13952 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
13953 __memmove_chk_sse2_unaligned_2,
13954 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
13955 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
13956 __memmove_avx512_unaligned_erms, __memmove_erms,
13957 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
13958 __memcpy_chk_avx512_unaligned_2,
13959 __memcpy_chk_avx512_unaligned_erms,
13960 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
13961 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
13962 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
13963 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
13964 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
13965 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
13966 __mempcpy_chk_avx512_unaligned_erms,
13967 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
13968 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
13969 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
13970 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
13971 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
13972 __mempcpy_erms.
13973 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
13974 file.
13975 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13976 Likewise.
13977 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13978 Likewise.
13979 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13980 Likewise.
13981
13982 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13983
13984 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
13985 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
13986 (La_s390_64_regs): Likewise.
13987 (La_s390_32_retval): Append vector register lrv_v24.
13988 (La_s390_64_retval): Likeweise.
13989 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13990 Handle extended structs La_s390_32_regs and La_s390_32_retval.
13991 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13992 Handle extended structs La_s390_64_regs and La_s390_64_retval.
13993
13994 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13995
13996 [BZ #19916]
13997 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
13998 to create a non-vector/vector version for _dl_runtime_resolve and
13999 _dl_runtime_profile. Move implementation to ...
14000 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14001 (_dl_runtime_resolve) Save and restore fpr/vrs.
14002 (_dl_runtime_profile) Save and restore vrs and fix some issues
14003 if _dl_call_pltexit is called.
14004 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14005 Choose the correct resolver function if running on a machine with vx.
14006 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14007 to create a non-vector/vector version for _dl_runtime_resolve and
14008 _dl_runtime_profile. Move implementation to ...
14009 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14010 (_dl_runtime_resolve) Save and restore fpr/vrs.
14011 (_dl_runtime_profile) Save and restore vrs and fix some issues
14012 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14013 Choose the correct resolver function if running on a machine with vx.
14014
14015 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14016
14017 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14018
14019 2016-03-31 Florian Weimer <fweimer@redhat.com>
14020
14021 [BZ #19509]
14022 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14023 skip_map != NULL.
14024 * elf/tst-dlsym-error.c: New file.
14025 * elf/Makefile (tests): Add tst-dlsym-error.
14026 (tst-dlsym-error): Link against libdl.
14027
14028 2016-03-29 Joseph Myers <joseph@codesourcery.com>
14029
14030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14031 (__ASSUME_FUTIMESAT): Remove macro.
14032 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14033
14034 2016-03-29 Florian Weimer <fweimer@redhat.com>
14035
14036 [BZ #19879]
14037 CVE-2016-3075
14038 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14039 copy name.
14040
14041 2016-03-29 Florian Weimer <fweimer@redhat.com>
14042
14043 [BZ #19837]
14044 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14045 error if parse_line fails.
14046
14047 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
14048
14049 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14050 (index_cpu_ERMS): Likewise.
14051 (reg_ERMS): Likewise.
14052
14053 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
14054
14055 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14056 PER_LINUX_FDPIC): Add.
14057
14058 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
14059
14060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14061 memcpy-avx512-no-vzeroupper.
14062 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14063 to ...
14064 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14065 (MEMCPY): Don't define.
14066 (MEMCPY_CHK): Likewise.
14067 (MEMPCPY): Likewise.
14068 (MEMPCPY_CHK): Likewise.
14069 (MEMPCPY_CHK): Renamed to ...
14070 (__mempcpy_chk_avx512_no_vzeroupper): This.
14071 (MEMPCPY_CHK): Renamed to ...
14072 (__mempcpy_chk_avx512_no_vzeroupper): This.
14073 (MEMCPY_CHK): Renamed to ...
14074 (__memmove_chk_avx512_no_vzeroupper): This.
14075 (MEMCPY): Renamed to ...
14076 (__memmove_avx512_no_vzeroupper): This.
14077 (__memcpy_avx512_no_vzeroupper): New alias.
14078 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14079
14080 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
14081
14082 [BZ #18858]
14083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14084 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14085 and mempcpy-avx512-no-vzeroupper.
14086 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14087 New.
14088 (MEMPCPY): Likewise.
14089 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14090 (MEMPCPY_CHK): New.
14091 (MEMPCPY): Likewise.
14092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14093 (MEMPCPY): Likewise.
14094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14095 (MEMPCPY): Likewise.
14096 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14097 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14098 Likewise.
14099 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14100 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14101
14102 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
14103 Amit Pawar <Amit.Pawar@amd.com>
14104
14105 [BZ #19583]
14106 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14107 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14108 processors. Set Fast_Copy_Backward for AMD Excavator
14109 processors.
14110 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14111 New.
14112 (index_arch_Fast_Unaligned_Copy): Likewise.
14113 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14114 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14115
14116 2016-03-25 Florian Weimer <fweimer@redhat.com>
14117
14118 [BZ #19791]
14119 * resolv/res_send.c (close_and_return_error): New function.
14120 (send_dg): Initialize *resplen2 after reopen failure. Call
14121 close_and_return_error for error returns. On error paths without
14122 __res_iclose, initialze *resplen2 explicitly. Update comment for
14123 successful return.
14124
14125 2016-03-25 Florian Weimer <fweimer@redhat.com>
14126
14127 [BZ# 19860]
14128 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14129 zero if the compiler does not provide the AVX512F bit.
14130
14131 2016-03-24 Joseph Myers <joseph@codesourcery.com>
14132
14133 [BZ #19848]
14134 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14135 from 8 to 4.
14136 (__ieee754_powl): Compare integer exponent against 4 not 8.
14137 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14138 from 8 to 4.
14139 (__ieee754_powl): Compare integer exponent against 4 not 8.
14140 * math/auto-libm-test-in: Add more tests of pow.
14141 * math/auto-libm-test-out: Regenerated.
14142 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144
14145 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
14146
14147 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14148 Make code unconditional.
14149 [!__NR_utimensat]: Remove conditional code.
14150 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14151 Make code unconditional.
14152 [!__NR_utimensat]: Remove conditional code.
14153 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14154 Make code unconditional.
14155 [!__NR_utimensat]: Remove conditional code.
14156
14157 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
14158
14159 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14160 Make code unconditional.
14161
14162 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
14163
14164 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14165 call-clobbered %eax on retry path.
14166 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14167
14168 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
14169
14170 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14171 Don't set %rcx twice before "rep movsb".
14172
14173 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
14174
14175 [BZ #19583]
14176 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14177 inline. Check family before setting family, model and
14178 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
14179 bits here.
14180 (init_cpu_features): Replace HAS_CPU_FEATURE and
14181 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14182 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
14183 for Intel processors with usable AVX2. Call get_common_indeces
14184 for other processors with family == NULL.
14185 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14186 (CPU_FEATURES_ARCH_P): Likewise.
14187 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14188 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14189
14190 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14191
14192 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14193 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14194 $(shared-thread-library) instead of hardcoding the path to libpthread.
14195
14196 2016-03-22 Joseph Myers <joseph@codesourcery.com>
14197
14198 * sysdeps/unix/sysv/linux/kernel-features.h
14199 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14200 * sysdeps/unix/sysv/linux/getdents.c
14201 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14202 [!have_no_getdents64_defined]: Likewise.
14203 (__GETDENTS): Remove __have_no_getdents64 conditional.
14204
14205 2016-03-21 Joseph Myers <joseph@codesourcery.com>
14206
14207 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14208 Remove macro.
14209 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14210 <kernel-features.h>.
14211 (signalfd) [__NR_signalfd4]: Make code unconditional.
14212 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14213
14214 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14215
14216 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14217 style.
14218
14219 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
14220
14221 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14222 (__pthread_enable_asynccancel): Use JUMPTARGET to call
14223 __pthread_unwind.
14224 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14225 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14226 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14227 (__condvar_cleanup1): Likewise.
14228
14229 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
14230
14231 [BZ #19822]
14232 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14233 move it to the final $@ location.
14234
14235 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14236
14237 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14238 access where posix_spawn success and pid argument is null.
14239 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14240 success case.
14241
14242 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
14243
14244 * sysdeps/mach/hurd/i386/c++-types.data: New file.
14245
14246 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14247
14248 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14249 and __fcntl.
14250 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14251 __fcntl only.
14252 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14253 adding attribute_hidden to __open and __fcntl.
14254
14255 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14256 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14257 depend on libc-modules.h,
14258 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14259
14260 2016-03-17 Joseph Myers <joseph@codesourcery.com>
14261
14262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14263 Remove macro.
14264 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14265 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14266 entry.
14267
14268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14269 Remove macro.
14270 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14271 include <kernel-features.h>.
14272 [!__ASSUME_FALLOCATE]: Remove conditional code.
14273 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14274
14275 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
14276
14277 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14278 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14279 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14280 (_ZGVdN4v_cos_avx2): Likewise.
14281 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14282 (_ZGVdN4v_cos): Likewise.
14283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14284 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14285 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14286 (_ZGVdN4v_exp_avx2): Likewise.
14287 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14288 (_ZGVdN4v_exp): Likewise.
14289 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14290 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14291 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14292 (_ZGVdN4v_log_avx2): Likewise.
14293 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14294 (_ZGVdN4v_log): Likewise.
14295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14296 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14298 (_ZGVdN4vv_pow_avx2): Likewise.
14299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14300 (_ZGVdN4vv_pow): Likewise.
14301 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14302 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14303 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14304 (_ZGVdN4v_sin_avx2): Likewise.
14305 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14306 (_ZGVdN4v_sin): Likewise.
14307 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14308 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14309 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14310 (_ZGVdN4vvv_sincos_avx2): Likewise.
14311 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14312 (_ZGVdN4vvv_sincos): Likewise.
14313 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14314 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14315 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14316 (_ZGVbN4v_cosf_sse4): Likewise.
14317 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14318 (_ZGVdN8v_cosf_avx2): Likewise.
14319 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14320 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14321 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14322 (_ZGVbN4v_expf_sse4): Likewise.
14323 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14324 (_ZGVdN8v_expf_avx2): Likewise.
14325 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14326 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14327 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14328 (_ZGVbN4v_logf_sse4): Likewise.
14329 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14330 (_ZGVdN8v_logf_avx2): Likewise.
14331 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14332 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14333 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14334 (_ZGVbN4vv_powf_sse4): Likewise.
14335 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14336 (_ZGVdN8vv_powf_avx2): Likewise.
14337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14338 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14339 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14340 (_ZGVbN4vvv_sincosf_sse4): Likewise.
14341 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14342 (_ZGVdN8vvv_sincosf_avx2): Likewise.
14343 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14344 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14345 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14346 (_ZGVbN4v_sinf_sse4): Likewise.
14347 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14348 (_ZGVdN8v_sinf_avx2): Likewise.
14349 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14350 Use JUMPTARGET to call callee.
14351 (WRAPPER_IMPL_SSE2_ff): Likewise.
14352 (WRAPPER_IMPL_SSE2_fFF): Likewise.
14353 (WRAPPER_IMPL_AVX): Likewise.
14354 (WRAPPER_IMPL_AVX_ff): Likewise.
14355 (WRAPPER_IMPL_AVX_fFF): Likewise.
14356 (WRAPPER_IMPL_AVX512): Likewise.
14357 (WRAPPER_IMPL_AVX512_ff): Likewise.
14358 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14359 Likewise.
14360 (WRAPPER_IMPL_SSE2_ff): Likewise.
14361 (WRAPPER_IMPL_SSE2_fFF): Likewise.
14362 (WRAPPER_IMPL_AVX): Likewise.
14363 (WRAPPER_IMPL_AVX_ff): Likewise.
14364 (WRAPPER_IMPL_AVX_fFF): Likewise.
14365 (WRAPPER_IMPL_AVX512): Likewise.
14366 (WRAPPER_IMPL_AVX512_ff): Likewise.
14367 (WRAPPER_IMPL_AVX512_fFF): Likewise.
14368
14369 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14370
14371 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14372 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14373 qualifier.
14374 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14375 internal_function qualifiers.
14376
14377 2016-03-15 Carlos O'Donell <carlos@redhat.com>
14378
14379 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
14380 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
14381 * math/atest-exp.c (exp_mpn): Mark chk unused.
14382 * math/atest-exp2.c (exp_mpn): Likewise.
14383 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
14384 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
14385
14386 2016-03-15 Joseph Myers <joseph@codesourcery.com>
14387
14388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
14389 Remove macro.
14390 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
14391 <kernel-features.h>.
14392 [__NR_ppoll]: Make code unconditional.
14393 [!__ASSUME_PPOLL]: Remove conditional code.
14394
14395 * sysdeps/unix/sysv/linux/kernel-features.h
14396 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
14397 (__ASSUME_ACCEPT4): Likewise.
14398 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14399 Define.
14400 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
14401 Likewise.
14402 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14403 Likewise.
14404 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
14405 Likewise.
14406 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
14407 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
14408 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14409 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14410 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14411 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14413 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14414 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14415 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14416 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14417 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14418 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14419 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14420 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14422 Likewise.
14423 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14424 Likewise.
14425 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14426 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14427 0x040300].
14428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14429 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14430 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14431 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14432 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14433 0x030300].
14434 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
14435 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14436 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14437 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14438 0x040300].
14439 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14440 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14442 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14443 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14444 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14445 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14446 0x030300].
14447 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14448 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14449 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14450 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14451 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14452 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14453 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14454 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14455 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14456 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14457 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14458 0x040300].
14459 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14460 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14461 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14462 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14463 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14464 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14466 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14467 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14468 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14469 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14470 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14471 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14472 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14473 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
14474 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14476 Likewise.
14477 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14478 Likewise.
14479
14480 2016-03-15 Andreas Schwab <schwab@suse.de>
14481
14482 [BZ #19257]
14483 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
14484 statp->_u._ext.nscount as loop count.
14485
14486 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
14487
14488 * math/test-signgam-finite-c99.c: Also #undef
14489 __LIBC_INTERNAL_MATH_INLINES.
14490 * math/test-signgam-main.c: Likewise.
14491
14492 2016-03-14 Joseph Myers <joseph@codesourcery.com>
14493
14494 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
14495 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14496 (MADV_FREE): Likewise.
14497 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
14498 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
14499 EPOLLEXCLUSIVE.
14500
14501 2016-03-14 Carlos O'Donell <carlos@redhat.com>
14502
14503 * timezone/README: Remove mention of checktab.awk. Mention wiki
14504 SharedSourceFiles.
14505
14506 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
14507
14508 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
14509 WUNTRACED.
14510
14511 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14512
14513 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
14514 order to match the type of p when calling atomic_exchange_acq().
14515
14516 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14517
14518 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
14519 cfi_offset calls.
14520 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14521 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
14522 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
14523 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
14524 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
14525
14526 2016-03-10 Carlos O'Donell <carlos@redhat.com>
14527
14528 * timezone/checktab.awk: Removed.
14529
14530 2016-03-10 Joseph Myers <joseph@codesourcery.com>
14531
14532 * manual/math.texi (Errors in Math Functions): Document relaxed
14533 accuracy goals for IBM long double.
14534 * math/libm-test.inc (test_exceptions): Always allow spurious
14535 "underflow" and "inexact" exceptions for IBM long double.
14536
14537 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 [BZ #19762]
14540 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14541 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
14542 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
14543 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
14544 (bit_arch_*): This for feature array.
14545 (bit_*): Renamed to ...
14546 (bit_cpu_*): This for cpu array.
14547 (index_*): Renamed to ...
14548 (index_arch_*): This for feature array.
14549 (index_*): Renamed to ...
14550 (index_cpu_*): This for cpu array.
14551 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
14552 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
14553 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
14554 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
14555 bit_##name with index_cpu_##name and bit_cpu_##name.
14556 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
14557 bit_##name with index_arch_##name and bit_arch_##name.
14558
14559 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
14560
14561 [BZ #19792]
14562 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
14563 Terminate FDE before return label.
14564
14565 2016-03-09 Joseph Myers <joseph@codesourcery.com>
14566
14567 [BZ #19790]
14568 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
14569 (rintl): Define as macro.
14570 [USE_AS_NEARBYINTL] (__rintl): Likewise.
14571 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
14572 of fesetround. Ensure results are evaluated before end of scope.
14573 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
14574 USE_AS_NEARBYINTL and include s_rintl.c.
14575 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
14576 Disable exception traps in new environment.
14577 (libc_feholdsetround_ppc_ctx): Likewise.
14578
14579 2016-03-08 Roland McGrath <roland@hack.frob.com>
14580
14581 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
14582 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
14583 (tst_audit10_aux) [__AVX512F__]: ... here.
14584
14585 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
14586
14587 * include/sys/auxv.h: New file.
14588
14589 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
14590
14591 [BZ #19759]
14592 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
14593
14594 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14595
14596 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
14597 operand modifier.
14598 (feclearexcept): Likewise.
14599
14600 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14601
14602 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
14603 to reflect the entire 32-bit HWCAP.
14604 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
14605 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
14606
14607 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
14608
14609 [BZ #19783]
14610 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
14611 $(test-via-rtld-prefix).
14612 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
14613
14614 2016-03-08 Florian Weimer <fweimer@redhat.com>
14615
14616 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
14617 union wait. Report any non-zero exit status as error.
14618
14619 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14620
14621 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
14622 configured with --enable-hardcoded-path-in-tests.
14623
14624 2016-03-08 Joseph Myers <joseph@codesourcery.com>
14625
14626 [BZ #19677]
14627 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14628 (__ieee754_remainderl): Put zero low parts in canonical form.
14629 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
14630 file. Based on
14631 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
14632 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
14633 with wrapper round test-fmodrem-ldbl-128ibm.c.
14634 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
14635 file.
14636 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
14637 Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14639 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
14640
14641 2016-03-07 Florian Weimer <fweimer@redhat.com>
14642
14643 [BZ #19610]
14644 * elf/ldconfig.c (opt_link): Update comment.
14645 (options): Update help string for option -X.
14646 (search_dir): Unlink stale symbolic link only if updating symbolic
14647 links.
14648 * elf/tst-ldconfig-X.sh: New file.
14649 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
14650 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
14651
14652 2016-03-07 Andreas Schwab <schwab@suse.de>
14653
14654 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
14655 needed arguments.
14656
14657 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
14658
14659 [BZ #15333]
14660 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
14661 to lstat64.
14662
14663 2016-03-07 Florian Weimer <fweimer@redhat.com>
14664
14665 * libio/filedoalloc.c (isatty): Remove.
14666 (local_isatty): Add comment. Call __isatty directly.
14667 (_IO_file_doallocate): Update comment. Assume _LIBC.
14668 * libio/wfiledoalloc.c (isatty): Remove.
14669 (_IO_wfile_doallocate): Update comment.
14670
14671 2016-03-07 Florian Weimer <fweimer@redhat.com>
14672
14673 [BZ #19269]
14674 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
14675 tst-audit4-aux.o.
14676 (tst-audit10): Depend on tst-audit10-aux.o.
14677 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
14678 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
14679 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
14680 instead of inline AVX code.
14681 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
14682 instead of inline AVX512 code.
14683 * sysdeps/x86_64/tst-audit4-aux.c: New file
14684 * sysdeps/x86_64/tst-audit10-aux.c: New file
14685
14686 [BZ #19648]
14687 * test-skeleton.c (main): Do not set RLIMIT_DATA.
14688
14689 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14690
14691 [BZ #14750]
14692 [BZ #10354]
14693 [BZ #18433]
14694 * include/sched.h (__clone): Add hidden prototype.
14695 (__clone2): Likewise.
14696 * include/unistd.h (__dup): Likewise.
14697 * posix/Makefile (tests): Add tst-spawn2.
14698 * posix/tst-spawn2.c: New file.
14699 * sysdeps/posix/dup.c (__dup): Add hidden definition.
14700 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
14701 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14702 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14703 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14704 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14705 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
14706 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14707 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
14708 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14709 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14711 Likewise.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14713 Likewise.
14714 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14715 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14716 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14717 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14718 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14719 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14720 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14721 * sysdeps/unix/sysv/linux/nptl-signals.h
14722 (____nptl_is_internal_signal): New function.
14723 * sysdeps/unix/sysv/linux/spawni.c: New file.
14724
14725 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
14726 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
14727 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
14728 * posix/tst-execvp2.c (do_test): Likewise.
14729 * posix/tst-execvp3.c (do_test): Likewise.
14730 * posix/tst-execvp4.c (do_test): Likewise.
14731 * posix/tst-execvpe1.c: New file.
14732 * posix/tst-execvpe2.c: Likewise.
14733 * posix/tst-execvpe3.c: Likewise.
14734 * posix/tst-execvpe4.c: Likewise.
14735 * posix/tst-execvpe5.c: Likewise.
14736 * posix/tst-execvpe6.c: Likewise.
14737
14738 [BZ #19534]
14739 * posix/execl.c (execl): Remove dynamic memory allocation.
14740 * posix/execle.c (execle): Likewise.
14741 * posix/execlp.c (execlp): Likewise.
14742
14743 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
14744
14745 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
14746 Replace .text with .text.avx512.
14747 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
14748 Likewise.
14749
14750 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
14751
14752 * sysdeps/generic/libnsl.abilist: New file.
14753 * sysdeps/generic/libutil.abilist: New file.
14754
14755 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
14756
14757 [BZ #19762]
14758 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
14759 HAS_ARCH_FEATURE with Fast_Rep_String.
14760 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
14761 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
14762 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
14763 Likewise.
14764 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
14765 Likewise.
14766 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
14767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
14768 Likewise.
14769 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
14770 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
14771 Likewise.
14772
14773 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 [BZ #19745]
14776 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14777 with *%rax in call.
14778
14779 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
14780
14781 [BZ #19745]
14782 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
14783 with *__libc_start_main@GOTPCREL(%rip) in call.
14784
14785 2016-03-04 Roland McGrath <roland@hack.frob.com>
14786
14787 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
14788 inside conditional for nonempty $(CXX).
14789
14790 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
14791 nonempty.
14792
14793 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
14794 to test for empty $(CXX) rather than $(CXX) of "no".
14795
14796 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
14797
14798 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
14799
14800 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
14801 H.J. Lu <hongjiu.lu@intel.com>
14802
14803 [BZ #18880]
14804 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
14805 instead of Slow_BSF, and also check for Fast_Copy_Backward to
14806 enable __memcpy_ssse3_back.
14807
14808 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
14809
14810 [BZ #19758]
14811 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14812 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
14813
14814 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14815
14816 [BZ #19490]
14817 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
14818 (__fentry__): Likewise.
14819
14820 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
14821
14822 * gmon/Makefile (noprof): Add $(sysdep_noprof).
14823 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
14824
14825 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
14826
14827 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
14828 __mcount_internal directly.
14829 (C_LABEL(__fentry__)): Likewise.
14830 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
14831 directly.
14832
14833 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
14834
14835 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14836 (__start_context): Call __setcontext directly.
14837
14838 2016-02-26 Joseph Myers <joseph@codesourcery.com>
14839
14840 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14841 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14842 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
14843 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14844 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14845 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14846 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
14847 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14848 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14849 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
14850 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14851 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14852 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14853 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14854 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14855 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14856 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
14857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14858 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14859 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14860 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
14861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14862 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14863 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14864 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
14865 Remove conditional code.
14866 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14867 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
14868 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14869 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14870 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
14871 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14872 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14873 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14874 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14875 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14877 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14878
14879 2016-02-24 Marko Myllynen <myllynen@redhat.com>
14880
14881 * NEWS (2.23): Fix typo in bug 19048 text.
14882
14883 2016-02-24 Carlos O'Donell <carlos@redhat.com>
14884
14885 [BZ #14259]
14886 * Makeconfig: Rename msgcatdir to localedir.
14887 Rename inst_msgcatdir to inst_localedir.
14888 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
14889 * config.make.in: Add localedir.
14890 * elf/Makefile ($(objpfx)sotruss): Use localedir.
14891 (ldd-rewrite): Likewise.
14892 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
14893 (install-others): Use inst_localedir.
14894 (CPPFLAGS): Use localedir.
14895 * locale/Makefile (locale-CPPFLAGS): Likewise.
14896 * po/Makefile (mo-installed): Use inst_localedir.
14897
14898 [BZ #19575]
14899 * localedata/charmaps/GB18030: Update comments regarding PAU to
14900 non-PUA mappings.
14901
14902 2016-02-24 Joseph Myers <joseph@codesourcery.com>
14903
14904 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
14905 test for header.
14906 * sysdeps/unix/sysv/linux/configure: Regenerated.
14907 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
14908 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
14909 Remove conditional code.
14910 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
14911
14912 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14913 Define to 3.2.0.
14914 (arch_minimum_kernel): Likewise.
14915 * sysdeps/unix/sysv/linux/configure: Regenerated.
14916 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
14917 Define to 2.6.32.
14918 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
14919 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
14920 (arch_minimum_kernel): Define to 2.6.32.
14921 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
14922 * README: Document Linux 3.2 requirement.
14923 * manual/install.texi (Linux): Document Linux 3.2 headers
14924 requirement.
14925 * INSTALL: Regenerated.
14926
14927 2016-02-24 Andreas Schwab <schwab@suse.de>
14928
14929 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
14930 if !NO_LONG_DOUBLE.
14931
14932 2016-02-22 Roland McGrath <roland@hack.frob.com>
14933
14934 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
14935 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
14936
14937 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
14938
14939 [BZ #19512]
14940 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
14941
14942 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14943
14944 * posix/tst-dir.c: Include libc-internal.h.
14945
14946 2016-02-20 Florian Weimer <fweimer@redhat.com>
14947
14948 [BZ #19056]
14949 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
14950 * manual/filesys.texi (Reading/Closing Directory): Mention
14951 deprecaion.
14952 * posix/tst-dir.c (main): Disable deprecation warning in test.
14953
14954 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
14955
14956 [BZ #19679]
14957 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
14958 Renamed to ...
14959 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
14960 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14961 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
14962 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14963 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14964 * sysdeps/x86_64/dl-trampoline.h
14965 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14966 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14967
14968 2016-02-19 Mark Wielaard <mjw@redhat.com>
14969
14970 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
14971
14972 2016-02-19 Mark Wielaard <mjw@redhat.com>
14973
14974 * elf/elf.h (R_386_GOT32X): New.
14975 (R_386_NUM): Update.
14976 (R_X86_64_GOTPCRELX: New.
14977 (R_X86_64_REX_GOTPCRELX): New.
14978 (R_X86_64_NUM): Update.
14979
14980 2016-02-19 Mike Frysinger <vapier@gentoo.org>
14981
14982 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
14983
14984 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
14985
14986 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
14987 assign attr->stackaddr to it, and adjust it down when
14988 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
14989 [_STACK_GROWS_UP]: Delete assert.
14990 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
14991 Implement stack grows up logic.
14992 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
14993 stack grows up logic.
14994
14995 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14996
14997 * NEWS: Update with 2.24 template.
14998
14999 2016-02-19 Joseph Myers <joseph@codesourcery.com>
15000
15001 [BZ #19678]
15002 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15003 Ensure +0.0 is returned when taking the next value below the least
15004 positive value.
15005
15006 2016-02-19 Florian Weimer <fweimer@redhat.com>
15007
15008 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15009 available. Do not define NO_THREADS.
15010 * malloc/malloc.c: Do not check NO_THREADS.
15011 * malloc/arena.c: Likewise.
15012
15013 2016-02-19 Florian Weimer <fweimer@redhat.com>
15014
15015 * malloc/malloc.c (__libc_mallinfo): Update comment.
15016 (struct malloc_par): Remove max_total_mem member, it was always 0.
15017 (int_mallinfo): Store 0 into usmblks (no functional change).
15018 * malloc/hooks.c (struct malloc_state): Document that
15019 max_total_mem is always 0.
15020 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15021 always 0.
15022 * manual/memory.texi (Statistics of Malloc): Likewise.
15023
15024 2016-02-19 Florian Weimer <fweimer@redhat.com>
15025
15026 * malloc/malloc.c (sysmalloc): Do not update arena_max.
15027 * malloc/arena.c (arena_max): Remove.
15028 (heap_trim, _int_new_arena): Do not update arena_max.
15029
15030 2016-02-19 Florian Weimer <fweimer@redhat.com>
15031
15032 * resolv/res_init.c (res_ninit): Update comment.
15033
15034 2016-02-19 Florian Weimer <fweimer@redhat.com>
15035
15036 [BZ #19505]
15037 * posix/spawn_int.h: Add headers and include guard.
15038 (__spawn_valid_fd): New function.
15039 * posix/spawn_faction_addopen.c
15040 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15041 * posix/spawn_faction_addclose.c
15042 (posix_spawn_file_actions_addclose): Likewise.
15043 * posix/spawn_faction_adddup2.c
15044 (posix_spawn_file_actions_adddup2): Likewise. Add check for
15045 second file descriptor.
15046 * posix/spawn_valid_fd.c: New file.
15047 * posix/tst-posix_spawn-fd.c: New file.
15048 * posix/Makefile (routines): Add spawn_valid_fd.
15049 (tests): Add tst-posix_spawn-fd.
15050
15051 2016-02-19 Florian Weimer <fweimer@redhat.com>
15052
15053 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15054 (do_test): Limit the number of arenas, so that we can use fewer
15055 outer threads. Limit timeout to 3 seconds, in preparation for a
15056 larger TIMEOUT value.
15057
15058 2016-02-19 Joseph Myers <joseph@codesourcery.com>
15059
15060 [BZ #19674]
15061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15062 sign in overflowing and underflowing results when overflow or
15063 underflow is detected early. Include sign in result before rather
15064 than after scaling.
15065
15066 [BZ #19603]
15067 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15068 (__ieee754_remainderl): Adjust sign of integer version of low part
15069 when taking absolute value of high part.
15070 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15071 * math/libm-test.inc (remainder_test_data): Add another test.
15072 (remquo_test_data): Likewise.
15073
15074 2016-02-18 Joseph Myers <joseph@codesourcery.com>
15075
15076 [BZ #19602]
15077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15078 equal high parts and both low parts zero specially.
15079 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15080 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15081 Add test-fmodl-ldbl-128ibm.
15082
15083 [BZ #19595]
15084 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15085 common logic for all cases of shifting subnormal results. Do not
15086 insert sign bit in shifted mantissa. Always pass -1023 as biased
15087 exponent to ldbl_insert_mantissa in subnormal case.
15088
15089 [BZ #19594]
15090 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15091 on high and low parts then adjust result and use
15092 ldbl_canonicalize_int if needed.
15093
15094 [BZ #19593]
15095 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15096 on high part and __floor or __ceil on low part then use
15097 ldbl_canonicalize_int if needed.
15098
15099 [BZ #19592]
15100 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15101 high and low parts then use ldbl_canonicalize_int if needed.
15102
15103 [BZ #17899]
15104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15105 New function.
15106 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15107 on high and low parts then use ldbl_canonicalize_int if needed.
15108
15109 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15110
15111 * configure: Regenerated.
15112
15113 * po/libc.pot: Regenerated.
15114
15115 * po/be.po: Updated translation.
15116 * po/bg.po: Likewise.
15117 * po/ca.po: Likewise.
15118 * po/cs.po: Likewise.
15119 * po/da.po: Likewise.
15120 * po/el.po: Likewise.
15121 * po/eo.po: Likewise.
15122 * po/es.po: Likewise.
15123 * po/fi.po: Likewise.
15124 * po/fr.po: Likewise.
15125 * po/gl.po: Likewise.
15126 * po/hr.po: Likewise.
15127 * po/hu.po: Likewise.
15128 * po/ia.po: Likewise.
15129 * po/id.po: Likewise.
15130 * po/it.po: Likewise.
15131 * po/ja.po: Likewise.
15132 * po/lt.po: Likewise.
15133 * po/nb.po: Likewise.
15134 * po/nl.po: Likewise.
15135 * po/pt_BR.po: Likewise.
15136 * po/rw.po: Likewise.
15137 * po/sk.po: Likewise.
15138 * po/sl.po: Likewise.
15139 * po/sv.po: Likewise.
15140 * po/tr.po: Likewise.
15141 * po/zh_CN.po: Likewise.
15142 * po/zh_TW.po: Likewise.
15143
15144 * version.h (RELEAES): Set to "development".
15145 (VERSION): Set to 2.23.90.
15146
15147 * version.h (RELEASE): Set to "stable".
15148 (VERSION): Set to 2.23.
15149 * include/feature.h (__GLIBC_MINOR__): Set to 23.
15150
15151 * NEWS: Updated fixed bugs.
15152
15153 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
15154 Wilco Dijkstra <wdijkstr@arm.com>
15155
15156 [BZ #19462]
15157 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15158 (_STRING_INLINE_unaligned): This.
15159 * include/string.h: Include <string_private.h>.
15160 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15161 _STRING_INLINE_unaligned.
15162 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15163 (_STRING_INLINE_unaligned): New.
15164 * sysdeps/aarch64/string_private.h: New file.
15165 * sysdeps/generic/string_private.h: Likewise.
15166 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15167 * sysdeps/s390/string_private.h: Likewise.
15168 * sysdeps/x86/string_private.h: Likewise.
15169 * sysdeps/m68k/m680x0/m68020/bits/string.h
15170 (_STRING_ARCH_unaligned): Renamed to ...
15171 (_STRING_INLINE_unaligned): This.
15172 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15173 to ...
15174 (_STRING_INLINE_unaligned): This.
15175 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15176 to ...
15177 (_STRING_INLINE_unaligned): This.
15178 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15179 to ...
15180 (_STRING_INLINE_unaligned): This.
15181
15182 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
15183 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 [BZ #19590]
15186 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15187 relocation.
15188
15189 2016-02-15 Carlos O'Donell <carlos@redhat.com>
15190
15191 [BZ #18665]
15192 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15193 *herrno_p.
15194 (gaih_getanswer): Document functional behviour. Return tryagain
15195 if any result is tryagain.
15196 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15197 when freed.
15198 * resolv/res_send.c: Add copyright text.
15199 (__libc_res_nsend): Document that MAXPACKET is expected.
15200 (send_vc): Document. Remove buffer reuse.
15201 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15202 size of the buffer. Add Dprint for truncated UDP buffer.
15203
15204 2016-02-14 Carlos O'Donell <carlos@redhat.com>
15205
15206 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15207 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15208 * INSTALL: Regenerate.
15209
15210 2016-02-14 Jakub Jelinek <jakub@redhat.com>
15211 Jonathan Wakely <jwakely@redhat.com>
15212 Carlos O'Donell <carlos@redhat.com>
15213
15214 [BZ 19439]
15215 * math/Makefile (tests): Add test-math-isinff.
15216 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15217 * math/bits/mathcalls.h [__USE_MISC]: Use
15218 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15219 functions not in C++11 and which don't conflict e.g. isinff,
15220 isinfl etc.
15221 * math/test-math-isinff.cc: New file.
15222
15223 2016-02-12 Florian Weimer <fweimer@redhat.com>
15224
15225 * misc/bug18240.c (do_test): Set RLIMIT_AS.
15226
15227 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
15228
15229 [BZ #19529]
15230 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15231
15232 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15233
15234 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15235
15236 2016-02-01 Joseph Myers <joseph@codesourcery.com>
15237
15238 [BZ #19550]
15239 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15240 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15241 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15242 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15243 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15244 New syscall entry.
15245 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15246 New syscall entry.
15247 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15248 syscall entry.
15249
15250 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
15251
15252 [BZ #18240]
15253 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15254 unsigned int wraparound.
15255
15256 2016-01-27 Florian Weimer <fweimer@redhat.com>
15257
15258 [BZ #18240]
15259 * misc/bug18240.c: New test.
15260 * misc/Makefile (tests): Add it.
15261
15262 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
15263 Joseph Myers <joseph@codesourcery.com>
15264
15265 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15266 load in branch delay slot when less than a word of input left.
15267
15268 2016-01-27 Andreas Schwab <schwab@suse.de>
15269
15270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15271 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15272 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15273 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15274
15275 2016-01-26 David S. Miller <davem@davemloft.net>
15276
15277 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15278
15279 2016-01-25 David S. Miller <davem@davemloft.net>
15280
15281 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15282 __sqrtl_finite.
15283 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15284 instead using versioned_symbol.
15285 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15286 of entries.
15287
15288 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15289 __sqrtl_finite to GLIBC_2.23
15290
15291 2016-01-25 Ricchard Henderson <rth@redhat.com>
15292
15293 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15294
15295 2016-01-25 Andreas Schwab <schwab@suse.de>
15296
15297 [BZ #17514]
15298 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15299 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15300 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15301 * nptl/tst-mutex-errorcheck.c: New file.
15302
15303 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15304
15305 [BZ #18560]
15306 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15307 (IPCOP_semop): Likewise.
15308 (IPCOP_semget): Likewise.
15309 (IPCOP_semctl): Likewise.
15310 (IPCOP_msgsnd): Likewise.
15311 (IPCOP_msgrcv): Likewise.
15312 (IPCOP_msgget): Likewise.
15313 (IPCOP_msgctl): Likewise.
15314 (IPCOP_shmat): Likewise.
15315 (IPCOP_shmdt): Likewise.
15316 (IPCOP_shmget): Likewise.
15317 (IPCOP_shmctl): Likewise.
15318
15319 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15320
15321 * string/tst-endian.c: Include <libc-internal.h>.
15322 (do_test): Ignore tautological-compare warnings around
15323 "htobeXX (beXXtoh (i)) != i" and
15324 "htoleXX (leXXtoh (i)) != i" if-statements.
15325
15326 2016-01-24 David S. Miller <davem@davemloft.net>
15327
15328 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15329 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15330 alias.
15331 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15332 __sqrtl_finite.
15333
15334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15335
15336 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
15337
15338 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15339 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15340 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15341
15342 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15343
15344 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15345 (thread_func): Use new function to simplify barrier check.
15346 (do_test): Use new function to simplify checking barrier exit
15347 code, and actually join the child thread.
15348
15349 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15350
15351 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15352 semicolon.
15353 (__libc_tend): Likewise.
15354 (__libc_tabort): Likewise.
15355
15356 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
15357
15358 * sysdeps/nios2/libm-test-ulps: Update.
15359 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15360 (__gtsf2): Likewise.
15361 (__unorddf2): Likewise.
15362 (__unordsf2): Likewise.
15363 (__ledf2): Likewise.
15364
15365 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
15366
15367 * nis/nis_table.c (__follow_path): Disable diagnostic for
15368 uninitialized variable that is a false positive for gcc 4.7.
15369 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15370
15371 2016-01-20 Roland McGrath <roland@hack.frob.com>
15372
15373 * sysdeps/nacl/lowlevellock-futex.h
15374 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15375 Always evaluate PRIVATE argument.
15376
15377 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
15378
15379 [BZ #19490]
15380 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
15381 (pthread_cond_broadcast): Use ENTRY/END
15382 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
15383 (pthread_cond_signal): Likewise.
15384 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
15385 Likewise.
15386 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
15387 Likewise.
15388 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
15389 Likewise.
15390
15391 2016-01-20 Joseph Myers <joseph@codesourcery.com>
15392
15393 * sysdeps/ieee754/dbl-64/s_finite.c
15394 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
15395 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
15396 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
15397 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
15398 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
15399
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15401 (__gtsf2): Add as optional for libc.so.
15402 (__unordsf2): Likewise.
15403 (__signbit): Remove for libc.so.
15404 (__signbitl): Likewise.
15405
15406 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15407
15408 * iconvdata/bug-iconv11.c (test_ibm93x):
15409 Use %zu printf format specifier for size_t argument.
15410
15411 2016-01-19 Joseph Myers <joseph@codesourcery.com>
15412
15413 * math/gen-libm-test.pl (parse_ulps): Do not reduce
15414 already-recorded ulps.
15415 * sysdeps/arm/libm-test-ulps: Regenerated.
15416 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15417 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15418 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15419
15420 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
15421 Paul Pluzhnikov <ppluzhnikov@google.com>
15422
15423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
15424 assembler not supporting AVX-512.
15425
15426 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
15427
15428 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15429
15430 2016-01-18 Joseph Myers <joseph@codesourcery.com>
15431
15432 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15433 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15434
15435 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15436
15437 * sysdeps/arm/libm-test-ulps: Regenerated.
15438
15439 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15440
15441 [BZ #19451]
15442 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
15443
15444 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15445
15446 [BZ #19486]
15447 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
15448 * sysdeps/generic/fix-fp-int-convert-overflow.h
15449 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
15450 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
15451 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
15452 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
15453 Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
15455 Avoid conversions to long int where inexact exceptions
15456 could be raised.
15457 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
15458 Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
15460 Avoid conversions to long long int where inexact exceptions
15461 could be raised.
15462 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
15463 Likewise.
15464
15465 2016-01-17 Mike Frysinger <vapier@gentoo.org>
15466
15467 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
15468 * configure: Regenerated.
15469
15470 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
15471
15472 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
15473
15474 2016-01-16 Mike Frysinger <vapier@gentoo.org>
15475
15476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
15477 outside of comment.
15478
15479 2016-01-15 Torvald Riegel <triegel@redhat.com>
15480
15481 * nptl/tst-barrier1.c: Add description on first line.
15482 * nptl/tst-barrier2.c: Likewise.
15483 * nptl/tst-barrier3.c: Likewise.
15484 * nptl/tst-barrier4.c: Likewise.
15485 * nptl/tst-barrier5.c: Likewise.
15486
15487 2016-01-15 Torvald Riegel <triegel@redhat.com>
15488
15489 [BZ #18868]
15490 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
15491
15492 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
15493
15494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
15495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15496 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
15497 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
15498 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
15499 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
15500 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15501 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15502 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15503 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15504 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15505
15506 2016-01-15 Torvald Riegel <triegel@redhat.com>
15507
15508 [BZ #13065]
15509 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
15510 new implementation.
15511 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
15512 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
15513 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
15514 (BARRIER_IN_THRESHOLD): New macro.
15515 * nptl/pthread_barrierattr_setpshared.c
15516 (pthread_barrierattr_setpshared): Clean up.
15517 * nptl/tst-barrier4.c: Correct comment.
15518 * nptl/tst-barrier5.c: New file.
15519 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
15520 (gen-as-const-headers): Remove lowlevelbarrier.sym.
15521 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
15522 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
15523 * nptl/lowlevelbarrier.sym: Remove.
15524 * nptl/DESIGN-barrier.txt: Remove.
15525 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
15526 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
15527 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
15528 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
15529 error.
15530 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
15531 implementation.
15532
15533 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15534
15535 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
15536 (do_child): Mask SIGRTMIN while thr is running.
15537
15538 2016-01-15 Martin Sebor <msebor@redhat.com>
15539
15540 [BZ #19432]
15541 * iconvdata/Makefile: Add bug-iconv11.
15542 * iconvdata/bug-iconv11.c: New test.
15543 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
15544 * iconvdata/ibm933.c: Same.
15545 * iconvdata/ibm935.c: Same.
15546 * iconvdata/ibm937.c: Same.
15547 * iconvdata/ibm939.c: Same.
15548
15549 2016-01-15 Martin Sebor <msebor@redhat.com>
15550
15551 [BZ #19443]
15552 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
15553 [DEBUG] (_ufc_set_bits): Declare used.
15554 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
15555 [DEBUG] (print_all): Declare used.
15556 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
15557 operands of the ternary ?: expression to target type.
15558 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
15559 calling the undeclared abort.
15560 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
15561
15562 2016-01-15 Martin Sebor <msebor@redhat.com>
15563
15564 [BZ #18755]
15565 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
15566 warnings.
15567 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
15568 (__gai_create_helper_thread): Same.
15569 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
15570 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
15571 to suppress -Wmaybe-uninitialized warnings.
15572
15573 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
15574
15575 [BZ #19465]
15576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
15577 inside if.
15578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15581
15582 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
15583
15584 [BZ #19466]
15585 * time/tst-mktime2.c (time_t_max): Removed.
15586 (time_t_min): Likewise.
15587 (TYPE_SIGNED): New.
15588 (TYPE_MINIMUM): Likewise.
15589 (TYPE_MAXIMUM): Likewise.
15590 (TIME_T_MIN): Likewise.
15591 (TIME_T_MAX): Likewise.
15592 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
15593 and TIME_T_MIN.
15594 (do_test): Likewise.
15595
15596 2016-01-14 Amit Pawar <amit.pawar@amd.com>
15597
15598 [BZ #19467]
15599 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15600 index_Fast_Unaligned_Load flag for Excavator family CPUs.
15601
15602 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
15603
15604 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
15605
15606 2016-01-13 Carlos O'Donell <carlos@redhat.com>
15607
15608 * benchtests/Makefile (PYTHON): Define.
15609 (bench-func): Use $(PYTHON) to run python scripts.
15610 ($(objpfx)bench-%.c): Likewise.
15611
15612 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
15613
15614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
15615 leading slash when `file_name' is "/".
15616
15617 2016-01-12 Joseph Myers <joseph@codesourcery.com>
15618
15619 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
15620 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
15621 Likewise.
15622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
15623 Likewise.
15624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
15625 Likewise.
15626 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
15627 enum constant and macro.
15628 (PTRACE_SETSIGMASK): Likewise.
15629 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15630 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15631 (PTRACE_GETSIGMASK): Likewise.
15632 (PTRACE_SETSIGMASK): Likewise.
15633 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
15635 Likewise.
15636 (PTRACE_SETSIGMASK): Likewise.
15637 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15639 (PTRACE_GETSIGMASK): Likewise.
15640 (PTRACE_SETSIGMASK): Likewise.
15641 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
15643 Likewise.
15644 (PTRACE_SETSIGMASK): Likewise.
15645 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
15647 Likewise.
15648 (PTRACE_SETSIGMASK): Likewise.
15649 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15650 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
15651 Likewise.
15652 (PTRACE_SETSIGMASK): Likewise.
15653 (PTRACE_SECCOMP_GET_FILTER): Likewise.
15654
15655 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
15656 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15657
15658 [BZ #19439]
15659 * math/bits/mathcalls.h
15660 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
15661 prototype.
15662 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
15663
15664 2016-01-11 Andreas Schwab <schwab@suse.de>
15665
15666 [BZ #19253]
15667 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
15668 cache when TZDEFRULES was used.
15669 * time/tst-tzname.c: New file.
15670 * time/Makefile (test): Add tst-tzname.
15671 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
15672 * timezone/Makefile (test-zones): Add $(posixrules-file).
15673 ($(testdata)/$(posixrules-file)): New rule.
15674
15675 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
15676
15677 Fix doc quoting problems with Texinfo 5
15678 Without this change, in the info file output, Texinfo 5 quotes code
15679 in text with undirected single quotes 'like this' and generates
15680 code examples that with many PDF readers cannot be cut out of PDFs
15681 and pasted into code.
15682 * manual/libc.texinfo: Configure the libc manual like the GNU
15683 Emacs manual, by using @documentencoding and setting
15684 txicodequoteundirected and txicodequotebacktick. This way,
15685 Texinfo 5 quotes code in text with directed single quotes ‘like
15686 this’ and produces examples that can be cut out of PDFs. This
15687 change causes Texinfo 5 to generate info files that contain UTF-8
15688 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
15689 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
15690
15691 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15692
15693 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
15694 __libc_tabort, __libc_tend): New wrappers that enforce compiler
15695 barriers to their respective compiler built-ins.
15696 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
15697 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
15698 * sysdeps/powerpc/sysdep.h: Likewise.
15699 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
15700 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
15701 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
15702
15703 2016-01-08 Marko Myllynen <myllynen@redhat.com>
15704
15705 * scripts/config.guess: Revert previous shebang change.
15706 * scripts/config.sub: Likewise.
15707 * scripts/mkinstalldirs: Likewise.
15708
15709 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15710
15711 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
15712 PPC_FEATURE2_HAS_IEEE128.
15713 * sysdeps/powerpc/dl-procinfo.c:
15714 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
15715
15716 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
15717
15718 [BZ #19415]
15719 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
15720 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
15721 (_dl_lookup_address): Rewrite using function resolver trampoline.
15722 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
15723 two bits in address.
15724
15725 2016-01-07 Mike Frysinger <vapier@gentoo.org>
15726
15727 * longlong.h: Change !__SHMEDIA__ to
15728 (!defined (__SHMEDIA__) || !__SHMEDIA__).
15729 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
15730
15731 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
15732 Joseph Myers <joseph@codesourcery.com>
15733 Mark Shinwell <shinwell@codesourcery.com>
15734 Andrew Stubbs <ams@codesourcery.com>
15735 Rich Felker <dalias@libc.org>
15736
15737 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
15738
15739 2016-01-07 Richard Henderson <rth@redhat.com>
15740
15741 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
15742
15743 2016-01-07 Mike Frysinger <vapier@gentoo.org>
15744
15745 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
15746 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
15747 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15748 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15749 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
15750
15751 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
15752 Joseph Myers <joseph@codesourcery.com>
15753
15754 * timezone/private.h: Update from tzcode 2015g.
15755 * timezone/tzfile.h: Likewise.
15756 * timezone/tzselect.ksh: Likewise.
15757 * timezone/zdump.c: Likewise.
15758 * timezone/zic.c: Likewise.
15759 * timezone/ialloc.c: Remove file.
15760 * timezone/scheck.c: Likewise.
15761 * timezone/Makefile (extra-objs): Remove variable.
15762 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
15763 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
15764 -Wno-maybe-uninitialized.
15765 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
15766 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
15767 (CFLAGS-ialloc.c): Remove variable.
15768 (CFLAGS-scheck.c): Likewise.
15769 * timezone/README: Update list of files from tzcode.
15770
15771 2016-01-07 Khem Raj <raj.khem@gmail.com>
15772
15773 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
15774 instead of __fxprintf when _LIBC is undefined.
15775
15776 2016-01-07 Marko Myllynen <myllynen@redhat.com>
15777
15778 * catgets/test-gencat.sh: Remove space after shebang.
15779 * conform/GlibcConform.pm: Likewise.
15780 * conform/check-header-lists.sh: Likewise.
15781 * conform/conformtest.pl: Likewise.
15782 * conform/linknamespace.pl: Likewise.
15783 * conform/list-header-symbols.pl: Likewise.
15784 * debug/catchsegv.sh: Likewise.
15785 * elf/genrtldtbl.awk: Likewise.
15786 * elf/tst-pathopt.sh: Likewise.
15787 * elf/tst-rtld-load-self.sh: Likewise.
15788 * grp/tst_fgetgrent.sh: Likewise.
15789 * iconvdata/gen-8bit-gap-1.sh: Likewise.
15790 * iconvdata/gen-8bit-gap.sh: Likewise.
15791 * iconvdata/gen-8bit.sh: Likewise.
15792 * iconvdata/run-iconv-test.sh: Likewise.
15793 * intl/tst-gettext.sh: Likewise.
15794 * intl/tst-gettext2.sh: Likewise.
15795 * intl/tst-gettext4.sh: Likewise.
15796 * intl/tst-gettext6.sh: Likewise.
15797 * intl/tst-translit.sh: Likewise.
15798 * io/ftwtest-sh: Likewise.
15799 * libio/test-freopen.sh: Likewise.
15800 * locale/gen-translit.pl: Likewise.
15801 * malloc/tst-mtrace.sh: Likewise.
15802 * manual/check-safety.sh: Likewise.
15803 * manual/libc-texinfo.sh: Likewise.
15804 * manual/tsort.awk: Likewise.
15805 * manual/xtract-typefun.awk: Likewise.
15806 * nptl/tst-cancel-wrappers.sh: Likewise.
15807 * nptl/tst-tls6.sh: Likewise.
15808 * posix/globtest.sh: Likewise.
15809 * posix/tst-getconf.sh: Likewise.
15810 * posix/wordexp-tst.sh: Likewise.
15811 * scripts/check-c++-types.sh: Likewise.
15812 * scripts/check-local-headers.sh: Likewise.
15813 * scripts/config.guess: Likewise.
15814 * scripts/config.sub: Likewise.
15815 * scripts/cpp: Likewise.
15816 * scripts/cross-test-ssh.sh: Likewise.
15817 * scripts/documented.sh: Likewise.
15818 * scripts/evaluate-test.sh: Likewise.
15819 * scripts/gen-libc-abis: Likewise.
15820 * scripts/gen-sorted.awk: Likewise.
15821 * scripts/list-fixed-bugs.py: Likewise.
15822 * scripts/merge-test-results.sh: Likewise.
15823 * scripts/mkinstalldirs: Likewise.
15824 * scripts/rellns-sh: Likewise.
15825 * scripts/test-installation.pl: Likewise.
15826 * scripts/update-copyrights: Likewise.
15827 * stdio-common/tst-printf.sh: Likewise.
15828 * stdio-common/tst-unbputc.sh: Likewise.
15829 * stdlib/tst-fmtmsg.sh: Likewise.
15830 * stdlib/tst-setcontext3.sh: Likewise.
15831 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
15832 * sysdeps/unix/make-syscalls.sh: Likewise.
15833
15834 2016-01-06 John David Anglin <dave.anglin@bell.net>
15835
15836 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
15837 asm stw with atomic_exchange_rel. Add explanatory comment.
15838 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15839 Likewise.
15840
15841 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
15842
15843 [BZ #19122]
15844 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
15845 * sysdeps/generic/dl-unistd.h: New file.
15846 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
15847
15848 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
15849
15850 [BZ #19122]
15851 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
15852 * sysdeps/generic/dl-mman.h: New file.
15853 * sysdeps/mach/hurd/dl-mman.h: Likewise.
15854
15855 2016-01-05 Joseph Myers <joseph@codesourcery.com>
15856
15857 * manual/texinfo.tex: Update to version 2016-01-04.21 with
15858 trailing whitespace removed.
15859 * scripts/config.guess: Update to version 2016-01-01.
15860 * scripts/config.sub: Update to version 2016-01-01.
15861 * scripts/move-if-change: Update from gnulib.
15862
15863 2016-01-04 Anton Blanchard <anton@samba.org>
15864
15865 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
15866 for array indices.
15867 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
15868
15869 2016-01-04 Joseph Myers <joseph@codesourcery.com>
15870
15871 * NEWS: Update copyright dates.
15872 * catgets/gencat.c (print_version): Likewise.
15873 * csu/version.c (banner): Likewise.
15874 * debug/catchsegv.sh: Likewise.
15875 * debug/pcprofiledump.c (print_version): Likewise.
15876 * debug/xtrace.sh (do_version): Likewise.
15877 * elf/ldconfig.c (print_version): Likewise.
15878 * elf/ldd.bash.in: Likewise.
15879 * elf/pldd.c (print_version): Likewise.
15880 * elf/sotruss.sh: Likewise.
15881 * elf/sprof.c (print_version): Likewise.
15882 * iconv/iconv_prog.c (print_version): Likewise.
15883 * iconv/iconvconfig.c (print_version): Likewise.
15884 * locale/programs/locale.c (print_version): Likewise.
15885 * locale/programs/localedef.c (print_version): Likewise.
15886 * login/programs/pt_chown.c (print_version): Likewise.
15887 * malloc/memusage.sh (do_version): Likewise.
15888 * malloc/memusagestat.c (print_version): Likewise.
15889 * malloc/mtrace.pl: Likewise.
15890 * manual/libc.texinfo: Likewise.
15891 * nptl/version.c (banner): Likewise.
15892 * nscd/nscd.c (print_version): Likewise.
15893 * nss/getent.c (print_version): Likewise.
15894 * nss/makedb.c (print_version): Likewise.
15895 * posix/getconf.c (main): Likewise.
15896 * scripts/test-installation.pl: Likewise.
15897 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15898
15899 * All files with FSF copyright notices: Update copyright dates
15900 using scripts/update-copyrights.
15901 * intl/plural.c: Regenerated.
15902 * locale/programs/charmap-kw.h: Likewise.
15903 * locale/programs/locfile-kw.h: Likewise.
15904
15905 2016-01-02 Helge Deller <deller@gmx.de>
15906
15907 [BZ #19285]
15908 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
15909 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
15910 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
15911 (MADV_xxK_PAGES): Remove.
15912
15913 2016-01-01 Mike Frysinger <vapier@gentoo.org>
15914
15915 [BZ #15421]
15916 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
15917 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
15918 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15919 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
15920
15921 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
15922
15923 [BZ #19408]
15924 * sysdeps/unix/sysv/linux/personality.c: New file.
15925 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
15926 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
15927 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
15928 (sysdep_routines): Add personality.
15929 (tests): Add tst-personality.
15930 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
15931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
15932 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
15933 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
15934 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15935 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
15936 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
15937 Likewise.
15938 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
15939 Likewise.
15940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
15941 Likewise.
15942 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
15943 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
15944 Likewise.
15945
15946 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
15947
15948 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
15949 (PATH_ARM_SYSTYPE): Remove.
15950 (PATH_CPUINFO): Likewise.
15951 (IO_BASE_FOOTBRIDGE): Likewise.
15952 (IO_SHIFT_FOOTBRIDGE): Likewise.
15953 (struct platform): Likewise.
15954 (init_iosys): Remove compatibility code for 2.4 kernels.
15955 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
15956
15957 2015-12-29 Florian Weimer <fweimer@redhat.com>
15958
15959 * malloc/tst-malloc-thread-fail.c: New file.
15960 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
15961 (tst-malloc-thread-fail): Link against libpthread.
15962
15963 2015-12-29 Mike Frysinger <vapier@gentoo.org>
15964
15965 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
15966 (get_parser): New function.
15967 (main): New function.
15968
15969 2015-12-29 Rob Wu <rob@robwu.nl>
15970
15971 [BZ #19369]
15972 * resolv/res_init.c (__res_vinit): Reset defdname before use.
15973
15974 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
15975
15976 [BZ #19270]
15977 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15978
15979 2015-12-28 Mike Frysinger <vapier@gentoo.org>
15980
15981 [BZ #15421]
15982 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
15983
15984 2015-12-23 Torvald Riegel <triegel@redhat.com>
15985
15986 [BZ #13690]
15987 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
15988 after releasing it.
15989 (__lll_robust_unlock): Likewise.
15990 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15991 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
15992 (lll_robust_unlock): Likewise.
15993 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
15994 Prevent warnings in callers.
15995
15996 2015-12-23 Florian Weimer <fweimer@redhat.com>
15997
15998 * malloc/arena.c (list_lock): Update comment.
15999
16000 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16001
16002 * sysdeps/powerpc/hwcapinfo.c: Export symbol
16003 __parse_hwcap_and_convert_at_platform to libc.a.
16004
16005 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16006
16007 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16008 platform and feature support for POWER9.
16009 * sysdeps/powerpc/dl-procinfo.h: Likewise.
16010 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16011 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16012 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16013 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16014 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16015 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16016 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16017
16018 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16019
16020 Harmonize generic stdio-lock support with nptl
16021
16022 This fixes build when _IO_funlockfile is a macro, fixes build where
16023 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16024 stack unwind.
16025
16026 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16027 _IO_release_lock ): Use cleanup attribute on new
16028 _IO_acquire_lock_file variable instead of assuming that
16029 _IO_release_lock will be called.
16030 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16031 _IO_acquire_lock_needs_exceptions_enabled.
16032 (_IO_acquire_lock_clear_flags2): New macro.
16033
16034 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16035
16036 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16037
16038 2015-12-21 Florian Weimer <fweimer@redhat.com>
16039
16040 [BZ #19182]
16041 * malloc/arena.c (list_lock): Document lock ordering requirements.
16042 (free_list_lock): New lock.
16043 (ptmalloc_lock_all): Comment on free_list_lock.
16044 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16045 (detach_arena): Update comment. free_list_lock is now needed.
16046 (_int_new_arena): Use free_list_lock around detach_arena call.
16047 Acquire arena lock after list_lock. Add comment, including FIXME
16048 about incorrect synchronization.
16049 (get_free_list): Switch to free_list_lock.
16050 (reused_arena): Acquire free_list_lock around detach_arena call
16051 and attached threads counter update. Add two FIXMEs about
16052 incorrect synchronization.
16053 (arena_thread_freeres): Switch to free_list_lock.
16054 * malloc/malloc.c (struct malloc_state): Update comments to
16055 mention free_list_lock.
16056
16057 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
16058
16059 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16060 Remove functions.
16061 (sloww, sloww1): Accept argument to offset quadrant.
16062 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16063 quadrant.
16064 (__sin, __cos): Consolidate common code into new functions.
16065 (reduce_sincos_1, do_sincos_1): New functions.
16066 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16067
16068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16069 code to new functions.
16070 (reduce_sincos_2, do_sincos_2): New functions.
16071 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16072
16073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16074 common code for sincos.
16075 (__cos) [!IN_SINCOS]: Likewise.
16076 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16077 New function.
16078 (__sincos): Use it.
16079
16080 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
16081
16082 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16083 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16084 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16085
16086 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
16087
16088 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16090 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16091 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16092 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16093 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16094 index_Prefer_No_VZEROUPPER): New feature.
16095 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16096 Prefer_No_VZEROUPPER for Knights Landing.
16097
16098 015-12-18 Torvald Riegel <triegel@redhat.com>
16099
16100 * math/atest-exp2.c (mp_exp_m1): Remove.
16101
16102 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16103
16104 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16105 syscalls.
16106 (__SYSCALL0): New macro.
16107 (__SYSCALL1): Likewise.
16108 (__SYSCALL2): Likewise.
16109 (__SYSCALL3): Likewise.
16110 (__SYSCALL4): Likewise.
16111 (__SYSCALL5): Likewise.
16112 (__SYSCALL6): Likewise.
16113 (__SYSCALL_CONCAT_X): Likewise.
16114 (__SYSCALL_CONCAT): Likewise.
16115 (__SYSCALL_DIST): Likewise.
16116 (__SYSCALL_CALL): Likewise.
16117
16118 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
16119
16120 [BZ #19363]
16121 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16122
16123 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16124
16125 [BZ #19375]
16126 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16127 negative subnormals.
16128
16129 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
16130
16131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16132 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16133 (INTERNAL_SYSCALL_NCS): Use it.
16134 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16135
16136 2015-12-16 Florian Weimer <fweimer@redhat.com>
16137
16138 [BZ #19243]
16139 * malloc/arena.c (get_free_list): Remove assert and adjust
16140 reference count handling. Add comment about reused_arena
16141 interaction.
16142 (reused_arena): Add comments abount get_free_list interaction.
16143 * malloc/tst-malloc-thread-exit.c: New file.
16144 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16145 (tst-malloc-thread-exit): Link against libpthread.
16146
16147 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
16148
16149 [BZ #19367]
16150 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16151 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16152 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16153 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16154 (index_Prefer_MAP_32BIT_EXEC): Likewise.
16155
16156 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
16157
16158 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16159 Silvermont optimizations for Knights Landing.
16160
16161 2015-12-15 Andreas Schwab <schwab@suse.de>
16162
16163 [BZ #17197]
16164 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16165 immediately after emitting SI.
16166 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16167 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16168 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16169 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16170 * iconvdata/bug-iconv10.c: New file.
16171 * iconvdata/Makefile (tests): Add bug-iconv10.
16172 ($(objpfx)bug-iconv10.out): New rule.
16173
16174 2015-12-15 Florian Weimer <fweimer@redhat.com>
16175
16176 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16177 aliasing violation.
16178
16179 2015-12-14 Joseph Myers <joseph@codesourcery.com>
16180
16181 [BZ #18472]
16182 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16183 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16184 conditionals for them.
16185 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16186 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16188 sys/kdaemon.h.
16189 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16190 compat-only syscall, obsoleted in glibc 2.23.
16191 (create_module): Likewise.
16192 (get_kernel_syms): Likewise.
16193 (query_module): Likewise.
16194 (uselib): Likewise.
16195 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16196
16197 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
16198
16199 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16200 <linux/version.h>.
16201 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16202 conditional code.
16203 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16204 and ioshift_name initialization.
16205
16206 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
16207
16208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16209 Fix indentation.
16210
16211 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
16212
16213 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16214
16215 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
16216
16217 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16218
16219 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
16220 Jakub Wilk <jwilk@debian.org>
16221
16222 [BZ #19347]
16223 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16224 to change the group of the device to the tty group.
16225
16226 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
16227
16228 Split large string section; add truncation advice
16229 * manual/examples/strncat.c: Remove.
16230 This example was misleading, as the code would have undefined
16231 behavior if "hello" was longer than SIZE. Anyway, the manual
16232 shouldn't encourage strncpy+strncat for this sort of thing.
16233 * manual/string.texi (Copying Strings and Arrays): Split into
16234 three sections Copying Strings and Arrays, Concatenating Strings,
16235 and Truncating Strings, as this section was way too long. All
16236 cross-referenced changed. Add advice about string-truncation
16237 functions. Remove misleading strncat example.
16238
16239 2015-12-10 Carlos O'Donell <carlos@redhat.com>
16240
16241 * manual/nss.texi (NSS Modules Interface): Document
16242 NSS_STATUS_NOTFOUND and SUCCESS.
16243
16244 2015-12-09 Mike FABIAN <mfabian@redhat.com>
16245
16246 [BZ 18568]
16247 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16248 201505L, for Unicode 8.
16249
16250 2015-12-09 Carlos O'Donell <carlos@redhat.com>
16251
16252 * locale/C-translit.h: Regenerate.
16253
16254 2015-12-09 Mike FABIAN <mfabian@redhat.com>
16255
16256 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16257 and U+0153.
16258
16259 2015-12-09 Joseph Myers <joseph@codesourcery.com>
16260
16261 [BZ #19351]
16262 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16263 expanding log(1+z), compare z rather than its square with epsilon
16264 to determine when to avoid evaluating the expansion.
16265
16266 [BZ #19350]
16267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16268 Increase overflow threshold.
16269
16270 [BZ #19349]
16271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16272 when small.
16273
16274 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16275 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16276 New macro.
16277 [__LINUX_KERNEL_VERSION >= 0x040300]
16278 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16279 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16280 Likewise.
16281 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16282 Likewise.
16283 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16284 Likewise.
16285 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16286 Likewise.
16287 [__LINUX_KERNEL_VERSION >= 0x040300]
16288 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16289 [__LINUX_KERNEL_VERSION >= 0x040300]
16290 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16291 [__LINUX_KERNEL_VERSION >= 0x040300]
16292 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16293 [__LINUX_KERNEL_VERSION >= 0x040300]
16294 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16295 [__LINUX_KERNEL_VERSION >= 0x040300]
16296 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16297 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16298 Likewise.
16299 [__LINUX_KERNEL_VERSION >= 0x040300]
16300 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16301 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16302 Likewise.
16303 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16304 Likewise.
16305 [__LINUX_KERNEL_VERSION >= 0x040300]
16306 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16307 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16308 Likewise.
16309 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16310 Likewise.
16311 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16312 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16313 Likewise.
16314 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16315 Likewise.
16316 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16317 Likewise.
16318 [__LINUX_KERNEL_VERSION >= 0x040300]
16319 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16320 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16321 Likewise.
16322 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16323 Likewise.
16324 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16325 Likewise.
16326 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16327 Likewise.
16328 [__LINUX_KERNEL_VERSION >= 0x040300]
16329 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16330 [__LINUX_KERNEL_VERSION >= 0x040300]
16331 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16332 [__LINUX_KERNEL_VERSION >= 0x040300]
16333 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16334 [__LINUX_KERNEL_VERSION >= 0x040300]
16335 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16336 [__LINUX_KERNEL_VERSION >= 0x040300]
16337 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16338 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16339 Likewise.
16340 [__LINUX_KERNEL_VERSION >= 0x040300]
16341 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16342 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16343 Likewise.
16344 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16345 Likewise.
16346 [__LINUX_KERNEL_VERSION >= 0x040300]
16347 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16348 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16349 Likewise.
16350 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16351 Likewise.
16352 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16353 (__ASSUME_SOCKET_SYSCALL): Likewise.
16354 (__ASSUME_BIND_SYSCALL): Likewise.
16355 (__ASSUME_CONNECT_SYSCALL): Likewise.
16356 (__ASSUME_LISTEN_SYSCALL): Likewise.
16357 (__ASSUME_ACCEPT_SYSCALL): Likewise.
16358 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16359 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16360 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16361 (__ASSUME_SEND_SYSCALL): Likewise.
16362 (__ASSUME_SENDTO_SYSCALL): Likewise.
16363 (__ASSUME_RECV_SYSCALL): Likewise.
16364 (__ASSUME_RECVFROM_SYSCALL): Likewise.
16365 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16366 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16367 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16368 (__ASSUME_SENDMSG_SYSCALL): Likewise.
16369 (__ASSUME_RECVMSG_SYSCALL): Likewise.
16370 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16371 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16372 Likewise.
16373 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16374 Likewise.
16375 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
16376 Likewise.
16377 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
16378 Likewise.
16379 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
16380 Likewise.
16381 [__LINUX_KERNEL_VERSION >= 0x020625]
16382 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16383 [__LINUX_KERNEL_VERSION >= 0x020625]
16384 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16385 [__LINUX_KERNEL_VERSION >= 0x020625]
16386 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16387 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
16388 Likewise.
16389 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
16390 Likewise.
16391 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
16392 Likewise.
16393 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
16394 Likewise.
16395 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
16396 Likewise.
16397 [__LINUX_KERNEL_VERSION >= 0x020625]
16398 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16399 [__LINUX_KERNEL_VERSION >= 0x020625]
16400 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16401 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
16402 Likewise.
16403 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
16404 Likewise.
16405
16406 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
16407
16408 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
16409 record the current if the current ABI and CPU support the FP64
16410 extension.
16411 (has-modd-spreg): Define to record the current if the current ABI and
16412 CPU support 32-bit floating point values in odd FPU registers.
16413 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16414 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
16415 $(has-modd-spreg) equals yes.
16416 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
16417 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
16418 $(has-modd-spreg) equal yes.
16419
16420 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
16421
16422 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
16423 basename.
16424
16425 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
16426
16427 * benchtests/Makefile (bench-math): Move ffs and ffsll...
16428 (bench-string): ... here.
16429 (bench): Add bench-string.
16430 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
16431 to *-benchset to reflect what they are.
16432 (benchset): Adjust.
16433
16434 * benchtests/sincos-inputs: Add inputs from sin-inputs and
16435 cos-inputs.
16436
16437 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
16438
16439 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
16440 __attribute__ ((__simd__)) for vector math function declarations.
16441
16442 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
16443
16444 Fix typo in strncat, wcsncat manual entries
16445 * manual/string.texi (Copying and Concatenation): Fix typos in
16446 sample implementations of strncat and wcsncat, by having them use
16447 the old value of the destination length, not the new one.
16448
16449 2015-12-04 Joseph Myers <joseph@codesourcery.com>
16450
16451 [BZ #16961]
16452 [BZ #16962]
16453 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
16454 string on the stack for strtod.
16455 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
16456 a string on the stack for strtof.
16457 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
16458 constructing a string on the stack for strtold.
16459 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
16460 __strtold_nan to GLIBC_PRIVATE.
16461 * math/test-nan-overflow.c: New file.
16462 * math/test-nan-payload.c: Likewise.
16463 * math/Makefile (tests): Add test-nan-overflow and
16464 test-nan-payload.
16465
16466 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
16467
16468 Consistency about byte vs character in string.texi
16469 * manual/string.texi (String and Array Utilities):
16470 Distinguish more carefully among bytes, multibyte characters,
16471 and wide characters. Use "byte" when talking about C 'char',
16472 to distinguish it more clearly from multibyte characters.
16473 Say "wide character" or "multibyte character" instead of
16474 "character", when a wide or multibyte character is intended.
16475 Similarly for "multibyte string" versus "string".
16476 Define these terms more carefully.
16477
16478 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
16479
16480 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
16481 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
16482 Likewise.
16483 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16484 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16485 * sysdeps/sh/math_private.h: New file.
16486 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
16487 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
16488 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
16489 long double function name.
16490 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16491 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16492 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16496 Remove __finitel, __isinfl, and __isnanl.
16497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16498 Likewise.
16499 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16501 Remove __finitel.
16502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16503 Likewise.
16504 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16505
16506 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
16507
16508 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
16509 installed libmvec_nonshared.a.
16510
16511 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16512
16513 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
16514 (sysdep_routines): Likewise.
16515 (sysdep-rtld-routines): Likewise.
16516 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
16517 [$(subdir) = nptl](tests-static): test-get_hwcap-static
16518 * sysdeps/powerpc/Versions: Added new
16519 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
16520 * sysdeps/powerpc/hwcapinfo.c: New file.
16521 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
16522 and parse hwcap, hwcap2 and platform number information.
16523 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
16524 to store HWCAP+HWCAP2 and platform number.
16525 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
16526 for HWCAP+HWCAP2 and platform number in the TCB.
16527 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
16528 the HWCAP, HWCAP2 and platform number in the TCB.
16529 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
16530 (TLS_INIT_TP): Included calls to add the hwcap and
16531 at_platform values in the TCB in TP initialization.
16532 (TLS_DEFINE_INIT_TP): Likewise.
16533 (THREAD_GET_HWCAP): New macro.
16534 (THREAD_SET_HWCAP): Likewise.
16535 (THREAD_GET_AT_PLATFORM): Likewise.
16536 (THREAD_SET_AT_PLATFORM): Likewise.
16537 * sysdeps/powerpc/powerpc32/dl-machine.h:
16538 (dl_platform_init): New function that calls
16539 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
16540 powerpc32.
16541 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
16542 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
16543 this functionality, static linking case.
16544 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
16545 linking case.
16546 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
16547 __parse_hwcap_and_convert_at_platform for the static linking case.
16548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
16549 Included the new __parse_hwcap_and_convert_at_platform symbol in the
16550 ABI list for GLIBC 2.23.
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
16552 Likewise.
16553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
16554 Likewise.
16555
16556 2015-12-02 Ludovic Courtès <ludo@gnu.org>
16557
16558 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
16559 * configure: Regenerate.
16560 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
16561 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
16562
16563 2015-12-02 Carlos O'Donell <carlos@redhat.com>
16564
16565 * iconvdata/ibm930.c: Add comment explaining encoding uses.
16566 * iconvdata/ibm933.c: Likewise.
16567 * iconvdata/ibm935.c: Likewise.
16568 * iconvdata/ibm937.c: Likewise.
16569 * iconvdata/ibm939.c: Likewise.
16570
16571 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16572
16573 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
16574 pthread_join.
16575 * nptl/tst-cancel21.c (tf): Likewise.
16576
16577 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
16578
16579 [BZ #19313]
16580 * bits/typesizes.h (__CPU_MASK_TYPE): New.
16581 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16582 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16583 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
16584 Likewise.
16585 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
16586 Likewise.
16587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
16588 Likewise.
16589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
16590 Likewise.
16591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
16592 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
16593 unsigned long int with __CPU_MASK_TYPE.
16594
16595 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
16596
16597 * sysdeps/aarch64/libm-test-ulps: Regenerated.
16598
16599 2015-12-01 Joseph Myers <joseph@codesourcery.com>
16600
16601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
16602 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
16603 t512.x.
16604 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
16605
16606 2015-11-30 Amit Pawar <amit.pawar@amd.com>
16607
16608 [BZ #19214]
16609 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
16610 argument to return extended model. Update family and model
16611 with extended family and model when family == 0x0f.
16612 (init_cpu_features): Updated.
16613
16614 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16615
16616 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
16617 signed off_t, so 32bit bigger than 2GiB values are fine actually.
16618
16619 * sysdeps/mach/hurd/mmap64.c: New file.
16620
16621 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
16622
16623 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
16624 rights for its main user thread in NEWTASK.
16625
16626 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
16627
16628 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
16629 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
16630
16631 2015-11-27 Carlos O'Donell <carlos@redhat.com>
16632
16633 [BZ #14259]
16634 * Makeconfig: Rename localedir to complocaledir.
16635 Rename inst_localedir to inst_complocaledir.
16636 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
16637 * config.make.in: Use complocaledir and libc_cv_complocaledir.
16638 * configure.ac: Use libc_cv_complocaledir.
16639 * configure: Regenerate.
16640 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
16641 -DCOMPLOCALEDIR.
16642 * locale/findlocale.c: Use COMPLOCALEDIR.
16643 * locale/loadarchive.c: Likewise.
16644 * locale/programs/locale.c: Likewise.
16645 * locale/programs/localedef.c: Likewise.
16646 * locale/programs/locarchive.c: Likewise.
16647 * localedata/Makefile: Use inst_complocaledir.
16648 * sysdeps/gnu/configure: Regenerate.
16649 * sysdeps/hppa/configure: Regenerate.
16650 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16651 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16653 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16654 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16655 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16656 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16657
16658 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
16659
16660 [BZ #19058]
16661 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
16662 AS_NEEDED.
16663 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
16664 workaround.
16665 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
16666 libmvec-static-only-routines): Added new file.
16667 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
16668
16669 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16670
16671 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
16672 of interrupted RPC instead of restoring it.
16673
16674 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
16675 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
16676 libc_hidden_def.
16677 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
16678 into initialized data instead of common. Define rtld_hidden_data_def.
16679 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
16680 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
16681 libc_hidden_def.
16682 (if_freenameindex): Add libc_hidden_weak.
16683 (if_nameindex): Add libc_hidden_weak.
16684 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
16685 __open64.
16686 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
16687 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
16688 * sysdeps/mach/nanosleep.c: Include <time.h>
16689 (__nanosleep): Rename to __libc_nanosleep.
16690 (__nanosleep): Add weak_alias.
16691 (nanosleep): Update alias.
16692
16693 2015-11-24 Joseph Myers <joseph@codesourcery.com>
16694
16695 * stdlib/strtod_nan.c: New file.
16696 * stdlib/strtod_nan_double.h: Likewise.
16697 * stdlib/strtod_nan_float.h: Likewise.
16698 * stdlib/strtod_nan_main.c: Likewise.
16699 * stdlib/strtod_nan_narrow.h: Likewise.
16700 * stdlib/strtod_nan_wide.h: Likewise.
16701 * stdlib/strtof_nan.c: Likewise.
16702 * stdlib/strtold_nan.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
16704 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
16705 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
16706 * wcsmbs/wcstod_nan.c: Likewise.
16707 * wcsmbs/wcstof_nan.c: Likewise.
16708 * wcsmbs/wcstold_nan.c: Likewise.
16709 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
16710 strtold_nan.
16711 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
16712 wcstof_nan.
16713 * include/stdlib.h (__strtof_nan): Declare and use
16714 libc_hidden_proto.
16715 (__strtod_nan): Likewise.
16716 (__strtold_nan): Likewise.
16717 (__wcstof_nan): Likewise.
16718 (__wcstod_nan): Likewise.
16719 (__wcstold_nan): Likewise.
16720 * include/wchar.h (____wcstoull_l_internal): Declare.
16721 * stdlib/strtod_l.c: Do not include <ieee754.h>.
16722 (____strtoull_l_internal): Remove declaration.
16723 (STRTOF_NAN): Define macro.
16724 (SET_MANTISSA): Remove macro.
16725 (STRTOULL): Likewise.
16726 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
16727 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
16728 (STRTOF_NAN): Define macro.
16729 (SET_MANTISSA): Remove macro.
16730 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
16731 (SET_MANTISSA): Remove macro.
16732 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
16733 macro.
16734 (SET_MANTISSA): Remove macro.
16735 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
16736 macro.
16737 (SET_MANTISSA): Remove macro.
16738 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
16739 (SET_MANTISSA): Remove macro.
16740 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
16741 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
16742 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
16743
16744 [BZ #19266]
16745 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
16746 upper case and lower case letters inside NAN(), not using TOLOWER.
16747 * stdlib/tst-strtod-nan-locale-main.c: New file.
16748 * stdlib/tst-strtod-nan-locale.c: Likewise.
16749 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
16750 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
16751 Depend on $(gen-locales).
16752 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
16753 * wcsmbs/tst-wcstod-nan-locale.c: New file.
16754 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
16755 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
16756 Depend on $(gen-locales).
16757 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
16758
16759 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
16760
16761 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
16762
16763 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
16765 __finitel, __isinfl, and __isnanl.
16766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16767 Likewise.
16768 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
16770 __finitel.
16771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16772 Likewise.
16773 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16774
16775 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
16776
16777 * malloc/memusage.c (me): Remove redundant getenv call.
16778
16779 2015-10-24 Florian Weimer <fweimer@redhat.com>
16780
16781 [BZ #19143]
16782 [BZ #19164]
16783 * nptl/check-cpuset.h: Remove.
16784 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
16785 Remove CPU set size check.
16786 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
16787 Likewise.
16788 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
16789 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16790 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
16791 (__pthread_setaffinity_new): Remove CPU set size check.
16792 * sysdeps/unix/sysv/linux/sched_setaffinity.c
16793 (__kernel_cpumask_size): Remove.
16794 (__sched_setaffinity_new): Remove CPU set size check.
16795 * manual/threads.texi (Default Thread Attributes): Remove stale
16796 reference to check_cpuset_attr, determine_cpumask_size in comment.
16797 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
16798 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
16799 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
16800 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
16801 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
16802 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
16803 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
16804 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
16805 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
16806 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
16807 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
16808 skeleton test file.
16809 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
16810 tst-affinity-pid.
16811
16812 2015-11-24 Florian Weimer <fweimer@redhat.com>
16813
16814 * scripts/update-abilist.sh: New file.
16815 * Makefile (+subdir_targets): Add subdir_update-all-abi.
16816 * Makerules (update-all-abi-%, update-all-abi)
16817 (subdir_update-all-abi): New targets.
16818 * elf/Makefile (update-all-abi): New target.
16819
16820 2015-11-24 Florian Weimer <fweimer@redhat.com>
16821
16822 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
16823 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
16824 (__libc_lock_define_initialized): Use it.
16825 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
16826 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
16827 * malloc/malloc.c (main_arena): Likewise.
16828 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16829 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16830
16831 2015-11-23 Joseph Myers <joseph@codesourcery.com>
16832
16833 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16834 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
16835 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16836 (PTRACE_O_MASK): Update value.
16837 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
16838 New value in enum __ptrace_setoptions.
16839 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16840 (PTRACE_O_MASK): Update value.
16841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16842 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16843 (PTRACE_O_MASK): Update value.
16844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16845 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16846 (PTRACE_O_MASK): Update value.
16847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16848 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16849 (PTRACE_O_MASK): Update value.
16850 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
16851 New value in enum __ptrace_setoptions.
16852 (PTRACE_O_MASK): Update value.
16853 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
16854 New value in enum __ptrace_setoptions.
16855 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16856 (PTRACE_O_MASK): Update value.
16857
16858 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
16859 New macro.
16860 (PACKET_AUXDATA): Likewise.
16861 (PACKET_ORIGDEV): Likewise.
16862 (PACKET_VERSION): Likewise.
16863 (PACKET_HDRLEN): Likewise.
16864 (PACKET_RESERVE): Likewise.
16865 (PACKET_TX_RING): Likewise.
16866 (PACKET_LOSS): Likewise.
16867 (PACKET_VNET_HDR): Likewise.
16868 (PACKET_TX_TIMESTAMP): Likewise.
16869 (PACKET_TIMESTAMP): Likewise.
16870 (PACKET_FANOUT): Likewise.
16871 (PACKET_TX_HAS_OFF): Likewise.
16872 (PACKET_QDISC_BYPASS): Likewise.
16873 (PACKET_ROLLOVER_STATS): Likewise.
16874 (PACKET_FANOUT_DATA): Likewise.
16875 (PACKET_MR_UNICAST): Likewise.
16876
16877 [BZ #19242]
16878 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
16879 (TOUPPER): Likewise.
16880 * stdlib/tst-strtol-locale-main.c: New file.
16881 * stdlib/tst-strtol-locale.c: Likewise.
16882 * stdlib/Makefile (tests): Add tst-strtol-locale.
16883 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
16884 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
16885 Depend on $(gen-locales).
16886 * wcsmbs/tst-wcstol-locale.c: New file.
16887 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
16888 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
16889 tr_TR.ISO-8859-9.
16890 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
16891 Depend on $(gen-locales).
16892
16893 2015-11-20 Roland McGrath <roland@hack.frob.com>
16894
16895 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
16896 __glibc_likely instead of __builtin_expect. After falling back to
16897 dyncode_create in a non-ET_DYN case, use the allocate_code_data
16898 system interface to register the code pages as occupied.
16899
16900 2015-11-20 Joseph Myers <joseph@codesourcery.com>
16901
16902 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16903 [!ARM_MATH_PRIVATE_H].
16904 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
16905 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16906 [!HPPA_MATH_PRIVATE_H].
16907 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
16908 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
16909 to [!I386_MATH_PRIVATE_H].
16910 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
16911 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
16912 Change guard to [!M68K_MATH_PRIVATE_H].
16913 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
16914 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
16915 guard to [!MICROBLAZE_MATH_PRIVATE_H].
16916 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
16917 macro.
16918 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16919 [!MIPS_MATH_PRIVATE_H].
16920 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
16921 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16922 [!NIO2_MATH_PRIVATE_H].
16923 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
16924 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16925 [!TILE_MATH_PRIVATE_H].
16926 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
16927
16928 [BZ #15421]
16929 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
16930 initialize with 0 and define as weak alias of __signgam.
16931 * include/math.h [!_ISOMAC] (__signgam): Declare.
16932 * math/Makefile (libm-calls): Add w_lgamma_compat.
16933 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
16934 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
16935 test-signgam-ullong-init.
16936 (tests-static): Add test-signgam-uchar-static,
16937 test-signgam-uchar-init-static, test-signgam-uint-static,
16938 test-signgam-uint-init-static, test-signgam-ullong-static and
16939 test-signgam-ullong-init-static.
16940 (CFLAGS-test-signgam-uchar.c): New variable.
16941 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16942 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16943 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16944 (CFLAGS-test-signgam-uint.c): Likewise.
16945 (CFLAGS-test-signgam-uint-init.c): Likewise.
16946 (CFLAGS-test-signgam-uint-static.c): Likewise.
16947 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16948 (CFLAGS-test-signgam-ullong.c): Likewise.
16949 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16950 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16951 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16952 * math/Versions (libm): Add GLIBC_2.23.
16953 * math/lgamma-compat.h: New file.
16954 * math/test-signgam-main.c: Likewise.
16955 * math/test-signgam-uchar-init-static.c: Likewise.
16956 * math/test-signgam-uchar-init.c: Likewise.
16957 * math/test-signgam-uchar-static.c: Likewise.
16958 * math/test-signgam-uchar.c: Likewise.
16959 * math/test-signgam-uint-init-static.c: Likewise.
16960 * math/test-signgam-uint-init.c: Likewise.
16961 * math/test-signgam-uint-static.c: Likewise.
16962 * math/test-signgam-uint.c: Likewise.
16963 * math/test-signgam-ullong-init-static.c: Likewise.
16964 * math/test-signgam-ullong-init.c: Likewise.
16965 * math/test-signgam-ullong-static.c: Likewise.
16966 * math/test-signgam-ullong.c: Likewise.
16967 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
16968 wrapper of w_lgamma_main.c.
16969 * math/w_lgamma_compat.c: New file.
16970 * math/w_lgamma_compatf.c: Likewise.
16971 * math/w_lgamma_compatl.c: Likewise.
16972 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
16973 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16974 defining compatibility symbols.
16975 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
16976 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
16977 wrapper of w_lgammaf_main.c.
16978 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
16979 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16980 defining compatibility symbols.
16981 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
16982 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
16983 wrapper of w_lgammal_main.c.
16984 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
16985 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16986 defining compatibility symbols.
16987 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
16988 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
16989 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
16990 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
16991 <lgamma-compat.h>.
16992 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
16993 (__ieee754_gamma): Define as alias.
16994 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
16995 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
16996 <lgamma-compat.h>.
16997 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
16998 (__ieee754_gammaf): Define as alias.
16999 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17000 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
17001 <lgamma-compat.h>.
17002 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
17003 (__ieee754_gammal): Define as alias.
17004 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17005 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
17006 <math/w_lgamma_compat.c>.
17007 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17008 Define as alias of __lgamma_compat and use in defining lgammal.
17009 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17010 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
17011 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17012 (USE_AS_COMPAT): New macro.
17013 (LGAMMA_OLD_VER): Undefine and redefine.
17014 (lgammal): Do not define here.
17015 (gammal): Only define here if [GAMMA_ALIAS].
17016 * conform/linknamespace.pl (@whitelist): Remove signgam.
17017 * sysdeps/nacl/libm.abilist: Update.
17018 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17031 Likewise.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17033 Likewise.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17037 Likewise.
17038 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17044 Likewise.
17045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17046 Likewise.
17047 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17050
17051 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17052
17053 [BZ #16364]
17054 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17055 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17056
17057 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17058
17059 * sysdeps/s390/fpu/bits/mathinline.h:
17060 Use __asm__ [__volatile__] instead of asm [volatile].
17061 * sysdeps/s390/abort-instr.h: Likewise.
17062 * sysdeps/s390/atomic-machine.h: Likewise.
17063 * sysdeps/s390/bits/string.h: Likewise.
17064 * sysdeps/s390/dl-tls.h: Likewise.
17065 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17066 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17067 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17068 * sysdeps/s390/fpu/fesetround.c: Likewise.
17069 * sysdeps/s390/fpu/fpu_control.h: Likewise.
17070 * sysdeps/s390/fpu/s_fma.c: Likewise.
17071 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17072 * sysdeps/s390/memusage.h: Likewise.
17073 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17074 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17075 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17076 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17077 * sysdeps/s390/nptl/tls.h: Likewise.
17078 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17079 * sysdeps/s390/s390-32/backtrace.c: Likewise.
17080 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17081 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17082 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17083 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17084 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17085 * sysdeps/s390/s390-64/backtrace.c: Likewise.
17086 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17087 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17088 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17089 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17090 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17091 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17092 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17093 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17094 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17095 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17096 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17098 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17100 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17101
17102 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17103 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17104
17105 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17106 Add lwarx hint, and use macro for acquire instruction.
17107 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17108 Likewise.
17109 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17110 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17111 update to use new atomic macros.
17112
17113 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17114
17115 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17116 (__lll_trylock_elision): Fix setting of adapt_count.
17117 * sysdeps/unix/sysv/linux/powerpc/htm.h
17118 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17119 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17120 (_ABORT_SYSCALL): Renumber, and clarify definition.
17121 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17122
17123 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17124
17125 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17126 after system headers to prevent MIN/MAX redefinition. Define
17127 HAVE_ALLOCA to preserve builtin alloca usage.
17128
17129 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
17130
17131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17132 static and don't set or restore rounding.
17133 (__cos)[IN_SINCOS]: Likewise.
17134 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17135 (__sincos): Set and restore rounding mode. Remove check for infinite
17136 or NaN input.
17137
17138 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17139
17140 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17141 as used.
17142
17143 2015-11-16 Florian Weimer <fweimer@redhat.com>
17144
17145 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17146
17147 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 * config.make.in (have-glob-dat-reloc): New.
17150 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
17151 target supports GLOB_DAT relocaton. AC_SUBST.
17152 * configure: Regenerated.
17153 * elf/Makefile (tests): Add tst-prelink.
17154 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17155 (tst-prelink-ENV): New.
17156 ($(objpfx)tst-prelink-conflict.out): Likewise.
17157 ($(objpfx)tst-prelink-cmp.out): Likewise.
17158 * sysdeps/x86/tst-prelink.c: Moved to ...
17159 * elf/tst-prelink.c: Here.
17160 * sysdeps/x86/tst-prelink.exp: Moved to ...
17161 * elf/tst-prelink.exp: Here.
17162 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17163 (tst-prelink-ENV): Removed.
17164 ($(objpfx)tst-prelink-conflict.out): Likewise.
17165 ($(objpfx)tst-prelink-cmp.out): Likewise.
17166 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17167
17168 2015-11-13 Joseph Myers <joseph@codesourcery.com>
17169
17170 [BZ #14551]
17171 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17172 (__mpn_construct_long_double): If high part overflows to infinity,
17173 set errno and recompute overflowed result of the correct sign.
17174 * sysdeps/ieee754/ldbl-128ibm/Makefile
17175 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17176 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17177 $(libm).
17178 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17179
17180 2015-11-12 Joseph Myers <joseph@codesourcery.com>
17181
17182 [BZ #15479]
17183 [BZ #19238]
17184 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17185 floating-point state after first operation on input. Restore full
17186 state rather than just rounding mode.
17187 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17188 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17189 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17190
17191 [BZ #19235]
17192 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17193 add 0.5 to integer arguments.
17194 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17195 Likewise.
17196 (.LC2): New object.
17197
17198 2015-11-11 Mike Frysinger <vapier@gentoo.org>
17199
17200 * scripts/pylintrc (reports): Set to no.
17201
17202 2015-11-10 Roland McGrath <roland@hack.frob.com>
17203
17204 * elf/dl-load.c (open_verify): Take new argument FD.
17205 Skip __open call if passed FD is not -1.
17206 (_dl_map_object, open_path): Update callers.
17207 * elf/dl-sysdep-open.h: New file.
17208 * elf/dl-load.c: Include it.
17209 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17210 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17211 * sysdeps/nacl/dl-sysdep-open.h: New file.
17212 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17213 from libc to rtld.
17214
17215 2015-11-10 Joseph Myers <joseph@codesourcery.com>
17216
17217 [BZ #19228]
17218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17219 and restore full floating-point state.
17220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17221 Likewise.
17222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17223 Likewise.
17224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17225 Likewise.
17226 * math/test-nearbyint-except-2.c: New file.
17227 * math/Makefile (tests): Add test-nearbyint-except-2.
17228
17229 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
17230
17231 [BZ #19178]
17232 * sysdeps/x86/Makefile (tests): Add tst-prelink.
17233 (tst-prelink-ENV): New.
17234 ($(objpfx)tst-prelink-conflict.out): Likewise.
17235 ($(objpfx)tst-prelink-cmp.out): Likewise.
17236 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17237 * sysdeps/x86/tst-prelink.c: New file.
17238 * sysdeps/x86/tst-prelink.exp: Likewise.
17239
17240 2015-11-10 Joseph Myers <joseph@codesourcery.com>
17241
17242 * math/auto-libm-test-in: Add another test of pow.
17243 * math/auto-libm-test-out: Regenerated.
17244 * math/libm-test.inc (pow_test_data): Add another test.
17245
17246 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17247
17248 [BZ #19219]
17249 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17250 weak_alias to nearbyintl.
17251
17252 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
17253
17254 * sysdeps/aarch64/bits/string.h: New file.
17255 (_STRING_ARCH_unaligned): Define.
17256
17257 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
17258
17259 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17260 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17261 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17262 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17264
17265 2015-11-09 Ulrich Drepper <drepper@gmail.com>
17266
17267 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17268 for original name of the DSO. Add it to the name list of the DSO
17269 if it is actually given.
17270 (_dl_map_object): Keep track of whether an audit module rewrote
17271 the file name. If yes, pass the original name to
17272 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
17273 debugging is enabled, log the change of the file name.
17274 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17275 _dl_map_object_from_fd.
17276 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17277 * elf/tst-audit11.c: New file
17278 * elf/tst-auditmod11.c: New file.
17279 * elf/tst-audit11mod1.c: New file.
17280 * elf/tst-audit11mod2.c: New file.
17281 * elf/tst-audit11mod2.map: New file.
17282 * elf/tst-audit12.c: New file
17283 * elf/tst-auditmod12.c: New file.
17284 * elf/tst-audit12mod1.c: New file.
17285 * elf/tst-audit12mod2.c: New file.
17286 * elf/tst-audit12mod2.map: New file.
17287 * elf/tst-audit12mod3.c: New file.
17288
17289 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
17290
17291 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17292 Don't create weak aliases,
17293 because versioned symbols are created later.
17294 * sysdeps/s390/s390-32/setjmp.S
17295 (setjmp, _setjmp): Remove weak and rename to an unique name
17296 in SHARED case due to existing versioned symbols.
17297 * sysdeps/s390/s390-64/setjmp.S: Likewise.
17298 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17299 (getcontext): Create weak alias only in non SHARED case.
17300 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17301
17302 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
17303
17304 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17305 (__ASSUME_*_SYSCALL) Define new macros.
17306 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17307 Remove socketcall syscalls.
17308 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17309 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17310 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17311 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17312 * sysdeps/unix/sysv/linux/send.c (__libc_send):
17313 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17314
17315 2015-11-09 Florian Weimer <fweimer@redhat.com>
17316
17317 [BZ #12926]
17318 Terminate process on invalid netlink response.
17319 * sysdeps/unix/sysv/linux/netlinkaccess.h
17320 (__netlink_assert_response): Declare.
17321 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17322 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17323 (sysdep_routines): Add netlink_assert_response.
17324 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17325 __netlink_assert_response.
17326 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17327 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17328 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17329 __netlink_assert_response.
17330
17331 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
17332
17333 [BZ #19178]
17334 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17335 (RTYPE_CLASS_PLT): Likewise.
17336 (RTYPE_CLASS_COPY): Likewise.
17337 (RTYPE_CLASS_TLS): Likewise.
17338 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17339 to set relocation type class for DL_DEBUG_PRELINK. Keep only
17340 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17341 DL_DEBUG_PRELINK.
17342
17343 2015-11-06 Joseph Myers <joseph@codesourcery.com>
17344
17345 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17346 calls with argument -0.5.
17347 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17348
17349 * configure.ac (libc_cv_z_nodelete): Remove configure test.
17350 (libc_cv_z_nodlopen): Likewise.
17351 (libc_cv_z_initfirst): Likewise.
17352 * configure: Regenerated.
17353
17354 2015-11-06 Florian Weimer <fweimer@redhat.com>
17355
17356 Simplify abilist format to be line-based.
17357 * scripts/abilist.awk: Collect descriptors in the descs variable.
17358 (emit): Write descs variable and sort it
17359 externally, with sort.
17360 * sysdeps/**/*.abilist: Convert to new format.
17361
17362 2015-11-06 Mark Wielaard <mjw@redhat.com>
17363
17364 [BZ #11460]
17365 * io/Makefile (routines): Add fts64.
17366 (tests): Add tst-fts and tst-fts-lfs.
17367 (CFLAGS-fts64.c): New.
17368 * io/Versions (GLIBC_2.23): New.
17369 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17370 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17371 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17372 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17373 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17374 (FTSENT64): Likewise.
17375 (fts64_children): Likewise.
17376 (fts64_close): Likewise.
17377 (fts64_open): Likewise.
17378 (fts64_read): Likewise.
17379 (fts64_set): Likewise.
17380 * io/fts64.c: New file.
17381 * io/tst-fts.c: New test.
17382 * io/tst-fts-lfs.c: Likewise.
17383 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
17384 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
17385 fts64_set.
17386 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17400 Likewise.
17401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17402 Likewise.
17403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17415 * sysdeps/wordsize-64/fts.c: New file.
17416 * sysdeps/wordsize-64/fts64.c: Likewise.
17417 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
17418 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
17421
17422 2015-11-05 Joseph Myers <joseph@codesourcery.com>
17423
17424 * math/libm-test.inc (NON_FINITE): New macro.
17425 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
17426 * math/gen-libm-test.pl (show_exceptions): Add argument
17427 $non_finite.
17428 (parse_args): Update call to show_exceptions.
17429 * math/test-math-finite.h: New file.
17430 * math/test-math-no-finite.h: Likewise.
17431 * math/test-double-finite.c: Likewise.
17432 * math/test-float-finite.c: Likewise.
17433 * math/test-ldouble-finite.c: Likewise.
17434 * math/test-double.c: Include "test-math-no-finite.h".
17435 * math/test-float.c: Include "test-math-no-finite.h".
17436 * math/test-ldouble.c: Include "test-math-no-finite.h".
17437 * math/test-math-inline.h (TEST_FINITE): New macro.
17438 * math/test-math-vector.h (TEST_FINITE): Likewise.
17439 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
17440 (libm-tests): Add test-float-finite and test-double-finite.
17441 ($(objpfx)test-float-finite.o): New dependency on
17442 $(objpfx)libm-test.stmp.
17443 ($(objpfx)test-double-finite.o): Likewise.
17444 ($(objpfx)test-ldouble-finite.o): Likewise.
17445 (libm-test-no-inline-cflags): New variable.
17446 (libm-test-finite-cflags): Likewise.
17447 (CFLAGS-test-float-finite.c): Likewise.
17448 (CFLAGS-test-double-finite.c): Likewise.
17449 (CFLAGS-test-ldouble-finite.c): Likewise.
17450 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
17451 (CFLAGS-test-double.c): Likewise.
17452 (CFLAGS-test-ldouble.c): Likewise.
17453
17454 2015-11-05 Roland McGrath <roland@hack.frob.com>
17455
17456 * io/fcntl.c (__fcntl): Add ... to prototype.
17457 * misc/ioctl.c (__ioctl): Likewise.
17458 * misc/syscall.c (syscall): Likewise.
17459
17460 2015-11-05 Joseph Myers <joseph@codesourcery.com>
17461
17462 * scripts/list-fixed-bugs.py: New file.
17463
17464 [BZ #19213]
17465 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
17466 returned for argument 1.
17467 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
17468 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
17469 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
17470 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
17471 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
17472 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
17473
17474 [BZ #19211]
17475 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
17476 __USE_XOPEN], not if [!__USE_ISOC99].
17477 (lgammaf): Likewise.
17478 (lgammal): Likewise.
17479 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
17480 (gammaf): Likewise.
17481 (gammal): Likewise.
17482 * math/test-signgam-finite-c11.c: New file.
17483 * math/test-signgam-finite-c99.c: Likewise.
17484 * math/test-signgam-finite.c: Likewise.
17485 * math/Makefile (tests): Add test-signgam-finite,
17486 test-signgam-finite-c99 and test-signgam-finite-c11.
17487 (CFLAGS-test-signgam-finite.c): New variable.
17488 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17489 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17490
17491 [BZ #19212]
17492 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
17493 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
17494 500].
17495 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
17496 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
17497 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
17498 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
17499 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
17500 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
17501 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
17502 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
17503 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
17504 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
17505
17506 [BZ #19209]
17507 * math/bits/math-finite.h (ldexp): Remove declaration.
17508 (ldexpf): Likewise.
17509 (ldexpl): Likewise.
17510
17511 [BZ #19205]
17512 * math/bits/math-finite.h (acosf): Condition declaration on
17513 [__USE_ISOC99].
17514 (acosl): Likewise.
17515 (acoshf): Likewise.
17516 (acoshl): Likewise.
17517 (asinf): Likewise.
17518 (asinl): Likewise.
17519 (atan2f): Likewise.
17520 (atan2l): Likewise.
17521 (atanhf): Likewise.
17522 (atanhl): Likewise.
17523 (coshf): Likewise.
17524 (coshl): Likewise.
17525 (expf): Likewise.
17526 (expl): Likewise.
17527 (fmodf): Likewise.
17528 (fmodl): Likewise.
17529 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
17530 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
17531 (j0l): Likewise.
17532 (y0f): Likewise.
17533 (y0l): Likewise.
17534 (j1f): Likewise.
17535 (j1l): Likewise.
17536 (y1f): Likewise.
17537 (y1l): Likewise.
17538 (jnf): Likewise.
17539 (jnl): Likewise.
17540 (ynf): Likewise.
17541 (ynl): Likewise.
17542 (lgammaf_r): Condition declaration on [__USE_ISOC99].
17543 (lgammal_r): Likewise.
17544 (__lgamma_r_finite): New declaration.
17545 (__lgammaf_r_finite): Likewise.
17546 (__lgammal_r_finite): Likewise.
17547 (lgamma): Use __lgamma_r_finite.
17548 (lgammaf): Condition definition on [__USE_ISOC99]. Use
17549 __lgammaf_r_finite.
17550 (lgammal): Condition definition on [__USE_ISOC99]. Use
17551 __lgammal_r_finite.
17552 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
17553 __lgamma_r_finite.
17554 (gammaf): Condition definition on [__USE_ISOC99]. Use
17555 __lgammaf_r_finite.
17556 (gammal): Condition definition on [__USE_ISOC99]. Use
17557 __lgammal_r_finite.
17558 (logf): Condition declaration on [__USE_ISOC99].
17559 (logl): Likewise.
17560 (log10f): Likewise.
17561 (log10l): Likewise.
17562 (ldexpf): Likewise.
17563 (ldexpl): Likewise.
17564 (powf): Likewise.
17565 (powl): Likewise.
17566 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
17567 __USE_ISOC99].
17568 (remainderf): Condition declaration on [__USE_ISOC99].
17569 (remainderl): Likewise.
17570 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
17571 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
17572 (scalbl): Likewise.
17573 (sinhf): Condition declaration on [__USE_ISOC99].
17574 (sinhl): Likewise.
17575 (sqrtf): Likewise.
17576 (sqrtl): Likewise.
17577
17578 2015-11-04 Joseph Myers <joseph@codesourcery.com>
17579
17580 * sysdeps/arm/atomic-machine.h
17581 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17582 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17583 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
17584 Remove conditional code.
17585 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17586 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17587 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
17588 Change conditional to [__ASSEMBLER__].
17589 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17590 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
17591 [!__ASSEMBLER__].
17592 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
17593 code.
17594 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
17595 conditional macro definitions.
17596 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
17597 (__arch_compare_and_exchange_val_16_acq): Likewise.
17598 (__arch_compare_and_exchange_val_32_acq): Likewise.
17599 (atomic_exchange_and_add): Likewise.
17600 (atomic_add): Likewise.
17601 (atomic_add_negative): Likewise.
17602 (atomic_add_zero): Likewise.
17603 (atomic_bit_set): Likewise.
17604 (atomic_bit_test_set): Likewise.
17605 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
17606 code unconditional.
17607 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17608
17609 * math/test-math-errno.h: New file.
17610 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
17611 empty.
17612 (TEST_ERRNO): New macro.
17613 (TEST_EXCEPTIONS): Likewise.
17614 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
17615 (TEST_EXCEPTIONS): Likewise.
17616 * math/test-math-vector.h (TEST_ERRNO): Likewise.
17617 * math/test-double.c: Include "test-math-errno.h".
17618 * math/test-float.c: Likewise.
17619 * math/test-ldouble.c: Likewise.
17620 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
17621 code unconditional.
17622 (test_exceptions): Only run code if TEST_EXCEPTIONS.
17623 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
17624 unconditional.
17625 (test_errno): Only run code if TEST_ERRNO.
17626 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
17627
17628 2015-11-04 Florian Weimer <fweimer@redhat.com>
17629
17630 * nptl/tst-once5.cc: Remove attribution.
17631
17632 2015-11-04 Joseph Myers <joseph@codesourcery.com>
17633
17634 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
17635 sqrt, tan, tanh, y0, y1 and yn.
17636 * math/auto-libm-test-out: Regenerated.
17637 * math/libm-test.inc (scalb_test_data): Add more tests.
17638 (scalbn_test_data): Likewise.
17639 (scalbln_test_data): Likewise.
17640 (signbit_test_data): Likewise.
17641 (sin_test_data): Likewise.
17642 (sincos_test_data): Likewise.
17643 (sinh_test_data): Likewise.
17644 (sqrt_test_data): Likewise.
17645 (tan_test_data): Likewise.
17646 (tanh_test_data): Likewise.
17647 (tgamma_test_data): Likewise.
17648 (y0_test_data): Likewise.
17649 (y1_test_data): Likewise.
17650 (yn_test_data): Likewise.
17651 (significand_test_data): Likewise.
17652 * sysdeps/i386/fpu/libm-test-ulps: Update.
17653
17654 2015-11-03 David Kastrup <dak@gnu.org>
17655
17656 [BZ #18604]
17657 * assert/assert.h (assert): Don't macro-expand failed assertion
17658 expression in error message.
17659 * malloc/malloc.c (assert): Likewise.
17660
17661 2015-11-03 Joseph Myers <joseph@codesourcery.com>
17662
17663 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
17664 test.
17665 * configure: Regenerated.
17666
17667 2015-11-02 Joseph Myers <joseph@codesourcery.com>
17668
17669 * math/libm-test.inc (modf_test_data): Add more tests.
17670 (nearbyint_test_data): Likewise.
17671 (nextafter_test_data): Likewise.
17672 (nexttoward_test_data): Likewise.
17673 (pow_test_data): Likewise.
17674 (remainder_test_data): Likewise.
17675 (remquo_test_data): Likewise.
17676 (rint_test_data): Likewise.
17677
17678 [BZ #19201]
17679 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17680 Check for zero remainder in case of large exponents and ensure
17681 correct sign of result in that case.
17682 * math/libm-test.inc (remainder_test_data): Add more tests.
17683
17684 [BZ #6799]
17685 * math/s_nextafter.c: Include <errno.h>.
17686 (__nextafter): Set errno on overflow and underflow.
17687 * math/s_nexttowardf.c: Include <errno.h>.
17688 (__nexttowardf): Set errno on overflow and underflow.
17689 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
17690 (__nextafterl): Set errno on overflow and underflow.
17691 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
17692 (__nexttoward): Set errno on overflow and underflow.
17693 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
17694 (__nexttowardf): Set errno on overflow and underflow.
17695 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
17696 (__nextafterf): Set errno on overflow and underflow.
17697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
17698 (__nextafterl): Set errno on overflow and underflow.
17699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
17700 (__nexttoward): Set errno on overflow and underflow.
17701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
17702 (__nexttowardf): Set errno on overflow and underflow.
17703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
17704 (__nextafterl): Set errno on overflow and underflow.
17705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
17706 (__nexttoward): Set errno on overflow and underflow.
17707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
17708 (__nexttowardf): Set errno on overflow and underflow.
17709 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
17710 (__nexttoward): Set errno on overflow and underflow.
17711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
17712 (__nexttowardf): Set errno on overflow and underflow.
17713 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
17714 (__nldbl_nexttowardf): Set errno on overflow and underflow.
17715 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
17716 (__nextafterl): Set errno on overflow and underflow.
17717 * math/libm-test.inc (nextafter_test_data): Do not allow errno
17718 setting to be missing on overflow. Add more tests.
17719 (nexttoward_test_data): Likewise.
17720
17721 * configure.ac (libc_cv_initfini_array): Remove configure test.
17722 * configure: Regenerated.
17723
17724 2015-10-29 Joseph Myers <joseph@codesourcery.com>
17725
17726 [BZ #19189]
17727 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
17728 non-finite argument handle arguments with negative sign.
17729
17730 * math/libm-test.inc (j0_test_data): Do not test sign of zero
17731 result from infinite argument.
17732 (j1_test_data): Likewise.
17733 (jn_test_data): Likewise.
17734 (y0_test_data): Likewise.
17735 (y1_test_data): Likewise.
17736 (yn_test_data): Likewise.
17737
17738 [BZ #16171]
17739 * math/w_remainder.c (drem): Define as weak alias of __remainder.
17740 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
17741 * math/w_remainderf.c (dremf): Define as weak alias of
17742 __remainderf.
17743 * math/w_remainderl.c (dreml): Define as weak alias of
17744 __remainderl.
17745 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
17746 __remainder.
17747 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
17748 __remainderf.
17749 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
17750 __remainderl.
17751 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
17752 weak alias of remainderl.
17753 * sysdeps/ieee754/ldbl-opt/w_remainder.c
17754 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
17755 alias of __remainder.
17756 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
17757 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
17758 strong alias of __remainderl.
17759 (dreml): Use long_double_symbol.
17760 * math/Makefile (libm-calls): Remove w_drem.
17761 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
17762 (CFLAGS-nldbl-drem.c): Remove variable.
17763 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
17764 * math/w_drem.c: Remove file.
17765 * math/w_dremf.c: Likewise.
17766 * math/w_dreml.c: Likewise.
17767 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
17768 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
17769 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
17770
17771 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
17772 * sysdeps/i386/configure: Regenerated.
17773 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
17774 * sysdeps/x86_64/configure: Regenerated.
17775
17776 * configure.ac (libc_cv_asm_protected_directive): Remove configure
17777 test.
17778 (libc_cv_visibility_attribute): Likewise.
17779 (libc_cv_protected_data): Test unconditionally.
17780 (libc_cv_broken_visibility_attribute): Remove configure test.
17781 (libc_cv_have_sdata_section): Test unconditionally.
17782 * configure: Regenerated.
17783
17784 * include/libc-internal.h (libc_max_align_t): Remove typedef.
17785 * include/scratch_buffer.h: Include <stddef.h> instead of
17786 <libc-internal.h>.
17787 (struct scratch_buffer): Use max_align_t instead of
17788 libc_max_align_t.
17789
17790 2015-10-29 Florian Weimer <fweimer@redhat.com>
17791
17792 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
17793 instead of extend_alloca. Change control flow to avoid a goto.
17794 Remove assert which is trivially always true.
17795
17796 2015-10-28 Joseph Myers <joseph@codesourcery.com>
17797
17798 [BZ #16068]
17799 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
17800 (FE_ALL_EXCEPT_X86): New macro.
17801 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
17802 FE_ALL_EXCEPT. Ensure precision control is included in
17803 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
17804 handle "denormal operand exception" and clear FZ and DAZ bits.
17805 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
17806 (FE_ALL_EXCEPT_X86): New macro.
17807 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
17808 FE_ALL_EXCEPT. Ensure precision control is included in
17809 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
17810 handle "denormal operand exception" and clear FZ and DAZ bits.
17811 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
17812 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
17813 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17814 test-fenv-x87 and test-fenv-sse-2.
17815 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
17816
17817 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
17818 * math/test-double.h (BUILD_COMPLEX): New macro.
17819 * math/test-float.h (BUILD_COMPLEX): Likewise.
17820 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
17821
17822 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
17823 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
17824 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
17825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
17826 instead of DBL_DENORM_MIN in comment.
17827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
17828 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
17830 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
17831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
17832 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17833
17834 2015-10-28 Florian Weimer <fweimer@redhat.com>
17835
17836 [BZ# 19048]
17837 * malloc/malloc.c (struct malloc_state): Update comment. Add
17838 attached_threads member.
17839 (main_arena): Initialize attached_threads.
17840 * malloc/arena.c (list_lock): Update comment.
17841 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
17842 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
17843 (deattach_arena): New function.
17844 (_int_new_arena): Initialize arena reference count and deattach
17845 replaced arena.
17846 (get_free_list, reused_arena): Update reference count and deattach
17847 replaced arena.
17848 (arena_thread_freeres): Update arena reference count and only put
17849 unreferenced arenas on the free list.
17850
17851 2015-10-28 Joseph Myers <joseph@codesourcery.com>
17852
17853 [BZ #19181]
17854 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
17855 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
17856 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
17857 * math/test-fenv-clear-main.c: New file.
17858 * math/test-fenv-clear.c: Likewise.
17859 * math/Makefile (tests): Add test-fenv-clear.
17860 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
17861 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17862 test-fenv-clear-sse.
17863 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
17864
17865 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
17866 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
17867 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
17868
17869 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17870
17871 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
17872 static libc.
17873
17874 2015-10-28 Joseph Myers <joseph@codesourcery.com>
17875
17876 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
17877 test.
17878 * sysdeps/i386/configure: Regenerated.
17879 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
17880 test.
17881 * sysdeps/x86_64/configure: Regenerated.
17882 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
17883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17884 memset-avx2 unconditionally instead of conditionally on
17885 [$(config-cflags-avx2) = yes].
17886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17887 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
17888 unconditional.
17889 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
17890 * sysdeps/x86_64/multiarch/memset_chk.S
17891 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
17892 to [IS_IN (libc) && SHARED].
17893
17894 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17895
17896 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
17897 configure test.
17898 * sysdeps/arm/configure: Regenerated.
17899 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
17900 Define variable if not already defined.
17901
17902 [BZ #17404]
17903 * sysdeps/mips/atomic-machine.h
17904 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
17905 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
17906 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17907
17908 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
17909 unconditional.
17910 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
17911 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17912 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
17913 unconditional.
17914 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17915 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
17916 unconditional.
17917 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17918 * stdlib/setenv.c
17919 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
17920 code unconditional.
17921 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
17922 Remove conditional code.
17923 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17924 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
17925 unconditional.
17926 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17927 code.
17928 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17929 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
17930 unconditional.
17931 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17932 code.
17933 * sysdeps/ieee754/ldbl-128/k_tanl.c
17934 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17935 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17936 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
17937 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17938 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17939 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
17940 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
17941 unconditional.
17942 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17943 code.
17944 * sysdeps/ieee754/ldbl-96/k_tanl.c
17945 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17946 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17947
17948 * nptl/tst-initializers1-c11.c: New file.
17949 * nptl/tst-initializers1-gnu11.c: Likewise.
17950 * nptl/Makefile (tests): Add these new tests.
17951 (CFLAGS-tst-initializers1-c11.c): New variable.
17952 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17953
17954 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
17955 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
17956 instead of -std=gnu99.
17957 * configure.ac (systemtap): Test with -std=gnu11 instead of
17958 -std=gnu99.
17959 * configure: Regenerated.
17960 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
17961 in compilation command in comment.
17962
17963 * sysdeps/nptl/configure.ac: Remove file.
17964 * sysdeps/nptl/configure: Remove generated file.
17965 * configure.ac (libc_cv_forced_unwind): Do not substitute.
17966 * configure: Regenerated.
17967 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
17968 * config.make.in (have-forced-unwind): Remove variable.
17969 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17970 unconditional.
17971 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
17972 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
17973 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
17974 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
17975 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17976 unconditional.
17977
17978 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17979
17980 [BZ #19174]
17981 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
17982 .skip_lock_out_of_tbegin_retries.
17983 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17984 (__lll_lock_elision): Likewise, and respect a value of
17985 try_tbegin <= 0.
17986
17987 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17988
17989 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
17990 statement.
17991
17992 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17993
17994 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
17995 variable.
17996 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17997 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17998
17999 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18000 of -std=c1x -D_ISOC11_SOURCE.
18001
18002 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18003 * configure: Regenerated.
18004 * manual/install.texi (Tools for Compilation): Document
18005 requirement for GCC 4.7 or later.
18006 * INSTALL: Regenerated.
18007
18008 2015-10-27 Ludovic Courtès <ludo@gnu.org>
18009
18010 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18011 on CNT to a conditional jump to 'puntdata'.
18012
18013 2015-10-27 Joseph Myers <joseph@codesourcery.com>
18014
18015 * configure.ac (libc_cv_gcc___thread): Remove configure test.
18016 (libc_cv_gcc_tls_model_attr): Likewise.
18017 * configure: Regenerated.
18018
18019 * configure.ac (libc_cv_need_minus_P): Remove configure test.
18020 * configure: Regenerated.
18021 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18022
18023 2015-10-26 Joseph Myers <joseph@codesourcery.com>
18024
18025 * configure.ac (old_glibc_headers): Remove configure test.
18026 * configure: Regenerated.
18027 * config.make.in (old-glibc-headers): Remove variable.
18028 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18029 (install): Remove dependency on remove-old-headers.
18030 (headers2_0): Remove variable.
18031 (remove-old-headers): Remove rule.
18032
18033 * configure.ac (libc_cv_dot_text): Remove configure test.
18034 (libc_cv_asm_set_directive): Use .text instead of
18035 ${libc_cv_dot_text} in configure test.
18036 * configure: Regenerated.
18037
18038 2015-10-26 Florian Weimer <fweimer@redhat.com>
18039
18040 [BZ #19168]
18041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18042
18043 2015-10-26 Florian Weimer <fweimer@redhat.com>
18044
18045 * configure.ac (CXX): Clear the variable if the C++ toolchain does
18046 not support static linking.
18047 * configure: Regenerate.
18048
18049 2015-10-23 Joseph Myers <joseph@codesourcery.com>
18050
18051 * math/libm-test.inc (check_float_internal): Do not special-case
18052 errors up to 0.5 ulp.
18053
18054 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18055 log2.
18056 * math/auto-libm-test-out: Regenerated.
18057 * math/libm-test.inc (MAX_EXP): New macro.
18058 (ilogb_test_data): Add more tests.
18059 (isfinite_test_data): Likewise.
18060 (isgreater_test_data): Likewise.
18061 (isgreaterequal_test_data): Likewise.
18062 (isinf_test_data): Likewise.
18063 (isless_test_data): Likewise.
18064 (islessequal_test_data): Likewise.
18065 (islessgreater_test_data): Likewise.
18066 (isnan_test_data): Likewise.
18067 (isnormal_test_data): Likewise.
18068 (issignaling_test_data): Likewise.
18069 (isunordered_test_data): Likewise.
18070 (j0_test_data): Likewise.
18071 (j1_test_data): Likewise.
18072 (jn_test_data): Likewise.
18073 (lgamma_test_data): Likewise.
18074 (log_test_data): Likewise.
18075 (log10_test_data): Likewise.
18076 (log1p_test_data): Likewise.
18077 (log2_test_data): Likewise.
18078 (logb_test_data): Likewise.
18079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18080
18081 [BZ #18611]
18082 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18083 avoid excess range and precision on underflow.
18084 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18085 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18086 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18087 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18088 underflow.
18089 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18090 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18092 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18093 * math/auto-libm-test-in: Do not allow missing errno setting for
18094 tests of j1 and jn.
18095 * math/auto-libm-test-out: Regenerated.
18096
18097 2015-10-22 Joseph Myers <joseph@codesourcery.com>
18098
18099 [BZ #15491]
18100 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18101 floating-point environment instead of clearing all exceptions.
18102 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18103 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18104 merging in "invalid" exceptions from frndint.
18105 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18106 * math/test-nearbyint-except.c: New file.
18107 * math/Makefile (tests): Add test-nearbyint-except.
18108
18109 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
18110
18111 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18112
18113 * sysdeps/tile/libm-test-ulps: Regenerated.
18114
18115 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18116
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18118 (__NR_sync_file_range2): Assume it is always defined.
18119 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18120 (__NR_sync_file_range): Assume it is always defined.
18121
18122 2015-10-22 Andreas Schwab <schwab@suse.de>
18123
18124 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18125 INTERNAL_SYSCALL_ERRNO.
18126 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18127 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18128 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18129 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18132
18133 2015-10-21 Joseph Myers <joseph@codesourcery.com>
18134
18135 * io/tst-fcntl.c (fd): New static variable.
18136 (do_prepare): Open temporary file here....
18137 (do_test): ...not here.
18138
18139 * io/ftwtest-sh: Also trap on exit to remove temporary files.
18140
18141 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
18142
18143 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18144 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18145 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18146 Moved before "#ifdef __ASSEMBLER__".
18147
18148 2015-10-21 Joseph Myers <joseph@codesourcery.com>
18149
18150 [BZ #19156]
18151 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18152 arguments very close to 0.
18153
18154 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
18155
18156 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18157 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18158
18159 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18162 New. Defined for GCC 5 and above when not compiling for
18163 profiling.
18164 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18165
18166 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18167 Renamed to ...
18168 (CFLAGS-epoll_pwait.o): This.
18169 (CFLAGS-mmap.c): Renamed to ...
18170 (CFLAGS-mmap.o): This.
18171 (CFLAGS-mmap64.c): Renamed to ...
18172 (CFLAGS-mmap64.o): This.
18173 (CFLAGS-epoll_pwait.os): New.
18174 (CFLAGS-mmap.os): Likewise.
18175 (CFLAGS-mmap64.os): Likewise.
18176 (CFLAGS-semtimedop.os): Likewise.
18177 (CFLAGS-semtimedop.c): Renamed to ...
18178 (CFLAGS-semtimedop.o): This.
18179
18180 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18181
18182 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18183 warning message.
18184
18185 2015-10-21 Joseph Myers <joseph@codesourcery.com>
18186
18187 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18188 * Makefile ($(objpfx)c++-types-check.out): Filter out
18189 $(+gccwarn-c) instead of -Wstrict-prototypes.
18190
18191 * io/fts.c (fts_open): Convert to prototype-style function
18192 definition.
18193 * malloc/mcheck.c (mcheck): Likewise.
18194 (mcheck_pedantic): Likewise.
18195 * posix/regexec.c (re_search_2_stub): Likewise. Use
18196 internal_function.
18197 (re_search_internal): Likewise.
18198 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18199 prototype-style function definition.
18200 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18201 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18202 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18203 (xdr_utmpptr): Likewise.
18204 (xdr_utmparr): Likewise.
18205 (xdr_utmpidle): Likewise.
18206 (xdr_utmpidleptr): Likewise.
18207 (xdr_utmpidlearr): Likewise.
18208
18209 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18210 log, log10 and log2.
18211 * math/auto-libm-test-out: Regenerated.
18212 * math/libm-test.inc (fmod_test_data): Add more tests.
18213 (fpclassify_test_data): Likewise.
18214 (frexp_test_data): Likewise.
18215 (hypot_test_data): Likewise.
18216 (ilogb_test_data): Likewise.
18217
18218 2015-10-20 Joseph Myers <joseph@codesourcery.com>
18219
18220 * debug/fortify_fail.c (__fortify_fail): Convert to
18221 prototype-style function definition. Use internal_function.
18222 * libio/genops.c (save_for_backup): Convert to prototype-style
18223 function definition.
18224 * libio/wgenops.c (save_for_wbackup): Likewise.
18225 * login/grantpt.c (grantpt): Likewise.
18226 * login/ptsname.c (ptsname): Likewise.
18227 (__ptsname_r): Likewise.
18228 * login/unlockpt.c (unlockpt): Likewise.
18229 * mach/msgserver.c (__mach_msg_server): Likewise.
18230 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18231 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18232 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18233 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18234 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18235 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18236 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18237 Likewise.
18238 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
18239 internal_function.
18240 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18241 prototype-style function definition.
18242 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18243 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18244 (__pthread_create_2_0): Likewise.
18245 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18246 * nptl/register-atfork.c (__register_atfork): Likewise.
18247 * posix/glob.c (glob): Likewise.
18248 * posix/regcomp.c (re_comp): Likewise.
18249 * posix/regexec.c (re_exec): Likewise.
18250 * stdlib/add_n.c [__STDC__]: Make code unconditional.
18251 [!__STDC__]: Remove conditional code.
18252 * stdlib/cmp.c [__STDC__]: Make code unconditional.
18253 [!__STDC__]: Remove conditional code.
18254 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18255 [!__STDC__]: Remove conditional code.
18256 * stdlib/divrem.c [__STDC__]: Make code unconditional.
18257 [!__STDC__]: Remove conditional code.
18258 * stdlib/lshift.c [__STDC__]: Make code unconditional.
18259 [!__STDC__]: Remove conditional code.
18260 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18261 [!__STDC__]: Remove conditional code.
18262 * stdlib/mul.c [__STDC__]: Make code unconditional.
18263 [!__STDC__]: Remove conditional code.
18264 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18265 [!__STDC__]: Remove conditional code.
18266 * stdlib/rshift.c [__STDC__]: Make code unconditional.
18267 [!__STDC__]: Remove conditional code.
18268 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18269 function definition.
18270 (STRTOF): Likewise.
18271 * stdlib/strtod_l.c (__STRTOF): Likewise.
18272 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18273 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18274 (__strtol_l): Likewise.
18275 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18276 [!__STDC__]: Remove conditional code.
18277 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18278 definition.
18279 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18280 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18281 type.
18282 (__strcasecmp): Convert to prototype-style function definition.
18283 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18284 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18285 type.
18286 (__strncasecmp): Convert to prototype-style function definition.
18287 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18288 * sunrpc/xdr.c (xdr_union): Likewise.
18289 * sunrpc/xdr_array.c (xdr_array): Likewise.
18290 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18291 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18292 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18293 Likewise.
18294 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18295 Likewise.
18296 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18297 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18298 Likewise.
18299 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18300 (LOCALE_PARAM_PROTO): Likewise.
18301 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18302 argument type.
18303 (ut_argument_spec): Remove macro.
18304 (ut_argument_spec_iso): Rename to ut_argument_spec.
18305 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
18306 prototype-style function definition.
18307 (memcpy_uppcase): Likewise.
18308 (__strftime_internal): Likewise.
18309 (my_strftime): Likewise.
18310 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18311 (LOCALE_PARAM_DECL): Likewise.
18312 [_LIBC] (LOCALE_PARAM): Include argument type.
18313 (__strptime_internal): Convert to prototype-style function
18314 definition.
18315 (strptime): Likewise.
18316 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18317 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18318 type.
18319 (__wcscasecmp): Convert to prototype-style function definition.
18320 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18321 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18322 type.
18323 (__wcsncasecmp): Convert to prototype-style function definition.
18324
18325 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18326 function definition.
18327 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18328 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18329 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18330 * elf/dl-minimal.c (_itoa): Likewise.
18331 * hurd/hurdmalloc.c (malloc): Likewise.
18332 (free): Likewise.
18333 (realloc): Likewise.
18334 * inet/inet6_option.c (inet6_option_space): Likewise.
18335 (inet6_option_init): Likewise.
18336 (inet6_option_append): Likewise.
18337 (inet6_option_alloc): Likewise.
18338 (inet6_option_next): Likewise.
18339 (inet6_option_find): Likewise.
18340 * io/ftw.c (FTW_NAME): Likewise.
18341 (NFTW_NAME): Likewise.
18342 (NFTW_NEW_NAME): Likewise.
18343 (NFTW_OLD_NAME): Likewise.
18344 * libio/iofwide.c (_IO_fwide): Likewise.
18345 * libio/strops.c (_IO_str_init_static_internal): Likewise.
18346 (_IO_str_init_static): Likewise.
18347 (_IO_str_init_readonly): Likewise.
18348 (_IO_str_overflow): Likewise.
18349 (_IO_str_underflow): Likewise.
18350 (_IO_str_count): Likewise.
18351 (_IO_str_seekoff): Likewise.
18352 (_IO_str_pbackfail): Likewise.
18353 (_IO_str_finish): Likewise.
18354 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18355 (_IO_wstr_overflow): Likewise.
18356 (_IO_wstr_underflow): Likewise.
18357 (_IO_wstr_count): Likewise.
18358 (_IO_wstr_seekoff): Likewise.
18359 (_IO_wstr_pbackfail): Likewise.
18360 (_IO_wstr_finish): Likewise.
18361 * locale/programs/localedef.c (normalize_codeset): Likewise.
18362 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18363 (add_locales_to_archive): Likewise.
18364 (delete_locales_from_archive): Likewise.
18365 * malloc/malloc.c (__libc_mallinfo): Likewise.
18366 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18367 * misc/tsearch.c (__tfind): Likewise.
18368 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18369 * nptl/pthread_attr_getdetachstate.c
18370 (__pthread_attr_getdetachstate): Likewise.
18371 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18372 Likewise.
18373 * nptl/pthread_attr_getinheritsched.c
18374 (__pthread_attr_getinheritsched): Likewise.
18375 * nptl/pthread_attr_getschedparam.c
18376 (__pthread_attr_getschedparam): Likewise.
18377 * nptl/pthread_attr_getschedpolicy.c
18378 (__pthread_attr_getschedpolicy): Likewise.
18379 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
18380 Likewise.
18381 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
18382 Likewise.
18383 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18384 Likewise.
18385 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18386 Likewise.
18387 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
18388 (__pthread_attr_init_2_0): Likewise.
18389 * nptl/pthread_attr_setdetachstate.c
18390 (__pthread_attr_setdetachstate): Likewise.
18391 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18392 Likewise.
18393 * nptl/pthread_attr_setinheritsched.c
18394 (__pthread_attr_setinheritsched): Likewise.
18395 * nptl/pthread_attr_setschedparam.c
18396 (__pthread_attr_setschedparam): Likewise.
18397 * nptl/pthread_attr_setschedpolicy.c
18398 (__pthread_attr_setschedpolicy): Likewise.
18399 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
18400 Likewise.
18401 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
18402 Likewise.
18403 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18404 Likewise.
18405 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18406 Likewise.
18407 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
18408 Likewise.
18409 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
18410 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18411 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
18412 use internal_function.
18413 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
18414 prototype-style function definition.
18415 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18416 (__pthread_mutex_cond_lock_adjust): Likewise. Use
18417 internal_function.
18418 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
18419 Convert to prototype-style function definition.
18420 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18421 Likewise.
18422 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
18423 Likewise.
18424 (__pthread_mutex_unlock): Likewise.
18425 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
18426 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
18427 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
18428 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
18429 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
18430 * nss/makedb.c (process_input): Likewise.
18431 * posix/fnmatch.c (__strchrnul): Likewise.
18432 (__wcschrnul): Likewise.
18433 (fnmatch): Likewise.
18434 * posix/fnmatch_loop.c (FCT): Likewise.
18435 * posix/glob.c (globfree): Likewise.
18436 (__glob_pattern_type): Likewise.
18437 (__glob_pattern_p): Likewise.
18438 * posix/regcomp.c (re_compile_pattern): Likewise.
18439 (re_set_syntax): Likewise.
18440 (re_compile_fastmap): Likewise.
18441 (regcomp): Likewise.
18442 (regerror): Likewise.
18443 (regfree): Likewise.
18444 * posix/regexec.c (regexec): Likewise.
18445 (re_match): Likewise.
18446 (re_search): Likewise.
18447 (re_match_2): Likewise.
18448 (re_search_2): Likewise.
18449 (re_search_stub): Likewise. Use internal_function
18450 (re_copy_regs): Likewise.
18451 (re_set_registers): Convert to prototype-style function
18452 definition.
18453 (prune_impossible_nodes): Likewise. Use internal_function.
18454 * resolv/inet_net_pton.c (inet_net_pton): Convert to
18455 prototype-style function definition.
18456 (inet_net_pton_ipv4): Likewise.
18457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18458 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
18459 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18460 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
18461 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18462 Make variadic.
18463 * time/strptime_l.c (localtime_r): Convert to prototype-style
18464 function definition.
18465 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18466 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18467 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18468 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18469
18470 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
18471 definition.
18472 (_ufc_doit_r): Likewise.
18473 * crypt/crypt_util.c (_ufc_copymem): Likewise.
18474 (_ufc_output_conversion_r): Likewise.
18475 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
18476 * inet/rcmd.c (rcmd_af): Likewise.
18477 (rcmd): Likewise.
18478 (ruserok_af): Likewise.
18479 (ruserok): Likewise.
18480 (ruserok2_sa): Likewise.
18481 (ruserok_sa): Likewise.
18482 (iruserok_af): Likewise.
18483 (iruserok): Likewise.
18484 (__ivaliduser): Likewise.
18485 (__validuser2_sa): Likewise.
18486 * inet/rexec.c (rexec_af): Likewise.
18487 (rexec): Likewise.
18488 * inet/ruserpass.c (ruserpass): Likewise.
18489 * locale/programs/xmalloc.c (xcalloc): Likewise.
18490 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
18491 * math/w_drem.c (__drem): Likewise.
18492 * math/w_dremf.c (__dremf): Likewise.
18493 * math/w_dreml.c (__dreml): Likewise.
18494 * misc/daemon.c (daemon): Likewise.
18495 * resolv/res_debug.c (p_fqnname): Likewise.
18496 * stdlib/div.c (div): Likewise.
18497 * string/memcmp.c (memcmp_bytes): Likewise.
18498 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
18499 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
18500
18501 * crypt/cert.c (main): Convert to prototype-style function
18502 definition.
18503 * io/pipe.c (__pipe): Likewise.
18504 * io/pipe2.c (__pipe2): Likewise.
18505 * misc/futimesat.c (futimesat): Likewise.
18506 * misc/utimes.c (__utimes): Likewise.
18507 * posix/execve.c (__execve): Likewise.
18508 * posix/execvp.c (execvp): Likewise.
18509 * posix/execvpe.c (__execvpe): Likewise.
18510 * posix/fexecve.c (fexecve): Likewise.
18511 * socket/socketpair.c (socketpair): Likewise.
18512 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18513 * stdlib/erand48.c (erand48): Likewise.
18514 * stdlib/erand48_r.c (__erand48_r): Likewise.
18515 * stdlib/jrand48.c (jrand48): Likewise.
18516 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
18517 * stdlib/lcong48.c (lcong48): Likewise.
18518 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
18519 * stdlib/nrand48.c (nrand48): Likewise.
18520 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
18521 * stdlib/seed48.c (seed48): Likewise.
18522 * stdlib/seed48_r.c (__seed48_r): Likewise.
18523 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
18524 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
18525 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
18526
18527 2015-10-19 Joseph Myers <joseph@codesourcery.com>
18528
18529 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
18530 * configure: Regenerated.
18531 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
18532 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
18533 unconditional.
18534 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18535 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18536 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18537 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
18538 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
18539 unconditional.
18540 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18541
18542 * posix/Makefile (CFLAGS-regex.c): Remove variable.
18543 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
18544
18545 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
18546 function definition.
18547 * crypt/crypt_util.c (__encrypt_r): Likewise.
18548 * libio/genops.c (_IO_no_init): Likewise.
18549 * libio/iofopncook.c (_IO_fopencookie): Likewise.
18550 (_IO_old_fopencookie): Likewise.
18551 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18552 * libio/iogetline.c (_IO_getline): Likewise.
18553 (_IO_getline_info): Likewise.
18554 * libio/iogetwline.c (_IO_getwline): Likewise.
18555 (_IO_getwline_info): Likewise.
18556 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
18557 * libio/vswprintf.c (_IO_vswprintf): Likewise.
18558 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
18559 (find_entry): Likewise.
18560 (iterate_table): Likewise.
18561 (lookup): Likewise.
18562 * login/forkpty.c (forkpty): Likewise.
18563 * misc/hsearch_r.c (__hsearch_r): Likewise.
18564 * misc/select.c (__select): Likewise.
18565 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
18566 Likewise.
18567 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
18568 Likewise.
18569 * nptl/old_pthread_cond_timedwait.c
18570 (__pthread_cond_timedwait_2_0): Likewise.
18571 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
18572 * nptl/pthread_barrierattr_getpshared.c
18573 (pthread_barrierattr_getpshared): Likewise.
18574 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
18575 Likewise.
18576 * nptl/pthread_mutex_setprioceiling.c
18577 (pthread_mutex_setprioceiling): Likewise.
18578 * nptl/pthread_mutexattr_getprioceiling.c
18579 (pthread_mutexattr_getprioceiling): Likewise.
18580 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
18581 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18582 Likewise.
18583 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18584 Likewise.
18585 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
18586 Likewise.
18587 * socket/recvfrom.c (__recvfrom): Likewise.
18588 * socket/sendto.c (__sendto): Likewise.
18589 * socket/setsockopt.c (__setsockopt): Likewise.
18590 * stdio-common/_itoa.c (_itoa): Likewise.
18591 * stdio-common/_itowa.c (_itowa): Likewise.
18592 * stdio-common/reg-printf.c (__register_printf_specifier):
18593 Likewise.
18594 (__register_printf_function): Likewise.
18595 * stdio-common/tempname.c (__path_search): Likewise.
18596 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
18597 * stdlib/mul_1.c (mpn_mul_1): Likewise.
18598 * stdlib/random_r.c (__initstate_r): Likewise.
18599 * stdlib/setenv.c (__add_to_environ): Likewise.
18600 * stdlib/submul_1.c (mpn_submul_1): Likewise.
18601 * streams/getpmsg.c (getpmsg): Likewise.
18602 * streams/putmsg.c (putmsg): Likewise.
18603 * streams/putpmsg.c (putpmsg): Likewise.
18604 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
18605 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18606 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
18607 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18608 * sunrpc/pm_getport.c (pmap_getport): Likewise.
18609 * sunrpc/svc_udp.c (cache_get): Likewise.
18610 * sunrpc/xdr_array.c (xdr_vector): Likewise.
18611 * sysdeps/mach/hurd/getcwd.c
18612 (__canonicalize_directory_name_internal): Likewise.
18613 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
18614 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
18615 * sysdeps/mach/hurd/select.c (__select): Likewise.
18616 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
18617 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18618 * sysdeps/sparc/nptl/pthread_barrier_init.c
18619 (__pthread_barrier_init): Likewise.
18620 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
18621 (__pthread_cond_timedwait): Likewise.
18622 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
18623 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
18624 Likewise.
18625 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
18626 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
18627 Likewise.
18628 * sysvipc/semtimedop.c (semtimedop): Likewise.
18629 * time/setitimer.c (__setitimer): Likewise.
18630 * time/strftime_l.c (emacs_strftime): Likewise.
18631
18632 2015-10-19 Mike Frysinger <vapier@gentoo.org>
18633
18634 * config.make.in (have-ssp): Delete.
18635 (stack-protector): New variable.
18636 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
18637 cache test for -fstack-protector-strong. Export stack_protector to
18638 the best ssp flag.
18639 * configure: Regenerated.
18640 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
18641 * nscd/Makefile (CFLAGS-nscd): Likewise.
18642 * resolv/Makefile (CFLAGS-libresolv): Likewise.
18643
18644 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
18645
18646 [BZ #19122]
18647 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
18648 attribute_hidden.
18649
18650 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18651
18652 [BZ #18743]
18653 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
18654 code to...
18655 (ELIDE_LOCK): ...here.
18656 (__get_new_count): New function with part of the code from
18657 __elide_lock that updates the value of adapt_count after a
18658 transaction abort.
18659 (__elided_trylock): Moved this code to...
18660 (ELIDE_TRYLOCK): ...here.
18661
18662 2015-10-19 Mike Frysinger <vapier@gentoo.org>
18663
18664 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
18665 * configure: Regenerate.
18666 * INSTALL: Regenerate.
18667 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
18668 and tweak grammar.
18669
18670 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
18671
18672 * login/programs/pt_chown.c: Include signal.h
18673 (main): Clear any signal mask from the parent process.
18674
18675 2015-10-19 Joseph Myers <joseph@codesourcery.com>
18676
18677 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
18678 * configure: Regenerated.
18679 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
18680 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
18681 $(gnu89-inline-CFLAGS).
18682
18683 * configure.ac (libc_cv_asm_weak_directive): Remove configure
18684 test.
18685 (libc_cv_asm_weakext_directive): Likewise.
18686 * configure: Regenerated.
18687 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
18688 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
18689 * include/libc-symbols.h
18690 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
18691 #error.
18692 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
18693 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
18694
18695 * sysdeps/arm/backtrace.c (__backtrace): Convert to
18696 prototype-style function definition.
18697 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18698 * sysdeps/i386/ffs.c (__ffs): Likewise.
18699 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18700 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
18701 Likewise.
18702 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18703 Likewise.
18704 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
18705 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18706 Likewise.
18707 * sysdeps/m68k/ffs.c (__ffs): Likewise.
18708 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
18709 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
18710 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
18711 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
18712 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
18713 * sysdeps/mach/hurd/access.c (__access): Likewise.
18714 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
18715 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
18716 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
18717 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
18718 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
18719 (cthread_getspecific): Likewise.
18720 (cthread_setspecific): Likewise.
18721 (__libc_getspecific): Likewise.
18722 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
18723 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
18724 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
18725 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
18726 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
18727 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
18728 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
18729 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
18730 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
18731 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
18732 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
18733 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
18734 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
18735 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
18736 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
18737 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
18738 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
18739 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
18740 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
18741 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
18742 * sysdeps/mach/hurd/link.c (__link): Likewise.
18743 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
18744 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
18745 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
18746 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
18747 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18748 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
18749 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
18750 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
18751 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18752 * sysdeps/mach/hurd/rename.c (rename): Likewise.
18753 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
18754 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
18755 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
18756 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
18757 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
18758 * sysdeps/mach/hurd/send.c (__send): Likewise.
18759 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
18760 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
18761 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
18762 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
18763 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
18764 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
18765 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
18766 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
18767 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
18768 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
18769 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
18770 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
18771 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
18772 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
18773 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
18774 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
18775 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
18776 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
18777 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
18778 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18779 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
18780 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
18781 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
18782 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
18783 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
18784 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
18785 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
18786 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
18787 * sysdeps/posix/alarm.c (alarm): Likewise.
18788 * sysdeps/posix/cuserid.c (cuserid): Likewise.
18789 * sysdeps/posix/dirfd.c (dirfd): Likewise.
18790 * sysdeps/posix/dup.c (__dup): Likewise.
18791 * sysdeps/posix/dup2.c (__dup2): Likewise.
18792 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
18793 (main): Likewise.
18794 * sysdeps/posix/flock.c (__flock): Likewise.
18795 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
18796 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18797 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
18798 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
18799 * sysdeps/posix/isatty.c (__isatty): Likewise.
18800 * sysdeps/posix/killpg.c (killpg): Likewise.
18801 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18802 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
18803 * sysdeps/posix/raise.c (raise): Likewise.
18804 * sysdeps/posix/remove.c (remove): Likewise.
18805 * sysdeps/posix/rename.c (rename): Likewise.
18806 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
18807 * sysdeps/posix/seekdir.c (seekdir): Likewise.
18808 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
18809 * sysdeps/posix/sigignore.c (sigignore): Likewise.
18810 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
18811 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18812 * sysdeps/posix/sigset.c (sigset): Likewise.
18813 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
18814 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
18815 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
18816 * sysdeps/posix/time.c (time): Likewise.
18817 * sysdeps/posix/ttyname.c (getttyname): Likewise.
18818 (ttyname): Likewise.
18819 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
18820 * sysdeps/posix/utime.c (utime): Likewise.
18821 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
18822 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18823 Likewise.
18824 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
18825 (pthread_spin_trylock): Likewise.
18826 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
18827 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
18828 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
18829 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
18830 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
18831 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
18832 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
18833 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
18834 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
18835 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
18836 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
18837 * sysdeps/s390/ffs.c (__ffs): Likewise.
18838 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
18839 Likewise.
18840 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18841 Likewise.
18842 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
18843 Likewise.
18844 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
18845 (pthread_barrier_destroy): Likewise.
18846 * sysdeps/sparc/nptl/pthread_barrier_wait.c
18847 (__pthread_barrier_wait): Likewise.
18848 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
18849 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18850 (__pthread_barrier_wait): Likewise.
18851 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
18852 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
18853 (memcmp_not_common_alignment): Likewise.
18854 (MEMCMP): Likewise.
18855 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
18856 (_wordcopy_fwd_dest_aligned): Likewise.
18857 (_wordcopy_bwd_aligned): Likewise.
18858 (_wordcopy_bwd_dest_aligned): Likewise.
18859 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
18860 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
18861 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18862 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
18863 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
18864 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
18865 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
18866 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
18867 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
18868 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
18869 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
18870 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18871 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
18872 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
18873 * sysdeps/unix/stime.c (stime): Likewise.
18874 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
18875 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
18876 Likewise. Use internal_function.
18877 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
18878 Convert to prototype-style function definition.
18879 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18880 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18881 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
18882 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18883 Likewise. Use internal_function.
18884 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
18885 prototype-style function definition
18886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18887 Likewise.
18888 (__getlogin_r): Likewise.
18889 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
18890 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
18891 (__pthread_cond_broadcast): Likewise.
18892 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
18893 (__pthread_cond_destroy): Likewise.
18894 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
18895 (__pthread_cond_init): Likewise.
18896 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
18897 (__pthread_cond_signal): Likewise.
18898 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
18899 (__pthread_cond_wait): Likewise.
18900 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
18901 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18902 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
18903 Likewise.
18904 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
18905 Likewise.
18906 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18907 Likewise.
18908 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
18909 Likewise.
18910 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
18912 (__ftruncate64): Likewise.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
18914 (truncate64): Likewise.
18915 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
18916 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
18917 (pthread_getcpuclockid): Likewise.
18918 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18919 Likewise.
18920 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18921 Likewise.
18922 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
18923 Likewise.
18924 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
18925 Likewise.
18926 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
18927 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
18928 (__libc_sigaction): Likewise.
18929 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
18930 Likewise.
18931 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18932 (__sigprocmask): Likewise.
18933 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
18934 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
18935 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
18936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18937 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18938 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
18939 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18940 Likewise.
18941 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
18942 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
18943 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18944 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
18945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
18946 Likewise.
18947 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18948 (__sigprocmask): Likewise.
18949 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
18950 (cfgetispeed): Likewise.
18951 (cfsetospeed): Likewise.
18952 (cfsetispeed): Likewise.
18953 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
18954 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
18955 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18956 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18957 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
18958 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
18959 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
18960 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
18961 Likewise.
18962 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
18963 Likewise.
18964 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
18965 Likewise.
18966 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
18967 Likewise.
18968 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18969
18970 2015-10-17 Florian Weimer <fweimer@redhat.com>
18971
18972 sunrpc: Rewrite with explicit TLS access using __thread.
18973 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
18974 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
18975 directly.
18976 (__rpc_thread_variables): Access thread_rpc_vars directly.
18977 Eliminate redundant assignment of the tvp variable.
18978
18979 2015-10-17 Florian Weimer <fweimer@redhat.com>
18980
18981 malloc: Rewrite with explicit TLS access using __thread.
18982 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
18983 (tsd_setspecific, tsd_getspecific): Remove.
18984 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
18985 (tsd_setspecific, tsd_getspecific): Likewise.
18986 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
18987 (tsd_setspecific, tsd_getspecific): Likewise.
18988 * malloc/arena.c (thread_arena): New TLS variable.
18989 (arena_key): Remove variable.
18990 (arena_get): Use thread_arena.
18991 (arena_lookup): Remove macro.
18992 (malloc_atfork, free_atfork, ptmalloc_lock_all)
18993 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
18994 (_int_new_arena, get_free_list, reused_arena)
18995 (arena_thread_freeres): Use thread_arena.
18996 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
18997 tsd_getspecific, tsd_setspecific from safety annotations.
18998 (Allocating Cleared Space): Remove arena_lookup from safety
18999 annotations.
19000
19001 2015-10-17 Florian Weimer <fweimer@redhat.com>
19002
19003 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19004 struct scratch_buffer instead of extend_alloca.
19005
19006 2015-10-17 Florian Weimer <fweimer@redhat.com>
19007
19008 * sysdeps/unix/sysv/linux/kernel-features.h
19009 (__ASSUME_SOCK_CLOEXEC): Remove.
19010 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19011 (__have_paccept): Remove unused macro.
19012 * include/unistd.h (__have_sock_cloexec): Remove declaration.
19013 * misc/syslog.c (openlog_internal): Remove fallback code for
19014 !__ASSUME_SOCK_CLOEXEC.
19015 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19016 missing SOCK_CLOEXEC.
19017 * nscd/connections.c (have_sock_cloexec): Remove definition.
19018 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19019 * nscd/nscd_helper.c (open_socket): Remove fallback code for
19020 !__ASSUME_SOCK_CLOEXEC.
19021 * resolv/res_send.c (__have_o_nonblock): Remove definition.
19022 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19023 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19024 definition.
19025 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19026 code for !__ASSUME_SOCK_CLOEXEC.
19027
19028 2015-10-17 Florian Weimer <fweimer@redhat.com>
19029
19030 [BZ #18982]
19031 * manual/stdio.texi (Variable Arguments Output): Add portability
19032 note, explaining that vfprintf clobbers the va_list pointer.
19033
19034 2015-10-16 Joseph Myers <joseph@codesourcery.com>
19035
19036 * math/libm-test.inc (fabs_test_data): Add more tests.
19037 (fdim_test_data): Likewise.
19038 (fma_test_data): Likewise.
19039 (fmax_test_data): Likewise.
19040 (fmin_test_data): Likewise.
19041 (fmod_test_data): Likewise.
19042
19043 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
19044
19045 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
19046 data.
19047
19048 2015-10-16 Joseph Myers <joseph@codesourcery.com>
19049
19050 * math/libm-test.inc (ceil_test_data): Add more tests and more
19051 expectations for "inexact".
19052 (floor_test_data): Add more tests.
19053 (round_test_data): Likewise.
19054 (trunc_test_data): Likewise.
19055
19056 * crypt/cert.c (good_bye): Convert to prototype-style function
19057 definition.
19058 (get8): Likewise.
19059 (put8): Likewise.
19060 * crypt/crypt-entry.c (crypt): Likewise.
19061 (__fcrypt): Likewise.
19062 * crypt/crypt_util.c (_ufc_prbits): Likewise.
19063 (_ufc_set_bits): Likewise.
19064 (_ufc_clearmem): Likewise.
19065 (__init_des_r): Likewise.
19066 (shuffle_sb): Likewise.
19067 (shuffle_sb): Likewise.
19068 (_ufc_setup_salt_r): Likewise.
19069 (_ufc_mk_keytab_r): Likewise.
19070 (_ufc_dofinalperm_r): Likewise.
19071 (encrypt): Likewise.
19072 (__setkey_r): Likewise.
19073 (setkey): Likewise.
19074 * crypt/md5.c (md5_init_ctx): Likewise.
19075 (md5_read_ctx): Likewise.
19076 (md5_finish_ctx): Likewise.
19077 (md5_stream): Likewise.
19078 (md5_buffer): Likewise.
19079 (md5_process_bytes): Likewise.
19080 * crypt/sha256.c (__sha256_init_ctx): Likewise.
19081 (__sha256_finish_ctx): Likewise.
19082 (__sha256_process_bytes): Likewise.
19083 * crypt/sha512.c (__sha512_init_ctx): Likewise.
19084 (__sha512_finish_ctx): Likewise.
19085 (__sha512_process_bytes): Likewise.
19086 * ctype/isctype.c (__isctype): Likewise.
19087 * debug/backtrace.c (__backtrace): Likewise.
19088 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19089 * debug/fgets_chk.c (__fgets_chk): Likewise.
19090 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19091 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19092 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19093 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19094 * debug/memset_chk.c (__memset_chk): Likewise.
19095 * debug/strcat_chk.c (__strcat_chk): Likewise.
19096 * debug/strncat_chk.c (__strncat_chk): Likewise.
19097 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19098 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19099 * dirent/dirfd.c (dirfd): Likewise.
19100 * dirent/getdents.c (__getdirentries): Likewise.
19101 * dirent/getdents64.c (getdirentries64): Likewise.
19102 * dirent/rewinddir.c (__rewinddir): Likewise.
19103 * dirent/seekdir.c (seekdir): Likewise.
19104 * dirent/telldir.c (telldir): Likewise.
19105 * elf/sln.c (makesymlinks): Likewise.
19106 (makesymlink): Likewise.
19107 * gmon/gmon.c (__moncontrol): Likewise.
19108 (__monstartup): Likewise.
19109 (write_hist): Likewise.
19110 (write_call_graph): Likewise.
19111 (write_bb_counts): Likewise.
19112 * grp/setgroups.c (setgroups): Likewise.
19113 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19114 * inet/inet_net.c (inet_network): Likewise.
19115 * inet/inet_netof.c (inet_netof): Likewise.
19116 * inet/rcmd.c (rresvport_af): Likewise.
19117 (rresvport): Likewise.
19118 * io/access.c (__access): Likewise.
19119 * io/chdir.c (__chdir): Likewise.
19120 * io/chmod.c (__chmod): Likewise.
19121 * io/chown.c (__chown): Likewise.
19122 * io/close.c (__close): Likewise.
19123 * io/creat.c (creat): Likewise.
19124 * io/creat64.c (creat64): Likewise.
19125 * io/dup.c (__dup): Likewise.
19126 * io/dup2.c (__dup2): Likewise.
19127 * io/dup3.c (__dup3): Likewise.
19128 * io/euidaccess.c (__euidaccess): Likewise.
19129 * io/faccessat.c (faccessat): Likewise.
19130 * io/fchmod.c (__fchmod): Likewise.
19131 * io/fchmodat.c (fchmodat): Likewise.
19132 * io/fchown.c (__fchown): Likewise.
19133 * io/fchownat.c (fchownat): Likewise.
19134 * io/fcntl.c (__fcntl): Likewise.
19135 * io/flock.c (__flock): Likewise.
19136 * io/fts.c (fts_load): Likewise.
19137 (fts_close): Likewise.
19138 (fts_read): Likewise.
19139 (fts_set): Likewise.
19140 (fts_children): Likewise.
19141 (fts_build): Likewise.
19142 (fts_stat): Likewise.
19143 (fts_sort): Likewise.
19144 (fts_alloc): Likewise.
19145 (fts_lfree): Likewise.
19146 (fts_palloc): Likewise.
19147 (fts_padjust): Likewise.
19148 (fts_maxarglen): Likewise.
19149 (fts_safe_changedir): Likewise.
19150 * io/getwd.c (getwd): Likewise.
19151 * io/isatty.c (__isatty): Likewise.
19152 * io/lchown.c (__lchown): Likewise.
19153 * io/link.c (__link): Likewise.
19154 * io/linkat.c (linkat): Likewise.
19155 * io/lseek.c (__libc_lseek): Likewise.
19156 * io/mkdir.c (__mkdir): Likewise.
19157 * io/mkdirat.c (mkdirat): Likewise.
19158 * io/mkfifo.c (mkfifo): Likewise.
19159 * io/mkfifoat.c (mkfifoat): Likewise.
19160 * io/open.c (__libc_open): Likewise.
19161 * io/open64.c (__libc_open64): Likewise.
19162 * io/readlink.c (__readlink): Likewise.
19163 * io/readlinkat.c (readlinkat): Likewise.
19164 * io/rmdir.c (__rmdir): Likewise.
19165 * io/symlink.c (__symlink): Likewise.
19166 * io/symlinkat.c (symlinkat): Likewise.
19167 * io/ttyname.c (ttyname): Likewise.
19168 * io/ttyname_r.c (__ttyname_r): Likewise.
19169 * io/umask.c (__umask): Likewise.
19170 * io/unlink.c (__unlink): Likewise.
19171 * io/unlinkat.c (unlinkat): Likewise.
19172 * io/utime.c (utime): Likewise.
19173 * libio/clearerr.c (clearerr): Likewise.
19174 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19175 * libio/feof.c (_IO_feof): Likewise.
19176 * libio/feof_u.c (feof_unlocked): Likewise.
19177 * libio/ferror.c (_IO_ferror): Likewise.
19178 * libio/ferror_u.c (ferror_unlocked): Likewise.
19179 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19180 * libio/fileno.c (__fileno): Likewise.
19181 * libio/fputc.c (fputc): Likewise.
19182 * libio/fputc_u.c (fputc_unlocked): Likewise.
19183 * libio/fputwc.c (fputwc): Likewise.
19184 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19185 * libio/freopen.c (freopen): Likewise.
19186 * libio/freopen64.c (freopen64): Likewise.
19187 * libio/fseek.c (fseek): Likewise.
19188 * libio/fseeko.c (fseeko): Likewise.
19189 * libio/fseeko64.c (fseeko64): Likewise.
19190 * libio/ftello.c (__ftello): Likewise.
19191 * libio/ftello64.c (ftello64): Likewise.
19192 * libio/fwide.c (fwide): Likewise.
19193 * libio/genops.c (_IO_un_link): Likewise.
19194 (_IO_link_in): Likewise.
19195 (_IO_least_marker): Likewise.
19196 (_IO_switch_to_main_get_area): Likewise.
19197 (_IO_switch_to_backup_area): Likewise.
19198 (_IO_switch_to_get_mode): Likewise.
19199 (_IO_free_backup_area): Likewise.
19200 (_IO_switch_to_put_mode): Likewise.
19201 (__overflow): Likewise.
19202 (__underflow): Likewise.
19203 (__uflow): Likewise.
19204 (_IO_setb): Likewise.
19205 (_IO_doallocbuf): Likewise.
19206 (_IO_default_underflow): Likewise.
19207 (_IO_default_uflow): Likewise.
19208 (_IO_default_xsputn): Likewise.
19209 (_IO_sgetn): Likewise.
19210 (_IO_default_xsgetn): Likewise.
19211 (_IO_sync): Likewise.
19212 (_IO_default_setbuf): Likewise.
19213 (_IO_default_seekpos): Likewise.
19214 (_IO_default_doallocate): Likewise.
19215 (_IO_init): Likewise.
19216 (_IO_old_init): Likewise.
19217 (_IO_default_sync): Likewise.
19218 (_IO_default_finish): Likewise.
19219 (_IO_default_seekoff): Likewise.
19220 (_IO_sputbackc): Likewise.
19221 (_IO_sungetc): Likewise.
19222 (_IO_set_column): Likewise.
19223 (_IO_set_column): Likewise.
19224 (_IO_adjust_column): Likewise.
19225 (_IO_get_column): Likewise.
19226 (_IO_init_marker): Likewise.
19227 (_IO_remove_marker): Likewise.
19228 (_IO_marker_difference): Likewise.
19229 (_IO_marker_delta): Likewise.
19230 (_IO_seekmark): Likewise.
19231 (_IO_unsave_markers): Likewise.
19232 (_IO_nobackup_pbackfail): Likewise.
19233 (_IO_default_pbackfail): Likewise.
19234 (_IO_default_seek): Likewise.
19235 (_IO_default_stat): Likewise.
19236 (_IO_default_read): Likewise.
19237 (_IO_default_write): Likewise.
19238 (_IO_default_showmanyc): Likewise.
19239 (_IO_default_imbue): Likewise.
19240 (_IO_iter_next): Likewise.
19241 (_IO_iter_file): Likewise.
19242 * libio/getc.c (_IO_getc): Likewise.
19243 * libio/getwc.c (_IO_getwc): Likewise.
19244 * libio/iofclose.c (_IO_new_fclose): Likewise.
19245 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19246 * libio/iofflush.c (_IO_fflush): Likewise.
19247 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19248 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19249 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19250 * libio/iofgets.c (_IO_fgets): Likewise.
19251 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19252 * libio/iofgetws.c (fgetws): Likewise.
19253 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19254 * libio/iofopen64.c (_IO_fopen64): Likewise.
19255 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19256 (_IO_cookie_write): Likewise.
19257 (_IO_cookie_seek): Likewise.
19258 (_IO_cookie_close): Likewise.
19259 (_IO_cookie_seekoff): Likewise.
19260 (_IO_old_cookie_seek): Likewise.
19261 * libio/iofputs.c (_IO_fputs): Likewise.
19262 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19263 * libio/iofputws.c (fputws): Likewise.
19264 * libio/iofputws_u.c (fputws_unlocked): Likewise.
19265 * libio/iofread.c (_IO_fread): Likewise.
19266 * libio/iofread_u.c (__fread_unlocked): Likewise.
19267 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19268 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19269 * libio/ioftell.c (_IO_ftell): Likewise.
19270 * libio/iofwrite.c (_IO_fwrite): Likewise.
19271 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19272 * libio/iogets.c (_IO_gets): Likewise.
19273 * libio/iopadn.c (_IO_padn): Likewise.
19274 * libio/iopopen.c (_IO_new_proc_open): Likewise.
19275 (_IO_new_popen): Likewise.
19276 (_IO_new_proc_close): Likewise.
19277 * libio/ioputs.c (_IO_puts): Likewise.
19278 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19279 (_IO_seekoff): Likewise.
19280 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19281 (_IO_seekpos): Likewise.
19282 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19283 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19284 * libio/ioungetc.c (_IO_ungetc): Likewise.
19285 * libio/ioungetwc.c (ungetwc): Likewise.
19286 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19287 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19288 * libio/iowpadn.c (_IO_wpadn): Likewise.
19289 * libio/libc_fatal.c (__libc_fatal): Likewise.
19290 * libio/memstream.c (__open_memstream): Likewise.
19291 (_IO_mem_sync): Likewise.
19292 (_IO_mem_finish): Likewise.
19293 * libio/oldfileops.c (_IO_old_file_init): Likewise.
19294 (_IO_old_file_close_it): Likewise.
19295 (_IO_old_file_finish): Likewise.
19296 (_IO_old_file_fopen): Likewise.
19297 (_IO_old_file_attach): Likewise.
19298 (_IO_old_file_setbuf): Likewise.
19299 (_IO_old_do_write): Likewise.
19300 (old_do_write): Likewise.
19301 (_IO_old_file_underflow): Likewise.
19302 (_IO_old_file_overflow): Likewise.
19303 (_IO_old_file_sync): Likewise.
19304 (_IO_old_file_seekoff): Likewise.
19305 (_IO_old_file_write): Likewise.
19306 (_IO_old_file_xsputn): Likewise.
19307 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19308 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19309 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19310 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19311 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19312 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19313 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19314 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19315 (_IO_old_popen): Likewise.
19316 (_IO_old_proc_close): Likewise.
19317 * libio/oldpclose.c (__old_pclose): Likewise.
19318 * libio/pclose.c (__new_pclose): Likewise.
19319 * libio/peekc.c (_IO_peekc_locked): Likewise.
19320 * libio/putc.c (_IO_putc): Likewise.
19321 * libio/putc_u.c (putc_unlocked): Likewise.
19322 * libio/putchar.c (putchar): Likewise.
19323 * libio/putchar_u.c (putchar_unlocked): Likewise.
19324 * libio/putwc.c (putwc): Likewise.
19325 * libio/putwc_u.c (putwc_unlocked): Likewise.
19326 * libio/putwchar.c (putwchar): Likewise.
19327 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19328 * libio/rewind.c (rewind): Likewise.
19329 * libio/setbuf.c (setbuf): Likewise.
19330 * libio/setlinebuf.c (setlinebuf): Likewise.
19331 * libio/vasprintf.c (_IO_vasprintf): Likewise.
19332 * libio/vscanf.c (_IO_vscanf): Likewise.
19333 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19334 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19335 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19336 * libio/wgenops.c (_IO_least_wmarker): Likewise.
19337 (_IO_switch_to_main_wget_area): Likewise.
19338 (_IO_switch_to_wbackup_area): Likewise.
19339 (_IO_wsetb): Likewise.
19340 (_IO_wdefault_pbackfail): Likewise.
19341 (_IO_wdefault_finish): Likewise.
19342 (_IO_wdefault_uflow): Likewise.
19343 (__woverflow): Likewise.
19344 (__wuflow): Likewise.
19345 (__wunderflow): Likewise.
19346 (_IO_wdefault_xsputn): Likewise.
19347 (_IO_wdefault_xsgetn): Likewise.
19348 (_IO_wdoallocbuf): Likewise.
19349 (_IO_wdefault_doallocate): Likewise.
19350 (_IO_switch_to_wget_mode): Likewise.
19351 (_IO_free_wbackup_area): Likewise.
19352 (_IO_switch_to_wput_mode): Likewise.
19353 (_IO_sputbackwc): Likewise.
19354 (_IO_sungetwc): Likewise.
19355 (_IO_adjust_wcolumn): Likewise.
19356 (_IO_init_wmarker): Likewise.
19357 (_IO_wmarker_delta): Likewise.
19358 (_IO_seekwmark): Likewise.
19359 (_IO_unsave_wmarkers): Likewise.
19360 * libio/wmemstream.c (open_wmemstream): Likewise.
19361 (_IO_wmem_sync): Likewise.
19362 (_IO_wmem_finish): Likewise.
19363 * locale/nl_langinfo.c (nl_langinfo): Likewise.
19364 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19365 * locale/programs/simple-hash.c (init_hash): Likewise.
19366 (delete_hash): Likewise.
19367 (insert_entry): Likewise.
19368 (set_entry): Likewise.
19369 (next_prime): Likewise.
19370 (is_prime): Likewise.
19371 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19372 (xmalloc): Likewise.
19373 (xrealloc): Likewise.
19374 * locale/programs/xstrdup.c (xstrdup): Likewise.
19375 * localedata/collate-test.c (xstrcoll): Likewise.
19376 * localedata/xfrm-test.c (xstrcmp): Likewise.
19377 * login/getlogin_r.c (__getlogin_r): Likewise.
19378 * login/getpt.c (__posix_openpt): Likewise.
19379 * login/login_tty.c (login_tty): Likewise.
19380 * login/setlogin.c (setlogin): Likewise.
19381 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
19382 (mach_msg_destroy_port): Likewise.
19383 (mach_msg_destroy_memory): Likewise.
19384 * malloc/mcheck.c (flood): Likewise.
19385 * misc/acct.c (acct): Likewise.
19386 * misc/brk.c (__brk): Likewise.
19387 * misc/chflags.c (chflags): Likewise.
19388 * misc/chroot.c (chroot): Likewise.
19389 * misc/fchflags.c (fchflags): Likewise.
19390 * misc/fstab.c (getfsspec): Likewise.
19391 (getfsfile): Likewise.
19392 * misc/fsync.c (fsync): Likewise.
19393 * misc/ftruncate.c (__ftruncate): Likewise.
19394 * misc/ftruncate64.c (__ftruncate64): Likewise.
19395 * misc/getdomain.c (getdomainname): Likewise.
19396 (getdomainname): Likewise.
19397 * misc/gethostname.c (__gethostname): Likewise.
19398 * misc/getpass.c (getpass): Likewise.
19399 * misc/getttyent.c (skip): Likewise.
19400 (value): Likewise.
19401 * misc/gtty.c (gtty): Likewise.
19402 * misc/hsearch.c (hsearch): Likewise.
19403 (hcreate): Likewise.
19404 * misc/hsearch_r.c (__hcreate_r): Likewise.
19405 (__hdestroy_r): Likewise.
19406 * misc/ioctl.c (__ioctl): Likewise.
19407 * misc/mkdtemp.c (mkdtemp): Likewise.
19408 * misc/mkostemp.c (mkostemp): Likewise.
19409 * misc/mkostemp64.c (mkostemp64): Likewise.
19410 * misc/mkostemps.c (mkostemps): Likewise.
19411 * misc/mkostemps64.c (mkostemps64): Likewise.
19412 * misc/mkstemp.c (mkstemp): Likewise.
19413 * misc/mkstemp64.c (mkstemp64): Likewise.
19414 * misc/mkstemps.c (mkstemps): Likewise.
19415 * misc/mkstemps64.c (mkstemps64): Likewise.
19416 * misc/mktemp.c (__mktemp): Likewise.
19417 * misc/preadv.c (preadv): Likewise.
19418 * misc/preadv64.c (preadv64): Likewise.
19419 * misc/pwritev.c (pwritev): Likewise.
19420 * misc/pwritev64.c (pwritev64): Likewise.
19421 * misc/readv.c (__readv): Likewise.
19422 * misc/revoke.c (revoke): Likewise.
19423 * misc/setdomain.c (setdomainname): Likewise.
19424 * misc/setegid.c (setegid): Likewise.
19425 * misc/seteuid.c (seteuid): Likewise.
19426 * misc/sethostid.c (sethostid): Likewise.
19427 * misc/sethostname.c (sethostname): Likewise.
19428 * misc/setregid.c (__setregid): Likewise.
19429 * misc/setreuid.c (__setreuid): Likewise.
19430 * misc/sstk.c (sstk): Likewise.
19431 * misc/stty.c (stty): Likewise.
19432 * misc/syscall.c (syscall): Likewise.
19433 * misc/syslog.c (setlogmask): Likewise.
19434 * misc/truncate.c (__truncate): Likewise.
19435 * misc/truncate64.c (truncate64): Likewise.
19436 * misc/ualarm.c (ualarm): Likewise.
19437 * misc/usleep.c (usleep): Likewise.
19438 * misc/ustat.c (ustat): Likewise.
19439 * misc/writev.c (__writev): Likewise.
19440 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
19441 * nptl/old_pthread_cond_broadcast.c
19442 (__pthread_cond_broadcast_2_0): Likewise.
19443 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
19444 Likewise.
19445 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
19446 Likewise.
19447 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
19448 Likewise.
19449 * nptl/pt-raise.c (raise): Likewise.
19450 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
19451 Likewise.
19452 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
19453 * nptl/pthread_barrierattr_destroy.c
19454 (pthread_barrierattr_destroy): Likewise.
19455 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19456 Likewise.
19457 * nptl/pthread_barrierattr_setpshared.c
19458 (pthread_barrierattr_setpshared): Likewise.
19459 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19460 Likewise.
19461 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
19462 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19463 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
19464 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
19465 Likewise.
19466 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
19467 Likewise.
19468 * nptl/pthread_condattr_getpshared.c
19469 (pthread_condattr_getpshared): Likewise.
19470 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
19471 Likewise.
19472 * nptl/pthread_condattr_setpshared.c
19473 (pthread_condattr_setpshared): Likewise.
19474 * nptl/pthread_detach.c (pthread_detach): Likewise.
19475 * nptl/pthread_equal.c (__pthread_equal): Likewise.
19476 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
19477 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
19478 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
19479 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
19480 Likewise.
19481 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
19482 Likewise.
19483 * nptl/pthread_mutex_getprioceiling.c
19484 (pthread_mutex_getprioceiling): Likewise.
19485 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
19486 Likewise.
19487 * nptl/pthread_mutexattr_getprotocol.c
19488 (pthread_mutexattr_getprotocol): Likewise.
19489 * nptl/pthread_mutexattr_getpshared.c
19490 (pthread_mutexattr_getpshared): Likewise.
19491 * nptl/pthread_mutexattr_getrobust.c
19492 (pthread_mutexattr_getrobust): Likewise.
19493 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19494 Likewise.
19495 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
19496 Likewise.
19497 * nptl/pthread_mutexattr_setprioceiling.c
19498 (pthread_mutexattr_setprioceiling): Likewise.
19499 * nptl/pthread_mutexattr_setprotocol.c
19500 (pthread_mutexattr_setprotocol): Likewise.
19501 * nptl/pthread_mutexattr_setpshared.c
19502 (pthread_mutexattr_setpshared): Likewise.
19503 * nptl/pthread_mutexattr_setrobust.c
19504 (pthread_mutexattr_setrobust): Likewise.
19505 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
19506 Likewise.
19507 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
19508 Likewise.
19509 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
19510 Likewise.
19511 * nptl/pthread_rwlockattr_getkind_np.c
19512 (pthread_rwlockattr_getkind_np): Likewise.
19513 * nptl/pthread_rwlockattr_getpshared.c
19514 (pthread_rwlockattr_getpshared): Likewise.
19515 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
19516 Likewise.
19517 * nptl/pthread_rwlockattr_setkind_np.c
19518 (pthread_rwlockattr_setkind_np): Likewise.
19519 * nptl/pthread_rwlockattr_setpshared.c
19520 (pthread_rwlockattr_setpshared): Likewise.
19521 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
19522 Likewise.
19523 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
19524 Likewise.
19525 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
19526 Likewise.
19527 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
19528 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
19529 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
19530 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
19531 * nptl/sem_close.c (sem_close): Likewise.
19532 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
19533 * nptl/sem_init.c (__old_sem_init): Likewise.
19534 * nptl/sigaction.c (__sigaction): Likewise.
19535 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19536 * posix/_exit.c (_exit): Likewise.
19537 * posix/alarm.c (alarm): Likewise.
19538 * posix/confstr.c (confstr): Likewise.
19539 * posix/fpathconf.c (__fpathconf): Likewise.
19540 * posix/getgroups.c (__getgroups): Likewise.
19541 * posix/getpgid.c (__getpgid): Likewise.
19542 * posix/group_member.c (__group_member): Likewise.
19543 * posix/pathconf.c (__pathconf): Likewise.
19544 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
19545 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
19546 * posix/setgid.c (__setgid): Likewise.
19547 * posix/setpgid.c (__setpgid): Likewise.
19548 * posix/setuid.c (__setuid): Likewise.
19549 * posix/sleep.c (__sleep): Likewise.
19550 * posix/sysconf.c (__sysconf): Likewise.
19551 * posix/times.c (__times): Likewise.
19552 * posix/uname.c (__uname): Likewise.
19553 * posix/waitid.c (__waitid): Likewise.
19554 * pwd/getpw.c (__getpw): Likewise.
19555 * resolv/base64.c (b64_pton): Likewise.
19556 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
19557 * resolv/gethnamaddr.c (Dprintf): Likewise.
19558 (gethostbyname): Likewise.
19559 (gethostbyname2): Likewise.
19560 (gethostbyaddr): Likewise.
19561 (_sethtent): Likewise.
19562 (_gethtbyname): Likewise.
19563 (_gethtbyname2): Likewise.
19564 (_gethtbyaddr): Likewise.
19565 (map_v4v6_address): Likewise.
19566 (map_v4v6_hostent): Likewise.
19567 (addrsort): Likewise.
19568 (ht_sethostent): Likewise.
19569 (ht_gethostbyname): Likewise.
19570 (ht_gethostbyaddr): Likewise.
19571 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
19572 (inet_net_ntop_ipv4): Likewise.
19573 * resolv/inet_neta.c (inet_neta): Likewise.
19574 * resolv/inet_ntop.c (inet_ntop): Likewise.
19575 (inet_ntop4): Likewise.
19576 (inet_ntop6): Likewise.
19577 * resolv/inet_pton.c (__inet_pton): Likewise.
19578 (inet_pton4): Likewise.
19579 (inet_pton6): Likewise.
19580 * resolv/res_debug.c (loc_aton): Likewise.
19581 (loc_ntoa): Likewise.
19582 * resource/getpriority.c (__getpriority): Likewise.
19583 * resource/getrusage.c (__getrusage): Likewise.
19584 * resource/nice.c (nice): Likewise.
19585 * resource/setpriority.c (__setpriority): Likewise.
19586 * resource/setrlimit64.c (setrlimit64): Likewise.
19587 * resource/vlimit.c (vlimit): Likewise.
19588 * resource/vtimes.c (vtimes): Likewise.
19589 * rt/aio_error.c (aio_error): Likewise.
19590 * rt/aio_return.c (aio_return): Likewise.
19591 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
19592 * signal/kill.c (__kill): Likewise.
19593 * signal/killpg.c (killpg): Likewise.
19594 * signal/raise.c (raise): Likewise.
19595 * signal/sigaction.c (__sigaction): Likewise.
19596 * signal/sigaddset.c (sigaddset): Likewise.
19597 * signal/sigaltstack.c (sigaltstack): Likewise.
19598 * signal/sigandset.c (sigandset): Likewise.
19599 * signal/sigblock.c (__sigblock): Likewise.
19600 * signal/sigdelset.c (sigdelset): Likewise.
19601 * signal/sigempty.c (sigemptyset): Likewise.
19602 * signal/sigfillset.c (sigfillset): Likewise.
19603 * signal/sighold.c (sighold): Likewise.
19604 * signal/sigignore.c (sigignore): Likewise.
19605 * signal/sigintr.c (siginterrupt): Likewise.
19606 * signal/sigisempty.c (sigisemptyset): Likewise.
19607 * signal/sigismem.c (sigismember): Likewise.
19608 * signal/signal.c (signal): Likewise.
19609 * signal/sigorset.c (sigorset): Likewise.
19610 * signal/sigpause.c (__sigpause): Likewise.
19611 * signal/sigpending.c (sigpending): Likewise.
19612 * signal/sigprocmask.c (__sigprocmask): Likewise.
19613 * signal/sigrelse.c (sigrelse): Likewise.
19614 * signal/sigreturn.c (__sigreturn): Likewise.
19615 * signal/sigset.c (sigset): Likewise.
19616 * signal/sigsetmask.c (__sigsetmask): Likewise.
19617 * signal/sigstack.c (sigstack): Likewise.
19618 * signal/sigsuspend.c (__sigsuspend): Likewise.
19619 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
19620 * signal/sysv_signal.c (__sysv_signal): Likewise.
19621 * socket/accept.c (accept): Likewise.
19622 * socket/accept4.c (__libc_accept4): Likewise.
19623 * socket/bind.c (__bind): Likewise.
19624 * socket/connect.c (__connect): Likewise.
19625 * socket/getpeername.c (getpeername): Likewise.
19626 * socket/getsockname.c (__getsockname): Likewise.
19627 * socket/getsockopt.c (getsockopt): Likewise.
19628 * socket/listen.c (__listen): Likewise.
19629 * socket/recv.c (__recv): Likewise.
19630 * socket/recvmsg.c (__recvmsg): Likewise.
19631 * socket/send.c (__send): Likewise.
19632 * socket/sendmsg.c (__sendmsg): Likewise.
19633 * socket/shutdown.c (shutdown): Likewise.
19634 * socket/sockatmark.c (sockatmark): Likewise.
19635 * socket/socket.c (__socket): Likewise.
19636 * stdio-common/ctermid.c (ctermid): Likewise.
19637 * stdio-common/cuserid.c (cuserid): Likewise.
19638 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
19639 * stdio-common/remove.c (remove): Likewise.
19640 * stdio-common/rename.c (rename): Likewise.
19641 * stdio-common/renameat.c (renameat): Likewise.
19642 * stdio-common/tempname.c (__gen_tempname): Likewise.
19643 * stdio-common/xbug.c (InitBuffer): Likewise.
19644 (AppendToBuffer): Likewise.
19645 (ReadFile): Likewise.
19646 * stdlib/a64l.c (a64l): Likewise.
19647 * stdlib/drand48_r.c (drand48_r): Likewise.
19648 * stdlib/getcontext.c (getcontext): Likewise.
19649 * stdlib/getenv.c (getenv): Likewise.
19650 * stdlib/l64a.c (l64a): Likewise.
19651 * stdlib/llabs.c (llabs): Likewise.
19652 * stdlib/lldiv.c (lldiv): Likewise.
19653 * stdlib/lrand48_r.c (lrand48_r): Likewise.
19654 * stdlib/mrand48_r.c (mrand48_r): Likewise.
19655 * stdlib/putenv.c (putenv): Likewise.
19656 * stdlib/random.c (__srandom): Likewise.
19657 (__initstate): Likewise.
19658 (__setstate): Likewise.
19659 * stdlib/random_r.c (__srandom_r): Likewise.
19660 (__setstate_r): Likewise.
19661 (__random_r): Likewise.
19662 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
19663 * stdlib/setcontext.c (setcontext): Likewise.
19664 * stdlib/setenv.c (setenv): Likewise.
19665 (unsetenv): Likewise.
19666 * stdlib/srand48.c (srand48): Likewise.
19667 * stdlib/srand48_r.c (__srand48_r): Likewise.
19668 * stdlib/swapcontext.c (swapcontext): Likewise.
19669 * stdlib/system.c (__libc_system): Likewise.
19670 * stdlib/tst-strtod.c (expand): Likewise.
19671 * stdlib/tst-strtol.c (expand): Likewise.
19672 * stdlib/tst-strtoll.c (expand): Likewise.
19673 * streams/fattach.c (fattach): Likewise.
19674 * streams/fdetach.c (fdetach): Likewise.
19675 * streams/getmsg.c (getmsg): Likewise.
19676 * streams/isastream.c (isastream): Likewise.
19677 * string/ffs.c (__ffs): Likewise.
19678 * string/ffsll.c (ffsll): Likewise.
19679 * string/memcmp.c (memcmp_common_alignment): Likewise.
19680 (memcmp_not_common_alignment): Likewise.
19681 (MEMCMP): Likewise.
19682 * string/memcpy.c (memcpy): Likewise.
19683 * string/memmove.c (MEMMOVE): Likewise.
19684 * string/memset.c (memset): Likewise.
19685 * string/rawmemchr.c (RAWMEMCHR): Likewise.
19686 * string/strchrnul.c (STRCHRNUL): Likewise.
19687 * string/strerror.c (strerror): Likewise.
19688 * string/strndup.c (__strndup): Likewise.
19689 * string/strverscmp.c (__strverscmp): Likewise.
19690 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
19691 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
19692 (clnttcp_freeres): Likewise.
19693 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
19694 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
19695 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
19696 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
19697 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
19698 (xdr_callhdr): Likewise.
19699 * sunrpc/rpcinfo.c (udpping): Likewise.
19700 (tcpping): Likewise.
19701 (pstatus): Likewise.
19702 (pmapdump): Likewise.
19703 (brdcst): Likewise.
19704 (deletereg): Likewise.
19705 (getprognum): Likewise.
19706 (getvers): Likewise.
19707 (get_inet_address): Likewise.
19708 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
19709 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19710 (svcudp_stat): Likewise.
19711 (svcudp_recv): Likewise.
19712 (svcudp_reply): Likewise.
19713 (svcudp_getargs): Likewise.
19714 (svcudp_freeargs): Likewise.
19715 (svcudp_destroy): Likewise.
19716 * sunrpc/xdr.c (xdr_bytes): Likewise.
19717 (xdr_netobj): Likewise.
19718 (xdr_string): Likewise.
19719 (xdr_wrapstring): Likewise.
19720 * sunrpc/xdr_float.c (xdr_float): Likewise.
19721 (xdr_double): Likewise.
19722 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
19723 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
19724 * sysvipc/ftok.c (ftok): Likewise.
19725 * sysvipc/msgctl.c (msgctl): Likewise.
19726 * sysvipc/msgget.c (msgget): Likewise.
19727 * sysvipc/msgrcv.c (msgrcv): Likewise.
19728 * sysvipc/msgsnd.c (msgsnd): Likewise.
19729 * sysvipc/semget.c (semget): Likewise.
19730 * sysvipc/semop.c (semop): Likewise.
19731 * sysvipc/shmat.c (shmat): Likewise.
19732 * sysvipc/shmctl.c (shmctl): Likewise.
19733 * sysvipc/shmdt.c (shmdt): Likewise.
19734 * sysvipc/shmget.c (shmget): Likewise.
19735 * termios/cfmakeraw.c (cfmakeraw): Likewise.
19736 * termios/speed.c (cfgetospeed): Likewise.
19737 (cfgetispeed): Likewise.
19738 (cfsetospeed): Likewise.
19739 (cfsetispeed): Likewise.
19740 * termios/tcflow.c (tcflow): Likewise.
19741 * termios/tcflush.c (tcflush): Likewise.
19742 * termios/tcgetattr.c (__tcgetattr): Likewise.
19743 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
19744 * termios/tcgetsid.c (tcgetsid): Likewise.
19745 * termios/tcsendbrk.c (tcsendbreak): Likewise.
19746 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
19747 * time/adjtime.c (__adjtime): Likewise.
19748 * time/dysize.c (dysize): Likewise.
19749 * time/ftime.c (ftime): Likewise.
19750 * time/getitimer.c (__getitimer): Likewise.
19751 * time/gettimeofday.c (__gettimeofday): Likewise.
19752 * time/gmtime.c (__gmtime_r): Likewise.
19753 (gmtime): Likewise.
19754 * time/localtime.c (__localtime_r): Likewise.
19755 (localtime): Likewise.
19756 * time/offtime.c (__offtime): Likewise.
19757 * time/settimeofday.c (__settimeofday): Likewise.
19758 * time/stime.c (stime): Likewise.
19759 * time/strftime_l.c (tm_diff): Likewise.
19760 (iso_week_days): Likewise.
19761 * time/strptime.c (strptime): Likewise.
19762 * time/time.c (time): Likewise.
19763 * time/timespec_get.c (timespec_get): Likewise.
19764 * time/tzset.c (tzset_internal): Likewise.
19765 (compute_change): Likewise.
19766 (__tz_compute): Likewise.
19767 * wcsmbs/btowc.c (__btowc): Likewise.
19768 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
19769 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
19770 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
19771 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
19772 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
19773 * wcsmbs/wcscat.c (__wcscat): Likewise.
19774 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19775 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
19776 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
19777 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19778 * wcsmbs/wcsdup.c (wcsdup): Likewise.
19779 * wcsmbs/wcslen.c (__wcslen): Likewise.
19780 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
19781 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
19782 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
19783 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
19784 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19785 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
19786 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19787 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19788 * wcsmbs/wcstok.c (wcstok): Likewise.
19789 * wcsmbs/wctob.c (wctob): Likewise.
19790 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
19791 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19792 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
19793 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
19794 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
19795 * wcsmbs/wmemset.c (__wmemset): Likewise.
19796 * wctype/wcfuncs.c (__towlower): Likewise.
19797 (__towupper): Likewise.
19798
19799 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
19800 (lll_unlock_elision): Add adapt_count parameter.
19801
19802 2015-10-15 Joseph Myers <joseph@codesourcery.com>
19803
19804 * sysdeps/nptl/configure.ac: Do not give errors based on the
19805 results of top-level configure tests.
19806 * sysdeps/nptl/configure: Regenerated.
19807
19808 * configure.ac (libc_cv_Bgroup): Remove configure test.
19809 * configure: Regenerated.
19810 * config.make.in (have-Bgroup): Remove variable.
19811
19812 * configure.ac (sizeof_long_double): Remove configure test.
19813 * configure: Regenerated.
19814 * config.make.in (sizeof-long-double): Remove variable.
19815
19816 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
19817 * configure: Regenerated.
19818 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
19819 variable.
19820 (exceptions): Likewise.
19821 * sysdeps/arm/configure: Regenerated.
19822 * config.make.in (exceptions): Remove variable.
19823 * Makeconfig (uses-callbacks): Use -fexceptions instead of
19824 $(exceptions).
19825 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
19826 (CFLAGS-vdprintf_chk.c): Likewise.
19827 (CFLAGS-printf_chk.c): Likewise.
19828 (CFLAGS-fprintf_chk.c): Likewise.
19829 (CFLAGS-vprintf_chk.c): Likewise.
19830 (CFLAGS-vfprintf_chk.c): Likewise.
19831 (CFLAGS-gets_chk.c): Likewise.
19832 (CFLAGS-fgets_chk.c): Likewise.
19833 (CFLAGS-fgets_u_chk.c): Likewise.
19834 (CFLAGS-fread_chk.c): Likewise.
19835 (CFLAGS-fread_u_chk.c): Likewise.
19836 (CFLAGS-wprintf_chk.c): Likewise.
19837 (CFLAGS-fwprintf_chk.c): Likewise.
19838 (CFLAGS-vwprintf_chk.c): Likewise.
19839 (CFLAGS-vfwprintf_chk.c): Likewise.
19840 (CFLAGS-fgetws_chk.c): Likewise.
19841 (CFLAGS-fgetws_u_chk.c): Likewise.
19842 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19843 (CFLAGS-fputc.c): Likewise.
19844 (CFLAGS-fputwc.c): Likewise.
19845 (CFLAGS-freopen64.c): Likewise.
19846 (CFLAGS-freopen.c): Likewise.
19847 (CFLAGS-fseek.c): Likewise.
19848 (CFLAGS-fseeko64.c): Likewise.
19849 (CFLAGS-fseeko.c): Likewise.
19850 (CFLAGS-ftello64.c): Likewise.
19851 (CFLAGS-ftello.c): Likewise.
19852 (CFLAGS-fwide.c): Likewise.
19853 (CFLAGS-genops.c): Likewise.
19854 (CFLAGS-getc.c): Likewise.
19855 (CFLAGS-getchar.c): Likewise.
19856 (CFLAGS-getwc.c): Likewise.
19857 (CFLAGS-getwchar.c): Likewise.
19858 (CFLAGS-iofclose.c): Likewise.
19859 (CFLAGS-iofflush.c): Likewise.
19860 (CFLAGS-iofgetpos64.c): Likewise.
19861 (CFLAGS-iofgetpos.c): Likewise.
19862 (CFLAGS-iofgets.c): Likewise.
19863 (CFLAGS-iofgetws.c): Likewise.
19864 (CFLAGS-iofputs.c): Likewise.
19865 (CFLAGS-iofputws.c): Likewise.
19866 (CFLAGS-iofread.c): Likewise.
19867 (CFLAGS-iofsetpos64.c): Likewise.
19868 (CFLAGS-iofsetpos.c): Likewise.
19869 (CFLAGS-ioftell.c): Likewise.
19870 (CFLAGS-iofwrite.c): Likewise.
19871 (CFLAGS-iogetdelim.c): Likewise.
19872 (CFLAGS-iogetline.c): Likewise.
19873 (CFLAGS-iogets.c): Likewise.
19874 (CFLAGS-iogetwline.c): Likewise.
19875 (CFLAGS-ioputs.c): Likewise.
19876 (CFLAGS-ioseekoff.c): Likewise.
19877 (CFLAGS-ioseekpos.c): Likewise.
19878 (CFLAGS-iosetbuffer.c): Likewise.
19879 (CFLAGS-iosetvbuf.c): Likewise.
19880 (CFLAGS-ioungetc.c): Likewise.
19881 (CFLAGS-ioungetwc.c): Likewise.
19882 (CFLAGS-oldfileops.c): Likewise.
19883 (CFLAGS-oldiofclose.c): Likewise.
19884 (CFLAGS-oldiofgetpos64.c): Likewise.
19885 (CFLAGS-oldiofgetpos.c): Likewise.
19886 (CFLAGS-oldiofsetpos64.c): Likewise.
19887 (CFLAGS-oldiofsetpos.c): Likewise.
19888 (CFLAGS-peekc.c): Likewise.
19889 (CFLAGS-putc.c): Likewise.
19890 (CFLAGS-putchar.c): Likewise.
19891 (CFLAGS-putwc.c): Likewise.
19892 (CFLAGS-putwchar.c): Likewise.
19893 (CFLAGS-rewind.c): Likewise.
19894 (CFLAGS-wfileops.c): Likewise.
19895 (CFLAGS-wgenops.c): Likewise.
19896 (CFLAGS-oldiofopen.c): Likewise.
19897 (CFLAGS-iofopen.c): Likewise.
19898 (CFLAGS-iofopen64.c): Likewise.
19899 (CFLAGS-oldtmpfile.c): Likewise.
19900 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19901 (CFLAGS-fprintf.c): Likewise.
19902 (CFLAGS-printf.c): Likewise.
19903 (CFLAGS-vfwprintf.c): Likewise.
19904 (CFLAGS-vfscanf.c): Likewise.
19905 (CFLAGS-vfwscanf.c): Likewise.
19906 (CFLAGS-fscanf.c): Likewise.
19907 (CFLAGS-scanf.c): Likewise.
19908 (CFLAGS-isoc99_vfscanf.c): Likewise.
19909 (CFLAGS-isoc99_vscanf.c): Likewise.
19910 (CFLAGS-isoc99_fscanf.c): Likewise.
19911 (CFLAGS-isoc99_scanf.c): Likewise.
19912 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
19913 (CFLAGS-isoc99_fwscanf.c): Likewise.
19914 (CFLAGS-isoc99_vwscanf.c): Likewise.
19915 (CFLAGS-isoc99_vfwscanf.c): Likewise.
19916
19917 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
19918 after mkstemp64.
19919 * login/tst-utmp.c (do_prepare): Likewise.
19920 * rt/tst-aio.c (do_prepare): Likewise.
19921 * rt/tst-aio64.c (do_prepare): Likewise.
19922
19923 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19924
19925 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19926 (__lll_lock_elision): Remove adapt_count decrement...
19927 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19928 (__lll_trylock_elision): Likewise.
19929 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19930 (__lll_unlock_elision): ... to here. And utilize
19931 new adapt_count parameter.
19932 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19933 (__lll_unlock_elision): Update to include adapt_count
19934 parameter.
19935 (lll_unlock_elision): Pass pointer to adapt_count
19936 variable.
19937
19938 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19939
19940 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
19941 Add elision adapt_count parameter to list of arguments.
19942 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19943 (lll_unlock_elision): Update with new parameter list
19944 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
19945 (lll_unlock_elision): Likewise.
19946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
19947 (lll_unlock_elision): Likewise.
19948
19949 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19950
19951 [BZ #19122]
19952 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
19953 attribute_hidden.
19954
19955 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
19956 attribute_hidden.
19957 [IS_IN (rtld)] (__strdup): Likewise.
19958 [IS_IN (rtld)] (__strerror_r): Likewise.
19959 [IS_IN (rtld)] (__strsep_g): Likewise.
19960 [IS_IN (rtld)] (memchr): Likewise.
19961 [IS_IN (rtld)] (memcmp): Likewise.
19962 [IS_IN (rtld)] (memcpy): Likewise.
19963 [IS_IN (rtld)] (memmove): Likewise.
19964 [IS_IN (rtld)] (memset): Likewise.
19965 [IS_IN (rtld)] (rawmemchr): Likewise.
19966 [IS_IN (rtld)] (stpcpy): Likewise.
19967 [IS_IN (rtld)] (strchr): Likewise.
19968 [IS_IN (rtld)] (strcmp): Likewise.
19969 [IS_IN (rtld)] (strlen): Likewise.
19970 [IS_IN (rtld)] (strnlen): Likewise.
19971 [IS_IN (rtld)] (strsep): Likewise.
19972
19973 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
19974 attribute_hidden.
19975 [IS_IN (rtld)] (__strtoul_internal): Likewise.
19976
19977 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
19978 attribute_hidden.
19979 [IS_IN (rtld)] (__libc_sigaction): Likewise.
19980
19981 * include/setjmp.h (__longjmp): Add attribute_hidden.
19982 [IS_IN (rtld)] (__sigsetjmp): Likewise.
19983
19984 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
19985 Add attribute_hidden.
19986
19987 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
19988 [IS_IN (rtld)] (__open): Likewise.
19989 [IS_IN (rtld)] (__fcntl): Likewise.
19990
19991 * include/dirent.h (__opendirat): Add attribute_hidden.
19992 (__getdents): Likewise.
19993 (__getdents64): Likewise.
19994 (__alloc_dir): Likewise.
19995 [IS_IN (rtld)] (__closedir): Likewise.
19996 [IS_IN (rtld)] (__fdopendir): Likewise.
19997 [IS_IN (rtld)] (__readdir): Likewise.
19998 [IS_IN (rtld)] (__readdir64): Likewise.
19999 [IS_IN (rtld)] (__rewinddir): Likewise.
20000
20001 * include/dlfcn.h (_dl_catch_error): Moved to ...
20002 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20003 attribute_hidden.
20004
20005 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20006 (_itoa_word): Likewise.
20007
20008 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20009 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20010 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20011 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20012 (_dl_higher_prime_number): Likewise.
20013 (_dl_debug_printf_c): Likewise.
20014 (_dl_signal_cerror): Likewise.
20015 (_dl_receive_error): Likewise.
20016 (_dl_reloc_bad_type): Likewise.
20017 (_dl_resolve_conflicts): Likewise.
20018 (_dl_check_all_versions): Likewise.
20019 (_dl_check_map_versions): Likewise.
20020 (_dl_sort_fini): Likewise.
20021 (_dl_debug_initialize): Likewise.
20022 (_dl_init_paths): Likewise.
20023 (_dl_show_auxv): Likewise.
20024 (_dl_next_ld_env_entry): Likewise.
20025 (_dl_important_hwcaps): Likewise.
20026 (_dl_load_cache_lookup): Likewise.
20027 (_dl_update_slotinfo): Likewise.
20028 (_dl_show_scope): Likewise.
20029
20030 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20031 attribute_hidden.
20032 (_wordcopy_fwd_dest_aligned): Likewise.
20033 (_wordcopy_bwd_aligned): Likewise.
20034 (_wordcopy_bwd_dest_aligned): Likewise.
20035
20036 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20037 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20038 Likewise.
20039 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20040 Likewise.
20041 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20042
20043 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
20044
20045 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20046 GCC 5 requirement.
20047
20048 2015-10-15 Joseph Myers <joseph@codesourcery.com>
20049
20050 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20051 test.
20052 * sysdeps/i386/configure: Regenerated.
20053 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20054 code unconditional.
20055
20056 * configure.ac (libc_cv_asm_previous_directive): Remove configure
20057 test.
20058 (libc_cv_asm_popsection_directive): Likewise.
20059 * configure: Regenerated.
20060 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20061 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20062 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20063 (__make_section_unallocated): Make definition unconditional.
20064 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20065 Remove conditional definition.
20066 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20067 (__make_section_unallocated): Likewise.
20068
20069 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20070 * configure: Regenerated.
20071 * config.make.in (static-libgcc): Remove variable.
20072 * Makerules (build-shlib-helper): Use -static-libgcc instead of
20073 $(static-libgcc).
20074 (build-module-helper): Likewise.
20075
20076 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20077 * configure: Regenerated.
20078
20079 2015-10-15 Florian Weimer <fweimer@redhat.com>
20080
20081 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20082 (struct char_buffer): New type.
20083 (char_buffer_start, char_buffer_size, char_buffer_error)
20084 (char_buffer_rewind, char_buffer_add): New functions.
20085 (ADDW): Remove macro, replaced by the char_buffer_add function.
20086 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20087 of extend_alloca. Make control flow more explicit.
20088
20089 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
20090
20091 [BZ #19137]
20092 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20093 Add -fomit-frame-pointer.
20094 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20095
20096 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
20097
20098 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20099 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20100 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20101 only if !__GNUC_PREREQ (5,0).
20102 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20103 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20104 (INTERNAL_SYSCALL_NCS): Likewise.
20105 (LOADREGS_0): New macro for GCC 5.
20106 (ASMARGS_0): Likewise.
20107 (LOADREGS_1): Likewise.
20108 (ASMARGS_1): Likewise.
20109 (LOADREGS_2): Likewise.
20110 (ASMARGS_2): Likewise.
20111 (LOADREGS_3): Likewise.
20112 (ASMARGS_3): Likewise.
20113 (LOADREGS_4): Likewise.
20114 (ASMARGS_4): Likewise.
20115 (LOADREGS_5): Likewise.
20116 (ASMARGS_5): Likewise.
20117 (LOADREGS_6): Likewise.
20118 (ASMARGS_6): Likewise.
20119
20120 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
20121
20122 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20123 -fomit-frame-pointer.
20124 (CFLAGS-mmap64.c): Likewise.
20125 (CFLAGS-semtimedop.c): Likewise.
20126 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20127 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20128 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20129 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20130
20131 2015-10-15 Florian Weimer <fweimer@redhat.com>
20132
20133 [BZ #18928]
20134 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20135 _dl_pointer_guard member.
20136 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20137 initializer.
20138 (security_init): Always set up pointer guard.
20139 (process_envvars): Do not process LD_POINTER_GUARD.
20140
20141 2015-10-14 Joseph Myers <joseph@codesourcery.com>
20142
20143 [BZ #19134]
20144 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20145 (.LC2): Likewise.
20146 (.LC3): Likewise.
20147 (__lround): Do not add 0.5 to integer or out-of-range arguments.
20148
20149 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
20150
20151 [BZ #19129]
20152 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20153 r0 and r1.
20154
20155 2015-10-14 Namhyung Kim <namhyung@gmail.com>
20156
20157 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20158
20159 2015-10-14 Carlos O'Donell <carlos@redhat.com>
20160
20161 * include/stap-probe.h: Fix macro definition formatting.
20162
20163 2015-10-14 Florian Weimer <fweimer@redhat.com>
20164
20165 [BZ #19074]
20166 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20167 load and store num_ifs.
20168
20169 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
20170
20171 [BZ #18822]
20172 * sysdeps/unix/sysv/linux/sched_getaffinity.c
20173 (__sched_getaffinity_new): Add libc_hidden_proto and
20174 libc_hidden_def.
20175
20176 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
20177
20178 [BZ #19007]
20179 * scripts/localplt.awk: Also allow GOT references.
20180 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20181 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20182 with "+ REL R_386_GLOB_DAT".
20183 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20184 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20185
20186 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20189 INLINE_SYSCALL_ERROR_RETURN_VALUE.
20190 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20191 Likewise.
20192 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20193 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20194 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20195 INTERNAL_SYSCALLINTERNAL_SYSCALL and
20196 INLINE_SYSCALL_ERROR_RETURN_VALUE.
20197 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20198 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20199 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20200 Likewise.
20201 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20202
20203 2015-10-13 Joseph Myers <joseph@codesourcery.com>
20204
20205 [BZ #19125]
20206 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20207 <math_private.h> and <stdint.h>.
20208 (__llround): Avoid conversions to and from long long int, and
20209 subtractions, where those might raise spurious exceptions.
20210 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20211 <math_private.h> and <stdint.h>.
20212 (__llroundf): Avoid conversions to and from long long int, and
20213 subtractions, where those might raise spurious exceptions.
20214
20215 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
20216
20217 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20218 INLINE_SYSCALL_ERROR_RETURN_VALUE.
20219 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20220 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20221 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20222 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20223 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20224 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20225 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20226 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20227 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20228 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20229 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20230 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20231 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20232 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20233 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20234 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20235 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20236 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20237 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20238 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20239 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20240 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20241 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20242 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20243 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20244 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20245 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20246 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20247 (__xstat64_conv): Likewise.
20248 (__xstat32_conv): Likewise.
20249
20250 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
20251
20252 * sysdeps/unix/sysv/linux/sysdep.h: New file.
20253 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20254 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20255 <sysdeps/unix/sysv/linux/sysdep.h>.
20256 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20257 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20258 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20259 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20260 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20261 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20262 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20263 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20264 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20269 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20270 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20272 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20273 (sysdep-dl-routines): Add sysdep.
20274 [$(subdir) == nptl] (libpthread-routines): Likewise.
20275 [$(subdir) == rt] (librt-routines): Likewise.
20276 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20277 PIC when branching to SYSCALL_ERROR_LABEL.
20278 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20280 <sysdeps/unix/sysv/linux/sysdep.h>.
20281 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20282 (SYSCALL_ERROR_ERRNO): Removed.
20283 (SYSCALL_ERROR_HANDLER): Changed to empty.
20284 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20285 (__syscall_error): New prototype.
20286 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20287 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20288
20289 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
20290
20291 [BZ #19124]
20292 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20293 (_dl_runtime_resolve_avx512): Make it a hidden alias of
20294 _dl_runtime_resolve_avx.
20295 (_dl_runtime_profile_avx512): Make it a hidden alias of
20296 _dl_runtime_profile_avx.
20297
20298 2015-10-13 Joseph Myers <joseph@codesourcery.com>
20299
20300 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20301 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20302 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20303 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20304
20305 [BZ #16422]
20306 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20307 New configure test.
20308 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20309 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20310 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20311 <math_private.h> and <stdint.h>.
20312 (__llrint): Avoid conversions to long long int where those might
20313 raise spurious exceptions.
20314 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20315 <math_private.h> and <stdint.h>.
20316 (__llrintf): Avoid conversions to long long int where those might
20317 raise spurious exceptions.
20318
20319 2015-10-12 Andreas Schwab <schwab@suse.de>
20320
20321 [BZ #18969]
20322 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
20323 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20324 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
20325 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20326 $(gen-locales).
20327 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
20328 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20329 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20330 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20331 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20332 $(gen-locales).
20333 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
20334 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20335 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20336 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20337 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20338 ($(objpfx)tst-ftell-active-handler.out)
20339 ($(objpfx)tst-ftell-append.out)
20340 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20341 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20342 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20343 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20344 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
20345 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20346 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20347 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20348 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20349 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20350 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20351 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20352 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20353 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20354 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20355 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20356 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20357 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20358 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
20359 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20360 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20361 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20362 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20363 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
20364 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20365 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20366 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20367 $(gen-locales).
20368 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
20369 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20370 $(gen-locales).
20371 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
20372 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20373 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20374 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20375 $(gen-locales).
20376 * libio/tst_wprintf2.c (main): Use explicit locale.
20377 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
20378
20379 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20380
20381 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
20382 __msg_sig_post.
20383 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
20384
20385 2015-10-09 Joseph Myers <joseph@codesourcery.com>
20386
20387 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20388 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20389
20390 * sysdeps/arm/libm-test-ulps: Regenerated.
20391
20392 [BZ #15470]
20393 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
20394
20395 [BZ #16399]
20396 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
20397 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
20398 and <fix-fp-int-convert-overflow.h>.
20399 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20400 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20401 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
20402 and <fix-fp-int-convert-overflow.h>.
20403 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
20404 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20405 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
20406 <fix-fp-int-convert-overflow.h>.
20407 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20408 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20409 * sysdeps/ieee754/dbl-64/s_lround.c: Include
20410 <fix-fp-int-convert-overflow.h>.
20411 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
20412 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20413 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
20414 and <fix-fp-int-convert-overflow.h>.
20415 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20416 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20417 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
20418 <limits.h> and <fix-fp-int-convert-overflow.h>.
20419 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20420 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20421 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
20422 and <fix-fp-int-convert-overflow.h>.
20423 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20424 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20425 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
20426 and <fix-fp-int-convert-overflow.h>.
20427 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20428 FIX_DBL_LLONG_CONVERT_OVERFLOW.
20429 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
20430
20431 2015-10-09 Carlos O'Donell <carlos@redhat.com>
20432
20433 [BZ #18589]
20434 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
20435 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
20436 $(gen-locales).
20437
20438 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20439 Phil Blundell <pb@pbcl.net>
20440
20441 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
20442 * nptl/tst-cancel26.c: New file.
20443 * nptl/tst-cancel27.c: Likewise.
20444
20445 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
20446
20447 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
20448 __ILP32__ isn't defined.
20449 (lrint): Likewise.
20450 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
20451 (lrintf): Likewise.
20452 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
20453 (lrintl): Likewise.
20454 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
20455 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
20456 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
20457
20458 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20459
20460 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20461 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20462
20463 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
20464 file.
20465 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
20466 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20467
20468 2015-10-09 Joseph Myers <joseph@codesourcery.com>
20469
20470 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
20471 configure test.
20472 * sysdeps/i386/configure: Regenerated.
20473 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
20474 configure test.
20475 * sysdeps/x86_64/configure: Regenerated.
20476 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
20477 Make code unconditional.
20478
20479 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
20480 test.
20481 * sysdeps/i386/configure: Regenerated.
20482 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
20483 test.
20484 * sysdeps/x86_64/configure: Regenerated.
20485 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
20486 Make code unconditional.
20487 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20488 Likewise.
20489 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
20490 Likewise.
20491 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20492 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
20493 code unconditional.
20494 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20495 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
20496 code unconditional.
20497 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20498 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
20499 code unconditional.
20500 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
20501 code unconditional.
20502 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20503 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
20504 code unconditional.
20505 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20506 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
20507 code unconditional.
20508 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20509 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
20510 code unconditional.
20511 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20512 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
20513 code unconditional.
20514 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20515 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
20516
20517 [BZ #19095]
20518 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
20519 mantissa to long int before shifting left.
20520
20521 2015-10-08 Joseph Myers <joseph@codesourcery.com>
20522
20523 [BZ #19094]
20524 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
20525 <limits.h>.
20526 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20527 when result overflows but exception would not result from cast.
20528 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
20529 <limits.h>.
20530 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20531 when result overflows but exception would not result from cast.
20532 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
20533 <limits.h>.
20534 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20535 when result overflows but exception would not result from cast.
20536 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
20537 <limits.h>.
20538 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20539 when result overflows but exception would not result from cast.
20540 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
20541 <limits.h>.
20542 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20543 when result overflows but exception would not result from cast.
20544 * math/libm-test.inc (lrint_test_data): Add more tests.
20545 (llrint_test_data): Likewise.
20546
20547 2015-10-08 Roland McGrath <roland@hack.frob.com>
20548
20549 [BZ #18872]
20550 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
20551 Move out from under [$(run-built-tests) = yes] conditional.
20552 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
20553 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
20554
20555 2015-10-08 Carlos O'Donell <carlos@redhat.com>
20556
20557 [BZ #18589]
20558 * string/Makefile (tests): Add bug-strcoll2.
20559 (LOCALES): Add cs_CZ.UTF-8.
20560 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
20561
20562 [BZ #18589]
20563 * string/bug-strcoll2.c: New file.
20564 * locale/categories.def: Revert commit
20565 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
20566 * locale/langinfo.h: Likewise.
20567 * locale/localeinfo.h: Likewise.
20568 * locale/C-collate.c: Likewise.
20569 * locale/programs/ld-collate.c (collate_output): Likewise.
20570 * string/strcoll_l.c (STRDIFF): Likewise.
20571 (STRCOLL): Likewise.
20572 * wcsmbs/wcscoll_l.c: Likewise.
20573
20574 2015-10-08 Joseph Myers <joseph@codesourcery.com>
20575
20576 * math/libm-test.inc (lround_test_data): Do not expect the absence
20577 of "inexact" for some tests with non-integer arguments.
20578 (llround_test_data): Likewise.
20579
20580 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
20581 test.
20582 (libc_cv_cc_sse2avx): Likewise.
20583 * sysdeps/i386/configure: Regenerated.
20584 * sysdeps/i386/i686/multiarch/Makefile
20585 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
20586 [$(subdir) = math].
20587 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
20588 code unconditional.
20589 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20590 Likewise.
20591 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
20592 Likewise.
20593 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20594 Likewise.
20595 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
20596 test.
20597 (libc_cv_cc_sse2avx): Likewise.
20598 * sysdeps/x86_64/configure: Regenerated.
20599 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
20600 unconditional.
20601 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
20602 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
20603 unconditional.
20604 (_dl_runtime_profile)
20605 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
20606 conditional code.
20607 * sysdeps/x86_64/fpu/multiarch/Makefile
20608 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
20609 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20610 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20611 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20612 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20613 * sysdeps/x86_64/fpu/multiarch/e_log.c
20614 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20615 * sysdeps/x86_64/fpu/multiarch/s_atan.c
20616 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20617 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20618 Likewise.
20619 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20620 Likewise.
20621 * sysdeps/x86_64/fpu/multiarch/s_sin.c
20622 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20623 * sysdeps/x86_64/fpu/multiarch/s_tan.c
20624 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20625 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
20626 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
20627 (HAVE_SSE2AVX_SUPPORT): Likewise.
20628
20629 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
20630
20631 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
20632 instead of #pragma optimize.
20633
20634 2015-10-07 Carlos O'Donell <carlos@redhat.com>
20635
20636 [BZ #17195]
20637 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
20638 as is similarly done in systrim and _int_free already.
20639
20640 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20641
20642 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
20643
20644 2015-10-07 Joseph Myers <joseph@codesourcery.com>
20645
20646 [BZ #19088]
20647 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
20648 <limits.h>.
20649 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20650 overflows but exception would not result from cast.
20651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
20652 and <limits.h>.
20653 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20654 overflows but exception would not result from cast.
20655 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
20656 <limits.h>.
20657 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20658 overflows but exception would not result from cast.
20659 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
20660 <limits.h>.
20661 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20662 overflows but exception would not result from cast.
20663 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
20664 <limits.h>.
20665 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20666 overflows but exception would not result from cast.
20667 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
20668 <limits.h>.
20669 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20670 overflows but exception would not result from cast.
20671 * math/libm-test.inc (lround_test_data): Add more tests.
20672 (llround_test_data): Likewise.
20673
20674 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
20675
20676 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
20677 (CFLAGS-ialloc.c): Ditto.
20678 (CFLAGS-scheck.c): Ditto.
20679
20680 2015-10-07 Carlos O'Donell <carlos@redhat.com>
20681
20682 [BZ #19086]
20683 * manual/filesys.texi (Storage Allocation): Fix argument order for
20684 posix_fallocate64.
20685
20686 2015-10-07 Joseph Myers <joseph@codesourcery.com>
20687
20688 [BZ #19085]
20689 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
20690 exponent below 48 inside case for non-overflowing exponent.
20691 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
20692
20693 2015-10-07 Florian Weimer <fweimer@redhat.com>
20694
20695 * iconvdata/cp737.h (from_idx): Add const.
20696 * iconvdata/cp775.h (from_idx): Likewise.
20697
20698 2015-10-07 Joseph Myers <joseph@codesourcery.com>
20699
20700 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
20701 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
20702 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
20703
20704 [BZ #19079]
20705 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
20706 file, conditioned on [!_LP64].
20707 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
20708 [!_LP64] (__lround): Do not define as function or alias.
20709 [!_LP64] (lround): Likewise.
20710 [!_LP64] (__lroundl): Likewise.
20711 [!_LP64] (lroundl): Likewise.
20712 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
20713 macro.
20714 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20715 Likewise.
20716
20717 2015-10-06 Joseph Myers <joseph@codesourcery.com>
20718
20719 * math/libm-test.inc (lrint_test_data): Add more tests.
20720 (llrint_test_data): Likewise.
20721 (lround_test_data): Likewise.
20722 (llround_test_data): Likewise.
20723
20724 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
20725 (llrint_test_data): Add tests used for lrint.
20726
20727 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
20728 test.
20729 * sysdeps/i386/configure: Regenerated.
20730 * sysdeps/i386/i686/multiarch/Makefile
20731 [$(config-cflags-sse4) = yes]: Make code unconditional.
20732 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20733 Likewise.
20734 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
20735 Likewise.
20736 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
20737 test.
20738 * sysdeps/x86_64/configure: Regenerated.
20739 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
20740 Make code unconditional.
20741 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20742 Likewise.
20743 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
20744 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
20745
20746 * scripts/rpm2dynsym.sh: Remove file.
20747
20748 2015-10-06 Florian Weimer <fweimer@redhat.com>
20749
20750 * configure.ac (libc_cv_cxx_thread_local): Define.
20751 * configure: Regenerate.
20752 * config.make.in (have-cxx-thread_local): Define.
20753 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
20754 (LDLIBS-tst-thread_local1): Define.
20755 (tests): Add tst-thread_local1.
20756 [have-cxx-thread_local != yes] (tests-unsupported): Add
20757 tst-thread_local1.
20758 * nptl/tst-thread_local1.cc: New file.
20759
20760 2015-10-06 Joseph Myers <joseph@codesourcery.com>
20761
20762 [BZ #19078]
20763 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
20764 (u_thres): Likewise.
20765 (__expl): Determine whether to call __kernel_standard_l based on
20766 value of result, not argument.
20767
20768 * math/libm-test.inc (scalb_test_data): Add more expectations for
20769 the "inexact" exception.
20770
20771 [BZ #19077]
20772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
20773 0.0L for argument 1.0L.
20774
20775 [BZ #19076]
20776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
20777 constant 0.0L when computing infinite result.
20778
20779 2015-10-06 Florian Weimer <fweimer@redhat.com>
20780
20781 [BZ #10432]
20782 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
20783 malloc_usable_size.
20784
20785 2015-10-06 Florian Weimer <fweimer@redhat.com>
20786
20787 [BZ #19018]
20788 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20789 Mangle function pointer before storing it.
20790 (__call_tls_dtors): Demangle function pointer before calling it.
20791
20792 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20793
20794 [BZ #19012]
20795 * iconv/gconv_db.c (gen_steps): Check for additional errors.
20796 Clean up on failure.
20797
20798 2015-10-05 Joseph Myers <joseph@codesourcery.com>
20799
20800 [BZ #19071]
20801 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
20802 long int variable to store possibly incremented high part of
20803 mantissa.
20804 * math/libm-test.inc (lround_test_data): Add tests used for
20805 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
20806 for tests requiring 64-bit long. Do not condition tests on
20807 [TEST_FLOAT] unnecessarily.
20808 (llround_test_data): Add tests used for lround. Add another
20809 expectation for the "inexact" exception. Do not condition tests
20810 on [TEST_FLOAT] unnecessarily.
20811
20812 [BZ #887]
20813 [BZ #19049]
20814 [BZ #19050]
20815 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
20816 * sysdeps/ieee754/dbl-64/e_log10.c: Include
20817 <fix-int-fp-convert-zero.h>.
20818 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20819 * sysdeps/ieee754/dbl-64/e_log2.c: Include
20820 <fix-int-fp-convert-zero.h>.
20821 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20822 * sysdeps/ieee754/dbl-64/s_erf.c: Include
20823 <fix-int-fp-convert-zero.h>.
20824 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20825 * sysdeps/ieee754/dbl-64/s_logb.c: Include
20826 <fix-int-fp-convert-zero.h>.
20827 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20828 * sysdeps/ieee754/flt-32/e_log10f.c: Include
20829 <fix-int-fp-convert-zero.h>.
20830 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20831 * sysdeps/ieee754/flt-32/e_log2f.c: Include
20832 <fix-int-fp-convert-zero.h>.
20833 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20834 * sysdeps/ieee754/flt-32/s_erff.c: Include
20835 <fix-int-fp-convert-zero.h>.
20836 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20837 * sysdeps/ieee754/flt-32/s_logbf.c: Include
20838 <fix-int-fp-convert-zero.h>.
20839 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
20841 <fix-int-fp-convert-zero.h>.
20842 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
20844 <fix-int-fp-convert-zero.h>.
20845 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20846 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
20847 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
20848 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
20849 file.
20850 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
20851
20852 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
20853
20854 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20855
20856 2015-10-02 Joseph Myers <joseph@codesourcery.com>
20857
20858 [BZ #19059]
20859 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
20860 overflowing computation.
20861 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20862 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20863 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20864 Likewise.
20865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20866 Likewise.
20867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20868 Likewise.
20869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20870 Likewise.
20871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20872 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20873 Likewise.
20874 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20875 Likewise.
20876 * math/libm-test.inc (nexttoward_test_data): Add more tests.
20877
20878 * nss/rewrite_field.c (__nss_rewrite_field): Use
20879 internal_function.
20880 * nss/valid_field.c (__nss_valid_field): Likewise.
20881 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
20882
20883 2015-10-02 Florian Weimer <fweimer@redhat.com>
20884
20885 [BZ #18724]
20886 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
20887 (__nss_invalid_field_characters, __nss_valid_field)
20888 (__nss_valid_list_field, __nss_rewrite_field): Declare.
20889 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
20890 tst-field.c: New file.
20891 * nss/Makefile (routines): Add valid_field, rewrite_field.
20892 (tests-static): Define unconditionally.
20893 (tests): Include tests-static.
20894 [build-static-nss] (tests-static): Use append.
20895 [build-static-nss] (tests): Remove modification.
20896 * nss/getent.c (print_group): Call putgrent. Report error.
20897 (print_gshadow): Call putsgent. Report error.
20898 (print_passwd): Call putpwent. Report error.
20899 (print_shadow): Call putspent. Report error.
20900 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
20901 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20902 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
20903 name, password, directory, shell fields for valid syntax. Rewrite
20904 GECOS field to match syntax.
20905 * pwd/Makefile (tests): Add tst-putpwent.
20906 * pwd/tst-putpwent.c: New file.
20907 * grp/putgrent.c (putgrent): Convert to ISO function definition.
20908 Check grName, grpasswd, gr_mem fields for valid syntax.
20909 Change loop variable i to size_t.
20910 * grp/Makefile (tests): Add tst-putgrent.
20911 * grp/tst-putgrent.c: New file.
20912 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
20913 valid syntax.
20914 * shadow/Makefile (tests): Add tst-putspent.
20915 * shadow/tst-putspent.c: New file.
20916 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
20917 sg_mem fields for valid syntax.
20918 * gshadow/Makefile (tests): Add tst-putsgent.
20919 * gshadow/tst-putsgent.c: New file.
20920
20921 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20922
20923 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
20924 assembly instructions.
20925
20926 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20927
20928 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
20929 prefix from operands.
20930
20931 2015-10-01 Joseph Myers <joseph@codesourcery.com>
20932
20933 [BZ #16347]
20934 [BZ #19046]
20935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
20936 <libc-internal.h>.
20937 (MAXLGM): Do not use diagnostic control macros.
20938 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
20939 threshold for ldbl-128ibm.
20940 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
20941 instead of multiplying by log then subtracting.
20942 * math/auto-libm-test-in: Add more tests of lgamma.
20943 * math/auto-libm-test-out: Regenerated.
20944
20945 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
20946 (TYPE_HEX_DIG): Likewise.
20947 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
20948 precisions when printing floating-point numbers.
20949 (check_float_internal): Likewise.
20950
20951 2015-09-30 Joseph Myers <joseph@codesourcery.com>
20952
20953 [BZ #16620]
20954 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
20955 of log (10) rounded downward to 48 bits.
20956 (log10_low): Use corresponding low part of log (10).
20957
20958 [BZ #19032]
20959 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
20960 compute result as (x - x) / (x - x) not as 0 / 0.
20961 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20962 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
20963
20964 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20965 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
20966 and expm1.
20967 * math/auto-libm-test-out: Regenerated.
20968 * math/libm-test.inc (acos_test_data): Add more tests.
20969 (asin_test_data): Likewise.
20970 (asinh_test_data): Likewise.
20971 (atan_test_data): Likewise.
20972 (atanh_test_data): Likewise.
20973 (atan2_test_data): Likewise.
20974 (cbrt_test_data): Likewise.
20975 (ceil_test_data): Likewise.
20976 (copysign_test_data): Likewise.
20977 (cos_test_data): Likewise.
20978 (cosh_test_data): Likewise.
20979 (erf_test_data): Likewise.
20980 (erfc_test_data): Likewise.
20981 (exp_test_data): Likewise.
20982 (exp10_test_data): Likewise.
20983 (exp2_test_data): Likewise.
20984 (expm1_test_data): Likewise.
20985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20986
20987 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
20988
20989 [BZ #19006]
20990 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
20991 to ...
20992 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
20993 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
20994 to ...
20995 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
20996 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
20997 to ...
20998 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
20999 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21000 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21001 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21002 to ...
21003 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21004 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21005 Moved to ...
21006 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21007 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21008 Moved to ...
21009 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21010 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21011 to ...
21012 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21013 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21014 Moved to ...
21015 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21016 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21017 to ...
21018 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21019 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21020 Removed.
21021 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21022 Likewise.
21023 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21024 Likewise.
21025 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21026 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21027 Likewise.
21028 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21029 Likewise.
21030 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21031 Likewise.
21032 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21033 Likewise.
21034 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21035 Likewise.
21036 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21037 Likewise.
21038 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21039 Likewise.
21040 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21041 Likewise.
21042 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21043 Likewise.
21044 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21045 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21046 Likewise.
21047 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21048 Likewise.
21049 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21050 Likewise.
21051 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21052 Likewise.
21053 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21054 Likewise.
21055 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21056 Replace ../i486/pthread_cond_timedwait.S with
21057 ../pthread_cond_timedwait.S.
21058
21059 2015-09-30 Joseph Myers <joseph@codesourcery.com>
21060
21061 * math/libm-test.inc (acos_test_data): Refine expectations for
21062 errno and "inexact" exceptions.
21063 (acosh_test_data): Likewise.
21064 (asin_test_data): Likewise.
21065 (asinh_test_data): Likewise.
21066 (atan_test_data): Likewise.
21067 (atanh_test_data): Likewise.
21068 (atan2_test_data): Likewise.
21069 (cbrt_test_data): Likewise.
21070 (ceil_test_data): Likewise.
21071 (copysign_test_data): Likewise.
21072 (cosh_test_data): Likewise.
21073 (erf_test_data): Likewise.
21074 (erfc_test_data): Likewise.
21075 (exp_test_data): Likewise.
21076 (exp10_test_data): Likewise.
21077 (exp2_test_data): Likewise.
21078 (expm1_test_data): Likewise.
21079 (fabs_test_data): Likewise.
21080 (floor_test_data): Likewise.
21081 (fma_test_data): Likewise.
21082 (fmax_test_data): Likewise.
21083 (fmin_test_data): Likewise.
21084 (fmod_test_data): Likewise.
21085 (fpclassify_test_data): Likewise.
21086 (frexp_test_data): Likewise.
21087 (hypot_test_data): Likewise.
21088 (ilogb_test_data): Likewise.
21089 (isgreater_test_data): Likewise.
21090 (isgreaterequal_test_data): Likewise.
21091 (isinf_test_data): Likewise.
21092 (isless_test_data): Likewise.
21093 (islessequal_test_data): Likewise.
21094 (islessgreater_test_data): Likewise.
21095 (isnan_test_data): Likewise.
21096 (isnormal_test_data): Likewise.
21097 (issignaling_test_data): Likewise.
21098 (isunordered_test_data): Likewise.
21099 (j0_test_data): Likewise.
21100 (j1_test_data): Likewise.
21101 (jn_test_data): Likewise.
21102 (lgamma_test_data): Likewise.
21103 (lrint_test_data): Likewise.
21104 (llrint_test_data): Likewise.
21105 (log_test_data): Likewise.
21106 (log10_test_data): Likewise.
21107 (log1p_test_data): Likewise.
21108 (log2_test_data): Likewise.
21109 (logb_test_data): Likewise.
21110 (lround_test_data): Likewise.
21111 (llround_test_data): Likewise.
21112 (modf_test_data): Likewise.
21113 (nearbyint_test_data): Likewise.
21114 (nextafter_test_data): Likewise.
21115 (nexttoward_test_data): Likewise.
21116 (pow_test_data): Likewise.
21117 (remainder_test_data): Likewise.
21118 (remquo_test_data): Likewise.
21119 (rint_test_data): Likewise.
21120 (round_test_data): Likewise.
21121 (signbit_test_data): Likewise.
21122 (sinh_test_data): Likewise.
21123 (sqrt_test_data): Likewise.
21124 (tanh_test_data): Likewise.
21125 (tgamma_test_data): Likewise.
21126 (trunc_test_data): Likewise.
21127 (y0_test_data): Likewise.
21128 (y1_test_data): Likewise.
21129 (yn_test_data): Likewise.
21130 (significand_test_data): Likewise.
21131
21132 2015-09-29 Carlos O'Donell <carlos@redhat.com>
21133
21134 * manual/filesys.texi (Storage Allocation): Document that
21135 posix_fallocate emulation fails when fd is open with O_WRONLY.
21136
21137 2015-09-28 Joseph Myers <joseph@codesourcery.com>
21138
21139 [BZ #19016]
21140 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21141 allow more cases with X^2 + Y^2 >= 0.5.
21142 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
21143 normal element in sum instead of special-casing based on values of
21144 arguments.
21145 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21146 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
21147 -1 as normal element in sum instead of special-casing based on
21148 values of arguments.
21149 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21150 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21151 (__x2y2m1): Update comment.
21152 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
21153 as normal element in sum instead of special-casing based on values
21154 of arguments.
21155 * math/s_clog.c (__clog): Handle more cases using log1p without
21156 hypot.
21157 * math/s_clog10.c (__clog10): Likewise.
21158 * math/s_clog10f.c (__clog10f): Likewise.
21159 * math/s_clog10l.c (__clog10l): Likewise.
21160 * math/s_clogf.c (__clogf): Likewise.
21161 * math/s_clogl.c (__clogl): Likewise.
21162 * math/auto-libm-test-in: Add more tests of clog and clog10.
21163 * math/auto-libm-test-out: Regenerated.
21164 * sysdeps/i386/fpu/libm-test-ulps: Update.
21165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21166
21167 2015-09-28 Martin Sebor <msebor@redhat.com>
21168
21169 [BZ #18969]
21170 * string/Makefile (LOCALES): Define.
21171 (gen-locales.mk): Include.
21172 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21173 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21174 * string/tst-strxfrm2.c (do_test): Print the name of the locale
21175 on setlocale failure.
21176
21177 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
21178
21179 [BZ #18985]
21180 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21181 (__strftime_internal): Likewise.
21182 * time/tst-strftime.c (do_bz18985): New test.
21183 (do_test): Call it.
21184
21185 2015-09-26 Joseph Myers <joseph@codesourcery.com>
21186
21187 [BZ #18956]
21188 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21189 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
21190 extracting high part.
21191 * math/auto-libm-test-in: Add another test of pow.
21192 * math/auto-libm-test-out: Regenerated.
21193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21194
21195 2015-09-25 Joseph Myers <joseph@codesourcery.com>
21196
21197 [BZ #18825]
21198 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21199 New macro.
21200 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21201 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21202 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21203 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21204 DBL_NARROW_EVAL, reloading the PIC register as needed.
21205 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21206 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21207 FLT_NARROW_EVAL. Use separate return path for case when first
21208 argument is NaN.
21209 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
21210 DEFINE_LDBL_MIN.
21211 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21212 PIC register.
21213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21214 math_check_force_underflow_nonneg.
21215 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21216 underflow for subnormal result.
21217 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21219 math_check_force_underflow_nonneg.
21220 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21221 math_check_force_underflow.
21222 * sysdeps/x86_64/fpu/x86_64-math-asm.h
21223 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21224 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
21225 DEFINE_LDBL_MIN.
21226 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21227 * math/auto-libm-test-in: Add more tests of pow.
21228 * math/auto-libm-test-out: Regenerated.
21229
21230 2015-09-25 Florian Weimer <fweimer@redhat.com>
21231
21232 * nss/bug17079.c (init_test_items): Add diagnostic for
21233 inconsistent entries.
21234 (test_buffer_size): Skip inconsistent entries.
21235
21236 2015-09-25 Joseph Myers <joseph@codesourcery.com>
21237
21238 [BZ #13304]
21239 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21240 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21241 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21242
21243 [BZ #13304]
21244 * sysdeps/microblaze/s_fma.c: New file.
21245 * sysdeps/microblaze/s_fmaf.c: Likewise.
21246 * sysdeps/microblaze/sfp-machine.h: Likewise.
21247
21248 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
21249
21250 [BZ #17250]
21251 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21252 member.
21253
21254 2015-09-24 Joseph Myers <joseph@codesourcery.com>
21255
21256 [BZ #18803]
21257 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21258 (MO): New macro.
21259 (__ieee754_hypot) [PIC]: Load PIC register.
21260 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21261 DBL_NARROW_EVAL.
21262 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21263 math_check_force_underflow_nonneg in case where result might be
21264 tiny.
21265 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21266 Likewise.
21267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21268 Likewise.
21269 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21270 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21271 * math/auto-libm-test-in: Add more tests of hypot.
21272 * math/auto-libm-test-out: Regenerated.
21273
21274 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
21275
21276 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21277
21278 2015-09-24 Joseph Myers <joseph@codesourcery.com>
21279
21280 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21281 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21282 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21283 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21284 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21285 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21286 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21287
21288 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21289 LOAD_PIC_REG.
21290
21291 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21292 (FLT_CHECK_FORCE_UFLOW): Likewise.
21293 (DBL_CHECK_FORCE_UFLOW): Likewise.
21294 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21295 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21296 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21297 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21298 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21299 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21300 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21301 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21302 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21303 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21304 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21305 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21306 (flt_min): Replace with use of DEFINE_FLT_MIN.
21307 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21308 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21309 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21310 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21311 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21312 (flt_min): Replace with use of DEFINE_FLT_MIN.
21313 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21314 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21315 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21316 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21317 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21318 (flt_min): Replace with use of DEFINE_FLT_MIN.
21319 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21320 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21321 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21322 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21323 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21324 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21325 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21326 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21327 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21328 (__atan): Use DBL_CHECK_FORCE_UFLOW.
21329 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21330 (flt_min): Replace with use of DEFINE_FLT_MIN.
21331 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21332 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21333 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21334 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
21335 main computation.
21336 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21337 (flt_min): Replace with use of DEFINE_FLT_MIN.
21338 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
21339 main computation.
21340 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21341 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21342 (MO): New macro.
21343 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21344 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21345 (flt_min): Replace with use of DEFINE_FLT_MIN.
21346 (MO): New macro.
21347 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21348 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21349 (__log1pl): Use MO.
21350
21351 [BZ #19003]
21352 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21353 $(config-cflags-nofma).
21354
21355 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21356
21357 * sysdeps/aarch64/libm-test-ulps: Regenerated.
21358
21359 2015-09-23 Joseph Myers <joseph@codesourcery.com>
21360
21361 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21362 (TWO127): Likewise.
21363
21364 * sysdeps/generic/math_private.h (fabs_tg): New macro.
21365 (min_of_type): Likewise.
21366 (math_check_force_underflow): Likewise.
21367 (math_check_force_underflow_nonneg): Likewise.
21368 (math_check_force_underflow_complex): Likewise.
21369 * math/e_exp2l.c (__ieee754_exp2l): Use
21370 math_check_force_underflow_nonneg.
21371 * math/k_casinh.c (__kernel_casinh): Likewise.
21372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21374 * math/s_catan.c (__catan): Use
21375 math_check_force_underflow_complex.
21376 * math/s_catanf.c (__catanf): Likewise.
21377 * math/s_catanh.c (__catanh): Likewise.
21378 * math/s_catanhf.c (__catanhf): Likewise.
21379 * math/s_catanhl.c (__catanhl): Likewise.
21380 * math/s_catanl.c (__catanl): Likewise.
21381 * math/s_ccosh.c (__ccosh): Likewise.
21382 * math/s_ccoshf.c (__ccoshf): Likewise.
21383 * math/s_ccoshl.c (__ccoshl): Likewise.
21384 * math/s_cexp.c (__cexp): Likewise.
21385 * math/s_cexpf.c (__cexpf): Likewise.
21386 * math/s_cexpl.c (__cexpl): Likewise.
21387 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
21388 * math/s_clog10.c (__clog10): Likewise.
21389 * math/s_clog10f.c (__clog10f): Likewise.
21390 * math/s_clog10l.c (__clog10l): Likewise.
21391 * math/s_clogf.c (__clogf): Likewise.
21392 * math/s_clogl.c (__clogl): Likewise.
21393 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
21394 * math/s_csinf.c (__csinf): Likewise.
21395 * math/s_csinh.c (__csinh): Likewise.
21396 * math/s_csinhf.c (__csinhf): Likewise.
21397 * math/s_csinhl.c (__csinhl): Likewise.
21398 * math/s_csinl.c (__csinl): Likewise.
21399 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
21400 * math/s_csqrtf.c (__csqrtf): Likewise.
21401 * math/s_csqrtl.c (__csqrtl): Likewise.
21402 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
21403 * math/s_ctanf.c (__ctanf): Likewise.
21404 * math/s_ctanh.c (__ctanh): Likewise.
21405 * math/s_ctanhf.c (__ctanhf): Likewise.
21406 * math/s_ctanhl.c (__ctanhl): Likewise.
21407 * math/s_ctanl.c (__ctanl): Likewise.
21408 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
21409 instead of volatile.
21410 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
21411 math_check_force_underflow.
21412 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21413 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
21414 volatile when forcing underflow.
21415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21416 math_check_force_underflow_nonneg.
21417 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
21418 Likewise.
21419 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
21420 math_check_force_underflow.
21421 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21422 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21423 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21424 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
21425 math_check_force_underflow_nonneg.
21426 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
21427 math_check_force_underflow.
21428 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
21429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
21430 instead of volatile.
21431 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
21432 math_check_force_underflow.
21433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21434 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21435 math_check_force_underflow_nonneg.
21436 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
21437 math_check_force_underflow.
21438 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
21439 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21440 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
21441 math_check_force_underflow_nonneg.
21442 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21443 Likewise.
21444 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
21445 math_check_force_underflow.
21446 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21447 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21448 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
21449 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
21450 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
21451 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
21452 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
21453 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
21454 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21455 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
21456 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
21457 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
21458 Likewise.
21459 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
21460 math_check_force_underflow_nonneg.
21461 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21462 Likewise.
21463 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
21464 math_check_force_underflow.
21465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21466 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
21467 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21468 Likewise.
21469 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
21470 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
21471 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
21472 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
21473 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
21474 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
21475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
21476 instead of volatile.
21477 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
21478 math_check_force_underflow.
21479 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
21481 math_check_force_underflow.
21482 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
21483 Likewise.
21484 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21485 Use math_check_force_underflow_nonneg.
21486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
21487 math_check_force_underflow.
21488 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21489 Likewise.
21490 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21491 Likewise.
21492 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21493 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21495 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
21497 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21498 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
21499 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
21500 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
21501 math_check_force_underflow_nonneg.
21502 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
21503 math_check_force_underflow.
21504 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21505 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
21506 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
21507 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
21508 math_check_force_underflow_nonneg.
21509 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
21510 math_check_force_underflow.
21511 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
21512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
21513 instead of volatile.
21514 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
21515 math_check_force_underflow.
21516
21517 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
21518 * stdlib/strtod_l.c: Include <math_private.h>.
21519 (overflow_value): Use math_narrow_eval.
21520 (underflow_value): Likewise.
21521 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21522 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21523 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
21524 (__ieee754_gamma_r): Likewise.
21525 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
21526 Likewise.
21527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
21528 Likewise.
21529 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
21530 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
21531 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
21532 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
21533 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
21534 (__ieee754_gammaf_r): Likewise.
21535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21536 Likewise.
21537 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
21538 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
21539 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
21540 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
21541 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
21542 volatile.
21543 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
21544 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
21545 math_narrow_eval.
21546 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21547 Likewise.
21548 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21549 Likewise.
21550 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
21551 Likewise.
21552 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
21553 volatile.
21554 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
21555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
21556 math_narrow_eval.
21557 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21558 Likewise.
21559 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21560 Likewise.
21561
21562 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * nptl/Versions: Remove ignored symbols.
21565
21566 2015-09-22 Florian Weimer <fweimer@redhat.com>
21567
21568 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
21569 * nss/Makefile (tests): Update.
21570
21571 2015-09-22 Florian Weimer <fweimer@redhat.com>
21572
21573 * nss/bug18287.c: New file.
21574 * nss/Makefile (tests): Add bug18287.
21575
21576 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21577
21578 * mach/Versions (__mach_host_self_): Add symbol.
21579
21580 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21581
21582 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
21583 vm_page_size.
21584
21585 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21586
21587 Really fix sysdeps/i386/fpu/s_scalbn.S build
21588
21589 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
21590 (libc: GLIBC_2_22): Remove unused version set.
21591
21592 2015-09-18 Mike Frysinger <vapier@gentoo.org>
21593
21594 * config.make.in (enable-timezone-tools): New variable.
21595 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
21596 (enable_timezone_tools): Export to generated files.
21597 * configure: Regenerate.
21598 * INSTALL: Regenerate.
21599 * manual/install.texi (--disable-timezone-tools): Document new flag.
21600 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
21601 ifeq ($(enable-timezone-tools),yes) check.
21602
21603 2015-09-18 Joseph Myers <joseph@codesourcery.com>
21604
21605 * timezone/Makefile: Revert previous change.
21606
21607 [BZ #18980]
21608 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
21609 (DEFINE_DBL_MIN): Likewise.
21610 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21611 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21612 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21613 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21614 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
21615 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21616 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21617 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
21618 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
21619 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21620 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21621 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
21622 (flt_min): Replace with use of DEFINE_FLT_MIN.
21623 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21624 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
21625 (dbl_min): Replace with use of DEFINE_DBL_MIN.
21626 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21627 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
21628 (flt_min): Replace with use of DEFINE_FLT_MIN.
21629 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21630 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
21631 (flt_min): Replace with use of DEFINE_FLT_MIN.
21632 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21633 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
21634 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
21635 (__ieee754_hypot): Use DBL_NARROW_EVAL.
21636 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
21637 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
21638 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
21639 (__ieee754_pow): Use DBL_NARROW_EVAL.
21640 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
21641 (__ieee754_powf): Use FLT_NARROW_EVAL.
21642 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
21643 (__ieee754_expf_sse2): Convert double-precision result to single
21644 precision.
21645 * sysdeps/i386/fpu/libm-test-ulps: Update.
21646
21647 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21648
21649 * timezone/Makefile: Ignore unused variable errors due to private.h
21650 (time_t_min) and (time_t_max).
21651 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
21652 Likewise.
21653
21654 2015-09-18 Joseph Myers <joseph@codesourcery.com>
21655
21656 [BZ #18981]
21657 * sysdeps/i386/fpu/i386-math-asm.h: New file.
21658 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
21659 (__ieee754_scalb): Use DBL_NARROW_EVAL.
21660 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
21661 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
21662 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
21663 (__scalbn): Use DBL_NARROW_EVAL.
21664 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
21665 (__scalbnf): Use FLT_NARROW_EVAL.
21666
21667 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21668
21669 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
21670 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
21671 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
21672 * stdio-common/printf_fp.c (___printf_fp):
21673 Use signbit to get the sign. Use isinf macro to allow inlining.
21674 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
21675 * stdio-common/printf_size.c (__printf_size): Likewise.
21676
21677 2015-09-18 Mike Frysinger <vapier@gentoo.org>
21678
21679 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
21680
21681 2015-09-18 Joseph Myers <joseph@codesourcery.com>
21682
21683 [BZ #18980]
21684 * sysdeps/generic/math_private.h: Include <float.h>.
21685 (math_narrow_eval): New macro.
21686 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
21687 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
21688 math_narrow_eval on overflowing return value.
21689 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
21690 Likewise.
21691 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21692 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
21693 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
21694 Likewise.
21695 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21696
21697 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21698
21699 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
21700 * math/Makefile: Remove isinf_ns.c.
21701 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
21702 * math/multc3.c (__multc3): Likewise.
21703 * math/s_casin.c (__casin): Likewise.
21704 * math/s_casinf.c (__casinf): Likewise.
21705 * math/s_casinl.c (__casinl): Likewise.
21706 * math/s_cproj.c (__cproj): Likewise.
21707 * math/s_cprojf.c (__cprojf): Likewise.
21708 * math/s_cprojl.c (__cprofl): Likewise.
21709 * math/s_ctan.c (__ctan): Likewise.
21710 * math/s_ctanf.c (__ctanf): Likewise.
21711 * math/s_ctanh.c (__ctanh): Likewise.
21712 * math/s_ctanhf.c (__ctanhf): Likewise.
21713 * math/s_ctanhl.c (__ctanhl): Likewise.
21714 * math/s_ctanl.c (__ctanl): Likewise.
21715 * math/w_fmod.c (__fmod): Likewise.
21716 * math/w_fmodf.c (__fmodf): Likewise.
21717 * math/w_fmodl.c (_fmodl): Likewise.
21718 * math/w_remainder.c (__remainder): Likewise.
21719 * math/w_remainderf.c (__remainderf): Likewise.
21720 * math/w_remainderl.c (__remainderl): Likewise.
21721 * math/w_scalb.c (__scalb): Likewise.
21722 * math/w_scalbf.c (__scalbf): Likewise.
21723 * math/w_scalbl.c (__scalbl): Likewise.
21724 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
21725 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
21726 with isinf.
21727 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
21728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
21729 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
21730 __isinf_nsf with isinf.
21731 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
21732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
21733 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
21734 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
21735 with isinf.
21736 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
21737 __isinf_nsl with isinf.
21738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
21739 with isinf.
21740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
21741 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
21742 __isinf_nsl with isinf.
21743 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
21744 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
21745 with isinf.
21746
21747 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21748
21749 * resolv/base64.c (rcsid): Remove unused static.
21750 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
21751 static. (tqpi1): Likewise.
21752 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
21753 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
21754 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
21755 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
21756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
21757 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
21758 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
21759 * timezone/private.h (time_t_min): Likewise. (time_t_max):
21760 Likewise.
21761
21762 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
21765 <nptl/pthreadP.h>.
21766 (_longjmp_unwind): Use __libc_ptf_call.
21767 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
21768
21769 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
21770
21771 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
21772 * sysdeps/arm/__longjmp.S: Likewise.
21773
21774 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21775
21776 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
21777 Use __builtin_signbit.
21778 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
21779 Use __builtin_signbitf.
21780 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
21781 Use __builtin_signbitl.
21782 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21783 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
21784
21785 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21786
21787 [BZ #15367]
21788 [BZ #17441]
21789
21790 * math/Makefile: Build test-snan.c with -fsignaling-nans.
21791 * math/math.h (fpclassify): Use __builtin_fpclassify when
21792 available. (signbit): Use __builtin_signbit(f/l).
21793 (isfinite): Use__builtin_isfinite. (isnormal): Use
21794 __builtin_isnormal. (isnan): Use __builtin_isnan.
21795 (isinf): Use __builtin_isinf_sign.
21796
21797 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
21798
21799 * benchtests/Makefile: Add bench-math-inlines, link with libm.
21800 * benchtests/bench-math-inlines.c: New benchmark.
21801 * benchtests/bench-util.h: New file.
21802 * benchtests/bench-util.c: New file.
21803 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
21804
21805 2015-09-18 Carlos O'Donell <carlos@redhat.com>
21806
21807 * elf/tst-dlmopen1.c: Define TEST_SO.
21808 (do_test): Use TEST_SO.
21809
21810 * elf/dl-load.c: Include libc-internal.h.
21811 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
21812
21813 2015-09-18 Vincent Bernat <vincent@bernat.im>
21814
21815 [BZ #17887]
21816 * time/strptime_l.c (__strptime_internal): Make %z accept
21817 [+-]HH:MM time zones.
21818
21819 2015-09-18 Vincent Bernat <vincent@bernat.im>
21820
21821 [BZ #17886]
21822 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
21823 valid time zone.
21824
21825 2015-09-17 Mike Frysinger <vapier@gentoo.org>
21826
21827 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
21828 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
21829 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21830 (__ASSUME_FDATASYNC): Delete.
21831
21832 2015-09-17 Joseph Myers <joseph@codesourcery.com>
21833
21834 * conform/linknamespace.pl: Require weak undefined symbols to be
21835 in the standard namespace.
21836 (%strong_syms): Rename to %seen_syms.
21837 (%strong_seen): Rename to %seen_where.
21838
21839 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 [BZ #18970]
21842 * misc/error.c (error): Replace pthread_setcancelstate with
21843 __pthread_setcancelstate.
21844 (error_at_line): Likewise.
21845 * posix/wordexp.c (parse_comm): Likewise.
21846 * stdlib/fmtmsg.c (fmtmsg): Likewise.
21847 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
21848 (__pthread_setcancelstate): This.
21849 (pthread_setcancelstate): Add an alias.
21850 * nptl/nptl-init.c (pthread_functions): Replace
21851 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
21852 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
21853 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
21854 hidden_proto.
21855 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
21856 it with hidden_def.
21857 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
21858 (pthread_setcancelstate): Renamed to ...
21859 (__pthread_setcancelstate): This.
21860 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
21861 __libc_ptf_call with __pthread_setcancelstate.
21862
21863 2015-09-17 Joseph Myers <joseph@codesourcery.com>
21864 Andreas Schwab <schwab@suse.de>
21865
21866 [BZ #17118]
21867 * math/s_ctan.c (__ctan): Determine sign of zero real part of
21868 result when imaginary part of argument is infinite using sine and
21869 cosine.
21870 * math/s_ctanf.c (__ctanf): Likewise.
21871 * math/s_ctanl.c (__ctanl): Likewise.
21872 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
21873 of result when real part of argument is infinite using sine and
21874 cosine.
21875 * math/s_ctanhf.c (__ctanhf): Likewise.
21876 * math/s_ctanhl.c (__ctanhl): Likewise.
21877 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
21878 (ctanh_test_data): Add more tests of ctanh.
21879
21880 2015-09-17 Joseph Myers <joseph@codesourcery.com>
21881
21882 [BZ #15384]
21883 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
21884 bit-mask as in subtraction.
21885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
21886 Likewise.
21887 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
21888 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
21889 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
21890
21891 [BZ #18951]
21892 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
21893 underflow exception for small results.
21894 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21895 Likewise.
21896 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21897 Likewise.
21898 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21899 Likewise.
21900 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21901 Likewise.
21902 * math/auto-libm-test-in: Add more tests of tgamma.
21903 * math/auto-libm-test-out: Regenerated.
21904
21905 2015-09-17 Andreas Schwab <schwab@suse.de>
21906
21907 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
21908
21909 2015-09-16 Joseph Myers <joseph@codesourcery.com>
21910
21911 [BZ #18977]
21912 * math/bits/mathcalls.h
21913 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
21914 not declare.
21915 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
21916 Likewise.
21917 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
21918 Likewise.
21919 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
21920 Likewise.
21921 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
21922 Likewise.
21923 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
21924 Likewise.
21925 * conform/data/math.h-data
21926 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
21927 function.
21928 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21929 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
21930 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
21931 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
21932 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
21933 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
21934 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
21935 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
21936 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
21937 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
21938 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
21939
21940 [BZ #6803]
21941 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
21942 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
21943 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
21944 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
21945 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
21946 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
21947 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
21948 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
21949 [NO_LONG_DOUBLE] (scalbnl): Likewise.
21950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
21951 Likewise.
21952 [NO_LONG_DOUBLE] (scalbnl): Likewise.
21953 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
21954 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
21956 long_double_symbol calls.
21957 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
21958 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
21959 strong alias of __ldexpl.
21960 (scalbnl): Define using long_double_symbol.
21961 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
21962 Remove alias.
21963 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
21964 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
21965 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
21966 (scalbln_test_data): Add more errno expectations.
21967
21968 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
21969
21970 Cache the host port like we cache the task port. This way we do not
21971 need to call the kernel just to get the port. Furthermore, we no
21972 longer increase the reference count on every invocation of
21973 `mach_host_self'.
21974
21975 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
21976 Protect declarations against the macro expansion.
21977 * mach/mach_init.c (__mach_host_self_): New variable.
21978 (mach_init): Initialize `__mach_host_self_'.
21979 * mach/mach_init.h (__mach_host_self_): New declaration.
21980 (__mach_host_self, mach_host_self): New macros.
21981 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
21982 Release reference.
21983
21984 2015-09-16 Joseph Myers <joseph@codesourcery.com>
21985
21986 [BZ #4404]
21987 * po/de.po: Update from Translation Project.
21988
21989 [BZ #16415]
21990 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
21991 (__expm1l): Remove code to handle positive infinity and overflow.
21992 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
21993 variable.
21994 (__expm1l): Remove code to handle positive infinity and overflow.
21995
21996 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
21997 Paul Pluzhnikov <ppluzhnikov@google.com>
21998
21999 [BZ #18872]
22000 * stdio-common/Makefile (tst-printf-bz18872): New test.
22001 (tst-printf-bz18872-mem.out): Likewise.
22002 * stdio-common/tst-printf-bz18872.sh: Generate new test.
22003 * stdio-common/vfprintf.c: Fix memory leaks.
22004
22005 2015-09-16 Andreas Schwab <schwab@suse.de>
22006
22007 [BZ #17244]
22008 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22009 Remove extra va_start/va_end calls.
22010
22011 [BZ #17243]
22012 * posix/execl.c (execl): Add missing va_end.
22013 * posix/execle.c (execle): Likewise.
22014 * posix/execlp.c (execlp): Likewise.
22015
22016 2015-09-15 Roland McGrath <roland@hack.frob.com>
22017
22018 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22019 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22020
22021 2015-09-15 Joseph Myers <joseph@codesourcery.com>
22022
22023 [BZ #18967]
22024 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
22025 undefine around includes of <bits/mathcalls.h>.
22026 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22027 not declare function.
22028 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22029 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22030 (scalb): Likewise.
22031 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22032 not define macro.
22033 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22034 variable.
22035 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22036 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22037 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22038
22039 [BZ #18857]
22040 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22041 return non-finite argument without doing ordered comparisons on
22042 it.
22043
22044 [BZ #16296]
22045 * math/fenv.h (fegetround): Use __attribute_pure__.
22046 * include/fenv.h (__fegetround): Likewise.
22047
22048 [BZ #18595]
22049 * math/s_ctan.c (__ctan): Force underflow exception for results
22050 whose real or imaginary part has small absolute value.
22051 * math/s_ctanf.c (__ctanf): Likewise.
22052 * math/s_ctanh.c (__ctanh): Likewise.
22053 * math/s_ctanhf.c (__ctanhf): Likewise.
22054 * math/s_ctanhl.c (__ctanhl): Likewise.
22055 * math/s_ctanl.c (__ctanl): Likewise.
22056 * math/auto-libm-test-in: Do not allow missing underflow for ctan
22057 and ctanh. Add more tests of ctan and ctanh.
22058
22059 [BZ #15918]
22060 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22061 handling of cases where one argument is an infinity.
22062
22063 [BZ #18875]
22064 [BZ #18966]
22065 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22066 (MO): New macro.
22067 (__ieee754_exp10): For small results, force underflow exception
22068 and remove excess range and precision from return value.
22069 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22070 (MO): New macro.
22071 (__ieee754_exp10f): For small results, force underflow exception
22072 and remove excess range and precision from return value.
22073 * math/auto-libm-test-in: Add more tests of exp10.
22074 * math/auto-libm-test-out: Regenerated.
22075
22076 2015-09-14 Joseph Myers <joseph@codesourcery.com>
22077
22078 [BZ #18875]
22079 [BZ #18961]
22080 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22081 (MO): New macro.
22082 (__ieee754_exp): For small results, force underflow exception and
22083 remove excess range and precision from return value.
22084 (__exp_finite): Likewise.
22085 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22086 (MO): New macro.
22087 (__ieee754_expf): For small results, force underflow exception and
22088 remove excess range and precision from return value.
22089 (__expf_finite): Likewise.
22090 * math/auto-libm-test-in: Add more tests of exp.
22091 * math/auto-libm-test-out: Regenerated.
22092
22093 [BZ #16521]
22094 [BZ #18875]
22095 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22096 small results.
22097 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22098 (MO): New macro.
22099 (__ieee754_exp2): For small results, force underflow exception and
22100 remove excess range and precision from return value.
22101 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22102 (MO): New macro.
22103 (__ieee754_exp2f): For small results, force underflow exception
22104 and remove excess range and precision from return value.
22105 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22106 (MO): New macro.
22107 (__ieee754_exp2l): Force underflow exception for small results.
22108 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22109 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22110 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22111 (MO): New macro.
22112 (__ieee754_exp2l): Force underflow exception for small results.
22113 * math/auto-libm-test-in: Add more tests or exp2.
22114 * math/auto-libm-test-out: Regenerated.
22115
22116 2015-09-14 Carlos O'Donell <carlos@redhat.com>
22117
22118 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22119
22120 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22121 /dev/null.
22122
22123 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
22124
22125 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22126 io fs process)): Drop spurious backslash.
22127
22128 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
22129
22130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22131 Use sysinfo system call instead of parsing /proc/meminfo.
22132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22133 Likewise.
22134
22135 2015-09-11 Mike Frysinger <vapier@gentoo.org>
22136
22137 [BZ #16985]
22138 * programs/localedef.c (main): Display argv[remaining] when
22139 output_path is NULL.
22140
22141 2015-09-11 Joseph Myers <joseph@codesourcery.com>
22142
22143 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22144 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22145 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22146 tanh.
22147 * math/auto-libm-test-out: Regenerated.
22148 * sysdeps/i386/fpu/libm-test-ulps: Update.
22149 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22150 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152
22153 2015-09-11 Roland McGrath <roland@hack.frob.com>
22154
22155 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22156 Use 'override' keyword to freeze the value here, preventing
22157 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22158
22159 2015-09-11 Joseph Myers <joseph@codesourcery.com>
22160
22161 [BZ #14912]
22162 * sysdeps/aarch64/bits/atomic.h: Move to ...
22163 * sysdeps/aarch64/atomic-machine.h: ...here.
22164 (_AARCH64_BITS_ATOMIC_H): Rename macro to
22165 _AARCH64_ATOMIC_MACHINE_H.
22166 * sysdeps/alpha/bits/atomic.h: Move to ...
22167 * sysdeps/alpha/atomic-machine.h: ...here.
22168 * sysdeps/arm/bits/atomic.h: Move to ...
22169 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
22170 * bits/atomic.h: Move to ...
22171 * sysdeps/generic/atomic-machine.h: ...here.
22172 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22173 * sysdeps/i386/bits/atomic.h: Move to ...
22174 * sysdeps/i386/atomic-machine.h: ...here.
22175 * sysdeps/ia64/bits/atomic.h: Move to ...
22176 * sysdeps/ia64/atomic-machine.h: ...here.
22177 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22178 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22179 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22180 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22181 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22182 * sysdeps/microblaze/bits/atomic.h: Move to ...
22183 * sysdeps/microblaze/atomic-machine.h: ...here.
22184 * sysdeps/mips/bits/atomic.h: Move to ...
22185 * sysdeps/mips/atomic-machine.h: ...here.
22186 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22187 * sysdeps/powerpc/bits/atomic.h: Move to ...
22188 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
22189 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22190 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
22191 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
22192 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22193 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
22194 <atomic-machine.h> instead of <bits/atomic.h>.
22195 * sysdeps/s390/bits/atomic.h: Move to ...
22196 * sysdeps/s390/atomic-machine.h: ...here.
22197 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22198 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22199 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22200 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22201 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22202 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22203 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22204 * sysdeps/tile/bits/atomic.h: Move to ...
22205 * sysdeps/tile/atomic-machine.h: ...here.
22206 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22207 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
22208 <sysdeps/tile/atomic-machine.h> instead of
22209 <sysdeps/tile/bits/atomic.h>.
22210 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22211 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22212 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
22213 <sysdeps/tile/atomic-machine.h> instead of
22214 <sysdeps/tile/bits/atomic.h>.
22215 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22216 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22217 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
22218 <sysdeps/arm/atomic-machine.h> instead of
22219 <sysdeps/arm/bits/atomic.h>.
22220 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22221 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22222 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22223 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22224 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22225 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22226 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22227 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22228 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22229 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22230 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22231 * sysdeps/x86_64/bits/atomic.h: Move to ...
22232 * sysdeps/x86_64/atomic-machine.h: ...here.
22233 * include/atomic.h: Include <atomic-machine.h> instead of
22234 <bits/atomic.h>.
22235
22236 * sysdeps/mips/mips32/libm-test-ulps: Update.
22237 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22238
22239 [BZ #18952]
22240 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22241 not convert non-integer negative arguments to int to determine the
22242 value of signgam.
22243 * math/auto-libm-test-in: Add more tests of lgamma.
22244 * math/auto-libm-test-out: Regenerated.
22245
22246 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22247 cosh, csqrt, erfc, expm1 and lgamma.
22248 * math/auto-libm-test-out: Regenerated.
22249 * sysdeps/i386/fpu/libm-test-ulps: Update.
22250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22251
22252 2015-09-10 Joseph Myers <joseph@codesourcery.com>
22253
22254 [BZ #2542]
22255 [BZ #2543]
22256 [BZ #2558]
22257 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22258 __lgamma_neg for arguments from -28.0 to -2.0.
22259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22260 __lgamma_negf for arguments from -15.0 to -2.0.
22261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22262 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22263 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22264 Call __lgamma_negl for arguments from -33.0 to -2.0.
22265 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22266 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22267 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22268 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22276 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22277 (__lgamma_neg): Likewise.
22278 (__lgamma_negl): Likewise.
22279 (__lgamma_product): Likewise.
22280 (__lgamma_productl): Likewise.
22281 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22282 * math/auto-libm-test-in: Add more tests of lgamma.
22283 * math/auto-libm-test-out: Regenerated.
22284 * sysdeps/i386/fpu/libm-test-ulps: Update.
22285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22286
22287 2015-09-09 Justin Maggard <jmaggard@netgear.com>
22288
22289 [BZ #18675]
22290 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22291
22292 2015-09-08 Joseph Myers <joseph@codesourcery.com>
22293
22294 [BZ #14912]
22295 * bits/libc-lock.h: Move to ...
22296 * sysdeps/generic/libc-lock.h: ...here.
22297 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22298 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22299 * sysdeps/mach/hurd/libc-lock.h: ...here.
22300 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22301 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22302 * sysdeps/mach/bits/libc-lock.h: Move to ...
22303 * sysdeps/mach/libc-lock.h: ...here.
22304 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22305 * sysdeps/nptl/bits/libc-lock.h: Move to ...
22306 * sysdeps/nptl/libc-lock.h: ...here.
22307 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22308 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22309 * sysdeps/nptl/libc-lockP.h: ...here.
22310 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22311 * crypt/crypt_util.c: Include <libc-lock.h> instead of
22312 <bits/libc-lock.h>.
22313 * dirent/scandir-tail.c: Likewise.
22314 * dlfcn/dlerror.c: Likewise.
22315 * elf/dl-close.c: Likewise.
22316 * elf/dl-iteratephdr.c: Likewise.
22317 * elf/dl-lookup.c: Likewise.
22318 * elf/dl-open.c: Likewise.
22319 * elf/dl-support.c: Likewise.
22320 * elf/dl-writev.h: Likewise.
22321 * elf/rtld.c: Likewise.
22322 * grp/fgetgrent.c: Likewise.
22323 * gshadow/fgetsgent.c: Likewise.
22324 * gshadow/sgetsgent.c: Likewise.
22325 * iconv/gconv_conf.c: Likewise.
22326 * iconv/gconv_db.c: Likewise.
22327 * iconv/gconv_dl.c: Likewise.
22328 * iconv/gconv_int.h: Likewise.
22329 * iconv/gconv_trans.c: Likewise.
22330 * include/link.h: Likewise.
22331 * inet/getnameinfo.c: Likewise.
22332 * inet/getnetgrent.c: Likewise.
22333 * inet/getnetgrent_r.c: Likewise.
22334 * intl/bindtextdom.c: Likewise.
22335 * intl/dcigettext.c: Likewise.
22336 * intl/finddomain.c: Likewise.
22337 * intl/gettextP.h: Likewise.
22338 * intl/loadmsgcat.c: Likewise.
22339 * intl/localealias.c: Likewise.
22340 * intl/textdomain.c: Likewise.
22341 * libidn/idn-stub.c: Likewise.
22342 * libio/libioP.h: Likewise.
22343 * locale/duplocale.c: Likewise.
22344 * locale/freelocale.c: Likewise.
22345 * locale/newlocale.c: Likewise.
22346 * locale/setlocale.c: Likewise.
22347 * login/getutent_r.c: Likewise.
22348 * login/getutid_r.c: Likewise.
22349 * login/getutline_r.c: Likewise.
22350 * login/utmp-private.h: Likewise.
22351 * login/utmpname.c: Likewise.
22352 * malloc/mtrace.c: Likewise.
22353 * misc/efgcvt.c: Likewise.
22354 * misc/error.c: Likewise.
22355 * misc/fstab.c: Likewise.
22356 * misc/getpass.c: Likewise.
22357 * misc/mntent.c: Likewise.
22358 * misc/syslog.c: Likewise.
22359 * nis/nis_call.c: Likewise.
22360 * nis/nis_callback.c: Likewise.
22361 * nis/nss-default.c: Likewise.
22362 * nis/nss_compat/compat-grp.c: Likewise.
22363 * nis/nss_compat/compat-initgroups.c: Likewise.
22364 * nis/nss_compat/compat-pwd.c: Likewise.
22365 * nis/nss_compat/compat-spwd.c: Likewise.
22366 * nis/nss_nis/nis-alias.c: Likewise.
22367 * nis/nss_nis/nis-ethers.c: Likewise.
22368 * nis/nss_nis/nis-grp.c: Likewise.
22369 * nis/nss_nis/nis-hosts.c: Likewise.
22370 * nis/nss_nis/nis-network.c: Likewise.
22371 * nis/nss_nis/nis-proto.c: Likewise.
22372 * nis/nss_nis/nis-pwd.c: Likewise.
22373 * nis/nss_nis/nis-rpc.c: Likewise.
22374 * nis/nss_nis/nis-service.c: Likewise.
22375 * nis/nss_nis/nis-spwd.c: Likewise.
22376 * nis/nss_nisplus/nisplus-alias.c: Likewise.
22377 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
22378 * nis/nss_nisplus/nisplus-grp.c: Likewise.
22379 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
22380 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
22381 * nis/nss_nisplus/nisplus-network.c: Likewise.
22382 * nis/nss_nisplus/nisplus-proto.c: Likewise.
22383 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
22384 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
22385 * nis/nss_nisplus/nisplus-service.c: Likewise.
22386 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
22387 * nis/ypclnt.c: Likewise.
22388 * nptl/libc_pthread_init.c: Likewise.
22389 * nss/getXXbyYY.c: Likewise.
22390 * nss/getXXent.c: Likewise.
22391 * nss/getXXent_r.c: Likewise.
22392 * nss/nss_db/db-XXX.c: Likewise.
22393 * nss/nss_db/db-netgrp.c: Likewise.
22394 * nss/nss_db/nss_db.h: Likewise.
22395 * nss/nss_files/files-XXX.c: Likewise.
22396 * nss/nss_files/files-alias.c: Likewise.
22397 * nss/nsswitch.c: Likewise.
22398 * posix/regex_internal.h: Likewise.
22399 * posix/wordexp.c: Likewise.
22400 * pwd/fgetpwent.c: Likewise.
22401 * resolv/res_hconf.c: Likewise.
22402 * resolv/res_libc.c: Likewise.
22403 * shadow/fgetspent.c: Likewise.
22404 * shadow/lckpwdf.c: Likewise.
22405 * shadow/sgetspent.c: Likewise.
22406 * socket/opensock.c: Likewise.
22407 * stdio-common/reg-modifier.c: Likewise.
22408 * stdio-common/reg-printf.c: Likewise.
22409 * stdio-common/reg-type.c: Likewise.
22410 * stdio-common/vfprintf.c: Likewise.
22411 * stdio-common/vfscanf.c: Likewise.
22412 * stdlib/abort.c: Likewise.
22413 * stdlib/cxa_atexit.c: Likewise.
22414 * stdlib/fmtmsg.c: Likewise.
22415 * stdlib/random.c: Likewise.
22416 * stdlib/setenv.c: Likewise.
22417 * string/strsignal.c: Likewise.
22418 * sunrpc/auth_none.c: Likewise.
22419 * sunrpc/bindrsvprt.c: Likewise.
22420 * sunrpc/create_xid.c: Likewise.
22421 * sunrpc/key_call.c: Likewise.
22422 * sunrpc/rpc_thread.c: Likewise.
22423 * sysdeps/arm/backtrace.c: Likewise.
22424 * sysdeps/generic/ldsodefs.h: Likewise.
22425 * sysdeps/generic/stdio-lock.h: Likewise.
22426 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
22427 * sysdeps/i386/backtrace.c: Likewise.
22428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22429 * sysdeps/m68k/backtrace.c: Likewise.
22430 * sysdeps/mach/hurd/cthreads.c: Likewise.
22431 * sysdeps/mach/hurd/dirstream.h: Likewise.
22432 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22433 * sysdeps/nptl/malloc-machine.h: Likewise.
22434 * sysdeps/nptl/stdio-lock.h: Likewise.
22435 * sysdeps/posix/dirstream.h: Likewise.
22436 * sysdeps/posix/getaddrinfo.c: Likewise.
22437 * sysdeps/posix/system.c: Likewise.
22438 * sysdeps/pthread/aio_suspend.c: Likewise.
22439 * sysdeps/s390/s390-32/backtrace.c: Likewise.
22440 * sysdeps/s390/s390-64/backtrace.c: Likewise.
22441 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22442 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22443 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
22444 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
22445 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
22446 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22447 * sysdeps/unix/sysv/linux/system.c: Likewise.
22448 * sysdeps/x86_64/backtrace.c: Likewise.
22449 * time/alt_digit.c: Likewise.
22450 * time/era.c: Likewise.
22451 * time/tzset.c: Likewise.
22452 * wcsmbs/wcsmbsload.c: Likewise.
22453 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
22454 instead of <bits/libc-lock.h> in comment.
22455
22456 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
22457
22458 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
22459 Only use .set mips2 if the current ISA is below mips2.
22460 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
22461 Likewise.
22462 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
22463 mips32r2 if the current ISA is below mips32r2.
22464 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
22465 (TLS_IE): Updated to use the TLD_RDHWR macro.
22466 (TLS_LE): Likewise.
22467 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
22468 __ASSEMBLER__ condition.
22469
22470 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
22471
22472 Fix parallel build of before-compile targets.
22473
22474 * sysdeps/mach/Makefile ($(patsubst
22475 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
22476 mach-before-compile target.
22477 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22478 io fs process)): Move rule to dedicated hurd-before-compile target.
22479
22480 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22481
22482 Fix rules generating headers in hurd/ and mach/ when initial make call
22483 has subdir= explicitly set.
22484
22485 * sysdeps/mach/Makefile ($(patsubst
22486 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
22487 calling $(MAKE).
22488 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22489 io fs process)): Force subdir to hurd when calling $(MAKE).
22490 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
22491 subdir to mach when calling $(MAKE).
22492
22493 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
22494
22495 Check sysheaders when looking for Mach and Hurd headers
22496
22497 * sysdeps/mach/configure.ac: Add sysheaders check.
22498 * sysdeps/mach/configure: Regenerate.
22499 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
22500 * sysdeps/mach/hurd/configure: Regenerate.
22501
22502 2015-09-04 Roland McGrath <roland@hack.frob.com>
22503
22504 [BZ #18921]
22505 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
22506 Fix inverted sense of test of 'o_directory_works' value.
22507 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
22508 Bernhard Voelker <mail@bernhard-voelker.de>.
22509
22510 2015-09-04 Joseph Myers <joseph@codesourcery.com>
22511
22512 [BZ #14912]
22513 * bits/linkmap.h: Move to ...
22514 * sysdeps/generic/linkmap.h: ...here.
22515 * sysdeps/aarch64/bits/linkmap.h: Move to ...
22516 * sysdeps/aarch64/linkmap.h: ...here.
22517 * sysdeps/arm/bits/linkmap.h: Move to ...
22518 * sysdeps/arm/linkmap.h: ...here.
22519 * sysdeps/hppa/bits/linkmap.h: Move to ...
22520 * sysdeps/hppa/linkmap.h: ...here.
22521 * sysdeps/ia64/bits/linkmap.h: Move to ...
22522 * sysdeps/ia64/linkmap.h: ...here.
22523 * sysdeps/mips/bits/linkmap.h: Move to ...
22524 * sysdeps/mips/linkmap.h: ...here.
22525 * sysdeps/s390/bits/linkmap.h: Move to ...
22526 * sysdeps/s390/linkmap.h: ...here.
22527 * sysdeps/sh/bits/linkmap.h: Move to ...
22528 * sysdeps/sh/linkmap.h: ...here.
22529 * sysdeps/x86/bits/linkmap.h: Move to ...
22530 * sysdeps/x86/linkmap.h: ...here.
22531 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
22532
22533 2015-09-04 Andreas Schwab <schwab@suse.de>
22534
22535 [BZ #18635]
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
22537 (__makecontext): Terminate FDE before return label.
22538 (__novec_makecontext): Likewise.
22539
22540 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22541
22542 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
22543 first member of struct sv in syscall macro.
22544
22545 2015-09-04 Joseph Myers <joseph@codesourcery.com>
22546
22547 [BZ #14912]
22548 * bits/stdio-lock.h: Move to ...
22549 * sysdeps/generic/stdio-lock.h: ...here.
22550 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22551 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
22552 * sysdeps/nptl/stdio-lock.h: ...here.
22553 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22554 * include/libio.h: Include <stdio-lock.h> instead of
22555 <bits/stdio-lock.h>.
22556 * sysdeps/nptl/fork.c: Likewise.
22557 * sysdeps/pthread/flockfile.c: Likewise.
22558 * sysdeps/pthread/ftrylockfile.c: Likewise.
22559 * sysdeps/pthread/funlockfile.c: Likewise.
22560
22561 [BZ #14912]
22562 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
22563 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
22564 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
22565 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
22566 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
22567 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22568 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
22569
22570 2015-09-03 Roland McGrath <roland@hack.frob.com>
22571
22572 * elf/Makefile (test-xfail-tst-protected1a): New variable.
22573 (test-xfail-tst-protected1b): New variable.
22574
22575 2015-09-03 Joseph Myers <joseph@codesourcery.com>
22576
22577 [BZ #14912]
22578 * bits/libc-tsd.h: Move to ...
22579 * sysdeps/generic/libc-tsd.h: ...here.
22580 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
22581 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
22582 * sysdeps/mach/hurd/libc-tsd.h: ...here.
22583 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
22584 * include/ctype.h: Include <libc-tsd.h> instead of
22585 <bits/libc-tsd.h>.
22586 * include/rpc/rpc.h: Likewise.
22587 * locale/localeinfo.h: Likewise.
22588 * sunrpc/rpc_thread.c: Likewise.
22589 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22590 * sysdeps/nptl/malloc-machine.h: Likewise.
22591
22592 * Makefile (headers): Remove bits/libc-lock.h.
22593 * libio/Makefile (headers): Remove bits/stdio-lock.h.
22594
22595 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
22596 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
22597 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
22598 <bits/stdio-lock.h>.
22599 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
22600 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
22601
22602 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
22603
22604 [BZ #18757]
22605 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
22606 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
22607 BZ #18757.
22608
22609 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
22610
22611 * malloc/mtrace.pl: Filter out NULL entries.
22612
22613 2015-09-01 Joseph Myers <joseph@codesourcery.com>
22614
22615 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
22616 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
22617 macro.
22618
22619 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
22620 (TCP_CC_INFO): Likewise.
22621 (TCP_SAVE_SYN): Likewise.
22622 (TCP_SAVED_SYN): Likewise.
22623
22624 2015-08-31 Brett Neumeier <brett@neumeier.us>
22625
22626 [BZ #18870]
22627 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
22628
22629 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
22630
22631 [BZ #18873]
22632 Fix broken overflow check in posix_fallocate
22633 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
22634 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22635 Fix parenthesization typo.
22636
22637 2015-08-28 Mike Frysinger <vapier@gentoo.org>
22638
22639 [BZ #18887]
22640 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
22641 tst-mntent-blank-passno.
22642 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
22643 * misc/tst-mntent-blank-corrupt.c: New test.
22644 * misc/tst-mntent-blank-passno.c: New test ripped from ...
22645 * misc/tst-mntent.c (do_test): ... here.
22646
22647 2015-08-29 Mike Frysinger <vapier@gentoo.org>
22648
22649 [BZ #4404]
22650 * po/de.po: Fix SIGALRM typo.
22651
22652 2015-08-28 James Perkins <james@loowit.net>
22653
22654 * time/tst-strptime2.c (tests): Replace short list of test
22655 strings for strptime %z specifier with code which exhaustively
22656 tests every combination of sign and 0 to 5 digits. Tests for
22657 rejection of invalid strings.
22658
22659 2015-08-28 James Perkins <james@loowit.net>
22660
22661 [BZ #16141]
22662 * time/strptime_l.c (__strptime_internal): Fix %z minutes
22663 calculation, removing incorrect decimal time rounding, so that
22664 all minute values result in a valid seconds value.
22665 * time/strptime_l.c (__strptime_internal): Extend %z time zone
22666 offset range limits to UTC-99:59 through UTC+99:59 to parse
22667 current and historical use cases.
22668 * time/tst-strptime2.c (tests): Modify and add tests for the
22669 strptime %z input field descriptor, specifically conversion of
22670 minutes to seconds and validating an offset range of -9959 to
22671 +9959.
22672
22673 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22674 Dmitry V. Levin <ldv@altlinux.org>
22675
22676 [BZ #18877]
22677 * posix/Makefile (tests): Add tst-mmap-offset.
22678 * posix/tst-mmap.c: New file.
22679 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
22680 offset calculation for negative values.
22681
22682 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22683
22684 * sysdeps/i386/init-arch.h: New file.
22685 * sysdeps/i386/i586/init-arch.h: Likewise.
22686 * sysdeps/i386/i686/init-arch.h: Likewise.
22687 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
22688 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
22689 * sysdeps/x86/cpu-features.h (bit_I586): New.
22690 (bit_I686): Likewise.
22691 (bit_CX8): Likewise.
22692 (bit_CMOV): Likewise.
22693 (index_CX8): Likewise.
22694 (index_CMOV): Likewise.
22695 (index_I586): Likewise.
22696 (index_I686): Likewise.
22697 (reg_CX8): Likewise.
22698 (reg_CMOV): Likewise.
22699 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
22700 available at compile-time.
22701 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
22702 available at compile-time.
22703 * sysdeps/x86/init-arch.h (USE_I586): New macro.
22704 (USE_I686): Likewise.
22705
22706 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22707
22708 * sysdeps/i386/bcopy.S: New file.
22709 * sysdeps/i386/bzero.S: Likewise.
22710 * sysdeps/i386/memcpy.S: Likewise.
22711 * sysdeps/i386/memmove.S: Likewise.
22712 * sysdeps/i386/mempcpy.S: Likewise.
22713 * sysdeps/i386/memset.S: Likewise.
22714 * sysdeps/i386/bzero.c: Removed.
22715 * sysdeps/i386/memset.c: Likewise.
22716 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
22717 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
22718 * sysdeps/i386/i586/memset_chk.S: Likewise.
22719 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
22720 * sysdeps/i386/memcpy_chk.S: Here.
22721 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
22722 * sysdeps/i386/memmove_chk.S: Here.
22723 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
22724 * sysdeps/i386/mempcpy_chk.S: Likewise.
22725 * sysdeps/i386/i686/memset_chk.S: Moved to ...
22726 * sysdeps/i386/memset_chk.S: Likewise.
22727
22728 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
22729
22730 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
22731 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
22732 file, move DIAG_POP_NEEDS_COMMENT to end of file.
22733 * soft-fp/fmadf4.c: Ditto.
22734 * soft-fp/fmatf4.c: Ditto.
22735
22736 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22737
22738 * sysdeps/i386/i586/Implies: Removed.
22739 * sysdeps/i386/i686/Implies: Likewise.
22740
22741 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22742
22743 * sysdeps/i386/i486/strlen.S: Moved to ...
22744 * sysdeps/i386/strlen.S: Here.
22745
22746 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22747
22748 * sysdeps/i386/i486/strcat.S: Moved to ...
22749 * sysdeps/i386/strcat.S: Here.
22750
22751 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22752
22753 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
22754 * sysdeps/i386/pthread_spin_trylock.S: Here.
22755 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
22756 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
22757
22758 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22759
22760 * sysdeps/i386/i486/string-inlines.c: Moved to ...
22761 * sysdeps/i386/string-inlines.c: Here.
22762
22763 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * sysdeps/i386/i486/htonl.S: Moved ...
22766 * sysdeps/i386/htonl.S: here.
22767
22768 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22769
22770 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
22771 * sysdeps/i386/bits/atomic.h: Here.
22772
22773 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 * sysdeps/i386/i486/Versions: Removed.
22776
22777 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
22778
22779 [BZ #2898]
22780 * misc/mktemp.c: Add mkdtemp to the link_warning message.
22781 Based on patch by Aurelien Jarno.
22782
22783 2015-08-26 Stan Shebs <stanshebs@google.com>
22784
22785 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
22786 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22787
22788 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22789
22790 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
22791 * sysdeps/powerpc/dl-procinfo.c:
22792 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
22793 feature so it shows when LD_SHOW_AUXV=1.
22794
22795 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22796
22797 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22798 (__arch_compare_and_exchange_val_32_acq): Remove and use common
22799 definition. ISA 2.07B no longer requires full sync.
22800
22801 2015-08-26 Mike Frysinger <vapier@gentoo.org>
22802
22803 [BZ #18863]
22804 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
22805 (si_call_addr): Define.
22806 (si_syscall): Define.
22807 (si_arch): Define.
22808
22809 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
22810
22811 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
22812 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
22813 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
22814 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22815 (__memset_zero_constant_len_parameter): New.
22816 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
22817 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22818 (__memset_zero_constant_len_parameter): Don't define if
22819 __memset_chk or USE_AS_BZERO are defined.
22820
22821 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
22822 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
22823 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
22824
22825 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
22826 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
22827 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
22828 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
22829 comments.
22830 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
22831 -mno-mmx for $(all-rtld-routines).
22832 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
22833 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
22834 i386.
22835
22836 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
22837
22838 * sysdeps/generic/unwind.h
22839 (_Unwind_Word): Use __mode__(__unwind_word__)
22840 instead of __mode__(__word__).
22841 (_Unwind_Sword): Likewise.
22842
22843 * sysdeps/s390/s390-64/utf8-utf16-z9.c
22844 (MAX_NEEDED_INPUT): New define.
22845 (MAX_NEEDED_OUTPUT): New define.
22846
22847 * NEWS: New item for IBM z13 string optimizations.
22848
22849 * sysdeps/s390/multiarch/memrchr-c.c: New File.
22850 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
22851 * sysdeps/s390/multiarch/memrchr.c: Likewise.
22852 * sysdeps/s390/multiarch/Makefile
22853 (sysdep_routines): Add memrchr functions.
22854 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22855 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
22856
22857 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
22858 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
22859 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
22860 * sysdeps/s390/multiarch/Makefile
22861 (sysdep_routines): Add wmemcmp functions.
22862 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22863 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
22864 * benchtests/bench-wmemcmp.c: New File.
22865 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
22866
22867 * sysdeps/s390/multiarch/wmemset-c.c: New File.
22868 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
22869 * sysdeps/s390/multiarch/wmemset.c: Likewise.
22870 * sysdeps/s390/multiarch/Makefile
22871 (sysdep_routines): Add wmemset functions.
22872 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22873 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
22874 * wcsmbs/wmemset.c: Use WMEMSET if defined.
22875 * string/test-memset.c: Add wmemset support.
22876 * wcsmbs/test-wmemset.c: New File.
22877 * wcsmbs/Makefile (strop-tests): Add wmemset.
22878 * benchtests/bench-memset.c: Add wmemset support.
22879 * benchtests/bench-wmemset.c: New File.
22880 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
22881
22882 * sysdeps/s390/multiarch/memccpy-c.c: New File.
22883 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
22884 * sysdeps/s390/multiarch/memccpy.c: Likewise.
22885 * sysdeps/s390/multiarch/Makefile
22886 (sysdep_routines): Add memccpy functions.
22887 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22888 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
22889 * string/memccpy.c: Use MEMCCPY if defined.
22890
22891 * sysdeps/s390/multiarch/memchr-vx.S: New File.
22892 * sysdeps/s390/multiarch/memchr.c: Likewise.
22893 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
22894 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
22895 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
22896 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
22897 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
22898 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
22899 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
22900 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
22901 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
22902 and rawmemchr functions.
22903 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22904 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
22905 and wmemchr.
22906 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
22907 * string/test-memchr.c: Add wmemchr support.
22908 * wcsmbs/test-wmemchr.c: New File.
22909 * wcsmbs/Makefile (strop-tests): Add wmemchr.
22910 * benchtests/bench-memchr.c: Add wmemchr support.
22911 * benchtests/bench-wmemchr.c: New File.
22912 * benchtests/Makefile (wcsmbs-bench): wmemchr.
22913
22914 * sysdeps/s390/multiarch/strcspn-c.c: New File.
22915 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
22916 * sysdeps/s390/multiarch/strcspn.c: Likewise.
22917 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
22918 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
22919 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
22920 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
22921 wcscspn functions.
22922 * sysdeps/s390/multiarch/ifunc-impl-list.c
22923 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
22924 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
22925 * string/test-strcspn.c: Add wcscspn support.
22926 * wcsmbs/test-wcscspn.c: New File.
22927 * wcsmbs/Makefile (strop-tests): Add wcscspn.
22928 * benchtests/bench-strcspn.c: Add wcscspn support.
22929 * benchtests/bench-wcscspn.c: New File.
22930 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
22931
22932 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
22933 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
22934 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
22935 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
22936 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
22937 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
22938 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
22939 wcspbrk functions.
22940 * sysdeps/s390/multiarch/ifunc-impl-list.c
22941 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
22942 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
22943 * string/test-strpbrk.c: Add wcspbrk support.
22944 * wcsmbs/test-wcspbrk.c: New File.
22945 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
22946 * benchtests/bench-strpbrk.c: Add wcspbrk support.
22947 * benchtests/bench-wcspbrk.c: New File.
22948 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
22949
22950 * sysdeps/s390/multiarch/strspn-c.c: New File.
22951 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
22952 * sysdeps/s390/multiarch/strspn.c: Likewise.
22953 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
22954 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
22955 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
22956 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
22957 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
22958 wcsspn functions.
22959 * sysdeps/s390/multiarch/ifunc-impl-list.c
22960 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
22961 * string/test-strspn.c: Add wcsspn support.
22962 * wcsmbs/test-wcsspn.c: New File.
22963 * wcsmbs/Makefile (strop-tests): Add wcsspn.
22964 * benchtests/bench-strspn.c: Add wcsspn support.
22965 * benchtests/bench-wcsspn.c: New File.
22966 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
22967
22968 * sysdeps/s390/multiarch/strrchr-c.c: New File.
22969 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
22970 * sysdeps/s390/multiarch/strrchr.c: Likewise.
22971 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
22972 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
22973 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
22974 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
22975 wcsrchr functions.
22976 * sysdeps/s390/multiarch/ifunc-impl-list.c
22977 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
22978 * benchtests/bench-wcsrchr.c: New File.
22979 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
22980
22981 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
22982 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
22983 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
22984 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
22985 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
22986 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
22987 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
22988 wcschrnul functions.
22989 * sysdeps/s390/multiarch/ifunc-impl-list.c
22990 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
22991 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
22992 * string/test-strchr.c: Add wcschrnul support.
22993 * wcsmbs/test-wcschrnul.c: New File.
22994 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
22995 * benchtests/bench-strchr.c: Add wcschrnul support.
22996 * benchtests/bench-wcschrnul.c: New File.
22997 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
22998
22999 * sysdeps/s390/multiarch/strchr-c.c: New File.
23000 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23001 * sysdeps/s390/multiarch/strchr.c: Likewise.
23002 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23003 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23004 * sysdeps/s390/multiarch/wcschr.c: Likewise.
23005 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23006 wcschr functions.
23007 * sysdeps/s390/multiarch/ifunc-impl-list.c
23008 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23009 * string/strchr.c (STRCHR): Define and use macro.
23010 * benchtests/bench-wcschr.c: New File.
23011 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23012
23013 * sysdeps/s390/multiarch/strncmp-c.c: New File.
23014 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23015 * sysdeps/s390/multiarch/strncmp.c: Likewise.
23016 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23017 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23018 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23019 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23020 wcsncmp functions.
23021 * sysdeps/s390/multiarch/ifunc-impl-list.c
23022 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23023 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23024 * benchtests/bench-strncmp.c: Add wcsncmp support.
23025 * benchtests/bench-wcsncmp.c: New File.
23026 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23027
23028 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23029 * sysdeps/s390/multiarch/strcmp.c: Likewise.
23030 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23031 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23032 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23033 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23034 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23035 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23036 wcscmp functions.
23037 * sysdeps/s390/multiarch/ifunc-impl-list.c
23038 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23039 * string/strcmp.c (STRCMP): Define and use macro.
23040 * benchtests/bench-wcscmp.c: New File.
23041 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23042 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23043 instead of _HAVE_STRING_ARCH_memchr.
23044
23045 * sysdeps/s390/multiarch/strncat-c.c: New File.
23046 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23047 * sysdeps/s390/multiarch/strncat.c: Likewise.
23048 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23049 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23050 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23051 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23052 wcsncat functions.
23053 * sysdeps/s390/multiarch/ifunc-impl-list.c
23054 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23055 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23056 * string/test-strncat.c: Add wcsncat support.
23057 * wcsmbs/test-wcsncat.c: New File.
23058 * wcsmbs/Makefile (strop-tests): Add wcsncat.
23059 * benchtests/bench-strncat.c: Add wcsncat support.
23060 * benchtests/bench-wcsncat.c: New File.
23061 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23062
23063 * sysdeps/s390/multiarch/strcat-c.c: New File.
23064 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23065 * sysdeps/s390/multiarch/strcat.c: Likewise.
23066 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23067 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23068 * sysdeps/s390/multiarch/wcscat.c: Likewise.
23069 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23070 wcscat functions.
23071 * sysdeps/s390/multiarch/ifunc-impl-list.c
23072 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23073 * string/strcat.c (STRCAT): Define and use macro.
23074 * wcsmbs/wcscat.c: Use WCSCAT if defined.
23075 * string/test-strcat.c: Add wcscat support.
23076 * wcsmbs/test-wcscat.c: New File.
23077 * wcsmbs/Makefile (strop-tests): Add wcscat.
23078 * benchtests/bench-strcat.c: Add wcscat support.
23079 * benchtests/bench-wcscat.c: New File.
23080 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23081
23082 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23083 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23084 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23085 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23086 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23087 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23088 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23089 wcpncpy functions.
23090 * sysdeps/s390/multiarch/ifunc-impl-list.c
23091 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23092 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23093 * string/test-stpncpy.c: Add wcpncpy support.
23094 * wcsmbs/test-wcpncpy.c: New File.
23095 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23096 * benchtests/bench-stpncpy.c: Add wcpncpy support.
23097 * benchtests/bench-wcpncpy.c: New File.
23098 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23099
23100 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23101 * sysdeps/s390/multiarch/strncpy.c: Likewise.
23102 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23103 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23104 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23105 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23106 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23108 wcsncpy functions.
23109 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23110 * sysdeps/s390/multiarch/ifunc-impl-list.c
23111 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23112 * string/test-strncpy.c: Add wcsncpy support.
23113 * wcsmbs/test-wcsncpy.c: New File.
23114 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23115 * benchtests/bench-strncpy.c: Add wcsncpy support.
23116 * benchtests/bench-wcsncpy.c: New File.
23117 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23118
23119 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23120 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23121 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23122 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23123 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23124 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23125 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23126 wcpcpy functions.
23127 * string/stpcpy.c: Use STPCPY if defined.
23128 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23129 * sysdeps/s390/multiarch/ifunc-impl-list.c
23130 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23131 * string/test-stpcpy.c: Add wcpcpy support.
23132 * wcsmbs/test-wcpcpy.c: New File.
23133 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23134 * benchtests/bench-stpcpy.c: Add wcpcpy support.
23135 * benchtests/bench-wcpcpy.c: New File.
23136 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23137
23138 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23139 * sysdeps/s390/multiarch/strcpy.c: Likewise.
23140 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23141 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23142 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23143 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23144 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23145 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23146 wcscpy functions.
23147 * sysdeps/s390/multiarch/ifunc-impl-list.c
23148 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23149 * benchtests/bench-wcscpy.c: New File.
23150 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23151
23152 * sysdeps/s390/multiarch/strnlen-c.c: New File.
23153 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23154 * sysdeps/s390/multiarch/strnlen.c: Likewise.
23155 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23156 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23157 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23158 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23159 wcsnlen functions.
23160 * sysdeps/s390/multiarch/ifunc-impl-list.c
23161 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23162 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23163 * string/test-strnlen.c: Add wcsnlen support.
23164 * wcsmbs/test-wcsnlen.c: New File.
23165 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23166 * benchtests/bench-strnlen.c: Add wcsnlen support.
23167 * benchtests/bench-wcsnlen.c: New File.
23168 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23169
23170 * sysdeps/s390/multiarch/Makefile: New File.
23171 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23172 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23173 * sysdeps/s390/multiarch/strlen.c: Likewise.
23174 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23175 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23176 * sysdeps/s390/multiarch/wcslen.c: Likewise.
23177 * string/strlen.c (STRLEN): Define and use macro.
23178 * sysdeps/s390/multiarch/ifunc-impl-list.c
23179 (IFUNC_VX_IMPL): New macro function.
23180 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23181 * benchtests/Makefile (wcsmbs-bench): New variable.
23182 (string-bench-all): Added wcsmbs-bench.
23183 * benchtests/bench-wcslen.c: New File.
23184
23185 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23186 s390_vx_libc_ifunc2): New macro function.
23187
23188 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23189 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23190 assembler support.
23191 * sysdeps/s390/configure: Regenerated.
23192
23193 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23194 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23195
23196 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23197 * sysdeps/s390/dl-procinfo.h: Add vector capability.
23198 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23199
23200 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23201 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23202 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23203 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23204 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23205 (memcmp, bcmp): Use __memcmp_default as alias source.
23206 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23207 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23208 Rename to __memcmp_default.
23209 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23210 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23211 (memcpy): Use __memcpy_default as alias source.
23212 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23213 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23214 Rename to __memcpy_default.
23215 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23216 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23217 (memset): Use __memset_default as alias source.
23218 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23219 * sysdeps/s390/s390-32/memset.S (__memset_g5):
23220 Rename to __memset_default.
23221 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23222 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23224 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23225 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23226 (memcmp, bcmp): Use __memcmp_default as alias source.
23227 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23228 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23229 Rename to __memcmp_default.
23230 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23231 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23232 (memcpy): Use __memcpy_default as alias source.
23233 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23234 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23235 Rename to __memcpy_default.
23236 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23237 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23238 (memset): Use __memset_default as alias source.
23239 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23240 * sysdeps/s390/s390-64/memset.S (__memset_z900):
23241 Rename to __memset_default.
23242 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23243 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23244
23245 [BZ #18610]
23246 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23247 __ieee_instruction_pointer to __unused.
23248 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23249 __ieee_instruction_pointer.
23250 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23251 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23252 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23253 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23254 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23255 Mark dxc-field as reserved.
23256
23257 2015-08-25 Roland McGrath <roland@hack.frob.com>
23258
23259 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23260 if the weak reference is not null.
23261
23262 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23265
23266 [BZ #11214]
23267 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23268
23269 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23270
23271 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23272 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23273 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23274 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23275 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23276 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23277 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23278 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23279 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23280 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23281 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23282 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23283 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23284 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23285 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23286 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23287 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23288 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23289
23290 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23291
23292 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23293 register other than r0 for tabort, it has special meaning.
23294 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23295 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23296 transaction before starting syscall.
23297
23298 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23299
23300 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23301
23302 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23305
23306 * sysdeps/x86_64/rtld-memcmp.c: Removed.
23307 * sysdeps/x86_64/rtld-memset.S: Likewise.
23308 * sysdeps/x86_64/rtld-strchr.S: Likewise.
23309 * sysdeps/x86_64/rtld-strlen.S: Likewise.
23310 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23311 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23312
23313 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23314
23315 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
23316
23317 * debug/strcpy_chk.c: Improve performance.
23318 * debug/stpcpy_chk.c: Likewise.
23319 * sysdeps/x86_64/strcpy_chk.S: Remove.
23320 * sysdeps/x86_64/stpcpy_chk.S: Remove.
23321
23322 [BZ #18240]
23323 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23324
23325 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 [BZ #15128]
23328 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23329 ifuncmain8.
23330 (modules-names): Add ifuncmod8.
23331 ($(objpfx)ifuncmain8): New rule.
23332 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23333 <cpuid.h>.
23334 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23335 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23336 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23337 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23338 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23339 * sysdeps/x86_64/dl-trampoline.h: Likewise.
23340 * sysdeps/x86_64/ifuncmain8.c: New file.
23341 * sysdeps/x86_64/ifuncmod8.c: Likewise.
23342 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23343 Removed.
23344 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23345 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23346 Change rtld_savespace_sse to __glibc_unused2.
23347 (RTLD_CHECK_FOREIGN_CALL): Removed.
23348 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23349 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23350 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23351
23352 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
23353
23354 * sysdeps/aarch64/bzero.S (__bzero): Remove.
23355
23356 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
23357
23358 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23359 Unconditionally set __fpcr to avoid uninialized warning.
23360 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23361
23362 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23363
23364 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23365 is corrupt.
23366
23367 * malloc/arena.c (arena_get2): Drop unused argument.
23368 (arena_lock): Adjust.
23369 (arena_get_retry): Likewise.
23370
23371 2015-08-24 Andreas Schwab <schwab@suse.de>
23372
23373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23374 Don't define.
23375 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23376 (__ASSUME_IPC64): Don't undef.
23377 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23378 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23379 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23380 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
23381 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
23382 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
23383 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
23384 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
23385 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
23386 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
23387 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
23388 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
23389 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
23390 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
23391 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
23392 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
23393 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
23394 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
23395 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
23396 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
23397 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
23398
23399 2015-08-21 Mike Frysinger <vapier@gentoo.org>
23400
23401 * manual/Makefile (install): Only build manual when perl is available.
23402
23403 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23404
23405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
23406 '#undef memcpy' by '#undef memchr'.
23407
23408 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23409
23410 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
23411 memchr not point to the internal __GI_memchr implementation.
23412
23413 2015-08-20 Joseph Myers <joseph@codesourcery.com>
23414
23415 * timezone/Makefile (CFLAGS-zdump.c): Remove
23416 -Wno-strict-prototypes.
23417 (CFLAGS-zic.c): Likewise.
23418 (CFLAGS-ialloc.c): Likewise.
23419 (CFLAGS-scheck.c): Likewise.
23420
23421 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
23422 -Wno-error=undef.
23423
23424 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
23425
23426 * i386/i686/multiarch/strcasestr-c.c: Removed.
23427 * x86_64/multiarch/strcasestr.c: Likewise.
23428 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23429 Remove strcasestr.
23430
23431 2015-08-20 Joseph Myers <joseph@codesourcery.com>
23432
23433 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
23434
23435 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
23436 variables for high and low parts before possibly modifying them.
23437
23438 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
23441 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
23442 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
23443 of "multiarch/init-arch.h".
23444 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
23445 * sysdeps/x86/init-arch.h: This.
23446
23447 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
23448
23449 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
23450 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
23451
23452 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
23453
23454 [BZ #17787]
23455 * manual/macros.texi: Add twoexp macro.
23456 * manual/filesys.texi: Fix exponents.
23457 * manual/llio.texi: Likewise.
23458 * manual/stdio.texi: Likewise.
23459
23460 2015-08-20 Florian Weimer <fweimer@redhat.com>
23461
23462 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
23463 incorrect use.
23464
23465 2015-08-19 Joseph Myers <joseph@codesourcery.com>
23466
23467 [BZ #18370]
23468 * math/s_csqrt.c (__csqrt): Force underflow exception for results
23469 whose real or imaginary part has small absolute value.
23470 * math/s_csqrtf.c (__csqrtf): Likewise.
23471 * math/s_csqrtl.c (__csqrtl): Likewise.
23472 * math/auto-libm-test-in: Add more tests of csqrt.
23473 * math/auto-libm-test-out: Regenerated.
23474 * sysdeps/i386/fpu/libm-test-ulps: Update.
23475
23476 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23477
23478 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
23479 __ppc_set_ppr_very_low): New functions.
23480 * manual/platform.texi: Add documentation about
23481 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
23482
23483 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
23484
23485 * string/stpncpy.c (stpncpy): Improve performance using
23486 __strnlen/memcpy/memset.
23487
23488 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
23489
23490 [BZ #18796]
23491 * scripts/test-installation.pl: Don't add -lmvec to build options if
23492 libmvec wasn't built.
23493
23494 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
23495
23496 [BZ #14341]
23497 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
23498 case when there is a gap between DT_REL and DT_JMPREL sections.
23499 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
23500 (LDFLAGS-tst-split-dynreloc): New.
23501 (tst-split-dynreloc-ENV): Likewise.
23502 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
23503 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
23504
23505 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
23506
23507 [BZ #18822]
23508 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
23509 attribute_hidden.
23510 (__xstat64_conv): Likewise.
23511 (__xstat32_conv): Likewise.
23512
23513 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
23514
23515 [BZ #18822]
23516 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23517 Don't load %ebx when calling __setcontext. Call __setcontext
23518 with HIDDEN_JUMPTARGET.
23519 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
23520 libc_hidden_def.
23521
23522 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
23523
23524 * sysdeps/i386/i686/Makefile
23525 [$(subdir) == string] (sysdep_routines): Moved to ...
23526 * sysdeps/i386/Makefile: Here.
23527 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
23528 * sysdeps/i386/cacheinfo.c: Here.
23529 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
23530 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
23532 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
23533
23534 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
23535
23536 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
23537 __i586__ is defined.
23538 (HAS_I686): Defined to 1 if __i686__ is defined.
23539
23540 2015-08-19 Joseph Myers <joseph@codesourcery.com>
23541
23542 * elf/Makefile [$(have-z-execstack) = yes]
23543 (CPPFLAGS-tst-execstack.c): New variable.
23544
23545 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
23546 conditional to [defined UTMPX || _HAVE_UT_TYPE].
23547 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
23548 UTMPX || _HAVE_UT_TV].
23549 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
23550 UTMPX || _HAVE_UT_TV - 0].
23551
23552 2015-08-18 Joseph Myers <joseph@codesourcery.com>
23553
23554 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
23555 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
23556 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
23557
23558 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23559
23560 * sysdeps/powerpc/dl-procinfo.c:
23561 (_dl_powerpc_cap_flags): Added missing strings for some
23562 hwcap features.
23563 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
23564
23565 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
23566
23567 Port the 0x7efe...feff pattern to GCC 6.
23568 See Steve Ellcey's bug report in:
23569 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
23570 * string/memrchr.c (MEMRCHR):
23571 * string/rawmemchr.c (RAWMEMCHR):
23572 * string/strchr.c (strchr):
23573 * string/strchrnul.c (STRCHRNUL):
23574 Rewrite code to avoid issues with signed shift overflow.
23575
23576 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
23577
23578 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
23579 whether cpuid is available only if HAS_CPUID is 0.
23580 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
23581 (HAS_I586): Likewise.
23582 (HAS_I686): Likewise.
23583
23584 2015-08-18 Zack Weinberg <zackw@panix.com>
23585
23586 * misc/Versions (libc): Add GLIBC_2.23.
23587
23588 2015-08-18 Alan Modra <amodra@gmail.com>
23589
23590 [BZ #18421]
23591 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
23592 .Lp__global.
23593 (_start): Load %dp via .Lp__global.
23594 [!SHARED]: Use .section .rodata.
23595
23596 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23597
23598 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
23599 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
23600
23601 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23602
23603 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
23604 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
23605
23606 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23607
23608 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
23609 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
23610
23611 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23612
23613 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
23614 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
23615
23616 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23617
23618 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
23619 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
23620
23621 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23622
23623 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
23624 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
23625
23626 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23627
23628 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
23629
23630 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23631
23632 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
23633 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
23634 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23635 (__ASSUME_LWS_CAS): Delete.
23636
23637 2015-08-18 Mike Frysinger <vapier@gentoo.org>
23638
23639 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
23640 * sysdeps/hppa/configure: Regenerated.
23641 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
23642 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
23643 * sysdeps/hppa/nptl/tls.h: Likewise.
23644
23645 2015-08-17 Joseph Myers <joseph@codesourcery.com>
23646
23647 [BZ #18823]
23648 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
23649 for scaling up small arguments.
23650 * math/s_csqrtf.c (__csqrtf): Likewise.
23651 * math/s_csqrtl.c (__csqrtl): Likewise.
23652 * math/auto-libm-test-in: Add more tests of csqrt.
23653 * math/auto-libm-test-out: Regenerated.
23654
23655 2015-08-17 Andreas Schwab <schwab@suse.de>
23656
23657 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
23658 version set GLIBC_2.19.
23659
23660 2015-08-16 Zack Weinberg <zackw@panix.com>
23661
23662 [BZ #18681]
23663 * misc/regexp.h: This interface is no longer supported.
23664 Remove all contents, leaving only an #error directive.
23665 * misc/regexp.c (loc1, loc2, locs, step, advance):
23666 Demote to compatibility symbols.
23667
23668 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
23669
23670 [BZ #18084]
23671 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
23672 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
23673 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23674 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
23675 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
23676 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
23677 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
23678 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
23679 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23680
23681 2015-08-15 Zack Weinberg <zackw@panix.com>
23682
23683 [BZ #18795]
23684 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
23685 buffer length is known to be too large, not if it's known to be
23686 small enough.
23687 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
23688 overflow at runtime, involving a length parameter, twice: once
23689 with a compile-time constant length parameter, once without.
23690
23691 2015-08-14 Joseph Myers <joseph@codesourcery.com>
23692
23693 [BZ #18824]
23694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
23695 scaling x * y up instead of down.
23696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23698 * math/auto-libm-test-in: Add more tests of fma.
23699 * math/auto-libm-test-out: Regenerated.
23700
23701 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
23702
23703 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23704
23705 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23706
23707 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
23708 unnecessary movq.
23709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
23710 Likewise.
23711
23712 2015-08-13 Joseph Myers <joseph@codesourcery.com>
23713
23714 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23715 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
23716 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
23717 and tgamma.
23718 * math/auto-libm-test-out: Regenerated.
23719 * sysdeps/i386/fpu/libm-test-ulps: Update.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23721
23722 [BZ #16520]
23723 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
23724 (__tanh): Force underflow exception for arguments with small
23725 absolute value.
23726 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
23727 (__tanhf): Force underflow exception for arguments with small
23728 absolute value.
23729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
23730 (__tanhl): Force underflow exception for arguments with small
23731 absolute value.
23732 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
23733 (__tanhl): Force underflow exception for arguments with small
23734 absolute value.
23735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
23736 (__tanhl): Force underflow exception for arguments with small
23737 absolute value.
23738 * math/auto-libm-test-in: Add more tests of tanh.
23739 * math/auto-libm-test-out: Regenerated.
23740 * sysdeps/i386/fpu/libm-test-ulps: Update.
23741
23742 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23743
23744 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
23745 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
23746
23747 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23748
23749 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
23750 <cpuid.h>.
23751
23752 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23753
23754 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
23755 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
23756
23757 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23758
23759 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
23760 Remove $(objpfx)init-arch.o.
23761 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
23762 init-arch.
23763 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
23764 (INIT_ARCH_EXT): Defined as empty.
23765 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
23766 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
23767 __init_cpu_features call. Replace HAS_XXX with
23768 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23769 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
23770 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
23771 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
23772 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
23773 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23774 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
23775 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
23776 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23777 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
23778 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
23779 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23780 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
23781 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
23782 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
23784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
23785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23786 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23787 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
23788 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
23789 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23790 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
23791 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
23792 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23793 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
23794 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
23795 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23796 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
23797 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
23798 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23799 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
23800 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
23801 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23802 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
23803 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
23804
23805 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23806
23807 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
23808 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23809 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
23810 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
23811 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
23812 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
23813 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
23814 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
23815 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
23816 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
23817 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
23818 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
23819 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23820 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23821 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23822 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23823 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23824 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23825 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23826 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23827 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23828 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23829 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23830 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23831 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23832 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23833 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23834 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23835 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23841 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23842 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23843 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23844 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23845 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23846 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23847 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23848 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23849 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23850
23851 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
23854 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23855 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23856 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23857 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23858 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
23859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23860 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
23861 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23864 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
23865 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
23866 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
23867 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
23868 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
23869 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
23870 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
23871 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
23872 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
23873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
23874 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
23875 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
23876 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23877 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23878 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
23879 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
23880 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
23881 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23882 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23883 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23884 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23885 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23886 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23887 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23888 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23889 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23890 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23891 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23892 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23893 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23894 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23895 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23896
23897 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23898
23899 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
23900 (dl_platform_init): Call init_cpu_features.
23901 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
23902 * sysdeps/i386/i686/cacheinfo.c
23903 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
23904 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
23905 * sysdeps/i386/i686/multiarch/Versions: Removed.
23906 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
23907 Removed.
23908 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
23909 * sysdeps/unix/sysv/linux/x86/Makefile
23910 (libpthread-sysdep_routines): Remove init-arch.
23911 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
23912 <sysdeps/x86_64/dl-procinfo.c> instead of
23913 sysdeps/generic/dl-procinfo.c>.
23914 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
23915 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
23916 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
23917 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
23918 [$(subdir) == elf] (tests-static): Add
23919 tst-get-cpu-features-static.
23920 * sysdeps/x86/Versions: New file.
23921 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
23922 * sysdeps/x86/cpu-features.c: Likewise.
23923 * sysdeps/x86/cpu-features.h: Likewise.
23924 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
23925 * sysdeps/x86/libc-start.c: Likewise.
23926 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
23927 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
23928 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
23929 * sysdeps/x86_64/dl-procinfo.c: Likewise.
23930 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
23931 Assume USE_MULTIARCH is defined and don't check it.
23932 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
23933 (is_amd): Likewise.
23934 (max_cpuid): Likewise.
23935 (intel_check_word): Likewise.
23936 (__cache_sysconf): Don't call __init_cpu_features.
23937 (__x86_preferred_memory_instruction): Removed.
23938 (init_cacheinfo): Don't call __init_cpu_features. Replace
23939 __cpu_features with GLRO(dl_x86_cpu_features).
23940 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
23941 (dl_platform_init): Call init_cpu_features.
23942 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
23943 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
23944 * sysdeps/x86_64/multiarch/Versions: Removed.
23945 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
23946 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
23947 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
23948 Removed.
23949 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
23950
23951 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23952
23953 [BZ #18820]
23954 * libio/Makefile (test-fmemopen-mem): New test.
23955 * libio/test-fmemopen.c (do_bz18820): New test.
23956 * libio/fmemopen.c (__fmemopen): Fix memory leak.
23957 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
23958
23959 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23960
23961 [BZ #16734]
23962 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
23963 (FREE_BUF): Delete.
23964 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
23965 * libio/genops.c (_IO_setb): Use malloc and free directly.
23966 (_IO_default_doallocate, _IO_default_finish): Likewise.
23967 ( _IO_unbuffer_all): Likewise.
23968 ( libc_freeres_fn): Likewise.
23969 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23970 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23971 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
23972 (_IO_wdefault_doallocate): Likewise.
23973
23974 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23975
23976 [BZ #18086]
23977 * sysdeps/posix/nice.c (nice): Restore old errno.
23978 * posix/tst-nice.c (do_test): Add test for BZ #18086.
23979
23980 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
23981
23982 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
23983
23984 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23985
23986 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
23987 __bcopy and add a weak_alias to bcopy.
23988 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
23989 for static build.
23990
23991 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
23992 cleanup macro usage.
23993 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
23994 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
23995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23996 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
23997 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
23999 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24001 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24002 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24003 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24004 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24006 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24007 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24008 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24009 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24010 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24011 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24012
24013 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24014 libc_hidden_def.
24015 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24016
24017 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24018 (sysdep_routines): Add strstr-ppc64.
24019 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24020
24021 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
24022
24023 [BZ #18778]
24024 * elf/Makefile (tests): Add Add tst-nodelete2.
24025 (modules-names): Add tst-nodelete2mod.
24026 (tst-nodelete2mod.so-no-z-defs): New.
24027 ($(objpfx)tst-nodelete2): Likewise.
24028 ($(objpfx)tst-nodelete2.out): Likewise.
24029 (LDFLAGS-tst-nodelete2): Likewise.
24030 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24031 out of loop through all loaded libraries.
24032 * elf/tst-nodelete2.c: New file.
24033 * elf/tst-nodelete2mod.c: Likewise.
24034 * elf/tst-znodelete-zlib.cc: Delete.
24035
24036 2015-08-11 Andreas Schwab <schwab@suse.de>
24037
24038 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24039 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24040 (__openat64_nocancel): Likewise.
24041
24042 2015-08-11 Joseph Myers <joseph@codesourcery.com>
24043
24044 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24045 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24046 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24047 * math/auto-libm-test-out: Regenerated.
24048 * sysdeps/i386/fpu/libm-test-ulps: Update.
24049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24050
24051 2015-08-10 Joseph Myers <joseph@codesourcery.com>
24052
24053 [BZ #18790]
24054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24055 threshold for returning +/- 1.
24056 * math/auto-libm-test-in: Add more tests of tanh.
24057 * math/auto-libm-test-out: Regenerated.
24058 * sysdeps/i386/fpu/libm-test-ulps: Update.
24059
24060 2015-08-10 Andreas Schwab <schwab@suse.de>
24061
24062 [BZ #18781]
24063 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24064 MORE_OFLAGS to oflag.
24065 * io/test-lfs.c (do_test): Test openat64.
24066
24067 2015-08-10 Joseph Myers <joseph@codesourcery.com>
24068
24069 [BZ #18789]
24070 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24071 smaller threshold for returning the argument.
24072 * math/auto-libm-test-in: Add more tests of sinh.
24073 * math/auto-libm-test-out: Regenerated.
24074 * sysdeps/i386/fpu/libm-test-ulps: Update.
24075
24076 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
24077
24078 [BZ #18674]
24079 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24080 break.
24081
24082 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
24083
24084 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24085 (generated): Don't add $(addprefix z.,$(tzfiles)).
24086
24087 2015-08-09 Mike Frysinger <vapier@gentoo.org>
24088
24089 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24090 * scripts/sysd-rules.awk: Likewise.
24091
24092 2015-08-09 Mike Frysinger <vapier@gentoo.org>
24093
24094 * iconvdata/tst-tables.sh: Change echo -n to printf.
24095 * nss/db-Makefile: Likewise.
24096 * posix/tst-getconf.sh: Likewise.
24097 * stdio-common/tst-unbputc.sh: Likewise.
24098
24099 2015-08-09 Mike Frysinger <vapier@gentoo.org>
24100
24101 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24102 MADV_*_PAGES defines behind this feature check.
24103
24104 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
24105
24106 [BZ #18480]
24107 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24108 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24109 Define.
24110 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24111 LOAD_REGS_5, LOAD_REGS_6): Update.
24112 (INTERNAL_SYSCALL): Update using new LOAD defines.
24113 (INTERNAL_SYSCALL_NCS): Likewise.
24114 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24115
24116 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24117
24118 [BZ #16734]
24119 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24120
24121 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24122
24123 [BZ #17905]
24124 * catgets/Makefile (tst-catgets-mem): New test.
24125 * catgets/catgets.c (catopen): Don't use unbounded alloca.
24126 * catgets/open_catalog.c (__open_catalog): Likewise.
24127 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24128
24129 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
24130
24131 [BZ #18787]
24132 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24133 clobber registers.
24134 (atomic_compare_and_exchange_val_acq): Use register asms to assign
24135 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
24136 Cast return to __typeof (oldval).
24137
24138 2015-08-08 Mike Frysinger <vapier@gentoo.org>
24139
24140 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24141 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
24142 and delete sys/syscall.h include.
24143
24144 2015-08-07 Joseph Myers <joseph@codesourcery.com>
24145
24146 [BZ #16517]
24147 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24148 (tan): Force underflow exception for arguments with small absolute
24149 value.
24150 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24151 (__kernel_tanf): Force underflow exception for arguments with
24152 small absolute value.
24153 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24154 (__kernel_tanl): Force underflow exception for arguments with
24155 small absolute value.
24156 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24157 (__kernel_tanl): Force underflow exception for arguments with
24158 small absolute value.
24159 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24160 (__kernel_tanl): Force underflow exception for arguments with
24161 small absolute value.
24162 * math/auto-libm-test-in: Add more tests of tan.
24163 * math/auto-libm-test-out: Regenerated.
24164
24165 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24166
24167 Fix sysdeps/i386/fpu/s_scalbn.S build
24168
24169 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24170
24171 2015-08-07 Mike Frysinger <vapier@gentoo.org>
24172
24173 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24174
24175 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24176
24177 Fix gcrt0.o compilation
24178
24179 When static-start-installed-name is different from
24180 start-installed-name, we must not use the shared objects.
24181
24182 * csu/Makefile
24183 (extra-objs): Add gmon-start.o when building shared library and
24184 $(static-start-installed-name) is different from
24185 $(start-installed-name).
24186 $(objpfx)g$(static-start-installed-name): When building shared
24187 library and $(static-start-installed-name) is different from
24188 $(static-start-installed-name), revert to non-shared rule,
24189 i.e. using $(objpfx)% and gmon-start.o.
24190
24191 2015-08-06 Joseph Myers <joseph@codesourcery.com>
24192
24193 [BZ #16519]
24194 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24195 (__ieee754_sinh): Force underflow exception for arguments with
24196 small absolute value.
24197 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24198 (__ieee754_sinhf): Force underflow exception for arguments with
24199 small absolute value.
24200 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24201 (__ieee754_sinhl): Force underflow exception for arguments with
24202 small absolute value.
24203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24204 (__ieee754_sinhl): Force underflow exception for arguments with
24205 small absolute value.
24206 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24207 (__ieee754_sinhl): Force underflow exception for arguments with
24208 small absolute value.
24209 * math/auto-libm-test-in: Add more tests of sinh.
24210 * math/auto-libm-test-out: Regenerated.
24211 * sysdeps/i386/fpu/libm-test-ulps: Update.
24212
24213 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24214
24215 * libio/oldfileops.c: Include unistd.h.
24216
24217 2015-08-06 Mike Frysinger <vapier@gentoo.org>
24218
24219 * stdlib/isomac.c: Include ctype.h.
24220
24221 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
24222
24223 * dirent/tst-seekdir.c (main): Converted to ...
24224 (do_test): ... this.
24225 (TEST_FUNCTION): New macro.
24226 Include test-skeleton.c.
24227 * elf/tst-dlmodcount.c (main): Converted to ...
24228 (do_test): ... this.
24229 (TEST_FUNCTION): New macro.
24230 Include test-skeleton.c.
24231 * elf/tst-order-main.c (main): Converted to ...
24232 (do_test): ... this.
24233 (TEST_FUNCTION): New macro.
24234 Include test-skeleton.c.
24235 * elf/tst-pie2.c (main): Converted to ...
24236 (do_test): ... this.
24237 (TEST_FUNCTION): New macro.
24238 Include test-skeleton.c.
24239 * inet/tst-ether_aton.c (main): Converted to ...
24240 (do_test): ... this.
24241 (TEST_FUNCTION): New macro.
24242 Include test-skeleton.c.
24243 * misc/tst-mntent.c (main): Converted to ...
24244 (do_test): ... this.
24245 (TEST_FUNCTION): New macro.
24246 Include test-skeleton.c.
24247 * misc/tst-tsearch.c (main): Converted to ...
24248 (do_test): ... this.
24249 (TEST_FUNCTION): New macro.
24250 Include test-skeleton.c.
24251 * posix/tst-regexloc.c (main): Converted to ...
24252 (do_test): ... this.
24253 (TEST_FUNCTION): New macro.
24254 Include test-skeleton.c.
24255 * resolv/tst-aton.c (main): Converted to ...
24256 (do_test): ... this.
24257 (TEST_FUNCTION): New macro.
24258 Include test-skeleton.c.
24259 * stdio-common/test-fwrite.c (main): Converted to ...
24260 (do_test): ... this.
24261 (TEST_FUNCTION): New macro.
24262 Include test-skeleton.c.
24263 * stdio-common/tst-ferror.c (main): Converted to ...
24264 (do_test): ... this.
24265 (TEST_FUNCTION): New macro.
24266 Include test-skeleton.c.
24267 * stdio-common/tst-printf.c (main): Converted to ...
24268 (do_test): ... this.
24269 (TEST_FUNCTION): New macro.
24270 Include test-skeleton.c.
24271 * stdio-common/tst-printfsz.c (main): Converted to ...
24272 (do_test): ... this.
24273 (TEST_FUNCTION): New macro.
24274 Include test-skeleton.c.
24275 * stdlib/tst-strtod.c (main): Converted to ...
24276 (do_test): ... this.
24277 (TEST_FUNCTION): New macro.
24278 Include test-skeleton.c.
24279 * string/tst-strlen.c (main): Converted to ...
24280 (do_test): ... this.
24281 (TEST_FUNCTION): New macro.
24282 Include test-skeleton.c.
24283 * string/tst-svc.c (main): Converted to ...
24284 (do_test): ... this.
24285 (TEST_FUNCTION): New macro.
24286 Include test-skeleton.c.
24287 * time/tst-strptime.c (main): Converted to ...
24288 (do_test): ... this.
24289 (TEST_FUNCTION): New macro.
24290 Include test-skeleton.c.
24291 * timezone/tst-timezone.c (main): Converted to ...
24292 (do_test): ... this.
24293 (TEST_FUNCTION): New macro.
24294 Include test-skeleton.c.
24295
24296 2015-08-05 Zack Weinberg <zackw@panix.com>
24297
24298 * misc/regexp.h: Update comments.
24299
24300 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
24301
24302 [BZ #18635]
24303 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24304 before return label.
24305
24306 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
24307
24308 [BZ #18661]
24309 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24310 when calling __errno_location.
24311 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24312 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24313
24314 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
24315
24316 [BZ #18661]
24317 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24318 (__lll_timedwait_tid): Align stack to 16 bytes when calling
24319 __gettimeofday.
24320
24321 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
24322
24323 [BZ #18661]
24324 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24325 (__start_context): Don't use pop to restore %rdi so that stack
24326 is aligned to 16 bytes when calling __setcontext.
24327
24328 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24331 only for libc.
24332 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24333
24334 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
24335
24336 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24337 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
24338 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24339
24340 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
24341
24342 * string/memccpy.c (memccpy):
24343 Improve performance by using memchr/memcpy/__mempcpy.
24344
24345 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
24346
24347 * string/strncpy.c (strncpy):
24348 Improve performance by using __strnlen/memcpy.
24349
24350 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
24351
24352 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24353 Optimize to avoid an unnecessary FPCR read.
24354
24355 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
24356
24357 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24358 Optimize to reduce FPCR/FPSR accesses.
24359
24360 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24363 dead->data[category] != NULL.
24364
24365 2015-08-05 Joseph Myers <joseph@codesourcery.com>
24366
24367 [BZ #18647]
24368 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24369 and |x| close to 1, use absolute value of x when computing log.
24370 * math/auto-libm-test-in: Add more tests of pow.
24371 * math/auto-libm-test-out: Regenerated.
24372
24373 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24374
24375 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
24376 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
24377 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
24378
24379 2015-08-05 Marko Myllynen <myllynen@redhat.com>
24380
24381 [BZ #18525]
24382 * locales/km_KH: Remove timezone definition.
24383 * locales/lo_LA: Likewise.
24384 * locales/my_MM: Likewise.
24385 * locales/nan_TW@latin: Likewise.
24386 * locales/th_TH: Likewise.
24387 * locales/uk_UA: Likewise.
24388
24389 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
24390
24391 [BZ #18265]
24392 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
24393 (wcsncat): Likewise.
24394 (wcscmp): Likewise.
24395 (wcsncmp): Likewise.
24396
24397 2015-08-05 Mike Frysinger <vapier@gentoo.org>
24398
24399 * test-skeleton.c (usage): New function.
24400 (main): Call usage when opt is '?'.
24401
24402 2015-08-05 Mike Frysinger <vapier@gentoo.org>
24403
24404 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
24405 before first use.
24406
24407 2015-08-05 Mike Frysinger <vapier@gentoo.org>
24408
24409 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
24410 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
24411 in there too.
24412
24413 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
24414
24415 * version.h (RELEASE): Set to "development".
24416 (VERSION): Set to "2.22.90"
24417
24418 * version.h (RELEASE): Set to "stable".
24419 (VERSION): Set to "2.22"
24420 * include/features.h (__GLIBC_MINOR__): Set to 22.
24421
24422 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
24423
24424 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
24425 Restructure macro to avoid "value computed is not used" warning.
24426 (atomic_compare_and_exchange_val_acq): Likewise.
24427
24428 2015-08-04 Andreas Schwab <schwab@suse.de>
24429
24430 [BZ #18635]
24431 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
24432 ret.
24433 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
24434
24435 2015-08-01 Carlos O'Donell <carlos@redhat.com>
24436
24437 * po/pl.po: Updated translation.
24438 * po/uk.po: Likewise.
24439 * po/fi.po: Likewise.
24440 * po/ko.po: Likewise.
24441 * po/ru.po: Likewise.
24442 * po/vi.po: Likewise.
24443
24444 2015-07-31 Zack Weinberg <zackw@panix.com>
24445
24446 [BZ #18681]
24447 * regexp.h: Add unconditional #warning stating that this header
24448 will be removed soon. Revise banner comment to match.
24449 (compile): Consistently use ERROR instead of RETURN to report
24450 errors (partial fix for bz#18681).
24451 * regexp.c: Don't include regexp.h. Remove some unnecessary
24452 declarations.
24453
24454 2015-07-31 Carlos O'Donell <carlos@redhat.com>
24455
24456 * po/libc.pot: Regenerated.
24457
24458 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
24459
24460 [BZ #18740]
24461 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
24462 float-vlen4-arch-ext-cflags): Removed.
24463 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
24464 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
24465
24466 2015-07-30 Mike Frysinger <vapier@gentoo.org>
24467
24468 [BZ #14113]
24469 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
24470 aligned to __aligned__.
24471 (pthread_cond_t, pthread_rwlock_t): Likewise.
24472
24473 2015-07-30 Torvald Riegel <triegel@redhat.com>
24474
24475 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
24476
24477 2015-07-30 Mike Frysinger <vapier@gentoo.org>
24478
24479 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
24480 (struct sigaction): Change sa_flags from a long to an int, and add
24481 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
24482
24483 2015-07-30 Mike Frysinger <vapier@gentoo.org>
24484
24485 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
24486 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
24487 sysdeps/generic/sysdep.h include.
24488 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
24489 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
24490 sysdeps/hppa/sysdep.h.
24491 (ENTRY, PSEUDO): Undefine before defining.
24492
24493 2015-07-30 Mike Frysinger <vapier@gentoo.org>
24494
24495 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
24496 from scratch to use INTERNAL_SYSCALL.
24497
24498 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
24499
24500 [BZ #18078]
24501 * scripts/check-localplt.awk: Support alternate relocations.
24502 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
24503 sections.
24504 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
24505 malloc entries with + REL R_386_GLOB_DAT.
24506 * sysdeps/x86_64/localplt.data: New file.
24507
24508 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
24509
24510 [BZ #18731]
24511 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
24512 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24513 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24514
24515 2015-07-27 Mike Frysinger <vapier@gentoo.org>
24516
24517 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
24518
24519 2015-07-27 Mike Frysinger <vapier@gentoo.org>
24520
24521 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
24522 directly in terms of __sync_fetch_and_add and delete (int) cast.
24523
24524 2015-07-27 Mike Frysinger <vapier@gentoo.org>
24525
24526 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
24527 the -D_ASM_IA64_CURRENT_H flag.
24528
24529 2015-07-27 Mike Frysinger <vapier@gentoo.org>
24530
24531 [BZ #18641]
24532 * pwd/pwd.h (putpwent): Delete __nonnull markings.
24533
24534 2015-07-27 Andreas Schwab <schwab@suse.de>
24535
24536 * conform/conformtest.pl (checknamespace): Filter out string
24537 literals while tokenizing.
24538
24539 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
24540
24541 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24542 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
24543 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24544
24545 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
24546
24547 * nptl/tst-join7mod.c: Add #include <string.h>.
24548
24549 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
24550
24551 * sysdeps/nios2/libm-test-ulps: Update.
24552
24553 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
24554
24555 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
24556 Fix order of arguments to the rt_sigprocmask syscall.
24557 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
24558 Likewise.
24559
24560 2015-07-24 Roland McGrath <roland@hack.frob.com>
24561
24562 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
24563
24564 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24565
24566 [BZ #18457]
24567 * nptl/Makefile (tests): New test case tst-join7.
24568 (modules-names): New test case module tst-join7mod.
24569 * nptl/tst-join7.c: New file.
24570 * nptl/tst-join7mod.c: New file.
24571 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
24572 all translation units in libc.so, libpthread.so and rtld.
24573
24574 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24575
24576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24577
24578 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
24579
24580 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
24581 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24582 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24584 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24585 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24586 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24587 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24588 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24589 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24590 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24591 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24592 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
24593 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
24594 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
24595 implementation.
24596
24597 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
24598
24599 [BZ #17711]
24600 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24601 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
24602 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24603 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24604 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
24605 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24606
24607 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24608
24609 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
24610 instead of just saying load lock in the comments.
24611
24612 2015-07-23 Roland McGrath <roland@hack.frob.com>
24613
24614 * sysdeps/unix/Subdirs: Moved ...
24615 * sysdeps/posix/Subdirs: ... here.
24616 * login/pty.h (struct termios, struct winsize): Add forward decls.
24617 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
24618 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
24619 * sysdeps/arm/nacl/libc.abilist: Updated.
24620 * sysdeps/nacl/libutil.abilist: New file.
24621
24622 * bits/signum.h: Update comments to mention 1003.1-2013 too.
24623 (SIGWINCH): New macro.
24624
24625 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
24626 * sysdeps/arm/nacl/libc.abilist: Add it.
24627
24628 2015-07-23 Mike Frysinger <vapier@gentoo.org>
24629
24630 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
24631
24632 2015-07-23 Mike Frysinger <vapier@gentoo.org>
24633
24634 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24635 Swap __glibc_reserved0 and sa_flags order.
24636
24637 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24638
24639 [BZ #18657]
24640 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
24641 are pending TLS destructor calls.
24642 * include/link.h (struct link_map): Add concurrency note for
24643 L_TLS_DTOR_COUNT.
24644 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24645 Don't touch the link map flag. Atomically increment
24646 l_tls_dtor_count.
24647 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
24648 Avoid taking the load lock and don't touch the link map flag.
24649 * stdlib/tst-tls-atexit-nodelete.c: New test case.
24650 * stdlib/Makefile (tests): Use it.
24651 * stdlib/tst-tls-atexit.c (do_test): dlopen
24652 tst-tls-atexit-lib.so again before dlclose. Add conditionals
24653 to allow tst-tls-atexit-nodelete test case to use it.
24654
24655 2015-07-22 Mike Frysinger <vapier@gentoo.org>
24656
24657 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
24658 to bits/types.h.
24659 (msgqnum_t): New typedef.
24660 (msglen_t): Likewise.
24661 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
24662 and msg_qbytes type to msglen_t.
24663
24664 2015-07-22 Mike Frysinger <vapier@gentoo.org>
24665
24666 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
24667 pad0 to __glibc_reserved0.
24668 (struct stat64): Likewise.
24669
24670 2015-07-22 Mike Frysinger <vapier@gentoo.org>
24671
24672 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24673 Change sa_flags from a long to an int and add __glibc_reserved0 before
24674 it for padding.
24675
24676 2015-07-22 Mike Frysinger <vapier@gentoo.org>
24677
24678 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
24679 anonymous by deleting "siginfo" name.
24680
24681 2015-07-21 Roland McGrath <roland@hack.frob.com>
24682
24683 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
24684 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
24685 rather than __nacl_irt_filename.
24686 * sysdeps/nacl/xstat.c (__xstat): Likewise.
24687
24688 * NEWS: New item for arm-nacl port.
24689 * sysdeps/arm/nacl/libc.abilist: New file.
24690 * sysdeps/nacl/ld.abilist: New file.
24691 * sysdeps/nacl/libBrokenLocale.abilist: New file.
24692 * sysdeps/nacl/libanl.abilist: New file.
24693 * sysdeps/nacl/libcrypt.abilist: New file.
24694 * sysdeps/nacl/libdl.abilist: New file.
24695 * sysdeps/nacl/libm.abilist: New file.
24696 * sysdeps/nacl/libpthread.abilist: New file.
24697 * sysdeps/nacl/libresolv.abilist: New file.
24698 * sysdeps/nacl/librt.abilist: New file.
24699
24700 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
24701
24702 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
24703 __startcontext to initialize the new context.
24704 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
24705 up CFI directive to forbid further backtracing.
24706
24707 2015-07-21 Marko Myllynen <myllynen@redhat.com>
24708
24709 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
24710 reference.
24711 * charmaps/ANSI_X3.4-1968: Likewise.
24712 * charmaps/BS_4730: Likewise.
24713 * charmaps/BS_VIEWDATA: Likewise.
24714 * charmaps/CP1250: Likewise.
24715 * charmaps/CP1251: Likewise.
24716 * charmaps/CP1252: Likewise.
24717 * charmaps/CP1253: Likewise.
24718 * charmaps/CP1254: Likewise.
24719 * charmaps/CP1255: Likewise.
24720 * charmaps/CP1256: Likewise.
24721 * charmaps/CSN_369103: Likewise.
24722 * charmaps/EBCDIC-DK-NO: Likewise.
24723 * charmaps/GB_1988-80: Likewise.
24724 * charmaps/GREEK-CCITT: Likewise.
24725 * charmaps/GREEK7: Likewise.
24726 * charmaps/INIS-8: Likewise.
24727 * charmaps/ISIRI-3342: Likewise.
24728 * charmaps/ISO_2033-1983: Likewise.
24729 * charmaps/ISO_5427-EXT: Likewise.
24730 * locales/POSIX: Likewise.
24731 * locales/ar_SA: Likewise.
24732 * locales/be_BY: Likewise.
24733 * locales/be_BY@latin: Likewise.
24734 * locales/ca_ES: Likewise.
24735 * locales/cs_CZ: Likewise.
24736 * locales/da_DK: Likewise.
24737 * locales/de_BE: Likewise.
24738 * locales/de_CH: Likewise.
24739 * locales/de_LU: Likewise.
24740 * locales/en_AU: Likewise.
24741 * locales/en_BW: Likewise.
24742 * locales/en_CA: Likewise.
24743 * locales/en_DK: Likewise.
24744 * locales/en_GB: Likewise.
24745 * locales/en_IE: Likewise.
24746 * locales/en_NZ: Likewise.
24747 * locales/en_ZA: Likewise.
24748 * locales/en_ZW: Likewise.
24749 * locales/es_AR: Likewise.
24750 * locales/es_BO: Likewise.
24751 * locales/es_CL: Likewise.
24752 * locales/es_CO: Likewise.
24753 * locales/es_DO: Likewise.
24754 * locales/es_EC: Likewise.
24755 * locales/es_ES: Likewise.
24756 * locales/es_HN: Likewise.
24757 * locales/es_MX: Likewise.
24758 * locales/es_PA: Likewise.
24759 * locales/es_PE: Likewise.
24760 * locales/es_PY: Likewise.
24761 * locales/es_SV: Likewise.
24762 * locales/es_US: Likewise.
24763 * locales/es_UY: Likewise.
24764 * locales/es_VE: Likewise.
24765 * locales/et_EE: Likewise.
24766 * locales/fa_IR: Likewise.
24767 * locales/fo_FO: Likewise.
24768 * locales/fr_CA: Likewise.
24769 * locales/fr_CH: Likewise.
24770 * locales/gv_GB: Likewise.
24771 * locales/he_IL: Likewise.
24772 * locales/hr_HR: Likewise.
24773 * locales/id_ID: Likewise.
24774 * locales/is_IS: Likewise.
24775 * locales/it_CH: Likewise.
24776 * locales/iw_IL: Likewise.
24777 * locales/kl_GL: Likewise.
24778 * locales/ko_KR: Likewise.
24779 * locales/kw_GB: Likewise.
24780 * locales/lg_UG: Likewise.
24781 * locales/lt_LT: Likewise.
24782 * locales/lv_LV: Likewise.
24783 * locales/mi_NZ: Likewise.
24784 * locales/nhn_MX: Likewise.
24785 * locales/nl_BE: Likewise.
24786 * locales/pl_PL: Likewise.
24787 * locales/sk_SK: Likewise.
24788 * locales/sl_SI: Likewise.
24789 * locales/sv_FI: Likewise.
24790 * locales/tl_PH: Likewise.
24791 * locales/tr_TR: Likewise.
24792 * locales/vi_VN: Likewise.
24793
24794 2015-07-21 Khem Raj <raj.khem@gmail.com>
24795
24796 [BZ #17475]
24797 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
24798 of tu_IN and bh_IN.
24799
24800 2015-07-21 Mike Frysinger <vapier@gentoo.org>
24801
24802 [BZ #18694]
24803 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
24804 bits/wordsize.h.
24805 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
24806
24807 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24808
24809 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
24810 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
24811 (spawn_thread): New function.
24812 (load): Rename to reg_dtor_and_close. Move dlopen to...
24813 (do_test): ... here. Use IS_LOADED to test for its
24814 availability.
24815
24816 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
24817
24818 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24819
24820 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
24821
24822 [BZ #18696]
24823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
24824 si_addr_bnd.
24825 (si_lower): New.
24826 (si_upper): Likewise.
24827
24828 2015-07-16 David S. Miller <davem@davemloft.net>
24829
24830 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
24831
24832 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24833
24834 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
24835 buffer.
24836 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
24837 fail output information.
24838
24839 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24840
24841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
24842 and strstr-ppc64..
24843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24844 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
24845 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
24846 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
24847 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
24848
24849 2015-07-16 Mike Frysinger <vapier@gentoo.org>
24850
24851 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24852 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24853 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24854 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24855
24856 2015-07-16 Mike Frysinger <vapier@gentoo.org>
24857
24858 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24859 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
24860 rtld_hidden_proto.
24861 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
24862
24863 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24864
24865 * tst-nodelete-opened.c (do_test): Add comment to clarify how
24866 the test can fail.
24867
24868 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
24869
24870 [BZ #18676]
24871 * elf/tst-nodelete-opened.c: New test case.
24872 * elf/tst-nodelete-opened-lib.c: New test case module.
24873 * elf/Makefile (tests, modules-names): Use them.
24874 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
24875 early.
24876
24877 2015-07-15 David S. Miller <davem@davemloft.net>
24878
24879 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
24880 futex-intenal.h
24881 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
24882 * sysdeps/sparc/sparc64/Makefile: Likewise.
24883 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24884 Remove space from macro define.
24885 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
24886
24887 2015-07-15 Pravin Satpute <psatpute@redhat.com>
24888
24889 [BZ #17475]
24890 * locale/iso-639.def: Update Bhili and Tulu language codes as
24891 per iso639-3.
24892
24893 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
24894
24895 * elf/tst-leaks1.c (main): Converted to ...
24896 (do_test): ... this.
24897 (TEST_FUNCTION): New macro.
24898 Include test-skeleton.c.
24899 * localedata/tst-langinfo.c (main): Converted to ...
24900 (do_test): ... this.
24901 (TEST_FUNCTION): New macro.
24902 Include test-skeleton.c.
24903 * math/test-fpucw.c (main): Converted to ...
24904 (do_test): ... this.
24905 (TEST_FUNCTION): New macro.
24906 Include test-skeleton.c.
24907 * math/test-tgmath.c (main): Converted to ...
24908 (do_test): ... this.
24909 (TEST_FUNCTION): New macro.
24910 Include test-skeleton.c.
24911 * math/test-tgmath2.c (main): Converted to ...
24912 (do_test): ... this.
24913 (TEST_FUNCTION): New macro.
24914 Include test-skeleton.c.
24915 * setjmp/tst-setjmp.c (main): Converted to ...
24916 (do_test): ... this.
24917 (TEST_FUNCTION): New macro.
24918 Include test-skeleton.c.
24919 * stdio-common/tst-sscanf.c (main): Converted to ...
24920 (do_test): ... this.
24921 (TEST_FUNCTION): New macro.
24922 Include test-skeleton.c.
24923 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
24924 (do_test): ... this.
24925 (TEST_FUNCTION): New macro.
24926 Include test-skeleton.c.
24927
24928 * elf/tst-audit9.c (main): Converted to ...
24929 (do_test): ... this.
24930 (TEST_FUNCTION): New macro.
24931 Include test-skeleton.c.
24932
24933 2015-07-15 Mike Frysinger <vapier@gentoo.org>
24934
24935 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
24936
24937 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24938
24939 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
24940 New variable.
24941
24942 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24943
24944 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24945
24946 2015-07-14 Roland McGrath <roland@hack.frob.com>
24947
24948 * sysdeps/generic/dl-fileid.h: New file.
24949 * sysdeps/posix/dl-fileid.h: New file.
24950 * sysdeps/nacl/dl-fileid.h: New file.
24951 * include/link.h: Include <dl-fileid.h>.
24952 (struct link_map): Replace l_dev and l_ino with l_file_id.
24953 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
24954 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
24955 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
24956
24957 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24958
24959 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
24960
24961 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24962
24963 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
24964 Add iff $CXX is set.
24965 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
24966 Likewise.
24967 (tst-nodelete-zmodiff): Likewise.
24968 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
24969
24970 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24971
24972 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
24973
24974 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
24975
24976 * sysdeps/aarch64/fpu/math_private.h
24977 (define math_opt_barrier): Add AArch64 version.
24978 (math_force_eval): Likewise.
24979
24980 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
24981
24982 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
24983
24984 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
24985
24986 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
24987 %ld with %jd and cast to intmax_t.
24988 (do_test_length_zero): Likewise.
24989
24990 2015-07-10 Roland McGrath <roland@hack.frob.com>
24991
24992 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
24993
24994 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
24995
24996 * sysdeps/tile/libm-test-ulps: Regenerated.
24997
24998 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
24999 Comment out the whole function, not just its body.
25000
25001 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25002
25003 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25004 locks.
25005
25006 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25007
25008 2015-07-10 Torvald Riegel <triegel@redhat.com>
25009
25010 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25011 (sem_assume_only_signals_cause_futex_EINTR): Remove.
25012
25013 2015-07-10 Torvald Riegel <triegel@redhat.com>
25014
25015 * sysdeps/nptl/futex-internal.h: New file.
25016 * sysdeps/nacl/futex-internal.h: New file.
25017 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25018 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25019 error checking.
25020 (setxid_unmark_thread): Likewise.
25021 (__nptl_setxid): Likewise.
25022 (__wait_lookup_done): Likewise.
25023 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25024 * nptl/nptl-init.c (sighandler_setxid): Likewise.
25025 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25026 * nptl/pthread_once.c (clear_once_control): Likewise.
25027 (__pthread_once_slow): Likewise.
25028 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25029 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25030 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25031 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25032 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25033 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25034 Likewise.
25035 (__pthread_rwlock_rdlock): Likewise.
25036 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25037 Likewise.
25038 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25039 Likewise.
25040 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25041 Likewise.
25042 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25043 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25044 Likewise.
25045 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25046 __ASSUME_PRIVATE_FUTEX check.
25047 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25048 Check that shared futexes are supported.
25049 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25050 wrappers with error checking.
25051 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25052 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25053 * nptl/pthread_barrierattr_setpshared.c
25054 (pthread_barrierattr_setpshared): Check that shared futexes are
25055 supported.
25056 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25057 Likewise.
25058 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25059 Likewise.
25060 * nptl/sem_init.c (futex_private_if_supported): Remove.
25061 (__new_sem_init): Adapt and check that shared futexes are supported.
25062 * nptl/sem_open.c (sem_open): Likewise.
25063 * nptl/sem_post.c (futex_wake): Remove.
25064 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25065 (do_futex_wait): Use futex wrappers with error checking.
25066 * nptl/sem_wait.c: Include lowlevellock.h.
25067 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25068 Use futex_supports_pshared.
25069 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25070 Use futex wrappers with error checking.
25071 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25072 Likewise.
25073 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25074 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25075 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25076 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25077 (futex_wake): Likewise.
25078 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25079 (do_futex_wait): Use futex wrappers with error checking.
25080 (__new_sem_wait_slow): Update EINTR handling.
25081 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25082
25083 2015-07-09 Martin Sebor <msebor@redhat.com>
25084
25085 [BZ #18435]
25086 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25087 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25088 * nptl/Makefile (test-xfail-tst-once5): Define.
25089
25090 2015-07-09 Roland McGrath <roland@hack.frob.com>
25091
25092 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25093 * elf/dl-minimal.c: For readability, reorder some definitions and
25094 introduce more page breaks. Include <stdio.h>.
25095 (__libc_fatal): New function.
25096
25097 * include/unistd.h: Add rtld_hidden_proto for _exit.
25098 * posix/_exit.c: Add rtld_hidden_def.
25099 * sysdeps/mach/hurd/_exit.c: Likewise.
25100 * sysdeps/nacl/_exit.c: Likewise.
25101 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25102 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25103
25104 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
25105
25106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25107 bndmov encoding with zero displacement.
25108
25109 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
25110 H.J. Lu <hongjiu.lu@intel.com>
25111
25112 [BZ #18134]
25113 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25114 * sysdeps/i386/configure: Regenerated.
25115 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25116 (_dl_runtime_profile): Save and restore Intel MPX return bound
25117 registers when calling _dl_call_pltexit. Add
25118 PRESERVE_BND_REGS_PREFIX before return.
25119 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25120 (LRV_BND1_OFFSET): Likewise.
25121 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25122 lrv_bnd1.
25123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25124 typo in bndmov encoding.
25125 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25126 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
25127 branch instructions to preserve bounds.
25128
25129 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25130
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25132 [GLIBC_2.22]: Add fmemopen.
25133
25134 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
25135
25136 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25137 returns an error, also try to use host port from __mach_host_self for
25138 the __vm_wire call.
25139 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25140
25141 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
25142
25143 [BZ #18400]
25144 [BZ #18648]
25145 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25146 Fix pr_uid and pr_gid members.
25147 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25148 definition to elf_greg_t.
25149
25150 2015-07-08 Roland McGrath <roland@hack.frob.com>
25151
25152 [BZ #18383]
25153 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25154 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25155 * sysdeps/arm/configure: Regenerated.
25156 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25157 (test-xfail-tst-tlsalign-static): Variable removed.
25158
25159 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25160 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25161 rather than explicit 'ln -s'.
25162
25163 * resolv/rpc/netdb.h: New file.
25164 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25165
25166 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25167
25168 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25169 length buffers.
25170 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25171 test-skeleton.c.
25172
25173 [BZ #6544]
25174 [BZ #11216]
25175 [BZ #12836]
25176 [BZ #13151]
25177 [BZ #13152]
25178 [BZ #14292]
25179 * include/stdio.h (fmemopen): Remove hidden prototype.
25180 (__fmemopen): Add new hidden prototype.
25181 * libio/Makefile: Add oldfmemopen object.
25182 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25183 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25184 compliance.
25185 * libio/oldfmemopen.c: New file: old fmemopen implementation for
25186 symbol compatibility.
25187 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25188 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25189 fmemopen.
25190 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25191 on append and read mode.
25192 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25193 fmemopen.
25194 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25195 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25196 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25197 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25198 Likewise.
25199 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25200 [GLIBC_2.22]: Likewise.
25201 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25202 Likewise.
25203 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25204 Likewise.
25205 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25206 [GLIBC_2.22]: Likewise.
25207 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25208 [GLIBC_2.22]: Likewise.
25209 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25210 [GLIBC_2.22]: Likewise.
25211 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25212 [GLIBC_2.22]: Likewise.
25213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25214 [GLIBC_2.22]: Likewise.
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25216 [GLIBC_2.22]: Likewise.
25217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25218 [GLIBC_2.22]: Likewise.
25219 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25220 Likewise.
25221 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25222 Likewise.
25223 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25224 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25225 [GLIBC_2.22]: Likewise.
25226 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25227 [GLIBC_2.22]: Likewise.
25228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25229 [GLIBC_2.22]: Likewise.
25230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25231 [GLIBC_2.22]: Likewise.
25232 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25233 Likewise.
25234 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25235 Likewise.
25236 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25237 Likewise.
25238 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25239 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25240
25241 2015-07-08 Carlos O'Donell <carlos@redhat.com>
25242
25243 [BZ #18643]
25244 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25245 IPV6_PATHMTU, and IPV6_DONTFRAG.
25246
25247 2015-07-08 Feng Gao <gfree.wind@gmail.com>
25248
25249 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25250 and _IO_UNBUFFERED.
25251 * libio/oldfileops.c: Likewise.
25252 * libio/wfileops.c: Likewise.
25253
25254 2015-07-08 Mike Frysinger <vapier@gentoo.org>
25255
25256 * nscd/selinux.c: Delete selinux/flask.h include.
25257
25258 2015-07-08 Mike Frysinger <vapier@gentoo.org>
25259
25260 [BZ #18641]
25261 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25262 (putpwent): Likewise.
25263 (getpwnam): Likewise.
25264 (getpwent_r): Likewise.
25265 (getpwuid_r): Likewise.
25266 (getpwnam_r): Likewise.
25267 (fgetpwent_r): Likewise.
25268
25269 2015-07-08 Carlos O'Donell <carlos@redhat.com>
25270
25271 [BZ #18557]
25272 * inet/rcmd.c (__validuser2_sa): Check user first to
25273 short-circuit host check.
25274
25275 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
25276 Mikhail Ilin <m.ilin@samsung.com>
25277
25278 [BZ #17833]
25279 * elf/Makefile (tests): Add tst-nodelete.
25280 (modules-names): Add tst-nodelete-uniquemod.
25281 (tst-nodelete-uniquemod.so-no-z-defs): New.
25282 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25283 (tst-nodelete-zmod.so-no-z-defs): Likewise.
25284 ($(objpfx)tst-nodelete): Likewise.
25285 ($(objpfx)tst-nodelete.out): Likewise.
25286 (LDFLAGS-tst-nodelete): Likewise.
25287 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25288 * elf/dl-close.c (_dl_close_worker): Add a parameter to
25289 implement forced object deletion.
25290 (_dl_close): Pass false to _dl_close_worker.
25291 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25292 * elf/tst-nodelete.cc: New file.
25293 * elf/tst-nodeletelib.cc: Likewise.
25294 * elf/tst-znodeletelib.cc: Likewise.
25295 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25296
25297 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
25298
25299 [BZ #18508]
25300 * stdlib/Makefile ($(objpfx)tst-makecontext3):
25301 Depend on $(libdl).
25302 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25303 is not called infinitely times.
25304 (backtrace_helper): New function.
25305 (trace_arg): New struct.
25306 (st1): Enlarge stack size.
25307 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25308 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25309 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25310 Likewise.
25311
25312 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
25313
25314 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25315
25316 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
25317
25318 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25319 Include sys/types.h instead of bits/types.h.
25320 Remove inclusion of bits/wordsize.h.
25321
25322 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
25323
25324 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25325 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25326 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25327 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25328 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25329 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25330
25331 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
25332
25333 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25334 link-defines.sym.
25335 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25336 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25337 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25338 and LR_SIZE.
25339 * sysdeps/i386/link-defines.sym: New file.
25340
25341 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
25342
25343 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25344 (modules-names): Add tst-auditmod3a tst-auditmod3b.
25345 ($(objpfx)tst-audit3): New rule.
25346 ($(objpfx)tst-audit3.out): Likewise.
25347 * sysdeps/i386/tst-audit3.c: New file.
25348 * sysdeps/i386/tst-audit3.h: Likewise.
25349 * sysdeps/i386/tst-auditmod3a.c: Likewise.
25350 * sysdeps/i386/tst-auditmod3b.c: Likewise.
25351
25352 2015-07-07 Torvald Riegel <triegel@redhat.com>
25353
25354 [BZ #18633]
25355 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25356 pointer in C code.
25357 (__strcat_c): Likewise.
25358 (__strcat_g): Likewise.
25359
25360 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
25361
25362 [BZ #18592]
25363 * misc/sbrk.c: Set errno to ENOMEM on overflow.
25364
25365 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
25366
25367 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25368 New function. (__ieee754_sqrtf): New function.
25369 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25370 New function.
25371 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25372 New function.
25373
25374 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
25375
25376 * sysdeps/ieee754/support.c: Remove unused file.
25377
25378 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
25379
25380 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
25381 registers instead of d ones so the layout is kernel abi compatible.
25382 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
25383 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
25384 Likewise.
25385
25386 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25387
25388 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25389
25390 2015-07-01 Joseph Myers <joseph@codesourcery.com>
25391
25392 [BZ #18619]
25393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
25394 and return argument in case of subnormal argument.
25395
25396 2015-07-01 Martin Sebor <msebor@redhat.com>
25397
25398 [BZ #18435]
25399 * nptl/Makefile: Add tst-once5.cc.
25400 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25401 Remove macro redefinitions.
25402 * nptl/tst-once5.cc: New test.
25403
25404 2015-07-01 Joseph Myers <joseph@codesourcery.com>
25405
25406 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25407
25408 * sysdeps/arm/libm-test-ulps: Regenerated.
25409
25410 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25411 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25412
25413 2015-06-30 Torvald Riegel <triegel@redhat.com>
25414
25415 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
25416 lll_lock_wait_private and lll_futex_wake probes.
25417
25418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25419 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
25420 Likewise.
25421 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
25422 atomic_spin_nop.
25423 * sysdeps/x86_64/bits/atomic.h: Likewise.
25424 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
25425 to atomic_spin_nop and move ...
25426 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25427 ... here and ...
25428 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
25429 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
25430 atomic_spin_nop instead of BUSY_WAIT_NOP.
25431 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
25432 Likewise.
25433 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
25434 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25435 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
25436 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
25437 instead of atomic_delay.
25438
25439 2015-06-29 Joseph Myers <joseph@codesourcery.com>
25440
25441 [BZ #18613]
25442 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
25443 X_ADJ not X when adjusting exponent.
25444 (__ieee754_gamma_r): Do intermediate computations in
25445 round-to-nearest then adjust overflowing and underflowing results
25446 as needed.
25447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
25448 of X_ADJ not X when adjusting exponent.
25449 (__ieee754_gammaf_r): Do intermediate computations in
25450 round-to-nearest then adjust overflowing and underflowing results
25451 as needed.
25452 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
25453 log of X_ADJ not X when adjusting exponent.
25454 (__ieee754_gammal_r): Do intermediate computations in
25455 round-to-nearest then adjust overflowing and underflowing results
25456 as needed. Use 1.0L not 1.0f as numerator of division.
25457 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
25458 log of X_ADJ not X when adjusting exponent.
25459 (__ieee754_gammal_r): Do intermediate computations in
25460 round-to-nearest then adjust overflowing and underflowing results
25461 as needed. Use 1.0L not 1.0f as numerator of division.
25462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
25463 of X_ADJ not X when adjusting exponent.
25464 (__ieee754_gammal_r): Do intermediate computations in
25465 round-to-nearest then adjust overflowing and underflowing results
25466 as needed. Use 1.0L not 1.0f as numerator of division.
25467 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
25468 to auto-libm-test-in.
25469 (tgamma_test): Use ALL_RM_TEST.
25470 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
25471 tests of tgamma with spurious-overflow.
25472 * math/auto-libm-test-out: Regenerated.
25473 * math/gen-libm-have-vector-test.sh: Do not check for START.
25474 * sysdeps/i386/fpu/libm-test-ulps: Update.
25475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25476
25477 [BZ #18612]
25478 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
25479 arguments, just return 0.5 times the argument, with underflow
25480 forced as needed.
25481 * math/auto-libm-test-in: Add more tests of j1.
25482 * math/auto-libm-test-out: Regenerated.
25483
25484 [BZ #16559]
25485 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
25486 (__ieee754_j1): Force underflow exception for small results.
25487 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25488 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
25489 (__ieee754_j1f): Force underflow exception for small results.
25490 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25491 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25493 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
25494 (__ieee754_j1l): Force underflow exception for small results.
25495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25496 * math/auto-libm-test-in: Add more tests of j1 and jn.
25497 * math/auto-libm-test-out: Regenerated.
25498
25499 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
25500 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
25501 (PF_MPLS): Likewise.
25502 (AF_IB): Likewise.
25503 (AF_MPLS): Likewise.
25504 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
25505 value and macro.
25506 (MS_RMT_MASK): Include MS_LAZYTIME.
25507
25508 2015-06-26 Mel Gorman <mgorman@suse.de>
25509
25510 [BZ #18502]
25511 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
25512 already minimal.
25513
25514 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
25515
25516 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
25517 (DT_MIPS_NUM): Update.
25518 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
25519 DT_MIPS_RLD_MAP_REL.
25520
25521 2015-06-25 Joseph Myers <joseph@codesourcery.com>
25522
25523 [BZ #16559]
25524 [BZ #18602]
25525 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
25526 round-to-nearest internally then recompute results that
25527 underflowed to zero in the original rounding mode.
25528 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25529 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25531 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25532 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
25533 * sysdeps/i386/fpu/libm-test-ulps: Update.
25534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25535
25536 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
25537
25538 * NEWS: Fixed description of link with vector math library.
25539
25540 2015-06-25 Andreas Schwab <schwab@suse.de>
25541
25542 [BZ #18549]
25543 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
25544 * libio/test-fmemopen.c (do_test): Add test for it.
25545
25546 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
25547
25548 [BZ #17841]
25549 * Makeconfig (no-pie-ldflag): New.
25550 (+link): Set to $(+link-pie) if default to PIE.
25551 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
25552 * config.make.in (build-pie-default): New.
25553 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
25554 is default. AC_SUBST.
25555 * configure: Regenerated.
25556 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
25557
25558 2015-06-24 Roland McGrath <roland@hack.frob.com>
25559
25560 * nptl/descr.h (struct pthread): Change type of field setxid_futex
25561 to 'unsigned int'.
25562
25563 * resolv/gai_misc.h (struct waitlist): Change type of field
25564 counterp to 'volatile unsigned int *'.
25565 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
25566 FUTEXADDR and OLDVAL.
25567 * resolv/getaddrinfo_a.c (getaddrinfo_a):
25568 Give local variable TOTAL type 'volatile unsigned int'.
25569 (struct async_waitlist): Change type of field counter to 'unsigned int'.
25570 * resolv/gai_suspend.c (gai_suspend):
25571 Give local variable CNTR type 'unsigned int'.
25572
25573 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
25574 counterp to 'volatile unsigned int *'.
25575 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
25576 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
25577 (aio_suspend): Give local variable CNTR type 'unsigned int'.
25578 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
25579 Give local variable TOTAL type 'volatile unsigned int'.
25580 (struct async_waitlist): Change type of field counter to 'unsigned int'.
25581
25582 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 [BZ #18383]
25585 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
25586 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
25587 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
25588 comment for i386/x86-64.
25589 (test-xfail-tst-tlsalign-extern-static): Removed.
25590
25591 2015-06-24 Joseph Myers <joseph@codesourcery.com>
25592
25593 * math/test-double.h: New file.
25594 * math/test-float.h: Likewise.
25595 * math/test-ldouble.h: Likewise.
25596 * math/test-math-inline.h: Likewise.
25597 * math/test-math-no-inline.h: Likewise.
25598 * math/test-math-scalar.h: Likewise.
25599 * math/test-math-vector.h: Likewise.
25600 * math/test-vec-loop.h: Remove file. Contents moved into
25601 test-math-vector.h.
25602 * math/libm-test.inc (MATHCONST): Do not document macro.
25603 * math/test-double.c: Include test-double.h, test-math-no-inline.h
25604 and test-math-scalar.h.
25605 (FUNC): Remove macro.
25606 (FUNC_TEST): Likewise.
25607 (FLOAT): Likewise.
25608 (MATHCONST): Likewise.
25609 (PRINTF_EXPR): Likewise.
25610 (PRINTF_XEXPR): Likewise.
25611 (PRINTF_NEXPR): Likewise.
25612 (TEST_DOUBLE): Likewise.
25613 (TEST_MATHVEC): Likewise.
25614 (__NO_MATH_INLINES): Likewise.
25615 * math/test-float.c: Include test-float.h, test-math-no-inline.h
25616 and test-math-scalar.h.
25617 (FUNC): Remove macro.
25618 (FUNC_TEST): Likewise.
25619 (FLOAT): Likewise.
25620 (MATHCONST): Likewise.
25621 (PRINTF_EXPR): Likewise.
25622 (PRINTF_XEXPR): Likewise.
25623 (PRINTF_NEXPR): Likewise.
25624 (TEST_FLOAT): Likewise.
25625 (TEST_MATHVEC): Likewise.
25626 (__NO_MATH_INLINES): Likewise.
25627 * math/test-idouble.c: Include test-double.h, test-math-inline.h
25628 and test-math-scalar.h.
25629 (FUNC): Remove macro.
25630 (FUNC_TEST): Likewise.
25631 (FLOAT): Likewise.
25632 (MATHCONST): Likewise.
25633 (PRINTF_EXPR): Likewise.
25634 (PRINTF_XEXPR): Likewise.
25635 (PRINTF_NEXPR): Likewise.
25636 (TEST_DOUBLE): Likewise.
25637 (TEST_MATHVEC): Likewise.
25638 (TEST_INLINE): Likewise.
25639 (__NO_MATH_INLINES): Likewise.
25640 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
25641 test-math-scalar.h.
25642 (FUNC): Remove macro.
25643 (FUNC_TEST): Likewise.
25644 (FLOAT): Likewise.
25645 (MATHCONST): Likewise.
25646 (PRINTF_EXPR): Likewise.
25647 (PRINTF_XEXPR): Likewise.
25648 (PRINTF_NEXPR): Likewise.
25649 (TEST_FLOAT): Likewise.
25650 (TEST_MATHVEC): Likewise.
25651 (TEST_INLINE): Likewise.
25652 (__NO_MATH_INLINES): Likewise.
25653 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
25654 and test-math-scalar.h.
25655 (FUNC): Remove macro.
25656 (FUNC_TEST): Likewise.
25657 (FLOAT): Likewise.
25658 (MATHCONST): Likewise.
25659 (PRINTF_EXPR): Likewise.
25660 (PRINTF_XEXPR): Likewise.
25661 (PRINTF_NEXPR): Likewise.
25662 (TEST_LDOUBLE): Likewise.
25663 (TEST_MATHVEC): Likewise.
25664 (TEST_INLINE): Likewise.
25665 (__NO_MATH_INLINES): Likewise.
25666 * math/test-ldouble.c: Include test-ldouble.h,
25667 test-math-no-inline.h and test-math-scalar.h.
25668 (FUNC): Remove macro.
25669 (FUNC_TEST): Likewise.
25670 (FLOAT): Likewise.
25671 (MATHCONST): Likewise.
25672 (PRINTF_EXPR): Likewise.
25673 (PRINTF_XEXPR): Likewise.
25674 (PRINTF_NEXPR): Likewise.
25675 (TEST_LDOUBLE): Likewise.
25676 (TEST_MATHVEC): Likewise.
25677 (__NO_MATH_INLINES): Likewise.
25678 * math/test-double-vlen2.h: Include test-double.h,
25679 test-math-no-inline.h and test-math-vector.h.
25680 (FLOAT): Remove macro.
25681 (FUNC): Likewise.
25682 (MATHCONST): Likewise.
25683 (PRINTF_EXPR): Likewise.
25684 (PRINTF_XEXPR): Likewise.
25685 (PRINTF_NEXPR): Likewise.
25686 (TEST_DOUBLE): Likewise.
25687 (TEST_MATHVEC): Likewise.
25688 (__NO_MATH_INLINES): Likewise.
25689 (CNCT): Likewise.
25690 (CONCAT): Likewise.
25691 (WRAPPER_NAME): Likewise.
25692 (WRAPPER_DECL): Likewise.
25693 (WRAPPER_DECL_ff): Likewise.
25694 (WRAPPER_DECL_fFF): Likewise.
25695 (VECTOR_WRAPPER): Likewise.
25696 (VECTOR_WRAPPER_ff): Likewise.
25697 (VECTOR_WRAPPER_fFF): Likewise.
25698 (VEC_LEN): New macro.
25699 * math/test-double-vlen4.h: Include test-double.h,
25700 test-math-no-inline.h and test-math-vector.h.
25701 (FLOAT): Remove macro.
25702 (FUNC): Likewise.
25703 (MATHCONST): Likewise.
25704 (PRINTF_EXPR): Likewise.
25705 (PRINTF_XEXPR): Likewise.
25706 (PRINTF_NEXPR): Likewise.
25707 (TEST_DOUBLE): Likewise.
25708 (TEST_MATHVEC): Likewise.
25709 (__NO_MATH_INLINES): Likewise.
25710 (CNCT): Likewise.
25711 (CONCAT): Likewise.
25712 (WRAPPER_NAME): Likewise.
25713 (WRAPPER_DECL): Likewise.
25714 (WRAPPER_DECL_ff): Likewise.
25715 (WRAPPER_DECL_fFF): Likewise.
25716 (VECTOR_WRAPPER): Likewise.
25717 (VECTOR_WRAPPER_ff): Likewise.
25718 (VECTOR_WRAPPER_fFF): Likewise.
25719 (VEC_LEN): New macro.
25720 * math/test-double-vlen8.h: Include test-double.h,
25721 test-math-no-inline.h and test-math-vector.h.
25722 (FLOAT): Remove macro.
25723 (FUNC): Likewise.
25724 (MATHCONST): Likewise.
25725 (PRINTF_EXPR): Likewise.
25726 (PRINTF_XEXPR): Likewise.
25727 (PRINTF_NEXPR): Likewise.
25728 (TEST_DOUBLE): Likewise.
25729 (TEST_MATHVEC): Likewise.
25730 (__NO_MATH_INLINES): Likewise.
25731 (CNCT): Likewise.
25732 (CONCAT): Likewise.
25733 (WRAPPER_NAME): Likewise.
25734 (WRAPPER_DECL): Likewise.
25735 (WRAPPER_DECL_ff): Likewise.
25736 (WRAPPER_DECL_fFF): Likewise.
25737 (VECTOR_WRAPPER): Likewise.
25738 (VECTOR_WRAPPER_ff): Likewise.
25739 (VECTOR_WRAPPER_fFF): Likewise.
25740 (VEC_LEN): New macro.
25741 * math/test-float-vlen4.h: Include test-float.h,
25742 test-math-no-inline.h and test-math-vector.h.
25743 (FLOAT): Remove macro.
25744 (FUNC): Likewise.
25745 (MATHCONST): Likewise.
25746 (PRINTF_EXPR): Likewise.
25747 (PRINTF_XEXPR): Likewise.
25748 (PRINTF_NEXPR): Likewise.
25749 (TEST_FLOAT): Likewise.
25750 (TEST_MATHVEC): Likewise.
25751 (__NO_MATH_INLINES): Likewise.
25752 (CNCT): Likewise.
25753 (CONCAT): Likewise.
25754 (WRAPPER_NAME): Likewise.
25755 (WRAPPER_DECL): Likewise.
25756 (WRAPPER_DECL_ff): Likewise.
25757 (WRAPPER_DECL_fFF): Likewise.
25758 (VECTOR_WRAPPER): Likewise.
25759 (VECTOR_WRAPPER_ff): Likewise.
25760 (VECTOR_WRAPPER_fFF): Likewise.
25761 (VEC_LEN): New macro.
25762 * math/test-float-vlen8.h: Include test-float.h,
25763 test-math-no-inline.h and test-math-vector.h.
25764 (FLOAT): Remove macro.
25765 (FUNC): Likewise.
25766 (MATHCONST): Likewise.
25767 (PRINTF_EXPR): Likewise.
25768 (PRINTF_XEXPR): Likewise.
25769 (PRINTF_NEXPR): Likewise.
25770 (TEST_FLOAT): Likewise.
25771 (TEST_MATHVEC): Likewise.
25772 (__NO_MATH_INLINES): Likewise.
25773 (CNCT): Likewise.
25774 (CONCAT): Likewise.
25775 (WRAPPER_NAME): Likewise.
25776 (WRAPPER_DECL): Likewise.
25777 (WRAPPER_DECL_ff): Likewise.
25778 (WRAPPER_DECL_fFF): Likewise.
25779 (VECTOR_WRAPPER): Likewise.
25780 (VECTOR_WRAPPER_ff): Likewise.
25781 (VECTOR_WRAPPER_fFF): Likewise.
25782 (VEC_LEN): New macro.
25783 * math/test-float-vlen16.h: Include test-float.h,
25784 test-math-no-inline.h and test-math-vector.h.
25785 (FLOAT): Remove macro.
25786 (FUNC): Likewise.
25787 (MATHCONST): Likewise.
25788 (PRINTF_EXPR): Likewise.
25789 (PRINTF_XEXPR): Likewise.
25790 (PRINTF_NEXPR): Likewise.
25791 (TEST_FLOAT): Likewise.
25792 (TEST_MATHVEC): Likewise.
25793 (__NO_MATH_INLINES): Likewise.
25794 (CNCT): Likewise.
25795 (CONCAT): Likewise.
25796 (WRAPPER_NAME): Likewise.
25797 (WRAPPER_DECL): Likewise.
25798 (WRAPPER_DECL_ff): Likewise.
25799 (WRAPPER_DECL_fFF): Likewise.
25800 (VECTOR_WRAPPER): Likewise.
25801 (VECTOR_WRAPPER_ff): Likewise.
25802 (VECTOR_WRAPPER_fFF): Likewise.
25803 (VEC_LEN): New macro.
25804 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
25805 test-vec-loop.h.
25806 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25807 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25808 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25809 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25810 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25811 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25812 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25813
25814 2015-06-24 Roland McGrath <roland@hack.frob.com>
25815
25816 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
25817 (__getlogin_r): ... this.
25818
25819 2015-06-24 Joseph Myers <joseph@codesourcery.com>
25820
25821 [BZ #18594]
25822 * math/s_ccosh.c (__ccosh): Compare with least normal value
25823 instead of comparing class with FP_SUBNORMAL.
25824 * math/s_ccoshf.c (__ccoshf): Likewise.
25825 * math/s_ccoshl.c (__ccoshl): Likewise.
25826 * math/s_cexp.c (__cexp): Likewise.
25827 * math/s_cexpf.c (__cexpf): Likewise.
25828 * math/s_cexpl.c (__cexpl): Likewise.
25829 * math/s_csin.c (__csin): Likewise.
25830 * math/s_csinf.c (__csinf): Likewise.
25831 * math/s_csinh.c (__csinh): Likewise.
25832 * math/s_csinhf.c (__csinhf): Likewise.
25833 * math/s_csinhl.c (__csinhl): Likewise.
25834 * math/s_csinl.c (__csinl): Likewise.
25835 * math/s_ctan.c (__ctan): Likewise.
25836 * math/s_ctanf.c (__ctanf): Likewise.
25837 * math/s_ctanh.c (__ctanh): Likewise.
25838 * math/s_ctanhf.c (__ctanhf): Likewise.
25839 * math/s_ctanhl.c (__ctanhl): Likewise.
25840 * math/s_ctanl.c (__ctanl): Likewise.
25841 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
25842 csin, csinh, ctan and ctanh.
25843 * math/auto-libm-test-out: Regenerated.
25844 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
25845 * sysdeps/i386/fpu/libm-test-ulps: Update.
25846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25847
25848 2015-06-24 Roland McGrath <roland@hack.frob.com>
25849
25850 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
25851 return value is wrong, print the expected value too.
25852
25853 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
25854
25855 [BZ #18585]
25856 * elf/readlib.c (is_gdb_python_file): New.
25857 (process_file): Don't issue errors on filenames with -gdb.py
25858 suffix.
25859
25860 2015-06-24 Joseph Myers <joseph@codesourcery.com>
25861
25862 * math/auto-libm-test-in: Add more tests of csin and csinh.
25863 * math/auto-libm-test-out: Regenerated.
25864 * math/libm-test.inc (csin_test_data): Remove tests moved to
25865 auto-libm-test-in.
25866 (csinh_test_data): Likewise.
25867
25868 [BZ #18593]
25869 * math/s_csin.c (__csin): Negate before rather than after possibly
25870 overflowing multiplication.
25871 * math/s_csinf.c (__csinf): Likewise.
25872 * math/s_csinh.c (__csinh): Likewise.
25873 * math/s_csinhf.c (__csinhf): Likewise.
25874 * math/s_csinhl.c (__csinhl): Likewise.
25875 * math/s_csinl.c (__csinl): Likewise.
25876 * math/auto-libm-test-in: Add some tests of csin and csinh.
25877 * math/auto-libm-test-out: Regenerated.
25878 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
25879 (csinh_test_data): Likewise.
25880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25881
25882 [BZ #18586]
25883 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
25884 underflow exception for small results.
25885
25886 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
25887
25888 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25889 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
25890 variable and included header.
25891 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
25892 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
25893 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
25894 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
25895 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
25896 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
25897 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
25898 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
25899 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
25900 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
25901 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
25902 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
25903 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25904 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
25905 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
25906 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
25907
25908 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25909
25910 [BZ #16526]
25911 [BZ #16538]
25912 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
25913 (__sin): Force underflow exception for arguments with small
25914 absolute value.
25915 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
25916 (__kernel_sinf): Force underflow exception for arguments with
25917 small absolute value.
25918 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
25919 (__kernel_sincosl): Force underflow exception for arguments with
25920 small absolute value.
25921 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
25922 (__kernel_sinl): Force underflow exception for arguments with
25923 small absolute value.
25924 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
25925 (__kernel_sincosl): Force underflow exception for arguments with
25926 small absolute value.
25927 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
25928 (__kernel_sinl): Force underflow exception for arguments with
25929 small absolute value.
25930 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
25931 (__kernel_sinl): Force underflow exception for arguments with
25932 small absolute value.
25933 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
25934 (__kernel_sinf): Force underflow exception for arguments with
25935 small absolute value.
25936 * math/auto-libm-test-in: Add more tests of sin and sincos.
25937 * math/auto-libm-test-out: Regenerated.
25938
25939 [BZ #18245]
25940 [BZ #18583]
25941 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
25942 (__kernel_standard_l): Use feholdexcept and fesetenv around
25943 conversion to double instead of special-casing overflow and
25944 underflow.
25945 * math/libm-test.inc (fmod_test_data): Add more tests.
25946 (remainder_test_data): Likewise.
25947 (sqrt_test_data): Likewise.
25948
25949 2015-06-23 Torvald Riegel <triegel@redhat.com>
25950
25951 [BZ #17403]
25952 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
25953 atomic_read_barrier, atomic_write_barrier): Define.
25954 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
25955 atomic_read_barrier, atomic_write_barrier): Define.
25956
25957 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25958
25959 * math/Makefile [$(PERL) != no]
25960 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
25961 dependency on libm-test.stmp below the inclusion of Rules.
25962
25963 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
25964
25965 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25966 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
25967 and included header.
25968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
25969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
25970 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
25971 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
25972 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
25973 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
25974 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
25975 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
25976 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
25977 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
25978 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
25979 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
25980 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
25981 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
25982 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
25983 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
25984 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
25985 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
25986 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
25987
25988 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25989
25990 [BZ #18371]
25991 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
25992 intermediate but not final result might underflow.
25993 * math/s_csqrtf.c (__csqrtf): Likewise.
25994 * math/s_csqrtl.c (__csqrtl): Likewise.
25995 * math/auto-libm-test-in: Add more tests of csqrt.
25996 * math/auto-libm-test-out: Regenerated.
25997 * sysdeps/i386/fpu/libm-test-ulps: Update.
25998
25999 [BZ #18219]
26000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26001 threshold on absolute value of exponent for which scaling is used.
26002 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26003 * math/auto-libm-test-in: Add more tests of exp2.
26004 * math/auto-libm-test-out: Regenerated.
26005
26006 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
26007
26008 [BZ #17977]
26009 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26010 when initializing interface list, based on the bug analysis
26011 and the patch proposed by Eric Newton.
26012 * resolv/tst-res_hconf_reorder.c: New test.
26013 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26014 tst-res_hconf_reorder.
26015 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26016 and $(shared-thread-library).
26017 (tst-res_hconf_reorder-ENV): New variable.
26018
26019 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26020 in comment.
26021
26022 2015-06-22 Joseph Myers <joseph@codesourcery.com>
26023
26024 [BZ #16353]
26025 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26026 (__expm1): Force underflow exception for arguments with small
26027 absolute value.
26028 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26029 (__expm1f): Force underflow exception for arguments with small
26030 absolute value.
26031 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26032 (__expm1): Force underflow exception for arguments with small
26033 absolute value.
26034 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26035 (__expm1f): Force underflow exception for arguments with small
26036 absolute value.
26037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26038 Check for small arguments before calling __expm1.
26039 * math/auto-libm-test-in: Do not mark underflow exceptions as
26040 possibly missing for bug 16353.
26041 * math/auto-libm-test-out: Regenerated.
26042
26043 2015-06-22 Andreas Schwab <schwab@suse.de>
26044
26045 [BZ #18513]
26046 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26047 PTR queries.
26048
26049 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
26050
26051 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26052
26053 * string/strcoll_l.c: Remove unused struct element idxnow.
26054
26055 2015-06-21 Joseph Myers <joseph@codesourcery.com>
26056
26057 [BZ #18569]
26058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26059 underflow and return argument in case of subnormal argument.
26060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26061 Likewise.
26062 * math/auto-libm-test-in: Add more tests of expm1.
26063 * math/auto-libm-test-out: Regenerated.
26064
26065 [BZ #16361]
26066 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26067 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26068 tiny results.
26069 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26070 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26071 tiny results.
26072 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
26073 mark underflow exceptions as possibly missing for bug 16361.
26074 * math/auto-libm-test-out: Regenerated.
26075
26076 2015-06-19 Joseph Myers <joseph@codesourcery.com>
26077
26078 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26079 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26080 Remove variable.
26081 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26082 (test-xfail-XOPEN2K8/utmpx.h/conform).
26083
26084 * conform/conformtest.pl ($xerrors): New variable.
26085 (note_error): New function.
26086 (compiletest): New argument $xfail. Use not_error.
26087 (runtest): Likewise.
26088 (top level): Handle xfail- lines. Update calls to compiletest and
26089 runtest. Handle xfail- and optional- in headers listed with
26090 allow-header.
26091 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26092 (O_EXEC): Likewise.
26093 (O_SEARCH): Likewise.
26094 * conform/data/stropts.h-data (ioctl): Likewise.
26095 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26096 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26097 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26098 (msghdr.msg_controllen): Likewise.
26099 (cmsghdr.cmsg_len): Likewise.
26100 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26101 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26102 variable.
26103 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26104 (test-xfail-XPG4/stropts.h/conform): Likewise.
26105 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26106 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26107 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26108 (test-xfail-UNIX98/stropts.h/conform): Likewise.
26109 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26110 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26111 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26112 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26113 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26114 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26115 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26116 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26117 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26118 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26119 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26120 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26121 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26122 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26123 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26124
26125 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
26126
26127 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26128 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26129 definitions for proper unfolding of __MATHDECL_VEC.
26130
26131 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
26132
26133 * benchtests/bench-strcoll.c:
26134 Include string.h.
26135 (main): Remove unused variable res.
26136
26137 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
26138
26139 * timezone/Makefile (%/UTC %/Universal):
26140 Generate test-result files for UTC and Universal.
26141
26142 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
26143
26144 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26145
26146 2015-06-18 Joseph Myers <joseph@codesourcery.com>
26147
26148 [BZ #16350]
26149 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26150 for arguments with small absolute value.
26151 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26152 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26153 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26154 (__asinh): Force underflow exception for arguments with small
26155 absolute value.
26156 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26157 (__asinhf): Force underflow exception for arguments with small
26158 absolute value.
26159 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26160 (__asinhl): Force underflow exception for arguments with small
26161 absolute value.
26162 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26163 (__asinhl): Force underflow exception for arguments with small
26164 absolute value.
26165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26166 (__asinhl): Force underflow exception for arguments with small
26167 absolute value.
26168 * math/auto-libm-test-in: Do not mark underflow exceptions as
26169 possibly missing for bug 16350.
26170 * math/auto-libm-test-out: Regenerated.
26171
26172 * include/bits/ipc.h: Remove file.
26173 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26174 variable.
26175 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26176 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26177 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26178 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26179 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26180 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26181 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26182 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26183 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26184
26185 * math/auto-libm-test-in: Remove spurious underflow allowance for
26186 tests of cexp.
26187 * math/auto-libm-test-out: Regenerated.
26188
26189 [BZ #18558]
26190 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26191 unconditional definition.
26192 (MCAST_BLOCK_SOURCE): Likewise.
26193 (MCAST_UNBLOCK_SOURCE): Likewise.
26194 (MCAST_LEAVE_GROUP): Likewise.
26195 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26196 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26197 (MCAST_MSFILTER): Likewise.
26198 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26199 Remove variable.
26200 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26201 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26202 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26203 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26204 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26205
26206 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
26207
26208 * NEWS: Mention addition of x86_64 vector sincosf.
26209 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26210 * math/test-float-vlen4.h: Likewise.
26211 * math/test-float-vlen8.h: Likewise.
26212 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26213 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26214 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26215 * sysdeps/x86_64/fpu/Versions: New versions added.
26216 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26217 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26218 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26219 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26220 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26221 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26222 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26223 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26224 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26225 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26226 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26227 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26228 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26229 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26230 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26231 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26232 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26233 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26234 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26235 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26236 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26237 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26238 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26239 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26240
26241 * NEWS: Mention addition of x86_64 vector sincos.
26242 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26243 * math/math.h (__MATHDECL_VEC): New macro.
26244 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26245 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26246 declaration under condition.
26247 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26248 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26249 TEST_VEC_LOOP change.
26250 * math/test-double-vlen4.h: Likewise.
26251 * math/test-double-vlen8.h: Likewise.
26252 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26253 * math/test-float-vlen4.h: Likewise.
26254 * math/test-float-vlen8.h: Likewise.
26255 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26256 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26257 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26258 * sysdeps/x86_64/fpu/Versions: New versions added.
26259 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26260 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26261 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26263 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26264 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26266 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26268 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26269 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26270 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26271 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26272 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26273 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26274 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26275 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26276 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26277 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26278 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26279 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26280 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26281 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26282 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26283
26284 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26285 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26286 redirections for powf.
26287 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26288 * sysdeps/x86_64/fpu/Versions: New versions added.
26289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26290 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26291 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26292 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26293 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26294 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26295 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26296 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26297 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26298 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26299 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26300 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26301 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26302 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26303 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26304 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26305 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26306 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26307 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26308 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26309 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26310 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26311 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26312 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26313 * math/test-float-vlen16.h: Fixed 2 argument macro.
26314 * math/test-float-vlen4.h: Likewise.
26315 * math/test-float-vlen8.h: Likewise.
26316 * NEWS: Mention addition of x86_64 vector powf.
26317
26318 2015-06-17 Joseph Myers <joseph@codesourcery.com>
26319
26320 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26321 and redefine.
26322 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26323 and redefine.
26324 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26325 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26327
26328 [BZ #18553]
26329 * resource/getpriority.c (getpriority): Rename to __getpriority
26330 and define as weak alias of __getpriority.
26331 * resource/setpriority.c (setpriority): Rename to __setpriority
26332 and define as weak alias of __setpriority.
26333 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26334 __getpriority and define as weak alias of __getpriority.
26335 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26336 __setpriority and define as weak alias of __setpriority.
26337 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26338 strong name.
26339 (setpriority): Use __setpriority as strong name.
26340 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26341 __getpriority and define as weak alias of __getpriority.
26342 * include/sys/resource.h (__getpriority): Declare. Use
26343 libc_hidden_proto.
26344 (__setpriority): Likewise.
26345 (getpriority): Don't use libc_hidden_proto.
26346 (setpriority): Likewise.
26347 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26348 getpriority. Call __setpriority instead of setpriority.
26349 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26350 Remove variable.
26351
26352 [BZ #18547]
26353 * misc/getttyent.c (getttynam): Rename to __getttynam and define
26354 as weak alias of __getttynam. Use prototype function definition.
26355 Call __setttyent, __getttyent and __endttyent instead of
26356 setttyent, getttyent and endttyent.
26357 (getttyent): Rename to __getttyent and define as weak alias of
26358 __getttyent. Call __setttyent instead of setttyent. Call
26359 __fgets_unlocked instead of fgets_unlocked.
26360 (setttyent): Rename to __setttyent and define as weak alias of
26361 __setttyent.
26362 (endttyent): Rename to __endttyent and define as weak alias of
26363 __endttyent.
26364 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
26365 (__setttyent): Likewise.
26366 (__endttyent): Likewise.
26367 (getttyent): Don't use libc_hidden_proto.
26368 (setttyent): Likewise.
26369 (endttyent): Likewise.
26370 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26371 __endttyent instead of setttyent, getttyent and endttyent.
26372 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26373 Remove variable.
26374
26375 [BZ #18546]
26376 * socket/recv.c (__recv): Use libc_hidden_def.
26377 * socket/socket.c (__socket): Likewise.
26378 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26379 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26380 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
26381 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
26382 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
26383 libc_hidden_def.
26384 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
26385 libc_hidden_weak.
26386 * include/sys/socket.h (__socket): Do not use attribute_hidden.
26387 Use libc_hidden_proto.
26388 (__recv): Likewise.
26389 * socket/Versions (libc): Export __recv and __socket at version
26390 GLIBC_PRIVATE.
26391 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
26392 instead of recv.
26393 (init_mq_netlink): Call __socket instead of socket.
26394 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
26395 Remove variable.
26396
26397 [BZ #18545]
26398 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
26399 __mq_timedreceive and define as alias of __mq_timedreceive. Use
26400 hidden_weak.
26401 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
26402 define as alias of __mq_timedsend. Use hidden_weak.
26403 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
26404 __mq_timedsend as strong name.
26405 (mq_timedreceive): Use __mq_timedreceive as strong name.
26406 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
26407 (__mq_timedreceive): Likewise.
26408 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
26409 __mq_timedreceive instead of mq_timedreceive.
26410 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
26411 instead of mq_timedsend.
26412 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
26413 Remove variable.
26414
26415 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
26416 hidden_def and hidden_weak instead of libc_hidden_def and
26417 libc_hidden_weak.
26418 (top level): Refer to hidden_def in comment.
26419 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26420 macro. Use it instead of libc_hidden_def.
26421 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
26422 specify __GI_* name explicitly.
26423 (mq_timedreceive): Likewise.
26424 (mq_setattr): Likewise.
26425
26426 [BZ #18544]
26427 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
26428 __pthread_barrier_init and define as weak alias of
26429 __pthread_barrier_init.
26430 * sysdeps/sparc/nptl/pthread_barrier_init.c
26431 (pthread_barrier_init): Likewise.
26432 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
26433 __pthread_barrier_wait and define as weak alias of
26434 __pthread_barrier_wait.
26435 * sysdeps/sparc/nptl/pthread_barrier_wait.c
26436 (pthread_barrier_wait): Likewise.
26437 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26438 (pthread_barrier_wait): Likewise.
26439 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
26440 (pthread_barrier_wait): Likewise.
26441 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
26442 (pthread_barrier_wait): Likewise.
26443 * nptl/Versions (libpthread): Export __pthread_barrier_init and
26444 __pthread_barrier_wait at version GLIBC_PRIVATE.
26445 * include/pthread.h (__pthread_barrier_init): Declare.
26446 (__pthread_barrier_wait): Likewise.
26447 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
26448 Call __pthread_barrier_wait instead of pthread_barrier_wait.
26449 (helper_thread): Likewise.
26450 (init_mq_netlink): Call __pthread_barrier_init instead of
26451 pthread_barrier_init.
26452
26453 [BZ #18542]
26454 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
26455 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
26456 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
26457 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
26458 vswscanf.
26459 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
26460 Remove variable.
26461
26462 [BZ #18540]
26463 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
26464 strong alias of _IO_fflush. Use libc_hidden_def.
26465 * libio/iofflush_u.c (fflush_unlocked): Rename to
26466 __fflush_unlocked and define as weak alias of __fflush_unlocked.
26467 Use libc_hidden_weak.
26468 * include/stdio.h (__fflush_unlocked): Declare. Use
26469 libc_hidden_proto.
26470 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
26471 fflush_unlocked.
26472 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
26473 Remove variable.
26474
26475 [BZ #18539]
26476 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
26477 define as weak alias of __addseverity.
26478 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
26479 Remove variable.
26480 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26481 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26482 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26483
26484 [BZ #18536]
26485 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
26486 (__tfind): Likewise.
26487 (__tdelete): Likewise.
26488 (__twalk): Likewise.
26489 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
26490 __twalk to GLIBC_PRIVATE.
26491 * include/search.h (__tsearch): Use libc_hidden_proto.
26492 (__tfind): Likewise.
26493 (__tdelete): Likewise.
26494 (__twalk): Likewise.
26495 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
26496 Call __tdelete instead of tdelete.
26497 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
26498 tfind. Call __tsearch instead of tsearch.
26499 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
26500 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
26501 Remove variable.
26502 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26503
26504 [BZ #18534]
26505 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
26506 (dprintf): Define as a weak alias of __dprintf, not a strong
26507 alias.
26508 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
26509 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
26510 dprintf.
26511 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
26512 Remove variable.
26513 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26514 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26515
26516 [BZ #18533]
26517 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
26518 not a strong alias.
26519 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
26520 Remove variable.
26521
26522 [BZ #18532]
26523 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
26524 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
26525 (in6addr_loopback): Rename to __in6addr_loopback and define as
26526 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
26527 * include/netinet/in.h (__in6addr_loopback): Declare. Use
26528 libc_hidden_proto.
26529 (__in6addr_any): Likewise.
26530 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
26531 in6addr_any.
26532 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
26533 variable.
26534 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26535
26536 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
26537
26538 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
26539 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
26540 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26541 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26542 redirections for pow.
26543 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26544 * sysdeps/x86_64/fpu/Versions: New versions added.
26545 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26546 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26547 build of SSE, AVX2 and AVX512 IFUNC versions.
26548 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
26549 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
26550 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
26551 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
26552 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
26553 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
26554 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
26555 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
26556 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
26557 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
26558 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
26559 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
26560 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
26561 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
26562 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26563 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26564 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26565 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26566 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26567 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26568 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26569 * NEWS: Mention addition of x86_64 vector pow.
26570
26571 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26572 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26573 redirections for expf.
26574 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26575 * sysdeps/x86_64/fpu/Versions: New versions added.
26576 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26577 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26578 build of SSE, AVX2 and AVX512 IFUNC versions.
26579 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
26580 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
26581 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
26582 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
26583 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
26584 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
26585 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
26586 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
26587 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
26588 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
26589 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
26590 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
26591 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
26592 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26593 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26594 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26595 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26596 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26597 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26598 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26599 * NEWS: Mention addition of x86_64 vector expf.
26600
26601 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
26602 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
26603 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26604 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26605 redirections for exp.
26606 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26607 * sysdeps/x86_64/fpu/Versions: New versions added.
26608 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26609 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26610 build of SSE, AVX2 and AVX512 IFUNC versions.
26611 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
26612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
26613 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
26614 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
26615 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
26616 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
26617 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
26618 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
26619 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
26620 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
26621 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
26622 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
26623 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
26624 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26625 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26626 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26627 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26628 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26629 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26630 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26631 * NEWS: Mention addition of x86_64 vector exp.
26632
26633 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26634 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26635 redirections for logf.
26636 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26637 * sysdeps/x86_64/fpu/Versions: New versions added.
26638 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26639 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26640 build of SSE, AVX2 and AVX512 IFUNC versions.
26641 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
26642 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
26643 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
26644 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
26645 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
26646 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
26647 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
26648 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
26649 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
26650 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
26651 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
26652 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
26653 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
26654 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26655 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26656 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26657 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26658 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26659 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26660 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26661 * NEWS: Mention addition of x86_64 vector logf.
26662
26663 * bits/libm-simd-decl-stubs.h: Added stubs for log.
26664 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
26665 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26666 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26667 redirections for log.
26668 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26669 * sysdeps/x86_64/fpu/Versions: New versions added.
26670 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26671 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26672 build of SSE, AVX2 and AVX512 IFUNC versions.
26673 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
26674 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
26675 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
26676 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
26677 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
26678 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
26679 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
26680 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
26681 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
26682 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
26683 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
26684 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
26685 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
26686 test.
26687 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26688 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26689 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26690 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26691 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26692 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26693 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26694 * NEWS: Mention addition of x86_64 vector log.
26695
26696 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
26697
26698 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
26699 cfi_adjust_cfa_offset argument.
26700 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
26701 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
26702
26703 [BZ #18034]
26704 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
26705 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
26706 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
26707 ordering using ldar.
26708 (_dl_tlsdesc_dynamic): Likewise.
26709 (_dl_tlsdesc_return_lazy): Likewise.
26710 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
26711 relaxed atomics instead of volatile and synchronize with release store.
26712 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
26713 volatile.
26714 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26715
26716 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
26717
26718 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26719 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
26720 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26721 * sysdeps/x86_64/fpu/Versions: New versions added.
26722 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26723 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26724 build of SSE, AVX2 and AVX512 IFUNC versions.
26725 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
26726 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
26727 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
26728 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
26729 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
26730 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
26731 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
26732 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
26733 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
26734 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
26735 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
26736 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
26737 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
26738 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26739 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26740 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26741 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26742 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26743 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26744 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26745 * NEWS: Mention addition of x86_64 vector sinf.
26746
26747 2015-06-14 Joseph Myers <joseph@codesourcery.com>
26748
26749 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
26750 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
26751 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
26752 Remove variable.
26753 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26754 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26755
26756 2015-06-12 Joseph Myers <joseph@codesourcery.com>
26757
26758 [BZ #18530]
26759 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
26760 strong alias of _IO_fputs. Use libc_hidden_def.
26761 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
26762 and define as weak alias of __fputs_unlocked. Use
26763 libc_hidden_weak.
26764 * include/stdio.h (__fputs_unlocked): Declare. Use
26765 libc_hidden_proto.
26766 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
26767 fputs_unlocked.
26768
26769 [BZ #18529]
26770 * resolv/netdb.h [__USE_POSIX]: Change condition to
26771 [__USE_XOPEN2K].
26772 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
26773 not expect.
26774 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
26775 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
26776 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
26777 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
26778 [XPG4 || UNIX98] (AI_ALL): Likewise.
26779 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
26780 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
26781 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
26782 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
26783 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
26784 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
26785 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
26786 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
26787 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
26788 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
26789 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
26790 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
26791 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
26792 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
26793 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
26794 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
26795 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
26796 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
26797 [XPG4 || UNIX98] (gai_strerror): Likewise.
26798 [XPG4 || UNIX98] (getaddrinfo): Likewise.
26799 [XPG4 || UNIX98] (getnameinfo): Likewise.
26800
26801 [BZ #18528]
26802 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
26803 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
26804 __USE_XOPEN2K8].
26805 (getgrent): Likewise.
26806 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
26807 expect.
26808 [XPG3 || POSIX2008] (endgrent): Likewise.
26809 [XPG3] (setgrent): Likewise.
26810 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
26811 variable.
26812 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26813
26814 [BZ #18527]
26815 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
26816 define as weak alias of __getlogin_r. Use libc_hidden_weak.
26817 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
26818 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
26819 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
26820 * include/unistd.h (__getlogin_r): Declare. Use
26821 libc_hidden_proto.
26822 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
26823 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
26824 variable.
26825 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26826 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26827 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26828
26829 2015-06-12 Martin Sebor <msebor@redhat.com>
26830
26831 [BZ #18512]
26832 * Makerules (check-install-supported): New target.
26833 (install): Add check-install-supported as a dependency.
26834 * manual/install.texi (Installing the C Library): Document
26835 that overriding prefix and exec_prefix is not supported.
26836 Mention DESTDIR.
26837 * INSTALL: Regenerate from the above.
26838
26839 2015-06-12 Joseph Myers <joseph@codesourcery.com>
26840
26841 [BZ #18519]
26842 * posix/Versions (libc): Export __libc_pread at version
26843 GLIBC_PRIVATE.
26844 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
26845 instead of pread.
26846 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
26847 variable.
26848
26849 [BZ #18522]
26850 * misc/efgcvt_r.c
26851 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
26852 (cvt_symbol): Use weak_alias instead of strong_alias.
26853 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
26854 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
26855 Remove variable.
26856 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26857 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26858
26859 [BZ #18520]
26860 * inet/herrno.c (h_errno): Rename to __h_errno.
26861 (__libc_h_errno): Define as alias of __h_errno not h_errno.
26862 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
26863 to __h_errno instead of h_errno.
26864 * nptl/herrno.c (h_errno): Rename to __h_errno.
26865 (__h_errno_location): Refer to __h_errno not h_errno.
26866 * resolv/Versions (h_errno): Rename to __h_errno.
26867 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
26868 Remove variable.
26869 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26870
26871 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
26872
26873 * configure.ac: More strict check for AVX512 assembler support.
26874 * configure: Regenerated.
26875
26876 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
26877 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
26878 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26879 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
26880 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26881 * sysdeps/x86_64/fpu/Versions: New versions added.
26882 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26883 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26884 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26885 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
26886 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
26887 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
26888 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
26889 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
26890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
26891 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
26892 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
26893 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
26894 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
26895 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26896 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
26897 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
26898 test.
26899 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26900 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26901 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26902 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26903 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26904 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26905 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26906 * NEWS: Mention addition of x86_64 vector sin.
26907
26908 2015-06-11 Florian Weimer <fweimer@redhat.com>
26909
26910 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
26911 comment.
26912
26913 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26914
26915 [BZ #18479]
26916 * nptl/pt-interp.c: New file.
26917 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
26918 Add pt-interp.
26919 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
26920 $(common-objpfx)runtime-linker.h.
26921
26922 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
26923
26924 * Makeconfig (+interp): Remove unused variable.
26925 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
26926 only. Depend on $(common-objpfx)runtime-linker.h instead of
26927 $(elf-objpfx)runtime-linker.h.
26928 ($(elf-objpfx)runtime-linker.h): Rename to
26929 $(common-objpfx)runtime-linker.h and move ...
26930 * Makerules [$(build-shared) = yes]: ... here.
26931 * elf/interp.c: Include <runtime-linker.h> instead of
26932 <elf/runtime-linker.h>.
26933
26934 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26935
26936 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
26937 (__gettimeofday_syscall): Remove vsyscall fallback.
26938 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
26939 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
26940 Add syscall fallback function.
26941 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
26942 if vDSO is not present.
26943 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
26944 fallback function.
26945 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
26946 present.
26947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
26948 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26949
26950 2015-06-09 Joseph Myers <joseph@codesourcery.com>
26951
26952 [BZ #18497]
26953 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
26954 of wcscmp.
26955 (wcscmp): Define as weak alias of WCSCMP.
26956 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
26957 wcscoll.
26958 (USE_HIDDEN_DEF): Define.
26959 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
26960 __wcscoll. Don't use libc_hidden_weak.
26961 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
26962 wcscmp.
26963 * sysdeps/i386/i686/multiarch/wcscmp-c.c
26964 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
26965 __GI_wcscmp.
26966 (weak_alias): Undefine and redefine.
26967 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
26968 __wcscmp and define as weak alias of __wcscmp.
26969 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
26970 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
26971 (__wcscoll): Likewise.
26972 (wcscmp): Don't use libc_hidden_proto.
26973 (wcscoll): Likewise.
26974 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
26975 wcscoll.
26976 * posix/regexec.c (check_node_accept_bytes): Likewise.
26977 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
26978 variable.
26979 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26980 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26981
26982 [BZ #18507]
26983 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
26984 __fstatvfs and define as weak alias of __fstatvfs. Use
26985 libc_hidden_weak.
26986 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
26987 and define as weak alias of __statvfs. Use libc_hidden_weak.
26988 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
26989 Define as alias of __fstatvfs, not fstatvfs.
26990 (fstatvfs64): Likewise.
26991 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
26992 Define as alias of __statvfs, not statvfs.
26993 (statvfs64): Likewise.
26994 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
26995 Remove variable.
26996
26997 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26998
26999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27000 (HAVE_GETCPU_VSYSCALL): Define.
27001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27002 (HAVE_GETCPU_VSYSCALL): Likewise.
27003 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27004 * sysdeps/unix/sysv/linux/sched_getcpu.c
27005 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27006 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27007 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27008 prototype.
27009 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27010 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27011 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27013 Define.
27014 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27015 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27016 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27018
27019 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
27020
27021 * sysdeps/x86_64/fpu/Makefile: New file.
27022 * sysdeps/x86_64/fpu/Versions: New file.
27023 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27024 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27025 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27026 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27027 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27028 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27029 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27030 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27031 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27032 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27033 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27034 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27035 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27036 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27037 Added build of SSE, AVX2 and AVX512 IFUNC versions.
27038 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27039 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27040 * sysdeps/x86_64/configure.ac: Options for libmvec build.
27041 * sysdeps/x86_64/configure: Regenerated.
27042 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27043 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27044 * manual/install.texi (Configuring and compiling): Document
27045 --disable-mathvec.
27046 * INSTALL: Regenerated.
27047 * NEWS: Mention addition of libmvec and x86_64 vector cos.
27048
27049 * math/Makefile: Added rules for vector tests.
27050 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27051 declaration under condition.
27052 * math/test-double-vlen2.h: New file.
27053 * math/test-double-vlen4.h: New file.
27054 * math/test-double-vlen8.h: New file.
27055 * math/test-vec-loop.h: Added initialization macro.
27056 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27057 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27058 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27059 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27060 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27061 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27062 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27063 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27064 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27065 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27066 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27067
27068 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27069 * sysdeps/x86_64/fpu/Versions: New versions added.
27070 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27071 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27072 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27073 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27074 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27075 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27076 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27077 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27078 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27079 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27080 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27081 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27082 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27083 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27084 Added build of SSE, AVX2 and AVX512 IFUNC versions.
27085 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27086 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27087 * NEWS: Mention addition of x86_64 vector cosf.
27088
27089 * math/Makefile: Added CFLAGS for new tests.
27090 * math/test-float-vlen16.h: New file.
27091 * math/test-float-vlen4.h: New file.
27092 * math/test-float-vlen8.h: New file.
27093 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27094 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27096 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27097 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27098 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27099 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27100 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27101 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27102 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27103 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27104
27105 2015-06-09 Marko Myllynen <myllynen@redhat.com>
27106
27107 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27108 * locale/programs/ld-ctype.c: Likewise.
27109
27110 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
27111
27112 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27113 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27114 bit_ZMM16_31_state): New macro.
27115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27116 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27117
27118 2015-06-08 Joseph Myers <joseph@codesourcery.com>
27119
27120 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27121
27122 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
27123
27124 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27125
27126 2015-06-05 Joseph Myers <joseph@codesourcery.com>
27127
27128 [BZ #18498]
27129 * libio/memstream.c (open_memstream): Rename to __open_memstream
27130 and define as weak alias of __open_memstream.
27131 * include/stdio.h (__open_memstream): Declare. Use
27132 libc_hidden_proto.
27133 (open_memstream): Don't use libc_hidden_proto.
27134 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27135 open_memstream.
27136 * posix/getopt.c (_getopt_internal_r): Likewise.
27137 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27138 variable.
27139 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27140 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27141 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27142
27143 [BZ #18496]
27144 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27145 instead of wcrtomb.
27146
27147 [BZ #18483]
27148 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27149 [__USE_XOPEN2K8]. Remove redundant #endif.
27150 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27151 Remove redundant #if.
27152 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27153 Remove variable.
27154 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27155 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27156
27157 [BZ #18495]
27158 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27159 (__iswlower): Likewise.
27160 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
27161 (__iswlower): Likewise.
27162 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27163 instead of towlower.
27164 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27165 instead of iswlower. Call __towupper instead of towupper.
27166 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27167 instead of iswalnum.
27168
27169 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27170
27171 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27172 errors to stderr.
27173
27174 2015-06-05 Florian Weimer <fweimer@redhat.com>
27175
27176 [BZ #15661]
27177 [BZ #17322]
27178 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27179 Check for overflow properly. Check for O_APPEND. Ignore large
27180 file system block sizes. Add comments about problems.
27181 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27182 * manual/filesys.texi (Storage Allocation): New node.
27183
27184 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27185
27186 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27187 cancellable syscalls.
27188 (SYS_ify): Add guard to no redefine it.
27189 (INLINE_SYSCALL): Likewise.
27190 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27191 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27192 SYSCALL_CANCEL instead.
27193 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27194 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27195 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27196 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27197 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27198 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27199 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27200 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27201 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27202 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27203 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27204 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27205 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27206 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27207 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27208 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27209 Likewise.
27210 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27211 (__libc_pread64): Likewise.
27212 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27213 (__libc_preadv): Likewise.
27214 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27215 (__libc_readv64): Likewise.
27216 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27217 (__libc_pwrite): Likewise.
27218 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27219 (__libc_pwrite64): Likewise.
27220 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27221 (__libc_pwritev): Likewise.
27222 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27223 (__libc_pwritev64): Likewise.
27224 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27225 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27226 (sync_file_range): Likewise.
27227 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27228 Likewise.
27229 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27230 Likewise.
27231 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27232 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27233 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27234 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27235 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27236 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27237 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27238 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27240 Likewise.
27241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27242 (__libc_read64): Likewise.
27243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27244 Likewise.
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27246 Likewise.
27247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27248 Likewise.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27250 Likewise.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27252 (__libc_pread64): Likewise.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27254 Likewise.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27256 (__libc_pwrite64): Likewise.
27257 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27258 (sync_file_range): Likewise.
27259 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27260 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27261 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27262 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27263 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27264 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27265 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27266 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27267 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27268 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27269 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27270 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27271 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27272 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27273 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27274 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27275 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27276 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27277 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27278 Likewise.
27279 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27280 Likewise.
27281 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27282 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27283 Likewise.
27284 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27285 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27286 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27287 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27288 Likewise.
27289 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27290 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27291 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27293 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27294
27295 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
27296
27297 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27298 Include dl-vdso.
27299 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27300 Use VDSO routines for gettimeofday, clock_gettime if
27301 available.
27302 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27303 Declare VDSO symbols.
27304 * sysdeps/unix/sysv/linux/arm/sysdep.h:
27305 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27306 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27307 * sysdeps/unix/sysv/linux/arm/Versions: Add
27308 __vdso_clock_gettime.
27309
27310 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27311
27312 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27313 be an inline implementation regardless of library is built within.
27314 (open_not_cancel_2): Likewise.
27315 (__read_nocancel): Likewise.
27316 (__write_nocancel): Likewise.
27317 (openat_not_cancel): Likewise.
27318 (openat_not_cancel_3): Likewise.
27319 (openat64_not_cancel): Likewise.
27320 (openat64_not_cancel_3): Likewise.
27321 (__close_nocancel): Likewise.
27322 (pause_not_cancel): Likewise.
27323 (nanosleep_not_cancel): Likewise.
27324 (sigsuspend_not_cancel): Likewise.
27325
27326 2015-06-04 Torvald Riegel <triegel@redhat.com>
27327
27328 [BZ #14958]
27329 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27330 wake-up.
27331 (__pthread_rwlock_rdlock_slow): Likewise.
27332 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27333 Likewise.
27334 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27335 Likewise.
27336 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27337 * nptl/tst-rwlock16.c: New file.
27338 * nptl/Makefile (tests): Add new test.
27339
27340 2015-06-04 Torvald Riegel <triegel@redhat.com>
27341
27342 [BZ #18324]
27343 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27344 missing wake-up of readers.
27345 * nptl/tst-rwlock15.c: New file.
27346 * nptl/Makefile (tests): Add new test.
27347
27348 2015-06-03 Roland McGrath <roland@hack.frob.com>
27349
27350 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27351 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27352 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27353 and __nacl_supply_interface_rtld.
27354 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27355 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27356 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27357 Add __nacl_supply_interface_rtld.
27358 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27359
27360 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
27361
27362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27363 isfinite.
27364 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27365 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27366
27367 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
27368
27369 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27370 __signbit* with standard C99 macros.
27371 * math/e_exp10l.c: Likewise.
27372 * math/e_exp2l.c: Likewise.
27373 * math/e_scalb.c: Likewise.
27374 * math/e_scalbf.c: Likewise.
27375 * math/e_scalbl.c: Likewise.
27376 * math/s_ldexp.c: Likewise.
27377 * math/s_ldexpf.c: Likewise.
27378 * math/s_ldexpl.c: Likewise.
27379 * math/w_atan2.c: Likewise.
27380 * math/w_atan2f.c: Likewise.
27381 * math/w_atan2l.c: Likewise.
27382 * math/w_cosh.c: Likewise.
27383 * math/w_coshf.c: Likewise.
27384 * math/w_coshl.c: Likewise.
27385 * math/w_exp10.c: Likewise.
27386 * math/w_exp10f.c: Likewise.
27387 * math/w_exp10l.c: Likewise.
27388 * math/w_exp2.c: Likewise.
27389 * math/w_exp2f.c: Likewise.
27390 * math/w_exp2l.c: Likewise.
27391 * math/w_fmod.c: Likewise.
27392 * math/w_fmodf.c: Likewise.
27393 * math/w_fmodl.c: Likewise.
27394 * math/w_hypot.c: Likewise.
27395 * math/w_hypotf.c: Likewise.
27396 * math/w_hypotl.c: Likewise.
27397 * math/w_jnl.c: Likewise.
27398 * math/w_lgamma.c: Likewise.
27399 * math/w_lgamma_r.c: Likewise.
27400 * math/w_lgammaf.c: Likewise.
27401 * math/w_lgammaf_r.c: Likewise.
27402 * math/w_lgammal.c: Likewise.
27403 * math/w_lgammal_r.c: Likewise.
27404 * math/w_pow.c: Likewise.
27405 * math/w_powf.c: Likewise.
27406 * math/w_powl.c: Likewise.
27407 * math/w_remainder.c: Likewise.
27408 * math/w_remainderf.c: Likewise.
27409 * math/w_remainderl.c: Likewise.
27410 * math/w_scalb.c: Likewise.
27411 * math/w_scalbf.c: Likewise.
27412 * math/w_scalbl.c: Likewise.
27413 * math/w_scalbln.c: Likewise.
27414 * math/w_scalblnf.c: Likewise.
27415 * math/w_scalblnl.c: Likewise.
27416 * math/w_sinh.c: Likewise.
27417 * math/w_sinhf.c: Likewise.
27418 * math/w_sinhl.c: Likewise.
27419 * math/w_tgamma.c: Likewise.
27420 * math/w_tgammaf.c: Likewise.
27421 * math/w_tgammal.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27425 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27426 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27429 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27430 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27432 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27450 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
27453 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
27454 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
27455 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
27456 * stdio-common/printf_fp.c: Likewise.
27457 * stdio-common/printf_fphex.c: Likewise.
27458 * stdio-common/printf_size.c: Likewise.
27459
27460 2015-06-03 Joseph Myers <joseph@codesourcery.com>
27461
27462 [BZ #18470]
27463 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
27464 strnlen.
27465 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
27466 Remove variable.
27467 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27468 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27469 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27470 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27471 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27472 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27473 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27474 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27475 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27476 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27477
27478 [BZ #18468]
27479 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
27480 weak alias of __wmemchr. Use libc_hidden_weak.
27481 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
27482 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
27483 instead of wmemchr.
27484
27485 2015-06-02 Roland McGrath <roland@hack.frob.com>
27486
27487 [BZ #18383]
27488 * elf/tst-tlsalign-extern.c: New file.
27489 * elf/tst-tlsalign-extern-static.c: New file.
27490 * elf/tst-tlsalign-vars.c: New file.
27491 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
27492 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
27493 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
27494 ($(objpfx)tst-tlsalign-extern-static): Likewise.
27495 (test-xfail-tst-tlsalign-extern-static): New variable.
27496
27497 2015-06-02 Joseph Myers <joseph@codesourcery.com>
27498
27499 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
27500 Use variable name _sc_err instead of err.
27501 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
27502 instead of ret.
27503 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
27504 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
27505 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
27506 (INLINE_SYSCALL): Likewise.
27507
27508 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
27509 * include/string.h (__strnlen): Use libc_hidden_proto.
27510 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
27511 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
27512 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
27513 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
27514 (libc_hidden_def): Undefine and redefine.
27515 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
27516 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
27517 __GI_strnlen.
27518 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
27519 libc_hidden_def.
27520 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
27521
27522 [BZ #18469]
27523 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
27524 weak alias of __towlower. Use libc_hidden_weak.
27525 (towupper): Rename to __towupper and define as weak alias of
27526 __towupper. Use libc_hidden_weak.
27527 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
27528 (__towupper): Likewise.
27529 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
27530 __towlower instead of towlower.
27531
27532 2015-06-02 Roland McGrath <roland@hack.frob.com>
27533
27534 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
27535 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
27536
27537 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27538
27539 * sysdeps/aarch64/libm-test-ulps: Update.
27540
27541 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27542
27543 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
27544 Define.
27545 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27547 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27548 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27549 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
27550 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
27551 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
27552
27553 2015-06-01 Martin Sebor <msebor@redhat.com>
27554
27555 [BZ #18116]
27556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27557 (__setcontext): Use extended four-operand version of mtsf whenever
27558 possible.
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27560 (__novec_swapcontext): Likewise.
27561
27562 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27563
27564 * benchtests/scripts/compare_bench.py: New file.
27565 * benchtests/scripts/import_bench.py (mean): New function.
27566 (split_list): Likewise.
27567 (do_for_all_timings): Likewise.
27568 (compress_timings): Likewise.
27569
27570 * benchtests/scripts/import_bench.py: New file.
27571 * benchtests/scripts/validate_benchout.py: Import import_bench
27572 instead of jsonschema.
27573 (validate_bench): Remove function.
27574 (main): Use import_bench.
27575
27576 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
27577
27578 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27579 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
27580
27581 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27582
27583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27584
27585 2015-05-28 Roland McGrath <roland@hack.frob.com>
27586
27587 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
27588 set THREAD_SELF->tid to a magic value and futex-wake it.
27589 Pass its address to the thread_exit system call.
27590 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
27591 bit is clear.
27592 * sysdeps/nacl/lowlevellock.h: New file.
27593 * sysdeps/nacl/lll_timedwait_tid.c: New file.
27594
27595 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
27596 Add TIMEOUT to current time, don't subtract it.
27597
27598 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
27599
27600 [BZ #2981]
27601 [BZ #18422]
27602 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
27603 ($(objpfx)tst-audit2.out): Also depend on
27604 $(objpfx)tst-auditmod9b.so.
27605 * elf/tst-audit2.c: Include <dlfcn.h>.
27606 (calloc_called): New.
27607 (calloc): Allow to be called more than once.
27608 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
27609
27610 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
27611
27612 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
27613 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
27614
27615 2015-05-27 Marko Myllynen <myllynen@redhat.com>
27616
27617 * stdlib/monetary.h: Fix comment.
27618
27619 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
27620
27621 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
27622 Avoid using variables in #defines that might cause shadowing.
27623 (INTERNAL_VSYSCALL_CALL): Likewise.
27624
27625 2015-05-26 Roland McGrath <roland@hack.frob.com>
27626
27627 * sysdeps/nacl/lll_timedlock_wait.c: New file.
27628
27629 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
27630 * nptl/lll_timedlock_wait.c: ... to this new file.
27631 * nptl/Makefile (libpthread-routines): Add it.
27632 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
27633 * nptl/lll_timedwait_tid.c: ... to this new file.
27634 * nptl/Makefile (libpthread-routines): Add it.
27635 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
27636 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
27637 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
27638 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
27639 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
27640 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
27641 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
27642 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
27643 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
27644 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
27645
27646 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27647
27648 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
27649 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27650 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
27652 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
27653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27654 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27655 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27656 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27657 * sysdeps/unix/sysv/linux/tile/sysdep.h
27658 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27659 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
27660 using vDSO syscall macro.
27661
27662 2015-05-26 Andriy Rysin <arysin@gmail.com>
27663
27664 [BZ #17293]
27665 * uk_UA: Fix sorting order for Ukrainian locale
27666
27667 2015-05-26 Marko Myllynen <myllynen@redhat.com>
27668
27669 * stdlib/monetary.h: Fix comment.
27670
27671 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
27672
27673 [BZ #18234]
27674 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
27675 st_mtim and st_ctim members.
27676 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
27677 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
27678 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
27679 (struct stat64): Likewise.
27680 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
27681 (struct stat64): Likewise.
27682 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
27683 (struct stat64): Likewise.
27684
27685 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27686
27687 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
27688 Define and include sysdep-vdso.h.
27689 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
27690 Likewise.
27691 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
27692 Likewise.
27693 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
27694 Define with VDSO_SYMBOL and use PTR_MANGLE.
27695 (__vdso_clock_gettime): Likewise.
27696 (__vdso_clock_getres): Likewise.
27697 (_libc_vdso_platform_setup): Likewise.
27698 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27699 Likewise.
27700 (_libc_vdso_platform_setup): Likewise.
27701 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
27702 Likewise.
27703 (__vdso_clock_gettime): Likewise.
27704 (__vdso_clock_getres): Likewise.
27705 (__vdso_get_tbfreq): Likewise.
27706 (__vdso_getcpu): Likewise.
27707 (__vdso_time): Likewise.
27708 (__vdso_sigtramp_rt64): Likewise.
27709 (__vdso_signtramp32): Likewise.
27710 (__vdso_sigtramp_rt32): Likewise.
27711 (_libc_vdso_platform_setup): Likewise.
27712 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
27713 Likewise.
27714 (__vdso_clock_gettime): Likewise.
27715 (__vdso_clock_getres): Likewise.
27716 (_libc_vdso_platform_setup): Likewise.
27717 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
27718 Likewise.
27719 (__vdso_clock_gettime): Likewise.
27720 (_libc_vdso_platform_setup): Likewise.
27721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27722 Likewise.
27723 (__vdso_getcpu): Likewise.
27724 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
27725 Use VDSO_SYMBOL macro to define.
27726 (__vdso_clock_gettime): Likewise.
27727 (__vdso_clock_getres): Likewise.
27728 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
27729 Likewise.
27730 (__vdso_clock_gettime): Likewise.
27731 (__vdso_clock_getres): Likewise.
27732 (__vdso_get_tbfreq): Likewise.
27733 (__vdso_getcpu): Likewise.
27734 (__vdso_time): Likewise.
27735 (__vdso_sigtramp_rt64): Likewise.
27736 (__vdso_signtramp32): Likewise.
27737 (__vdso_sigtramp_rt32): Likewise.
27738 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
27739 Likewise.
27740 (__vdso_clock_gettime): Likewise.
27741 (__vdso_clock_getres): Likewise.
27742 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
27743 Likewise.
27744 (__vdso_clock_gettime): Likewise.
27745 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27746 Likewise.
27747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
27748 macro.
27749 (INTERNAL_VSYSCALL): Likewise.
27750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
27751 Remove macro.
27752 (INTERNAL_VSYSCALL): Likewise.
27753 (INTERNAL_VSYSCALL_NCS): Likewise.
27754 (INTERNAL_VSYSCALL_CALL): New macro.
27755 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
27756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
27757 Likewise.
27758 (INTERNAL_VSYSCALL): Likewise.
27759 (INTERNAL_VSYSCALL_NCS): Likewise.
27760 (INTERNAL_VSYSCALL_CALL): New macro.
27761 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
27762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27763 (INLINE_VSYSCALL): Remove macro.
27764 (INTERNAL_VSYSCALL): Remove macro.
27765 (INTERNAL_VSYSCALL_NCS): Remove macro.
27766 (INTERNAL_VSYSCALL_CALL): New macro.
27767 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
27768 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
27769 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
27770 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
27771 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27773 (INLINE_VSYSCALL): Remove macro.
27774 (INTERNAL_VSYSCALL): Likewise.
27775 (INTERNAL_VSYSCALL_NCS): Likewise.
27776 (INTERNAL_VSYSCALL_CALL): New macro.
27777 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
27778 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
27779 PTR_DEMANGLE on vDSO pointer.
27780 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
27781 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
27782 macro.
27783 (INTERNAL_SYSCALL): Likewise.
27784 (INTERNAL_VSYSCALL_NCS): Remove macro.
27785 (INTERNAL_VSYSCALL_CALL): New macro.
27786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
27787 Remove macro.
27788 (INTERNAL_VSYSCALL): Likewise.
27789 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
27790 sysdep-vdso.h instead of libc-vdso.h.
27791 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
27792 definition.
27793 (INLINE_VSYSCALL): Likewise.
27794 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
27795 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
27796 definition.
27797 (INLINE_VSYSCALL): Likewise.
27798 (INTERNAL_VSYSCALL): Likewise.
27799 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27800 * sysdeps/unix/sysv/linux/timespec_get.c
27801 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27802 (timespec_get): Use ANSI prototype.
27803 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
27804 and definition for Linux.
27805
27806 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
27807
27808 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
27809 * include/libc-symbols.h: libmvec_hidden_* macro series added.
27810
27811 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
27812
27813 [BZ #2981]
27814 [BZ #18410]
27815 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
27816 for missing DT_PLTRELSZ.
27817
27818 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
27819
27820 Remove obsolete aliases that broke 'locale -a'
27821 [BZ #18412]
27822 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
27823 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
27824 breaking some applications that use 'locale -a' output.
27825 Change the encoding of this file from Latin-1 to ASCII to avoid
27826 other potential problems with people grepping this file.
27827
27828 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27829
27830 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
27831 -fasynchronous-unwind-tables.
27832 (CFLAGS-sendto.c): Likewise.
27833 (CFLAGS-sendmsg.c): Likewise.
27834 (CFLAGS-connect.c): Likewise.
27835 (CFLAGS-recvmsg.c): Likewise.
27836 (CFLAGS-recvfrom.c): Likewise.
27837 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
27838 (SOCKETCALL): New macro: non-cancellable socketcall.
27839 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
27840 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
27841 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
27842 * sysdeps/unix/sysv/linux/accept.c: New file.
27843 * sysdeps/unix/sysv/linux/bind.c: Likewise.
27844 * sysdeps/unix/sysv/linux/connect.c: Likewise.
27845 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
27846 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
27847 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
27848 * sysdeps/unix/sysv/linux/listen.c: Likewise.
27849 * sysdeps/unix/sysv/linux/recv.c: Likewise.
27850 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
27851 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
27852 * sysdeps/unix/sysv/linux/send.c: Likewise.
27853 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
27854 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
27855 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
27856 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
27857 * sysdeps/unix/sysv/linux/socket.c: Likewise.
27858 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
27859 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
27860 prototype.
27861 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
27862 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27863 instead of __internal_xxx function.
27864 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
27865 prototype.
27866 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
27867 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27868 instead of __internal_xxx function.
27869 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
27870 prototype.
27871 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
27872 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27873 instead of __internal_xxx function.
27874 * sysdeps/unix/sysv/linux/accept.S: Remove file.
27875 * sysdeps/unix/sysv/linux/bind.S: Likewise.
27876 * sysdeps/unix/sysv/linux/connect.S: Likewise.
27877 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
27878 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
27879 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
27880 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
27881 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
27882 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
27883 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
27884 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
27885 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27886 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
27887 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
27888 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
27889 * sysdeps/unix/sysv/linux/listen.S: Likewise.
27890 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
27891 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
27892 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
27893 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
27894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
27896 * sysdeps/unix/sysv/linux/recv.S: Likewise.
27897 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
27898 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
27899 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
27900 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27901 * sysdeps/unix/sysv/linux/send.S: Likewise.
27902 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
27903 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
27904 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
27905 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
27906 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
27907 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
27908 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
27909 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
27910 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
27911 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
27912 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
27913 socketcall is implemented in GLIBC.
27914
27915 2015-05-22 Joseph Myers <joseph@codesourcery.com>
27916
27917 * soft-fp/fmadf4.c: Include <libc-internal.h>.
27918 (__fma): Ignore uninitialized warnings around packing.
27919 * soft-fp/fmasf4.c: Include <libc-internal.h>.
27920 (__fmaf): Ignore uninitialized warnings around packing.
27921 * soft-fp/fmatf4.c: Include <libc-internal.h>.
27922 (__fmal): Ignore uninitialized warnings around packing.
27923
27924 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
27925 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27926 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
27927 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27928
27929 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
27930 switch statement into default case.
27931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
27932
27933 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
27934 a conditional in forcing "inexact".
27935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27936 Likewise.
27937
27938 2015-05-22 Roland McGrath <roland@hack.frob.com>
27939
27940 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27941 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
27942 for each INTERNAL_SYSCALL use.
27943
27944 2015-05-22 Joseph Myers <joseph@codesourcery.com>
27945
27946 [BZ #438]
27947 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
27948 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
27949 variable.
27950
27951 [BZ #18444]
27952 * string/basename.c (basename): Rename to __basename and define as
27953 weak alias of __basename. Use libc_hidden_weak.
27954 * include/string.h (__basename): Declare. Use libc_hidden_proto.
27955 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
27956 __basename instead of basename.
27957 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
27958 Remove variable.
27959 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27960
27961 2015-05-18 Florian Weimer <fweimer@redhat.com>
27962
27963 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
27964 (_IO_JUMPS_FILE_plus): New.
27965 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
27966 _IO_CAST_FIELD_ACCESS.
27967 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
27968 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
27969 * libio/freopen.c (freopen): Likewise.
27970 * libio/freopen64.c (freopen64): Likewise.
27971 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
27972 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
27973 * libio/iofwide.c (_IO_fwide): Likewise.
27974 * libio/memstream.c (open_memstream): Likewise.
27975 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27976 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27977 * libio/oldiopopen.c (_IO_old_popen): Likewise.
27978
27979 2015-05-21 Joseph Myers <joseph@codesourcery.com>
27980
27981 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
27982 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
27983 NADJ.
27984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
27985 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
27986 NADJ.
27987 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
27988 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
27989 NADJ.
27990
27991 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
27992 (p == 4) case.
27993
27994 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
27995 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
27996 Remove variable.
27997 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27998 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27999 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28000
28001 2015-05-21 Florian Weimer <fweimer@redhat.com>
28002
28003 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28004 Adjust jump table label generation macros.
28005
28006 2015-05-21 Florian Weimer <fweimer@redhat.com>
28007
28008 * stdio-common/vfprintf.c (vfprintf): Move local variables
28009 args_malloced, specs, specs_malloced, and the code after
28010 do_positional to the printf_positional function.
28011 (printf_positional): New function.
28012
28013 2015-05-21 Florian Weimer <fweimer@redhat.com>
28014
28015 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28016 function.
28017 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28018 STEP4_TABLE, process_arg): Move macro definitions
28019 out of the vfprintf function. (Cosmetic change only.)
28020
28021 2015-05-21 Carlos O'Donell <carlos@redhat.com>
28022
28023 * benchtests/Makefile (stdio-common-bench): Define.
28024 (benchset): Add stdio-common-bench.
28025 * sprintf-inputs: New file.
28026 * sprintf-source.c: New file.
28027
28028 2015-05-21 Andreas Schwab <schwab@suse.de>
28029
28030 [BZ #13028]
28031 [BZ #17053]
28032 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28033 of struct __res_state.
28034 * resolv/res_send.c (__libc_res_nsend): Likewise.
28035 (get_nsaddr): New function.
28036 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28037 statp directly.
28038
28039 2015-05-20 Joseph Myers <joseph@codesourcery.com>
28040
28041 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28042 -D_POSIX_C_SOURCE=199506L.
28043
28044 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28045
28046 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28047 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28048 Do not mention otherwise.
28049 [POSIX] (_XOPEN_VERSION): Do not expect.
28050 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28051 [POSIX] (_POSIX2_C_BIND): Likewise.
28052 [POSIX] (_POSIX2_VERSION): Likewise.
28053 [POSIX] (_XOPEN_XPG2): Likewise.
28054 [POSIX] (_XOPEN_XPG3): Likewise.
28055 [POSIX] (_XOPEN_XPG4): Likewise.
28056 [POSIX] (_XOPEN_UNIX): Likewise.
28057 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28058 [POSIX] (_POSIX_BARRIERS): Likewise.
28059 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28060 [POSIX] (_POSIX_CPUTIME): Likewise.
28061 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28062 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28063 [POSIX] (_POSIX_SHELL): Likewise.
28064 [POSIX] (_POSIX_SPAWN): Likewise.
28065 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28066 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28067 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28068 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28069 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28070 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28071 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28072 [POSIX] (_XBS5_LP64_OFF64): Likewise.
28073 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28074 [POSIX] (_POSIX_TIMEOUTS): Likewise.
28075 [POSIX] (_POSIX2_PBS): Likewise.
28076 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28077 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28078 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28079 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28080 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28081 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28082 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28083 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28084 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28085 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28086 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28087 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28088 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28089 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28090 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28091 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28092 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28093 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28094 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28095 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28096 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28097 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28098 [POSIX] (_SC_2_C_BIND): Likewise.
28099 [POSIX] (_SC_2_C_VERSION): Likewise.
28100 [POSIX] (_SC_2_PBS): Likewise.
28101 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28102 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28103 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28104 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28105 [POSIX] (_SC_2_PBS_TRACK): Likewise.
28106 [POSIX] (_SC_ATEXIT_MAX): Likewise.
28107 [POSIX] (_SC_BARRIERS): Likewise.
28108 [POSIX] (_SC_BASE): Likewise.
28109 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28110 [POSIX] (_SC_DEVICE_IO): Likewise.
28111 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28112 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28113 [POSIX] (_SC_FD_MGMT): Likewise.
28114 [POSIX] (_SC_FIFO): Likewise.
28115 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28116 [POSIX] (_SC_FILE_LOCKING): Likewise.
28117 [POSIX] (_SC_FILE_SYSTEM): Likewise.
28118 [POSIX] (_SC_IOV_MAX): Likewise.
28119 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28120 [POSIX] (_SC_NETWORKING): Likewise.
28121 [POSIX] (_SC_PAGE_SIZE): Likewise.
28122 [POSIX] (_SC_PASS_MAX): Likewise.
28123 [POSIX] (_SC_PIPE): Likewise.
28124 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28125 [POSIX] (_SC_REGEXP): Likewise.
28126 [POSIX] (_SC_SHELL): Likewise.
28127 [POSIX] (_SC_SIGNALS): Likewise.
28128 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28129 [POSIX] (_SC_SPIN_LOCKS): Likewise.
28130 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28131 [POSIX] (_SC_USER_GROUPS): Likewise.
28132 [POSIX] (_SC_USER_GROUPS_R): Likewise.
28133 [POSIX] (_SC_STREAMS): Likewise.
28134 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28135 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28136 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28137 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28138 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28139 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28140 [POSIX] (_PC_FILESIZEBITS): Likewise.
28141 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28142 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28143 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28144 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28145 [POSIX] (uid_t): Likewise.
28146 [POSIX] (gid_t): Likewise.
28147 [POSIX] (off_t): Likewise.
28148 [POSIX] (pid_t): Likewise.
28149 [POSIX] (cuserid): Allow.
28150 (_SC_2_CHAR_TERM): Require constant.
28151 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28152 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28153 variable.
28154
28155 2015-05-20 Roland McGrath <roland@hack.frob.com>
28156
28157 * sysdeps/nacl/pthread-pids.h: New file.
28158 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28159 (create_thread): Use __nacl_get_tid to initialize PD->tid.
28160
28161 * nptl/pthread-pids.h: New file.
28162 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28163 * nptl/nptl-init.c: Include <pthread-pids.h>.
28164 (__pthread_initialize_minimal_internal):
28165 Call __pthread_initialize_pids instead of set_tid_address syscall.
28166
28167 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28168 * sysdeps/posix/usleep.c: ... here.
28169
28170 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28171
28172 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28173 call_pselect6 object.
28174 [$(subdir) = io]: Remove call_sync_file_range object.
28175 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28176 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28177 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28178 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28179
28180 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
28181
28182 * math/s_cproj.c: Add include "math_private.h".
28183 * math/s_cprojf.c: Likewise.
28184 * math/s_cprojl.c: Likewise.
28185
28186 2015-05-19 Joseph Myers <joseph@codesourcery.com>
28187
28188 [BZ #18244]
28189 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28190 high mantissa bit when testing whether P is a NaN.
28191 * math/libm-test.inc (remainder_test_data): Add more tests.
28192 (remquo_test_data): Likewise.
28193
28194 [BZ #18049]
28195 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28196 below -32, return the argument, with underflow if subnormal.
28197 * math/auto-libm-test-in: Add more tests of atanh.
28198 * math/auto-libm-test-out: Regenerated.
28199
28200 2015-05-19 Roland McGrath <roland@hack.frob.com>
28201
28202 [BZ #18434]
28203 * nptl/tst-sem15.c: New file.
28204 * nptl/Makefile (tests): Add it.
28205 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28206 s/<</>>/ to fix typo in EOVERFLOW check.
28207 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28208
28209 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28210
28211 * manual/strings.texi (envz_remove): Fix typo in safety
28212 annotations.
28213
28214 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
28215 Steve Ellcey <sellcey@imgtec.com>
28216
28217 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28218 in order to avoid strict alias warnings.
28219 (iruserok_af): Ditto for ra.
28220
28221 2015-05-19 James Lemke <jwlemke@codesourcery.com>
28222
28223 [BZ #17581]
28224 * malloc/hooks.c
28225 (magicbyte): Convert to a function and avoid returning 0x01.
28226 (mem2mem_check): Avoid using a length byte equal to the magic byte.
28227 (mem2chunk_check): Fix unsigned comparisons to zero.
28228 Hoist defs of sz and magic.
28229
28230 2015-05-19 Richard Henderson <rth@redhat.com>
28231
28232 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28233
28234 * sysdeps/alpha/fpu/libm-test-ulps: Update.
28235
28236 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28237
28238 [BZ #16159]
28239 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28240 * malloc/arena.c (arena_lock): Check if arena is corrupt.
28241 (reused_arena): Find a non-corrupt arena.
28242 (heap_trim): Pass arena to unlink.
28243 * malloc/hooks.c (malloc_check_get_size): Pass arena to
28244 malloc_printerr.
28245 (top_check): Likewise.
28246 (free_check): Likewise.
28247 (realloc_check): Likewise.
28248 * malloc/malloc.c (malloc_printerr): Add arena argument.
28249 (unlink): Likewise.
28250 (munmap_chunk): Adjust.
28251 (ARENA_CORRUPTION_BIT): New macro.
28252 (arena_is_corrupt): Likewise.
28253 (set_arena_corrupt): Likewise.
28254 (sysmalloc): Use mmap if there are no usable arenas.
28255 (_int_malloc): Likewise.
28256 (__libc_malloc): Don't fail if arena_get returns NULL.
28257 (_mid_memalign): Likewise.
28258 (__libc_calloc): Likewise.
28259 (__libc_realloc): Adjust for additional argument to
28260 malloc_printerr.
28261 (_int_free): Likewise.
28262 (malloc_consolidate): Likewise.
28263 (_int_realloc): Likewise.
28264 (_int_memalign): Don't touch corrupt arenas.
28265 * malloc/tst-malloc-backtrace.c: New test case.
28266
28267 * Makefile (summarize-tests): Fix return value on success.
28268
28269 * manual/string.texi (Envz Functions): Add envz_remove.
28270
28271 2015-05-18 Roland McGrath <roland@hack.frob.com>
28272
28273 * sysdeps/posix/opendir.c: Include <stdbool.h>.
28274 (invalid_name): New function, broken out of ...
28275 (__opendirat): ... here. Call it.
28276 (need_isdir_precheck): New function, broken out of ...
28277 (__opendirat): ... here. Call it.
28278 Use __fxstatat64, not __xstatat64.
28279 (opendir_oflags): New function, broken out of ...
28280 (__opendirat): ... here. Call it.
28281 (opendir_tail): New function, broken out of ...
28282 (__opendirat): ... here. Call it.
28283 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28284 opendir_tail, rather than punting to __opendirat.
28285 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28286
28287 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28288
28289 * .gitignore: Ignore generated *.pyc.
28290
28291 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
28292
28293 * include/stdio.h: Define __need_wint_t.
28294 * test-skeleton.c: Avoid `for' loop initial declaration.
28295 * nptl/tst-initializers1.c: Use test-skeleton.c.
28296
28297 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28298
28299 [BZ #18418]
28300 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28301
28302 2015-05-15 Joseph Myers <joseph@codesourcery.com>
28303
28304 [BZ #16352]
28305 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28306 (__ieee754_atanh): Force underflow exception for results with
28307 small absolute value.
28308 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28309 (__ieee754_atanhf): Force underflow exception for results with
28310 small absolute value.
28311 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28312 (__ieee754_atanh): Force underflow exception for results with
28313 small absolute value.
28314 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28315 (__ieee754_atanhf): Force underflow exception for results with
28316 small absolute value.
28317 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28318 (__ieee754_atanhl): Force underflow exception for results with
28319 small absolute value.
28320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28321 (__ieee754_atanhl): Force underflow exception for results with
28322 small absolute value.
28323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28324 (__ieee754_atanhl): Force underflow exception for results with
28325 small absolute value.
28326 * math/auto-libm-test-in: Do not allow missing underflow
28327 exceptions from atanh.
28328 * math/auto-libm-test-out: Regenerated.
28329
28330 [BZ #18221]
28331 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28332 2**-28 as threshold for returning x or +/- 1/x.
28333 * math/auto-libm-test-in: Add more tests of tan.
28334 * math/auto-libm-test-out: Regenerated.
28335
28336 [BZ #18220]
28337 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28338 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28339 * math/auto-libm-test-in: Add another test of lgamma.
28340 * math/auto-libm-test-out: Regenerated.
28341
28342 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
28343
28344 * stdio-common/printf_fp.c (___printf_fp): Use abs.
28345 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
28346 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28347 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28348 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
28349 (ADD2A): Use fabs. (SUB2A): Use fabs.
28350 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28353 (log1): Use fabs. (my_log2): Use fabs.
28354 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28355 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28357 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28358 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28359 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
28360 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
28361 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
28362 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
28363 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28364 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28365
28366 2015-05-15 Joseph Myers <joseph@codesourcery.com>
28367
28368 [BZ #18217]
28369 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28370 as threshold for returning 1 - x.
28371 * math/auto-libm-test-in: Add more tests of erfc.
28372 * math/auto-libm-test-out: Regenerated.
28373
28374 2015-05-14 Joseph Myers <joseph@codesourcery.com>
28375
28376 [BZ #18196]
28377 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
28378 threshold for large arguments.
28379 * math/auto-libm-test-in: Add another test of atan.
28380 * math/auto-libm-test-out: Regenerated.
28381
28382 [BZ #16339]
28383 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
28384 (__log1p): Force underflow exception for results with small
28385 absolute value.
28386 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
28387 (__log1pf): Force underflow exception for results with small
28388 absolute value.
28389 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
28390 (__log1p): Force underflow exception for results with small
28391 absolute value.
28392 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
28393 (__log1pf): Force underflow exception for results with small
28394 absolute value.
28395 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
28396 (__log1pl): Force underflow exception for results with small
28397 absolute value.
28398 * math/auto-libm-test-in: Do not allow missing underflow
28399 exceptions from log1p.
28400 * math/auto-libm-test-out: Regenerated.
28401
28402 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
28403 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28404
28405 [BZ #16704]
28406 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
28407
28408 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
28409
28410 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
28411 (libmvec): New variable.
28412 * configure.ac: Added option for mathvec build.
28413 * configure: Regenerated.
28414 * mathvec/Depend: New file.
28415 * mathvec/Makefile: New file.
28416 * shlib-versions: Added libmvec.
28417 * math/Makefile: Added rule for libm.so installation.
28418
28419 * bits/math-vector.h: New file.
28420 * bits/libm-simd-decl-stubs.h: New header.
28421 * math/Makefile (headers): Added new header
28422 libm-simd-decl-stubs.h.
28423 * math/math.h (__MATHCALL_VEC): New macro.
28424
28425 * math/gen-libm-have-vector-test.sh: Script generates series of macros
28426 for conditions in testing functions.
28427 * math/Makefile: Added call of libm-have-vector-test.sh.
28428 * math/libm-test.inc (HAVE_VECTOR): New macros.
28429
28430 * math/libm-test.inc: START refactored.
28431 * math/test-double.c (TEST_MATHVEC): Add define.
28432 * math/test-float.c: Likewise.
28433 * math/test-idouble.c: Likewise.
28434 * math/test-ifloat.c: Likewise.
28435 * math/test-ildoubl.c: Likewise.
28436 * math/test-ldouble.c: Likewise.
28437 * sysdeps/generic/math-tests-arch.h
28438 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
28439 architecture check.
28440
28441 * math/test-double.c (FUNC_TEST): New macro.
28442 * math/test-float.c: Likewise.
28443 * math/test-idouble.c: Likewise.
28444 * math/test-ifloat.c: Likewise.
28445 * math/test-ildoubl.c: Likewise.
28446 * math/test-ldouble.c: Likewise.
28447 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
28448
28449 2015-05-13 Roland McGrath <roland@hack.frob.com>
28450
28451 * sysdeps/nacl/fdopendir.c: New file.
28452
28453 * dirent/scandir-tail.c: New file.
28454 * dirent/scandir64-tail.c: New file.
28455 * dirent/Makefile (routines): Add them.
28456 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
28457 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
28458 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
28459 [!SCANDIR] (SCANDIR_TAIL): New macro.
28460 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
28461 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
28462 (SCANDIRAT): Macro removed.
28463 (SCANDIR_TAIL): New macro.
28464 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
28465 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
28466 (SCANDIRAT): Just call __opendirat and __scandir_tail.
28467 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
28468 (READDIR): Macro removed.
28469 (SCANDIR_TAIL): New macro.
28470 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
28471 (SCANDIR_TAIL): New macro.
28472
28473 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
28474 * dirent/scandir-cancel.c: ... to this new file.
28475 * dirent/Makefile (routines): Add it.
28476 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
28477 * sysdeps/unix/sysv/linux/i386/scandir64.c
28478 (SKIP_SCANDIR_CANCEL): Macro removed.
28479 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
28480
28481 * dirent/tst-scandir.c: New file.
28482 * dirent/tst-scandir64.c: New file.
28483 * dirent/Makefile (tests): Add them.
28484
28485 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
28486
28487 [BZ #18409]
28488 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
28489
28490 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28491
28492 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
28493 list.
28494
28495 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
28496
28497 * benchtests/bench-strcoll.c: New benchmark.
28498 * benchtests/Makefile: Generate locales and run benchmark.
28499 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
28500 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
28501 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
28502 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
28503 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
28504 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
28505 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
28506 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
28507 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
28508 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
28509 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
28510 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
28511 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
28512 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
28513 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
28514 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
28515 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
28516 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
28517 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
28518 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
28519 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
28520 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
28521 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
28522 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
28523
28524 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
28525
28526 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
28527 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28528
28529 2015-05-12 Roland McGrath <roland@hack.frob.com>
28530
28531 * posix/uname-values.h: New file.
28532 * posix/uname.c: Include that instead of <config-name.h>.
28533 * sysdeps/nacl/uname-values.h: New file.
28534 * sysdeps/arm/nacl/uname-values.h: New file.
28535
28536 2015-05-12 Joseph Myers <joseph@codesourcery.com>
28537
28538 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
28539 splitting into fields.
28540
28541 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
28542
28543 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
28544 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
28545 * locale/localeinfo.h: Add enum collation_encoding_type.
28546 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
28547 * programs/ld-collate.c (collate_output): Add encoding type info.
28548 * string/strcoll_l.c (STRDIFF): New function.
28549 * (STRCOLL): Use STRDIFF to skip over equal prefix.
28550 * wcsmbs/wcscoll_l.c: Define STRDIFF.
28551
28552 2015-05-11 Joseph Myers <joseph@codesourcery.com>
28553
28554 [BZ #18397]
28555 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
28556 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
28557 <fpu_control.h> instead of <math/fpu_control.c>.
28558 * sysdeps/mips/mips32/fpu/Makefile: New file.
28559
28560 2015-05-11 Andreas Schwab <schwab@suse.de>
28561
28562 [BZ #18007]
28563 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
28564 nss_endgrent.
28565 (_nss_compat_endgrent): Call nss_endgrent.
28566 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
28567 nss_endpwent.
28568 (_nss_compat_endpwent): Call nss_endpwent.
28569 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
28570 needent, call nss_setspent only if non-zero.
28571 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
28572 (internal_endspent): Don't call nss_endspent.
28573 (_nss_compat_endspent): Call nss_endspent.
28574 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
28575 Remove. All uses removed.
28576 (internal_setent): Remove parameter stayopen, add parameter
28577 stream. Use it instead of global variable.
28578 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
28579 (internal_endent, internal_getent): Add parameter stream. Use it
28580 instead of global variable.
28581 (CONCAT(_nss_files_end,ENTNAME))
28582 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
28583 (_nss_files_get##name##_r): Pass local stream. Remove locking.
28584 * nss/nss_files/files-alias.c (position, last_use): Remove. All
28585 uses removed.
28586 (internal_setent, internal_endent): Add parameter stream. Use it
28587 instead of global variable.
28588 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
28589 stream.
28590 (get_next_alias): Add parameter stream.
28591 (_nss_files_getaliasent_r): Pass global stream.
28592 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
28593 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
28594 (_nss_files_gethostbyname4_r): Pass local stream to
28595 internal_setent, internal_getent and internal_endent. Remove
28596 locking.
28597
28598 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28599
28600 * tst-strfmon1.c (tests): Update expected currency symbol.
28601
28602 2015-05-08 Roland McGrath <roland@hack.frob.com>
28603
28604 * sysdeps/nacl/gethostname.c: New file.
28605
28606 2015-05-08 Joseph Myers <joseph@codesourcery.com>
28607
28608 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
28609 and sinh.
28610 * math/auto-libm-test-out: Regenerated.
28611 * sysdeps/i386/fpu/libm-test-ulps: Update.
28612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28613
28614 2015-05-08 Carlos O'Donell <carlos@redhat.com>
28615
28616 [BZ #18125]
28617 * stdlib/tst-setcontext3.c: New file.
28618 * stdlib/tst-setcontext3.sh: New file.
28619 * stdlib/Makefile (tests): Add tst-setcontext3.
28620 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
28621 to verify test program created output file.
28622 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
28623 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
28624 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
28625 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
28626
28627 2015-05-06 Roland McGrath <roland@hack.frob.com>
28628
28629 [BZ #18383]
28630 * elf/tst-tlsalign.c: New file.
28631 * elf/tst-tlsalign-static.c: New file.
28632 * elf/tst-tlsalign-lib.c: New file.
28633 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
28634 (tests-static): Add tst-tlsalign-static.
28635 (modules-names): Add tst-tlsalign-lib.
28636 (test-xfail-tst-tlsalign): New variable.
28637 (test-xfail-tst-tlsalign-static): New variable.
28638
28639 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
28640 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
28641
28642 2015-05-06 Joseph Myers <joseph@codesourcery.com>
28643
28644 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
28645 csqrt, erfc, sin and sincos.
28646 * math/auto-libm-test-out: Regenerated.
28647 * sysdeps/i386/fpu/libm-test-ulps: Update.
28648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28649
28650 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
28651
28652 * sysdeps/aarch64/libm-test-ulps: Update.
28653
28654 2015-05-05 Joseph Myers <joseph@codesourcery.com>
28655
28656 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
28657 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
28658 * math/auto-libm-test-out: Regenerated.
28659 * sysdeps/i386/fpu/libm-test-ulps: Update.
28660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28661
28662 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
28663
28664 [BZ #18265]
28665 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
28666 (wcsncpy): Likewise.
28667
28668 2015-05-05 Florian Weimer <fweimer@redhat.com>
28669
28670 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28671 Assume __ASSUME_FALLOCATE is always true.
28672 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28673 (__posix_fallocate64_l64): Likewise.
28674 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
28675 (posix_fallocate): Likewise.
28676 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
28677 (__posix_fallocate64_l64): Likewise.
28678 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28679 [!__ASSUME_FALLOCATE]: Add comment.
28680
28681 2015-05-05 Florian Weimer <fweimer@redhat.com>
28682
28683 * sysdeps/unix/sysv/linux/i386/Makefile
28684 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
28685 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
28686 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
28687 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28688 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28689 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
28690 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
28691
28692 2015-05-02 Joseph Myers <joseph@codesourcery.com>
28693
28694 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
28695 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
28696 tgamma.
28697 * math/auto-libm-test-out: Regenerated.
28698 * sysdeps/i386/fpu/libm-test-ulps: Update.
28699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28700
28701 2015-05-01 Joseph Myers <joseph@codesourcery.com>
28702
28703 * math/auto-libm-test-in: Add more tests of tgamma.
28704 * math/auto-libm-test-out: Regenerated.
28705 * sysdeps/i386/fpu/libm-test-ulps: Update.
28706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707
28708 * math/auto-libm-test-in: Add more tests of tanh.
28709 * math/auto-libm-test-out: Regenerated.
28710 * sysdeps/i386/fpu/libm-test-ulps: Update.
28711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28712
28713 * math/auto-libm-test-in: Add more tests of tan.
28714 * math/auto-libm-test-out: Regenerated.
28715 * sysdeps/i386/fpu/libm-test-ulps: Update.
28716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28717
28718 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
28719 * math/auto-libm-test-out: Regenerated.
28720 * sysdeps/i386/fpu/libm-test-ulps: Update.
28721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722
28723 * math/auto-libm-test-in: Add another test of pow.
28724 * math/auto-libm-test-out: Regenerated.
28725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28726
28727 * math/auto-libm-test-in: Add more tests of lgamma.
28728 * math/auto-libm-test-out: Regenerated.
28729 * sysdeps/i386/fpu/libm-test-ulps: Update.
28730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731
28732 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
28733 log1p.
28734 * math/auto-libm-test-out: Regenerated.
28735 * sysdeps/i386/fpu/libm-test-ulps: Update.
28736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28737
28738 2015-05-01 Mark Wielaard <mjw@redhat.com>
28739
28740 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
28741 Elf64_Chdr structs and ELFCOMPRESS constants.
28742
28743 2015-05-01 Joseph Myers <joseph@codesourcery.com>
28744
28745 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
28746 expm1.
28747 * math/auto-libm-test-out: Regenerated.
28748 * sysdeps/i386/fpu/libm-test-ulps: Update.
28749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28750
28751 * math/auto-libm-test-in: Add more tests of erf and erfc.
28752 * math/auto-libm-test-out: Regenerated.
28753 * sysdeps/i386/fpu/libm-test-ulps: Update.
28754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28755
28756 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
28757
28758 * config.h.in (HAVE_AARCH64_BE): Add.
28759
28760 2015-04-30 Joseph Myers <joseph@codesourcery.com>
28761
28762 * math/auto-libm-test-in: Add more tests of csqrt.
28763 * math/auto-libm-test-out: Regenerated.
28764 * sysdeps/i386/fpu/libm-test-ulps: Update.
28765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28766
28767 * math/auto-libm-test-in: Add more tests of cosh and sinh.
28768 * math/auto-libm-test-out: Regenerated.
28769 * sysdeps/i386/fpu/libm-test-ulps: Update.
28770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28771
28772 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
28773
28774 2015-04-29 Roland McGrath <roland@hack.frob.com>
28775
28776 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
28777 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
28778
28779 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
28780 (euidaccess, eaccess): Define as weak aliases.
28781
28782 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
28783 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
28784 but __suseconds_t is often 'long int' so some sources assume that
28785 type is being used (e.g. they use %ld to print tv_usec).
28786
28787 2015-04-29 Florian Weimer <fweimer@redhat.com>
28788
28789 [BZ #18007]
28790 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
28791 (CVE-2014-8121)
28792 * nss/tst-nss-getpwent.c: New file.
28793 * nss/Makefile (tests): Add new test.
28794
28795 2015-04-28 Joseph Myers <joseph@codesourcery.com>
28796
28797 [BZ #18346]
28798 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
28799 exponents less than 48 as cases where high part of mantissa needs
28800 examining to determine whether argument is integral.
28801 * math/libm-test.inc (round_test_data): Add more tests.
28802
28803 2015-04-28 Mark Wielaard <mjw@redhat.com>
28804
28805 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
28806
28807 2015-04-27 David S. Miller <davem@davemloft.net>
28808
28809 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
28810 __tls_get_addr.
28811 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28812
28813 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
28814
28815 [BZ#18333]
28816 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
28817
28818 2015-04-27 Florian Weimer <fweimer@redhat.com>
28819
28820 [BZ#18333]
28821 * time/tzset.c (parse_tzname): Return error on memory allocation
28822 failure.
28823 * test-skeleton.c (struct temp_name_list): Change type of name
28824 member to non-const.
28825 (add_temp_file): Create a copy of the file name.
28826 (delete_temp_files): Deallocate memory.
28827 (create_temp_file): Add comment.
28828
28829 2015-04-24 Florian Weimer <fweimer@redhat.com>
28830
28831 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
28832 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
28833
28834 2015-04-24 Roland McGrath <roland@hack.frob.com>
28835
28836 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
28837 * sysdeps/arm/configure: Regenerated.
28838
28839 2015-04-24 Florian Weimer <fweimer@redhat.com>
28840
28841 [BZ #17715]
28842 * time/tzfile.c (__tzfile_read): Check for large values of
28843 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
28844 * time/tzset.c (__tzstring_len): New function, based on the old
28845 __tzstring function.
28846 (__tzstring): Call __tzstring_len.
28847 (parse_tzname): New helper function extracted from
28848 __tzset_parse_tz. Call __tzstring_len, without making a copy of
28849 the input string.
28850 (parse_offset): New helper function extracted from
28851 __tzset_parse_tz. Replace switch with fallthrough with
28852 initialization before sscanf.
28853 (parse_rule): Likewise.
28854 (__tzset_parse_tz): Rewrite using the new helper functions. Use
28855 new-style function definition.
28856 * timezone/Makefile (tests): Add tst-tzset.
28857 (tst-tzset.out): Dependencies on time zone files.
28858 (tst-tzset-ENV): Set TZDIR.
28859 (testdata/XT%): Copy crafted time zone files.
28860 * timezone/README: Mention crafted time zone files.
28861 * timezone/testdata/XT1, timezone/testdata/XT2,
28862 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
28863 files.
28864 * timezone/tst-tzset.c: New test.
28865
28866 2015-04-24 Florian Weimer <fweimer@redhat.com>
28867
28868 * Makeconfig (+gccwarn): Remove -Winline.
28869
28870 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
28871
28872 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
28873
28874 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
28875
28876 * NEWS: Mention sysconf() cache information support for s390.
28877 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
28878
28879 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
28880
28881 * math/k_casinh.c (__kernel_casinh): Use __copysign.
28882 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
28883 (__nearbyint): Likewise.
28884 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
28885 (copysignl): Likewise.
28886
28887 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
28888
28889 [BZ #18287]
28890 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
28891 based on padding. (CVE-2015-1781)
28892
28893 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28894
28895 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
28896 libc-vdso.h.
28897 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
28898 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
28899 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
28900 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28901 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28902 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
28903 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
28904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28905 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28906 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
28907 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28908 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28909 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28910 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
28911 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28912 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
28913 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28914 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
28915 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
28916 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
28917 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
28918 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
28919 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
28920
28921 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
28922
28923 * stdlib/setenv.c (__add_to_environ):
28924 Dump core quickly if setenv (..., NULL, ...) is called.
28925 This time, do it the right way, and pacify GCC with a pragma.
28926
28927 2015-04-17 Roland McGrath <roland@hack.frob.com>
28928
28929 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
28930 IMAP->l_prev cannot be null, and #if out the code for the contrary
28931 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
28932 believe that NS (&_dl_ns[NSID]) could point outside the array.
28933
28934 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
28935 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
28936 before using NSID as an index.
28937
28938 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
28939
28940 [BZ #17825]
28941 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
28942 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
28943 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28944
28945 2015-04-17 Roland McGrath <roland@hack.frob.com>
28946
28947 Add preliminary port to Google Native Client on ARM.
28948 * abi-tags (.*-.*-nacl.*): New entry.
28949 * sysdeps/arm/nacl: New directory.
28950 * sysdeps/nacl: New directory.
28951
28952 2015-04-16 David S. Miller <davem@davemloft.net>
28953
28954 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
28955 lowlevellock-futex.h
28956
28957 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
28958
28959 * sysdeps/tile/configure.ac: New file.
28960 * sysdeps/tile/configure: Regenerated.
28961
28962 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28963
28964 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
28965 conditionals for weak_alias and libc_hidden_weak.
28966 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
28967 libc_hidden_weak and weak_alias.
28968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
28969 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
28970 and weak_alias for static one.
28971
28972 2015-04-15 David S. Miller <davem@davemloft.net>
28973
28974 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28975
28976 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28977
28978 [BZ #18206]
28979 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
28980 Use signed comparision instead of substraction to avoid
28981 overflow bug.
28982 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
28983 Take the sign of ret.
28984 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
28985 Do not expect precise return values. Only the sign matters.
28986 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
28987 * wcsmbs/test-wcsncmp.c: New File.
28988 * string/test-strncmp.c: Add wcsncmp support.
28989
28990 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28991
28992 [BZ #6792]
28993 * math/w_log1p.c: New file.
28994 * math/w_log1pf.c: Likewise.
28995 * math/w_log1pl.c: Likewise.
28996 * math/Makefile (libm-calls): Add w_log1p.
28997 * math/s_log1pl.c (log1pl): Remove weak_alias.
28998 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
28999 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29000 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29001 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29002 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29003 [NO_LONG_DOUBLE] (log1pl): Likewise.
29004 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29005 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29006 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29007 (log1p): Remove long_double_symbol.
29008 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29009 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29010 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29011 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29012 remove weak_alias for corresponding log1p function.
29013 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29014 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29015 * sysdeps/ia64/fpu/w_log1p.c: New file.
29016 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29017 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29018 * math/libm-test.inc (log1p_test_data): Add errno expectations.
29019
29020 2015-04-10 Joseph Myers <joseph@codesourcery.com>
29021
29022 [BZ #18247]
29023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29024 decimal exponent by 1.
29025 * stdlib/tst-strtod-round-data: Add more tests.
29026 * stdlib/tst-strtod-round.c (tests): Regenerated.
29027
29028 2015-04-09 Joseph Myers <joseph@codesourcery.com>
29029
29030 * math/auto-libm-test-in: Add more tests of clog and clog10.
29031 * math/auto-libm-test-out: Regenerated.
29032 * sysdeps/i386/fpu/libm-test-ulps: Update.
29033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29034
29035 2015-04-09 Roland McGrath <roland@hack.frob.com>
29036
29037 * Makeconfig (module-cppflags): Exclude all .v.i files.
29038 (skip-module-cppflags): Variable removed.
29039
29040 * configure.ac (libc_config_ok): Initialize before reading
29041 preconfigure scripts, not after.
29042 * configure: Regenerated.
29043
29044 * test-skeleton.c (TIMEOUT): Move #define to top level.
29045 (main): Grok environment variable TEST_DIRECT. If set, print
29046 test expectation details into that file and then behave as if
29047 given --direct.
29048
29049 2015-04-09 Florian Weimer <fweimer@redhat.com>
29050
29051 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29052 warning on 32-bit.
29053
29054 2015-04-08 David S. Miller <davem@davemloft.net>
29055
29056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29057
29058 2015-04-08 Joseph Myers <joseph@codesourcery.com>
29059
29060 * math/auto-libm-test-in: Add more tests of atanh.
29061 * math/auto-libm-test-out: Regenerated.
29062 * sysdeps/i386/fpu/libm-test-ulps: Update.
29063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29064
29065 * math/auto-libm-test-in: Add more tests of atan.
29066 * math/auto-libm-test-out: Regenerated.
29067 * sysdeps/i386/fpu/libm-test-ulps: Update.
29068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29069
29070 2015-04-08 Florian Weimer <fweimer@redhat.com>
29071
29072 * elf/pldd.c (main): Rewrite to use struct
29073 scratch_buffer instead of extend_alloca.
29074 * elf/pldd-xx.c (find_maps): Likewise.
29075 * grp/initgroups.c: Include <scratch_buffer.h> instead of
29076 <alloca.h>.
29077 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29078 scratch_buffer instead of extend_alloca.
29079 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29080 grp/compat-initgroups.c.
29081 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29082 Rewrite to use struct scratch_buffer instead of extend_alloca.
29083 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29084 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29085
29086 2015-04-08 Joseph Myers <joseph@codesourcery.com>
29087
29088 * math/auto-libm-test-in: Add more tests of cbrt.
29089 * math/auto-libm-test-out: Regenerated.
29090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29091
29092 * math/auto-libm-test-in: Add more tests of cabs.
29093 * math/auto-libm-test-out: Regenerated.
29094 * sysdeps/i386/fpu/libm-test-ulps: Update.
29095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29096
29097 [BZ #18210]
29098 [BZ #18211]
29099 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29100 (__ieee754_atan2): Set FE_TONEAREST mode for internal
29101 computations.
29102 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29103 clog10.
29104 * math/auto-libm-test-out: Regenerated.
29105 * sysdeps/i386/fpu/libm-test-ulps: Update.
29106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29107
29108 [BZ #18197]
29109 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29110 (atan): Set FE_TONEAREST mode for internal computations.
29111 * math/auto-libm-test-in: Add more tests of atan.
29112 * math/auto-libm-test-out: Regenerated.
29113
29114 2015-04-07 James Cowgill <james410@cowgill.org.uk>
29115
29116 [BZ #17930]
29117 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29118
29119 2015-04-07 Florian Weimer <fweimer@redhat.com>
29120
29121 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29122
29123 2015-04-07 Florian Weimer <fweimer@redhat.com>
29124
29125 * include/scratch_buffer.h: New file.
29126 * malloc/scratch_buffer_grow.c: Likewise.
29127 * malloc/scratch_buffer_grow_preserve.c: Likewise.
29128 * malloc/scratch_buffer_set_array_size.c: Likewise.
29129 * malloc/tst-scratch_buffer.c: Likewise.
29130 * malloc/Makefile (routines): Add scratch_buffer_grow.
29131 (tests): Add test case.
29132 * malloc/Versions (GLIBC_PRIVATE): Export
29133 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29134 __libc_scratch_buffer_set_array_size.
29135
29136 2015-04-06 Richard Henderson <rth@redhat.com>
29137
29138 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29139 * sysdeps/alpha/fpu/libm-test-ulps: Update.
29140
29141 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29142 unsigned int before printing.
29143
29144 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29145
29146 [BZ #17596]
29147 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29148 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29149
29150 2015-04-02 Florian Weimer <fweimer@redhat.com>
29151
29152 * include/libc-internal.h (libc_max_align_t): Define.
29153
29154 2015-04-02 Andreas Schwab <schwab@suse.de>
29155
29156 [BZ #16850]
29157 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29158
29159 2015-04-02 Mel Gorman <mgorman@suse.de>
29160
29161 [BZ #17195]
29162 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29163 as well as the main arena.
29164
29165 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
29166
29167 [BZ #18185]
29168 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29169 sharing L2 cache to 2 for Silvermont/Knights Landing.
29170
29171 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
29172
29173 [BZ #17711]
29174 * config.make.in (have-protected-data): New.
29175 * configure.ac: Check linker support for protected data symbol.
29176 * configure: Regenerated.
29177 * elf/Makefile (modules-names): Add tst-protected1moda and
29178 tst-protected1modb if $(have-protected-data) is yes.
29179 (tests): Add tst-protected1a and tst-protected1b if
29180 $(have-protected-data) is yes.
29181 ($(objpfx)tst-protected1a): New.
29182 ($(objpfx)tst-protected1b): Likewise.
29183 (tst-protected1modb.so-no-z-defs): Likewise.
29184 * elf/tst-protected1a.c: New file.
29185 * elf/tst-protected1b.c: Likewise.
29186 * elf/tst-protected1mod.h: Likewise.
29187 * elf/tst-protected1moda.c: Likewise.
29188 * elf/tst-protected1modb.c: Likewise.
29189
29190 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 [BZ #17711]
29193 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29194 indicates it is called from do_lookup_x on relocation against
29195 protected data, skip the data definion in the executable from
29196 copy reloc.
29197 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29198 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29199 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29200 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29201 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29202 otherwise to 0.
29203 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29204 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29205 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29206 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29207 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29208 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29209
29210 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
29211
29212 * sysdeps/nptl/pthread.h: Remove duplicate definition of
29213 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29214
29215 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
29216
29217 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29218 THREAD_SETMEM_NC.
29219 * sysdeps/x86_64/nptl/tls.h: Ditto.
29220
29221 2015-03-27 Roland McGrath <roland@hack.frob.com>
29222
29223 * dlfcn/tststatic.c (main): Converted to ...
29224 (do_test): ... this.
29225 (TEST_FUNCTION): New macro.
29226 Include test-skeleton.c.
29227
29228 2015-03-26 Alan Modra <amodra@gmail.com>
29229
29230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29231 Don't segfault if ifunc resolver returns a NULL. Do set plt to
29232 zero for undefined weak.
29233 (elf_machine_plt_conflict): Similarly.
29234
29235 2015-03-25 Joseph Myers <joseph@codesourcery.com>
29236
29237 * math/auto-libm-test-in: Add more tests of acosh, asinh and
29238 atanh.
29239 * math/auto-libm-test-out: Regenerated.
29240 * sysdeps/i386/fpu/libm-test-ulps: Update.
29241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29242
29243 * math/auto-libm-test-in: Add another test of asin.
29244 * math/auto-libm-test-out: Regenerated.
29245 * sysdeps/i386/fpu/libm-test-ulps: Update.
29246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29247
29248 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29249 Remove macro.
29250 (LLL_EBX_REG): Likewise.
29251 (LLL_ENTER_KERNEL): Likewise.
29252
29253 * math/auto-libm-test-in: Add more tests of asin.
29254 * math/auto-libm-test-out: Regenerated.
29255 * sysdeps/i386/fpu/libm-test-ulps: Update.
29256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29257
29258 [BZ #18138]
29259 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29260 libc_do_syscall_args): New structure.
29261 (INTERNAL_SYSCALL_MAIN_0): New macro.
29262 (INTERNAL_SYSCALL_MAIN_1): Likewise.
29263 (INTERNAL_SYSCALL_MAIN_2): Likewise.
29264 (INTERNAL_SYSCALL_MAIN_3): Likewise.
29265 (INTERNAL_SYSCALL_MAIN_4): Likewise.
29266 (INTERNAL_SYSCALL_MAIN_5): Likewise.
29267 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
29268 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29269 Replace conditional definitions by conditional definitions of ....
29270 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
29271 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29272 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29273 (libpthread-sysdep_routines): Add libc-do-syscall.
29274 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29275 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29276 to __NR_futex not 240.
29277
29278 2015-03-25 Alan Modra <amodra@gmail.com>
29279
29280 * NEWS: Advertise TLS optimization.
29281 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29282 (DT_PPC_NUM): Increment.
29283 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29284 (CHECK_STATIC_TLS): Use here.
29285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29286 TLS descriptors.
29287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29288 * sysdeps/powerpc/dl-tls.c: New file.
29289 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29290 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29291 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29292 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29296
29297 2015-03-25 Alan Modra <amodra@gmail.com>
29298
29299 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29300 for overlapping .opd entries" to "support...".
29301 * sysdeps/powerpc/powerpc64/configure: Regenerate
29302
29303 2015-03-25 Joseph Myers <joseph@codesourcery.com>
29304
29305 * math/auto-libm-test-in: Add more tests of acos.
29306 * math/auto-libm-test-out: Regenerated.
29307 * sysdeps/i386/fpu/libm-test-ulps: Update.
29308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29309
29310 * math/auto-libm-test-in: Add more tests of expm1.
29311 * math/auto-libm-test-out: Regenerated.
29312 * sysdeps/i386/fpu/libm-test-ulps: Update.
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29314
29315 2015-03-24 Joseph Myers <joseph@codesourcery.com>
29316
29317 * math/auto-libm-test-in: Add more tests of cosh and sinh.
29318 * math/auto-libm-test-out: Regenerated.
29319 * sysdeps/i386/fpu/libm-test-ulps: Update.
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321
29322 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29324
29325 * math/auto-libm-test-in: Add more tests of log2.
29326 * math/auto-libm-test-out: Regenerated.
29327 * sysdeps/i386/fpu/libm-test-ulps: Update.
29328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29329
29330 2015-03-23 Roland McGrath <roland@hack.frob.com>
29331
29332 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29333 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
29334 _IO_IS_APPENDING bit in READ_WRITE instead.
29335
29336 2015-03-23 Florian Weimer <fweimer@redhat.com>
29337
29338 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29339 (__determine_cpumask_size): Replace extend_alloca with a
29340 variable-length array. Do not treat res == 0 as an error.
29341
29342 2015-03-23 Florian Weimer <fweimer@redhat.com>
29343
29344 [BZ #18100]
29345 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29346 and integer overflow.
29347 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29348 (main): Add integer overflow tests.
29349 * manual/pattern.texi (Calling Wordexp): Document additional use
29350 for WRDE_SYNTAX.
29351
29352 2015-03-23 Alan Modra <amodra@gmail.com>
29353
29354 * config.h.in: Remove HAVE_ASM_PPC_REL16.
29355 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29356 and false branch of conditional.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29358 Likewise.
29359
29360 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
29361
29362 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29363 libc-modules.h
29364 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29365 unused declaration of _hurd_intr_rpc_msg_in_trap.
29366 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29367 defined instead of whether it is non-zero.
29368 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29369 input constraint instead of both input and output constraint. Use ecx
29370 clobber instead of %ecx.
29371 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29372 mutex_unlock): Use a statement expression instead of an expression list.
29373 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29374 type to vm_size_t instead of vm_address_t.
29375 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
29376 defined instead of whether it is non-zero.
29377 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
29378 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
29379 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29380 comparisons with mapaddr.
29381 * nscd/nscd-client.h: Include <time.h>.
29382 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
29383 9th parameter to __vm_region instead of int.
29384 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
29385 * scripts/check-local-headers.sh (exclude): Add device/,
29386 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
29387 cthreads.h.
29388
29389 2015-03-19 Roland McGrath <roland@hack.frob.com>
29390
29391 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29392 to account for alignment padding.
29393 * sysdeps/arm/memmove.S: Likewise.
29394
29395 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
29396
29397 * sysdeps/unix/sysv/linux/generic/README: New file.
29398
29399 2015-03-18 Joseph Myers <joseph@codesourcery.com>
29400
29401 [BZ #18138]
29402 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
29403 (futex_abstimed_wait)
29404 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
29405 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
29406 of lll_futex_timed_wait.
29407
29408 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
29409
29410 [BZ #17542]
29411 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
29412
29413 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
29414
29415 [BZ #17090]
29416 [BZ #17620]
29417 [BZ #17621]
29418 [BZ #17628]
29419 * NEWS: Update.
29420 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
29421 entries with Static TLS too. Skip entries past the end of the
29422 allocated DTV, from Alan Modra.
29423 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
29424 Static TLS DTV entry set up from...
29425 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
29426 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
29427 * nptl/allocatestack.c (init_one_static_tls): ... and here...
29428 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
29429 for Static TLS.
29430 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
29431 that the slot we find is associated with the given map before
29432 using its generation count.
29433 * nptl_db/db_info.c: Include ldsodefs.h.
29434 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
29435 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29436 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
29437 (link_map::l_tls_offset): New struct field.
29438 (dtv_t::counter): Likewise.
29439 (rtld_global): New struct.
29440 (_rtld_global): New rtld variable.
29441 (dl_tls_dtv_slotinfo_list): New rtld global field.
29442 (dtv_slotinfo_list): New struct.
29443 (dtv_slotinfo): Likewise.
29444 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
29445 (td_lookup): Rename to...
29446 (td_mod_lookup): ... this. Use new mod parameter instead of
29447 LIBPTHREAD_SO.
29448 * nptl_db/td_thr_tlsbase.c: Include link.h.
29449 (dtv_slotinfo_list, dtv_slotinfo): New functions.
29450 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
29451 addresses even if the DTV is out of date or missing them.
29452 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
29453 index zero-length arrays.
29454 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
29455 (td_lookup): Make it a macro implemented in terms of...
29456 (td_mod_lookup): ... this declaration.
29457 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
29458 (DB_MAIN_VARIABLE): Likewise.
29459
29460 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
29461
29462 [BZ #18134]
29463 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29464
29465 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
29466
29467 * stdlib/setenv.c (__add_to_environ): Revert previous change.
29468
29469 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
29470
29471 [BZ #18128]
29472 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
29473 (atomic_add, atomic_increment_and_test)
29474 (atomic_decrement_and_test): Fix 64-bit arithmetic.
29475
29476 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
29477
29478 * stdlib/setenv.c (__add_to_environ):
29479 Dump core quickly if setenv (..., NULL, ...) is called.
29480
29481 2015-03-13 Roland McGrath <roland@hack.frob.com>
29482
29483 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
29484 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
29485 all the necessary asm magic in one place.
29486 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
29487 using those.
29488
29489 2015-03-13 Carlos O'Donell <carlos@redhat.com>
29490
29491 [BZ #14906]
29492 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
29493 traced file mtime. Use consistent log message.
29494 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
29495 (register_traced_file): Call install_watches. Always set mtime.
29496 (invalidate_cache): Iterate over all trace files. Call install_watches.
29497 (inotify_check_files): Don't inline. Handle watching parent
29498 directories and configuration file movement in and out.
29499 (handle_inotify_events): New function.
29500 (main_loop_poll): Call handle_inotify_events.
29501 (main_loop_epoll): Likewise.
29502 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
29503 (struct traced_file): Use array of inotify fds. Add parent directory,
29504 and basename.
29505 (struct database_dyn): Remove unused file_mtime.
29506 (init_traced_file): New inline function.
29507 (define_traced_file): New macro.
29508 * nss/nss_db/db-init.c: Use define_traced_file.
29509 (_nss_db_init): Use init_traced_file.
29510 * nss/nss_files/files-init.c: Use define_traced_file.
29511 (_nss_files_init): Use init_traced_file.
29512
29513 2015-03-12 Joseph Myers <joseph@codesourcery.com>
29514
29515 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
29516 [_LIBC]: Do not include <stdlib.h>.
29517 [!_LIBC] (abort): Remove declaration.
29518 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
29519 _FP_STATIC_ASSERT instead of conditionally calling abort.
29520 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
29521 (_FP_EXTEND_CNAN): Likewise.
29522 (FP_TRUNC): Likewise.
29523 (__FP_CLZ): Likewise.
29524 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
29525
29526 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
29527
29528 * manual/string.texi (XPG basename): Fix prototype.
29529
29530 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
29531
29532 [BZ #18080]
29533 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
29534 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29535 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
29536 (__setcontext): Likewise.
29537 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
29538 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29539 Call rt_sigprocmask syscall one time to set new signal mask
29540 and retrieve the current signal mask instead of two calls.
29541 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
29542 (__swapcontext): Likewise.
29543 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
29544 * stdlib/tst-setcontext2.c: New file.
29545
29546 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
29547
29548 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29549
29550 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
29551
29552 [BZ #18093]
29553 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
29554 the wrong size.
29555
29556 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
29557
29558 [BZ #18043]
29559 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
29560
29561 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29562
29563 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
29564 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
29565 Remove define.
29566 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
29567 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
29568 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
29569 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
29570 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
29571 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
29572 define.
29573 * nptl_db/td_symbol_list.c (td_lookup): Remove
29574 HAVE_ASM_GLOBAL_DOT_NAME code.
29575 * sysdeps/powerpc/powerpc64/configure.ac: Remove
29576 HAVE_ASM_GLOBAL_DOT_NAME check.
29577 * sysdeps/powerpc/powerpc64/configure: Regenerate.
29578 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
29579 (DOT_LABEL): Remove define.
29580 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
29581 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
29582 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
29583 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
29584 (__TLS_GET_ADDR): Likewise.
29585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
29586 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
29587
29588 2015-03-11 Carlos O'Donell <carlos@redhat.com>
29589
29590 [BZ #18111]
29591 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
29592 (_FPU_SETCW): Initialize cw from fpsr before storing.
29593 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
29594 (fesetexceptflag): Rewrite using fpu_control.h.
29595 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
29596
29597 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
29598
29599 [BZ #18110]
29600 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
29601 asms.
29602 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29603
29604 2015-03-11 Joseph Myers <joseph@codesourcery.com>
29605
29606 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
29607 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
29608 abort.
29609 (_FP_FMA): Likewise.
29610 (_FP_DIV): Likewise.
29611
29612 2015-03-10 Roland McGrath <roland@hack.frob.com>
29613
29614 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
29615 with 0 in that case.
29616 * Makefile (summarize-tests): New canned sequence, factored out of
29617 commands for targets tests and xtests. Display summary lines that
29618 don't start with PASS: or XFAIL: rather than ones that do start with
29619 ERROR: or FAIL:. Make the commands fail if any summary lines fail
29620 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
29621 do start with ERROR: or FAIL:.
29622 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
29623 (except for [$(build-shared) = yes]).
29624 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
29625 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
29626 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
29627 * nptl/Makefile: Revert 2015-03-04 changes.
29628 [$(CXX) empty] (tests-unsupported): New variable.
29629 * debug/Makefile: Likewise.
29630
29631 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
29632 gnulib file. Replace __attribute with __attribute__ throughout.
29633
29634 2015-03-10 Carlos O'Donell <carlos@redhat.com>
29635
29636 * sysdeps/hppa/fpu/libm-test-ulps: Update.
29637
29638 2015-03-10 Joseph Myers <joseph@codesourcery.com>
29639
29640 [BZ #18104]
29641 * math/auto-libm-test-in: Add another test of pow.
29642 * math/auto-libm-test-out: Regenerated.
29643
29644 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29645
29646 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
29647 $(config-cflags-nofma).
29648
29649 2015-03-10 Joseph Myers <joseph@codesourcery.com>
29650
29651 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
29652 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
29653 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
29654 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
29655 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
29656 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
29657 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
29658 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
29659 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
29660 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
29661 Add comment on closing #endif.
29662
29663 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
29664
29665 * posix/wordexp.c (CHAR_IN_SET): New macro.
29666 (parse_param): Use it.
29667
29668 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29669
29670 * sysdeps/powerpc/fpu/libm-test-ulps: update.
29671
29672 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
29673
29674 [BZ #18043]
29675 * posix/wordexp.c (parse_param): Fix buffer overflow.
29676 * posix/wordexp-test.c (test_case): Add test case.
29677
29678 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
29679
29680 [BZ #18042]
29681 * posix/wordexp.c (parse_backtick): Fix off-by-one.
29682 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
29683
29684 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
29685
29686 [BZ #18043]
29687 * posix/wordexp-test.c (test_case): Add test for BZ #18043
29688 (do_bz18043): Delete.
29689 (at_page_end): New.
29690 (testit): Refactor to have words at the edge of unreadable page.
29691
29692 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29693
29694 [BZ #16734]
29695 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
29696 Cleanup read-only streams as well.
29697 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
29698
29699 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29700
29701 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
29702 <bits/libc-lockP.h>
29703
29704 2015-03-07 Joseph Myers <joseph@codesourcery.com>
29705
29706 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
29707 on [__KERNEL__].
29708 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
29709 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
29710 * soft-fp/op-common.h (_FP_DECL): Likewise.
29711
29712 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
29713
29714 * elf/ifuncdep2.c (global): Replace
29715 __attribute__((visibility("protected"))) with
29716 asm (".protected global").
29717 * elf/ifuncmod1.c (global): Likewise.
29718 * elf/ifuncmod5.c (global): Likewise.
29719
29720 2015-03-06 Joseph Myers <joseph@codesourcery.com>
29721
29722 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
29723 <asm/sfp-machine.h> instead of <sfp-machine.h>.
29724
29725 2015-03-06 Roland McGrath <roland@hack.frob.com>
29726
29727 * manual/install.texi (Configuring and compiling):
29728 Document test-wrapper-env-only.
29729 * INSTALL: Regenerated.
29730
29731 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29732
29733 [BZ #18043]
29734 * posix/wordexp.c (parse_param): Fix buffer overflow.
29735 * posix/wordexp-test.c (do_bz18043): Add test case.
29736
29737 2015-03-06 Vincent Bernat <vincent@bernat.im>
29738
29739 * time/tst-strptime2.c (do_test): Ensure failing tests are
29740 reported correctly.
29741 * time/tst-strptime3.c (do_test): Likewise.
29742
29743 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
29744
29745 Fix aio_error thread-safety.
29746 * sysdeps/pthread/aio_error.c: New file
29747 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
29748 synchronization.
29749
29750 2015-03-06 Florian Weimer <fweimer@redhat.com>
29751
29752 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
29753 (group_number, vfprintf): Use it.
29754 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
29755 (JUMP, REF): Use it.
29756 (WORK_BUFFER_SIZE): New enum constant.
29757 (process_arg, vfprintf): Use it.
29758
29759 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
29760
29761 * manual/errno.texi (Error Messages): Complete example function
29762 by adding missing #define.
29763 (program_invocation_name): Add statement indicating GNU
29764 extension and reference which header file declares the variable.
29765 (program_invocation_short_name): Likewise.
29766
29767 2015-03-06 Mike Frysinger <vapier@gentoo.org>
29768
29769 * manual/errno.texi (Error Messages): Delete strerror ISO C89
29770 compatibility note.
29771
29772 2015-03-05 Roland McGrath <roland@hack.frob.com>
29773
29774 * Makeconfig (test-wrapper-env-only): New variable.
29775 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
29776 then use that with $(test-wrapper-env-only) rather than using
29777 $(test-wrapper-env) $(run-program-env) $($*-ENV).
29778
29779 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
29780
29781 [BZ #18082]
29782 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
29783 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
29784 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
29785 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
29786 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
29787 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
29788 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
29789 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
29790 Likewise.
29791 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
29792 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
29793 Likewise.
29794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
29795 Likewise.
29796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
29797 Likewise.
29798 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
29799 Likewise.
29800 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
29801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
29802 Likewise.
29803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
29804 Likewise.
29805 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
29806 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
29807
29808 2015-03-04 Roland McGrath <roland@hack.frob.com>
29809
29810 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
29811 (ETH_ALEN): New macro.
29812 (struct ether_addr): Use it for length of ether_addr_octet.
29813
29814 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
29815 (setdb): Don't call __nss_configure_lookup for "rpc".
29816 (do_test): Don't call test_rpc.
29817 (output_rpcent, test_rpc): Functions moved ...
29818 * sunrpc/test-rpcent.c: ... to this new file.
29819 * sunrpc/Makefile (tests): Add it.
29820
29821 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
29822 __xpg_sigpause.
29823 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
29824 * nptl/tst-signal6.c: Likewise.
29825 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
29826 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
29827
29828 * configure.ac (libc_cv_cxx_link_ok): New check.
29829 Reset CXX to empty if it fails to link.
29830 * configure: Regenerated.
29831 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
29832 bug-atexit3-lib only if $(CXX) is nonempty.
29833 * nptl/Makefile (tests): Likewise for tst-cancel24.
29834 (tests, tests-static): Likewise for tst-cancel24-static.
29835 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
29836 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
29837 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
29838 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
29839
29840 2015-03-04 Andreas Schwab <schwab@suse.de>
29841
29842 [BZ #17631]
29843 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
29844 for non-GCC compilers.
29845 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29846 Likewise.
29847
29848 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29849
29850 [BZ #17776]
29851 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
29852 integer before bitwise and assembly operations.
29853 (feclearexcept): Likewise.
29854 * math/test-fenvinline.c: New file.
29855 * math/Makefile: Add test-fenvinline test.
29856
29857 2015-03-03 Alan Modra <amodra@gmail.com>
29858
29859 [BZ #16512]
29860 * scripts/localplt.awk: Strip off symbol version.
29861 * NEWS: Mention bug fix.
29862
29863 2015-03-02 Roland McGrath <roland@hack.frob.com>
29864
29865 * sysdeps/pthread/timer_routines.c
29866 (timer_free_list, thread_free_list, thread_active_list): Make static.
29867
29868 2015-03-02 Joseph Myers <joseph@codesourcery.com>
29869
29870 [BZ #17779]
29871 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29872 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29873 Undefine.
29874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29875 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29876 Likewise.
29877 * sysdeps/unix/sysv/linux/sh/kernel-features.h
29878 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29879 Likewise.
29880
29881 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29882
29883 [BZ #18036]
29884 * posix/fnmatch_loop.c (END): Detect invalid pattern.
29885 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
29886
29887 2015-03-02 Andreas Schwab <schwab@suse.de>
29888
29889 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
29890 variable name.
29891
29892 2015-03-02 Florian Weimer <fweimer@redhat.com>
29893
29894 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
29895 Return error status.
29896
29897 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
29898
29899 [BZ #15969]
29900 * locale/findlocale.c (_nl_find_locale): Introduce const
29901 version of loc_name and drop unsafe type casts.
29902
29903 2015-02-27 Roland McGrath <roland@hack.frob.com>
29904
29905 * dlfcn/tststatic2.c (main): Converted to ...
29906 (do_test): ... this.
29907 (TEST_FUNCTION): New macro.
29908 Include test-skeleton.c.
29909
29910 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
29911
29912 [BZ #17711]
29913 * elf/Makefile (tests): Add vismain only if PIE is enabled.
29914 (tests-pie): Add vismain.
29915 (CFLAGS-vismain.c): New.
29916 * elf/vismain.c: Add comments for PIE requirement.
29917
29918 2015-02-27 Joseph Myers <joseph@codesourcery.com>
29919
29920 [BZ #18046]
29921 [BZ #18047]
29922 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
29923 0x1p-56L as threshold for just returning the argument.
29924 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
29925 0x1p-32L as threshold for just returning the argument.
29926 * math/auto-libm-test-in: Add more tests of atanh.
29927 * math/auto-libm-test-out: Regenerated.
29928 * sysdeps/i386/fpu/libm-test-ulps: Update.
29929 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29930
29931 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
29932
29933 * string/bcopy.c (bcopy): Call memmove for performance.
29934
29935 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
29936
29937 * string/bzero.c (__bzero): Call memset for performance.
29938
29939 2015-02-27 John David Anglin <dave.anglin@bell.net>
29940
29941 [BZ #18068]
29942 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
29943 to 00100000.
29944
29945 2015-02-27 Joseph Myers <joseph@codesourcery.com>
29946
29947 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
29948
29949 2015-02-26 Joseph Myers <joseph@codesourcery.com>
29950
29951 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
29952 (__kernel_standard): Use CSTR macro when setting exc.name.
29953 * sysdeps/ieee754/Makefile [$(subdir) = math]
29954 (CFLAGS-k_standard.c): Remove variable.
29955
29956 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
29957 setting p and q from "else if" to "else".
29958 (qzero): Likewise.
29959 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
29960 (qone): Likewise.
29961 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
29962 (qzerof): Likewise.
29963 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
29964 (qonef): Likewise.
29965 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
29966 (qzero): Likewise.
29967 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
29968 (qone): Likewise.
29969
29970 [BZ #18038]
29971 [BZ #18039]
29972 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
29973 return pi/2 for arguments below 0x1p-113L.
29974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
29975 return pi/2 for arguments below 0x1p-106L.
29976 * math/auto-libm-test-in: Add more tests of acos.
29977 * math/auto-libm-test-out: Regenerated.
29978
29979 [BZ #16351]
29980 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
29981 (MO): New macro.
29982 (__ieee754_asin): Force underflow exception for results with small
29983 absolute value.
29984 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
29985 (MO): New macro.
29986 (__ieee754_asinf): Force underflow exception for results with
29987 small absolute value.
29988 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
29989 (__ieee754_asin): Force underflow exception for results with small
29990 absolute value.
29991 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
29992 (__ieee754_asinf): Force underflow exception for results with
29993 small absolute value.
29994 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
29995 (__ieee754_asinl): Force underflow exception for results with
29996 small absolute value.
29997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
29998 (__ieee754_asinl): Force underflow exception for results with
29999 small absolute value.
30000 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30001 (__ieee754_asinl): Force underflow exception for results with
30002 small absolute value.
30003 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30004 Include <math.h>.
30005 * math/auto-libm-test-in: Do not mark underflow exceptions as
30006 possibly missing for bug 16351.
30007 * math/auto-libm-test-out: Regenerated.
30008
30009 [BZ #18030]
30010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30011 of power of 2 down when low part has opposite sign.
30012 * math/libm-test.inc (logb_test_data): Add more tests.
30013
30014 2015-02-26 Andreas Schwab <schwab@suse.de>
30015
30016 [BZ #18032]
30017 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30018 over collating symbol inside a bracket expression. Minor cleanup.
30019 * posix/tst-fnmatch3.c (do_test): Add test case.
30020
30021 2015-02-26 Joseph Myers <joseph@codesourcery.com>
30022
30023 [BZ #18029]
30024 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30025 Adjust exponent of power of 2 down when low part has opposite
30026 sign.
30027 * math/libm-test.inc (ilogb_test_data): Add more tests.
30028
30029 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
30030
30031 [BZ #15969]
30032 * locale/findlocale.c (_nl_find_locale): Fix constness error in
30033 the previous change.
30034
30035 [BZ #15969]
30036 * locale/findlocale.c (_nl_find_locale): Retry archive search
30037 after alias expansion.
30038
30039 2015-02-25 Roland McGrath <roland@hack.frob.com>
30040
30041 * iconv/tst-iconv3.c (main): Converted to ...
30042 (do_test): ... this.
30043 (TEST_FUNCTION): New macro.
30044 Include test-skeleton.c.
30045
30046 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30047 (convert): Make function static.
30048 (test_unalign): Likewise. Add const to argument pointee types.
30049 (main): Replace with static function do_test.
30050 Print "Succeeded." only if RET is zero.
30051 (TEST_FUNCTION): New macro.
30052 Include test-skeleton.c.
30053
30054 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30055 returns a null pointer.
30056
30057 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30058
30059 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30060 to __memcpy_ppc only for static builds.
30061
30062 2015-02-25 Joseph Myers <joseph@codesourcery.com>
30063
30064 [BZ #18020]
30065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30066 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30067 * math/auto-libm-test-in: Add more tests of asinh.
30068 * math/auto-libm-test-out: Regenerated.
30069 * sysdeps/i386/fpu/libm-test-ulps: Update.
30070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30071
30072 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
30073
30074 [BZ #15850]
30075 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30076 and ip6_mtuinfo definitions here.
30077 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30078 in this define too. Update comment.
30079
30080 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
30081
30082 * elf/sprof.c (load_shobj): Tweak error message to match others.
30083
30084 2015-02-24 Kevin Easton <kevin@guarana.org>
30085
30086 [BZ #16145] (partial fix)
30087 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30088 to reduce lock contention.
30089
30090 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
30091
30092 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30093 (struct timex): Update time comment.
30094 (ADJ_SETOFFSET): Define.
30095
30096 2015-02-24 Joseph Myers <joseph@codesourcery.com>
30097
30098 [BZ #18019]
30099 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30100 2**56 not 2**28 as threshold for log (2x) formula.
30101 * math/auto-libm-test-in: Add more tests of acosh.
30102 * math/auto-libm-test-out: Regenerated.
30103 * sysdeps/i386/fpu/libm-test-ulps: Update.
30104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30105
30106 2015-02-24 Mike Frysinger <vapier@gentoo.org>
30107
30108 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30109 parenthesis around the buf assignment.
30110 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30111
30112 2015-02-24 Joseph Myers <joseph@codesourcery.com>
30113
30114 [BZ #16783]
30115 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30116 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30117 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30118 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30119 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30120 * math/libm-test.inc (scalb_test_data): Add more tests.
30121
30122 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
30123
30124 [BZ #17916]
30125 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30126 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30127
30128 2015-02-24 Eric Rannaud <e@nanocritical.com>
30129
30130 [BZ #17523]
30131 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30132 * io/bits/fcntl2.h (open): Use it.
30133 (openat): Likewise.
30134 * io/open.c (__libc_open): Likewise.
30135 * io/open64.c (__libc_open64): Likewise.
30136 * io/open64_2.c (__open64_2): Likewise.
30137 * io/open_2.c (__open_2): Likewise.
30138 * io/openat.c (__openat): Likewise.
30139 * io/openat64.c (__openat64): Likewise.
30140 * io/openat64_2.c (__openat64_2): Likewise.
30141 * io/openat_2.c (__openat_2): Likewise.
30142 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30143 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30144 * sysdeps/posix/open64.c (__libc_open64): Likewise.
30145 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30146 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30147 (__open_nocancel): Likewise.
30148 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30149 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30150 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30151
30152 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30153
30154 [BZ #14841]
30155 * resolv/gethnamaddr.c (getanswer): Skip logging if
30156 RES_USE_DNSSEC is set.
30157 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30158
30159 2015-02-24 Mike Frysinger <vapier@gentoo.org>
30160
30161 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30162
30163 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
30164
30165 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30166 201304L, for Unicode 7.
30167
30168 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
30169
30170 [BZ #17836]
30171 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30172 shared library. Add gmon-start.os otherwise.
30173 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30174 $(objpfx)gmon-start.os if builing shared library.
30175 ($(objpfx)g$(static-start-installed-name)): Likewise.
30176
30177 2015-02-23 Andreas Schwab <schwab@suse.de>
30178
30179 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30180
30181 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30182
30183 [BZ #17269]
30184 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30185 (enlarge_userbuf): Likewise.
30186
30187 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
30188
30189 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30190 * math/atest-exp.c (TIMEOUT): Adjust to 200.
30191 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30192 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30193
30194 2015-02-20 Joseph Myers <joseph@codesourcery.com>
30195
30196 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30197 expression inside statement expression.
30198
30199 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
30200
30201 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30202 <sysdeps/nptl/lowlevellock.h> and remove macros and
30203 functions that are now defined there.
30204 (SYS_futex): Remove.
30205 (lll_compare_and_swap): Remove.
30206 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30207
30208 2015-02-19 Joseph Myers <joseph@codesourcery.com>
30209
30210 [BZ #17999]
30211 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30212 instead of scandirat.
30213 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30214 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30215 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30216 __scandirat.
30217 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30218 (__scandirat): Declare. Use libc_hidden_proto.
30219 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30220 Remove variable.
30221 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30222
30223 2015-02-18 Joseph Myers <joseph@codesourcery.com>
30224
30225 [BZ #15319]
30226 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30227 (MO): New macro.
30228 (__ieee754_atan2): For results with small absolute value, force
30229 underflow exception and remove excess range and precision from
30230 return value.
30231 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30232 (MO): New macro.
30233 (__ieee754_atan2f): For results with small absolute value, force
30234 underflow exception and remove excess range and precision from
30235 return value.
30236 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30237 (MO): New macro.
30238 (__atan): For results with small absolute value, force underflow
30239 exception and remove excess range and precision from return value.
30240 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30241 (MO): New macro.
30242 (__atanf): For results with small absolute value, force underflow
30243 exception and remove excess range and precision from return value.
30244 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30245 <math.h>.
30246 (__ieee754_atan2): Force underflow exception for results with
30247 small absolute value.
30248 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30249 <math_private.h>.
30250 (atan): Force underflow exception for results with small absolute
30251 value.
30252 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30253 (__atanf): Force underflow exception for results with small
30254 absolute value.
30255 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30256 <math.h>.
30257 (__atanl): Force underflow exception for results with small
30258 absolute value.
30259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30260 (__atanl): Force underflow exception for results with small
30261 absolute value.
30262 * sysdeps/x86/fpu/bits/mathinline.h
30263 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30264 (__ieee754_atan2): Only define inline for long double.
30265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30266 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30267 * math/auto-libm-test-in: Do not mark underflow exceptions as
30268 possibly missing for bug 15319. Add more tests of atan2.
30269 * math/auto-libm-test-out: Regenerated.
30270 * math/libm-test.inc (casin_test_data): Do not mark underflow
30271 exceptions as possibly missing for bug 15319.
30272 (casinh_test_data): Likewise.
30273 * sysdeps/i386/fpu/libm-test-ulps: Update.
30274
30275 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
30276
30277 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30278 * sysdeps/mips/bits/endian.h: Fix comments.
30279
30280 2015-02-18 Joseph Myers <joseph@codesourcery.com>
30281
30282 [BZ #17996]
30283 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30284 (hdestroy_r): Likewise.
30285 (hsearch_r): Likewise.
30286 (__hcreate_r): Declare and use libc_hidden_proto.
30287 (__hdestroy_r): Likewise.
30288 (__hsearch_r): Likewise.
30289 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30290 (hcreate): Call __hcreate_r instead of hcreate_r.
30291 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30292 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30293 as weak alias of __hcreate_r.
30294 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30295 __hdestroy_r.
30296 (hsearch_r): Rename to __hsearch_r and define as weak alias of
30297 __hsearch_r.
30298 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30299 Remove variable.
30300 (test-xfail-XPG4/search.h/linknamespace): Likewise.
30301 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30302 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30303 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30304
30305 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30306
30307 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30308 arena_lock into a single arena_get.
30309
30310 2015-02-17 Carlos O'Donell <carlos@redhat.com>
30311
30312 * dl-reloc.c: Inlucde libc-internal.h.
30313 (_dl_try_allocate_static_tls): Call ALIGN_UP.
30314 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30315 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30316 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30317 (grow_heap): Likewise.
30318 * malloc/malloc.c: Include libc-internal.h.
30319 (do_check_malloc): Call powerof2.
30320 (sysmalloc): Use pagesize. Call ALIGN_UP.
30321 (systrim): Use pagesize.
30322 (mremap_chunk): Use pagesize. Call ALIGN_UP.
30323 (__libc_valloc): Use pagesize.
30324 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30325
30326 2015-02-17 Joseph Myers <joseph@codesourcery.com>
30327
30328 [BZ #17991]
30329 * include/sys/resource.h (__getrlimit64): Declare. Use
30330 libc_hidden_proto.
30331 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30332 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
30333 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30334 getrlimit64.
30335 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30336 __getrlimit64.
30337 [!getrlimit64] (getrlimit64): Define as weak alias of
30338 __getrlimit64. Use libc_hidden_weak.
30339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30340 using __getrlimit64 not __new_getrlimit64.
30341 (__GI_getrlimit64): Likewise.
30342 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30343 Likewise.
30344 (__GI_getrlimit64): Likewise.
30345 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30347 (getrlimit): Add __getrlimit64 alias.
30348 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30349 Likewise.
30350 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30351 Remove variable.
30352 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30353 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30354
30355 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
30356
30357 * libio/fileops.c: Add missing sys/mman.h
30358 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30359
30360 2015-02-17 Joseph Myers <joseph@codesourcery.com>
30361
30362 * manual/math.texi (Errors in Math Functions): Clarify goals
30363 regarding inexact and underflow exceptions.
30364
30365 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
30366
30367 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30368 * sysdeps/mips/memset.S: Ditto.
30369
30370 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
30371
30372 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30373
30374 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30375
30376 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
30377 (__v1longjmp): Remove versioned symbol.
30378 (__v1siglongjmp): Remove alias and versioned symbol.
30379 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
30380 (__v2siglongjmp): Likewise.
30381
30382 2015-02-16 Torvald Riegel <triegel@redhat.com>
30383
30384 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
30385
30386 2015-02-16 Mike Frysinger <vapier@gentoo.org>
30387
30388 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
30389
30390 2015-02-16 Joseph Myers <joseph@codesourcery.com>
30391
30392 [BZ #17987]
30393 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30394 zero result does not depend on the sign resulting from
30395 subtraction.
30396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30397 Likewise.
30398 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30399 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30400 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30401 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30402 * math/libm-test.inc (remquo_test_data): Add more tests.
30403
30404 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
30405
30406 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
30407 Problem reported by J William Piggott.
30408
30409 2015-02-16 Joseph Myers <joseph@codesourcery.com>
30410
30411 [BZ #17978]
30412 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
30413 products 4 * y and 2 * y where those would overflow.
30414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30415 Likewise.
30416 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30417 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30418 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30419 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30420 * math/libm-test.inc (remquo_test_data): Add more tests.
30421
30422 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
30423
30424 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
30425 [defined _COMPILING_NEWLIB].
30426 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
30427 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
30428
30429 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
30430 [!defined __mips_isa_rev || __mips_isa_rev < 6].
30431
30432 2015-02-16 Torvald Riegel <triegel@redhat.com>
30433
30434 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
30435 acquired.
30436
30437 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
30438
30439 [BZ #17792]
30440 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
30441 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
30442 HOST_STACK_END_ADDR): Likewise.
30443
30444 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
30445
30446 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
30447 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
30448 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30449
30450 2015-02-13 Roland McGrath <roland@hack.frob.com>
30451
30452 * sysdeps/generic/c++-types.data: New file.
30453 * sysdeps/generic/ld.abilist: New file.
30454 * sysdeps/generic/libBrokenLocale.abilist: New file.
30455 * sysdeps/generic/libanl.abilist: New file.
30456 * sysdeps/generic/libc.abilist: New file.
30457 * sysdeps/generic/libcrypt.abilist: New file.
30458 * sysdeps/generic/libdl.abilist: New file.
30459 * sysdeps/generic/libm.abilist: New file.
30460 * sysdeps/generic/libpthread.abilist: New file.
30461 * sysdeps/generic/libresolv.abilist: New file.
30462 * sysdeps/generic/librt.abilist: New file.
30463
30464 2015-02-13 Joseph Myers <joseph@codesourcery.com>
30465
30466 [BZ #17569]
30467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30468 Compute absolute value of x as modified by fmod, not original
30469 value of x.
30470 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
30471 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
30472 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
30473 RUN_TEST_ffI_f1_mod8.
30474 (remquo_test_data): Add more tests.
30475
30476 2015-02-13 Roland McGrath <roland@hack.frob.com>
30477
30478 * sysdeps/init_array/pt-crti.S: New file.
30479
30480 2015-02-13 Joseph Myers <joseph@codesourcery.com>
30481
30482 [BZ #17967]
30483 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
30484 __builtin_fmaf instead of relying on contraction of a * b + c.
30485
30486 2015-02-12 J William Piggott <elseifthen@gmx.com>
30487
30488 [BZ #17969]
30489 * manual/time.texi: correct the zoneinfo path in the TZ Variable
30490 node.
30491
30492 2015-02-12 Joseph Myers <joseph@codesourcery.com>
30493
30494 [BZ #17964]
30495 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
30496 __builtin_fma instead of relying on contraction of a * b + c.
30497
30498 2015-02-12 Roland McGrath <roland@hack.frob.com>
30499
30500 * Makeconfig (ASFLAGS): Add -Werror=undef.
30501 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
30502 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
30503 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
30504
30505 * Makeconfig (after-link): New variable.
30506 (+link-pie, +link-pie-tests): Use it.
30507 (+link-static, +link-static-tests): Likewise.
30508 (+link, +link-tests): Likewise.
30509 * Makerules (build-module, build-module-asneeded): Likewise.
30510 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
30511 Likewise.
30512 * elf/Makefile ($(objpfx)ld.so): Likewise.
30513
30514 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
30515
30516 [BZ #17965]
30517 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
30518 both struct timeval and struct timespec.
30519
30520 2015-02-12 Joseph Myers <joseph@codesourcery.com>
30521
30522 [BZ #16560]
30523 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30524 and redefine.
30525 (__ieee754_exp2l): Do not multiply small fractional parts by
30526 M_LN2l.
30527 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
30528 small argument.
30529 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30530 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30531 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
30532 * math/auto-libm-test-in: Add more tests of exp2.
30533 * math/auto-libm-test-out: Regenerated.
30534
30535 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30536
30537 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
30538 unaligned path.
30539
30540 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30541
30542 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
30543 little endian.
30544
30545 2015-02-12 Andreas Schwab <schwab@suse.de>
30546
30547 [BZ #15790]
30548 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
30549 Filter out elision flags from value returned in kind.
30550 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
30551 * nptl/tst-pthread-mutexattr.c: New file.
30552
30553 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
30554
30555 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
30556 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
30557 into gnu-gnu, and update comment to refer to abi-tags.
30558
30559 2015-02-11 Joseph Myers <joseph@codesourcery.com>
30560
30561 [BZ #15467]
30562 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
30563 (__sincos): Set errno to EDOM for infinite argument.
30564 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
30565 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
30566 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
30567 (__sincosl): Set errno to EDOM for infinite argument.
30568 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
30569 (__sincosl): Set errno to EDOM for infinite argument.
30570 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
30571 (__sincosl): Set errno to EDOM for infinite argument.
30572 * math/libm-test.inc (sincos_test_data): Test errno setting.
30573
30574 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
30575
30576 * string/strxfrm_l.c: Remove #define STRCMP.
30577 * string/strcoll_l.c: Remove #define STRLEN.
30578 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
30579 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
30580
30581 2015-02-10 Joseph Myers <joseph@codesourcery.com>
30582
30583 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
30584 * sysdeps/mips/mips32/sfp-machine.h: ... here.
30585 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
30586 * sysdeps/mips/mips64/Makefile: ... here.
30587 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
30588 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
30589 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
30590 * sysdeps/mips/mips64/sfp-machine.h: ... here.
30591 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
30592 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
30593 * sysdeps/mips/mips64/n64/Implies: Likewise.
30594
30595 2015-02-10 Roland McGrath <roland@hack.frob.com>
30596
30597 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
30598 <sys/time.h>, <string.h>, and <errno.h>.
30599 (dest_offset, dest_address, value, zero): Remove unused variables.
30600 (ldouble): Remove typedef.
30601 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
30602 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
30603 1). Fix code style.
30604 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
30605 (check): Function removed.
30606 (CHECK): New macro.
30607 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
30608 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
30609 Don't call set_sigaction_FP and remove_sigaction_FP here.
30610 (ldouble_test): Just use 'long double' as macro argument, no need for
30611 the 'ldouble' typedef.
30612 (do_test): Set up SIGFPE handler at start, using plain signal rather
30613 than sigaction. Fix code style.
30614
30615 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
30616
30617 [BZ #17949]
30618 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
30619 jump label.
30620
30621 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
30622
30623 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
30624 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30625
30626 * sysdeps/powerpc/configure.ac: Remove file.
30627 * sysdeps/powerpc/configure: Likewise.
30628
30629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30630 [sysdep_routines]: Remove wordcopy-power6 object.
30631 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30632 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
30633 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
30634 (__memmove_ppc32): Likewise.
30635 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
30636 file.
30637 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
30638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
30639 Remove preprocessor.
30640
30641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30642 [sysdep_routines]: Remove wide chars objects.
30643 [wcsmbs]: New rule for wide char objects.
30644
30645 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30646 Remove wordcopy-power6 obejct.
30647 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
30648 Use local call for wordcopy and memcpy symbols.
30649 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
30650 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
30651 implementation for loader.
30652 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
30653
30654 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30655 Remove wordcopy-power7 object.
30656 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
30657 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
30658 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
30659 (_wordcopy_fwd_dest_aligned): Likewise.
30660 (_wordcopy_bwd_aligned): Likewise.
30661 (_wordcopy_bwd_dest_aligned): Likewise.
30662
30663 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
30664 Rewrite to call __memmove_ppc instead of include default
30665 implementation.
30666
30667 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30668 Remove wide chars objects.
30669 [wcsmbs]: New rule for wide char objects.
30670
30671 2015-02-09 Andreas Schwab <schwab@suse.de>
30672
30673 [BZ #17912]
30674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30675 in terms of __O_DIRECTORY.
30676
30677 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
30678
30679 * time/getdate.c: Include <stdbool.h>.
30680 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
30681 call PTR_MANGLE.
30682 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
30683 PTR_DEMANGLE.
30684
30685 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
30686
30687 Add ersatz _Static_assert on older C hosts
30688 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
30689 pre-C11 C platform that is not known to support _Static_assert.
30690
30691 2015-02-07 Richard Braun <rbraun@sceen.net>
30692
30693 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
30694 sigstate.
30695 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
30696
30697 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30698
30699 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
30700 priority against unexistent AIO_PRIO_DELTA_MAX.
30701 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
30702 instead of int.
30703 * misc/fchflags.c (fchflags): Likewise.
30704 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
30705 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
30706 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
30707 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
30708 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
30709 Declare macros.
30710 [__USE_MISC] (chflags, fchflags): Declare functions.
30711 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
30712 EINVAL when nfds is greater than FD_SETSIZE.
30713 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
30714 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
30715 45.
30716 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
30717 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
30718 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
30719 MACH_RCV_TIMED_OUT.
30720 * hurd/hurd/signal.h (_hurd_self_sigstate,
30721 _hurd_critical_section_lock, _hurd_critical_section_unlock):
30722 Explicit casts from void *.
30723 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
30724 * abi-tags: Rename gnu-gnu os into gnu.
30725
30726 [BZ #4719]
30727 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
30728 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
30729 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
30730 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
30731 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
30732 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
30733
30734 [BZ #17944]
30735 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
30736 duplicates ADDR->sun_path with sockaddr LEN limitation.
30737 * sysdeps/mach/hurd/connect.c: Include <string.h>
30738 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
30739 * sysdeps/mach/hurd/sendmsg.c: Likewise.
30740 * sysdeps/mach/hurd/sendto.c: Likewise.
30741 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
30742 implementing it by hand.
30743
30744 2015-02-06 Roland McGrath <roland@hack.frob.com>
30745
30746 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
30747 Use sfi_breg on ldr.
30748 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
30749 Likewise.
30750
30751 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
30752 it's defined.
30753 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
30754 Test SIGSETXID only if it's defined.
30755
30756 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
30757
30758 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
30759 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
30760
30761 * nptl/tst-align2.c: Moved ...
30762 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
30763 * nptl/Makefile (tests): Remove tst-align2.
30764 * sysdeps/unix/sysv/linux/Makefile
30765 [$(subdir) = nptl] (tests): Add tst-align-clone.
30766 * nptl/tst-getpid1.c: Moved ...
30767 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
30768 * nptl/tst-getpid2.c: Moved ...
30769 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
30770 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
30771 * sysdeps/unix/sysv/linux/Makefile
30772 [$(subdir) = nptl] (tests): ... here.
30773 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
30774 * sysdeps/unix/sysv/linux/Makefile
30775 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
30776
30777 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
30778 Drop trailing \n from perror argument. Use return rather than exit.
30779
30780 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
30781 on [SA_SIGINFO].
30782 * nptl/tst-cancel21.c (do_test): Likewise.
30783 * debug/tst-backtrace6.c: Include <signal.h> first thing.
30784 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
30785 [!SA_SIGINFO]: Make it a stub test.
30786
30787 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
30788 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
30789
30790 * posix/tst-getlogin.c: Move to ...
30791 * login/tst-getlogin.c: ... here.
30792 * posix/Makefile (tests): Move tst-getlogin to ...
30793 * login/Makefile (tests): ... here.
30794
30795 * libio/tst-atime.c (do_test): Move local variables SV and E
30796 inside [ST_NOATIME] conditional.
30797
30798 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
30799
30800 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
30801
30802 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
30803 (wait_code): New function replaces macro.
30804 Call nanosleep rather than syscall.
30805
30806 * nptl/pt-system.c: Rewritten. Put everything under
30807 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30808 Use IFUNC to redirect when possible.
30809
30810 * nptl/pt-longjmp.c: Rewritten. Put everything under
30811 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30812 Use IFUNC to redirect when possible.
30813
30814 * nptl/pt-fork.c: Rewritten. Put everything under
30815 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30816 Use IFUNC to redirect when possible.
30817 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
30818
30819 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
30820 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
30821 unconditionally nowadays. This included the only reference to
30822 __vdso_clock_gettime that appears outside libc proper.
30823 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
30824 Remove version set (containing only __vdso_clock_gettime).
30825 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30826 Add attribute_hidden.
30827 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30828 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
30829 libc_hidden_data_def.
30830 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30831 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30832
30833 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
30834 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
30835 setrpcent, and getrpcport to ...
30836 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
30837 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
30838 getrpcbynumber_r, and getrpcent_r to ...
30839 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
30840 * inet/getrpcbyname.c: Moved ...
30841 * sunrpc/getrpcbyname.c: ... here.
30842 * inet/getrpcbyname_r.c: Moved ...
30843 * sunrpc/getrpcbyname_r.c: ... here.
30844 * inet/getrpcbynumber.c: Moved ...
30845 * sunrpc/getrpcbynumber.c: ... here.
30846 * inet/getrpcbynumber_r.c: Moved ...
30847 * sunrpc/getrpcbynumber_r.c: ... here.
30848 * inet/getrpcent.c: Moved ...
30849 * sunrpc/getrpcent.c: ... here.
30850 * inet/getrpcent_r.c: Moved ...
30851 * sunrpc/getrpcent_r.c: ... here.
30852 * inet/Makefile (routines): Move those to ...
30853 * sunrpc/Makefile (routines): ... here.
30854 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
30855 the $(subdirs) list.
30856 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
30857 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
30858 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
30859 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
30860
30861 * elf/Makefile (routines): Include $(all-dl-routines), not just
30862 $(dl-routines).
30863 (rtld-routines): Likewise. Use = rather than :=.
30864 * sysdeps/aarch64/Makefile [$(subdir) = elf]
30865 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
30866 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
30867 * sysdeps/arm/Makefile: Likewise.
30868 * sysdeps/i386/Makefile: Likewise.
30869 * sysdeps/x86_64/Makefile: Likewise.
30870 * sysdeps/hppa/Makefile [$(subdir) = elf]
30871 (sysdep_routines, sysdep-rtld-routines): Don't add
30872 $(sysdep-dl-routines) to these.
30873 * sysdeps/ia64/Makefile: Likewise.
30874 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
30875 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
30876 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
30877 Don't add dl-static to these; sysdep-dl-routines alone is enough.
30878 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
30879 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
30880 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
30881 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
30882 * sysdeps/powerpc/Makefile [$(subdir) = elf]
30883 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
30884 these; sysdep-dl-routines alone is enough.
30885
30886 2015-02-06 Joseph Myers <joseph@codesourcery.com>
30887
30888 [BZ #17932]
30889 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
30890 where multiplication results in zero and third argument is finite
30891 and nonzero.
30892 * math/auto-libm-test-in: Add more tests of fma.
30893 * math/auto-libm-test-out: Regenerated.
30894
30895 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
30896 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
30897 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
30898 (_FP_CMP_EQ): Likewise.
30899 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
30900
30901 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
30902 extra argument CHECK_NAN. Redefine as wrapper around
30903 _FP_EXTEND_CNAN.
30904
30905 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
30906
30907 * version.h (RELEASE): Set to "stable".
30908 (VERSION): Set to "2.21"
30909 * include/features.h (__GLIBC_MINOR__): Set to 21.
30910
30911 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
30912
30913 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30914 Paul Eggert <eggert@cs.ucla.edu>
30915
30916 [BZ #16618]
30917 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30918 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
30919 size in bytes. Store needed elements in wpmax. Use needed size
30920 in bytes for extend_alloca.
30921
30922 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
30923
30924 * manual/install.texi: Latest tested versions are GCC 4.9.2,
30925 binutls 2.25, and texinfo 5.2.
30926 * INSTALL: Regenerate.
30927 * sysdeps/nios2/configure: Regenerate.
30928 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
30929 * manual/contrib.texi: Update.
30930 * po/be.po: Update.
30931 * po/bg.po: Update.
30932 * po/ca.po: Update.
30933 * po/cs.po: Update.
30934 * po/da.po: Update.
30935 * po/de.po: Update.
30936 * po/el.po: Update.
30937 * po/eo.po: Update.
30938 * po/es.po: Update.
30939 * po/fi.po: Update.
30940 * po/fr.po: Update.
30941 * po/gl.po: Update.
30942 * po/hr.po: Update.
30943 * po/hu.po: Update.
30944 * po/ia.po: Update.
30945 * po/id.po: Update.
30946 * po/it.po: Update.
30947 * po/ja.po: Update.
30948 * po/ko.po: Update.
30949 * po/lt.po: Update.
30950 * po/nb.po: Update.
30951 * po/nl.po: Update.
30952 * po/pl.po: Update.
30953 * po/pt_BR.po: Update.
30954 * po/ru.po: Update.
30955 * po/rw.po: Update.
30956 * po/sk.po: Update.
30957 * po/sl.po: Update.
30958 * po/sv.po: Update.
30959 * po/tr.po: Update.
30960 * po/uk.po: Update.
30961 * po/vi.po: Update.
30962 * po/zh_CN.po: Update.
30963 * po/zh_TW.po: Update.
30964
30965 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
30966 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
30967 * sysdeps/hppa/dl-irel.h: Remove #warning.
30968 * sysdeps/hppa/entry.h: Provide prototype for
30969 __canonicalize_funcptr_for_compare and cast argument.
30970 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
30971 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
30972 * sysdeps/hppa/sotruss-lib.c: New file.
30973 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
30974 (atomic_compare_and_exchange_val_acq): Use __typeof__.
30975 (atomic_compare_and_exchange_bool_acq): Likewise.
30976 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
30977 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
30978
30979 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
30980 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
30981 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
30982
30983 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
30984
30985 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
30986 called function in non-PIC case.
30987
30988 2015-01-31 David S. Miller <davem@davemloft.net>
30989
30990 * sysdeps/sparc/sparc32/bits/atomic.h
30991 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
30992 unlock not after it.
30993 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
30994 volatile register usage warnings from the compiler.
30995
30996 * sysdeps/sparc/nptl/sem_init.c: Delete.
30997 * sysdeps/sparc/nptl/sem_post.c: Delete.
30998 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
30999 * sysdeps/sparc/nptl/sem_wait.c: Delete.
31000 * sysdeps/sparc/sparc32/sem_init.c: New file.
31001 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31002 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31003 padding explicitly initialized.
31004 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31005 padding for in-semaphore spinlock.
31006 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31007 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31008 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31009 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31010 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31011 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31012 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31013 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31014 version.
31015 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31016 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31017
31018 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
31019
31020 [BZ #17801]
31021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31022 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31023 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31024 New.
31025 (index_AVX_Fast_Unaligned_Load): Likewise.
31026 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31027 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31028 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31029 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31030 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31031 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31032 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31033 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31034 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31035
31036 2015-01-29 Andreas Schwab <schwab@suse.de>
31037
31038 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31039
31040 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31041
31042 [BZ #17892]
31043 * nscd/nscd_stat.c (send_stats): Initialize DATA.
31044
31045 2015-01-28 Martin Sebor <msebor@redhat.com>
31046
31047 * math/README.libm-test: Clarify. Add "How to read the test output."
31048
31049 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
31050
31051 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31052 Define to 0.
31053
31054 2015-01-28 Joseph Myers <joseph@codesourcery.com>
31055
31056 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31057 (__HAVE_64B_ATOMICS): Define to 0.
31058
31059 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
31060
31061 [BZ #17885]
31062 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31063 value to set as new flag.
31064
31065 [BZ #16576]
31066 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31067 and use _ARCH_PPCSQ instead.
31068 (__ieee754_sqrt): Likewise.
31069 (__ieee754_sqrtf): Likewise.
31070 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31071 _ARCH_PPCSQ is defined.
31072 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31073 fsqrt instruction.
31074 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31075 _ARCH_PPCSQ is defined.
31076 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31077 fsqrts instruction.
31078 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31079
31080 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31081
31082 * iconv/loop.c: Suppress array out of bound warning caused by GCC
31083 bug (GCC BZ #64739).
31084
31085 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
31086
31087 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31088 Mark _retval as used.
31089 (lll_futex_wake_unlock): Likewise.
31090 (lll_futex_timed_wait_requeue_pi): Likewise.
31091
31092 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31093 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31094 register variables.
31095
31096 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31097 libm_hidden_def.
31098
31099 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31100 (__bswap_64): Mark as __always_inline.
31101
31102 2015-01-25 Bram <bug_rh@spam.wizbit.be>
31103
31104 [BZ #15378]
31105 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31106 when none of the search directories exist.
31107
31108 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
31109
31110 [BZ #17869]
31111 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31112 power8 in .machine directive.
31113
31114 [BZ #17868]
31115 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31116 set dependency from opd value.
31117
31118 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
31119
31120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31121 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31122 architecture.
31123
31124 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
31125
31126 [BZ #17870]
31127 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31128 with uint64_t.
31129 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31130 (uint64_t) 1.
31131 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31132 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31133 Replace 1UL with (uint64_t) 1.
31134 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31135 int with uint64_t.
31136
31137 2015-01-23 Roland McGrath <roland@hack.frob.com>
31138
31139 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31140 (if_freenameindex): Likewise.
31141
31142 * resource/getrlimit64.c: Add missing libc_hidden_def.
31143
31144 2015-01-22 Joseph Myers <joseph@codesourcery.com>
31145
31146 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31147 __label__.
31148 (_FP_FMA): Likewise.
31149 (_FP_TO_INT_ROUND): Likewise.
31150 (_FP_FROM_INT): Likewise.
31151
31152 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31153
31154 [BZ #16418]
31155 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31156 Make code racy and cancel safe.
31157
31158 2015-01-21 Carlos O'Donell <carlos@redhat.com>
31159
31160 * sysdeps/arm/unwind-resume.h: Fix copyright year.
31161 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31162 attribution.
31163
31164 * pwd/tst-getpw.c: Rewrite.
31165
31166 [BZ #17702]
31167 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31168 (modules-names): Add moddummy1 and moddummy2.
31169 ($(objpfx)tst-rec-dlopen): Define.
31170 * dlfcn/moddummy1.c: New file.
31171 * dlfcn/moddummy2.c: New file.
31172 * dlfcn/tst-rec-dlopen.c: New file.
31173 * elf/dl-cache.c (_dl_load_cache_lookup):
31174 Return char*. Copy result with alloca/strcpy/strdup.
31175 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31176 returns char*. Free cached. If not saving realname
31177 free cached.
31178 * elf/dl-open.c (dl_open_worker): Do not assert that
31179 _r_debug->r_state is RT_CONSISTENT.
31180 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31181 returns char*.
31182
31183 2015-01-21 Torvald Riegel <triegel@redhat.com>
31184 Carlos O'Donell <carlos@redhat.com>
31185
31186 [BZ #12674]
31187 * nptl/sem_waitcommon.c: New file.
31188 * nptl/sem_wait.c: Include sem_waitcommon.c.
31189 (__sem_wait_cleanup, do_futex_wait): Remove.
31190 (__new_sem_wait): Adapt.
31191 (__new_sem_trywait): New function.
31192 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31193 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31194 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31195 (sem_timedwait): Adapt.
31196 * nptl/sem_post.c (__new_sem_post): Adapt.
31197 (futex_wake): New function.
31198 (__old_sem_post): Add release MO fence.
31199 * nptl/sem_open.c (sem_open): Adapt.
31200 * nptl/sem_init.c (__new_sem_init): Adapt.
31201 (futex_private_if_supported): New function.
31202 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31203 (__old_sem_getvalue): Add using previous code.
31204 * sysdeps/nptl/internaltypes.h: Adapt.
31205 * nptl/tst-sem13.c (do_test): Adapt.
31206 * nptl/tst-sem11.c (main): Adapt.
31207 * nptl/sem_trywait.c: Remove.
31208 * nptl/DESIGN-sem.txt: Remove.
31209 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31210 (gen-as-const-headers): Remove structsem.sym.
31211 * nptl/structsem.sym: Remove.
31212 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31213 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31214 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31215 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31216 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31217 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31218 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31219 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31220 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31221 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31222 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31223 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31224 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31225 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31226 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31227 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31228 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31229 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31230 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31231 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31232 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31233 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31234
31235 2015-01-20 Carlos O'Donell <carlos@redhat.com>
31236
31237 * INSTALL: Regenerated.
31238
31239 * po/libc.pot: Regenerated.
31240
31241 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
31242 Sandra Loosemore <sandra@codesourcery.com>
31243 Andrew Jenner <andrew@codesourcery.com>
31244 Joseph Myers <joseph@codesourcery.com>
31245 Nathan Sidwell <nathan@codesourcery.com>
31246
31247 * NEWS: Mention new Nios II port.
31248 * sysdeps/nios2/Implies: New file.
31249 * sysdeps/nios2/Makefile: New file.
31250 * sysdeps/nios2/Subdirs: New file.
31251 * sysdeps/nios2/Versions: New file.
31252 * sysdeps/nios2/__longjmp.S: New file.
31253 * sysdeps/nios2/abort-instr.h: New file.
31254 * sysdeps/nios2/backtrace.c: New file.
31255 * sysdeps/nios2/bits/endian.h: New file.
31256 * sysdeps/nios2/bits/fenv.h: New file.
31257 * sysdeps/nios2/bits/link.h: New file.
31258 * sysdeps/nios2/bits/setjmp.h: New file.
31259 * sysdeps/nios2/bsd-_setjmp.S: New file.
31260 * sysdeps/nios2/bsd-setjmp.S: New file.
31261 * sysdeps/nios2/configure: New generated file.
31262 * sysdeps/nios2/configure.ac: New file.
31263 * sysdeps/nios2/crti.S: New file.
31264 * sysdeps/nios2/crtn.S: New file.
31265 * sysdeps/nios2/dl-init.c: New file.
31266 * sysdeps/nios2/dl-machine.h: New file.
31267 * sysdeps/nios2/dl-sysdep.h: New file.
31268 * sysdeps/nios2/dl-tls.h: New file.
31269 * sysdeps/nios2/dl-trampoline.S: New file.
31270 * sysdeps/nios2/gccframe.h: New file.
31271 * sysdeps/nios2/gmp-mparam.h: New file.
31272 * sysdeps/nios2/jmpbuf-offsets.h: New file.
31273 * sysdeps/nios2/jmpbuf-unwind.h: New file.
31274 * sysdeps/nios2/ldsodefs.h: New file.
31275 * sysdeps/nios2/libc-tls.c: New file.
31276 * sysdeps/nios2/libm-test-ulps: New file.
31277 * sysdeps/nios2/machine-gmon.h: New file.
31278 * sysdeps/nios2/math-tests.h: New file.
31279 * sysdeps/nios2/math_private.h: New file.
31280 * sysdeps/nios2/memusage.h: New file.
31281 * sysdeps/nios2/nptl/Makefile: New file.
31282 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31283 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31284 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31285 * sysdeps/nios2/nptl/pthreaddef.h: New file.
31286 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31287 * sysdeps/nios2/nptl/tls.h: New file.
31288 * sysdeps/nios2/preconfigure: New file.
31289 * sysdeps/nios2/s_fma.c: New file.
31290 * sysdeps/nios2/s_fmaf.c: New file.
31291 * sysdeps/nios2/setjmp.S: New file.
31292 * sysdeps/nios2/sfp-machine.h: New file.
31293 * sysdeps/nios2/sotruss-lib.c: New file.
31294 * sysdeps/nios2/stackguard-macros.h: New file.
31295 * sysdeps/nios2/stackinfo.h: New file.
31296 * sysdeps/nios2/start.S: New file.
31297 * sysdeps/nios2/sysdep.h: New file.
31298 * sysdeps/nios2/tls-macros.h: New file.
31299 * sysdeps/nios2/tst-audit.h: New file.
31300 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31301 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31302 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31303 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31304 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31305 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31306 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31307 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31308 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31309 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31310 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31311 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31312 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31313 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31314 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31315 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31316 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31317 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31318 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31319 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31320 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31321 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31322 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31323 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31324 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31325 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31326 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31327 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31328 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31329 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31330 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31331 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31332 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31333 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31334 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31335 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31336 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31337 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31338 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31339 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31340 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31341 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31342 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31343 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31344
31345 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
31346
31347 [BZ #17844]
31348 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31349 (getutent): Use weak_alias in non SHARED case
31350 and default_symbol_version in SHARED case.
31351 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31352 (getutent_r, pututline): Likewise.
31353 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31354 (getutid): Likewise.
31355 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31356 (getutid_r): Likewise.
31357 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31358 (getutline): Likewise.
31359 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31360 (getutline_r): Likewise.
31361 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31362 (updwtmp): Likewise.
31363
31364 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
31365
31366 [BZ #17848]
31367 * sysdeps/s390/s390-32/memcmp.S
31368 (memcmp_g5): Rename to __memcmp_g5.
31369 * sysdeps/s390/s390-32/memcpy.S
31370 (memcpy_g5): Rename to __memcpy_g5.
31371 Jump to __memcpy_mvcle instead of memcpy_mvcle.
31372 (memcpy_mvcle) Rename to __memcpy_mvcle.
31373 * sysdeps/s390/s390-32/memset.S
31374 (memset_g5): Rename to __memset_g5.
31375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31376 (IFUNC_RESOLVE): Prefix ifunc-resolve function
31377 and use prefixed functions.
31378 * sysdeps/s390/s390-32/multiarch/memcmp.S
31379 (memcmp_z196): Rename to __memcmp_z196.
31380 (memcmp_z10): Rename to __memcmp_z10.
31381 (memcmp): Set alias to __memcmp_g5.
31382 (bcmp): Set alias to __memcmp_g5.
31383 * sysdeps/s390/s390-32/multiarch/memcpy.S
31384 (memcpy_z196): Rename to __memcpy_z196.
31385 Jump to __memcpy_mvcle instead of memcpy_mvcle.
31386 (memcpy_z10): Rename to __memcpy_z10.
31387 Jump to __memcpy_mvcle instead of memcpy_mvcle.
31388 (memcpy): Set alias to __memcpy_g5.
31389 * sysdeps/s390/s390-32/multiarch/memset.S
31390 (memset_z196): Rename to __memset_z196.
31391 Jump to __memset_mvcle instead of memset_mvcle.
31392 (memset_z10): Rename to __memset_z10.
31393 Jump to __memset_mvcle instead of memset_mvcle.
31394 (memset_mvcle) Rename to __memset_mvcle.
31395 (memset): Set alias to __memset_g5.
31396 * sysdeps/s390/s390-64/memcmp.S
31397 (memcmp_z900): Rename to __memcmp_z900.
31398 * sysdeps/s390/s390-64/memcpy.S
31399 (memcpy_z900): Rename to __memcpy_z900.
31400 Jump to __memcpy_mvcle instead of memcpy_mvcle.
31401 (memcpy_mvcle) Rename to __memcpy_mvcle.
31402 * sysdeps/s390/s390-64/memset.S
31403 (memset_z900): Rename to __memset_z900.
31404 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
31405 (IFUNC_RESOLVE): Prefix ifunc-resolve function
31406 and use prefixed functions.
31407 * sysdeps/s390/s390-64/multiarch/memcmp.S
31408 (memcmp_z196): Rename to __memcmp_z196.
31409 (memcmp_z10): Rename to __memcmp_z10.
31410 (memcmp): Set alias to __memcmp_z900.
31411 (bcmp): Set alias to __memcmp_z900.
31412 * sysdeps/s390/s390-64/multiarch/memcpy.S
31413 (memcpy_z196): Rename to __memcpy_z196.
31414 Jump to __memcpy_mvcle instead of memcpy_mvcle.
31415 (memcpy_z10): Rename to __memcpy_z10.
31416 Jump to __memcpy_mvcle instead of memcpy_mvcle.
31417 (memcpy): Set alias to __memcpy_z900.
31418 * sysdeps/s390/s390-64/multiarch/memset.S
31419 (memset_z196): Rename to __memset_z196.
31420 Jump to __memset_mvcle instead of memset_mvcle.
31421 (memset_z10): Rename to __memset_z10.
31422 Jump to __memset_mvcle instead of memset_mvcle.
31423 (memset_mvcle) Rename to __memset_mvcle.
31424 (memset): Set alias to __memset_z900.
31425
31426 2015-01-14 Joseph Myers <joseph@codesourcery.com>
31427
31428 [BZ #17748]
31429 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
31430 __fesetenv instead of fesetenv.
31431
31432 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31433
31434 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
31435 macro.
31436
31437 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31438
31439 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
31440 regression on LE.
31441
31442 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
31443 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
31444 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31445 strncmp-power8 object.
31446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31447 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
31448 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
31449 * NEWS: Update.
31450
31451 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31453
31454 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
31455 trailing byte check.
31456
31457 2015-01-13 David S. Miller <davem@davemloft.net>
31458
31459 * include/signal.h (__sigreturn): Guard with __USE_MISC.
31460
31461 2015-01-13 Roland McGrath <roland@hack.frob.com>
31462
31463 * login/logout.c (logout): Use memset rather than bzero.
31464 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
31465 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
31466 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
31467 (_gethtbyaddr): Likewise.
31468 * locale/programs/simple-hash.c (bcopy): Macro removed.
31469
31470 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31471
31472 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31473 Add strcmp-power8 object.
31474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31475 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
31476 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
31477 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
31478 __strcmp_power8 implementation.
31479 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
31480 * NEWS: Update.
31481
31482 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31483 Add strncpy-power8 and stpncpy-power8 objects.
31484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31485 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
31486 implementations.
31487 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
31488 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
31489 __stpncpy_power8 implementation.
31490 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
31491 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
31492 __strncpy_power8 implementation.
31493 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
31494 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
31495 * NEWS: Update.
31496
31497 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
31498 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
31499 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
31500
31501 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31502 strncat-power8 object.
31503 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
31504 __strcat_power8 implementation.
31505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31506 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
31507 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
31508 optimized strcat for power8.
31509
31510 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31511 strcpy-power8 and stpcpy-power8 objects.
31512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31513 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
31514 implementations.
31515 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
31516 multiarch stpcpy implementation for POWER8.
31517 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
31518 multiarch strcpy implementation for POWER8.
31519 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
31520 __strcpy_power8 function.
31521 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
31522 stpcpy for POWER8.
31523 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
31524 strcpy for POWER8.
31525 * NEWS: Update.
31526
31527 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
31528
31529 [BZ #16009]
31530 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
31531 weights and rules. Use do_xfrm_cached if data fits in cache,
31532 do_xfrm otherwise. Moved former main loop to...
31533 * (do_xfrm_cached): New function.
31534 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
31535 find_idx, find_position and stack_push.
31536 * (find_idx): New function.
31537 * (find_position): Likewise.
31538 * localedata/sort-test.sh: Added test run for do_xfrm.
31539 * localedata/xfrm-test.c (main): Added command line option
31540 -nocache to run the test with strings that are too large for
31541 the STRXFRM cache.
31542
31543 2015-01-13 Torvald Riegel <triegel@redhat.com>
31544
31545 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
31546 variable to lll_futex_wake call, not the value itself.
31547
31548 2015-01-12 Joseph Myers <joseph@codesourcery.com>
31549
31550 [BZ #17803]
31551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
31552 twom64. Adjust value to 0x1p-64L.
31553 (__scalblnl): Only return standard underflowing result for K <=
31554 -64 not K <= -63; adjust exponent for underflowing result by 64
31555 not 63.
31556 * math/libm-test.inc (scalbn_test_data): Add more tests.
31557 (scalbln_test_data): Likewise.
31558
31559 [BZ #17834]
31560 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
31561 0x1p63L.
31562 (__scalblnl): Get new exponent of adjusted subnormal value from ES
31563 not HX.
31564 * math/libm-test.inc (scalbn_test_data): Add more tests.
31565 (scalbln_test_data): Likewise.
31566
31567 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31568 Stefani Seibold <stefani@seibold.net>
31569
31570 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
31571 (sysdep_routines): Add dl-vdso here, ...
31572 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
31573 (sysdep_routines): ... not here.
31574 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
31575 fallback when vDSO is not presented.
31576 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31577 Define with libc_hidden_proto/libc_hidden_data_def definitions.
31578 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
31579 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
31580 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
31581 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
31582 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
31583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
31584 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
31585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
31586 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
31587 fallback configurable symbol when vDSO is not available.
31588 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
31589 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
31590 be able to redefine fallback symbol when vDSO is not available.
31591 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
31592 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
31593
31594 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31595
31596 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
31597 (TLS_INIT_TP): Add tm_capable initialization.
31598 (TLS_DEFINE_INIT_TP): Likewise.
31599 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
31600 TCB.
31601 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
31602 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
31603 calculation.
31604 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
31605 transactoion is lock elision is built and TCB tm_capable is set.
31606 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31608 (INTERNAL_SYSCALL_NCS): Likewise.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31610 (INTERNAL_SYSCALL_NCS): Likewise.
31611 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
31612
31613 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
31614 for powerpc.
31615 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31616 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
31617 and remove it for 32 bits case.
31618 [pthread_rwlock_t] (__rwelision): New field for lock elision.
31619 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
31620 initialization.
31621 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
31622 Disable lock elision with rdlocks if elision is not available.
31623
31624 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
31625 (sysdep_routines): Add lock elision objects.
31626 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31627 [pthread_mutex_t] (__spins): Rework to add lock elision field.
31628 [pthread_mutex_t] (__elision): Add field.
31629 [__PTHREAD_SPINS]: Adjust to init lock elision field.
31630 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
31631 elision definitions for powerpc.
31632 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
31633 implementation of lock elision for powerpc.
31634 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
31635 implementation of timed lock elision for powerpc.
31636 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
31637 implementation of trylock with lock elision for powerpc.
31638 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
31639 implementaion of unlock for lock elision for powerpc.
31640 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
31641 automatic enable lock elision for mutexes.
31642 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
31643 transaction execution definitions for powerpc.
31644 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
31645 definitions.
31646 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
31647 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
31648 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
31649 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
31650 * NEWS: Update.
31651
31652 2015-01-09 Roland McGrath <roland@hack.frob.com>
31653
31654 * sysdeps/posix/shm-directory.c: Use <> rather than ""
31655 for #include of <shm-directory.h>.
31656
31657 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
31658
31659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
31660 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
31661
31662 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
31663
31664 [BZ #17791]
31665 * NEWS: Mention bug fix.
31666 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
31667 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
31668 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
31669
31670 2015-01-09 Torvald Riegel <triegel@redhat.com>
31671
31672 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
31673
31674 2015-01-09 Torvald Riegel <triegel@redhat.com>
31675
31676 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
31677
31678 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
31679
31680 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
31681 pointer and cast to uintptr_t.
31682
31683 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
31684
31685 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
31686 removed.
31687 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
31688
31689 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
31690
31691 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
31692 of 0.
31693
31694 2015-01-08 Roland McGrath <roland@hack.frob.com>
31695
31696 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
31697 <nptl/pthreadP.h> instead.
31698 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
31699
31700 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
31701 already defined.
31702 [__SIGRTMIN] (init): Function removed.
31703 [__SIGRTMIN] (initialized): Variable removed.
31704 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
31705 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
31706 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
31707 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
31708 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
31709 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
31710 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
31711 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
31712 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
31713 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
31714 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
31715 * sysdeps/nptl/allocrtsig.c: New file.
31716 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
31717 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
31718 * sysdeps/generic/testrtsig.h: File removed.
31719
31720 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
31721 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
31722
31723 * nptl/nptl-init.c (pthread_functions): Conditionalize
31724 .ptr__nptl_setxid initialization on [SIGSETXID].
31725
31726 * sysdeps/nptl/sys/procfs.h: New file.
31727 * nptl_db/Makefile (headers): Add it.
31728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
31729
31730 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
31731 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
31732 * nptl/pthread_attr_setaffinity.c: Include it.
31733 * nptl/pthread_setattr_default_np.c: Likewise.
31734 * nptl/check-cpuset.h: New file.
31735
31736 2015-01-08 Richard Henderson <rth@redhat.com>
31737
31738 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
31739 (CFLAGS-tst-execstack-prog.c): Likewise.
31740 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
31741
31742 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
31743 Sandra Loosemore <sandra@codesourcery.com>
31744 Andrew Jenner <andrew@codesourcery.com>
31745 Joseph Myers <joseph@codesourcery.com>
31746 Nathan Sidwell <nathan@codesourcery.com>
31747
31748 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
31749 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
31750 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
31751 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
31752 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
31753 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
31754 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
31755 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
31756 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
31757 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
31758 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
31759 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
31760 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
31761 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
31762 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
31763 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
31764 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
31765
31766 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31767
31768 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
31769 timespec struct member in syscall macro.
31770 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
31771 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
31772 first timeval struct member in syscall macro.
31773 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
31774
31775 2015-01-07 Joseph Myers <joseph@codesourcery.com>
31776
31777 [BZ #17748]
31778 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
31779 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
31780 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
31781 __feupdateenv and define as weak alias of __feupdateenv. Use
31782 libm_hidden_weak.
31783 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
31784 libm_hidden_def.
31785 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
31786 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
31787 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31788 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
31789 libm_hidden_def.
31790 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
31791 __feupdateenv and define as weak alias of __feupdateenv. Use
31792 libm_hidden_weak.
31793 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
31794 libm_hidden_def.
31795 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
31796 __feupdateenv and define as weak alias of __feupdateenv. Use
31797 libm_hidden_weak.
31798 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
31799 libm_hidden_def.
31800 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31801 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31802 (__feupdateenv): Likewise.
31803 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
31804 __feupdateenv and define as weak alias of __feupdateenv. Use
31805 libm_hidden_weak.
31806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31807 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
31808 libm_hidden_def.
31809 * sysdeps/tile/math_private.h (__feupdateenv): New inline
31810 function.
31811 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
31812 libm_hidden_def.
31813 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
31814 __feupdateenv instead of feupdateenv.
31815 (default_libc_feupdateenv_test): Likewise.
31816 (libc_feresetround_ctx): Likewise.
31817
31818 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31819
31820 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
31821 prototype.
31822
31823 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
31824
31825 * posix/regcomp.c (parse_bracket_exp): Initialize type to
31826 COLL_SYM in a couple of places to avoid uninitialized variable
31827 wanings on tilegx gcc 4.8.2.
31828
31829 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
31830
31831 * sysdeps/aarch64/strcpy.S: New file.
31832 * sysdeps/aarch64/stpcpy.S: New file.
31833 * NEWS: Updated.
31834
31835 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
31836
31837 * sysdeps/aarch64/strrchr.S: New file.
31838 * NEWS: Updated.
31839
31840 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
31841
31842 [BZ #17658]
31843 * stdlib/setenv.c: Fix memory leak when setting large,
31844 duplicate string.
31845
31846 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
31847
31848 [BZ #17273]
31849 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
31850 and tabs from buffer before parsing fstab entry.
31851 * misc/tst-mntent.c (main): Add test for mount entry with
31852 trailing spaces and tabs.
31853
31854 2015-01-06 Joseph Myers <joseph@codesourcery.com>
31855
31856 [BZ #17748]
31857 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
31858 * math/fesetround.c (fesetround): Rename to __fesetround and
31859 define as weak alias of __fesetround. Use libm_hidden_weak.
31860 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
31861 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
31862 * sysdeps/arm/fesetround.c (fesetround): Likewise.
31863 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
31864 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
31865 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
31866 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
31867 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
31868 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
31869 __fesetround_inline.
31870 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
31871 __fesetround_inline instead of __fesetround.
31872 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
31873 __fesetround and define as weak alias of __fesetround. Use
31874 libm_hidden_weak. Call __fesetround_inline instead of
31875 __fesetround.
31876 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
31877 __fesetround and define as weak alias of __fesetround. Use
31878 libm_hidden_weak.
31879 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
31880 Likewise.
31881 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
31882 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31883 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
31884 * sysdeps/tile/math_private.h (__fesetround): New inline function.
31885 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
31886 __fesetround and define as weak alias of __fesetround. Use
31887 libm_hidden_weak.
31888 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
31889 __fesetround instead of fesetround.
31890 (default_libc_feholdexcept_setround): Likewise.
31891 (libc_feholdsetround_ctx): Likewise.
31892 (libc_feholdsetround_noex_ctx): Likewise.
31893
31894 [BZ #17748]
31895 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
31896 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
31897 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31898 and define as weak alias of __fesetenv. Use libm_hidden_weak.
31899 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31900 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
31901 define as weak alias of __fesetenv. Use libm_hidden_weak.
31902 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31903 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31904 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31905 define as weak alias of __fesetenv. Use libm_hidden_weak.
31906 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31907 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31908 define as weak alias of __fesetenv. Use libm_hidden_weak.
31909 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
31910 libm_hidden_def.
31911 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
31912 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
31913 Likewise.
31914 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31915 define as weak alias of __fesetenv. Use libm_hidden_weak.
31916 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31917 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31918 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
31919 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31920 and define as weak alias of __fesetenv. Use libm_hidden_weak.
31921 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31922 __fesetenv instead of fesetenv.
31923 (libc_feresetround_noex_ctx): Likewise.
31924 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31925 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31926 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
31927 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31928 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31929 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31930 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31931 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31932 (__feupdateenv): Likewise.
31933 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31934 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31935 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31936 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
31937
31938 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
31939
31940 [BZ #17806]
31941 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
31942 addresses have been freed.
31943
31944 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
31945
31946 * resolv/res_init.c (__res_vinit): Improve comments about nserv
31947 and nservall.
31948
31949 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
31950
31951 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
31952 Clean up check_pf allocation pattern. addresses
31953
31954 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31955
31956 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
31957 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
31958 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
31959 * nptl/pthread_exit.c (__pthread_exit): Likewise.
31960 * nptl/pthread_join.c (pthread_join): Likewise.
31961 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
31962 * sysdeps/posix/waitid.c (__waitid): Likewise.
31963 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31964 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31965 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31966 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31967 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31968 Likewise.
31969 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31970 (__libc_pread64): Likewise.
31971 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31972 (__libc_pwrite): Likewise.
31973 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31974 (__libc_pwrite64): Likewsie.
31975 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31976 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31977 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31978 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31979 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31980 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31981 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31983 Likewise.
31984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31985 (__libc_pread64): Likewise.
31986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
31987 Likewise.
31988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31989 (__libc_pwrite64): Likewise.
31990 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31991 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31992 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
31993 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
31994 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31995 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31996 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
31997 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31998 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31999 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32000 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32001 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32002 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32003 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32004 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32005 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32006 Likewise.
32007
32008 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
32009
32010 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32011 (CFLAGS-test-double.c): Likewise.
32012 (CFLAGS-test-ldouble.c): Likewise.
32013 (CPPFLAGS-test-ifloat.c): Likewise.
32014 (CPPFLAGS-test-idouble.c): Likewise.
32015 (CPPFLAGS-test-ildoubl.c): Likewise.
32016 (CFLAGS-test-test-fenv.c): Remove variable.
32017 (CFLAGS-test-misc.c): Likewise.
32018
32019 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 [BZ #17797]
32022 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32023 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32024 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32025 CLOCKS_PER_SEC == 1000000.
32026 * time/clocktest.c (main): Replace %ld with %jd and cast to
32027 intmax_t.
32028
32029 2015-01-05 Roland McGrath <roland@hack.frob.com>
32030
32031 * sysdeps/generic/unwind-resume.h: New file.
32032 * sysdeps/gnu/unwind-resume.c: Include it.
32033 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32034 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32035 argument list.
32036 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32037 global rather than static.
32038 (_Unwind_Resume): Update user.
32039 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32040 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
32041 rather than static. Add __attribute__ ((cold)).
32042 (_Unwind_Resume, __gcc_personality_v0): Update callers.
32043 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32044 * sysdeps/arm/arm-unwind-resume.S: New file.
32045 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32046 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32047 * sysdeps/arm/Makefile [$(subdir) = csu]
32048 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32049 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32050 Add rt-arm-unwind-resume.
32051 [$(subdir) = nptl]
32052 (libpthread-sysdep_routines, libpthread-shared-only-routines):
32053 Add pt-arm-unwind-resume.
32054 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32055 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32056
32057 2015-01-05 Joseph Myers <joseph@codesourcery.com>
32058
32059 [BZ #17748]
32060 * include/fenv.h (__feholdexcept): Declare. Use
32061 libm_hidden_proto.
32062 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32063 define as weak alias of __feholdexcept. Use libm_hidden_weak.
32064 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32065 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32066 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32067 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32068 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32069 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32070 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32071 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32072 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32073 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32074 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32075 (feholdexcept): Likewise.
32076 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32077 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32078 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32079 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32080 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32081 __feholdexcept instead of feholdexcept.
32082 (default_libc_feholdexcept_setround): Likewise.
32083
32084 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
32085
32086 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32087 to avoid using stl/str to align destination.
32088
32089 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
32090
32091 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32092
32093 2015-01-05 Joseph Myers <joseph@codesourcery.com>
32094
32095 [BZ #17796]
32096 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32097 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32098 Define as weak alias not strong alias.
32099
32100 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
32101
32102 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32103 bltzal with addiupc.
32104 (RTLD_START): Ditto.
32105
32106 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
32107
32108 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32109 for __vdso_* functions in declarations.
32110 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32111 definitions.
32112 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32113 INTERNAL_VSYSCALL): Use struct return types to check for error.
32114
32115 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32116 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32117 function with cast from llround().
32118 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32119 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32120 Define.
32121
32122 2015-01-05 Joseph Myers <joseph@codesourcery.com>
32123
32124 [BZ #17793]
32125 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32126 Define as weak alias not strong alias.
32127
32128 [BZ #17635]
32129 * ctype/ctype-c99.c: New file. isblank implementation moved from
32130 ...
32131 * ctype/ctype-extn.c: ... here.
32132 (__isblank_l): Move to ...
32133 * ctype/ctype-c99_l.c: ... here. New file.
32134 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32135 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32136 Remove variable.
32137 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32138 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32139 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32140 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32141 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32142
32143 [BZ #17777]
32144 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32145 (posix_fadvise64): Define as weak alias not strong alias.
32146 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32147 (posix_fallocate64): Likewise.
32148 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32149 Remove variable.
32150 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32151 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32152 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32153 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32154 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32155
32156 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
32157
32158 [BZ #16191]
32159 * NEWS: Mention bug fix.
32160 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32161 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32162 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32163 (HOST_STACK_END_ADDR): Likewise.
32164
32165 2015-01-02 Joseph Myers <joseph@codesourcery.com>
32166
32167 [BZ #17748]
32168 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
32169 * math/fegetround.c (fegetround): Rename to __fegetround and
32170 define as weak alias of __fegetround. Use libm_hidden_weak.
32171 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32172 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32173 * sysdeps/arm/fegetround.c (fegetround): Likewise.
32174 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32175 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32176 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32177 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32178 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32179 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32180 Undefine after rather than before function definition; use
32181 parentheses around function name in definition.
32182 (__fegetround): Also undefine macro after function definition.
32183 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32184 __fegetround and define as weak alias of __fegetround. Use
32185 libm_hidden_weak. Do not undefine as macro.
32186 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32187 Likewise.
32188 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32189 __fegetround and define as weak alias of __fegetround. Use
32190 libm_hidden_weak.
32191 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32192 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32193 * sysdeps/tile/math_private.h (__fegetround): New inline function.
32194 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32195 __fegetround and define as weak alias of __fegetround. Use
32196 libm_hidden_weak.
32197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32198 __fegetround instead of fegetround.
32199
32200 [BZ #17782]
32201 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32202 Condition macro definition on [__USE_MISC].
32203
32204 [BZ #17781]
32205 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32206 (struct sigaction): Change type of sa_flags field to int.
32207
32208 [BZ #17780]
32209 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32210 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32211 __glibc_reserved0.
32212
32213 * nptl/version.c (banner): Use single year in copyright notice.
32214
32215 * NEWS: Update copyright dates.
32216 * catgets/gencat.c (print_version): Likewise.
32217 * csu/version.c (banner): Likewise.
32218 * debug/catchsegv.sh: Likewise.
32219 * debug/pcprofiledump.c (print_version): Likewise.
32220 * debug/xtrace.sh (do_version): Likewise.
32221 * elf/ldconfig.c (print_version): Likewise.
32222 * elf/ldd.bash.in: Likewise.
32223 * elf/pldd.c (print_version): Likewise.
32224 * elf/sotruss.sh: Likewise.
32225 * elf/sprof.c (print_version): Likewise.
32226 * iconv/iconv_prog.c (print_version): Likewise.
32227 * iconv/iconvconfig.c (print_version): Likewise.
32228 * locale/programs/locale.c (print_version): Likewise.
32229 * locale/programs/localedef.c (print_version): Likewise.
32230 * login/programs/pt_chown.c (print_version): Likewise.
32231 * malloc/memusage.sh (do_version): Likewise.
32232 * malloc/memusagestat.c (print_version): Likewise.
32233 * malloc/mtrace.pl: Likewise.
32234 * manual/libc.texinfo: Likewise.
32235 * nptl/version.c (banner): Likewise.
32236 * nscd/nscd.c (print_version): Likewise.
32237 * nss/getent.c (print_version): Likewise.
32238 * nss/makedb.c (print_version): Likewise.
32239 * posix/getconf.c (main): Likewise.
32240 * scripts/test-installation.pl: Likewise.
32241 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32242
32243 2015-01-02 Will Newton <will.newton@linaro.org>
32244
32245 * sysdeps/arm/armv7/configure: Removed.
32246 * sysdeps/arm/armv7/configure.ac: Likewise.
32247
32248 2015-01-02 Joseph Myers <joseph@codesourcery.com>
32249
32250 * All files with FSF copyright notices: Update copyright dates
32251 using scripts/update-copyrights.
32252 * intl/plural.c: Regenerated.
32253 * locale/programs/charmap-kw.h: Likewise.
32254 * locale/programs/locfile-kw.h: Likewise.
32255
32256 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32257
32258 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32259
32260 2014-12-31 Joseph Myers <joseph@codesourcery.com>
32261
32262 [BZ #17748]
32263 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32264 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32265 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32266 and define as weak alias of __fegetenv. Use libm_hidden_weak.
32267 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32268 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32269 define as weak alias of __fegetenv. Use libm_hidden_weak.
32270 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32271 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32272 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32273 define as weak alias of __fegetenv. Use libm_hidden_weak.
32274 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32275 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32276 define as weak alias of __fegetenv. Use libm_hidden_weak.
32277 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32278 libm_hidden_def.
32279 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32280 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32281 Likewise.
32282 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32283 define as weak alias of __fegetenv. Use libm_hidden_weak.
32284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32285 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32286 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32287 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32288 and define as weak alias of __fegetenv. Use libm_hidden_weak.
32289 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32290 __fegetenv instead of fegetenv.
32291 (libc_feholdsetround_noex_ctx): Likewise.
32292
32293 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
32294
32295 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32296 (Elf_MIPS_ABIFlags_v0): New structure.
32297 (EF_MIPS_FP64): Define.
32298 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32299 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32300 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32301 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32302 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32303 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32304 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32305 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32306 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32307 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32308 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32309 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32310 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32311 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32312 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32313 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32314 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32315 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32316 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32317 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32318 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32319 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32320 field.
32321 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32322 EF_MIPS_FP64.
32323 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32324 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32325 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32326 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32327 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32328 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32329 * sysdeps/mips/tst-abi-interlink.c: Likewise.
32330 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32331 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32332 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32333 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32334 record the current FP ABI extension.
32335 (mips-mode-switch): Define to show if kernel headers support mode
32336 switching.
32337 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32338 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32339 supported SYSV ABI version to 3.
32340 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32341 feature.
32342
32343 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32344 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32345
32346 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32347 path.
32348 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32349
32350 2014-12-31 Joseph Myers <joseph@codesourcery.com>
32351
32352 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32353 __fegetround and redefine to call __fegetround. Remove condition
32354 on [!__NO_MATH_INLINES].
32355 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32356 function.
32357 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32358 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32359 Remove macro.
32360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32361 instead of <fenv_libc.h>.
32362 (__llrintl): Call fegetround instead of __fegetround.
32363 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32364 instead of <fenv_libc.h>.
32365 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32366 (__lrintl): Call fegetround instead of __fegetround.
32367 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32368 instead of <fenv_libc.h>.
32369 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32370 (__rintl): Call fegetround instead of __fegetround.
32371
32372 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32373
32374 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32375 arrays.
32376
32377 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
32378
32379 [BZ #17775]
32380 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
32381 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
32382 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
32383
32384 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
32385
32386 * sysdeps/i386/tls-macros.h: Include <features.h>.
32387 (TLS_LE): Use non-PIC version for GCC >= 5.0.
32388 (TLS_IE): Likewise.
32389 (TLS_LD): Likewise.
32390 (TLS_GD): Likewise.
32391 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
32392 define for GCC >= 5.0.
32393
32394 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
32395
32396 * math/test-fenv.c (test_single_exception, set_single_exc,
32397 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
32398 feexcp_mask_test, feenable_test, fe_single_test): Add
32399 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
32400 case where they are not used.
32401 * math/libm-test.inc: Likewise.
32402 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32403 unused in the absence of FP rounding/exception support.
32404 * stdio-common/tst-printf-round.c: Likewise.
32405 * stdlib/tst-strtod-round.c: Likewise.
32406 * stdlib/tst-strtod-underflow.c: Likewise.
32407
32408 2014-12-30 Joseph Myers <joseph@codesourcery.com>
32409
32410 [BZ #17723]
32411 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
32412 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
32413 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32414 __feraiseexcept and define as weak alias of __feraiseexcept. Use
32415 libm_hidden_weak.
32416 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
32417 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32418 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
32419 libm_hidden_def.
32420 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32421 __feraiseexcept and define as weak alias of __feraiseexcept. Use
32422 libm_hidden_weak.
32423 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
32424 Likewise.
32425 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
32426 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32427 __feraiseexcept and define as weak alias of __feraiseexcept. Use
32428 libm_hidden_weak.
32429 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32430 libm_hidden_def.
32431 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32432 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
32433 (__feraiseexcept): Likewise.
32434 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32435 __feraiseexcept and define as weak alias of __feraiseexcept. Use
32436 libm_hidden_weak.
32437 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32438 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32439 libm_hidden_def.
32440 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
32441 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
32442 Use libm_hidden_def.
32443 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
32444 libm_hidden_def.
32445 (feraiseexcept): Define as weak not strong alias. Use
32446 libm_hidden_weak.
32447 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
32448 New inline function. Factored out of ...
32449 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
32450 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
32451 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
32452 feraiseexcept.
32453 * math/w_acos.c (__acos): Likewise.
32454 * math/w_asin.c (__asin): Likewise.
32455 * math/w_ilogb.c (__ilogb): Likewise.
32456 * math/w_j0.c (y0): Likewise.
32457 * math/w_j1.c (y1): Likewise.
32458 * math/w_jn.c (yn): Likewise.
32459 * math/w_log.c (__log): Likewise.
32460 * math/w_log10.c (__log10): Likewise.
32461 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
32462 * sysdeps/aarch64/fpu/math_private.h
32463 (libc_feupdateenv_test_aarch64): Likewise.
32464 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32465 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
32466 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
32467 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32468 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32469 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32470 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
32471 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32472 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32473 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32474
32475 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
32476
32477 [BZ #17732]
32478 * io/test-utime.c (main): Replace %ld with %jd and cast to
32479 intmax_t.
32480 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
32481 * nptl/tst-mutex5.c: Include <stdint.h>.
32482 (do_test): Replace %ld with %jd and cast to intmax_t.
32483 * posix/tst-regex.c (run_test): Likewise.
32484 (run_test_backwards): Likewise.
32485 * rt/tst-clock.c: Include <stdint.h>.
32486 (clock_test): Replace %ld with %jd and cast to intmax_t.
32487 * rt/tst-cpuclock1.c: Include <stdint.h>.
32488 (do_test): Replace %lu with %ju and cast to uintmax_t.
32489 * rt/tst-cpuclock2.c: Include <stdint.h>.
32490 (do_test): Replace %lu with %ju and cast to uintmax_t.
32491 * rt/tst-mqueue1.c: Include <stdint.h>.
32492 (check_attrs): Replace %ld with %jd and cast to intmax_t.
32493 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
32494 intmax_t.
32495 * rt/tst-mqueue4.c (do_test): Likewise.
32496 * rt/tst-timer4.c: Include <stdint.h>.
32497 (check_ts): Replace %ld with %jd and cast to intmax_t.
32498 (do_test): Likewise.
32499 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
32500 and cast to intmax_t.
32501 * sysdeps/pthread/tst-timer.c (main): Likewise.
32502 * time/clocktest.c (main): Likewise.
32503 * time/tst-posixtz.c (do_test): Likewise.
32504 * timezone/tst-timezone.c (main): Likewise.
32505
32506 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
32507 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
32510 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
32513 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
32514 version if bit_Fast_Unaligned_Load is set.
32515 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32517 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32522 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
32523 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
32524 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
32525 to 4.
32526 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
32527 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
32528 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
32529 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
32530
32531 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
32532
32533 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
32534 instead of #if to avoid a Wundef warning.
32535 * stdlib/tst-limits.c (do_test): Likewise.
32536
32537 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
32538 parallel other exception macros.
32539 (fegetenv): Convert from macro to extern inline so that it applies
32540 retroactively to inline functions already seen by the compiler.
32541 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
32542
32543 * posix/Makefile (before-compile): Use $(objpfx) for
32544 posix-conf-vars-def.h.
32545
32546 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32547
32548 * posix/getconf.c (main): Use size_t for type of I.
32549 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
32550 NSPEC.
32551
32552 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
32553 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
32554 * posix/posix-envs.def: Likewise.
32555 * sysdeps/posix/sysconf.c: Likewise.
32556 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
32557 (specs): Remove array.
32558 * scripts/gen-posix-conf-vars.awk: Support generation of specs
32559 array.
32560
32561 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
32562 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
32563 (__sysconf): Use CONF_IS_* macros.
32564
32565 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
32566 ($(objpfx)posix-conf-vars-def.h): New target.
32567 * posix/posix-conf-vars.list: New file.
32568 * posix/posix-conf-vars.h: New file.
32569 * posix/confstr.c: Include posix-conf-vars.h.
32570 (confstr): Use CONF_IS_* macros.
32571 * posix/posix-envs.def: Include posix-conf-vars.h. Use
32572 CONF_IS_* macros.
32573 * scripts/gen-posix-conf-vars.awk: New file.
32574
32575 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
32576
32577 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
32578 fegetround): Add no-op macros to avoid linknamespace issues.
32579
32580 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
32581 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
32582
32583 * sysdeps/unix/sysv/linux/tile/sysdep.h
32584 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
32585 assembly-specific section to avoid a redefinition warning.
32586
32587 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
32588 long before casting to pointer to avoid a cast warning.
32589
32590 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
32591
32592 * sysdeps/tile/tilegx/Implies: New file.
32593
32594 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
32595
32596 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
32597
32598 2014-12-23 Florian Weimer <fweimer@redhat.com>
32599
32600 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
32601
32602 2014-12-22 Joseph Myers <joseph@codesourcery.com>
32603
32604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
32605 not define.
32606 * sysdeps/unix/sysv/linux/utimes.c: Do not include
32607 <kernel-features.h>.
32608 (__utimes) [__NR_utimes]: Make code unconditional.
32609 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
32610 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32611 (__ASSUME_UTIMES): Do not undefine.
32612 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32613 (__ASSUME_UTIMES): Likewise.
32614 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32615 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
32616 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
32617 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
32618
32619 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
32620
32621 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
32622
32623 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
32624
32625 [BZ #17747]
32626 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
32627 alias to weak alias for j0l, y0l.
32628 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
32629 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
32630
32631 [BZ #17746]
32632 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
32633 conversion.
32634
32635 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
32636
32637 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
32638 to zero if not already defined.
32639
32640 2014-12-22 Joseph Myers <joseph@codesourcery.com>
32641
32642 [BZ #17724]
32643 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
32644 (__kernel_standard_f): Remove. Moved to k_standardf.c.
32645 (__kernel_standard_l): Remove. Moved to k_standardl.c with
32646 (char *) casts added.
32647 * sysdeps/ieee754/k_standardf.c: New file.
32648 * sysdeps/ieee754/k_standardl.c: Likewise.
32649 * math/Makefile (libm-support): Remove k_standard.
32650 (libm-calls): Add k_standard.
32651
32652 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
32653
32654 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32655 Optimize to avoid an unnecessary FPCR read.
32656
32657 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
32658
32659 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32660 Optimize to reduce FPCR/FPSR accesses.
32661
32662 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
32663
32664 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
32665 Call libc_fetestexcept_aarch64.
32666
32667 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
32668
32669 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
32670 Call libc_fesetround_aarch64.
32671
32672 2014-12-22 Joseph Myers <joseph@codesourcery.com>
32673
32674 [BZ #17733]
32675 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
32676 (__bind): Do not define as weak alias.
32677 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
32678 define.
32679 (__getsockname): Do not define as weak alias.
32680
32681 2014-12-22 Will Newton <will.newton@linaro.org>
32682
32683 * manual/install.texi: Document that we require bison 2.7
32684 or above.
32685 * INSTALL: Regenerate.
32686 * configure.ac: Use AC_CHECK_PROG_VER instead of
32687 AC_PATH_PROG when checking for bison and check for
32688 version 2.7 or above.
32689 * configure: Regenerate.
32690
32691 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
32692
32693 [BZ #17745]
32694 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
32695 * sysdeps/tile/ffsll.c (ffsll): To here.
32696
32697 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
32698
32699 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
32700
32701 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
32702 if not defined.
32703 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
32704 definition.
32705 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32706 hidden ___tls_get_addr.
32707 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32708 hidden __tls_get_addr.
32709 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
32710 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
32711 Likewise.
32712
32713 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
32714
32715 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
32716 _dl_init call.
32717
32718 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
32719
32720 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
32721 from "call _dl_init@PLT".
32722 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
32723
32724 2014-12-21 Anders Kaseorg <andersk@mit.edu>
32725
32726 * manual/search.texi: (Array Sort Function): Clarify stable sorting
32727 guarantees.
32728
32729 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
32730
32731 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
32732
32733 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
32734
32735 [BZ #17744]
32736 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
32737 strnlen.
32738
32739 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
32740
32741 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
32742 of multu on MIPSr6.
32743 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
32744 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
32745 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
32746 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
32747 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
32748
32749 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
32750
32751 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
32752 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
32753 (PTR_SUBU): Use subu for mips32r6/mips64r6.
32754 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
32755 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
32756 mips32r6/mips64r6.
32757 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
32758
32759 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
32760
32761 * string/strncat.c (STRNCAT): Simplify implementation.
32762
32763 2014-12-19 David S. Miller <davem@davemloft.net>
32764
32765 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
32766 access the quad as both a long double and as a series of 4 words.
32767
32768 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
32769 link_map->l_info array access.
32770
32771 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
32772
32773 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
32774
32775 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
32776 * math/atest-exp2.c (TIMEOUT): Likewise.
32777 * math/atest-sincos.c (TIMEOUT): Likewise.
32778
32779 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
32780
32781 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
32782 -Wno-error with -fno-builtin-lround.
32783
32784 2014-12-19 Torvald Riegel <triegel@redhat.com>
32785
32786 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
32787 Contains futex constants and functions moved over from ...
32788 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
32789 <lowlevellock-futex.h>.
32790 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
32791 (lll_timedwait_tid): Add comments and parentheses around macro
32792 arguments.
32793
32794 2014-12-19 Torvald Riegel <triegel@redhat.com>
32795
32796 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
32797 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
32798 (__lll_private_flag): Remove.
32799 (lll_futex_wait): Likewise.
32800 (lll_futex_timed_wait): Likewise.
32801 (lll_futex_wake): Likewise.
32802 (lll_futex_requeue): Likewise.
32803 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
32804 (__lll_timedwait_tid): Spell out argument names.
32805 (lll_timedwait_tid): Add comments and parentheses around macro
32806 arguments.
32807 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
32808 LLL_SHARED and LLL_PRIVATE usable from assembly code.
32809
32810 2014-12-19 Torvald Riegel <triegel@redhat.com>
32811
32812 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
32813 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32814 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32815 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
32816 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
32817 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
32818 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
32819 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
32820 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
32821 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
32822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
32823 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
32824 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
32825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
32826 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
32827 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
32828 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
32829 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
32830 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
32831
32832 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
32833
32834 * sysdeps/x86_64/x32/Makefile: New file.
32835
32836 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
32837
32838 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
32839 1L with (mp_limb_t) 1.
32840
32841 2014-12-17 Roland McGrath <roland@hack.frob.com>
32842
32843 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
32844 * nptl/libc_pthread_init.c: ... here.
32845 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
32846 * nptl/register-atfork.c: ... here.
32847
32848 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
32849 Use pthread_sigmask rather than INTERNAL_SYSCALL.
32850 Use assert_perror to check its return value.
32851 (__gai_create_helper_thread): Likewise.
32852
32853 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
32854
32855 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
32856
32857 2014-12-17 Joseph Myers <joseph@codesourcery.com>
32858
32859 [BZ #17725]
32860 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
32861 __profil_counter.
32862 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
32863 Likewise.
32864 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
32865 Likewise.
32866 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
32867 Likewise.
32868 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
32869 (profil_counter): Likewise.
32870 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
32871 (profil_counter): Likewise.
32872 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
32873 Likewise.
32874 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
32875 Likewise.
32876 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
32877 (profil_counter): Likewise.
32878 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
32879 Likewise.
32880 [!__profil_counter] (profil_counter): Define as weak alias of
32881 __profil_counter.
32882 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
32883 (profil_counter): Rename to __profil_counter.
32884 [!__profil_counter] (profil_counter): Define as weak alias of
32885 __profil_counter.
32886 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
32887 (profil_counter): Rename to __profil_counter.
32888 [!__profil_counter] (profil_counter): Define as weak alias of
32889 __profil_counter.
32890 * sysdeps/posix/profil.c: Update comment referring to
32891 profil_counter.
32892 (__profil): Use __profil_counter instead of profil_counter.
32893 * sysdeps/posix/sprofil.c (profil_counter): Rename to
32894 __profil_counter. Use __profil_counter_ushort and
32895 __profil_counter_uint in definitions.
32896 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
32897 instead of profil_counter_uint and profil_counter_ushort.
32898
32899 [BZ #17722]
32900 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
32901 define as weak alias of __inet_makeaddr.
32902 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
32903 as weak alias of __inet_addr.
32904 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
32905 as weak alias of __inet_pton. Use libc_hidden_weak.
32906 * include/arpa/inet.h (__inet_pton): Declare. Use
32907 libc_hidden_proto.
32908 (inet_makeaddr): Don't use libc_hidden_proto.
32909 (__inet_makeaddr): Declare. Use libc_hidden_proto.
32910 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
32911 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
32912 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
32913 Remove variable.
32914 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32915 (test-xfail-POSIX/time.h/linknamespace): Likewise.
32916
32917 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
32918
32919 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
32920
32921 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32922
32923 * stdio-common/bug-vfprintf-nargs.c (do_test):
32924 Cast value to intptr_t to avoid format warning
32925 for usage with PRIdPTR printing macro.
32926
32927 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32928
32929 * libio/tst-widetext.c (do_test):
32930 Use format type %td instead of %Zd for ptrdiff_t
32931 in order to avoid format warning.
32932
32933 2014-12-17 Andreas Schwab <schwab@suse.de>
32934
32935 * nscd/mem.c (gc): Add size_t cast to match printf format.
32936
32937 2014-12-16 Roland McGrath <roland@hack.frob.com>
32938
32939 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
32940 (init): Apply PTR_MANGLE to pointers before storing them.
32941 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
32942 before using them.
32943
32944 2014-12-16 Joseph Myers <joseph@codesourcery.com>
32945
32946 [BZ #17719]
32947 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
32948 define as weak alias of __memrchr.
32949 (__memrchr): Do not define as strong alias of memrchr.
32950 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
32951 Remove variable.
32952 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32953 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32954 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32955
32956 [BZ #17717]
32957 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
32958 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
32959 (if_indextoname): Rename to __if_indextoname and define as weak
32960 alias of __if_indextoname. Use libc_hidden_weak.
32961 (if_freenameindex): Rename to __if_freenameindex and define as
32962 weak alias of __if_freenameindex.
32963 (if_nameindex): Rename to __if_nameindex and define as weak alias
32964 of __if_nameindex.
32965 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
32966 __if_nametoindex and define as weak alias of __if_nametoindex.
32967 Use libc_hidden_weak.
32968 (if_freenameindex): Rename to __if_freenameindex and define as
32969 weak alias of __if_freenameindex.
32970 (if_nameindex): Rename to __if_nameindex and define as weak alias
32971 of __if_nameindex.
32972 (if_indextoname): Rename to __if_indextoname and define as weak
32973 alias of __if_indextoname. Use libc_hidden_weak.
32974 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
32975 __if_nametoindex and define as weak alias of __if_nametoindex.
32976 Use libc_hidden_weak.
32977 (if_freenameindex): Rename to __if_freenameindex and define as
32978 weak alias of __if_freenameindex. Use libc_hidden_weak.
32979 (if_nameindex_netlink): Use __if_freenameindex instead of
32980 if_freenameindex.
32981 (if_nameindex): Rename to __if_nameindex and define as weak alias
32982 of __if_nameindex. Use libc_hidden_weak.
32983 (if_indextoname): Rename to __if_indextoname and define as weak
32984 alias of __if_indextoname. Use libc_hidden_weak.
32985 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
32986 libc_hidden_proto.
32987 [!_ISOMAC] (__if_freenameindex): Likewise.
32988 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
32989 if_nametoindex.
32990 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
32991 variable.
32992 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32993 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32994 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32995 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32996 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32997 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32998 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32999
33000 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33001 Remove variable.
33002 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33003 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33004
33005 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33006
33007 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33008 subscript above bounds'
33009
33010 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33011 bounds.
33012
33013 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
33014
33015 * libio/tst-fopenloc.c: Use test-skeleton.c.
33016
33017 * stdlib/tst-bsearch.c: Use test-skeleton.c.
33018 (entry): Rename to ITEM.
33019 (do_test, comp): Adjust.
33020
33021 * stdio-common/tst-fseek.c: Use test-skeleton.c.
33022
33023 2014-12-16 Torvald Riegel <triegel@redhat.com>
33024
33025 * string/tester.c: Include <libc-internal.h>.
33026 (test_memset): Ignore -Wmemset-transposed-args.
33027
33028 2014-12-16 Torvald Riegel <triegel@redhat.com>
33029
33030 * misc/tst-mntent2.c (do_test): Fix warning.
33031
33032 2014-12-16 Torvald Riegel <triegel@redhat.com>
33033
33034 * elf/tst-unique4lib.cc(a): Mark as used.
33035
33036 2014-12-16 Florian Weimer <fweimer@redhat.com>
33037
33038 [BZ #17630]
33039 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33040 names.
33041
33042 2014-12-16 Allan McRae <allan@archlinux.org>
33043
33044 * stdio-common/Makefile (tests): Re-add bug26.
33045
33046 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
33047
33048 [BZ #17657]
33049 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33050 static array.
33051
33052 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
33053
33054 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33055 (__lll_lock_wait): Likewise.
33056 (__lll_timedlock_wait): Likewise.
33057 (__lll_timedwait_tid): Likewise.
33058 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33059 (__lll_robust_timedlock_wait): Likewise.
33060 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33061 (lll_cond_trylock): Likewise.
33062 (__lll_lock): Likewise.
33063 (__lll_robust_lock): Likewise.
33064 (__lll_cond_lock): Likewise.
33065 (lll_robust_cond_lock): Likewise.
33066 (__lll_timedlock): Likewise.
33067 (__lll_robust_timedlock): Likewise.
33068 (__lll_unlock): Likewise.
33069 (__lll_robust_unlock): Likewise.
33070 (lll_wait_tid): Likewise.
33071 (lll_timedwait_tid): Likewise.
33072
33073 2014-12-15 Torvald Riegel <triegel@redhat.com>
33074
33075 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33076
33077 2014-12-15 Torvald Riegel <triegel@redhat.com>
33078
33079 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33080
33081 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
33082
33083 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33084 * stdio-common/tst-sprintf.c: Likewise.
33085
33086 2014-12-15 Torvald Riegel <triegel@redhat.com>
33087
33088 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33089
33090 2014-12-15 Jeff Law <law@redhat.com>
33091
33092 [BZ #16617]
33093 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33094 on the heap. (CVE-2012-3406)
33095 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33096 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
33097 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33098
33099 2014-12-15 Will Newton <will.newton@linaro.org>
33100
33101 * manual/install.texi: Bump required version of texinfo
33102 to 4.7 from 4.5.
33103 * INSTALL: Regenerated.
33104 * configure.ac: Check for makeinfo version 4.7 and above.
33105 * configure: Regenerated.
33106
33107 2014-12-12 Roland McGrath <roland@hack.frob.com>
33108
33109 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33110 PREFIX, string constant to insert between directory and name.
33111 * sysdeps/posix/shm_open.c: Update caller.
33112 * sysdeps/posix/shm_unlink.c: Likewise.
33113 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33114 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33115 (SEM_SHM_PREFIX): New macro.
33116 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33117 [$(have-thread-library) = no].
33118 * nptl/Makefile (libpthread-routines): Add shm-directory.
33119 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33120 * sysdeps/nptl/shm-directory.h: New file.
33121 * sysdeps/posix/shm-directory.c
33122 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33123 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33124 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33125 INTERNAL_SYSCALL.
33126 (__where_is_shmfs): Function removed.
33127 (mountpoint, defaultmount, defaultdir, __namedsem_once):
33128 Variables removed.
33129 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33130 Use SHM_GET_NAME.
33131 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
33132
33133 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33134 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33135 unconditional for use inside libpthread.
33136 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33137
33138 2014-12-12 Roland McGrath <roland@hack.frob.com>
33139
33140 * nptl/pthread_getaffinity.c: New file.
33141 * nptl/pthread_setaffinity.c: New file.
33142 * nptl/pthread_getname.c: New file.
33143 * nptl/pthread_setname.c: New file.
33144
33145 * nptl/pthread_create.c (START_THREAD_DEFN)
33146 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33147
33148 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
33149 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33150
33151 * resolv/res_send.c (send_vc): Disable warning resplen may
33152 be used uninitialized.
33153
33154 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
33155
33156 * nptl/tst-mutex6.c
33157 (ATTR_NULL): New define checks ATTR against NULL.
33158 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33159 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33160
33161 2014-12-11 James Lemke <jwlemke@codesourcery.com>
33162
33163 [BZ #17581]
33164 * malloc/hooks.c
33165 (mem2mem_check): Revert my previous change.
33166 (malloc_check_get_size): Revert my previous change.
33167 (mem2chunk_check): Revert my previous change.
33168
33169 2014-12-11 Roland McGrath <roland@hack.frob.com>
33170
33171 * sysdeps/posix/shm-directory.c: New file.
33172 * sysdeps/posix/shm-directory.h: New file.
33173 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33174 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33175 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
33176 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33177 Transmute EPERM to EACCES.
33178 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33179 from ...
33180 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
33181 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33182
33183 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33184
33185 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33186 pointer and cast to uintptr_t.
33187 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33188 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33189 Add cast to avoid warning.
33190 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33191
33192 2014-12-11 Joseph Myers <joseph@codesourcery.com>
33193
33194 * nptl/semaphore.h: Move to ...
33195 * sysdeps/pthread/semaphore.h: ... here.
33196 * Makefile (installed-headers): Change nptl/semaphore.h to
33197 sysdeps/pthread/semaphore.h.
33198
33199 2014-12-11 Roland McGrath <roland@hack.frob.com>
33200
33201 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33202 generated error format strings.
33203
33204 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33205 -Wformat-extra-args warnings for scanf formats.
33206 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33207 test of zero-length format (duh).
33208 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33209 corner-case scanf format test.
33210 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33211 generated fprintf format string.
33212 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33213 corner-case sprintf format tests.
33214 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33215 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33216 -Wformat-extra-args warnings throughout.
33217 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33218 (CFLAGS-scanf4.c): Likewise.
33219 (CFLAGS-scanf7.c): Likewise.
33220 (CFLAGS-tst-sprintf.c): Likewise.
33221 (CFLAGS-tst-printf.c): Likewise.
33222 (CFLAGS-tst-printfsz.c): Likewise.
33223
33224 2014-12-11 Joseph Myers <joseph@codesourcery.com>
33225
33226 * include/cpio.h: New file.
33227 * include/fmtmsg.h: Likewise.
33228
33229 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
33230 corresponding format argument to size_t.
33231 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
33232 arguments.
33233 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
33234 corresponding format argument to size_t.
33235 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
33236 arguments.
33237 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
33238 corresponding format argument to size_t.
33239 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33240 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33241 (CFLAGS-tst-mbswcs2.c): Likewise.
33242 (CFLAGS-tst-mbswcs3.c): Likewise.
33243 (CFLAGS-tst-mbswcs4.c): Likewise.
33244 (CFLAGS-tst-mbswcs5.c): Likewise.
33245 (CFLAGS-tst-trans.c): Likewise.
33246
33247 2014-12-11 Roland McGrath <roland@hack.frob.com>
33248
33249 * posix/regexbug1.c (main): Use "%s" format with regerror results,
33250 rather than assuming they won't contain any '%'s.
33251
33252 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
33253
33254 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33255 inhibit_loop_to_libcall to avoid recursive calls.
33256 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33257 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33258
33259 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
33260
33261 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33262 prototype.
33263
33264 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
33265
33266 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33267 integer value instead of boolean.
33268
33269 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
33270
33271 * malloc/malloc.c: Fix powerof2 check.
33272
33273 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
33274
33275 * locale/programs/locfile.h (maybe_swap_uint32):
33276 Remove inline and add unused attribute.
33277
33278 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
33279
33280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33281 Truncating assembler expression to a .long expression.
33282
33283 2014-12-11 Andreas Schwab <schwab@suse.de>
33284
33285 * elf/rtld.c (struct map_args): Constify str member.
33286 (do_preload): Constify fname argument.
33287
33288 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33289
33290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33291 constants definition.
33292
33293 2014-12-11 Andreas Schwab <schwab@suse.de>
33294
33295 [BZ #16657]
33296 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33297 FORCE_ELISION instead of DO_ELISION.
33298 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33299 Remove.
33300 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33301 Likewise.
33302
33303 * iconvdata/gconv-modules: Remove duplicate entry.
33304
33305 2014-12-11 Will Newton <will.newton@linaro.org>
33306
33307 Merge gettext 0.19.3 into intl/.
33308
33309 This involves a number of cosmetic changes to comments
33310 and ANSI function definitions and prototypes throughout
33311 all the files. The gettext copyright header is used but
33312 with the date ranges taken from the glibc copy.
33313
33314 * NEWS: Add gettext merge to 2.21.
33315 * intl/bindtextdom.c: Switch to gettext copyright.
33316 Use ANSI definitions and prototypes.
33317 Use gl_* locking primitives rather than __libc_* ones.
33318 Use __builtin_expect rather than __glibc_likely/unlikely.
33319 * intl/dcgettext.c: Switch to gettext copyright.
33320 Use ANSI definitions and prototypes.
33321 * intl/dcigettext.c: Switch to gettext copyright.
33322 Use ANSI definitions and prototypes.
33323 (INTDIV0_RAISES_SIGFPE): New define.
33324 Use gl_* locking primitives rather than __libc_* ones.
33325 Include eval-plural.h instead of plural-eval.c.
33326 Use __builtin_expect rather than __glibc_likely/unlikely.
33327 * intl/dcngettext.c: Switch to gettext copyright.
33328 Use ANSI definitions and prototypes.
33329 * intl/dgettext.c: Likewise.
33330 * intl/dngettext.c: Likewise.
33331 * intl/plural-eval.c: Renamed to...
33332 * intl/eval-plural.h: ...this.
33333 * intl/explodename.c: Switch to gettext copyright.
33334 Use ANSI definitions and prototypes.
33335 (_nl_explode_name): Use strchr instead of __rawmemchr.
33336 * intl/finddomain.c: Switch to gettext copyright.
33337 Use ANSI definitions and prototypes.
33338 Use gl_* locking primitives rather than __libc_* ones.
33339 (_nl_find_domain): Use malloc rather than alloca for
33340 allocation of temporary locale name.
33341 * intl/gettext.c: Switch to gettext copyright.
33342 Use ANSI definitions and prototypes.
33343 * intl/gettextP.h: Switch to gettext copyright.
33344 Use ANSI definitions and prototypes.
33345 Use gl_* locking primitives rather than __libc_* ones.
33346 * intl/gmo.h: Switch to gettext copyright.
33347 (struct sysdep_string): Move struct segment_pair outside of
33348 struct definition.
33349 * intl/hash-string.c: Use ANSI definitions and prototypes.
33350 * intl/hash-string.h: Switch to gettext copyright.
33351 Use ANSI definitions and prototypes.
33352 * intl/l10nflist.c: Switch to gettext copyright.
33353 Use ANSI definitions and prototypes.
33354 (_nl_normalize_codeset): Avoid integer overflow.
33355 * intl/loadinfo.h: Switch to gettext copyright.
33356 Use ANSI definitions and prototypes.
33357 (LIBINTL_DLL_EXPORTED): New define.
33358 (PATH_SEPARATOR): New define.
33359 * intl/loadmsgcat.c: Switch to gettext copyright.
33360 * intl/localealias.c: Switch to gettext copyright.
33361 Use ANSI definitions and prototypes.
33362 (_nl_expand_alias): Use PATH_SEPARATOR.
33363 * intl/ngettext.c: Switch to gettext copyright.
33364 Use ANSI definitions and prototypes.
33365 * intl/plural-exp.c: Likewise.
33366 * intl/plural-exp.h: Switch to gettext copyright.
33367 Use ANSI definitions and prototypes.
33368 (struct expression): Move definition of enum operator outside
33369 of struct definition.
33370 * intl/plural.c: Regenerate.
33371 * intl/plural.y: Switch to gettext copyright.
33372 Use ANSI definitions and prototypes.
33373 Port to bison 3.0.
33374 * intl/textdomain.c: Switch to gettext copyright.
33375 Use ANSI definitions and prototypes.
33376 Use gl_* locking primitives rather than __libc_* ones.
33377
33378 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
33379
33380 * debug/warning-nop.c: Add used atrribute.
33381
33382 2014-12-10 Joseph Myers <joseph@codesourcery.com>
33383
33384 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
33385
33386 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
33387 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
33388 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
33389
33390 2014-12-10 Joseph Myers <joseph@codesourcery.com>
33391 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33392
33393 [BZ #17634]
33394 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
33395 Undefine after defining function. Define as weak alias of
33396 __wcschr. Use libc_hidden_weak.
33397 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
33398 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
33399 (libc_hidden_def): Also define __GI___wcschr alias.
33400 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
33401 __wcschr and define as weak alias of __wcschr.
33402 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
33403 __wcschr.
33404 [!WCSCHR] (DEFAULT_WCSCHR): Define.
33405 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
33406 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
33407 libc_hidden_weak. Do not use libc_hidden_def.
33408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
33409 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33410 __GI___wcschr alias.
33411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
33412 [IS_IN (libc)] (wcschr): Define as macro expanding to
33413 __redirect_wcschr.
33414 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
33415 [IS_IN (libc)] (__wcschr_power6): Likewise.
33416 [IS_IN (libc)] (__wcschr_power7): Likewise.
33417 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
33418 instead of wcschr.
33419 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
33420 __libc_wcschr.
33421 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
33422 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
33423 __wcschr and define as weak alias of __wcschr. Use
33424 libc_hidden_builtin_def.
33425 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
33426 as weak alias of __wcschr. Use libc_hidden_weak.
33427 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
33428 wcschr.
33429 * time/era.c (_nl_init_era_entries): Likewise.
33430 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
33431 variable.
33432 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33433 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33434
33435 2014-12-10 Joseph Myers <joseph@codesourcery.com>
33436
33437 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
33438 format for long int variable.
33439
33440 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
33441
33442 [BZ #10672]
33443 * manual/search.texi: (Array Sort Function): Remove claim how to make
33444 qsort stable.
33445
33446 2014-12-10 Andreas Schwab <schwab@suse.de>
33447
33448 [BZ #12847]
33449 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
33450 user-controlled locks.
33451
33452 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
33453
33454 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
33455 register.
33456
33457 2014-12-10 Joseph Myers <joseph@codesourcery.com>
33458
33459 * configure.ac (--disable-werror): New configure option.
33460 (enable_werror): New AC_SUBST.
33461 * configure: Regenerated.
33462 * config.make.in (enable-werror): New variable.
33463 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
33464 -Wno-error=undef.
33465 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
33466 * manual/install.texi (Configuring and compiling): Document
33467 --disable-werror.
33468 * INSTALL: Regenerated.
33469 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
33470 (CFLAGS-tst-chk2.c): Likewise.
33471 (CFLAGS-tst-chk3.c): Likewise.
33472 (CFLAGS-tst-chk4.cc): Likewise.
33473 (CFLAGS-tst-chk5.cc): Likewise.
33474 (CFLAGS-tst-chk6.cc): Likewise.
33475 (CFLAGS-tst-lfschk1.c): Likewise.
33476 (CFLAGS-tst-lfschk2.c): Likewise.
33477 (CFLAGS-tst-lfschk3.c): Likewise.
33478 (CFLAGS-tst-lfschk4.cc): Likewise.
33479 (CFLAGS-tst-lfschk5.cc): Likewise.
33480 (CFLAGS-tst-lfschk6.cc): Likewise.
33481
33482 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
33483 (main): Disable -Wdeprecated-declarations around calls to
33484 register_printf_function.
33485
33486 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
33487 (do_test): Disable -Wdiv-by-zero around some calls to
33488 fwrite_unlocked and fread_unlocked.
33489
33490 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
33491 (DIAG_POP_NEEDS_COMMENT): Likewise.
33492 (_DIAG_STR1): Likewise.
33493 (_DIAG_STR): Likewise.
33494 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
33495 * stdio-common/bug21.c: Include <libc-internal.h>.
33496 (do_test): Disable -Wformat around call to sscanf.
33497 * stdio-common/scanf14.c: Include <libc-internal.h>.
33498 (main): Disable -Wformat around some calls to scanf functions.
33499
33500 2014-12-09 Torvald Riegel <triegel@redhat.com>
33501
33502 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
33503
33504 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33505
33506 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
33507 stack variable alignment.
33508
33509 2014-12-06 Joseph Myers <joseph@codesourcery.com>
33510
33511 [BZ #17682]
33512 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
33513 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
33514 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
33515 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
33516 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
33517 __getrlimit instead of getrlimit.
33518 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
33519 __gettimeofday instead of gettimeofday.
33520 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33521 Likewise.
33522 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33523 Likewise.
33524 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33525 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
33526 Remove variable.
33527 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33528 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33529
33530 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33531
33532 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
33533 for wide-character tests.
33534
33535 2014-12-04 Roland McGrath <roland@hack.frob.com>
33536
33537 * io/openat64.c: #include <libc-internal.h>
33538 (__openat64): Prototypify. Use ignore_value on MODE.
33539 * io/openat.c: Likewise.
33540 * misc/reboot.c: #include <libc-internal.h>
33541 (reboot): Prototypify. Use ignore_value on HOWTO.
33542 * misc/ptrace.c: #include <libc-internal.h>
33543 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
33544
33545 2014-12-04 Joseph Myers <joseph@codesourcery.com>
33546
33547 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
33548 XPG4, UNIX98 and XOPEN2K.
33549 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
33550 Remove variable.
33551 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33552
33553 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33554
33555 * libio/fileops.c: Use ISO C style for function definitions.
33556 * libio/iofopen.c: Likewise.
33557 * libio/wfileops.c: Likewise.
33558
33559 [BZ #17653]
33560 * libio/fileops.c (_IO_new_file_underflow): Unset cached
33561 offset on EOF.
33562 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
33563 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
33564 (fgets_func): Function pointer to fgets and fgetws.
33565 (do_ftell_test): Add test to verify ftell value after read
33566 EOF.
33567 (do_test): Set fgets_func.
33568
33569 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
33570 O_TRUNC flag for w and w+ modes.
33571 (do_rewind_test): Likewise.
33572 (do_ftell_test): Likewise.
33573 (do_write_test): Likewise.
33574
33575 [BZ #17647]
33576 * libio/fileops.c (do_ftell): Seek only when there are
33577 unflushed writes.
33578 * libio/wfileops.c (do_ftell_wide): Likewise.
33579 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
33580 test case.
33581 (do_one_test): Call it.
33582
33583 2014-12-03 Joseph Myers <joseph@codesourcery.com>
33584
33585 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
33586 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
33587 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
33588 Remove variable.
33589 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33590 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33591 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33592
33593 2014-12-02 Joseph Myers <joseph@codesourcery.com>
33594
33595 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
33596 Remove variable.
33597 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33598
33599 [BZ #17668]
33600 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
33601 as weak alias of __getifaddrs. Use libc_hidden_weak.
33602 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33603 __freeifaddrs. Use libc_hidden_weak.
33604 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
33605 define as weak alias of __getifaddrs. Use libc_hidden_weak.
33606 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33607 __freeifaddrs. Use libc_hidden_weak.
33608 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
33609 __getifaddrs and define as weak alias of __getifaddrs. Use
33610 libc_hidden_weak.
33611 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33612 __freeifaddrs. Use libc_hidden_weak.
33613 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
33614 Remove variable.
33615 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33616 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33617
33618 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
33619
33620 [BZ #17601]
33621 * sysdeps/mips/start.S (__start): Use indirect jump to call
33622 __libc_start_main.
33623
33624 2014-12-02 Joseph Myers <joseph@codesourcery.com>
33625
33626 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
33627
33628 * nptl/tst-mutex1.c: Include <stdbool.h>.
33629 [!ATTR] (ATTR_NULL): New macro.
33630 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
33631 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
33632 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
33633
33634 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
33635 to char *.
33636
33637 [BZ #17665]
33638 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
33639 Change conditional to [__USE_MISC].
33640
33641 [BZ #17664]
33642 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
33643 fgets_unlocked.
33644 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
33645 __fgets_unlocked.
33646 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
33647 fgets_unlocked.
33648 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
33649 Remove variable.
33650 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33651 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33652 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33653 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33654 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33655 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33656 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33657 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33658 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33659
33660 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
33661
33662 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33663
33664 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33665 Remove strpbrk objects.
33666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33667 (__libc_ifunc_impl_list): Remove strpbrk implementation.
33668 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
33669 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
33670 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
33671 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
33672
33673 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33674 Remove strcspn objects.
33675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33676 (__libc_ifunc_impl_list): Remove strcspn implementation.
33677 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
33678 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
33679 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
33680 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
33681
33682 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33683 Remove strspn objetcs.
33684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33685 (__libc_ifunc_impl_list): Remove strspn implementation.
33686 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
33687 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33688 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
33689 * sysdeps/powerpc/powerpc64/strspn.S: New file.
33690
33691 2014-12-01 James Lemke <jwlemke@codesourcery.com>
33692
33693 [BZ #17581]
33694 * malloc/hooks.c
33695 (mem2mem_check): Add a terminator to the chain of checking blocks.
33696 (malloc_check_get_size): Use it here.
33697 (mem2chunk_check): Ditto.
33698
33699 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33700
33701 * sysdeps/powerpc/powerpc64/strtok.S: New file.
33702 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
33703
33704 2014-11-29 Carlos O'Donell <carlos@redhat.com>
33705
33706 * bits/ioctl-types.h: Indent preprocessor directives correctly.
33707
33708 * nptl/nptl-init.c: Include libc-internal.h.
33709 (__pthread_initialize_minimal_internal): Use ROUND_UP.
33710
33711 * elf/ldconfig.c (search_dir): Expand comment.
33712
33713 2014-11-29 Joseph Myers <joseph@codesourcery.com>
33714
33715 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
33716 variable.
33717 (linknamespace-symlist-stdlibs-tests): Likewise.
33718 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
33719 instead of $(objpfx)symlist-stdlibs.
33720 (linknamespace-libs-isoc): New variable.
33721 (linknamespace-libs): Use $(linknamespace-libs-isoc).
33722 (linknamespace-libs-ISO): New variable.
33723 (linknamespace-libs-ISO99): Likewise.
33724 (linknamespace-libs-ISO11): Likewise.
33725 (linknamespace-libs-XPG3): Likewise.
33726 (linknamespace-libs-XPG4): Likewise.
33727 (linknamespace-libs-POSIX): Likewise.
33728 (linknamespace-libs-UNIX98): Likewise.
33729 (linknamespace-libs-XOPEN2K): Likewise.
33730 (linknamespace-libs-POSIX2008): Likewise.
33731 (linknamespace-libs-XOPEN2K8): Likewise.
33732 ($(objpfx)symlist-stdlibs): Replace by
33733 $(linknamespace-symlist-stdlibs-tests). Use
33734 $(linknamespace-libs-$*) as set of libraries.
33735 ($(linknamespace-header-tests)): Update dependencies. Use
33736 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
33737 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
33738 * conform/linknamespace.pl: Remove comment about considering
33739 definitions of symbols from irrelevant libraries.
33740
33741 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
33742
33743 [BZ #13862]
33744 * elf/dl-tls.c: Include <atomic.h>.
33745 (oom): Remove #ifdef SHARED/#endif.
33746 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
33747 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
33748 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
33749 big enough.
33750 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
33751 * nptl/Makefile (tests): Add tst-stack4.
33752 (modules-names): Add tst-stack4mod.
33753 ($(objpfx)tst-stack4): New.
33754 (tst-stack4mod.sos): Likewise.
33755 ($(objpfx)tst-stack4.out): Likewise.
33756 ($(tst-stack4mod.sos)): Likewise.
33757 (clean): Likewise.
33758 * nptl/tst-stack4.c: New file.
33759 * nptl/tst-stack4mod.c: Likewise.
33760
33761 2014-11-27 J. Brown <jb999@gmx.de>
33762
33763 * sysdeps/x86/bits/string.h: Add recent CPUs.
33764
33765 2014-11-27 Joseph Myers <joseph@codesourcery.com>
33766
33767 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
33768 sigblock.
33769
33770 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
33771 feof.
33772
33773 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
33774 variable.
33775
33776 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
33777
33778 * nscd/connections.c: Include libc-internal.h because of macro
33779 usage ignore_value.
33780
33781 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33782
33783 * string/bits/string3.h (__warn_memset_zero_len): Don't
33784 declare for gcc newer than 5.0.
33785 (memset): Don't test for zero-length __LEN for gcc newer than
33786 5.0.
33787
33788 2014-11-27 Joseph Myers <joseph@codesourcery.com>
33789
33790 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
33791 size_t for %zu format.
33792
33793 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
33794 difference, not %ju.
33795
33796 2014-11-26 Joseph Myers <joseph@codesourcery.com>
33797
33798 * include/libc-internal.h (ignore_value): New macro.
33799 * nscd/connections.c (restart): Wrap calls to setuid and setgid
33800 with ignore_value.
33801
33802 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
33803 definition.
33804
33805 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
33806 pthread_cleanup_push to void *.
33807
33808 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
33809 Undefine.
33810
33811 [BZ #16619]
33812 [BZ #16740]
33813 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
33814 instead of 1L << 52.
33815
33816 * libio/bug-rewind.c (do_test): Check fwscanf return values.
33817 * libio/bug-rewind2.c (do_test): Likewise.
33818
33819 * debug/test-stpcpy_chk-ifunc.c: Remove file.
33820 * debug/test-strcpy_chk-ifunc.c: Likewise.
33821 * wcsmbs/test-wcschr-ifunc.c: Likewise.
33822 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33823 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33824 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33825 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33826 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33827 * Rules [$(multi-arch) = no] (tests): Do not filter out
33828 $(tests-ifunc).
33829 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
33830 * debug/Makefile (tests-ifunc): Remove variable.
33831 (tests): Do not add $(tests-ifunc).
33832 * wcsmbs/Makefile (tests-ifunc): Remove variable.
33833 (tests): Do not add $(tests-ifunc).
33834 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
33835 [TEST_IFUNC]: Remove conditionals.
33836 * string/test-string.h (TEST_IFUNC): Remove macro.
33837 [TEST_IFUNC]: Remove conditionals.
33838
33839 * string/test-strchr.c [!WIDE] (L): New macro.
33840 [WIDE] (L): Likewise.
33841 (check1): Use CHAR instead of char. Use L on string and character
33842 constants.
33843
33844 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
33845
33846 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
33847 tests.
33848 * sysdeps/powerpc/bits/atomic.h
33849 (__arch_atomic_exchange_and_add_32_acq): Add definition.
33850 (__arch_atomic_exchange_and_add_32_rel): Likewise.
33851 (atomic_exchange_and_add_acq): Likewise.
33852 (atomic_exchange_and_add_rel): Likewise.
33853 * sysdeps/powerpc/powerpc32/bits/atomic.h
33854 (__arch_atomic_exchange_and_add_64_acq): Add definition.
33855 (__arch_atomic_exchange_and_add_64_rel): Likewise.
33856 * sysdeps/powerpc/powerpc64/bits/atomic.h
33857 (__arch_atomic_exchange_and_add_64_acq): Add definition.
33858 (__arch_atomic_exchange_and_add_64_rel): Likewise.
33859
33860 2014-11-26 Torvald Riegel <triegel@redhat.com>
33861
33862 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
33863 Change synchronization of __sched_fifo_min_prio and
33864 __sched_fifo_max_prio.
33865 * nptl/pthread_mutexattr_getprioceiling.c
33866 (pthread_mutexattr_getprioceiling): Likewise.
33867 * nptl/pthread_mutexattr_setprioceiling.c
33868 (pthread_mutexattr_setprioceiling): Likewise.
33869 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
33870 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
33871 Likewise.
33872
33873 2014-11-26 Joseph Myers <joseph@codesourcery.com>
33874
33875 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
33876 void.
33877
33878 2014-11-25 Joseph Myers <joseph@codesourcery.com>
33879
33880 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
33881 third argument const.
33882
33883 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
33884
33885 fnmatch: work around GCC compiler warning bug with uninit var
33886 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
33887 This works around a bug with x86-64 GCC 4.9.2 and earlier
33888 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
33889 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
33890 used uninitialized in this function [-Wmaybe-uninitialized]".
33891
33892 2014-11-25 Joseph Myers <joseph@codesourcery.com>
33893
33894 * posix/bug-regex31.c (main): Return RES not 0.
33895
33896 2014-11-25 Anton Blanchard <anton@samba.org>
33897
33898 * sysdeps/powerpc/bits/atomic.h
33899 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
33900
33901 2014-11-24 Sterling Augustine <saugustine@google.com>
33902
33903 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
33904
33905 2014-11-24 Ryan Cumming <etaoins@gmail.com>
33906
33907 [BZ #17608]
33908 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33909
33910 2014-11-24 Joseph Myers <joseph@codesourcery.com>
33911
33912 [BZ #17633]
33913 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
33914 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33915 variable.
33916 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33917 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33918
33919 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
33920
33921 * string/strncpy.c (strncpy): Improve performance by using memset.
33922
33923 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
33924
33925 * string/strcpy.c (strcpy):
33926 Improve performance by using strlen and memcpy.
33927
33928 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
33929
33930 * string/strcoll_l.c (get_next_seq): __always_inline.
33931 * string/strcoll_l.c (do_compare): __always_inline.
33932
33933 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33934
33935 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
33936 defined.
33937 * include/mqueue.h: Likewise.
33938 * include/stdlib.h: Likewise.
33939
33940 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
33941 (get_null_defines): Adjust.
33942 * sunrpc/Makefile: Adjust comment.
33943 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
33944 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
33945 (CFLAGS-interp.c): Likewise.
33946 (CFLAGS-ldconfig.c): Likewise.
33947 (CPPFLAGS-.os): Likewise.
33948 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33949 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33950 * extra-modules.mk (extra-modules.mk): Likewise.
33951 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
33952 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
33953 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
33954 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
33955 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
33956 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
33957 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
33958 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
33959 * iconvdata/Makefile (CPPFLAGS): Likewise.
33960 (cpp-srcs-left): Add libof for all iconvdata routines.
33961 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
33962 * include/assert.h: Likewise.
33963 * include/ctype.h: Likewise.
33964 * include/errno.h: Likewise.
33965 * include/libc-symbols.h: Likewise.
33966 * include/math.h: Likewise.
33967 * include/netdb.h: Likewise.
33968 * include/resolv.h: Likewise.
33969 * include/stdio.h: Likewise.
33970 * include/stdlib.h: Likewise.
33971 * include/string.h: Likewise.
33972 * include/sys/stat.h: Likewise.
33973 * include/wctype.h: Likewise.
33974 * intl/l10nflist.c: Likewise.
33975 * libidn/idn-stub.c: Likewise.
33976 * libio/libioP.h: Likewise.
33977 * nptl/libc_multiple_threads.c: Likewise.
33978 * nptl/pthreadP.h: Likewise.
33979 * posix/regex_internal.h: Likewise.
33980 * resolv/res_hconf.c: Likewise.
33981 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
33982 * sysdeps/arm/memmove.S: Likewise.
33983 * sysdeps/arm/sysdep.h: Likewise.
33984 * sysdeps/generic/_itoa.h: Likewise.
33985 * sysdeps/generic/symbol-hacks.h: Likewise.
33986 * sysdeps/gnu/errlist.awk: Likewise.
33987 * sysdeps/gnu/errlist.c: Likewise.
33988 * sysdeps/i386/i586/memcpy.S: Likewise.
33989 * sysdeps/i386/i586/memset.S: Likewise.
33990 * sysdeps/i386/i686/memcpy.S: Likewise.
33991 * sysdeps/i386/i686/memmove.S: Likewise.
33992 * sysdeps/i386/i686/mempcpy.S: Likewise.
33993 * sysdeps/i386/i686/memset.S: Likewise.
33994 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33995 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33996 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
33997 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
33998 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34000 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34001 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34002 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34004 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34005 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34006 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34007 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34008 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34009 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34010 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34011 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34012 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34013 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34014 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34015 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34016 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34017 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34018 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34020 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34021 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34022 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34023 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34030 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34031 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34034 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34035 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34038 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34039 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34040 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34041 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34042 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34043 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34044 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34045 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34046 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34047 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34048 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34049 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34050 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34051 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34052 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34053 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34054 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34056 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34057 * sysdeps/nptl/bits/libc-lock.h: Likewise.
34058 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34059 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34060 * sysdeps/posix/closedir.c: Likewise.
34061 * sysdeps/posix/opendir.c: Likewise.
34062 * sysdeps/posix/readdir.c: Likewise.
34063 * sysdeps/posix/rewinddir.c: Likewise.
34064 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34065 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34066 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34067 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34068 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34069 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34070 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34071 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34073 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34075 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34076 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34077 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34078 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34079 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34080 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34081 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34082 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34083 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34084 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34085 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34086 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34087 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34088 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34090 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34092 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34099 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34100 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34101 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34102 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34103 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34104 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34106 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34108 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34109 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34110 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34111 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34112 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34113 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34114 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34116 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34117 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34118 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34119 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34121 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34122 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34123 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34124 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34125 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34126 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34127 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34128 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34129 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34130 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34131 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34133 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34134 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34135 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34136 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34137 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34138 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34139 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34140 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34141 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34142 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34143 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34144 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34145 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34146 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34148 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34150 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34151 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34152 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34154 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34155 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34156 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34160 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34162 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34163 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34164 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34165 * sysdeps/unix/alpha/sysdep.S: Likewise.
34166 * sysdeps/unix/alpha/sysdep.h: Likewise.
34167 * sysdeps/unix/make-syscalls.sh: Likewise.
34168 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34169 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34170 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34171 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34172 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34173 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34174 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34175 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34176 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34177 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34178 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34179 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34180 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34181 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34182 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34183 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34184 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34185 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34186 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34187 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34188 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34189 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34190 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34191 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34192 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34193 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34194 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34197 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34198 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34201 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34202 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34205 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34206 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34207 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34208 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34209 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34210 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34211 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34212 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34215 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34218 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34219 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34220 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34221 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34223 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34226 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34227 * sysdeps/x86_64/memcpy.S: Likewise.
34228 * sysdeps/x86_64/memmove.c: Likewise.
34229 * sysdeps/x86_64/memset.S: Likewise.
34230 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34232 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34233 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34234 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34237 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34238 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34239 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34240 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34241 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34242 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34243 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34244 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34245 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34246 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34247 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34248 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34249 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34250 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34251 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34253 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34254 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34255 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34256 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34257 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34258 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34259 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34260 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34261 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34262 * sysdeps/x86_64/strcmp.S: Likewise.
34263
34264 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34265
34266 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34267 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34268 * elf/rtld-Rules: Likewise.
34269 * elf/setup-vdso.h: Likewise.
34270 * include/assert.h: Likewise.
34271 * include/bits/stdlib-float.h: Likewise.
34272 * include/errno.h: Likewise.
34273 * include/sys/stat.h: Likewise.
34274 * include/unistd.h: Likewise.
34275 * sysdeps/aarch64/setjmp.S: Likewise.
34276 * sysdeps/alpha/setjmp.S: Likewise.
34277 * sysdeps/arm/__longjmp.S: Likewise.
34278 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34279 * sysdeps/arm/setjmp.S: Likewise.
34280 * sysdeps/arm/sysdep.h: Likewise.
34281 * sysdeps/generic/_itoa.h: Likewise.
34282 * sysdeps/generic/dl-sysdep.h: Likewise.
34283 * sysdeps/generic/ldsodefs.h: Likewise.
34284 * sysdeps/i386/dl-tls.h: Likewise.
34285 * sysdeps/i386/setjmp.S: Likewise.
34286 * sysdeps/m68k/setjmp.c: Likewise.
34287 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34288 * sysdeps/mach/hurd/opendir.c: Likewise.
34289 * sysdeps/posix/getcwd.c: Likewise.
34290 * sysdeps/posix/opendir.c: Likewise.
34291 * sysdeps/posix/profil.c: Likewise.
34292 * sysdeps/powerpc/dl-procinfo.h: Likewise.
34293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34295 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34296 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34297 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34298 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34299 * sysdeps/s390/dl-tls.h: Likewise.
34300 * sysdeps/s390/s390-32/setjmp.S: Likewise.
34301 * sysdeps/s390/s390-64/setjmp.S: Likewise.
34302 * sysdeps/sh/sh3/setjmp.S: Likewise.
34303 * sysdeps/sh/sh4/setjmp.S: Likewise.
34304 * sysdeps/unix/alpha/sysdep.h: Likewise.
34305 * sysdeps/unix/arm/sysdep.S: Likewise.
34306 * sysdeps/unix/i386/sysdep.S: Likewise.
34307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34308 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34309 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34310 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34312 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34313 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34314 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34315 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34316 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34317 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34318 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34319 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34322 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34325 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34326 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34327 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34330 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34331 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34332 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34334 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34335 * sysdeps/x86_64/setjmp.S: Likewise.
34336
34337 * include/math.h: Use IS_IN instead of IS_IN_libm.
34338 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34340 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34342 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34347 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34348 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34349 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34350 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34351 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34352 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34353 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34354 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34355 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34356 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34357 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34358 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34359 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34360 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34361 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34362 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34363 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34364 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34365 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34366 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34367 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34368 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34369 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34370 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34372 Likewise.
34373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34374 Likewise.
34375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
34376 Likewise.
34377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
34378 Likewise.
34379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
34380 Likewise.
34381 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34382 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
34383 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34384 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34385 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34386 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
34388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
34389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
34390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
34391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
34392 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
34393 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
34394 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34395 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34396 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34397 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34399 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34400 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34401 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
34402 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
34403 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
34404 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
34405 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
34406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34407 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
34408
34409 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
34410 * nptl/pthreadP.h: Likewise.
34411 * nptl_db/structs.def: Likewise.
34412 * sysdeps/arm/sysdep.h: Likewise.
34413 * sysdeps/nptl/bits/libc-lock.h: Likewise.
34414 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34415 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
34416 * sysdeps/unix/alpha/sysdep.h: Likewise.
34417 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34419 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34420 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34421 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34422 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34423 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34424 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34425 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34426 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34427 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34428 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34429 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34430 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34435 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34438 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34439 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34440 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34441 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34443
34444 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
34445 * nptl/pthreadP.h: Likewise.
34446 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34447 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34448 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34449 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34450 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34451 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34452 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34453 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34454 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34455 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34456 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34457 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34459 Likewise.
34460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34461 Likewise.
34462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34464 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34467 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34468 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34469 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34470
34471 * dlfcn/dladdr.c: Use IS_IN.
34472 * dlfcn/dladdr1.c: Likewise.
34473 * dlfcn/dlclose.c: Likewise.
34474 * dlfcn/dlerror.c: Likewise.
34475 * dlfcn/dlinfo.c: Likewise.
34476 * dlfcn/dlmopen.c: Likewise.
34477 * dlfcn/dlopen.c: Likewise.
34478 * dlfcn/dlsym.c: Likewise.
34479 * dlfcn/dlvsym.c: Likewise.
34480
34481 * include/ifaddrs.h: Use IS_IN.
34482 * inet/check_pf.c: Likewise.
34483 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34484 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
34485
34486 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
34487 IS_IN_ldconfig.
34488 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
34489 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
34490
34491 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
34492 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
34493 IS_IN (libc).
34494
34495 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
34496
34497 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
34498 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34499 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34500 * include/libc-symbols.h (IS_IN_LIB): New macro.
34501 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
34502 * include/netdb.h: Likewise.
34503 * include/stap-probe.h: Remove all uses of IN_LIB.
34504
34505 * Makeconfig (module-cppflags-real): Define MODULE_NAME
34506 instead of IN_MODULE.
34507 * include/libc-symbols.h (IN_MODULE): Define using
34508 MODULE_NAME.
34509 (PASTE_NAME, PASTE_NAME1): New macros.
34510 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
34511 of IN_LIB.
34512 (STAP_PROBE_ASM): Likewise.
34513
34514 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
34515
34516 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
34517 __mach_init in dlopened libc.
34518
34519 2014-11-22 Mike Frysinger <vapier@gentoo.org>
34520
34521 * sysdeps/arm/preconfigure.ac: Delete EABI check.
34522 * sysdeps/arm/preconfigure: Regenerate.
34523
34524 2014-11-21 Roland McGrath <roland@hack.frob.com>
34525
34526 * nptl/pthread_create.c (__pthread_create_2_1): Set
34527 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
34528 when copying values from IATTR into PD.
34529
34530 2014-11-21 Will Newton <will.newton@linaro.org>
34531 Andrew Pinski <andrew.pinski@caviumnetworks.com>
34532
34533 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
34534 Refactor inline-asm. Also add comment.
34535
34536 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
34537 ElfW macro instead of hardcoded Elf64 types.
34538 (la_aarch64_gnu_pltenter): Likewise.
34539 * sysdeps/aarch64/dl-machine.h
34540 (elf_machine_runtime_setup): Use ElfW(Addr).
34541
34542 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
34543 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
34544 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
34545 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
34546 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
34547 (R_AARCH64_TLS_DTPMOD64): Rename to ..
34548 (R_AARCH64_TLS_DTPMOD): This.
34549 (R_AARCH64_TLS_DTPREL64): Rename to ...
34550 (R_AARCH64_TLS_DTPREL): This.
34551 (R_AARCH64_TLS_TPREL64): Rename to ...
34552 (R_AARCH64_TLS_TPREL): This.
34553 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
34554 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
34555 R_AARCH64_TLS_TPREL64.
34556 (elf_machine_rela): Likewise.
34557
34558 2014-11-21 Torvald Riegel <triegel@redhat.com>
34559
34560 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
34561 by setting it to 0. 64b atomics are not supported currently.
34562
34563 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
34564
34565 [BZ #16469]
34566 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
34567 search domain names.
34568
34569 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
34570
34571 [BZ #16469]
34572 * NEWS: Update.
34573 * resolv/res_query.c (__libc_res_nquerydomain): Retain
34574 trailing dot.
34575 * posix/tst-getaddrinfo5.c: New.
34576 * posix/Makefile (tests): Add it.
34577
34578 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
34579
34580 [BZ #14498]
34581 * NEWS: Fixed.
34582 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
34583 after parsing line but before break_if_match.
34584 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
34585 if there is a protocol mismatch.
34586
34587 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
34588
34589 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
34590 because the potential race is on the user-supplied stream.
34591
34592 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
34593
34594 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
34595 string literal if not passed a buffer.
34596 * manual/job.texi (ctermid): Update reasoning, note deviation
34597 from posix, suggest mtasurace when not passed a buffer, for
34598 future non-preliminary safety notes.
34599
34600 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
34601
34602 * manual/users.texi (cuserid): Fix MT-Safety note for the case
34603 of not passing it a buffer.
34604 Reported by Peng Haitao.
34605
34606 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
34607
34608 * manual/Makefile ($(objpfx)stamp-summary): Require
34609 check-safety.sh to pass.
34610 * manual/check-safety.sh: Wish for verification that every
34611 @deftypefn and @deftypefun is followed by a @safety remark.
34612
34613 2014-11-20 Roland McGrath <roland@hack.frob.com>
34614
34615 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
34616
34617 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
34618 PTHREAD_CANCEL_ASYNCHRONOUS.
34619 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
34620 send SIGCANCEL.
34621
34622 * nptl/default-sched.h: New file.
34623 * sysdeps/unix/sysv/linux/default-sched.h: New file.
34624 * nptl/pthread_create.c: Include it.
34625 (__pthread_create_2_1): Use collect_default_sched instead of making
34626 Linux syscalls here directly.
34627
34628 2014-11-20 Torvald Riegel <triegel@redhat.com>
34629
34630 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
34631 __pthread_once): Use C11 atomics.
34632
34633 2014-11-20 Torvald Riegel <triegel@redhat.com>
34634
34635 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
34636
34637 2014-11-20 Torvald Riegel <triegel@redhat.com>
34638
34639 * include/atomic.h (__atomic_link_error, __atomic_check_size,
34640 atomic_thread_fence_acquire, atomic_thread_fence_release,
34641 atomic_thread_fence_seq_cst, atomic_load_relaxed,
34642 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
34643 atomic_compare_exchange_weak_relaxed,
34644 atomic_compare_exchange_weak_acquire,
34645 atomic_compare_exchange_weak_release,
34646 atomic_exchange_acquire, atomic_exchange_release,
34647 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
34648 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
34649 atomic_fetch_and_acquire,
34650 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
34651
34652 2014-11-20 Torvald Riegel <triegel@redhat.com>
34653
34654 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
34655 USE_ATOMIC_COMPILER_BUILTINS): Define.
34656 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
34657 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34658 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
34659 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34660 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
34661 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34662 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
34663 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34664 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
34665 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34666 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
34667 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34668 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
34669 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34670 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
34671 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34672 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34673 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34674 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34675 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34676 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
34677 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34678 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34679 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34680 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
34681 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34682 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34683 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34684 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
34685 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34686 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
34687 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34688 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
34689 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34690 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34691 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34692 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
34693 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34694 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
34695 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34696
34697 2014-11-19 Roland McGrath <roland@hack.frob.com>
34698
34699 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
34700 the sched_priority value here. It was already checked when the user
34701 called pthread_attr_setschedparam.
34702
34703 * nptl/tst-bad-schedattr.c: New file.
34704 * nptl/Makefile (tests): Add it.
34705
34706 2014-11-19 Carlos O'Donell <carlos@redhat.com>
34707 Florian Weimer <fweimer@redhat.com>
34708 Joseph Myers <joseph@codesourcery.com>
34709 Adam Conrad <adconrad@0c3.net>
34710 Andreas Schwab <schwab@suse.de>
34711 Brooks <bmoses@google.com>
34712
34713 [BZ #17625]
34714 * wordexp-test.c (__dso_handle): Add prototype.
34715 (__register_atfork): Likewise.
34716 (__app_register_atfork): New function.
34717 (registered_forks): New global.
34718 (register_fork): New function.
34719 (test_case): Add 3 new tests for WRDE_CMDSUB.
34720 (main): Call __app_register_atfork.
34721 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
34722 fork count is non-zero fail the test.
34723 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
34724 is set.
34725 (parse_dollars): Remove check for WRDE_NOCMD.
34726 (parse_dquote): Likewise.
34727
34728 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34729
34730 * Makeconfig (built-modules): List non-library modules to be
34731 built.
34732 (module-cppflags): Include libc-modules.h for
34733 everything except shlib-versions.v.i.
34734 (CPPFLAGS): Use it.
34735 (before-compile): Add libc-modules.h.
34736 ($(common-objpfx)libc-modules.h,
34737 $(common-objpfx)libc-modules.stmp): New targets.
34738 (common-generated): Add libc-modules.h and libc-modules.stmp.
34739 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
34740 * include/libc-symbols.h: Don't include libc-modules.h.
34741 * include/libc-modules.h: Remove file.
34742 * scripts/gen-libc-modules.awk: New script to generate
34743 libc-modules.h.
34744 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
34745 Depend on libc-modules.stmp.
34746
34747 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
34748
34749 * Makeconfig (in-module): Get value of libof set for the
34750 translation unit.
34751 (CPPFLAGS): Use $(in-module).
34752 * Makerules: Don't suffix routine names for nonlib.
34753 * include/libc-modules.h: New file.
34754 * include/libc-symbols.h: Include libc-modules.h
34755 (IS_IN): New macro to replace IS_IN_* macros.
34756 * elf/Makefile: Set libof-* for each routine.
34757 * elf/rtld-Rules: Likewise.
34758 * extra-modules.mk: Likewise.
34759 * iconv/Makefile: Likewise.
34760 * iconvdata/Makefile: Likewise.
34761 * locale/Makefile: Likewise.
34762 * malloc/Makefile: Likewise.
34763 * nss/Makefile: Likewise.
34764 * sysdeps/gnu/Makefile: Likewise.
34765 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
34766 * sysdeps/unix/sysv/linux/Makefile: Likewise.
34767 * sysdeps/s390/s390-64/Makefile: Likewise.
34768 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
34769 CPPFLAGS for nscd instead of nonlib.
34770
34771 2014-11-18 Roland McGrath <roland@hack.frob.com>
34772
34773 * nptl/createthread.c: New file.
34774
34775 * nptl/createthread.c: Moved ...
34776 * sysdeps/unix/sysv/linux/createthread.c: ... here.
34777
34778 * nptl/createthread.c: Add proper top-line comment.
34779 (do_clone): Folded into ...
34780 (create_thread): ... here. Take new arguments STOPPED_START and
34781 THREAD_RAN. Always set PD->stopped_start to something here. Don't
34782 increment __nptl_threads, do event-reporting logic, do
34783 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
34784 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
34785 resource cleanup if sched_setaffinity or sched_setscheduler fails,
34786 just send SIGCANCEL.
34787 * nptl/pthread_create.c: Forward-declare create_thread before
34788 including createthread.c.
34789 (start_thread): Use new macro START_THREAD_DEFN to replace defining
34790 declaration, and new macro START_THREAD_SELF to replace argument.
34791 Remove return statement.
34792 (report_thread_creation): New function.
34793 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
34794 synchronization logic, and __nptl_nthreads increment here, around
34795 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
34796 PD->parent_cancelhandling here, before create_thread. When
34797 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
34798 __deallocate_stack, and ENOMEM translation here.
34799
34800 2014-11-18 Joseph Myers <joseph@codesourcery.com>
34801
34802 [BZ #17616]
34803 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
34804 (mptwo): Rename to __mptwo.
34805 (__inv): Use __mptwo instead of mptwo.
34806 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
34807 (mptwo): Rename to __mptwo.
34808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
34809 of mpone and __mptwo instead of mptwo.
34810 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
34811 instead of mpone.
34812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34813 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
34814 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
34815 of mpone and __mptwo instead of mptwo.
34816 (__mpranred): Use __mpone instead of mpone.
34817 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
34818 variable.
34819 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34820 (test-xfail-ISO99/math.h/linknamespace): Likewise.
34821 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34822 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34823 (test-xfail-ISO11/math.h/linknamespace): Likewise.
34824 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34825 (test-xfail-XPG3/math.h/linknamespace): Likewise.
34826 (test-xfail-XPG4/math.h/linknamespace): Likewise.
34827 (test-xfail-POSIX/math.h/linknamespace): Likewise.
34828 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34829 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34830 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34831 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34832 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34833 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34834 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34835 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34836 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34837 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34838
34839 2014-11-18 Tom de Vries <tom@codesoucery.com>
34840
34841 * manual/signal.texi (Primitives Interrupted by Signals): In section,
34842 replace BSD Handler xref with BSD Signal Handling.
34843
34844 2014-11-17 Richard Henderson <rth@redhat.com>
34845
34846 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
34847 (_FP_PACK_RAW_2): Remove.
34848 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
34849 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
34850 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
34851 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
34852 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
34853 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
34854 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
34855 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
34856 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
34857 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
34858 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
34859 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
34860 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
34861 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
34862 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
34863 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
34864
34865 2014-11-14 Roland McGrath <roland@hack.frob.com>
34866
34867 * signal/signal.h [__USE_MISC]
34868 (struct sigvec): Remove type.
34869 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
34870 (sigvec): Remove declaration.
34871 * sysdeps/posix/sigvec.c: Moved ...
34872 * signal/sigvec.c: ... here, replacing old file.
34873 (struct sigvec): New type, copied from old signal.h definition.
34874 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
34875 (__sigvec): Convert definition to prototype.
34876 (sigvec): Replace weak_alias with compat_symbol.
34877 * signal/Versions (libc: GLIBC_2.21): New version set.
34878 * include/signal.h: Remove __sigvec declaration.
34879 * sysdeps/unix/bsd/sigvec.c: Remove file.
34880 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
34881 * manual/signal.texi (BSD Handler): Remove subsection.
34882 Move siginterrupt up to ...
34883 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
34884 (Blocking in BSD): Fold subsection into its parent.
34885 * NEWS: Mention sigvec removal.
34886
34887 2014-11-14 Joseph Myers <joseph@codesourcery.com>
34888
34889 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
34890 (DLA_FMS): Make definition conditional only on [__FMA4__].
34891 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
34892 definition.
34893
34894 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
34895 Make definition conditional only on [PROF].
34896 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
34897 definition.
34898 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
34899 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
34900
34901 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
34902 !__GNUC__].
34903 * include/signal.h (__sigpause): Move declaration above call to
34904 libc_hidden_proto.
34905 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
34906 variable.
34907 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34908 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34909
34910 2014-11-14 David S. Miller <davem@davemloft.net>
34911
34912 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
34913 Define before including <string/memcpy.c> and <string/mempcpy.c>.
34914
34915 2014-11-14 Joseph Myers <joseph@codesourcery.com>
34916
34917 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
34918 * configure: Regenerated.
34919 * manual/install.texi (Tools for Compilation): Document a
34920 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
34921 compiler verified to work.
34922 * INSTALL: Regenerated.
34923
34924 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34925 redeclare with asm name.
34926 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
34927 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
34928 including <string.h>.
34929 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34930 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
34931 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34932 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
34933 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34934 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
34935 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34936
34937 2014-11-13 Joseph Myers <joseph@codesourcery.com>
34938
34939 * stdlib/strtol.c (__strtol): Use prototype definition.
34940
34941 [BZ #17594]
34942 * stdlib/strtol.c (SYM__): New macro.
34943 (SYM__1): Likewise.
34944 (__strtol): Likewise.
34945 (strtol): Rename to __strtol and define as weak alias of
34946 __strtol. Use libc_hidden_weak.
34947
34948 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34949
34950 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
34951 Use numbered labels in inline assembly.
34952
34953 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34954
34955 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
34956 Add setjmp LIBC_PROBE.
34957 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
34958 Likewise.
34959 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
34960 Add longjmp, longjmp_target LIBC_PROBE.
34961 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
34962 Likewise.
34963
34964 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34965
34966 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34967 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
34968 to get rid of unused variable warning.
34969
34970 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34971
34972 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
34973 Check for unwind_backtrace == NULL only in SHARED case.
34974 (__backchain_backtrace): Compile only in SHARED case.
34975 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
34976 Likewise.
34977 (__backchain_backtrace): Declare as static.
34978
34979 2014-11-12 Roland McGrath <roland@hack.frob.com>
34980
34981 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
34982 (__libc_multiple_threads_ptr): Variable moved ...
34983 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
34984
34985 2014-11-12 Joseph Myers <joseph@codesourcery.com>
34986
34987 * conform/GlibcConform.pm: New file.
34988 * conform/conformtest.pl: Use GlibcConform module.
34989 * conform/linknamespace.pl: New file.
34990 * conform/list-header-symbols.pl: Likewise.
34991 * conform/Makefile (linknamespace-symlists-base): New variable.
34992 (linknamespace-symlists-tests): Likewise.
34993 (linknamespace-header-base): Likewise.
34994 (linknamespace-header-tests): Likewise.
34995 (tests-special): Add new tests.
34996 ($(linknamespace-symlists-tests)): New rule.
34997 (linknamespace-libs): New variable.
34998 ($(objpfx)symlist-stdlibs): New rule.
34999 ($(linknamespace-header-tests)): Likewise.
35000 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35001 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35002 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35003 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35004 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35005 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35006 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35007 (test-xfail-ISO/math.h/linknamespace): Likewise.
35008 (test-xfail-ISO/signal.h/linknamespace): Likewise.
35009 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35010 (test-xfail-ISO/time.h/linknamespace): Likewise.
35011 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35012 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35013 (test-xfail-ISO99/math.h/linknamespace): Likewise.
35014 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35015 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35016 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35017 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35018 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35019 (test-xfail-ISO11/math.h/linknamespace): Likewise.
35020 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35021 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35022 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35023 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35024 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35025 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35026 (test-xfail-XPG3/math.h/linknamespace): Likewise.
35027 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35028 (test-xfail-XPG3/search.h/linknamespace): Likewise.
35029 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35030 (test-xfail-XPG3/time.h/linknamespace): Likewise.
35031 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35032 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35033 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35034 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35035 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35036 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35037 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35038 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35039 (test-xfail-XPG4/math.h/linknamespace): Likewise.
35040 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35041 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35042 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35043 (test-xfail-XPG4/search.h/linknamespace): Likewise.
35044 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35045 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35046 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35047 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35048 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35049 (test-xfail-XPG4/time.h/linknamespace): Likewise.
35050 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35051 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35052 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35053 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35054 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35055 (test-xfail-POSIX/math.h/linknamespace): Likewise.
35056 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35057 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35058 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35059 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35060 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35061 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35062 (test-xfail-POSIX/time.h/linknamespace): Likewise.
35063 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35064 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35065 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35066 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35067 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35068 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35069 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35070 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35071 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35072 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35073 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35074 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35075 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35076 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35077 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35078 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35079 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35080 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35081 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35082 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35083 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35084 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35085 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35086 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35087 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35088 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35089 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35090 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35091 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35092 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35093 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35094 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35095 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35096 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35097 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35098 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35099 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35100 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35101 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35102 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35103 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35104 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35105 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35106 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35107 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35108 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35109 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35110 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35111 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35112 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35113 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35114 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35115 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35116 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35117 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35118 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35119 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35120 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35121 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35122 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35123 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35124 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35125 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35126 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35127 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35128 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35129 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35130 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35131 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35132 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35133 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35134 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35135 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35136 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35137 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35138 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35139 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35140 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35141 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35142 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35143 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35144 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35145 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35146 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35147 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35148 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35149 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35150 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35151 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35152 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35153 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35154 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35155 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35156 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35157 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35158 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35159 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35160 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35161
35162 [BZ #17589]
35163 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35164 of fgets_unlocked.
35165
35166 [BZ #17585]
35167 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35168 (memmem): Rename to __memmem and define as weak alias of
35169 __memmem. Use libc_hidden_weak.
35170 (__memmem): Use libc_hidden_def.
35171 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
35172 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35173 memmem.
35174
35175 [BZ #17582]
35176 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35177 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
35178 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35179 and define as weak alias of __fgets_unlocked. Use
35180 libc_hidden_weak.
35181 (__fgets_unlocked): Use libc_hidden_def.
35182 * include/stdio.h (__fgets_unlocked): Declare. Use
35183 libc_hidden_proto.
35184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35185 __fgets_unlocked instead of fgets_unlocked.
35186 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35187 (GET_NPROCS_CONF_PARSER): Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35189 (GET_NPROCS_CONF_PARSER): Likewise.
35190
35191 [BZ #17574]
35192 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35193 weak alias of __wmemset. Use libc_hidden_weak.
35194 (__wmemset): Use libc_hidden_def.
35195 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
35196 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35197 of wmemset.
35198
35199 [BZ #17573]
35200 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35201 with asm name __mempcpy.
35202 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35203
35204 [BZ #17572]
35205 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35206 and define as weak alias of __rawmemchr.
35207 (__rawmemchr): Do not define as strong alias of rawmemchr.
35208
35209 [BZ #17571]
35210 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35211 alias of __qsort_r.
35212 (qsort): Call __qsort_r instead of qsort_r.
35213 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35214 (__qsort_r): Declare. Call libc_hidden_proto.
35215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35216 instead of qsort_r.
35217 * nscd/gai.c (__qsort_r): Define to qsort_r.
35218 * posix/tst-rfc3484.c (__qsort_r): Likewise.
35219 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35220 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35221
35222 [BZ #17570]
35223 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35224 define as weak alias of __malloc_info.
35225
35226 [BZ #17584]
35227 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35228 as weak alias of __rewinddir. Don't use libc_hidden_def.
35229 (__rewinddir): Use libc_hidden_def.
35230 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35231 as weak alias of __rewinddir. Don't use libc_hidden_def.
35232 (__rewinddir): Use libc_hidden_def.
35233 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35234 weak alias of __rewinddir. Don't use libc_hidden_def.
35235 (__rewinddir): Use libc_hidden_def.
35236 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35237 (__rewinddir): Use libc_hidden_proto.
35238 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35239 rewinddir.
35240 (__getcwd): Use __rewinddir instead of rewinddir.
35241
35242 [BZ #17583]
35243 * libio/fileno.c (fileno): Rename to __fileno and define as weak
35244 alias of __fileno. Use libc_hidden_weak.
35245 (__fileno): Use libc_hidden_def.
35246 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35247 * libio/ftello.c (ftello): Rename to __ftello and define as weak
35248 alias of __ftello.
35249 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35250 __ftello.
35251 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35252 (__fread_unlocked): Define as strong alias of _IO_fread. Use
35253 libc_hidden_def.
35254 (fread_unlocked): Don't use libc_hidden_ver.
35255 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35256 and define as weak alias of __fread_unlocked. Don't use
35257 libc_hidden_def.
35258 (__fread_unlocked): Use libc_hidden_def.
35259 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
35260 (ftello): Don't use libc_hidden_proto.
35261 (__ftello): Declare. Use libc_hidden_proto.
35262 (fread_unlocked): Don't use libc_hidden_proto.
35263 (__fread_unlocked): Declare. Use libc_hidden_proto.
35264 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35265 and __ftello instead of fileno, fread_unlocked and ftello.
35266
35267 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35268
35269 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35270 GOT12.
35271 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35272 Likewise.
35273 (_dl_start_user): Likewise.
35274 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35275
35276 2014-11-12 Carlos O'Donell <carlos@redhat.com>
35277 Siddhesh Poyarekar <siddhesh@redhat.com>
35278
35279 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35280 Move argv and envp down instead of moving argc up.
35281 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35282
35283 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
35284
35285 [BZ #17506]
35286 * test-skeleton.c (main): Return successful if one of
35287 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35288 * string/tst-strcoll-overflow.c: Define expected status.
35289
35290 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
35291
35292 [BZ #17475]
35293 * locale/iso-639.def: Define Bhili and Tulu language codes.
35294
35295 2014-11-11 Alan Hayward <alan.hayward@arm.com>
35296
35297 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35298
35299 2014-11-10 Renlin Li <Renlin.Li@arm.com>
35300
35301 [BZ #17555]
35302 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35303
35304 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
35305
35306 * configure.ac: Updated check of minimal required version to
35307 2.22.
35308 * manual/install.texi (Tools for Compilation): Updated version
35309 number.
35310 * configure: Regenerated.
35311 * INSTALL: Likewise.
35312
35313 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
35314
35315 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35316 __tls_get_addr.
35317
35318 2014-11-07 Joseph Myers <joseph@codesourcery.com>
35319
35320 * include/sys/wait.h (__libc_waitpid): Remove declaration.
35321 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35322 (__waitpid): Don't define as alias. Use libc_hidden_def not
35323 libc_hidden_weak.
35324 (waitpid): Define as alias of __waitpid.
35325 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35326 __waitpid.
35327 (__waitpid): Don't define as alias. Use libc_hidden_def not
35328 libc_hidden_weak.
35329 (waitpid): Define as alias of __waitpid.
35330 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35331 __libc_waitpid alias.
35332 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35333 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35334 Likewise.
35335 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35336 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35337 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35338 alias.
35339 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35340 __waitpid.
35341 (__waitpid): Don't define as alias. Use libc_hidden_def not
35342 libc_hidden_weak.
35343 (waitpid): Define as alias of __waitpid.
35344
35345 2014-11-06 Carlos O'Donell <carlos@redhat.com>
35346
35347 * manual/llio.texi: Add comment that write safety has been
35348 fixed in Linux.
35349
35350 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35351 (localplt-build-dso): Add elf/ld.so.
35352 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35353 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35354 and free for ld.so.
35355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35356 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35358 Likewise.
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35360 Likewise.
35361 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35362 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35363 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35364 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35365 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35366 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35367 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35368 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35369 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35370 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35371 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35372
35373 2014-11-05 Joseph Myers <joseph@codesourcery.com>
35374
35375 [BZ #14132]
35376 * include/libc-symbols.h (INTUSE): Remove macro.
35377 (INTDEF): Likewise.
35378 (INTVARDEF): Likewise.
35379 (_INTVARDEF): Likewise.
35380 (INTDEF2): Likewise.
35381 (INTVARDEF2): Likewise.
35382 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
35383 rtld_hidden_def instead of INTVARDEF.
35384 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
35385 (_dl_starting_up_internal): Remove declaration.
35386 (_dl_starting_up): Use rtld_hidden_proto.
35387 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
35388 declaration.
35389 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
35390 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
35391 _dl_starting_up.
35392 * elf/dl-writev.h (_dl_writev): Likewise.
35393 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
35394 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
35395 _dl_starting_up_internal.
35396
35397 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35398
35399 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
35400 test-skeleton.c.
35401
35402 2014-11-05 Will Newton <will.newton@linaro.org>
35403
35404 * benchtests/Makefile: (bench-malloc): Add malloc thread
35405 scalability benchmark.
35406 * benchtests/bench-malloc-threads.c: New file.
35407
35408 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
35409
35410 * sysdeps/aarch64/strchrnul.S: New file.
35411
35412 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35413
35414 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
35415 definition.
35416 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35417 Likewise.
35418 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35419 Likewise.
35420 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35421 Likewise.
35422 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35423 Likewise.
35424 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35425 Likewise.
35426
35427 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
35428
35429 * catgets/test-gencat.c: Use test-skeleton.c.
35430 * catgets/tst-catgets.c: Likewise.
35431 * csu/tst-empty.c: Likewise.
35432 * elf/tst-audit2.c: Likewise.
35433 * elf/tst-global1.c: Likewise.
35434 * elf/tst-pathopt.c: Likewise.
35435 * elf/tst-piemod1.c: Likewise.
35436 * elf/tst-tls10.c: Likewise.
35437 * elf/tst-tls11.c: Likewise.
35438 * elf/tst-tls12.c: Likewise.
35439 * gnulib/tst-gcc.c: Likewise.
35440 * iconvdata/tst-e2big.c: Likewise.
35441 * iconvdata/tst-loading.c: Likewise.
35442 * iconv/tst-iconv1.c: Likewise.
35443 * iconv/tst-iconv2.c: Likewise.
35444 * inet/test-inet6_opt.c: Likewise.
35445 * inet/tst-gethnm.c: Likewise.
35446 * inet/tst-network.c: Likewise.
35447 * inet/tst-ntoa.c: Likewise.
35448 * intl/tst-codeset.c: Likewise.
35449 * intl/tst-gettext2.c: Likewise.
35450 * intl/tst-gettext3.c: Likewise.
35451 * intl/tst-ngettext.c: Likewise.
35452 * intl/tst-translit.c: Likewise.
35453 * io/test-stat.c: Likewise.
35454 * libio/test-fmemopen.c: Likewise.
35455 * libio/tst-freopen.c: Likewise.
35456 * libio/tst-sscanf.c: Likewise.
35457 * libio/tst-ungetwc1.c: Likewise.
35458 * libio/tst-ungetwc2.c: Likewise.
35459 * libio/tst-widetext.c: Likewise.
35460 * localedata/tst-ctype.c: Likewise.
35461 * localedata/tst-digits.c: Likewise.
35462 * localedata/tst-leaks.c: Likewise.
35463 * localedata/tst-mbswcs1.c: Likewise.
35464 * localedata/tst-mbswcs2.c: Likewise.
35465 * localedata/tst-mbswcs3.c: Likewise.
35466 * localedata/tst-mbswcs4.c: Likewise.
35467 * localedata/tst-mbswcs5.c: Likewise.
35468 * localedata/tst-setlocale.c: Likewise.
35469 * localedata/tst-trans.c: Likewise.
35470 * localedata/tst-wctype.c: Likewise.
35471 * localedata/tst-xlocale1.c: Likewise.
35472 * login/tst-grantpt.c: Likewise.
35473 * malloc/tst-calloc.c: Likewise.
35474 * malloc/tst-malloc.c: Likewise.
35475 * malloc/tst-mallocstate.c: Likewise.
35476 * malloc/tst-mcheck.c: Likewise.
35477 * malloc/tst-mtrace.c: Likewise.
35478 * malloc/tst-obstack.c: Likewise.
35479 * math/atest-exp2.c: Likewise.
35480 * math/atest-exp.c: Likewise.
35481 * math/atest-sincos.c: Likewise.
35482 * math/test-matherr.c: Likewise.
35483 * math/test-misc.c: Likewise.
35484 * math/test-powl.c: Likewise.
35485 * math/tst-definitions.c: Likewise.
35486 * misc/tst-dirname.c: Likewise.
35487 * misc/tst-efgcvt.c: Likewise.
35488 * misc/tst-fdset.c: Likewise.
35489 * misc/tst-hsearch.c: Likewise.
35490 * misc/tst-mntent2.c: Likewise.
35491 * nptl/tst-sem7.c: Likewise.
35492 * nptl/tst-sem8.c: Likewise.
35493 * nptl/tst-sem9.c: Likewise.
35494 * nss/test-netdb.c: Likewise.
35495 * posix/tst-fnmatch.c: Likewise.
35496 * posix/tst-getlogin.c: Likewise.
35497 * posix/tst-gnuglob.c: Likewise.
35498 * posix/tst-mmap.c: Likewise.
35499 * pwd/tst-getpw.c: Likewise.
35500 * resolv/tst-inet_ntop.c: Likewise.
35501 * rt/tst-timer.c: Likewise.
35502 * stdio-common/test-fseek.c: Likewise.
35503 * stdio-common/test-popen.c: Likewise.
35504 * stdio-common/test-vfprintf.c: Likewise.
35505 * stdio-common/tst-cookie.c: Likewise.
35506 * stdio-common/tst-fileno.c: Likewise.
35507 * stdio-common/tst-gets.c: Likewise.
35508 * stdio-common/tst-obprintf.c: Likewise.
35509 * stdio-common/tst-perror.c: Likewise.
35510 * stdio-common/tst-sprintf2.c: Likewise.
35511 * stdio-common/tst-sprintf3.c: Likewise.
35512 * stdio-common/tst-sprintf.c: Likewise.
35513 * stdio-common/tst-swprintf.c: Likewise.
35514 * stdio-common/tst-tmpnam.c: Likewise.
35515 * stdio-common/tst-unbputc.c: Likewise.
35516 * stdio-common/tst-wc-printf.c: Likewise.
35517 * stdlib/tst-environ.c: Likewise.
35518 * stdlib/tst-fmtmsg.c: Likewise.
35519 * stdlib/tst-limits.c: Likewise.
35520 * stdlib/tst-rand48-2.c: Likewise.
35521 * stdlib/tst-rand48.c: Likewise.
35522 * stdlib/tst-random2.c: Likewise.
35523 * stdlib/tst-random.c: Likewise.
35524 * stdlib/tst-strtol.c: Likewise.
35525 * stdlib/tst-strtoll.c: Likewise.
35526 * stdlib/tst-tls-atexit.c: Likewise.
35527 * stdlib/tst-xpg-basename.c: Likewise.
35528 * string/test-ffs.c: Likewise.
35529 * string/tst-bswap.c: Likewise.
35530 * string/tst-inlcall.c: Likewise.
35531 * string/tst-strtok.c: Likewise.
35532 * string/tst-strxfrm.c: Likewise.
35533 * sysdeps/x86_64/tst-audit10.c: Likewise.
35534 * sysdeps/x86_64/tst-audit3.c: Likewise.
35535 * sysdeps/x86_64/tst-audit4.c: Likewise.
35536 * sysdeps/x86_64/tst-audit5.c: Likewise.
35537 * time/tst-ftime_l.c: Likewise.
35538 * time/tst-getdate.c: Likewise.
35539 * time/tst-mktime3.c: Likewise.
35540 * time/tst-mktime.c: Likewise.
35541 * time/tst-posixtz.c: Likewise.
35542 * time/tst-strptime2.c: Likewise.
35543 * time/tst-strptime3.c: Likewise.
35544 * wcsmbs/tst-btowc.c: Likewise.
35545 * wcsmbs/tst-mbrtowc.c: Likewise.
35546 * wcsmbs/tst-mbsrtowcs.c: Likewise.
35547 * wcsmbs/tst-wchar-h.c: Likewise.
35548 * wcsmbs/tst-wcpncpy.c: Likewise.
35549 * wcsmbs/tst-wcrtomb.c: Likewise.
35550 * wcsmbs/tst-wcsnlen.c: Likewise.
35551 * wcsmbs/tst-wcstof.c: Likewise.
35552
35553 2014-11-04 Joseph Myers <joseph@codesourcery.com>
35554
35555 [BZ #14132]
35556 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
35557 INTDEF.
35558 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
35559 declaration.
35560 (_dl_mcount): Use rtld_hidden_proto.
35561 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
35562 _dl_mcount.
35563 * elf/rtld.c (_rtld_global_ro): Likewise.
35564
35565 [BZ #14132]
35566 * elf/dl-init.c (_dl_init): Don't use INTDEF.
35567 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
35568 of _dl_init_internal.
35569 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
35570 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
35571 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
35572 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
35573 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
35574 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
35575 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
35576 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
35577 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
35578 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
35579 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
35580 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
35581 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35582 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35583 * sysdeps/tile/dl-start.S (_start): Likewise.
35584 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
35585 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
35586
35587 [BZ #14132]
35588 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
35589 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
35590 (rtld_progname): Make macro definition unconditional.
35591 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
35592 INTDEF.
35593 (dlmopen_doit): Do not use INTUSE with _dl_argv.
35594 (dl_main): Likewise.
35595 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35596 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
35597 instead of _dl_argv_internal.
35598 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35599 __GI__dl_argv instead of INTUSE(_dl_argv).
35600 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
35601 __GI__dl_argv instead of _dl_argv_internal.
35602
35603 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
35604 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
35605 macro.
35606 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
35607 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
35608 New macro.
35609 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
35610 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
35611 macro.
35612 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
35613 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
35614
35615 2014-11-04 Andreas Schwab <schwab@suse.de>
35616
35617 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
35618
35619 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35620
35621 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
35622 mtvsrd instruction in binary form.
35623
35624 2014-11-03 Andreas Schwab <schwab@suse.de>
35625
35626 [BZ #17522]
35627 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
35628 for less than MB_LEN_MAX use a local buffer of that size.
35629 * libio/tst-fputws.c: New file.
35630 * libio/Makefile (tests): Add tst-fputws.
35631
35632 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
35633
35634 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
35635 the size of the fpu_fr.fpu_dregs[] array.
35636
35637 2014-11-01 Joseph Myers <joseph@codesourcery.com>
35638
35639 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
35640 (__nanosleep): Do not define as alias.
35641 (nanosleep): Define as alias of __nanosleep.
35642 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
35643 __libc_nanosleep name.
35644
35645 2014-10-31 Joseph Myers <joseph@codesourcery.com>
35646
35647 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
35648 install.texi in comment.
35649
35650 2014-10-31 Torvald Riegel <triegel@redhat.com>
35651
35652 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
35653 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
35654 ... add here and use lwsync or sync ...
35655 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
35656 ... and add here using lwsync.
35657
35658 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
35659
35660 * elf/dl-machine-reject-phdr.h: New file.
35661 * elf/dl-load.c: #include that.
35662 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
35663 if that returned true.
35664
35665 2014-10-31 Roland McGrath <roland@hack.frob.com>
35666
35667 [BZ #17496]
35668 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
35669 gen-as-const-headers chunk. Add a big scare comment after the last
35670 safe place to touch before-compile.
35671
35672 2014-10-31 Joseph Myers <joseph@codesourcery.com>
35673
35674 * manual/install.texi (Tools for Compilation): Update autoconf
35675 version requirements.
35676 * INSTALL: Regenerated.
35677
35678 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
35679 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
35680 (__libc_pselect): Likewise.
35681
35682 [BZ #14138]
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
35684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35687
35688 2014-10-31 Torvald Riegel <triegel@redhat.com>
35689
35690 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
35691 correct barrier instruction.
35692 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
35693 Likewise.
35694 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
35695 Likewise.
35696
35697 2014-10-30 Roland McGrath <roland@hack.frob.com>
35698
35699 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
35700 after defining inlines. Instead, just use parens to defeat macro
35701 expansion of __isctype in its declaration.
35702
35703 2014-10-30 Joseph Myers <joseph@codesourcery.com>
35704
35705 * include/sys/uio.h (__libc_readv): Remove declaration.
35706 (__libc_writev): Likewise.
35707 * misc/readv.c (__libc_readv): Rename to __readv.
35708 (__readv): Do not define as alias.
35709 (readv): Define as alias of __readv.
35710 * misc/writev.c (__libc_writev): Rename to __writev.
35711 (__writev): Do not define as alias.
35712 (writev): Define as alias of __writev.
35713 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
35714 (__readv): Do not define as alias.
35715 (readv): Define unconditionally as alias of __readv.
35716 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
35717 (__writev): Do not define as alias.
35718 (writev): Define unconditionally as alias of __writev.
35719 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
35720 name.
35721 (writev): Do not define __libc_writev name.
35722
35723 2014-10-30 Roland McGrath <roland@hack.frob.com>
35724
35725 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
35726 (convert_charseq): New function, broken out of ...
35727 (use_from_charmap): ... here. Call it.
35728 (use_to_charmap): Use convert_charseq and free instead of duplicating
35729 its code with a variable-length stack struct.
35730
35731 2014-10-30 Joseph Myers <joseph@codesourcery.com>
35732
35733 * include/fcntl.h (__libc_creat): Remove declaration.
35734 * io/creat.c (__libc_creat): Rename to creat.
35735 (creat): Do not define as alias.
35736 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
35737 of creat instead of __libc_creat.
35738 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
35739 to creat.
35740 (creat): Do not define as alias.
35741 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
35742 __libc_creat.
35743 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
35744 __libc_creat name.
35745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
35746 Likewise.
35747
35748 2014-10-29 Carlos O'Donell <carlos@redhat.com>
35749
35750 * manual/llio.texi: Add comments discussing why write() may be
35751 considered MT-unsafe on Linux.
35752
35753 2014-10-28 Carlos O'Donell <carlos@redhat.com>
35754
35755 * dl-load.c (local_strdup): Remove.
35756 (expand_dynamic_string_token): Use __strdup.
35757 (decompose_rpath): Likewise.
35758 (_dl_map_object): Likewise.
35759
35760 2014-10-28 Joseph Myers <joseph@codesourcery.com>
35761
35762 [BZ #14132]
35763 * sysdeps/generic/unwind-dw2-fde.c
35764 (__register_frame_info_bases_internal): Do not declare.
35765 (__register_frame_info_table_bases_internal): Likewise.
35766 (__deregister_frame_info_bases_internal): Likewise.
35767 (__register_frame_info_bases): Declare and use hidden_proto before
35768 definition. Use hidden_def instead of INTDEF.
35769 (__register_frame_info_table_bases): Likewise.
35770 (__deregister_frame_info_bases): Likewise.
35771 (__register_frame_info): Do not use INTUSE.
35772 (__register_frame): Likewise.
35773 (__register_frame_info_table): Likewise.
35774 (__register_frame_table): Likewise.
35775 (__deregister_frame_info): Likewise.
35776 (__deregister_frame): Likewise.
35777
35778 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
35779
35780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35781 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
35782 not undefine.
35783 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
35784 Likewise.
35785 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
35786 Likewise.
35787
35788 2014-10-27 Joseph Myers <joseph@codesourcery.com>
35789
35790 [BZ #14138]
35791 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
35792 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
35793 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
35794 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
35795 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
35796 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
35797 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
35798 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
35799 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
35800 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
35801 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
35802 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
35803 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
35804 syscall.
35805 (setfsuid): Likewise.
35806 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
35807 (setfsuid): Likewise.
35808 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
35809 (setfsuid): Likewise.
35810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
35811 Likewise.
35812 (setfsuid): Likewise.
35813 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
35814 (setfsuid): Likewise.
35815 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
35816 Likewise.
35817 (setfsuid): Likewise.
35818
35819 2014-10-27 Andreas Schwab <schwab@suse.de>
35820
35821 [BZ #17501]
35822 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
35823 check for Slow_SSE4_2 feature bit.
35824 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
35825 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35826 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
35827 Likewise. Fix check for Fast_Unaligned_Load feature bit.
35828
35829 2014-10-24 Roland McGrath <roland@hack.frob.com>
35830
35831 * configure.ac: Validate compiler version with a empirical test of
35832 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
35833 $CC -v output.
35834 * configure: Regenerated.
35835
35836 * inet/htons.c (htons): Prototypify.
35837 * inet/htonl.c (htonl): Likewise.
35838
35839 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35840
35841 * string/strncat.c (strncat): Improve performance by using strlen.
35842
35843 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35844
35845 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
35846
35847 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35848
35849 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
35850 Call libc_fetestexcept_aarch64.
35851
35852 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35853
35854 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
35855 Call libc_feholdexcept_aarch64.
35856
35857 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35858
35859 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
35860 Call get_rounding_mode.
35861
35862 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35863
35864 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35865 Simplify logic.
35866
35867 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
35868
35869 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
35870 Simplify logic.
35871
35872 2014-10-24 Joseph Myers <joseph@codesourcery.com>
35873
35874 [BZ #14138]
35875 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
35876 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
35877 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
35878 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
35879 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
35880 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
35881 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
35882 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
35883 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
35884 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
35885 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35886 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
35887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
35888 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
35889 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
35890 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35891 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
35892 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
35893 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
35894 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
35895 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35896 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
35897 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
35898 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
35899 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
35900 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
35901 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
35902 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
35903 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
35904 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
35905 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
35906 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
35907 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
35908 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
35909 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
35910 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
35911 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
35912 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
35913 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
35914 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
35915 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
35916 syscall.
35917 (geteuid): Likewise.
35918 (getgid): Likewise.
35919 (getuid): Likewise.
35920 (getresgid): Likewise.
35921 (getresuid): Likewise.
35922 (getgroups): Likewise.
35923 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
35924 (geteuid): Likewise.
35925 (getgid): Likewise.
35926 (getuid): Likewise.
35927 (getresgid): Likewise.
35928 (getresuid): Likewise.
35929 (getgroups): Likewise.
35930 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
35931 (geteuid): Likewise.
35932 (getgid): Likewise.
35933 (getuid): Likewise.
35934 (getresgid): Likewise.
35935 (getresuid): Likewise.
35936 (getgroups): Likewise.
35937 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
35938 Likewise.
35939 (geteuid): Likewise.
35940 (getgid): Likewise.
35941 (getuid): Likewise.
35942 (getresgid): Likewise.
35943 (getresuid): Likewise.
35944 (getgroups): Likewise.
35945 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
35946 (geteuid): Likewise.
35947 (getgid): Likewise.
35948 (getuid): Likewise.
35949 (getresgid): Likewise.
35950 (getresuid): Likewise.
35951 (getgroups): Likewise.
35952 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
35953 Likewise.
35954 (geteuid): Likewise.
35955 (getgid): Likewise.
35956 (getuid): Likewise.
35957 (getgroups): Likewise.
35958
35959 [BZ #14138]
35960 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
35961 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
35962 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
35963 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35964 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
35965 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
35966 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
35967 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
35968 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
35969 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
35970 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
35971 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
35972 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
35973 __chown.
35974 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
35975 (lchown): Likewise.
35976 (fchown): Likewise.
35977 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
35978 Likewise.
35979 (lchown): Likewise.
35980 (fchown): Likewise.
35981 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
35982 (lchown): Likewise.
35983 (fchown): Likewise.
35984 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
35985 Likewise.
35986 (lchown): Likewise.
35987 (fchown): Likewise.
35988
35989 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35990
35991 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
35992 Simplify logic.
35993
35994 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35995
35996 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35997 Cleanup logic.
35998
35999 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
36000
36001 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36002 Remove unused include.
36003
36004 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
36005
36006 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36007 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36008 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36009 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36010
36011 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
36012 Helge Deller <deller@gmx.de>
36013
36014 [BZ #17508]
36015 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36016 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36017 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36018
36019 2014-10-23 Joseph Myers <joseph@codesourcery.com>
36020
36021 [BZ #14132]
36022 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36023 Remove macro definition.
36024 (__ashrdi3_v_glibc20): Likewise.
36025 (__lshrdi3_v_glibc20): Likewise.
36026 (__cmpdi2_v_glibc20): Likewise.
36027 (__ucmpdi2_v_glibc20): Likewise.
36028 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36029 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36030 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36031 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36032 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36033 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36034
36035 2014-10-22 Roland McGrath <roland@hack.frob.com>
36036
36037 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36038 old GNU extension [0] syntax.
36039 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36040 alloca rather than an array member with variable length.
36041 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36042 * nscd/nscd.c (invalidate_db): New function, broken out of ...
36043 (parse_opt): ... here. Likewise use alloca there.
36044 Validate the -i argument before checking for rootness.
36045 (send_shutdown): New function, broken out of ...
36046 (parse_opt): ... here.
36047
36048 2014-10-22 Roland McGrath <roland@hack.frob.com>
36049
36050 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36051 macro to get at the _rt_local_ro field.
36052 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36053 ([PIC] case) or _dl_hwcap ([!PIC] case).
36054 * sysdeps/arm/setjmp.S: Likewise.
36055
36056 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36057 * sysdeps/arm/configure.ac: New check to define it.
36058 * sysdeps/arm/configure: Regenerated.
36059 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36060 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36061 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36062 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36063 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36064 Use move/movt pair instead of a load.
36065 (LDST_GLOBAL): Macro removed.
36066 (LDR_GLOBAL): New macro replaces it.
36067 (LDR_HIDDEN): New macro.
36068 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36069 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36070
36071 * setjmp/tst-setjmp-static.c: New file.
36072 * setjmp/Makefile (tests): Add it.
36073 (tests-static): New variable.
36074
36075 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
36076
36077 [BZ #17485]
36078 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36079
36080 2014-10-21 Joseph Myers <joseph@codesourcery.com>
36081
36082 [BZ #14132]
36083 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36084
36085 2014-10-21 Roland McGrath <roland@hack.frob.com>
36086
36087 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36088
36089 2014-10-20 Roland McGrath <roland@hack.frob.com>
36090
36091 * io/fts.c (dirent_not_directory): New function.
36092 (fts_build): Call it.
36093
36094 2014-10-20 Roland McGrath <roland@hack.frob.com>
36095
36096 * nptl/version.c (__nptl_main): Use normal __write rather than
36097 INTERNAL_SYSCALL.
36098 (banner): Update copyright years.
36099
36100 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36101 gettimeofday.
36102 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36103 * nptl/pthread_cond_timedwait.c: Likewise.
36104 * nptl/pthread_mutex_timedlock.c: Likewise.
36105 * nptl/sem_timedwait.c: Likewise.
36106
36107 * sysdeps/nptl/bits/libc-lock.h
36108 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36109 (__libc_lock_init_recursive): Return void, not 0.
36110 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36111 (__libc_rwlock_init): Likewise.
36112 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36113
36114 2014-10-20 Torvald Riegel <triegel@redhat.com>
36115
36116 [BZ #15215]
36117 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36118 (__pthread_once_slow): ... here.
36119 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36120 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36121
36122 2014-10-20 Torvald Riegel <triegel@redhat.com>
36123
36124 [BZ #15215]
36125 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36126 __PTHREAD_ONCE_FORK_GEN_INCR): New.
36127 * sysdeps/nptl/fork.c (__libc_fork): Use them.
36128 * nptl/pthread_once.c (__pthread_once): Likewise.
36129 Update comments.
36130
36131 2014-10-20 Joseph Myers <joseph@codesourcery.com>
36132
36133 [BZ #14138]
36134 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36135 name.
36136 (writev): Use __libc_writev as strong name.
36137 * sysdeps/unix/sysv/linux/readv.c: Remove file.
36138 * sysdeps/unix/sysv/linux/writev.c: Likewise.
36139
36140 2014-10-17 Roland McGrath <roland@hack.frob.com>
36141
36142 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36143
36144 * sysdeps/i386/nptl/tls.h
36145 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36146 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36147 New macros.
36148 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36149 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36150 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36151 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36152 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36153 Call CHECK_THREAD_SYSINFO instead of doing an assert.
36154
36155 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36156 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36157 on [__NR_futex].
36158 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36159 broken out of ...
36160 (__pthread_mutex_init): ... here. Call it.
36161 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36162 Conditionalize PI cases on [__NR_futex].
36163 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36164 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36165 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36166
36167 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36168 conditional on [SIGSETXID].
36169 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36170 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36171 is defined. Likewise for SIGSETXID.
36172 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36173 Conditionalize definitions on [SIGSETXID].
36174 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36175 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36176 unblocking on [SIGCANCEL].
36177
36178 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36179 [__NR_set_robust_list].
36180
36181 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36182
36183 * string/strcoll_l.c (get_next_seq): Fix up formatting.
36184 (do_compare): Likewise.
36185
36186 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
36187
36188 [BZ #15884]
36189 * string/strcoll_l.c: Don't include stdio.h.
36190 (coll_seq): Remove members idxarr and rulearr.
36191 (get_next_seq_cached): Remove function.
36192 (get_next_seq): Likewise.
36193 (get_next_seq_nocache): Rename to get_next_seq.
36194 (do_compare): Remove function.
36195 (do_compare_nocache): Rename to do_compare.
36196 (STRCOLL): Remove weight and rules cache.
36197
36198 2014-10-16 Roland McGrath <roland@hack.frob.com>
36199
36200 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36201 * sysdeps/arm/sfp-machine.h: ... to here.
36202 * sysdeps/arm/Implies: Remove arm/soft-fp.
36203
36204 2014-10-14 Joseph Myers <joseph@codesourcery.com>
36205
36206 * conform/data/sys/utsname.h-data (*_t): Allow.
36207 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36208 [POSIX] (WEXITED): Do not expect constant.
36209 [POSIX] (WSTOPPED): Likewise.
36210 [POSIX] (WNOHANG): Likewise.
36211 [POSIX] (WNOWAIT): Likewise.
36212 [POSIX] (siginfo_t): Do not expect type or elements.
36213 [POSIX] (pid_t): Do not expect type.
36214 [POSIX] (signal.h): Do not allow header.
36215 [POSIX] (sys/resource.h): Likewise.
36216 [POSIX] (si_*): Do not allow pattern.
36217 [POSIX] (W*): Likewise.
36218 [POSIX] (P_*): Likewise.
36219 [POSIX] (BUS_*): Likewise.
36220 [POSIX] (CLD_*): Likewise.
36221 [POSIX] (FPE_*): Likewise.
36222 [POSIX] (ILL_*): Likewise.
36223 [POSIX] (POLL_*): Likewise.
36224 [POSIX] (SEGV_*): Likewise.
36225 [POSIX] (SI_*): Likewise.
36226 [POSIX] (TRAP_*): Likewise.
36227 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36228 variable.
36229
36230 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
36231
36232 [BZ #12926]
36233 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36234 infinite loop when __recvmsg returns 0.
36235
36236 2014-10-10 Joseph Myers <joseph@codesourcery.com>
36237
36238 * CANCEL-FCT-WAIVE: Remove file.
36239 * CANCEL-FILE-WAIVE: Likewise.
36240
36241 [BZ #14132]
36242 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36243 instead of INTVARDEF.
36244 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36245 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36246 rtld_hidden_data_def instead of INTVARDEF.
36247 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36248 * elf/dl-deps.c (expand_dst): Likewise.
36249 * elf/dl-load.c (_dl_dst_count): Likewise.
36250 (_dl_dst_substitute): Likewise.
36251 (decompose_rpath): Likewise.
36252 (_dl_init_paths): Likewise.
36253 (open_path): Likewise.
36254 (_dl_map_object): Likewise.
36255 * elf/rtld.c (dl_main): Likewise.
36256 (process_dl_audit): Likewise.
36257 (process_envvars): Likewise.
36258 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36259 Remove declaration.
36260 (__libc_enable_secure): Use rtld_hidden_proto.
36261
36262 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36263
36264 * elf/dl-load.c
36265 (add_path): New function broken out of _dl_rtld_di_serinfo.
36266 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
36267
36268 2014-10-09 Joseph Myers <joseph@codesourcery.com>
36269
36270 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36271 parentheses around macro arguments.
36272 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36275 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36276 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36277 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36278 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36279 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36280 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36281 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36282 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36283 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36284 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36285 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36286 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36287 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36288 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36289 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36290 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36291 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36292 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36293 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36294 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36295 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36296 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36297 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36298 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36299 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36300 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36301 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36302 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36303 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36304 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36305 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36306 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36307 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36308 Likewise.
36309 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36310 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36311 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36312 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36313 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36314 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36315 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36316 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36317 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36318 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36319 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36320 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36321 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36322 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36323 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36324 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36325 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36326 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36327 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36328 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36330 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36331 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36332 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36333 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36334 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36335 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36336 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36337 (_FP_FRAC_SRS_1): Likewise.
36338 (_FP_FRAC_CLZ_1): Likewise.
36339 (_FP_MUL_MEAT_1_imm): Likewise.
36340 (_FP_MUL_MEAT_1_wide): Likewise.
36341 (_FP_MUL_MEAT_1_hard): Likewise.
36342 (_FP_SQRT_MEAT_1): Likewise.
36343 (_FP_FRAC_ASSEMBLE_1): Likewise.
36344 (_FP_FRAC_DISASSEMBLE_1): Likewise.
36345 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36346 (__FP_CLZ_2): Likewise.
36347 (_FP_MUL_MEAT_2_wide): Likewise.
36348 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36349 (_FP_MUL_MEAT_2_gmp): Likewise.
36350 (_FP_MUL_MEAT_2_120_240_double): Likewise.
36351 (_FP_SQRT_MEAT_2): Likewise.
36352 (_FP_FRAC_ASSEMBLE_2): Likewise.
36353 (_FP_FRAC_DISASSEMBLE_2): Likewise.
36354 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36355 (_FP_FRAC_CLZ_4): Likewise.
36356 (_FP_MUL_MEAT_4_wide): Likewise.
36357 (_FP_MUL_MEAT_4_gmp): Likewise.
36358 (_FP_SQRT_MEAT_4): Likewise.
36359 (_FP_FRAC_ASSEMBLE_4): Likewise.
36360 (_FP_FRAC_DISASSEMBLE_4): Likewise.
36361 * soft-fp/op-common.h (_FP_CMP): Likewise.
36362 (_FP_CMP_EQ): Likewise.
36363 (_FP_CMP_UNORD): Likewise.
36364 (_FP_TO_INT): Likewise.
36365 (_FP_FROM_INT): Likewise.
36366 [!__FP_CLZ] (__FP_CLZ): Likewise.
36367 (_FP_DIV_HELP_imm): Likewise.
36368 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36369 Likewise.
36370 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36371 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36372 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36375 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36376 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
36378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
36379 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
36380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
36381 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
36382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
36383 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
36384 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
36385 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
36386 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
36387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
36388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
36389 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
36390 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
36391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
36392 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
36393 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36394 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36395 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
36396 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
36397 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
36398 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
36399 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
36400 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
36401 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
36402 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
36403 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
36404 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
36405 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
36406 (FP_UNPACK_RAW_SP): Likewise.
36407 (FP_PACK_RAW_S): Likewise.
36408 (FP_PACK_RAW_SP): Likewise.
36409 (FP_UNPACK_S): Likewise.
36410 (FP_UNPACK_SP): Likewise.
36411 (FP_UNPACK_SEMIRAW_S): Likewise.
36412 (FP_UNPACK_SEMIRAW_SP): Likewise.
36413 (FP_PACK_S): Likewise.
36414 (FP_PACK_SP): Likewise.
36415 (FP_PACK_SEMIRAW_S): Likewise.
36416 (FP_PACK_SEMIRAW_SP): Likewise.
36417 (_FP_SQRT_MEAT_S): Likewise.
36418 (FP_CMP_S): Likewise.
36419 (FP_CMP_EQ_S): Likewise.
36420 (FP_CMP_UNORD_S): Likewise.
36421 (FP_TO_INT_S): Likewise.
36422 (FP_FROM_INT_S): Likewise.
36423
36424 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
36425
36426 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
36427 (FP_EX_INVALID_IMZ): Likewise.
36428 (FP_EX_INVALID_IMZ_FMA): Likewise.
36429 (FP_EX_INVALID_ISI): Likewise.
36430 (FP_EX_INVALID_ZDZ): Likewise.
36431 (FP_EX_INVALID_IDI): Likewise.
36432 (FP_EX_INVALID_SQRT): Likewise.
36433 (FP_EX_INVALID_CVI): Likewise.
36434 (FP_EX_INVALID_VC): Likewise.
36435 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
36436 "invalid" exceptions.
36437 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
36438 (_FP_ADD_INTERNAL): Likewise.
36439 (_FP_MUL): Likewise.
36440 (_FP_FMA): Likewise.
36441 (_FP_DIV): Likewise.
36442 (_FP_CMP_CHECK_NAN): Likewise.
36443 (_FP_SQRT): Likewise.
36444 (_FP_TO_INT): Likewise.
36445 (FP_EXTEND): Likewise.
36446
36447 2014-10-09 Allan McRae <allan@archlinux.org>
36448
36449 * po/fr.po: Update French translation from translation project.
36450
36451 2014-10-09 Joseph Myers <joseph@codesourcery.com>
36452
36453 [BZ #14132]
36454 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
36455 of INTDEF.
36456 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
36457 (__cxa_atexit): Use libc_hidden_proto.
36458 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36459
36460 [BZ #14132]
36461 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
36462 declaration.
36463 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
36464 [!_ISOMAC] (__iswspace_l_internal): Likewise.
36465 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
36466 [!_ISOMAC] (__iswctype_internal): Likewise.
36467 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
36468 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
36469 alias.
36470 (fcntl): Remove __fcntl_internal alias.
36471 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
36472 __connect_internal alias.
36473 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
36474 Likewise.
36475
36476 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
36477 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
36478 FP_DENORM_ZERO.
36479 (_FP_CHECK_FLUSH_ZERO): New macro.
36480 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
36481 (_FP_CMP): Likewise.
36482 (_FP_CMP_EQ): Likewise.
36483 (_FP_TO_INT): Do not set inexact for subnormal arguments if
36484 FP_DENORM_ZERO.
36485 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
36486 (FP_TRUNC): Likewise.
36487
36488 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
36489 treated as invalid conversion, not as normal exponent.
36490
36491 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
36492 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
36493 (_FP_CMP_EQ): Likewise.
36494 (_FP_CMP_UNORD): Likewise.
36495 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
36496 (FP_CMP_EQ_D): Likewise.
36497 (FP_CMP_UNORD_D): Likewise.
36498 * soft-fp/extended.h (FP_CMP_E): Likewise.
36499 (FP_CMP_EQ_E): Likewise.
36500 (FP_CMP_UNORD_E): Likewise.
36501 * soft-fp/quad.h (FP_CMP_Q): Likewise.
36502 (FP_CMP_EQ_Q): Likewise.
36503 (FP_CMP_UNORD_Q): Likewise.
36504 * soft-fp/single.h (FP_CMP_S): Likewise.
36505 (FP_CMP_EQ_S): Likewise.
36506 (FP_CMP_UNORD_S): Likewise.
36507 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
36508 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
36509 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
36510 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
36511 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
36512 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
36513 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
36514 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
36515 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
36516 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
36517 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
36518 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
36519 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
36520 to FP_CMP_Q.
36521 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
36522 FP_CMP_Q.
36523 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
36524 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
36525 FP_CMP_EQ_Q.
36526 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
36527 FP_CMP_Q.
36528 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
36529 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
36530 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
36531 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
36532 FP_CMP_EQ_Q.
36533 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
36534 FP_CMP_Q.
36535 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
36536 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
36537 FP_CMP_EQ_Q.
36538 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
36539 FP_CMP_Q.
36540 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
36541 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
36542 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
36543 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
36544 FP_CMP_EQ_Q.
36545
36546 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
36547 a subnormal result, set the underflow exception if trapping on
36548 underflow is enabled.
36549 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
36550 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
36551 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
36552 redefine to 0.
36553 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
36554 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36555 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36556 * soft-fp/extendxftf2.c (__extendxftf2): Use
36557 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
36558
36559 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
36560 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
36561 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36562 FP_HANDLE_EXCEPTIONS.
36563 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
36564 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36565 FP_HANDLE_EXCEPTIONS.
36566 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
36567 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36568 FP_HANDLE_EXCEPTIONS.
36569 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
36570 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36571 FP_HANDLE_EXCEPTIONS.
36572
36573 2014-10-08 Joseph Myers <joseph@codesourcery.com>
36574
36575 [BZ #14132]
36576 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
36577 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
36578 use INTUSE.
36579 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
36580 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
36581 Remove alias.
36582 (__adjtimex): Define using libc_hidden_ver.
36583 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
36584 Remove declaration.
36585 (ntp_gettime): Call __adjtimex directly.
36586 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
36587 Remove declaration.
36588 (ntp_gettimex): Call __adjtimex directly.
36589 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
36590 __adjtimex_internal alias.
36591
36592 2014-10-08 Roland McGrath <roland@hack.frob.com>
36593
36594 [BZ #17460]
36595 * nscd/nscd.c (more_help): Rewrite list of tables collection
36596 using xstrdup and asprintf.
36597
36598 * nscd/nscd_conf.c: Remove local xstrdup declaration.
36599
36600 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36601 Roland McGrath <roland@hack.frob.com>
36602
36603 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
36604 (do_lookup_unique): ... local function 'enter' here; update callers.
36605
36606 2014-10-06 Joseph Myers <joseph@codesourcery.com>
36607
36608 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
36609 compat_symbol calls on [SHARED].
36610 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
36611 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
36612 Remove.
36613 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36614 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
36615 (oldsetrlimit): Remove.
36616 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36618 (lchown): New syscall entry.
36619 (oldsetrlimit): Remove.
36620 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36621 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
36622 (oldsetrlimit): Remove.
36623 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36624
36625 [BZ #14138]
36626 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
36627 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
36628 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
36629 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
36630 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36631 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
36632 (fchown): Likewise.
36633 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
36634 (fchown): Likewise.
36635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
36636 Likewise.
36637
36638 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36639
36640 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
36641 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
36642 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
36643 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
36644 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
36645 Likewise.
36646 (__old_sem_post): Likewise.
36647
36648 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
36649
36650 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
36651 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
36652 HAVE_CLOCK_GETTIME_VSYSCALL macros.
36653 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
36654 Use INLINE_VSYSCALL macro.
36655 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
36656 __vdso_clock_gettime.
36657 * sysdeps/unix/sysv/linux/tile/init-first.c
36658 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
36659 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
36660 __vdso_clock_gettime.
36661
36662 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
36663 to set up frame more cleanly.
36664
36665 * sysdeps/tile/memcmp.c: New file.
36666
36667 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
36668
36669 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
36670 * sysdeps/tile/tilegx/strcasestr.c: New file.
36671 * sysdeps/tile/tilegx/strnlen.c: New file.
36672 * sysdeps/tile/tilegx/strstr.c: New file.
36673
36674 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
36675
36676 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
36677
36678 * nptl/tst-setuid3.c: Write errors to stdout.
36679
36680 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36681
36682 * elf/dl-deps.c
36683 (preload): New functions broken out of _dl_map_object_deps.
36684 (_dl_map_object_deps): Remove a nested function. Update call sites.
36685
36686 2014-10-01 Joseph Myers <joseph@codesourcery.com>
36687
36688 [BZ #14138]
36689 * sysdeps/unix/sysv/linux/execve.c: Remove file.
36690 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
36691
36692 2014-10-01 Steve Ellcey <sellcey@mips.com>
36693
36694 * sysdeps/mips/strcmp.S: New.
36695
36696 2014-09-30 Joseph Myers <joseph@codesourcery.com>
36697
36698 [BZ #14138]
36699 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
36700 (linkat): Likewise.
36701 (mkdirat): Likewise.
36702 (readlinkat): Likewise.
36703 (renameat): Likewise.
36704 (symlinkat): Likewise.
36705 (unlinkat): Likewise.
36706 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
36707 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
36708 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
36709 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
36710 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
36711 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
36712 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
36713
36714 2014-09-30 Will Newton <will.newton@linaro.org>
36715
36716 * math/math.h: Define long double math functions if
36717 _LIBC_TEST is defined.
36718 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
36719
36720 * localedata/Makefile: Move assignment to tests-special
36721 into an ifdef testing run-built-tests.
36722 * timezone/Makefile: Likewise.
36723
36724 2014-09-29 Joseph Myers <joseph@codesourcery.com>
36725
36726 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
36727 with $(BASH) not $(SHELL).
36728
36729 2014-09-29 Carlos O'Donell <carlos@redhat.com>
36730 Matthew LeGendre <legendre1@llnl.gov>
36731
36732 [BZ #17411]
36733 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
36734 l_reloc_result.
36735
36736 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36737
36738 * stdio-common/printf_fp.c
36739 (hack_digit): New function, broken out of ...
36740 (__printf_fp): ... local function here. Update call sites.
36741 hack_digit now takes an additional parameter that is a pointer
36742 to a struct of the referenced locals. Those locals moved inside
36743 the struct and references updated.
36744
36745 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
36746
36747 * aclocal.m4: Require autoconf 2.69.
36748 * configure: Regenerated.
36749 * sysdeps/aarch64/configure: Likewise.
36750 * sysdeps/alpha/configure: Likewise.
36751 * sysdeps/arm/armv7/configure: Likewise.
36752 * sysdeps/arm/configure: Likewise.
36753 * sysdeps/ia64/configure: Likewise.
36754 * sysdeps/mach/configure: Likewise.
36755 * sysdeps/mips/configure: Likewise.
36756 * sysdeps/s390/configure: Likewise.
36757 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
36758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
36759
36760 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
36761 file.
36762 * sysdeps/ia64/configure.ac: Likewise.
36763
36764 2014-09-26 Joseph Myers <joseph@codesourcery.com>
36765
36766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
36767 specify symbol version for ld.so. Do not include entry for
36768 libpthread.
36769 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36770 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36771 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36772
36773 [BZ #14171]
36774 * Makeconfig [$(build-shared) = yes]
36775 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
36776 makefiles.
36777 [$(build-shared) = yes && $(soversions.mk-done) = t]
36778 ($(common-objpfx)gnu/lib-names.h): Remove rule.
36779 [$(build-shared) = yes && $(soversions.mk-done) = t]
36780 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
36781 to Makerules.
36782 [$(build-shared) = yes && $(soversions.mk-done) = t]
36783 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
36784 here.
36785 [$(build-shared) = yes && $(soversions.mk-done) = t]
36786 (common-generated): Don't append gnu/lib-names.h and
36787 gnu/lib-names.stmp here.
36788 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
36789 (lib-names-h-abi): New variable.
36790 [$(build-shared) = yes && $(soversions.mk-done) = t]
36791 (lib-names-stmp-abi): Likewise.
36792 [$(build-shared) = yes && $(soversions.mk-done) = t &&
36793 abi-variants] (before-compile): Append
36794 $(common-objpfx)$(lib-names-h-abi).
36795 [$(build-shared) = yes && $(soversions.mk-done) = t &&
36796 abi-variants] (common-generated): Append gnu/lib-names.h.
36797 [$(build-shared) = yes && $(soversions.mk-done) = t &&
36798 abi-variants] (install-others-nosubdir): Depend on
36799 $(inst_includedir)/$(lib-names-h-abi).
36800 [$(build-shared) = yes && $(soversions.mk-done) = t &&
36801 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
36802 [$(build-shared) = yes && $(soversions.mk-done) = t]
36803 ($(common-objpfx)$(lib-names-h-abi)): New rule.
36804 [$(build-shared) = yes && $(soversions.mk-done) = t]
36805 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
36806 [$(build-shared) = yes && $(soversions.mk-done) = t]
36807 (common-generated): Append $(lib-names-h-abi) and
36808 $(lib-names-stmp-abi).
36809 * scripts/lib-names.awk: Do not handle multi being set.
36810 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
36811 Remove variable.
36812 (abi-lp64_be-ld-soname): Likewise.
36813 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
36814 Likewise.
36815 (abi-hard-ld-soname): Likewise.
36816 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
36817 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
36818 Remove variable.
36819 (abi-o32_hard-ld-soname): Likewise.
36820 (abi-o32_soft_2008-ld-soname): Likewise.
36821 (abi-o32_hard_2008-ld-soname): Likewise.
36822 (abi-n32_soft-ld-soname): Likewise.
36823 (abi-n32_hard-ld-soname): Likewise.
36824 (abi-n32_soft_2008-ld-soname): Likewise.
36825 (abi-n32_hard_2008-ld-soname): Likewise.
36826 (abi-n64_soft-ld-soname): Likewise.
36827 (abi-n64_hard-ld-soname): Likewise.
36828 (abi-n64_soft_2008-ld-soname): Likewise.
36829 (abi-n64_hard_2008-ld-soname): Likewise.
36830 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
36831 Likewise.
36832 (abi-64-v2-ld-soname): Likewise.
36833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
36834 ld.so entries.
36835 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
36836 variable.
36837 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
36838 entry.
36839 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
36840 variable.
36841 (abi-64-ld-soname): Likewise.
36842 (abi-x32-ld-soname): Likewise.
36843 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
36844 entry.
36845 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36846
36847 2014-09-23 Joseph Myers <joseph@codesourcery.com>
36848
36849 [BZ #14138]
36850 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
36851 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
36852 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
36853 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
36854 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
36855 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
36856 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
36857 syscall entry for GLIBC_2.2 symbol version.
36858 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
36859 Likewise.
36860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36861 (setrlimit): Likewise.
36862 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
36863 Likewise.
36864
36865 2014-09-23 Will Newton <will.newton@linaro.org>
36866
36867 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
36868 _LINUX_ARM_SYSDEP_H include guard too.
36869 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
36870 define.
36871
36872 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
36873
36874 * sysdeps/unix/sysv/linux/eventfd.c:
36875 Make first argument unsigned.
36876 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
36877 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
36878
36879 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
36880
36881 [BZ #16852]
36882 * socket/recvmmsg.c (recvmmsg): Drop const argument.
36883 * socket/sys/socket.h: Likewise.
36884 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
36885
36886 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36887
36888 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
36889
36890 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
36891
36892 * time/tst-ftime.c: New test.
36893 * time/Makefile (tests): Add tst-ftime.
36894
36895 2014-09-17 Joseph Myers <joseph@codesourcery.com>
36896
36897 * soft-fp/extended.h: Fix comment formatting.
36898 * soft-fp/op-1.h: Likewise.
36899 * soft-fp/op-2.h: Likewise.
36900 * soft-fp/op-4.h: Likewise.
36901 * soft-fp/op-8.h: Likewise.
36902 * soft-fp/op-common.h: Likewise.
36903 * soft-fp/soft-fp.h: Likewise.
36904
36905 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
36906
36907 2014-09-16 Joseph Myers <joseph@codesourcery.com>
36908
36909 [BZ #6652]
36910 * Makeconfig (soversions-default-setname): Remove variable.
36911 ($(common-objpfx)soversions.i): Don't pass default_setname to
36912 soversions.awk.
36913 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
36914 oldest_abi to abi-versions.awk.
36915 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
36916 * config.make.in (oldest-abi): Remove variable.
36917 * configure.ac (--enable-oldest-abi): Remove configure option.
36918 * configure: Regenerated.
36919 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
36920 text.
36921 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
36922 * scripts/soversions.awk: Do not handle default_setname variable.
36923 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
36924 variable.
36925 * sysdeps/mach/hurd/configure: Regenerated.
36926 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
36927 variable.
36928 * sysdeps/unix/sysv/linux/configure: Regenerated.
36929
36930 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36931
36932 * elf/Makefile (CFLAGS-interp.c): Remove.
36933 ($(elf-objpfx)runtime-linker.h): Generate header with linker
36934 path string.
36935 * elf/interp.c: Include generated runtime-linker.h
36936
36937 * Makerules (lib%.so): Don't include $(+interp) in
36938 prerequisites.
36939 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
36940 * dlfcn/eval.c: Remove file.
36941
36942 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
36943 macros.
36944
36945 [BZ #17266]
36946 * misc/sys/cdefs.h: Define __extern_always_inline for clang
36947 4.2 and newer.
36948
36949 [BZ #17370]
36950 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
36951
36952 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36953 Jakub Jelinek <jakub@redhat.com>
36954
36955 [BZ #17266]
36956 * libio/stdio.h: Check definition of __fortify_function
36957 instead of __extern_always_inline to include bits/stdio2.h.
36958 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
36959 check if __extern_always_inline is defined.
36960 [__USE_MISC || __USE_XOPEN]: Likewise.
36961 [__USE_ISOC99] Likewise.
36962 * misc/sys/cdefs.h (__fortify_function): Define only if
36963 __extern_always_inline is defined.
36964 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
36965 __extern_always_inline and __extern_inline only for g++-4.3
36966 and newer or a compatible gcc.
36967
36968 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
36969
36970 [BZ #17371]
36971 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36972 last change to handle zero prefix length.
36973
36974 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36975
36976 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
36977 _SC_REGEX_VERSION.
36978
36979 * posix/getconf.c (vars): Add _POSIX_IPV6 and
36980 _POSIX_RAW_SOCKETS.
36981
36982 2014-09-13 Allan McRae <allan@archlinux.org>
36983
36984 * po/ru.po: Update Russian translation from translation project.
36985
36986 2014-09-12 Roland McGrath <roland@hack.frob.com>
36987
36988 * locale/programs/locale.c (show_locale_vars): Inline local function
36989 into its sole call site. Clean up some style nits.
36990 (print_item): New function, broken out of ...
36991 (show_info): ... local function here. Clean up style nits.
36992
36993 * locale/programs/ld-ctype.c (set_one_default): New function, broken
36994 out of ...
36995 (set_class_defaults): ... local function set_default here.
36996 Define set_default as a macro locally to pass constant parameters.
36997 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
36998 rather than a shared local.
36999
37000 * stdlib/rpmatch.c (try): New function, broken out of ...
37001 (rpmatch): ... local function here. Also, prototypify definition.
37002
37003 2014-09-12 Joseph Myers <joseph@codesourcery.com>
37004
37005 * scripts/soversions.awk: Do not handle configuration names.
37006 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37007 vendor and os variables to soversions.awk.
37008 * configure.ac: Do not modify gnu-* host_os.
37009 * configure: Regenerated
37010 * shlib-versions: Remove first column with configuration names.
37011 * nptl/shlib-versions: Likewise.
37012 * nptl_db/shlib-versions: Likewise.
37013 * sysdeps/hppa/shlib-versions: Likewise.
37014 * sysdeps/m68k/shlib-versions: Likewise.
37015 * sysdeps/mach/hurd/shlib-versions: Likewise.
37016 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37017 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37018 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37019 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37020 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37021 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37022 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37023 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37025 Likewise.
37026 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37027 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37028 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37029 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37030 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37031 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37032 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37033 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37034
37035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37036 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37038 Regenerated.
37039 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37041 Condition symbol version definitions on [HAVE_ELFV2_ABI].
37042
37043 * shlib-versions: Remove OS-specific entries. Moved to files in
37044 sysdeps.
37045 * sysdeps/mach/hurd/shlib-versions: New file.
37046 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37047
37048 * nptl/shlib-versions: Remove architecture-specific entries.
37049 Moved to files in sysdeps.
37050 * shlib-versions: Likewise.
37051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37052 file.
37053 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37054 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37055 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37056 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37057
37058 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37059 (UDP_NO_CHECK6_RX): Likewise.
37060
37061 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37062
37063 * sysdeps/posix/sysconf.c (__sysconf): Spell
37064 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37065
37066 2014-08-12 Florian Weimer <fweimer@redhat.com>
37067
37068 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37069 loading.
37070 * iconv/Versions (__gconv_transliterate): Export for use from
37071 gconv modules.
37072 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37073 (struct __gconv_trans_data, __gconv_trans_fct,
37074 __gconv_trans_context_fct, __gconv_trans_query_fct,
37075 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37076 definitions.
37077 (struct __gconv_step_data): Remove __trans member.
37078 (__gconv_transliterate): Declaration moved from gconv_int.h. No
37079 longer hidden. Remove unused trans_data argument.
37080 * iconv/gconv_int.h (struct trans_struct): Remove definition.
37081 (__gconv_translit_find): Remove declaration.
37082 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
37083 prototype.
37084 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37085 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37086 trans_data argument. Add hidden definition.
37087 (__gconv_translit_find): Remove.
37088 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37089 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37090 * iconv/skeleton.c: Remove transliteration initialization.
37091 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37092 __gconv_step_data initialization.
37093 * libio/iofwide.c (__libio_translit_): Remove.
37094 (_IO_fwide): Adjust struct __gconv_step_data initialization.
37095 * wcsmbs/btowc.c (__btowc): Likewise.
37096 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37097 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37098 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37099 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37100 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37101 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37102 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37103 * wcsmbs/wctob.c (wctob): Likewise.
37104
37105 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37106
37107 [BZ #16194]
37108 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37109 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
37110 register usage.
37111 * sysdeps/x86/Makefile: Adjust.
37112
37113 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
37114 Roland McGrath <roland@hack.frob.com>
37115
37116 * locale/weight.h: Add include guard.
37117 (findidx): Make static rather than auto; take new parameters
37118 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37119 * locale/weightwc.h: Likewise.
37120 * posix/fnmatch_loop.c
37121 (FCT): Change type of EXTRA from int32_t to wint_t.
37122 Don't include either header inside the function.
37123 Call FINDIDX rather than findidx, and pass new arguments.
37124 #undef FINDIDX at the end of the file.
37125 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37126 FINDIDX before including fnmatch_loop.c for the non-wide version.
37127 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37128 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37129 for the wide version.
37130 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37131 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37132 Pass new arguments to findidx.
37133 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37134 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37135 Don't #include it inside the function. Pass new arguments to findidx.
37136 * posix/regex_internal.h
37137 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37138 (re_string_elem_size_at): Don't #include it inside the function.
37139 Pass new arguments to findidx.
37140 * string/strcoll_l.c: #include WEIGHT_H at top level.
37141 (get_next_seq): Don't #include it inside the function.
37142 Pass new arguments to findidx.
37143 (get_next_seq_nocache): Likewise.
37144 * string/strxfrm_l.c: #include WEIGHT_H at top level.
37145 (STRXFRM): Don't #include it inside the function.
37146 Pass new arguments to findidx.
37147
37148 2014-09-11 Florian Weimer <fweimer@redhat.com>
37149
37150 [BZ #17344]
37151 * malloc/malloc.c (unlink): Turn asserts into a call to
37152 malloc_printerr.
37153
37154 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
37155
37156 [BZ #17370]
37157 * libio/wfileops (do_ftell_wide): Free OUT.
37158
37159 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
37160
37161 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37162
37163 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37164
37165 [BZ #17363]
37166 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37167 group if the current group is empty.
37168
37169 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37170
37171 * benchtests/bench-memset.c (test_main): Add more test from size
37172 from 32 to 512 bytes.
37173 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37174 Add POWER8 memset object.
37175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37176 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37177 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37178 implementation.
37179 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37180 Likewise.
37181 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37182 multiarch POWER8 memset optimization.
37183 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37184 POWER8 memset optimization.
37185
37186 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37187 Remove bzero multiarch objects.
37188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37189 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37190 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37191 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37192 Remove define.
37193 [__bzero]: Redefine to specific name.
37194 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37195 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37196 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37197 define.
37198 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37199 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37200
37201 2014-09-10 Florian Weimer <fweimer@redhat.com>
37202
37203 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37204 warnings into errors.
37205
37206 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37207 __cxa_thread_atexit_impl prototype.
37208
37209 2014-09-09 Steve Ellcey <sellcey@mips.com>
37210
37211 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37212 Fix capitalization of error message.
37213
37214 2014-09-09 Steve Ellcey <sellcey@mips.com>
37215
37216 * sysdeps/mips/preconfigure: Modify ABI tests.
37217
37218 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
37219
37220 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37221
37222 2014-09-07 Roland McGrath <roland@hack.frob.com>
37223 Carlos O'Donell <carlos@systemhalted.org>
37224
37225 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37226 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37227 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37228 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37229 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37230 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37231 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37232 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37233 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37234 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37235 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37236 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37237 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37239 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37240 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37242 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37243 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37244 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37245 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37246 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37247 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37248 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37249 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37250 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37251 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37252 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37253 Deconditionalize the code that was previously under [RESET_PID].
37254 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37255 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37256 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37257 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37258 include sysdep.h.
37259
37260 2014-09-08 Allan McRae <allan@archlinux.org>
37261
37262 * version.h (RELEASE): Set to "development".
37263 (VERSION): Set to "2.20.90"
37264
37265 2014-09-07 Allan McRae <allan@archlinux.org
37266
37267 * version.h (RELEASE): Set to "stable".
37268 (VERSION): Set to "2.20"
37269 * include/features.h (__GLIBC_MINOR__): Set to 20.
37270
37271 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37272 Liebler.
37273
37274 * po/ko.po: Update Korean translation from translation project.
37275
37276 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
37277
37278 [BZ #17354]
37279 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37280 macro for handling signed relocations.
37281
37282 2014-09-03 Florian Weimer <fweimer@redhat.com>
37283
37284 [BZ #17325]
37285 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37286 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37287 assert.
37288 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37289 * iconvdata/ibm935.c (BODY): Likewise.
37290 * iconvdata/ibm937.c (BODY): Likewise.
37291 * iconvdata/ibm939.c (BODY): Likewise.
37292 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37293 assert.
37294 * iconvdata/Makefile (iconv-test.out): Pass module list to test
37295 script.
37296 * iconvdata/run-iconv-test.sh: New test loop for checking for
37297 decoder crashers.
37298
37299 2014-09-02 Khem Raj <raj.khem@gmail.com>
37300
37301 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37302 libm_hidden_ver.
37303
37304 2014-09-01 Allan McRae <allan@archlinux.org>
37305
37306 * po/eo.po: Update Esperanto translation from translation project.
37307
37308 * po/ca.po: Update Catalan translation from translation project.
37309
37310 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
37311
37312 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37313 __proc_dostop call.
37314
37315 2014-08-27 Mark Wielaard <mjw@redhat.com>
37316
37317 [BZ #17319]
37318 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37319 to call set_thread_area instead of hand written asm.
37320 (__NR_set_thread_area): Removed define.
37321 (TLS_FLAG_WRITABLE): Likewise.
37322 (__ASSUME_SET_THREAD_AREA): Remove check.
37323 (TLS_EBX_ARG): Remove define.
37324 (TLS_LOAD_EBX): Likewise.
37325
37326 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
37327
37328 Simplify atomicity of socket creation in bind.
37329
37330 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37331 looking up the name after linking the file.
37332
37333 2014-08-27 Allan McRae <allan@archlinux.org>
37334
37335 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37336
37337 2014-08-26 Florian Weimer <fweimer@redhat.com>
37338
37339 [BZ #17187]
37340 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37341 trans_compare, open_translit, __gconv_translit_find):
37342 Remove module loading code.
37343
37344 2014-08-26 Allan McRae <allan@archlinux.org>
37345
37346 * po/vi.po: Update Vietnamese translation from translation project.
37347
37348 * po/uk.po: Update Ukrainian translation from translation project.
37349
37350 * po/fr.po: Update French translation from translation project.
37351
37352 * po/ru.po: Update Russian translation from translation project.
37353
37354 * po/pl.po: Update Polish translation from translation project.
37355
37356 * po/cs.po: Update Czech translation from translation project.
37357
37358 * po/de.po: Update German translation from translation project.
37359
37360 * po/bg.po: Update Bulgarian translation from translation project.
37361
37362 * po/sv.po: Update Sweedish translation from translation project.
37363
37364 * po/nl.po: Update Dutch translation from translation project.
37365
37366 * po/es.po: Update Spanish translation from translation project.
37367
37368 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37369
37370 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37371
37372 * catgets/Makefile (CPPFLAGS-gencat): Remove.
37373 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37374 (CPPFLAGS-iconvconfig): Likewise.
37375 * timezone/Makefile (CPPFLAGS-zic): Likewise.
37376
37377 * include/libc-symbols.h: Remove unnecessary check for
37378 NOT_IN_libc.
37379 * nptl/pthreadP.h: Likewise.
37380 * sysdeps/aarch64/setjmp.S: Likewise.
37381 * sysdeps/alpha/setjmp.S: Likewise.
37382 * sysdeps/arm/sysdep.h: Likewise.
37383 * sysdeps/i386/setjmp.S: Likewise.
37384 * sysdeps/m68k/setjmp.c: Likewise.
37385 * sysdeps/posix/getcwd.c: Likewise.
37386 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37387 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37388 * sysdeps/s390/s390-32/setjmp.S: Likewise.
37389 * sysdeps/s390/s390-64/setjmp.S: Likewise.
37390 * sysdeps/sh/sh3/setjmp.S: Likewise.
37391 * sysdeps/sh/sh4/setjmp.S: Likewise.
37392 * sysdeps/unix/alpha/sysdep.h: Likewise.
37393 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37394 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37395 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37396 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37399 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37401 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37404 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37406 * sysdeps/x86_64/setjmp.S: Likewise.
37407
37408 2014-08-13 Joseph Myers <joseph@codesourcery.com>
37409
37410 [BZ #17263]
37411 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
37412 <stdint.h>.
37413 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
37414 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
37415
37416 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37417
37418 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
37419
37420 [BZ #17262]
37421 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
37422 and __x86_64__ when disabling x87 inline functions.
37423
37424 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
37425
37426 [BZ #17259]
37427 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
37428 asm statement with __cpuid_count.
37429
37430 2014-08-12 Mike Frysinger <vapier@gentoo.org>
37431
37432 * configure.ac: Change __ehdr_start code to dereference the struct.
37433 Run readelf on the output to look for relocations.
37434 * configure: Regenerated.
37435
37436 2014-08-12 Joseph Myers <joseph@codesourcery.com>
37437
37438 [BZ #17261]
37439 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
37440 value to 0.
37441 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
37442
37443 2014-08-12 Roland McGrath <roland@hack.frob.com>
37444
37445 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
37446
37447 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
37448
37449 [BZ #16892]
37450 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
37451 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
37452
37453 2014-08-12 Sean Anderson <seanga2@gmail.com>
37454
37455 * malloc/malloc.c: Fix typo in comment.
37456
37457 2014-08-09 Allan McRae <allan@archlinux.org>
37458
37459 * Regenerate libc.po.
37460
37461 2014-08-08 Mike Frysinger <vapier@gentoo.org>
37462
37463 * intl/tst-gettext2.sh: Check every lang file for creation.
37464
37465 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
37466
37467 * sysdeps/aarch64/fpu/math_private.h
37468 (libc_feholdsetround_noex_aarch64_ctx): New function.
37469
37470 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
37471
37472 * sysdeps/arm/armv6/strcpy.S (strcpy):
37473 Fix performance issue in misaligned cases.
37474
37475 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37476
37477 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
37478 Move definition from termios.h.
37479 (struct termio): Likewise.
37480 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37481 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37482 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37483 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37484 Likewise.
37485 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
37486 Move definition to ioctl-types.h
37487 (struct termio): Likewise.
37488 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37489 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37490 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37491 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37492 Likewise.
37493
37494 2014-08-05 Richard Henderson <rth@redhat.com>
37495
37496 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
37497 exceptions.
37498 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
37499 Add fraiseexcpt.
37500 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
37501 Use __feraiseexcept.
37502 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
37503 Protect libm symbols with IS_IN_libm.
37504
37505 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
37506
37507 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
37508
37509 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
37510
37511 2014-08-04 Will Newton <will.newton@linaro.org>
37512
37513 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
37514 file.
37515
37516 2014-08-04 Mike Frysinger <vapier@gentoo.org>
37517
37518 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
37519 variants for each function.
37520
37521 2014-08-04 Roland McGrath <roland@hack.frob.com>
37522
37523 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
37524 appended ...
37525 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
37526 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
37527 appended ...
37528 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
37529 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37530 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
37531 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
37532 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
37533 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
37534 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
37535 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
37536 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
37537 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
37538 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
37539 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
37540 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
37541 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
37542 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
37543 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
37544 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
37545 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
37546 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
37547 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
37548 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
37549 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
37550 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
37551 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
37552 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
37553 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
37554 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
37555 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
37556 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
37557 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
37558 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
37559 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
37560 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
37561 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
37562 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
37563 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
37564 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
37565 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
37566 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
37567 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
37568 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
37569 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
37570 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
37571 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
37572 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
37573 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
37574 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
37575 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
37576 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
37577 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
37578 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
37579 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
37580 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
37581 Update #include.
37582 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
37583 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
37584
37585 2014-08-04 Roland McGrath <roland@hack.frob.com>
37586
37587 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
37588 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
37589 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
37590 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
37591 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
37592 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
37593
37594 2014-08-04 Roland McGrath <roland@hack.frob.com>
37595
37596 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
37597 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
37598 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37599 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
37600
37601 2014-08-04 Roland McGrath <roland@hack.frob.com>
37602
37603 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
37604 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
37605 (__libc_vfork): Define function under this name.
37606 (__vfork): Define as an alias.
37607 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
37608 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
37609
37610 2014-08-04 Roland McGrath <roland@hack.frob.com>
37611
37612 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
37613 that was previously under [RESET_PID].
37614 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
37615
37616 2014-08-04 Andreas Schwab <schwab@suse.de>
37617
37618 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
37619
37620 2014-08-03 Mike Frysinger <vapier@gentoo.org>
37621
37622 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
37623 (main): Likewise.
37624
37625 2014-08-01 Roland McGrath <roland@hack.frob.com>
37626
37627 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
37628
37629 2014-08-01 Richard Henderon <rth@redhat.com>
37630
37631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
37632 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
37633 typo in exact zero test.
37634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37637
37638 2014-08-01 Roland McGrath <roland@hack.frob.com>
37639
37640 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
37641 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
37642 * sysdeps/arm/sysdep.h: ... here.
37643 [!__ASSEMBLER__]: Include <stdint.h>.
37644
37645 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37646
37647 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
37648 (HAVE_WCTYPE_H): Likewise.
37649 (HAVE_ISWCTYPE): Likewise.
37650 (ENABLE_NLS): Likewise.
37651 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
37652 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
37653
37654 * posix/regex_internal.c: Check if DEBUG is defined and is
37655 set.
37656
37657 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
37658 (HAVE_MBSRTOWCS): Likewise.
37659 * posix/fnmatch.c: Include string.h unconditionally.
37660
37661 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37662
37663 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
37664 reversal.
37665
37666 2014-07-31 Roland McGrath <roland@hack.frob.com>
37667
37668 * sysdeps/generic/safe-fatal.h: New file.
37669 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
37670 * nptl/forward.c: Include it.
37671 (__pthread_unwind): Use __safe_fatal as default action, rather
37672 than a bogus use of INTERNAL_SYSCALL that could never work.
37673
37674 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
37675 * configure.ac (libc_cv_builtin_trap): New test.
37676 * configure: Regenerated.
37677 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
37678 (ABORT_INSTRUCTION): Define using __builtin_trap.
37679
37680 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
37681 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
37682 * sysdeps/nptl/nptl-signals.h: New file.
37683 * nptl/pthreadP.h: Include <nptl-signals.h>.
37684
37685 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
37686
37687 * sysdeps/s390/s390-64/utf16-utf32-z9.c
37688 (ONE_DIRECTION): Define.
37689 * sysdeps/s390/s390-64/utf8-utf16-z9.c
37690 (ONE_DIRECTION): Define.
37691 * sysdeps/s390/s390-64/utf8-utf32-z9.c
37692 (ONE_DIRECTION): Define.
37693
37694 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
37695
37696 * sysdeps/s390/Makefile: Delete file.
37697 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
37698 * sysdeps/s390/__longjmp.c: Delete file.
37699 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
37700 Remove fields __flags and __reserved.
37701 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
37702 and add versioning.
37703 * sysdeps/s390/rtld-__longjmp.c: Delete file.
37704 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
37705 * sysdeps/s390/rtld-setjmp.S: Likewise.
37706 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
37707 * sysdeps/s390/s390-32/__longjmp.c: ... here.
37708 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
37709 * sysdeps/s390/s390-32/setjmp.S: ... here.
37710 Add versioning.
37711 (__sigsetjmp): Remove setting __flags field.
37712 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
37713 * sysdeps/s390/s390-64/__longjmp.c: ... here.
37714 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
37715 * sysdeps/s390/s390-64/setjmp.S: ... here.
37716 Add versioning.
37717 (__sigsetjmp): Remove setting __flags field.
37718 * sysdeps/s390/setjmp.S: Delete file.
37719 * sysdeps/s390/sigjmp.c: Likewise.
37720 * sysdeps/s390/v1-longjmp.c: Likewise.
37721 * sysdeps/s390/v1-setjmp.h: Likewise.
37722 * sysdeps/s390/v1-sigjmp.c: Likewise.
37723 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
37724 Remove v1-longjmp_chk.
37725 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
37726 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
37727 Include debug/longjmp_chk.c and add versioning.
37728 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
37729 Include nptl/pt-longjmp.c and add versioning.
37730 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
37731 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
37732 Include __longjmp.c.
37733 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37734 Move to ...
37735 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
37736 (__getcontext): Remove setting __flags field.
37737 Add versioning.
37738 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37739 Don't restore upper high grps.
37740 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
37741 Likewise.
37742 (__swapcontext): Remove setting uc_flags field.
37743 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
37744 Delete file.
37745 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37746 Include __longjmp.c.
37747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37748 Move to ...
37749 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
37750 (__getcontext): Remove setting __flags field.
37751 Add versioning.
37752 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
37753 (__swapcontext): Remove setting uc_flags field.
37754 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
37755 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
37756 Remove fields uc_high_gprs and __reserved.
37757 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
37758 New file with reverted content.
37759 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
37760 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
37761 Regenerated.
37762 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
37763 Regenerated.
37764
37765 2014-07-31 Andreas Schwab <schwab@suse.de>
37766
37767 * config.h.in (HAVE_IFUNC): Define to 0.
37768 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
37769 definedness.
37770
37771 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
37772
37773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37774 memmove-avx-unaligned, memcpy-avx-unaligned and
37775 mempcpy-avx-unaligned.
37776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37777 Add tests for AVX memcpy functions.
37778 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
37779 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
37780 memcpy_chk.
37781 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
37782 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
37783 memmove_chk.
37784 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
37785 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
37786 mempcpy_chk.
37787 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
37788 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
37789 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
37790
37791 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37792
37793 [BZ #17213]
37794 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
37795 powerpc64le.
37796
37797 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
37798
37799 [BZ #16839]
37800 * manual/llio.texi: Add section about open file description locks.
37801 * manual/examples/ofdlocks.c: Example of open file description
37802 lock usage.
37803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
37804 F_OFD_SETLK, and F_OFD_SETLKW.
37805
37806 2014-07-23 Allan McRae <allan@archlinux.org>
37807
37808 * po/es.po: Update Spanish translation from translation project.
37809
37810 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
37811
37812 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
37813
37814 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
37815
37816 [BZ #17078]
37817 * sysdeps/arm/dl-machine.h (elf_machine_rela)
37818 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
37819 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
37820
37821 2014-07-17 Joseph Myers <joseph@codesourcery.com>
37822
37823 [BZ #17088]
37824 * math/fesetenv.c (__fesetenv)
37825 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
37826 * math/feupdateenv.c (__feupdateenv)
37827 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
37828
37829 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
37830 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37831 (__ASSUME_SOCKETCALL): Do not define.
37832
37833 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
37834 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
37835 (__ASSUME_SOCKETCALL): Do not define.
37836 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
37837 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37838 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37839 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37840 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37841 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
37842 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37843 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37844
37845 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
37846 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
37847 (__ASSUME_SOCKETCALL): Do not define.
37848 (__ASSUME_IPC64): Define unconditionally.
37849 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37850 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37851 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37852 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37853 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
37854 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37855 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
37856 Likewise.
37857
37858 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
37859 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
37860 (__ASSUME_SOCKETCALL): Do not define.
37861 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
37862 (__ASSUME_FUTEX_LOCK_PI): Likewise.
37863 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37864 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37865 (__ASSUME_REQUEUE_PI): Define unconditionally.
37866 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
37867 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
37868 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37869 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
37870 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37871 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37872
37873 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
37874 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
37875 (__ASSUME_SOCKETCALL): Do not define.
37876 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
37877 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37878 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37879 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
37880 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37881 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37882
37883 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
37884 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
37885 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37886 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
37887 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37888 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
37889 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37890 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
37891 (__ASSUME_GETCPU_SYSCALL): Likewise.
37892
37893 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
37894 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
37895 cases for individual architectures.
37896 * sysdeps/gnu/configure: Regenerated.
37897 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
37898 LIBC_SLIBDIR_RTLDDIR.
37899 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
37900 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
37901 LIBC_SLIBDIR_RTLDDIR.
37902 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
37904 LIBC_SLIBDIR_RTLDDIR.
37905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37906 Regenerated.
37907 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
37908 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
37909 file.
37910 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
37911 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
37912 file.
37913 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
37914 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
37915 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
37916 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
37917
37918 * sysdeps/aarch64/shlib-versions: Move to ...
37919 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
37920 * sysdeps/alpha/shlib-versions: Move to ...
37921 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
37922 * sysdeps/arm/shlib-versions: Move to ...
37923 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
37924 * sysdeps/hppa/shlib-versions: Move all contents except for
37925 libgcc_s entry to ...
37926 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
37927 entry from ...
37928 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
37929 * sysdeps/ia64/shlib-versions: Move to ...
37930 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
37931 entry from ...
37932 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
37933 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
37934 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
37935 * sysdeps/microblaze/shlib-versions: Move to ...
37936 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
37937 * sysdeps/mips/shlib-versions: Move to ...
37938 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
37939 entry from ...
37940 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
37941 * sysdeps/tile/shlib-versions: Move to ...
37942 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
37943 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
37944 from ...
37945 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
37946 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
37947 entry from ...
37948 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
37949
37950 2014-07-17 Will Newton <will.newton@linaro.org>
37951
37952 * sysdeps/arm/bits/atomic.h
37953 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
37954 (__arch_compare_and_exchange_bool_16_int): Likewise.
37955 (__arch_compare_and_exchange_bool_64_int): Likewise.
37956
37957 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
37958 into an #else block.
37959
37960 2014-07-16 Roland McGrath <roland@hack.frob.com>
37961
37962 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
37963 just Linux configurations. Test empirically that the compiler sets
37964 __ARM_EABI__, rather than using the tuple to decide.
37965 * sysdeps/arm/preconfigure: Regenerated.
37966 * sysdeps/unix/sysv/linux/arm/configure: File removed.
37967 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
37968 contents appended ...
37969 * sysdeps/arm/configure.ac: ... here.
37970 * sysdeps/arm/configure: Regenerated.
37971
37972 2014-07-15 Roland McGrath <roland@hack.frob.com>
37973
37974 * nptl/pthread_kill.c: New file.
37975 * nptl/pthread_sigmask.c: New file.
37976 * nptl/pthread_sigqueue.c: New file.
37977
37978 * sysdeps/nptl/lowlevellock.h: New file.
37979 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
37980 * sysdeps/nptl/lowlevellock-futex.h: New file.
37981
37982 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
37983 Remove dead declarations.
37984
37985 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
37986
37987 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
37988 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
37989 config-cflags-avx2.
37990 * sysdeps/x86_64/configure.ac: Likewise.
37991 * sysdeps/i386/configure: Regenerated.
37992 * sysdeps/x86_64/configure: Likewise.
37993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37994 memset-avx2 only if config-cflags-avx2 is yes.
37995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37996 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
37997 defined.
37998 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
37999 only if HAVE_AVX2_SUPPORT is defined.
38000 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38001
38002 2014-07-14 Alan Modra <amodra@gmail.com>
38003
38004 [BZ #17153]
38005 * elf/elf.h (DT_PPC64_NUM): Correct value.
38006 * NEWS: Add to fixed bug list.
38007
38008 2014-07-13 Jim Meyering <meyering@fb.com>
38009
38010 [BZ 17150]
38011 regex: don't deref NULL upon heap allocation failure
38012 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38013 failure in one more place.
38014 To trigger the segfault, configure grep -with-included-regex,
38015 build it, and run these commands:
38016 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38017
38018 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
38019
38020 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38021
38022 2014-07-11 Richard Henderson <rth@redhat.com>
38023
38024 * sysdeps/aarch64/libm-test-ulps: Update.
38025
38026 2014-07-10 Florian Weimer <fweimer@redhat.com>
38027
38028 [BZ #17135]
38029 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38030 * nptl/allocatestack.c (__nptl_setxid_error): New function.
38031 (__nptl_setxid): Initialize error member. Call
38032 __nptl_setxid_error.
38033 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38034 * nptl/descr.h (struct xid_command): Add error member.
38035 * nptl/tst-setuid3.c: New file.
38036 * nptl/Makefile (tests): Add it.
38037
38038 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38039
38040 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38041 New define.
38042 (__lll_trylock): Use __lll_base_trylock.
38043 (__lll_cond_trylock): Likewise.
38044
38045 2014-07-10 Roland McGrath <roland@hack.frob.com>
38046
38047 * nptl/pthread_create.c (start_thread): Use atomic_or and
38048 lll_futex_wake directly rather than lll_robust_dead.
38049 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38050 (lll_robust_dead): Macro removed.
38051 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38052 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38053 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38054 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38055 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38056 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38057 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38058 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38059 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38060 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38061 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38062 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38063 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38064 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38066
38067 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38068 Use atomic_compare_and_exchange_val_acq directly rather than
38069 lll_robust_trylock.
38070 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38071 (__lll_robust_trylock, lll_robust_trylock): Removed.
38072 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38073 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38074 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38075 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38076 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38077 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38078 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38079 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38080 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38081 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38082 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38083 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38084 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38085 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38086
38087 2014-07-02 Florian Weimer <fweimer@redhat.com>
38088
38089 * manual/locale.texi (Locale Names): New section documenting
38090 locale name syntax. Adjust menu and node chaining accordingly.
38091 (Choosing Locale): Reference Locale Names, Locale Categories.
38092 Mention setting LC_ALL=C. Reflect that name syntax is now
38093 documented.
38094 (Locale Categories): New section title. Reference Locale Names.
38095 LC_ALL is an environment variable, but not a category.
38096 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38097 description, now in Locale Name. Reference that section. Locale
38098 name syntax is now documented.
38099
38100 2014-07-02 Florian Weimer <fweimer@redhat.com>
38101
38102 [BZ #17137]
38103 * locale/findlocale.c (name_present, valid_locale_name): New
38104 functions.
38105 (_nl_find_locale): Use the loc_name variable to store name
38106 candidates. Call name_present and valid_locale_name to check and
38107 validate locale names. Return an error if the locale is invalid.
38108
38109 2014-07-02 Florian Weimer <fweimer@redhat.com>
38110
38111 * locale/setlocale.c (setlocale): Use strdup for allocating
38112 composite name copy.
38113
38114 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38115
38116 Sync up with gnulib.
38117 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38118 [!_LIBC && ENABLE_NLS]: Include gettext.h.
38119 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38120 and _GL_ARG_NONNULL.
38121 [USE_UNLOCKED_IO]: Include unlocked-io.h.
38122 [!_LIBC]: Include code for Windows and Cygwin.
38123 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38124 Include prototype for int strerror_r.
38125 [!_LIBC] (is_open): New function.
38126 (flush_stdout): New function.
38127 (print_errno_message): Use it.
38128 (error): Likewise.
38129 (error_at_line): Likewise.
38130 (error_tail) Add function attribute macros. Use
38131 __builtin_expect.
38132
38133 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38134
38135 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38136
38137 * io/ftw.c: Include sys/param.h unconditionally.
38138
38139 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38140
38141 [BZ #17125]
38142 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38143 libc_freeres_ptr.
38144 (freecache): New function to free CACHE on exit.
38145
38146 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38147 initialization.
38148
38149 2014-07-09 David S. Miller <davem@davemloft.net>
38150
38151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38152
38153 * sysdeps/sparc/nptl/internaltypes.h: Delete.
38154 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38155 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38156 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38157 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38158 * sysdeps/sparc/nptl/sem_init.c: Likewise.
38159 * sysdeps/sparc/nptl/sem_post.c: Likewise.
38160 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38161 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38162 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38163 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38164 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38165 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38166
38167 2014-07-09 Andreas Schwab <schwab@suse.de>
38168
38169 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38170 output.
38171 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38172 (do_test): Likewise.
38173
38174 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38175
38176 2014-07-09 Will Newton <will.newton@linaro.org>
38177
38178 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38179 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38180 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38181 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38182 * sysdeps/hppa/start.S (_start): Likewise.
38183
38184 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38185
38186 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38187
38188 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38189 defined.
38190
38191 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38192
38193 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38194 after checking that it is non-NULL.
38195
38196 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38197
38198 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38199
38200 * sysdeps/powerpc/memmove.c: Remove file.
38201 * sysdeps/powerpc/powerpc32/power4/memcopy.h
38202 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38203 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38204 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38205 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38206 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38207 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38208 string memmove instead of removed powerpc one.
38209
38210 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38211 [weak_alias]: Fix compiler warning due trailing data.
38212 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38213 [weak_alias]: Likewise.
38214 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38215 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38216
38217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38218 (__libc_ifunc_impl_list): Add memmove functions.
38219
38220 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38221
38222 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38223 Remove code.
38224 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38225 Likewise.
38226 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38227 Likewise.
38228 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38229 Likewise.
38230 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38231 Likewise.
38232 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38233 Likewise.
38234 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38235 Likewise.
38236 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38237 Likewise.
38238 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38239 Likewise.
38240 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38241 Likewise.
38242 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38243 Likewise.
38244 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38245 Likewise.
38246 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38247 Likewise.
38248 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38249 Likewise.
38250 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38251 Likewise.
38252 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38253 Likewise.
38254 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38255 Likewise.
38256
38257 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38258
38259 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38260 to avoid alignment traps in non-cacheable memory.
38261 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38262
38263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38264 multiarch objects.
38265 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38266 file: multiarch power7 memmove.
38267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38268 multiarch default memmove.
38269 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38270 multiarch memove for powerpc32/power4.
38271
38272 * string/bcopy.c: Use full path to include memmove.c.
38273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38274 multiarch objects.
38275 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38276 bcopy for powerpc64.
38277 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38278 bcopy for powerpc64.
38279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38280 and memmove implementations.
38281 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38282 optimized multiarch memmove for POWER7/powerpc64.
38283 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38284 default multiarch memmove for powerpc64.
38285 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38286 multiarch for powerpc64.
38287 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38288 for POWER7/powerpc64.
38289 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38290 memmove for POWER7/powerpc64.
38291
38292 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38293 glibc default one.
38294
38295 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38296 __ELF_NATIVE_CLASS equal to 64.
38297
38298 2014-07-07 Roland McGrath <roland@hack.frob.com>
38299
38300 * sysdeps/nptl/lowlevellock.h: File removed.
38301
38302 * NEWS: NPTL is no longer an add-on!
38303 * nptl/internaltypes.h: Moved ...
38304 * sysdeps/nptl/internaltypes.h: ... here.
38305 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38306 * sysdeps/nptl/fork.c: Likewise.
38307 * sysdeps/nptl/gai_misc.h: Likewise.
38308 * sysdeps/nptl/librt-cancellation.c: Likewise.
38309 * sysdeps/nptl/jmp-unwind.c: Likewise.
38310 * sysdeps/nptl/setxid.h: Likewise.
38311 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38312 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38313 * sysdeps/unix/sysv/linux/arm/Implies: New file.
38314 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38315 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38316 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38317 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38318 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38319 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38320 * sysdeps/unix/sysv/linux/mips/Implies: New file.
38321 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38322 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38323 * sysdeps/unix/sysv/linux/sh/Implies: New file.
38324 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38325 * sysdeps/unix/sysv/linux/tile/Implies: New file.
38326 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38327 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38328 * nptl/Makeconfig: Moved ...
38329 * sysdeps/nptl/Makeconfig: ... here.
38330 * nptl/configure: File removed.
38331 * nptl/ANNOUNCE: File removed.
38332 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38333 * sysdeps/unix/sysv/linux/configure: Regenerated.
38334
38335 * nptl/Makefile (routines): Add libc_pthread_init,
38336 libc_multiple_threads, register-atfork and unregister-atfork.
38337 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38338 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38339 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38340 pthread-pi-defines.sym, structsem.sym.
38341 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38342 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38343 [$(subdir) = nptl] (tests): Add tst-setgetname.
38344 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38345 * sysdeps/unix/sysv/linux/sigaction.c: Just include
38346 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38347 [!LIBC_SIGACTION]: Remove aliases.
38348 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38349 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38350 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38351 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38352 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38353 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38356 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38357 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38358 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38359 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38360 __libc_allocate_rtsig_private.
38361 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38362 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38363 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38364 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38365 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38366 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38367 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38368 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38369 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38370 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38371 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38372 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38373 * nptl/internaltypes.h: ... here.
38374 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38375 * sysdeps/nptl/jmp-unwind.c: ... here.
38376 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
38377 * nptl/libc-lowlevellock.c: ... here.
38378 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
38379 * nptl/libc_multiple_threads.c: ... here.
38380 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
38381 * nptl/libc_pthread_init.c: ... here.
38382 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
38383 * nptl/lowlevelbarrier.sym: ... here.
38384 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
38385 * nptl/lowlevelcond.sym: ... here.
38386 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
38387 * nptl/lowlevellock.c: ... here.
38388 * nptl/lowlevellock.h: Moved ...
38389 * sysdeps/nptl/lowlevellock.h: ... here.
38390 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
38391 * nptl/lowlevelrobustlock.c: ... here.
38392 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
38393 * nptl/lowlevelrobustlock.sym: ... here.
38394 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
38395 * nptl/lowlevelrwlock.sym: ... here.
38396 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
38397 * nptl/pt-fork.c: ... here.
38398 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
38399 * nptl/pthread-pi-defines.sym: ... here.
38400 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
38401 * nptl/pthread_attr_getaffinity.c: ... here.
38402 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
38403 * nptl/pthread_attr_setaffinity.c: ... here.
38404 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
38405 * nptl/pthread_mutex_cond_lock.c: ... here.
38406 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38407 Update #include.
38408 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
38409 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
38410 * nptl/pthread_once.c: ... here, replacing old file.
38411 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
38412 * nptl/pthread_yield.c: ... here.
38413 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
38414 * nptl/register-atfork.c: ... here.
38415 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
38416 * nptl/sem_post.c: ... here.
38417 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
38418 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
38419 * nptl/sem_timedwait.c: ... here.
38420 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
38421 * nptl/sem_trywait.c: ... here.
38422 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
38423 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
38424 * nptl/sem_wait.c: ... here.
38425 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
38426 * nptl/structsem.sym: ... here.
38427 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
38428 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
38429 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
38430 * nptl/unregister-atfork.c: ... here.
38431 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
38432 * nptl/unwindbuf.sym: ... here.
38433 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
38434 * sysdeps/nptl/fork.c: ... here.
38435 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
38436 * sysdeps/nptl/fork.h: ... here.
38437 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
38438 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
38439 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
38440 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
38441 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
38442 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
38443 * sysdeps/unix/sysv/linux/getpid.c: ... here.
38444 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
38445 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
38446 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
38447 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
38448 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
38449 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
38450 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
38451 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
38452 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
38453 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
38454 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
38455 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
38456 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
38457 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
38458 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
38459 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
38460 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
38461 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
38462 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
38463 * sysdeps/unix/sysv/linux/raise.c: ... here.
38464 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
38465 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
38466 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
38467 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
38468 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
38469 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
38470 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
38471 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
38472 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
38473 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
38474 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
38475 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
38476 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
38477 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
38478 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
38479
38480 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38481
38482 * sysdeps/generic/memcopy.h: Add comment for
38483 MEMCPY_OK_FOR_FWD_MEMMOVE.
38484
38485 2014-07-04 Will Newton <will.newton@linaro.org>
38486
38487 * string/memchr.c: Merge from gnulib.
38488 [_LIBC]: Remove conditionals.
38489 (__ptr_t): Remove define.
38490 (LONG_MAX_32_BITS): Likewise.
38491 (LONG_MAX): Likewise.
38492 (MEMCHR): Use ANSI prototype and optimize algorithm.
38493
38494 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
38495
38496 2014-07-03 Roland McGrath <roland@hack.frob.com>
38497
38498 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
38499 (lll_futex_timed_wait_bitset): Fix syscall argument count.
38500
38501 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
38502 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
38503 in a bare environment with no <stdlib.h> installed.
38504 * sysdeps/nptl/configure: Regenerated.
38505
38506 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
38507
38508 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
38509 AC_EGREP_CPP for kernel header checks, so they only succeed if
38510 including <linux/version.h> actually works right.
38511 * sysdeps/unix/sysv/linux/configure: Regenerated.
38512
38513 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
38514 value so it's not diagnosed as unused.
38515
38516 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
38517 thing) with "ifeq ($(subdir),rt)".
38518
38519 2014-07-03 Richard Henderson <rth@redhat.com>
38520
38521 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
38522 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
38523 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
38524
38525 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
38526 (math_force_eval): New.
38527
38528 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
38529 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
38530
38531 * sysdeps/alpha/fpu/s_round.c: Remove file.
38532 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
38533
38534 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
38535 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
38536 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
38537 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
38538 (_dl_start, print_statistics): Likewise.
38539 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
38540 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
38541
38542 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38543 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38544 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38545 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38547 (HP_SMALL_TIMING_AVAIL): Define.
38548 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38550 (HP_SMALL_TIMING_AVAIL): Define.
38551 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38552 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38553
38554 * sysdeps/aarch64/hp-timing.h: New file.
38555
38556 * sysdeps/generic/hp-timing.h: Remove dead comment.
38557 * sysdeps/generic/hp-timing-common.h: New file.
38558 * sysdeps/alpha/hp-timing.h: Include it.
38559 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
38560 * sysdeps/i386/i686/hp-timing.h: Likewise.
38561 * sysdeps/ia64/hp-timing.h: Likewise.
38562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38563 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38564 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38565 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38566 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
38567 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
38568 (hp_timing_t): New.
38569
38570 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
38571 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
38572 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
38573 * elf/rtld.c (_dl_start_final): Likewise.
38574 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
38575 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38576 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38577 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38578 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38580 (HP_TIMING_DIFF_INIT): Remove.
38581 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38582 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38583 (HP_TIMING_DIFF_INIT): Remove.
38584 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38585 * sysdeps/i386/i686/hp-timing.c: Remove file.
38586 * sysdeps/x86_64/hp-timing.c: Remove file.
38587 * sysdeps/ia64/hp-timing.c: Remove file.
38588 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
38589 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
38590 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
38591 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
38592
38593 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
38594 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
38595 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
38596 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38598 (HP_TIMING_ACCUM): Remove.
38599 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38600 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
38601 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38602
38603 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
38604 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
38605 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
38606 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
38607 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
38608 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38609 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
38610 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38611
38612 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
38613
38614 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
38615
38616 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
38617
38618 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38619
38620 Sync up with gettext.
38621 * intl/loadmsgcat.c: Define O_BINARY if not defined.
38622 [_MSC_VER]: Include malloc.h
38623 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
38624 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
38625 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
38626 TEMP_FAILURE_RETRY. Cast return of alloca.
38627 [!_LIBC] Call gl_rwlock_init.
38628 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
38629
38630 2014-07-02 Roland McGrath <roland@hack.frob.com>
38631
38632 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
38633 before checking its value.
38634
38635 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38636
38637 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
38638
38639 * debug/memcpy_chk.c: Don't include pagecopy.h.
38640 * debug/mempcpy_chk.c: Likewise.
38641 * string/memcpy.c: Likewise.
38642 * string/memmove.c: Likewise.
38643 * sysdeps/powerpc/memmove.c: Likewise.
38644 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
38645 definition of PAGE_COPY_FWD_MAYBE here...
38646 * sysdeps/generic/pagecopy.h: ... from here.
38647 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
38648
38649 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
38650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38651
38652 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
38653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
38654 optimizations.
38655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38656 (__libc_ifunc_impl_list): Likewise.
38657 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
38658 multiarch strcat for PPC64.
38659 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
38660 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
38661
38662 2014-07-02 Roland McGrath <roland@hack.frob.com>
38663
38664 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
38665
38666 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38667
38668 * intl/loadmsgcat.c: Remove declaration of
38669 get_sysdep_segment_value.
38670 (get_sysdep_segment_value): Use ISO C style.
38671 (_nl_load_domain): Use ISO C style. Get rid of redundant
38672 semicolon. Fix typo and formatting in comment.
38673 (_nl_unload_domain): Use ISO C style.
38674
38675 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
38676
38677 2014-07-02 Will Newton <will.newton@linaro.org>
38678
38679 * malloc/obstack.c: Merge from gnulib master.
38680 [HAVE_CONFIG_H]: Remove conditional code.
38681 [!_LIBC]: Include config.h.
38682 [!ELIDE_CODE]: Don't include inttypes.h, include
38683 stdint.h unconditionally.
38684 (print_and_abort): Mark as _Noreturn.
38685 (_obstack_allocated_p): Mark as __attribute_pure__.
38686 (obstack_free): Rename to __obstack_free.
38687 [!__attribute__]: Remove conditional code.
38688 * malloc/obstack.h: Merge from gnulib master.
38689 [__cplusplus]: Move conditional down.
38690 [!__attribute_pure__]: Define __attribute_pure__ here
38691 if it is not already defined.
38692 (_obstack_memory_used): Mark as __attribute_pure__.
38693 [!__obstack_free]: Define as obstack_free.
38694 [__GNUC__]: Remove check for ancient NeXT gcc.
38695
38696 2014-07-02 Will Newton <will.newton@linaro.org>
38697 Paul Eggert <eggert@cs.ucla.edu>
38698
38699 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
38700
38701 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38702
38703 * resolv/gethnamaddr.c: Add comment warning that the file is
38704 not maintained.
38705
38706 2014-07-01 Carlos O'Donell <carlos@redhat.com>
38707
38708 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
38709 entries.
38710
38711 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
38712 entry for aio_cancel and aio_cancel64.
38713 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
38714 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
38715 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
38716 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
38717 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
38718 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
38719 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
38720 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
38721 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
38722 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
38723 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
38724 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
38725 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
38726
38727 2014-07-01 Roland McGrath <roland@hack.frob.com>
38728
38729 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
38730 * nptl/pthread_mutex_lock.c: Likewise.
38731 * nptl/pthread_mutex_timedlock.c: Likewise.
38732 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
38733
38734 2014-07-01 Richard henderson <rth@redhat.com>
38735
38736 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
38737 (__isnan, __isnanl): Remove.
38738 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
38739
38740 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38741
38742 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
38743
38744 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38745
38746 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38747
38748 * resolv/nss_dns/dns-host.c (getanswer_r)
38749 [MULTI_PTRS_ARE_ALIASES]: Remove code.
38750
38751 2014-07-01 Joseph Myers <joseph@codesourcery.com>
38752
38753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38754 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
38755 undefine.
38756 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
38757 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
38758
38759 2014-07-01 Roland McGrath <roland@hack.frob.com>
38760
38761 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
38762 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
38763
38764 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
38765 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
38766
38767 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
38768 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
38769 ... here.
38770 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
38771 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
38772
38773 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
38774 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
38775 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
38776 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
38777
38778 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
38779 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
38780 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
38781 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
38782 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
38783 Moved ...
38784 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
38785 ... here.
38786 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
38787 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
38788 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
38789 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
38790 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
38791 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
38792 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
38793 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
38794 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
38795 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
38796 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
38797 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
38798 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
38799 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
38800 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
38801 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
38802 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
38803 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
38804 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
38805 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
38806 ... here.
38807 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
38808 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
38809 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
38810 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
38811 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
38812 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
38813 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
38814 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
38815
38816 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
38817
38818 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
38819 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
38820 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
38821 Add sysdep.
38822
38823 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38824
38825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38826
38827 2014-06-30 Joseph Myers <joseph@codesourcery.com>
38828
38829 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
38830 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38831
38832 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38833
38834 * sysdeps/arm/libm-test-ulps: Regenerated.
38835
38836 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
38837 Roland McGrath <roland@hack.frob.com>
38838
38839 * test-skeleton.c (signal_handler): Kill the whole process group
38840 before killing the child individually.
38841 (main): Report any failure on `setpgid'.
38842
38843 2014-06-30 Roland McGrath <roland@hack.frob.com>
38844
38845 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
38846 from _TLS_H to _ARM_NPTL_TLS_H.
38847 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
38848 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
38849
38850 2014-06-30 Joseph Myers <joseph@codesourcery.com>
38851
38852 [BZ #16539]
38853 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
38854 (__expm1l): Return argument unchanged when small but not
38855 subnormal.
38856
38857 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
38858 include macro name.
38859 (_FP_UNPACK_RAW_1_P): Likewise.
38860 (_FP_PACK_RAW_1): Likewise.
38861 (_FP_PACK_RAW_1_P): Likewise.
38862 (_FP_MUL_MEAT_1_wide): Likewise.
38863 (_FP_MUL_MEAT_DW_1_hard): Likewise.
38864 (_FP_MUL_MEAT_1_hard): Likewise.
38865 (_FP_DIV_MEAT_1_imm): Likewise.
38866 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
38867 (_FP_DIV_MEAT_1_udiv): Likewise.
38868 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
38869 (_FP_UNPACK_RAW_2): Likewise.
38870 (_FP_UNPACK_RAW_2_P): Likewise.
38871 (_FP_PACK_RAW_2): Likewise.
38872 (_FP_PACK_RAW_2_P): Likewise.
38873 (_FP_MUL_MEAT_DW_2_wide): Likewise.
38874 (_FP_MUL_MEAT_2_wide): Likewise.
38875 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
38876 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38877 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
38878 (_FP_MUL_MEAT_2_gmp): Likewise.
38879 (_FP_DIV_MEAT_2_udiv): Likewise.
38880 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
38881 (_FP_FRAC_SRL_4): Likewise.
38882 (_FP_FRAC_SRST_4): Likewise.
38883 (_FP_FRAC_SRS_4): Likewise.
38884 (_FP_UNPACK_RAW_4): Likewise.
38885 (_FP_UNPACK_RAW_4_P): Likewise.
38886 (_FP_PACK_RAW_4): Likewise.
38887 (_FP_PACK_RAW_4_P): Likewise.
38888 (_FP_MUL_MEAT_DW_4_wide): Likewise.
38889 (_FP_MUL_MEAT_4_wide): Likewise.
38890 (_FP_MUL_MEAT_4_gmp): Likewise.
38891 (umul_ppppmnnn): Likewise.
38892 (_FP_DIV_MEAT_4_udiv): Likewise.
38893 (__FP_FRAC_ADD_4): Likewise.
38894 (__FP_FRAC_SUB_3): Likewise.
38895 (__FP_FRAC_SUB_4): Likewise.
38896 (__FP_FRAC_DEC_3): Likewise.
38897 (__FP_FRAC_DEC_4): Likewise.
38898 (__FP_FRAC_ADDI_4): Likewise.
38899 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
38900 (_FP_FRAC_SRL_8): Likewise.
38901 (_FP_FRAC_SRS_8): Likewise.
38902
38903 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
38904 include macro name.
38905 (FP_UNPACK_RAW_EP): Likewise.
38906 (FP_PACK_RAW_E): Likewise.
38907 (FP_PACK_RAW_EP): Likewise.
38908 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
38909 (_FP_ISSIGNAN): Likewise.
38910 (_FP_ADD_INTERNAL): Likewise.
38911 (_FP_FMA): Likewise.
38912 (_FP_CMP): Likewise.
38913 (_FP_SQRT): Likewise.
38914 (_FP_TO_INT): Likewise.
38915 (_FP_FROM_INT): Likewise.
38916 (FP_EXTEND): Likewise.
38917 (_FP_DIV_MEAT_N_loop): Likewise.
38918
38919 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
38920
38921 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
38922 throughout.
38923
38924 2014-06-29 Joseph Myers <joseph@codesourcery.com>
38925
38926 [BZ #17097]
38927 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
38928 result with correct sign in case of exponents that produce
38929 overflow except for X very close to 1.
38930
38931 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
38932
38933 mktime: merge #if/#ifdef usage from glibc
38934 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
38935 as that works with both Glibc's and Gnulib's style.
38936 See thread starting at Siddhesh Poyarekar's bug report at:
38937 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
38938
38939 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38940
38941 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
38942 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
38943 * sysdeps/tile/tilegx/memmove.c: Remove file.
38944
38945 2014-06-27 Joseph Myers <joseph@codesourcery.com>
38946
38947 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
38948 abi-name definition.
38949 * scripts/soversions.awk: Do not handle or generate ABI lines.
38950 * shlib-versions: Remove ABI entries.
38951 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
38952 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
38953
38954 2014-06-27 Roland McGrath <roland@hack.frob.com>
38955
38956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
38957 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
38958 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
38959 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
38960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
38961 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
38962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
38963 Moved ...
38964 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
38965 ... here.
38966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
38967 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
38968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
38969 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
38970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
38971 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
38972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
38973 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
38974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
38975 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
38976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
38977 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
38978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
38979 Moved ...
38980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
38981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
38982 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
38983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
38984 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
38985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
38986 Moved ...
38987 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
38988 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
38989 Moved ...
38990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
38991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
38992 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
38993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
38994 Moved ...
38995 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
38996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
38997 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
38998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
38999 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39001 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39003 Moved ...
39004 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39006 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39007 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39008 Moved ...
39009 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39010 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39011 Moved ...
39012 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39014 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39016 Moved ...
39017 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39018 ... here.
39019 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39020 Identical file removed.
39021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39022 Moved ...
39023 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39025 Identical file removed.
39026 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39027 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39028 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39029 Moved ...
39030 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39031 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39032 Identical file removed.
39033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39034 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39036 Identical file removed.
39037 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39038 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39040 Identical file removed.
39041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39042 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39044 Identical file removed.
39045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39046 Moved ...
39047 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39049 Identical file removed.
39050 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39051 Moved ...
39052 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39054 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39055 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39056 Identical file removed.
39057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39058 Moved ...
39059 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39060 ... here.
39061 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39062 Identical file removed.
39063 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39064 Moved ...
39065 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39066 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39067 Identical file removed.
39068 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39069 Moved ...
39070 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39072 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39074 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39075 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39076 Moved ...
39077 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39078 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39079 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39080
39081 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39082 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39083 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39084 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39085 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39086
39087 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
39088
39089 [BZ #17092]
39090 * nscd/nscd.c (monitor_child): Return exit status of child
39091 instead of return value from wait syscall.
39092
39093 2014-06-27 Joseph Myers <joseph@codesourcery.com>
39094
39095 * configure.ac (libc_commonpagesize): Remove variable.
39096 (libc_relro_required): Likewise.
39097 (libc_cv_z_relro): Remove configure test.
39098 * configure: Regenerated.
39099 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39100 variable.
39101 (libc_relro_required): Likewise.
39102 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39103 (libc_relro_required): Likewise.
39104 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39105 (libc_relro_required): Likewise.
39106 * sysdeps/arm/preconfigure: Regenerated.
39107 * sysdeps/ia64/preconfigure: Remove file.
39108 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39109 variable.
39110 (libc_relro_required): Likewise.
39111
39112 [BZ #16561]
39113 [BZ #16562]
39114 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39115 (__ieee754_yn): Set FE_TONEAREST mode internally and then
39116 recompute overflowing results in original rounding mode.
39117 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39118 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39119 recompute overflowing results in original rounding mode.
39120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39121 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39122 recompute overflowing results in original rounding mode.
39123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39124 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39125 recompute overflowing results in original rounding mode.
39126 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39127 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39128 recompute overflowing results in original rounding mode.
39129 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39130 (libc_feholdsetround_ctx): New macro.
39131 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39132 * sysdeps/i386/fpu/libm-test-ulps: Update.
39133 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39134
39135 2014-06-26 Joseph Myers <joseph@codesourcery.com>
39136
39137 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39138 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39139 corresponding .cpsetup call.
39140
39141 2014-06-26 Roland McGrath <roland@hack.frob.com>
39142
39143 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39144 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39145 * sysdeps/arm/Makefile [$(subdir) = csu]
39146 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39147 (static-only-routines): Add aeabi_read_tp here.
39148 (shared-only-routines): Add libc-aeabi_read_tp here.
39149 (CFLAGS-libc-start.c): Add -fexceptions here.
39150 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39151 (sysdep_routines, static-only-routines, shared-only-routines):
39152 Don't add to these here.
39153 (CFLAGS-libc-start.c): Likewise.
39154
39155 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39156 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39157 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39158 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39159 * sysdeps/arm/Makefile [$(subdir) = rt]
39160 (librt-sysdep_routines, librt-shared-only-routines):
39161 Append rt-aeabi_unwind_cpp_pr1 here.
39162 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39163 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39164 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39165 (libpthread-sysdep_routines, libpthread-shared-only-routines):
39166 Append nptl-aeabi_unwind_cpp_pr1 here.
39167 (tests): Filter out tst-cleanupx4 here.
39168 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39169 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39170 Don't do those here.
39171
39172 2014-06-26 Joseph Myers <joseph@codesourcery.com>
39173
39174 * scripts/list-sources.sh: Do not handle ports specially.
39175
39176 2014-06-26 Roland McGrath <roland@hack.frob.com>
39177
39178 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39179 * sysdeps/arm/feupdateenv.c: Likewise.
39180
39181 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39182
39183 2014-06-26 Joseph Myers <joseph@codesourcery.com>
39184
39185 * manual/texinfo.tex: Update to version 2014-05-05.10 with
39186 trailing whitespace removed.
39187 * scripts/config.guess: Update to version 2014-03-23.
39188 * scripts/config.sub: Update to version 2014-05-01
39189 * scripts/install-sh: Update to version 2013-12-25.23.
39190 * scripts/move-if-change: Update from gnulib.
39191
39192 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39193
39194 * debug/memmove_chk.c: Remove pagecopy.h include.
39195
39196 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
39197
39198 * time/mktime.c (leapyear): Remove inline keyword. The code is now
39199 identical to gnulib mktime.
39200
39201 2014-06-26 Joseph Myers <joseph@codesourcery.com>
39202
39203 * configure.ac: Do not test for machine being rs6000. Do not test
39204 for powerpc*-*soft.
39205 * configure: Regenerated.
39206
39207 [BZ #11505]
39208 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39209 test.
39210 * configure: Regenerated.
39211 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39212 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39213 Remove configure test.
39214 * sysdeps/arm/configure: Regenerated.
39215 * sysdeps/nptl/configure.ac: Do not check
39216 libc_cv_asm_cfi_directives.
39217 * sysdeps/nptl/configure: Regenerated.
39218 * sysdeps/x86_64/nptl/configure.ac: Remove file.
39219 * sysdeps/x86_64/nptl/configure: Remove generated file.
39220 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39221 unconditional.
39222 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39223
39224 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39225
39226 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39227 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39228 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39229 it is defined.
39230
39231 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39232 instead of whether it is defined.
39233 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39234 * sysdeps/hppa/dl-machine.h: Likewise.
39235 * sysdeps/ia64/dl-machine.h: Likewise.
39236 * sysdeps/m68k/dl-machine.h: Likewise.
39237 * sysdeps/microblaze/dl-machine.h: Likewise.
39238 * sysdeps/mips/dl-machine.: Likewise.
39239 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39240 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39241 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39242 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39243 * sysdeps/sh/dl-machine.h: Likewise.
39244 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39245 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39246 * sysdeps/tile/dl-machine.h: Likewise.
39247 * sysdeps/x86_64/dl-machine.h: Likewise.
39248
39249 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39250 code.
39251 (verify_persistent_db): Likewise.
39252
39253 2014-06-26 Roland McGrath <roland@hack.frob.com>
39254
39255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39256 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39258 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39260 Moved ...
39261 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39262 ... here.
39263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39264 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39266 Identical file removed.
39267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39270 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39272 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39274 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39276 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39278 Moved ...
39279 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39281 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39283 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39285 Moved ...
39286 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39288 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39290 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39292 Identical file removed.
39293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39294 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39296 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39298 Moved ...
39299 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39300 ... here.
39301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39302 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39304 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39306 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39308 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39310 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39312 Moved ...
39313 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39315 Moved ...
39316 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39318 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39320 Moved ...
39321 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39323 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39324
39325 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39326 folded into ...
39327 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39328 * sysdeps/unix/sysv/linux/s390/Versions
39329 (libpthread: GLIBC_2.19): New version set.
39330 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39331 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39332 (librt: GLIBC_2.3.3): New version set.
39333 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39334 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39335 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39336 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39337 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39338 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39339 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39340 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39341 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39342 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39343 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39344 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39345 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39346 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39347 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39348 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39349 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39350 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39351 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39352 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39353 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39354 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39355 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39356 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39357 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39358 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39359 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39360 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39361 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39362 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39363 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39364 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39365 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39366 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39367 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39368 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39369 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39371 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39373 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39375 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
39376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
39377 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
39378
39379 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
39380 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
39381 (__libc_vfork): Define the function under this name.
39382 [!NOT_IN_libc] (__vfork): Make this an alias.
39383 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
39385 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
39386 (__libc_vfork): Define the function under this name.
39387 [!NOT_IN_libc] (__vfork): Make this an alias.
39388 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39389 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
39390 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
39391 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
39392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
39393 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39394
39395 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
39396 code that was previously under [RESET_PID].
39397 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
39398 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
39399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
39400
39401 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
39402 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
39403 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
39404 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
39405 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
39406 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
39407 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
39408 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
39409 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
39410 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
39411 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
39412 Moved ...
39413 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
39414 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39415 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
39416 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
39417 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
39418 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
39419 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
39420 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
39421 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
39422 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
39423 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
39424 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
39425 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
39426 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
39427 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
39428 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
39429 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
39430 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39431 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
39432 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
39433 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
39434 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
39435 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
39436 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
39437 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
39438 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
39439 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
39440 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
39441 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
39442
39443 2014-06-25 Roland McGrath <roland@hack.frob.com>
39444
39445 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
39446 that was previously under [RESET_PID].
39447 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
39448
39449 2014-06-25 Joseph Myers <joseph@codesourcery.com>
39450
39451 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
39452 not undefine and redefine.
39453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
39454 [O_CLOEXEC]: Make code unconditional.
39455 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
39456 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
39457 <kernel-features.h>.
39458 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
39459 conditional variable definition.
39460 (shm_open) [O_CLOEXEC]: Make code unconditional.
39461 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
39462 code.
39463
39464 * configure.ac (USE_REGPARMS): Don't define here.
39465 * configure: Regenerated.
39466 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
39467 * sysdeps/i386/configure: Regenerated.
39468
39469 * nptl/createthread.c: Don't include kernel-features.h.
39470 * nptl/pthread_cancel.c: Likewise.
39471 * nptl/pthread_condattr_setclock.c: Likewise.
39472 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
39473 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
39474 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
39475 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
39476 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
39477 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
39478 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
39480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39481 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
39482 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
39483 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
39484 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
39485 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
39486 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
39487 * nscd/gai.c: Likewise.
39488 * nss/nss_db/db-open.c: Likewise.
39489 * sysdeps/generic/ldsodefs.h: Likewise.
39490 * sysdeps/sh/nptl/tls.h: Likewise.
39491 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39492 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
39493 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
39494 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
39495 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
39496 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39497 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
39498 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39500 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
39501 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
39502 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39503 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
39504 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
39505 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
39506 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
39507 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
39508 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
39509 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
39510 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
39511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
39512 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
39513 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
39514 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
39515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
39516 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
39517 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
39518 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
39519 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39520 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
39521 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
39522 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
39523 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
39524 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39525 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39526 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39527 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39528 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
39529 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
39530 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
39531 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39532 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
39533 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
39534 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39535 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
39536 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
39537 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
39538 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
39539 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
39540 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
39541 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
39542 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
39543 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
39544 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39545 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
39546 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39548 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
39551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
39552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
39554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
39555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
39556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
39557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
39560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
39561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
39562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
39563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
39569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
39570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
39571 * sysdeps/unix/sysv/linux/pread.c: Likewise.
39572 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
39573 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
39574 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
39575 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
39576 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
39577 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
39578 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
39579 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
39580 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
39581 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
39582 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
39583 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
39584 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
39585 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
39586 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
39587 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39588 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
39589 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
39590 * sysdeps/unix/sysv/linux/system.c: Likewise.
39591 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
39592 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
39593 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39594 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39595 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39596 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39597 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39598
39599 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
39600 * configure: Regenerated.
39601 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
39602
39603 * configure.ac (base_machine): Do not set specially for particular
39604 machines here.
39605 * configure: Regenerated.
39606 * sysdeps/powerpc/preconfigure: Move machine and base_machine
39607 settings from configure.ac.
39608 * sysdeps/i386/preconfigure: New file.
39609 * sysdeps/s390/preconfigure: Likewise.
39610 * sysdeps/sh/preconfigure: Likewise.
39611 * sysdeps/sparc/preconfigure: Likewise.
39612
39613 2014-06-25 Roland McGrath <roland@hack.frob.com>
39614
39615 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
39616 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
39617 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
39618 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
39619 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
39620 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
39621 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
39622 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
39623 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
39624 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
39625 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
39626 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
39627 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
39628 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
39629 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
39630 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
39631 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
39632 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
39633 * sysdeps/sparc/sparc64/Makefile: ... appended here.
39634
39635 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
39636 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
39637 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
39638 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
39639 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
39640 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
39641 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
39642 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
39643 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
39644 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
39645 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
39646 * sysdeps/sparc/sparc32/sem_post.c: ... here.
39647 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
39648 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
39649 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
39650 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
39651 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
39652 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
39653 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
39654 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
39655 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
39656 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
39657 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
39658 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
39659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
39660 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
39661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
39662 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
39663 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
39664 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
39665 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
39666 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
39667 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
39668 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
39669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
39670 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
39671 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
39672 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
39673
39674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
39675 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
39676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
39677 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
39678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39679 Moved ...
39680 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
39681 ... here.
39682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
39683 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
39684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
39685 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
39686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
39687 Moved ...
39688 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
39689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
39690 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
39691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
39692 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
39693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
39694 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
39695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39696 Moved ...
39697 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
39698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39699 Moved ...
39700 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
39701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
39702 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
39703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39704 Moved ...
39705 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
39706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
39707 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
39708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
39709 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
39710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
39711 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
39712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
39713 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
39714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39715 Moved ...
39716 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
39717 ... here.
39718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
39719 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
39720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
39721 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
39722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
39723 Moved ...
39724 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
39725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
39726 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
39727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
39728 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
39729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
39730 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
39731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39732 Moved ...
39733 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
39734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39735 Moved ...
39736 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
39737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
39738 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
39739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39740 Moved ...
39741 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
39742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
39743 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
39744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
39745 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
39746
39747 2014-06-25 Joseph Myers <joseph@codesourcery.com>
39748
39749 * timezone/checktab.awk: Update from tzcode 2014e.
39750 * timezone/private.h: Likewise.
39751 * timezone/tzfile.h: Likewise.
39752 * timezone/zdump.c: Likewise.
39753 * timezone/zic.c: Likewise.
39754
39755 * sysdeps/unix/sysv/linux/kernel-features.h
39756 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
39757 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
39758 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
39759 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39760 Remove conditional code.
39761
39762 2014-06-25 Will Newton <will.newton@linaro.org>
39763
39764 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
39765 (_dl_arm_cap_flags): Add HWCAP2 values.
39766 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
39767 (_DL_HWCAP_COUNT): Increase to 37.
39768 (_DL_HWCAP_LAST): New define.
39769 (_DL_HWCAP2_LAST): New define.
39770 (_dl_procinfo): Add support for printing
39771 AT_HWCAP2 entries.
39772 (_dl_string_hwcap): Use _dl_hwcap_string.
39773
39774 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39775
39776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39777
39778 2014-06-25 Joseph Myers <joseph@codesourcery.com>
39779
39780 * README: Do not mention ports directory.
39781
39782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
39783 Remove macro.
39784 * sysdeps/unix/sysv/linux/futimes.c: Do not include
39785 <kernel-features.h>.
39786 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
39787 conditional variable definition.
39788 (__futimes): Update comment.
39789 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
39790 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
39791
39792 [BZ #16560]
39793 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
39794 arguments close to 0.
39795 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
39796 Likewise.
39797 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
39798 Likewise.
39799 * math/auto-libm-test-in: Add more tests of exp10.
39800 * math/auto-libm-test-out: Regenerated.
39801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39802
39803 * sysdeps/unix/sysv/linux/kernel-features.h
39804 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
39805 * sysdeps/unix/sysv/linux/readv.c: Do not include
39806 <kernel-features.h>.
39807 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39808 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39809 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39810 unconditional.
39811 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39812 conditional code.
39813 * sysdeps/unix/sysv/linux/writev.c: Do not include
39814 <kernel-features.h>.
39815 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39816 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39817 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39818 unconditional.
39819 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39820 conditional code.
39821
39822 2014-06-25 Will Newton <will.newton@linaro.org>
39823
39824 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
39825 comment changes throughout the file. Remove checks
39826 for HAVE_*_H definitions that are not required.
39827 (__gen_tempname): Call abort if an unknown kind value is
39828 passed.
39829
39830 2014-06-25 Andreas Schwab <schwab@suse.de>
39831
39832 [BZ #17086]
39833 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
39834 scalbln, scalblnf, scalblnl in libc.
39835
39836 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39837
39838 [BZ #17086]
39839 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
39840 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39841 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39842
39843 2014-06-24 Roland McGrath <roland@hack.frob.com>
39844
39845 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
39846 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
39847 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
39848 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
39849 Update #include.
39850 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
39851 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
39852 Update #include.
39853 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
39854 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
39855 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
39856 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
39857 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
39858 * sysdeps/x86/bits/pthreadtypes.h: ... here.
39859 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
39860 * sysdeps/x86/bits/semaphore.h: ... here.
39861 * sysdeps/x86/nptl/elide.h: Moved ...
39862 * sysdeps/x86/elide.h: ... here.
39863 * sysdeps/x86_64/nptl/Implies: File removed.
39864 * sysdeps/i386/nptl/Implies: File removed.
39865
39866 2014-06-24 Joseph Myers <joseph@codesourcery.com>
39867
39868 [BZ #16539]
39869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
39870 return the argument for normal arguments with exponent below -64.
39871 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39872 Likewise.
39873 * math/auto-libm-test-in: Add another test of expm1.
39874 * math/auto-libm-test-out: Regenerated.
39875
39876 [BZ #16287]
39877 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
39878 calling __erfcl for arguments at least 16.
39879 * math/auto-libm-test-in: Add more tests of erf.
39880 * math/auto-libm-test-out: Regenerated.
39881
39882 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
39883 individual architectures.
39884 * sysdeps/unix/sysv/linux/configure: Regenerated.
39885 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
39886 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
39887 * sysdeps/unix/sysv/linux/powerpc/configure.ac
39888 (ldd_rewrite_script): Define variable.
39889 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
39891 file.
39892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
39893 generated file.
39894 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
39895 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
39896 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
39897 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
39898 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
39899 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
39900 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
39901 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
39902
39903 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39904
39905 [BZ #17084]
39906 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
39907 Rename member __data.d to __data.__elision_data.
39908
39909 2014-06-24 Wilco <wdijkstr@arm.com>
39910
39911 * NEWS: Add 16918 to fixed bug list.
39912
39913 2014-06-24 Wilco <wdijkstr@arm.com>
39914
39915 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
39916
39917 2014-06-24 Wilco <wdijkstr@arm.com>
39918
39919 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
39920 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
39921 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
39922 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
39923 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
39924 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
39925 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
39926 Use _FPU_MASK_RM.
39927
39928 2014-06-24 Wilco <wdijkstr@arm.com>
39929
39930 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
39931
39932 2014-06-24 Wilco <wdijkstr@arm.com>
39933
39934 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
39935 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
39936 * sysdeps/arm/fesetround.c (fesetround): Remove space.
39937 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
39938
39939 2014-06-24 Wilco <wdijkstr@arm.com>
39940
39941 [BZ #16918]
39942 * sysdeps/arm/feupdateenv.c (feupdateenv):
39943 Rewrite to reduce FPSCR accesses and fix return value.
39944
39945 2014-06-24 Wilco <wdijkstr@arm.com>
39946
39947 * sysdeps/arm/fclrexcpt.c (feclearexcept):
39948 Optimize to avoid unnecessary FPSCR writes.
39949 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
39950 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
39951 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
39952 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
39953
39954 2014-06-24 Wilco <wdijkstr@arm.com>
39955
39956 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
39957 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
39958 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
39959 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
39960 Call libc_fetestexcept_vfp.
39961 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
39962 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
39963 __SOFTFP__ ifdef so that they can be built for softfp.
39964
39965 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39966
39967 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
39968 argument type signed char.
39969
39970 * Makerules (check-abi): Dump diff of symlist if the test
39971 fails.
39972
39973 2014-06-23 Roland McGrath <roland@hack.frob.com>
39974
39975 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
39976 using abort.
39977
39978 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39979 Remove unused variable ST.
39980
39981 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39982
39983 [BZ #16354]
39984 [BZ #17061]
39985 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
39986 small arguments before calling __expm1.
39987 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
39988 small arguments before calling __expm1f.
39989 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
39990 small arguments before calling __expm1l.
39991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39992 Likewise.
39993 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39994 * math/auto-libm-test-in: Add more cosh tests. Do not allow
39995 spurious underflow for some cosh tests.
39996 * math/auto-libm-test-out: Regenerated.
39997 * sysdeps/i386/fpu/libm-test-ulps: Update.
39998
39999 [BZ #17050]
40000 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40001 (__ieee754_y1): Set errno if return value overflows.
40002 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40003 (__ieee754_y1f): Set errno if return value overflows.
40004 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40005 (__ieee754_y1l): Set errno if return value overflows.
40006 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40007 (__ieee754_y1l): Set errno if return value overflows.
40008 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40009 * math/auto-libm-test-out: Regenerated.
40010
40011 * math/gen-auto-libm-tests.c: Document use of
40012 ignore-zero-inf-sign.
40013 (input_flag_type): Add value flag_ignore_zero_inf_sign.
40014 (input_flags): Add ignore-zero-inf-sign.
40015 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40016 * math/gen-libm-test.pl (generate_testfile): Handle
40017 ignore-zero-inf-sign.
40018 * math/auto-libm-test-in: Mark some cpow tests with
40019 ignore-zero-inf-sign and some with xfail-rounding.
40020 * math/auto-libm-test-out: Regenerated.
40021 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40022 * sysdeps/i386/fpu/libm-test-ulps: Update.
40023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40024
40025 [BZ #16315]
40026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40027 overflowing or underflowing operations take place with sign of
40028 result.
40029 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40030 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40031 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40032 (__ieee754_pow): Recompute overflowing and underflowing results in
40033 original rounding mode.
40034 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40035 (__powl_helper): Allow negative argument X and scale negated value
40036 as needed. Avoid passing value outside [-1, 1] to f2xm1.
40037 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40038 overflowing or underflowing operations take place with sign of
40039 result.
40040 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40041 Include <math.h>.
40042 * math/auto-libm-test-in: Add more tests of pow.
40043 * math/auto-libm-test-out: Regenerated.
40044 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40045 (pow_tonearest_test_data): Remove.
40046 (pow_test_tonearest): Likewise.
40047 (pow_towardzero_test_data): Likewise.
40048 (pow_test_towardzero): Likewise.
40049 (pow_downward_test_data): Likewise.
40050 (pow_test_downward): Likewise.
40051 (pow_upward_test_data): Likewise.
40052 (pow_test_upward): Likewise.
40053 (main): Don't call removed functions.
40054 * sysdeps/i386/fpu/libm-test-ulps: Update.
40055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40056
40057 2014-06-23 Roland McGrath <roland@hack.frob.com>
40058
40059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40060 Moved ...
40061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40063 Moved ...
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40066 Moved ...
40067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40069 Moved ...
40070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40072 File removed.
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40074 File removed.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40076 File removed.
40077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40078 File removed.
40079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40080 File removed.
40081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40082 File removed.
40083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40084 File removed.
40085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40086 File removed.
40087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40088 File removed.
40089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40090 File removed.
40091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40092 File removed.
40093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40094 File removed.
40095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40096 Moved ...
40097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40099 Moved ...
40100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40101 ... here.
40102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40103 Moved ...
40104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40106 Moved ...
40107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40109 Moved ...
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40112 Moved ...
40113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40115 Moved ...
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40118 Moved ...
40119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40121 Moved ...
40122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40125 ... here.
40126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40127 Moved ...
40128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40130 Moved ...
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40132 ... here.
40133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40134 Moved ...
40135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40136 ... here.
40137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40138 Moved ...
40139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40140 ... here.
40141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40142 Moved ...
40143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40145 Moved ...
40146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40150 Moved ...
40151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40152 ... here.
40153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40154 Moved ...
40155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40156 ... here.
40157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40158 Moved ...
40159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40161 Moved ...
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40164 Moved ...
40165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40167 Moved ...
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40170 Moved ...
40171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40172 ... here.
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40174 Moved ...
40175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40177 Moved ...
40178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40180 Moved ...
40181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40183 Moved ...
40184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40188 Moved ...
40189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40191 Moved ...
40192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40194 Moved ...
40195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40196 ... here.
40197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40198 Moved ...
40199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40200 ... here.
40201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40202 Moved ...
40203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40204 ... here.
40205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40206 Moved ...
40207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40209 Moved ...
40210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40212 Moved ...
40213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40215 Moved ...
40216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40217 ... here.
40218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40219 Moved ...
40220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40221 ... here.
40222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40223 Moved ...
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40225 ... here.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40227 Moved ...
40228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40230 Moved ...
40231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40232
40233 2014-06-23 Will Newton <will.newton@linaro.org>
40234 Wilco <wdijkstr@arm.com>
40235
40236 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40237 implementation. Include get-rounding-mode.h.
40238 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40239 [!libc_feholdsetround_noex_ctx]: Define
40240 libc_feholdsetround_noex_ctx.
40241 [!libc_feholdsetround_noexf_ctx]: Define
40242 libc_feholdsetround_noexf_ctx.
40243 [!libc_feholdsetround_noexl_ctx]: Define
40244 libc_feholdsetround_noexl_ctx.
40245 (libc_feholdsetround_ctx): New function.
40246 (libc_feresetround_ctx): New function.
40247 (libc_feholdsetround_noex_ctx): New function.
40248 (libc_feresetround_noex_ctx): New function.
40249
40250 2014-06-23 Roland McGrath <roland@hack.frob.com>
40251
40252 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40253 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40254 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40255 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40256 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40257 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40258
40259 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40260 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40261 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40262 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40263 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40264 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40265 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40266 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40267 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40268 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40270 Moved ...
40271 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40272 ... here.
40273 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40274 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40276 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40278 Moved ...
40279 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40280 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40281 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40284 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40285 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40286 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40287 Moved ...
40288 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40290 Moved ...
40291 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40293 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40295 Moved ...
40296 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40298 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40299 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40300 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40301 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40302 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40303 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40304 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40305 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40306 Moved ...
40307 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40308 ... here.
40309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40310 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40312 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40314 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40315 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40316 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40318 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40320 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40322 Moved ...
40323 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40324 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40325 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40326 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40327 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40328 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40329 Moved ...
40330 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40332 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40333 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40334 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40335
40336 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40337 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40338 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40339 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40340 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40341 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40342 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40343 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40345 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40346 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40347 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40348 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40349 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40350 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40351 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40352 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40353 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40354 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40355 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40356 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40357 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40358 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40359 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40360 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40361 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40362 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40363 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40364
40365 2014-06-23 Joseph Myers <joseph@codesourcery.com>
40366
40367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40368 (FALLOC_FL_COLLAPSE_RANGE): New macro.
40369 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40370 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40371 (IPV6_PMTUDISC_INTERFACE): Likewise.
40372 (IPV6_PMTUDISC_OMIT): Likewise.
40373
40374 2014-06-23 Andreas Schwab <schwab@suse.de>
40375
40376 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
40377 Remove unused errout label.
40378
40379 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40380
40381 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
40382 macro: hardware supports Vector Crypto instructions.
40383
40384 2014-06-23 Will Newton <will.newton@linaro.org>
40385
40386 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
40387 rather than __builtin_expect.
40388
40389 * elf/dl-lookup.c (undefined_msg): Remove variable.
40390 (_dl_lookup_symbol_x): Replace undefined_msg with string
40391 literal.
40392
40393 * elf/dl-lookup.c (do_lookup_unique): New function.
40394 (do_lookup_x): Move STB_GNU_UNIQUE handling code
40395 to a separate function.
40396
40397 2014-06-23 Andreas Schwab <schwab@suse.de>
40398
40399 [BZ #17079]
40400 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
40401 before reading the next line.
40402
40403 2014-06-23 Will Newton <will.newton@linaro.org>
40404
40405 * test-skeleton.c (signal_handler): Use printf and %m
40406 rather than perror. Use printf rather than fprintf to
40407 stderr. Use puts rather than fputs to stderr.
40408 (main): Likewise.
40409
40410 2014-06-22 Ludovic Courtès <ludo@gnu.org>
40411
40412 * nscd/nscd.c (thread_info_t): Remove typedef.
40413 (thread_info): Remove variable.
40414
40415 2014-06-21 Allan McRae <allan@archlinux.org>
40416
40417 * NEWS: Mention CVE-2014-4043.
40418
40419 2014-06-20 Roland McGrath <roland@hack.frob.com>
40420
40421 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
40422 * nptl/smp.h: ... here.
40423
40424 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40425
40426 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
40427 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
40428 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
40429 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
40430
40431 * nptl/allocatestack.c: Include <stack-aliasing.h>.
40432 * nptl/stack-aliasing.h: New file.
40433 * sysdeps/i386/i686/stack-aliasing.h: New file.
40434 * sysdeps/i386/i686/nptl/Makefile: File removed.
40435 * sysdeps/x86_64/stack-aliasing.h: New file.
40436 * sysdeps/x86_64/nptl/Makefile
40437 (CFLAGS-pthread_create.c): Variable removed.
40438
40439 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
40440 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
40441 old file.
40442 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
40443 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
40444 old file.
40445
40446 2014-06-21 Joseph Myers <joseph@codesourcery.com>
40447
40448 * sysdeps/unix/sysv/linux/arm/kernel-features.h
40449 (__ASSUME_SIGFRAME_V2): Remove macro.
40450 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
40451 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
40452 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
40453 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
40454 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
40455 Declare as function. Remove conditional macro definitions.
40456 (__default_rt_sa_restorer): Likewise.
40457 (__default_sa_restorer_v1): Remove declaration.
40458 (__default_sa_restorer_v2): Likewise.
40459 (__default_rt_sa_restorer_v1): Likewise.
40460 (__default_rt_sa_restorer_v2): Likewise.
40461 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
40462 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40463 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
40464
40465 2014-06-20 Roland McGrath <roland@hack.frob.com>
40466
40467 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40468 (libpthread-routines): Add sysdep.
40469 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
40470 * sysdeps/unix/sysv/linux/sparc/Versions
40471 (libpthread: GLIBC_2.3.3): New version set.
40472 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
40473 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
40474 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
40475 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40476 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
40477 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
40478 Moved ...
40479 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
40480 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
40481 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
40482 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
40483 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
40484 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
40485 * sysdeps/sparc/nptl/sem_init.c: ... here.
40486 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
40487 * sysdeps/sparc/nptl/sem_post.c: ... here.
40488 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
40489 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
40490 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
40491 * sysdeps/sparc/nptl/sem_wait.c: ... here.
40492 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
40493 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
40494 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
40495 (libpthread-routines): Add cpu_relax.
40496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
40497 File removed.
40498 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
40499 (librt: GLIBC_2.3.3): New version set.
40500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
40501 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
40502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
40503 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
40505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
40506 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
40507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
40508 Moved ...
40509 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
40510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
40511 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
40512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
40513 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
40514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
40515 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
40516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
40517 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
40518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
40519 Moved ...
40520 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
40521 Update #include.
40522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
40523 Moved ...
40524 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
40525 Update #include.
40526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
40527 Moved ...
40528 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
40529 Update #include.
40530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
40531 Moved ...
40532 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
40533 Update #include.
40534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
40535 Moved ...
40536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
40537 Update #include.
40538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
40539 Moved ...
40540 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
40541 Update #include.
40542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
40543 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
40544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
40545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
40546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
40547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
40548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
40549 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
40550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
40551 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
40552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40553 Moved ...
40554 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
40555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
40556 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
40557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
40558 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
40559
40560 2014-06-20 Joseph Myers <joseph@codesourcery.com>
40561
40562 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
40563 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
40564 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40565 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
40566 * nscd/nscd.c: Likewise.
40567 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
40568 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
40569 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
40570 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
40571
40572 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
40573 <kernel-features.h>.
40574 (init_mq_netlink): Remove conditional have_sock_cloexec
40575 definitions. Remove code conditional on have_sock_cloexec < 0.
40576 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
40577 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
40578 * sysdeps/unix/sysv/linux/opensock.c: Do not include
40579 <kernel-features.h>.
40580 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
40581 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
40582
40583 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
40584
40585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40586 Add tests for memset_chk and memset.
40587
40588 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
40589 with AVX2_Usable.
40590
40591 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
40592
40593 [BZ #16046]
40594 * elf/tst-dl-iter-static.c: New file.
40595 * elf/Makefile (tests-static): Add tst-dl-iter-static.
40596
40597 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
40598 error.
40599
40600 2014-06-20 Joseph Myers <joseph@codesourcery.com>
40601
40602 * sysdeps/unix/sysv/linux/kernel-features.h
40603 (__ASSUME_F_GETOWN_EX): Remove macro.
40604 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
40605 <kernel-features.h>.
40606 (miss_F_GETOWN_EX): Remove variable or macro.
40607 (do_fcntl): Do not check miss_F_GETOWN_EX.
40608 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
40609
40610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
40611 Remove macro.
40612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
40613 [!__ASSUME_AT_RANDOM]: Remove conditional code.
40614 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
40615
40616 * sysdeps/unix/sysv/linux/kernel-features.h
40617 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
40618 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
40619 [ADJ_OFFSET_SS_READ]: Make code unconditional.
40620 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
40621
40622 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
40623
40624 [BZ #17075]
40625 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
40626 Fix calculation of the symbol's value.
40627 * sysdeps/arm/tst-armtlsdescloc.c: New file.
40628 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
40629 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
40630 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
40631 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
40632 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
40633 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
40634 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
40635 (modules-names): Add `tst-armtlsdescmod',
40636 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
40637 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
40638 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40639 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
40640 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
40641 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40642 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
40643 ($(objpfx)tst-armtlsdescloc): New dependency.
40644 ($(objpfx)tst-armtlsdescextnow): Likewise.
40645 ($(objpfx)tst-armtlsdescextlazy): Likewise.
40646 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
40647 TLS scheme support.
40648 * sysdeps/arm/configure: Regenerate.
40649
40650 2014-06-20 Joseph Myers <joseph@codesourcery.com>
40651
40652 * include/fcntl.h (__atfct_seterrno): Remove prototype.
40653 (__atfct_seterrno_2): Likewise.
40654 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
40655 <kernel-features.h>.
40656 (__ASSUME_ATFCTS): Do not undefine and redefine.
40657 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
40658 (__have_atfcts): Remove conditional definition.
40659 (__fxstatat([__NR_fstatat64]: Make code unconditional.
40660 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
40661 unreachable if [__ASSUME_ATFCTS].
40662 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
40663 not undefine and redefine.
40664 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
40665 <kernel-features.h>.
40666 (faccessat) [__NR_faccessat]: Make code unconditional.
40667 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
40668 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
40669 <kernel-features.h>.
40670 (fchmodat) [__NR_fchmodat]: Make code unconditional.
40671 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40672 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
40673 <kernel-features.h>.
40674 (fchownat) [__NR_fchownat]: Make code unconditional.
40675 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
40676 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
40677 <kernel-features.h>.
40678 (futimesat) [__NR_futimesat]: Make code unconditional.
40679 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
40680 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40681 <kernel-features.h>.
40682 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40683 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40684 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40685 <kernel-features.h>.
40686 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
40687 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40688 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
40689 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40690 <kernel-features.h>.
40691 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
40692 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40693 * sysdeps/unix/sysv/linux/linkat.c: Do not include
40694 <kernel-features.h>.
40695 (linkat) [__NR_linkat]: Make code unconditional.
40696 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40697 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
40698 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
40699 <kernel-features.h>.
40700 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
40701 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40702 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
40703 <kernel-features.h>.
40704 (mkdirat) [__NR_mkdirat]: Make code unconditional.
40705 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
40706 * sysdeps/unix/sysv/linux/openat.c: Do not include
40707 <kernel-features.h>.
40708 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
40709 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
40710 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
40711 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
40712 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
40713 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
40714 <kernel-features.h>.
40715 (readlinkat) [__NR_readlinkat]: Make code unconditional.
40716 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
40717 result of INLINE_SYSCALL directly, not via int variable.
40718 * sysdeps/unix/sysv/linux/renameat.c: Do not include
40719 <kernel-features.h>.
40720 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
40721 (renameat) [__NR_renameat]: Make code unconditional.
40722 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
40723 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
40724 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
40725 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
40726 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
40727 (__ASSUME_ATFCTS): Do not undefine and redefine.
40728 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
40729 <kernel-features.h>.
40730 (symlinkat) [__NR_symlinkat]: Make code unconditional.
40731 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40732 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
40733 <kernel-features.h>.
40734 (unlinkat) [__NR_unlinkat]: Make code unconditional.
40735 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40736 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
40737 (__ASSUME_ATFCTS): Do not undefine and redefine.
40738 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40739 <kernel-features.h>.
40740 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40741 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40742 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40743 <kernel-features.h>.
40744 (__xmknodat) [__NR_mknodat]: Make code unconditional.
40745 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40746
40747 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
40748
40749 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
40750
40751 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
40752
40753 [BZ #17069]
40754 * posix/regcomp.c (parse_reg_exp): Deallocate partially
40755 constructed tree before returning error.
40756 * posix/bug-regexp36.c: Expand test case.
40757
40758 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
40759
40760 [BZ #6803]
40761 * math/libm-test.inc (scalbln_test_date):
40762 Add errno expectations.
40763 * math/w_scalblnf.c: New File.
40764 Add wrapper which checks for setting errno to ERANGE.
40765 Add weak_alias for corresponding scalbln function.
40766 * math/w_scalbln.c: Likewise.
40767 * math/w_scalblnl.c: Likewise.
40768 * math/Makefile (libm-calls): Add w_scalbln.
40769 * sysdeps/ieee754/flt-32/s_scalblnf.c:
40770 Remove weak_alias for corresponding scalbln function.
40771 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40773 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40775 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
40776 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40777 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
40778 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40779 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
40780 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
40781 Remove long_double_symbol for scalblnl function in libm, libc.
40782 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
40783 Add wrapper which checks for setting errno to ERANGE.
40784 Add long_double_symbol for scalblnl function in libm, libc.
40785 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
40786 Remove long_double_symbol for scalblnl in libm.
40787 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
40788 Add wrapper which checks for setting errno to ERANGE.
40789 Add long_double_symbol for scalblnl function in libm.
40790 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
40791 Do not use wrapper because of own implementation.
40792
40793 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
40794
40795 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
40796 3 bytes for __pad1 for x32.
40797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
40798
40799 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
40800 H.J. Lu <hongjiu.lu@intel.com>
40801
40802 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
40803 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
40804 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40805 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40806 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
40807
40808 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
40809
40810 [BZ #17069]
40811 * posix/regcomp.c (parse_expression): Deallocate partially
40812 constructed tree before returning error.
40813 * posix/Makefile.c (tests): Add bug-regex36.
40814 (generated): Add bug-regex36.mtrace.
40815 (tests-special): Add $(objpfx)bug-regex36-mem.out
40816 (bug-regex36-ENV): New variable.
40817 ($(objpfx)bug-regex36-mem.out): New rule.
40818 * posix/bug-regex36.c: New file.
40819
40820 2014-06-19 Will Newton <will.newton@linaro.org>
40821
40822 * malloc/malloc.c (systrim): If extra is zero then return
40823 early.
40824
40825 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40826
40827 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
40828
40829 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
40830
40831 * sysdeps/aarch64/strchr.S: New file.
40832
40833 2014-06-18 Joseph Myers <joseph@codesourcery.com>
40834
40835 [BZ #17022]
40836 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
40837 from arguments -2 or below.
40838 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40839 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
40840
40841 2014-06-18 Andreas Schwab <schwab@suse.de>
40842
40843 [BZ #17062]
40844 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
40845 of a bracket expr not to run off the end of the string.
40846 * posix/Makefile (tests): Add tst-fnmatch3.
40847 * posix/tst-fnmatch3.c: New file.
40848
40849 2014-06-18 Joseph Myers <joseph@codesourcery.com>
40850
40851 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
40852 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40853 [$(cross-compiling) = no]: Likewise.
40854 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40855 [$(cross-compiling) = no]: Likewise.
40856
40857 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40858
40859 [BZ #17031]
40860 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
40861 double, adjusted for any remainder from the high double.
40862 * math/libm-test.inc (nearbyint): Add tests.
40863 (rint): Likewise.
40864
40865 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40866
40867 * nptl/sysdeps/powerpc/Makefile: Moved ...
40868 * sysdeps/powerpc/nptl/Makefile: ... here.
40869 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
40870 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
40871 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
40872 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
40873 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
40874 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
40875 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
40876 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
40877 * nptl/sysdeps/powerpc/tls.h: Moved ...
40878 * sysdeps/powerpc/nptl/tls.h: ... here.
40879
40880 2014-06-16 Joseph Myers <joseph@codesourcery.com>
40881
40882 [BZ #16681]
40883 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
40884 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
40885 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
40886 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
40887 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
40888 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
40889 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
40890 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
40891 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
40892
40893 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
40894
40895 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40896
40897 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
40898
40899 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
40900 defined operator.
40901
40902 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
40903 $TIMEOUTFACTOR.
40904
40905 2014-06-16 Florian Weimer <fweimer@redhat.com>
40906
40907 [BZ #17058]
40908 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
40909 non-executed part of the test.
40910
40911 2014-06-16 Andreas Schwab <schwab@suse.de>
40912
40913 * string/bits/string2.h (strdup, strndup): Update feature guard.
40914
40915 2014-06-14 David S. Miller <davem@davemloft.net>
40916
40917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40918
40919 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
40920
40921 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
40922 that was previously under [RESET_PID].
40923 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
40924
40925 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
40926 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
40927 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
40928 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40929 (__libc_vfork): New strong alias.
40930 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
40931
40932 2014-06-14 Andi Kleen <ak@linux.intel.com>
40933
40934 * sysdeps/generic/elide.h: New file.
40935
40936 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40937
40938 * Makefile (installed-headers): Adjust path of pthread.h header.
40939
40940 2014-06-13 Roland McGrath <roland@hack.frob.com>
40941
40942 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
40943 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40944 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
40945 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
40946
40947 * nptl/sysdeps/s390/Makefile: Moved ...
40948 * sysdeps/s390/nptl/Makefile: ... here.
40949 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
40950 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
40951 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
40952 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
40953 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
40954 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
40955 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
40956 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
40957 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
40958 * sysdeps/s390/nptl/pthreaddef.h: ... here.
40959 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
40960 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
40961 * nptl/sysdeps/s390/tls.h: Moved ...
40962 * sysdeps/s390/nptl/tls.h: ... here.
40963
40964 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
40965 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
40966
40967 2014-06-13 David S. Miller <davem@davemloft.net>
40968
40969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
40970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
40971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
40972 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
40973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
40974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
40975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
40976 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
40977 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
40978 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
40979 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
40980 Remove RESET_PID cpp guards.
40981 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
40982 Remove RESET_PID cpp guards.
40983 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
40984
40985 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
40986
40987 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
40988 __sp to uintptr_t.
40989
40990 2014-06-13 Andi Kleen <ak@linux.intel.com>
40991
40992 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
40993 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
40994 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
40995 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
40996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
40997 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
40998 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
40999 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41003 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41004 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41005 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41008 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41009 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41011 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41012
41013 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41014 (pthread_rwlock_rdlock): Add elision.
41015 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41016 (pthread_rwlock_wrlock): Add elision.
41017 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41018 (pthread_rwlock_trywrlock): Add elision.
41019 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41020 (pthread_rwlock_tryrdlock): Add elision.
41021 * nptl/pthread_rwlock_unlock.c: Include elide.h.
41022 (pthread_rwlock_tryrdlock): Add elision unlock.
41023 * nptl/sysdeps/pthread/pthread.h:
41024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41025 (PTHREAD_RWLOCK_INITIALIZER,
41026 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41027 Handle new elision field.
41028 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41029 * sysdeps/arm/nptl/bits/pthreadtypes.h
41030 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41031 * sysdeps/sh/nptl/bits/pthreadtypes.h
41032 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41033 * sysdeps/tile/nptl/bits/pthreadtypes.h
41034 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41035 * sysdeps/a/nptl/bits/pthreadtypes.h
41036 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41037 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41039 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41041 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41043 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41045 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41047 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41049 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41051 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41053 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41054 (elision_init): Set try_xbegin to zero when no RTM.
41055 * sysdeps/x86/nptl/bits/pthreadtypes.h
41056 (pthread_rwlock_t): Change __pad1 to __rwelision.
41057 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41058
41059 2014-06-13 Andi Kleen <ak@linux.intel.com>
41060
41061 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41062 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41063 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41064 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41065
41066 2014-06-13 Meador Inge <meadori@codesourcery.com>
41067
41068 [BZ #16996]
41069 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41070 that the cached result has been set before returning it.
41071
41072 2014-06-12 Roland McGrath <roland@hack.frob.com>
41073
41074 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41075 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41076 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41077 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41078 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41079 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41080
41081 * nptl/sysdeps/sparc/Makefile: Moved ...
41082 * sysdeps/sparc/nptl/Makefile: ... here.
41083 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41084 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41085 * nptl/sysdeps/sparc/tls.h: Moved ...
41086 * sysdeps/sparc/nptl/tls.h: ... here.
41087 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41088 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41089 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41090 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41091 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41092 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41093 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41094 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41095 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41096 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41097 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41098 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41099 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41100 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41101 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41102 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41103 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41104 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41105 Update #include.
41106 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41108 Update #include.
41109 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41111 Update #include.
41112 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41113 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41114 Update #include.
41115
41116 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41117
41118 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41119 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41120
41121 * sysdeps/pthread/posix-timer.h: Include <list.h>.
41122 (struct list_links): Type removed.
41123 (struct thread_node, struct timer_node): Replace struct list_links
41124 with struct list_head.
41125 (list_unlink_ip): Likewise.
41126 * sysdeps/pthread/timer_routines.c
41127 (timer_free_list, thread_free_list, thread_active_list): Likewise.
41128 (list_append, list_insbefore): Likewise.
41129 (list_init): Function removed.
41130 (thread_init, init_module): Use INIT_LIST_HEAD instead.
41131 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41132 * sysdeps/pthread/Makefile: ... here, new file.
41133
41134 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41135 * sysdeps/nptl/Implies: ... here.
41136 * sysdeps/unix/sysv/linux/Implies: Add nptl.
41137 * nptl/sysdeps/pthread/list.h: Moved ...
41138 * include/list.h: ... here.
41139 * nptl/sysdeps/pthread/createthread.c: Moved ...
41140 * nptl/createthread.c: ... here.
41141 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41142 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41143 * nptl/pt-longjmp.c: ... here.
41144 * nptl/sysdeps/pthread/Makefile: Moved ...
41145 * sysdeps/nptl/Makefile: ... here.
41146 * nptl/sysdeps/pthread/Subdirs: Moved ...
41147 * sysdeps/nptl/Subdirs: ... here.
41148 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41149 * sysdeps/nptl/aio_misc.h: ... here.
41150 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41151 * sysdeps/nptl/bits/libc-lock.h: ... here.
41152 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41153 * sysdeps/nptl/bits/libc-lockP.h: ... here.
41154 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41155 * sysdeps/nptl/bits/stdio-lock.h: ... here.
41156 * nptl/sysdeps/pthread/configure: Moved ...
41157 * sysdeps/nptl/configure: ... here.
41158 * nptl/sysdeps/pthread/configure.ac: Moved ...
41159 * sysdeps/nptl/configure.ac: ... here.
41160 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41161 * sysdeps/nptl/gai_misc.h: ... here.
41162 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41163 * sysdeps/nptl/librt-cancellation.c: ... here.
41164 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41165 * sysdeps/nptl/malloc-machine.h: ... here.
41166 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41167 * sysdeps/nptl/pthread-functions.h: ... here.
41168 * nptl/sysdeps/pthread/pthread.h: Moved ...
41169 * sysdeps/nptl/pthread.h: ... here.
41170 * nptl/sysdeps/pthread/setxid.h: Moved ...
41171 * sysdeps/nptl/setxid.h: ... here.
41172 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41173 * sysdeps/nptl/sigfillset.c: ... here.
41174 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41175 * sysdeps/nptl/tcb-offsets.h: ... here.
41176 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41177 * sysdeps/nptl/tst-mqueue8x.c: ... here.
41178 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41179 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41180 * nptl/sysdeps/pthread/allocalim.h: Moved ...
41181 * sysdeps/pthread/allocalim.h: ... here.
41182 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41183 * sysdeps/pthread/bits/sigthread.h: ... here.
41184 * nptl/sysdeps/pthread/flockfile.c: Moved ...
41185 * sysdeps/pthread/flockfile.c: ... here.
41186 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41187 * sysdeps/pthread/ftrylockfile.c: ... here.
41188 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41189 * sysdeps/pthread/funlockfile.c: ... here.
41190 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41191 * sysdeps/pthread/posix-timer.h: ... here.
41192 * nptl/sysdeps/pthread/timer_create.c: Moved ...
41193 * sysdeps/pthread/timer_create.c: ... here.
41194 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41195 * sysdeps/pthread/timer_delete.c: ... here.
41196 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41197 * sysdeps/pthread/timer_getoverr.c: ... here.
41198 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41199 * sysdeps/pthread/timer_gettime.c: ... here.
41200 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41201 * sysdeps/pthread/timer_routines.c: ... here.
41202 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41203 * sysdeps/pthread/timer_settime.c: ... here.
41204 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41205 * sysdeps/pthread/tst-timer.c: ... here.
41206 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41207 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41208
41209 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41210 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41211
41212 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41213 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41214 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41215 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41216 Update #include target.
41217 * nptl/sysdeps/i386/i686/Makefile: Moved ...
41218 * sysdeps/i386/i686/nptl/Makefile: ... here.
41219 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41220 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41221 Update #include target.
41222 * nptl/sysdeps/i386/i686/tls.h: Moved ...
41223 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
41224 * nptl/sysdeps/i386/Makefile: Moved ...
41225 * sysdeps/i386/nptl/Makefile: ... here.
41226 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41227 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41228 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41229 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41230 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41231 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41232 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41233 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41234 * sysdeps/i386/nptl/pthreaddef.h: ... here.
41235 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41236 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41237 * nptl/sysdeps/i386/tls.h: Moved ...
41238 * sysdeps/i386/nptl/tls.h: ... here.
41239
41240 * sysdeps/sh/Makefile [$(subdir) = csu]
41241 (gen-as-const-headers): Add tcb-offsets.sym.
41242 * nptl/sysdeps/sh/Makefile: File removed.
41243 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41244 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41245 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41246 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41247 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41248 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41249 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41250 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41251 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41252 * sysdeps/sh/nptl/pthreaddef.h: ... here.
41253 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41254 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41255 * nptl/sysdeps/sh/tls.h: Moved ...
41256 * sysdeps/sh/nptl/tls.h: ... here.
41257 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41258 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41259 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41260 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41261 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41262 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41263 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41264 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41265 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41266 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41267 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41268 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41269 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41270 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41271 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41272 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41273 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41274 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41275 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41276 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41278 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41279 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41280 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41281 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41282 Moved ...
41283 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41284 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41285 Moved ...
41286 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41288 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41290 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41291 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41292 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41293 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41294 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41295 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41296 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41297 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41298 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41299 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41300 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41301 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41302 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41303 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41304 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41305
41306 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
41307
41308 * posix/spawn_faction_addopen.c: Include string.h.
41309
41310 2014-06-11 Roland McGrath <roland@hack.frob.com>
41311
41312 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41313 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41314 * nptl/sysdeps/x86_64/Makefile: Moved ...
41315 * sysdeps/x86_64/nptl/Makefile: ... here.
41316 * nptl/sysdeps/x86_64/configure: Moved ...
41317 * sysdeps/x86_64/nptl/configure: ... here.
41318 * nptl/sysdeps/x86_64/configure.ac: Moved ...
41319 * sysdeps/x86_64/nptl/configure.ac: ... here.
41320 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41321 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41322 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41323 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41324 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41325 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41326 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41327 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41328 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41329 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41330 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41331 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41332 * nptl/sysdeps/x86_64/tls.h: Moved ...
41333 * sysdeps/x86_64/nptl/tls.h: ... here.
41334 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41335 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41336 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41337 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41338
41339 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41340
41341 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41342
41343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41344
41345 2014-06-11 Joseph Myers <joseph@codesourcery.com>
41346
41347 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41348 type.
41349 [POSIX] (off_t): Likewise.
41350 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41351 [POSIX] (S_ISBLK): Require macro.
41352 [POSIX] (S_ISCHR): Likewise.
41353 [POSIX] (S_ISDIR): Likewise.
41354 [POSIX] (S_ISFIFO): Likewise.
41355 [POSIX] (S_ISREG): Likewise.
41356 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41357 optional-macro.
41358 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41359 type.
41360 [POSIX] (time_t): Likewise.
41361 [POSIX] (timer_t): Likewise.
41362
41363 2014-06-11 Florian Weimer <fweimer@redhat.com>
41364
41365 [BZ #17048]
41366 * posix/spawn_int.h (struct __spawn_action): Make the path string
41367 non-const to support deallocation.
41368 * posix/spawn_faction_addopen.c
41369 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41370 * posix/spawn_faction_destroy.c
41371 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
41372 path in all spawn_do_open actions.
41373 * posix/tst-spawn.c (do_test): Exercise the copy operation in
41374 posix_spawn_file_actions_addopen.
41375
41376 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
41377
41378 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
41379 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
41380 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
41381 conditional code always true.
41382 (__libc_vfork): New alias.
41383
41384 2014-06-11 Roland McGrath <roland@hack.frob.com>
41385
41386 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41387 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
41388
41389 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
41390
41391 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41392 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
41393
41394 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41395 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
41396
41397 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41398 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
41399
41400 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41401
41402 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41403 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
41404 multiarch strcmp for PPC64.
41405 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
41406 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
41407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
41408 multiarch optimizations.
41409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41410 (__libc_ifunc_impl_list): Likewise.
41411
41412 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41413
41414 * benchtests/scripts/validate_benchout.py: New script.
41415 * benchtests/Makefile (bench-func): Call it.
41416 * benchtests/scripts/benchout.schema.json: New file.
41417
41418 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
41419
41420 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
41421 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
41422 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
41423 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41424 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
41425 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
41426 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
41427 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
41428 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41429 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
41430 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
41431 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
41432 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
41433 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
41434 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
41435 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
41436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
41437 Moved ...
41438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
41439 ... here.
41440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
41441 Moved ...
41442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
41443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
41444 Moved ...
41445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
41446 ... here.
41447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
41448 Moved ...
41449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
41450 ... here.
41451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41452 Moved ...
41453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
41454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
41455 Moved ...
41456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
41457 ... here.
41458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
41459 Moved ...
41460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
41461 ... here.
41462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
41463 Moved ...
41464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
41465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
41466 Moved ...
41467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
41468 ... here.
41469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
41470 Moved ...
41471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
41472 ... here.
41473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
41474 Moved ...
41475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
41476 ... here.
41477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
41478 Moved ...
41479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
41480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
41481 Moved ...
41482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
41483 ... here.
41484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
41485 Moved ...
41486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
41487 ... here.
41488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
41489 Moved ...
41490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
41491 ... here.
41492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
41493 Moved ...
41494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
41495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
41496 Moved ...
41497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
41498 ... here.
41499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
41500 Moved ...
41501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
41502 ... here.
41503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
41504 Moved ...
41505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
41506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
41507 Moved ...
41508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
41509 ... here.
41510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
41511 Moved ...
41512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
41513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
41514 Moved ...
41515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
41516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
41517 Moved ...
41518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
41519 ... here.
41520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
41521 Moved ...
41522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
41523 ... here.
41524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
41525 Moved ...
41526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
41527 ... here.
41528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
41529 Moved ...
41530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
41531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
41532 Moved ...
41533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
41534 ... here.
41535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
41536 Moved ...
41537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
41538 ... here.
41539 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
41540 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
41541 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
41542 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
41543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
41544 Moved ...
41545 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
41546 ... here.
41547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
41548 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
41549 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
41550 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
41551 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
41552 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
41553 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
41554 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
41555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
41556 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
41557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
41558 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
41559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
41560 Moved ...
41561 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
41562 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
41563 Moved ...
41564 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
41565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
41566 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
41567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
41568 Moved ...
41569 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
41570 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
41571 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
41572 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
41573 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
41574 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
41575 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
41576
41577 2014-06-10 Wilco <wdijkstr@arm.com>
41578
41579 * math/test-fenv-return.c: New file.
41580 * math/Makefile: Add new test test-fenv-return.
41581
41582 2014-06-10 Joseph Myers <joseph@codesourcery.com>
41583
41584 [BZ #17042]
41585 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
41586 when x - 1 is zero.
41587 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
41588 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
41589 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
41590 0.0L for an argument of 1.0L.
41591 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
41592 Likewise.
41593 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
41594 value when x - 1 is zero.
41595 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
41596 * sysdeps/i386/fpu/libm-test-ulps: Update.
41597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41598
41599 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
41600
41601 [BZ #15119]
41602 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
41603
41604 2014-06-09 Roland McGrath <roland@hack.frob.com>
41605
41606 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
41607 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
41608
41609 2014-06-09 Roland McGrath <roland@hack.frob.com>
41610
41611 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41612 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
41613
41614 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41615 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
41616
41617 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41618 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
41619
41620 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41621 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
41622
41623 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
41624 if not already defined.
41625 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
41626 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
41627 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
41628 (TLS_INIT_TP): Use it.
41629 (TLS_DEFINE_INIT_TP): New macro.
41630 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
41631
41632 2014-06-09 Joseph Myers <joseph@codesourcery.com>
41633
41634 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
41635 constant.
41636 [POSIX] (IXANY): Likewise.
41637 [POSIX] (OLCUC): Likewise.
41638 [POSIX || POSIX2008] (CBAUD): Do not allow.
41639 [POSIX || POSIX2008] (DEFECHO): Likewise.
41640 [POSIX || POSIX2008] (ECHOCTL): Likewise.
41641 [POSIX || POSIX2008] (ECHOKE): Likewise.
41642 [POSIX || POSIX2008] (ECHOPRT): Likewise.
41643 [POSIX || POSIX2008] (EXTA): Likewise.
41644 [POSIX || POSIX2008] (EXTB): Likewise.
41645 [POSIX || POSIX2008] (FLUSHO): Likewise.
41646 [POSIX || POSIX2008] (LOBLK): Likewise.
41647 [POSIX || POSIX2008] (PENDIN): Likewise.
41648 [POSIX || POSIX2008] (SWTCH): Likewise.
41649 [POSIX || POSIX2008] (VDISCARD): Likewise.
41650 [POSIX || POSIX2008] (VDSUSP): Likewise.
41651 [POSIX || POSIX2008] (VLNEXT): Likewise.
41652 [POSIX || POSIX2008] (VREPRINT): Likewise.
41653 [POSIX || POSIX2008] (VSTATUS): Likewise.
41654 [POSIX || POSIX2008] (VWERASE): Likewise.
41655 (B*): Change to B[0123456789]*.
41656 * conform/data/time.h-data [POSIX || UNIX98]
41657 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
41658 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41659 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
41660 [POSIX] (tm_*): Do not allow.
41661
41662 2014-06-07 Joseph Myers <joseph@codesourcery.com>
41663
41664 * Makefile (install): Don't set LANGUAGE.
41665 * Makefile.in (install): Likewise.
41666 * assert/Makefile (test-assert-ENV): Remove variable.
41667 (test-assert-perr-ENV): Likewise.
41668 * elf/Makefile (neededtest4-ENV): Likewise.
41669 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41670 [$(cross-compiling) = no]: Don't set LANGUAGE.
41671 * io/ftwtest-sh (LANG): Remove variable.
41672 * libio/Makefile (tst-widetext-ENV): Likewise.
41673 * manual/install.texi (Running make install): Don't refer to
41674 environment settings for make install.
41675 * INSTALL: Regenerated.
41676 * nptl/tst-tls6.sh: Don't set LANG.
41677 * posix/globtest.sh (LANG): Remove variable.
41678 * string/Makefile (tester-ENV): Likewise.
41679 (inl-tester-ENV): Likewise.
41680 (noinl-tester-ENV): Likewise.
41681 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41682 [$(cross-compiling) = no]: Don't set LANGUAGE.
41683 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
41684 without explicit environment settings.
41685
41686 2014-06-06 Roland McGrath <roland@hack.frob.com>
41687
41688 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
41689 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
41690 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
41691 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
41692
41693 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
41694
41695 * crypt/crypt-private.h [DOS]: Add some includes taken from the
41696 other files in the crypt directory.
41697 * crypt/crypt.c: Remove duplicate includes.
41698 * crypt/crypt-entry.c: Likewise.
41699 * crypt/crypt_util.c: Likewise.
41700
41701 2014-06-06 Joseph Myers <joseph@codesourcery.com>
41702
41703 * Makeconfig (run-program-env): New variable.
41704 (run-program-prefix-before-env): Likewise.
41705 (run-program-prefix-after-env): Likewise.
41706 (run-program-prefix): Define in terms of new variables.
41707 (built-program-cmd-before-env): New variable.
41708 (built-program-cmd-after-env): Likewise.
41709 (built-program-cmd): Define in terms of new variables.
41710 (test-program-prefix-before-env): New variable.
41711 (test-program-prefix-after-env): Likewise.
41712 (test-program-prefix): Define in terms of new variables.
41713 (test-program-cmd-before-env): New variable.
41714 (test-program-cmd-after-env): Likewise.
41715 (test-program-cmd): Define in terms of new variables.
41716 * Rules (make-test-out): Use $(run-program-env).
41717 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
41718 (help): Do not mention environment variables. Mention
41719 --timeoutfactor option.
41720 (timeoutfactor): New variable.
41721 (blacklist_exports): Remove function.
41722 (exports): Remove variable.
41723 (command): Do not include ${exports}.
41724 * manual/install.texi (Configuring and compiling): Do not mention
41725 test wrappers preserving environment variables. Mention that last
41726 assignment to a variable must take precedence.
41727 * INSTALL: Regenerated.
41728 * benchtests/Makefile (run-bench): Use $(run-program-env).
41729 * catgets/Makefile ($(objpfx)test1.cat): Use
41730 $(built-program-cmd-before-env), $(run-program-env) and
41731 $(built-program-cmd-after-env).
41732 ($(objpfx)test2.cat): Do not specify environment variables
41733 explicitly.
41734 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
41735 $(run-program-env) and $(built-program-cmd-after-env).
41736 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
41737 $(run-program-env) and $(test-program-cmd-after-env).
41738 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
41739 explicitly.
41740 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
41741 run_program_env and test_program_cmd_after_env arguments.
41742 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
41743 * elf/tst-pathopt.sh: Use run_program_env argument.
41744 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
41745 $(test-wrapper-env) and $(run-program-env).
41746 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
41747 run_program_env arguments.
41748 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
41749 * intl/Makefile ($(objpfx)tst-gettext.out): Use
41750 $(test-program-prefix-before-env), $(run-program-env) and
41751 $(test-program-prefix-after-env).
41752 ($(objpfx)tst-gettext2.out): Likewise.
41753 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
41754 run_program_env and test_program_prefix_after_env arguments.
41755 * intl/tst-gettext2.sh: Likewise.
41756 * intl/tst-gettext4.sh: Do not set environment variables
41757 explicitly.
41758 * intl/tst-gettext6.sh: Likewise.
41759 * intl/tst-translit.sh: Likewise.
41760 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
41761 $(test-program-prefix-before-env), $(run-program-env) and
41762 $(test-program-prefix-after-env).
41763 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
41764 run_program_env and test_program_prefix_after_env arguments.
41765 * math/Makefile (run-regen-ulps): Use $(run-program-env).
41766 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
41767 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
41768 explicitly with each use of ${test_wrapper_env}.
41769 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
41770 $(test-program-prefix-before-env), $(run-program-env) and
41771 $(test-program-prefix-after-env).
41772 * posix/tst-getconf.sh: Do not set environment variables
41773 explicitly.
41774 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
41775 run_program_env and test_program_prefix_after_env arguments.
41776 * stdio-common/tst-printf.sh: Do not set environment variables
41777 explicitly.
41778 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
41779 $(test-program-prefix-before-env), $(run-program-env) and
41780 $(test-program-prefix-after-env).
41781 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
41782 run_program_env and test_program_prefix_after_env arguments.
41783 Split $test calls into $test_pre and $test.
41784 * timezone/Makefile (build-testdata): Use
41785 $(built-program-cmd-before-env), $(run-program-env) and
41786 $(built-program-cmd-after-env).
41787
41788 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41789
41790 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
41791 strlen for non SHARED builds.
41792
41793 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41794
41795 * nptl/allocatestack.c (check_list): Inlined function...
41796 (__reclaim_stacks): ... here.
41797
41798 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
41799
41800 [BZ #15698]
41801 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41802 memory overrun.
41803
41804 2014-06-05 Joseph Myers <joseph@codesourcery.com>
41805
41806 * Rules (make-test-out): Include
41807 LOCPATH=$(common-objpfx)localedata in default environment.
41808 * debug/Makefile (tst-chk1-ENV): Remove variable.
41809 (tst-chk2-ENV): Likewise.
41810 (tst-chk3-ENV): Likewise.
41811 (tst-chk4-ENV): Likewise.
41812 (tst-chk5-ENV): Likewise.
41813 (tst-chk6-ENV): Likewise.
41814 (tst-lfschk1-ENV): Likewise.
41815 (tst-lfschk2-ENV): Likewise.
41816 (tst-lfschk3-ENV): Likewise.
41817 (tst-lfschk4-ENV): Likewise.
41818 (tst-lfschk5-ENV): Likewise.
41819 (tst-lfschk6-ENV): Likewise.
41820 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
41821 (tst-iconv7-ENV): Likewise.
41822 * intl/Makefile (LOCPATH-ENV): Likewise.
41823 (tst-codeset-ENV): Likewise.
41824 (tst-gettext3-ENV): Likewise.
41825 (tst-gettext5-ENV): Likewise.
41826 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
41827 (tst-fopenloc-ENV): Likewise.
41828 (tst-fgetws-ENV): Remove variable.
41829 (tst-ungetwc1-ENV): Likewise.
41830 (tst-ungetwc2-ENV): Likewise.
41831 (bug-ungetwc2-ENV): Likewise.
41832 (tst-swscanf-ENV): Likewise.
41833 (bug-ftell-ENV): Likewise.
41834 (tst-fgetwc-ENV): Likewise.
41835 (tst-fseek-ENV): Likewise.
41836 (tst-ftell-partial-wide-ENV): Likewise.
41837 (tst-ftell-active-handler-ENV): Likewise.
41838 (tst-ftell-append-ENV): Likewise.
41839 * posix/Makefile (tst-fnmatch-ENV): Likewise.
41840 (tst-regexloc-ENV): Likewise.
41841 (bug-regex1-ENV): Likewise.
41842 (tst-regex-ENV): Likewise.
41843 (tst-regex2-ENV): Likewise.
41844 (bug-regex5-ENV): Likewise.
41845 (bug-regex6-ENV): Likewise.
41846 (bug-regex17-ENV): Likewise.
41847 (bug-regex18-ENV): Likewise.
41848 (bug-regex19-ENV): Likewise.
41849 (bug-regex20-ENV): Likewise.
41850 (bug-regex22-ENV): Likewise.
41851 (bug-regex23-ENV): Likewise.
41852 (bug-regex25-ENV): Likewise.
41853 (bug-regex26-ENV): Likewise.
41854 (bug-regex30-ENV): Likewise.
41855 (bug-regex32-ENV): Likewise.
41856 (bug-regex33-ENV): Likewise.
41857 (bug-regex34-ENV): Likewise.
41858 (bug-regex35-ENV): Likewise.
41859 (tst-rxspencer-ENV): Likewise.
41860 (tst-rxspencer-no-utf8-ENV): Likewise.
41861 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
41862 (tst-sscanf-ENV): Likewise.
41863 (tst-swprintf-ENV): Likewise.
41864 (tst-swscanf-ENV): Likewise.
41865 (test-vfprintf-ENV): Likewise.
41866 (scanf13-ENV): Likewise.
41867 (bug14-ENV): Likewise.
41868 (tst-grouping-ENV): Likewise.
41869 * stdlib/Makefile (tst-strtod-ENV): Likewise.
41870 (tst-strtod3-ENV): Likewise.
41871 (tst-strtod4-ENV): Likewise.
41872 (tst-strtod5-ENV): Likewise.
41873 (testmb2-ENV): Likewise./
41874 * string/Makefile (tst-strxfrm-ENV): Likewise.
41875 (tst-strxfrm2-ENV): Likewise.
41876 (bug-strcoll1-ENV): Likewise.
41877 (test-strcasecmp-ENV): Likewise.
41878 (test-strncasecmp-ENV): Likewise.
41879 * time/Makefile (tst-strptime-ENV): Likewise.
41880 (tst-ftime_l-ENV): Likewise.
41881 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
41882 (tst-mbrtowc-ENV): Likewise.
41883 (tst-wcrtomb-ENV): Likewise.
41884 (tst-mbrtowc2-ENV): Likewise.
41885 (tst-c16c32-1-ENV): Likewise.
41886 (tst-mbsnrtowcs-ENV): Likewise.
41887
41888 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
41889
41890 * manual/resource.texi (How to get information about the memory
41891 subsystem?): Fix typo.
41892 Reported by Peon de la Parra Ivan <peon@keba.com>
41893
41894 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
41895
41896 [BZ #16882]
41897 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
41898 (pthread_spin_lock): Branch out of spin loop to proper location.
41899 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
41900 (pthread_spin_lock): Likewise.
41901
41902 * nptl/tst-spin4.c: New test.
41903 * nptl/Makefile (tests): Add tst-spin4.
41904
41905 2014-06-03 Andreas Schwab <schwab@suse.de>
41906
41907 [BZ #15946]
41908 * resolv/res_send.c (send_dg): Reload file descriptor after
41909 calling reopen.
41910
41911 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
41912
41913 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41914
41915 2014-06-03 Richard Henderson <rth@redhat.com>
41916
41917 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
41918 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
41919 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
41920 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
41921 in the SAVE_PID block.
41922 (__libc_vfork): New alias.
41923 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
41924
41925 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
41926 child in registers, not on the stack. Remove RESET_PID conditionals.
41927 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
41928
41929 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
41930
41931 * sysdeps/aarch64/libm-test-ulps: Regenerate.
41932
41933 2014-06-03 Wilco <wdijkstr@arm.com>
41934
41935 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
41936 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41937 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41938 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
41939 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
41940 Likewise.
41941
41942 2014-06-03 Wilco <wdijkstr@arm.com>
41943
41944 * sysdeps/aarch64/fpu/math_private.h
41945 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
41946 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
41947 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
41948 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41949 Fix declarations.
41950
41951 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41952
41953 * crypt/crypt-private.h: Include ufc-crypt.h.
41954 (__b64_from_24bit): Declare extern.
41955 * crypt/crypt_util.c(__b64_from_24bit): New function.
41956 (b64t): New static const variable.
41957 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
41958 (b64t): Remove variable.
41959 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
41960 * crypt/sha256-crypt.c: Include crypt-private.h.
41961 (b64t): Remove variable.
41962 (__sha256_crypt_r): Remove b64_from_24bit and replace
41963 with __b64_from_24bit.
41964 * crypt/sha512-crypt.c: Likewise.
41965
41966 2014-06-02 Roland McGrath <roland@hack.frob.com>
41967
41968 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
41969 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
41970 Label the code __libc_vfork rather than __vfork.
41971 [!NOT_IN_libc] (vfork): Define as weak alias.
41972 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
41973 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
41974 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
41975
41976 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41977
41978 * malloc/malloc.c (malloc_info): Fix format specifier for
41979 n_mmaps.
41980
41981 2014-06-02 Wilco <wdijkstr@arm.com>
41982
41983 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
41984 FPCR write.
41985
41986 2014-06-02 Wilco <wdijkstr@arm.com>
41987
41988 [BZ #17009]
41989 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
41990 Rewrite to reduce FPCR/FPSR accesses.
41991
41992 2014-06-01 David S. Miller <davem@davemloft.net>
41993
41994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41995
41996 2014-05-31 David S. Miller <davem@davemloft.net>
41997
41998 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
41999 to occur in round to nearest mode when |x| >= 2.0
42000
42001 2014-05-30 Richard Henderson <rth@twiddle.net>
42002
42003 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42004 (PSEUDO_RET_NOERRNO): Remove.
42005 (ret): Don't redefine.
42006 (ret_NOERRNO): Define in terms of ret.
42007 (ret_ERRVAL): Likewise.
42008
42009 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42010 use of PSEUDO_RET; perform the error check directly.
42011
42012 2014-05-30 Marko Myllynen <myllynen@redhat.com>
42013
42014 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42015 with __int128_t.
42016
42017 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42018
42019 * malloc/malloc (malloc_info): Fix formatting.
42020
42021 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42022 Roland McGrath <roland@hack.frob.com>
42023
42024 * malloc/malloc (malloc_info): Also print mmapped statistics.
42025
42026 2014-05-30 Roland McGrath <roland@hack.frob.com>
42027
42028 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42029 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42030
42031 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
42032
42033 * malloc/malloc.c (malloc_info): Inline mi_arena.
42034
42035 2014-05-29 Richard Henderson <rth@twiddle.net>
42036
42037 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42038 Remove comma before expanding ASM_ARGS_##nr.
42039 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42040 Make _x0 a strict output; make _x8 a strict input; adjust expansion
42041 of ASM_ARGS_##nr.
42042 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42043 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42044 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42045 (ASM_ARGS_1): Add leading comma.
42046
42047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42048 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42049 to __errno_location.
42050 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42051 Remove the expected plt for __errno_location.
42052
42053 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42054 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42055 call to __read_tp.
42056
42057 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42058 Always allocate 64 bytes of stack frame. Use ldp/stp to create
42059 it and break it down.
42060 (DOCARGS_0, DOCARGS_1): Do nothing.
42061 (DOCARGS_2): Update to store into the new stack frame.
42062 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42063 (UNDOCARGS_1): Update to restore from the new stack frame.
42064 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42065 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42066
42067 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42068 (SINGLE_THREAD_P): New parameter for result regno.
42069 (PSEUDO): Update to match; use cbz instead of beq.
42070
42071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42072 Use ENTRY to define the _nocancel entry point. Share the syscall
42073 and syscall error check paths with the cancel path.
42074 (PSEUDO_END): New.
42075
42076 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42077 whitespace; tabs before and after asm mnemonics.
42078
42079 2014-05-29 Eric Wong <normalperson@yhbt.net>
42080
42081 [BZ #15132]
42082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42083 Call fstat64 or stat64 internally, depending on arguments passed.
42084 Replace stat buffer argument with file descriptor argument.
42085 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42086 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42087 Pass fd to __internal_statvfs instead of calling fstat64.
42088 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42089 Pass fd to __internal_statvfs64 instead of calling fstat64.
42090 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42091 Pass -1 to __internal_statvfs instead of calling stat64.
42092 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42093 Pass -1 to __internal_statvfs64 instead of calling stat64.
42094
42095 2014-05-28 Roland McGrath <roland@hack.frob.com>
42096
42097 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42098 that was previously under [RESET_PID].
42099 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42100
42101 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42102 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42103
42104 2014-05-27 Roland McGrath <roland@hack.frob.com>
42105
42106 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42107
42108 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42109 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42110
42111 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
42112
42113 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42114
42115 2014-05-27 Andreas Schwab <schwab@suse.de>
42116
42117 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42118 TLS_INIT_TP macro.
42119 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42120 * elf/rtld.c (init_tls, dl_main): Likewise.
42121 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42122 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42123 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42124 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42125 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42126 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42127 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42128 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42129 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42130 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42131 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42132 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42133 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42134 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42135 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42136 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42137 * sysdeps/generic/tls.h: Update description.
42138
42139 2014-05-27 Will Newton <will.newton@linaro.org>
42140
42141 [BZ #16990]
42142 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42143 and restore r2 rather than just restoring.
42144
42145 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42146
42147 [BZ #16724]
42148 * libio/tst-ftell-append.c: New test case.
42149 * libio/Makefile (tests): Add test case.
42150 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42151 append mode.
42152 * libio/wfileops.c (do_ftell_wide): Likewise.
42153
42154 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42155
42156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42157
42158 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42159 ...
42160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42162 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42163 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42164 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42165 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42166 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42167 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42169 Moved ...
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42172 Moved ...
42173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42174 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42175 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42176 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42177 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42178 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42179 ...
42180 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42181 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42182 Moved ...
42183 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42184 here.
42185 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42186 ...
42187 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42188 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42189 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42190
42191 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42192 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42193 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42194 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42195
42196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42197 merge into ...
42198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42200 ...
42201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42203 ...
42204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42206 Moved ...
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42208 here.
42209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42210 Moved ...
42211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42213 Moved ...
42214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42215
42216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42217 conditional [RESET_PID].
42218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42220 removed.
42221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42222 removed.
42223
42224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42225 <tcb-offsets.h>.
42226 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42227 (__libc_vfork): New strong alias.
42228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42229 removed.
42230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42231 Removed.
42232
42233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42234 <tcb-offsets.h>.
42235 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42236 (__libc_vfork): New strong alias.
42237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42238 removed.
42239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42240 removed.
42241
42242 2014-05-26 Carlos O'Donell <carlos@redhat.com>
42243
42244 * malloc/malloc.c (mi_arena): New function.
42245 (malloc_info): Remove nested function mi_arena. Call non-nosted
42246 function mi_arena.
42247
42248 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42249
42250 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42251 by insrwi.
42252 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42253 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42254 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42255 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42256 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42257 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42258 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42259
42260 2014-05-26 Andreas Schwab <schwab@suse.de>
42261
42262 [BZ #16984]
42263 * locale/programs/repertoire.c (repertoire_read): Add slash
42264 between I18NPATH element and file name.
42265 * locale/programs/locfile.c (locfile_read): Likewise.
42266
42267 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
42268
42269 * nptl/pthread_mutexattr_settype.c
42270 (__pthread_mutexattr_settype):
42271 Disable lock elision for PTHREAD_MUTEX_NORMAL.
42272
42273 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
42274
42275 * nptl/tst-mutex5 (do_test):
42276 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42277
42278 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42279
42280 * benchtests/README: Document 'init' directive.
42281 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42282 BENCH_INIT.
42283 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42284 (parse_file): Recognize 'init' directive.
42285
42286 2014-05-26 Kyle McMartin <kyle@redhat.com>
42287
42288 [BZ #16796]
42289 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42290 alignment of struct pthread.
42291
42292 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42293
42294 [BZ #16878]
42295 * nscd/netgroupcache.c (addgetnetgrentX): Look for
42296 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42297 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42298 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42299
42300 2014-05-25 Richard Henderson <rth@twiddle.net>
42301
42302 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42303 (SINGLE_THREAD_P_PIC): Remove.
42304 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42305 (SINGLE_THREAD_P_PIC): Remove.
42306
42307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42308 branch to syscall error ...
42309 (PSEUDO): ... here.
42310 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42311 from __local_syscall_error to .Lsyscall_error.
42312 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42313 (SYSCALL_ERROR): Update label name.
42314
42315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42316 Do not use DOARGS/UNDOARGS.
42317 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42318 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42319 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42320 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42321 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42322
42323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42324 block comment.
42325
42326 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42327 define if !NOT_IN_libc.
42328 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42329 define with non-default symbol versions.
42330
42331 2014-05-23 Richard Henderson <rth@twiddle.net>
42332
42333 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42334 (vfork, __vfork): Define via compat_symbol.
42335
42336 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42337 [!HAVE_IFUNC] (vfork_compat): Remove.
42338 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42339
42340 2014-05-23 Joseph Myers <joseph@codesourcery.com>
42341
42342 [BZ #16978]
42343 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42344 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42345 variable.
42346
42347 2014-05-23 Richard Henderson <rth@twiddle.net>
42348
42349 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42350 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42351 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42352 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42353
42354 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42355 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42356 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42357 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42358 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42359 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42360 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42361 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42362 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42363 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42364 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42365 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42366 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42367 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42368 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42369 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42370 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42371 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42372 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42374 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42375 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
42376 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
42377 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
42378 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
42379 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
42380 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
42381 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
42382 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
42383 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
42384 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
42385 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
42386 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
42387 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42388 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
42389 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
42390 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
42391 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
42392 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
42393 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
42394 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
42395 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
42396 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
42397 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
42398 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
42399 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
42400 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
42401 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
42402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
42403 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
42404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
42405 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
42406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
42407 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
42408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
42409 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
42410
42411 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
42412 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
42413 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
42414 before exiting on error.
42415 (__libc_vfork): New strong alias.
42416 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
42417 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
42418
42419 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
42420 that was previously under [RESET_PID].
42421 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
42422
42423 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
42424
42425 2014-05-23 Joseph Myers <joseph@codesourcery.com>
42426
42427 [BZ #16977]
42428 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
42429 value when x - 1 is zero.
42430 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
42431 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
42432 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
42433 0.0L for an argument of 1.0L.
42434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
42435 Likewise.
42436 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
42437 value when x - 1 is zero.
42438 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
42439 * sysdeps/i386/fpu/libm-test-ulps: Update.
42440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42441
42442 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
42443
42444 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
42445 alphasort and versionsort.
42446
42447 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42448
42449 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
42450 macro.
42451 [copysignf]: Likewise.
42452
42453 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42454
42455 * crypt/md5-crypt.c: Fix formatting.
42456
42457 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42458
42459 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
42460 (b64_from_24bit): New function.
42461
42462 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42463
42464 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
42465 libc_hidden_builtin_def to ifunc.
42466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42467 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
42468
42469 2014-05-21 Roland McGrath <roland@hack.frob.com>
42470
42471 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
42472 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
42473
42474 2014-05-21 Joseph Myers <joseph@codesourcery.com>
42475
42476 * nscd/Depend (linuxthreads): Remove.
42477 (nptl): Add.
42478 * resolv/Depend (linuxthreads): Remove.
42479 * rt/Depend (linuxthreads): Remove.
42480
42481 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
42482 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
42483 $(common-objpfx)elf/.
42484 (link-libc-before-gnulib): Likewise.
42485 (elfobjdir): Remove variable.
42486 * Makefile (install): Use $(elf-objpfx) instead of
42487 $(common-objpfx)elf/.
42488 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
42489 $(elfobjdir)/.
42490 (link-libc-deps): Likewise.
42491 ($(common-objpfx)libc.so): Likewise.
42492 ($(common-objpfx)linkobj/libc.so): Likewise.
42493 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
42494 instead of $(common-objpfx)elf/.
42495 (symbolic-link-list): Likewise.
42496 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42497 [$(cross-compiling) = no]: Likewise.
42498 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
42499 $(elfobjdir)/.
42500 (static-gnulib-arch): Likewise.
42501 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42502 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
42503 $(common-objpfx)elf/.
42504
42505 2014-05-21 Richard Henderson <rth@redhat.com>
42506
42507 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42508 (SINGLE_THREAD_P): Use the correct width load. Fold
42509 into the ldr offset.
42510
42511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
42512 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
42513
42514 2014-05-20 Joseph Myers <joseph@codesourcery.com>
42515
42516 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
42517 (libgcc_s_resume): Use __attribute_used__.
42518 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
42519 Likewise.
42520
42521 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42522
42523 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
42524 optimization when used with float constants.
42525
42526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42527
42528 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
42529
42530 [BZ #16915]
42531 * locale/nl_langinfo_l.c: Make direct reference to every
42532 _nl_current_CATEGORY symbol.
42533 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
42534 (tests-static): Add tst-langinfo-static.
42535 (tests-special): Add tst-langinfo-static.out.
42536 ($(objpfx)tst-langinfo.out): Redirect output.
42537 ($(objpfx)tst-langinfo-static.out): New.
42538 * localedata/tst-langinfo.sh: Send output to stdout.
42539 * localedata/tst-langinfo-static.c: New file.
42540
42541 [BZ #16965]
42542 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
42543 when the shift amount is modulo the limb size.
42544
42545 2014-05-20 Richard Henderson <rth@redhat.com>
42546
42547 [BZ #16967]
42548 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
42549 Change type of sa_flags from unsigned int to int.
42550
42551 [BZ #16966]
42552 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
42553
42554 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
42555
42556 2014-05-20 Will Newton <will.newton@linaro.org>
42557
42558 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42559 Test the return value of the system call in the nocancel case.
42560
42561 2014-05-20 Will Newton <will.newton@linaro.org>
42562 Yvan Roux <yvan.roux@linaro.org>
42563
42564 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
42565 #include of asm/ptrace.h.
42566 (PTRACE_GET_THREAD_AREA): Remove #undef.
42567 (PTRACE_GETHBPREGS): Likewise.
42568 (PTRACE_SETHBPREGS): Likewise.
42569 (struct user_regs_struct): New structure.
42570 (struct user_fpsimd_struct): New structure.
42571 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
42572 #include of asm/ptrace.h and second #include of sys/user.h.
42573 (PTRACE_GET_THREAD_AREA): Remove #undef.
42574 (PTRACE_GETHBPREGS): Likewise.
42575 (PTRACE_SETHBPREGS): Likewise.
42576 (ELF_NGREG): Use new struct user_regs_struct.
42577 (elf_fpregset_t): Use new struct user_fpsimd_struct.
42578
42579 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42580
42581 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
42582 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
42583
42584 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
42585
42586 [BZ #16958]
42587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
42588 membar to avoid block loads/stores to overlap previous stores.
42589
42590 2014-05-17 Richard Henderson <rth@redhat.com>
42591
42592 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
42593 Create the __##syscall_name##_nocancel entry point.
42594 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
42595 Remove; let the sysdep-cancel.h code create it.
42596
42597 2014-05-17 David S. Miller <davem@davemloft.net>
42598
42599 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
42600 Protect with __USE_GNU.
42601 (TIOCSET_TEMPT): Likewise.
42602 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42603 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
42604 these are already provided in bits/ioctl-types.h
42605
42606 2014-05-16 Roland McGrath <roland@hack.frob.com>
42607
42608 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
42609 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
42610
42611 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
42612 Use wait4 regardless of [__NR_waitpid].
42613
42614 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
42615
42616 PR libgcc/60166
42617 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42618 (_FP_NANSIGN_Q): Set the quiet bit.
42619
42620 2014-05-16 Joseph Myers <joseph@codesourcery.com>
42621
42622 * benchtests/Makefile
42623 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
42624 not $(common-objpfx)math/libm.so.
42625 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
42626 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
42627 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
42628 $(common-objpfx)dlfcn/libdl.so.
42629 ($(objpfx)tst-audit8): Depend on $(libm), not
42630 $(common-objpfx)math/libm.so.
42631 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
42632 not $(common-objpfx)dlfcn/libdl.so.
42633 * math/Makefile
42634 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42635 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
42636 [$(build-shared) = yes].
42637 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
42638 $(common-objpfx)nptl/libpthread.so.
42639 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
42640 $(common-objpfx)math/libm.so$(libm.so-version) or
42641 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
42642 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
42643 $(common-objpfx)dlfcn/libdl.so.
42644 * setjmp/Makefile (link-libm): Remove variable.
42645 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
42646 * stdio-common/Makefile (link-libm): Remove variable.
42647 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
42648 * stdlib/Makefile (link-libm): Remove variable.
42649 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
42650 ($(objpfx)tst-strtod-round): Likewise.
42651 ($(objpfx)tst-tininess): Likewise.
42652 ($(objpfx)tst-strtod-underflow): Likewise.
42653 ($(objpfx)tst-strtod6): Likewise.
42654 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
42655 $(libdl), not $(common-objpfx)nptl/libpthread.so and
42656 $(common-objpfx)dlfcn/libdl.so.
42657
42658 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42659
42660 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
42661 BSD terminal modes definitions.
42662
42663 2014-05-16 Roland McGrath <roland@hack.frob.com>
42664
42665 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
42666 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
42667
42668 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
42669 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
42670 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
42671 Don't do #include_next.
42672 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
42673 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
42674 Don't do #include_next.
42675 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
42676 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
42677 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
42678 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
42679
42680 2014-05-16 Allan McRae <allan@archlinux.org>
42681
42682 * po/sv.po: Update Swedish translation from translation project.
42683
42684 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
42685 in sed expression.
42686
42687 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
42688
42689 [BZ #16917]
42690 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
42691 errno if the TIOCGPTN ioctl fails with an error different than
42692 EINVAL.
42693 * login/tst-ptsname.c: New file.
42694 * login/Makefile (tests): Add tst-ptsname.
42695
42696 [BZ #16943]
42697 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
42698 and prlimit64.
42699
42700 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42701
42702 [BZ #16849]
42703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
42704 herrno to return EAI_AGAIN.
42705
42706 2014-05-14 Roland McGrath <roland@hack.frob.com>
42707
42708 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
42709 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
42710 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
42711 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
42712 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
42713 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
42714 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
42715 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
42716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
42717 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
42718 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
42719 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
42720 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
42721 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
42722 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
42723 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
42724 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
42725 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
42726 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
42727 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
42728 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
42729 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
42730 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
42731 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
42732 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
42733 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
42734 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
42735 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
42736 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
42737 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
42738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
42739 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
42740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
42741 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
42742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42743 Moved ...
42744 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
42745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
42746 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
42747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
42748 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
42749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
42750 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
42751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
42752 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
42753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
42754 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
42755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
42756 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
42757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
42758 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
42759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
42760 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
42761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
42762 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
42763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
42764 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
42765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
42766 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
42767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
42768 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
42769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
42770 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
42771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42772 Moved ...
42773 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
42774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
42775 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
42776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
42777 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
42778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
42779 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
42780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
42781 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
42782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
42783 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
42784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
42785 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
42786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
42787 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
42788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
42789 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
42790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
42791 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
42792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42793 Moved ...
42794 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
42795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
42796 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
42797
42798 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
42799 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
42800 (libpthread-sysdep_routines): Add elision-related stuff here instead.
42801 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
42802 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
42803 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
42804 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
42805 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
42806 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
42807 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
42808 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
42809 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
42810 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
42811 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
42812 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
42813 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
42814 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
42815 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
42816 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
42817 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
42818 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
42819 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
42820 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
42821 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
42822 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
42823 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
42824 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
42825 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
42826 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
42827 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
42828 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
42829
42830 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
42831 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
42832
42833 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
42834 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
42835 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
42836 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
42837 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
42838 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
42839 Moved ...
42840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
42841 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
42842 Moved ...
42843 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
42844 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
42845 Moved ...
42846 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
42847 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
42848 Moved ...
42849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
42850 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
42851 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
42852 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
42853 Moved ...
42854 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
42855 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
42856 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
42857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
42858 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
42859 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
42860 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
42861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
42862 Moved ...
42863 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
42864 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42865 Moved ...
42866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42867 ... here.
42868 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
42869 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
42870 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
42871 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
42872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42873 Moved ...
42874 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42875 ... here.
42876 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
42877 Moved ...
42878 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
42879 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
42880 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
42881 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
42882 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
42883 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
42884 Moved ...
42885 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
42886 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
42887 Moved ...
42888 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
42889 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
42890 Moved ...
42891 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
42892 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
42893 Moved ...
42894 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
42895 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
42896 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
42897 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
42898 Moved ...
42899 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
42900 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
42901 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
42902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
42903 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
42904 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
42905 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
42906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
42907 Moved ...
42908 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
42909 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42910 Moved ...
42911 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42912 ... here.
42913 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
42914 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
42915 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
42916 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
42917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42918 Moved ...
42919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42920 ... here.
42921 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
42922 Moved ...
42923 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
42924 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
42925 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
42926 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
42927 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
42928 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
42929 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
42930 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
42931 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
42932 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
42933 Moved ...
42934 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
42935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
42936 Moved ...
42937 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
42938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
42939 Moved ...
42940 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
42941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
42942 Moved ...
42943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
42944 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
42945 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
42946 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
42947 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
42948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
42949 Moved ...
42950 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
42951 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
42952 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
42953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
42954 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
42955 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
42956 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
42957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
42958 Moved ...
42959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
42960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42961 Moved ...
42962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42963 ... here.
42964 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
42965 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
42966 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
42967 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
42968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42969 Moved ...
42970 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42971 ... here.
42972 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
42973 Moved ...
42974 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
42975 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
42976 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
42977 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
42978 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
42979 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
42980 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
42981 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
42982 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
42983 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
42984 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
42985
42986 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
42987 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
42988
42989 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
42990 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
42991
42992 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
42993 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
42994 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
42995 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
42996 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
42997 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
42998 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
42999 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43000 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43001 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43003 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43004 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43005 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43006 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43008 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43010 Moved ...
43011 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43012 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43013 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43015 Moved ...
43016 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43018 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43020 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43022 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43024 Moved ...
43025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43027 Moved ...
43028 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43030 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43034 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43035 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43036 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43037 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43038 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43039 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43040 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43041 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43042 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43043 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43044 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43045
43046 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43047 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43048 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43049 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43050 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43051
43052 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43053 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43054 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43055 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43056 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43057 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43058 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43059 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43060 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43061 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43062
43063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43065
43066 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43067 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43068 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43069 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43070 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43071 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43072 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43073 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43074 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43075 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43076 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43077 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43078 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43079 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43081 Update #include.
43082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43083 Likewise.
43084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43085 Likewise.
43086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43087 Likewise.
43088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43089 Likewise.
43090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43091 Likewise.
43092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43093 Likewise.
43094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43095 Likewise.
43096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43097 Likewise.
43098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43099 Likewise.
43100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43101 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43102 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43105 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43106 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43107 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43109 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43110 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43112 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
43114 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
43115
43116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43117 that was previously under [RESET_PID].
43118 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43119 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43120 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43121
43122 * sysdeps/i386/nptl/Implies: New file.
43123 * sysdeps/x86_64/nptl/Implies: New file.
43124 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43125 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43126 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43127 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43128
43129 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43130 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43131 (__libc_vfork): New strong alias.
43132 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43133 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43134
43135 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43136 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43137 (__libc_vfork): New strong alias.
43138 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43139 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43140
43141 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43142 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43143 (__libc_vfork): New strong alias.
43144 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43145 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43146 * nptl/pt-vfork.c: New file.
43147 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43148 (libpthread: GLIBC_2.20): New version set (empty).
43149
43150 2014-05-14 Will Newton <will.newton@linaro.org>
43151
43152 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43153 rather than #if.
43154
43155 2014-05-14 Joseph Myers <joseph@codesourcery.com>
43156
43157 [BZ #16564]
43158 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43159 arguments with exponent 65 or above.
43160 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43161 arguments 0x1p113L or above.
43162 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43163 to arguments 0x1p107L or above.
43164 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43165 positive arguments with exponent 65 or above.
43166 * math/auto-libm-test-in: Add more tests of log1p.
43167 * math/auto-libm-test-out: Regenerated.
43168
43169 [BZ #16928]
43170 * math/s_cacos.c (__cacos): Ensure zero real part of result from
43171 non-finite arguments is +0.
43172 * math/s_cacosf.c (__cacosf): Likewise.
43173 * math/s_cacosl.c (__cacosl): Likewise.
43174 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43175 * sysdeps/i386/fpu/libm-test-ulps: Update.
43176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43177
43178 [BZ #16927]
43179 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43180 value.
43181 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43182 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43183 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43184 for explicit high bit of mantissa when testing for argument equal
43185 to 1.
43186 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43187 * sysdeps/i386/fpu/libm-test-ulps: Update.
43188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43189
43190 [BZ #16516]
43191 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43192 (__erf): Scale by 16 instead of 8 in potentially underflowing
43193 case. Ensure exception if result actually underflows.
43194 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43195 (__erff): Scale by 16 instead of 8 in potentially underflowing
43196 case. Ensure exception if result actually underflows.
43197 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43198 (efx8): Remove variable.
43199 (__erfl): Scale by 16 instead of 8 in potentially underflowing
43200 case. Ensure exception if result actually underflows.
43201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43202 (efx8): Remove variable.
43203 (__erfl): Scale by 16 instead of 8 in potentially underflowing
43204 case. Ensure exception if result actually underflows.
43205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43206 (efx8): Remove variable.
43207 (__erfl): Scale by 16 instead of 8 in potentially underflowing
43208 case. Ensure exception if result actually underflows.
43209 * math/auto-libm-test-in: Add more tests of erf.
43210 * math/auto-libm-test-out: Regenerated.
43211
43212 2014-05-14 Andreas Schwab <schwab@suse.de>
43213
43214 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43215 Remove code conditionalized on USE___THREAD.
43216
43217 * config.h.in (HAVE_PT_CHOWN): Define as 0.
43218 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43219 not definedness.
43220
43221 2014-05-14 Joseph Myers <joseph@codesourcery.com>
43222
43223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43224 Define unconditionally.
43225 (__ASSUME_O_CLOEXEC): Likewise.
43226 (__ASSUME_SOCK_CLOEXEC): Likewise.
43227 (__ASSUME_IN_NONBLOCK): Likewise.
43228 (__ASSUME_PIPE2): Likewise.
43229 (__ASSUME_EVENTFD2): Likewise.
43230 (__ASSUME_SIGNALFD4): Likewise.
43231 (__ASSUME_DUP3): Likewise.
43232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43233 (__ASSUME_DUP3): Do not define.
43234 (__ASSUME_EVENTFD2): Likewise.
43235 (__ASSUME_IN_NONBLOCK): Likewise.
43236 (__ASSUME_O_CLOEXEC): Likewise.
43237 (__ASSUME_PIPE2): Likewise.
43238 (__ASSUME_SIGNALFD4): Likewise.
43239 (__ASSUME_SOCK_CLOEXEC): Likewise.
43240 (__ASSUME_UTIMES): Undefine.
43241 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43242 (__ASSUME_UTIMES): Do not define.
43243 (__ASSUME_O_CLOEXEC): Likewise.
43244 (__ASSUME_SOCK_CLOEXEC): Likewise.
43245 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43246 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43247 0x020621].
43248 (__ASSUME_PIPE2): Likewise.
43249 (__ASSUME_EVENTFD2): Likewise.
43250 (__ASSUME_SIGNALFD4): Likewise.
43251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43252 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43253 Do not define.
43254 (__ASSUME_EVENTFD2): Likewise.
43255 (__ASSUME_SIGNALFD4): Likewise.
43256 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43257 (__ASSUME_32BITUIDS): Likewise.
43258 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43259 (__ASSUME_IPC64): Likewise.
43260 (__ASSUME_ST_INO_64_BIT): Likewise.
43261 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43262 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43263 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43264 (__ASSUME_UTIMES): Do not define.
43265 (__ASSUME_PSELECT): Likewise.
43266 (__ASSUME_PPOLL): Likewise.
43267 (__ASSUME_O_CLOEXEC): Likewise.
43268 (__ASSUME_SOCK_CLOEXEC): Likewise.
43269 (__ASSUME_IN_NONBLOCK): Likewise.
43270 (__ASSUME_PIPE2): Likewise.
43271 (__ASSUME_EVENTFD2): Likewise.
43272 (__ASSUME_SIGNALFD4): Likewise.
43273 (__ASSUME_DUP3): Likewise.
43274 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43275 (__ASSUME_UTIMES): Likewise.
43276 (__ASSUME_O_CLOEXEC): Likewise.
43277 (__ASSUME_SOCK_CLOEXEC): Likewise.
43278 (__ASSUME_IN_NONBLOCK): Likewise.
43279 (__ASSUME_PIPE2): Likewise.
43280 (__ASSUME_EVENTFD2): Likewise.
43281 (__ASSUME_SIGNALFD4): Likewise.
43282 (__ASSUME_DUP3): Likewise.
43283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43284 (__ASSUME_UTIMES): Likewise.
43285 (__ASSUME_O_CLOEXEC): Likewise.
43286 (__ASSUME_SOCK_CLOEXEC): Likewise.
43287 (__ASSUME_IN_NONBLOCK): Likewise.
43288 (__ASSUME_PIPE2): Likewise.
43289 (__ASSUME_EVENTFD2): Likewise.
43290 (__ASSUME_SIGNALFD4): Likewise.
43291 (__ASSUME_DUP3): Likewise.
43292 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43293 Likewise.
43294 (__ASSUME_UTIMES): Likewise.
43295 (__ASSUME_EVENTFD2): Likewise.
43296 (__ASSUME_SIGNALFD4): Likewise.
43297 * sysdeps/unix/sysv/linux/tile/kernel-features.h
43298 (__ASSUME_O_CLOEXEC): Likewise.
43299 (__ASSUME_SOCK_CLOEXEC): Likewise.
43300 (__ASSUME_IN_NONBLOCK): Likewise.
43301 (__ASSUME_PIPE2): Likewise.
43302 (__ASSUME_EVENTFD2): Likewise.
43303 (__ASSUME_SIGNALFD4): Likewise.
43304 (__ASSUME_DUP3): Likewise.
43305 (__ASSUME_UTIMES): Undefine.
43306
43307 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43308 feclearexcept. Remove symbol versioning code.
43309 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
43310 symbol versioning code.
43311 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
43312 symbol versioning code.
43313 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43314 feupdateenv. Remove symbol versioning code.
43315 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43316 fegetexceptflag. Remove symbol versioning code.
43317 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43318 fesetexceptflag. Remove symbol versioning code.
43319 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43320 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
43321 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43322 (__posix_fadvise64_l32): Remove prototype.
43323 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43324 code.
43325
43326 2014-05-13 Roland McGrath <roland@hack.frob.com>
43327
43328 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43329 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43330 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43331 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43332
43333 2014-05-13 Sami Kerola <kerolasa@iki.fi>
43334
43335 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43336 current working directory
43337
43338 2014-05-13 Roland McGrath <roland@hack.frob.com>
43339
43340 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43341 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43342 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43343 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43344 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43345 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43346 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43347 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43348 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43349 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43350 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43351 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43352 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43353 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43354 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43355 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43356 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43357 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43358 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43359 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43360 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43361 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43362 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43363 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43364 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43365 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43366 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43367 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43368 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43369 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43370 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43371 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43372 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43373 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43374 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43375 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
43376 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
43377 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
43378 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
43379 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
43380 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
43381 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
43382
43383 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
43384 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
43385
43386 * sysdeps/unix/sysv/linux/arm/Makefile
43387 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
43388 Add rt-aeabi_unwind_cpp_pr1.
43389 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
43390 Add nptl-aeabi_unwind_cpp_pr1.
43391 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
43392 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
43393 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
43394 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43395 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
43396 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43397
43398 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
43399 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
43400 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
43401 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
43402
43403 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
43404 Deconditionalize the code that was previously under [RESET_PID].
43405 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
43406
43407 * sysdeps/generic/exit-thread.h: New file.
43408 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
43409 * include/unistd.h (__exit_thread): Remove declaration.
43410 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
43411 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
43412 * csu/libc-start.c: Include <exit-thread.h>.
43413 (LIBC_START_MAIN): Pass no argument to __exit_thread.
43414 * nptl/pthread_create.c: Include <exit-thread.h>.
43415 (start_thread): Call __exit_thread in place of __exit_thread_inline.
43416 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
43417 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
43418 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
43419 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
43420 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
43421 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
43422 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43423 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
43424 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
43425 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
43426 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
43427 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
43428 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
43429 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
43430 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
43431 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
43432
43433 2014-05-13 Andreas Schwab <schwab@suse.de>
43434
43435 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
43436
43437 2014-05-12 Joseph Myers <joseph@codesourcery.com>
43438
43439 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43440 (__ASSUME_UTIMES): Do not condition on kernel version.
43441 (__ASSUME_PSELECT): Define unconditionally.
43442 (__ASSUME_PPOLL): Likewise.
43443 (__ASSUME_ATFCTS): Likewise.
43444 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
43445 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
43446 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
43447 (__ASSUME_UTIMENSAT): Define unconditionally.
43448 (__ASSUME_PRIVATE_FUTEX): Likewise.
43449 (__ASSUME_FALLOCATE): Likewise.
43450 (__ASSUME_O_CLOEXEC): Likewise.
43451 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
43452 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
43453 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
43454 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
43455 (__ASSUME_IN_NONBLOCK): Likewise.
43456 (__ASSUME_PIPE2): Likewise.
43457 (__ASSUME_EVENTFD2): Likewise.
43458 (__ASSUME_SIGNALFD4): Likewise.
43459 (__ASSUME_DUP3): Likewise.
43460 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43461 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
43462 (__ASSUME_AT_RANDOM): Likewise.
43463 (__ASSUME_PREADV): Likewise.
43464 (__ASSUME_PWRITEV): Likewise.
43465 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
43466 (__ASSUME_F_GETOWN_EX): Define unconditionally.
43467 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
43468 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43469 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
43470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43471 (__ASSUME_O_CLOEXEC): Define unconditionally.
43472 (__ASSUME_PSELECT): Do not undefine conditionally.
43473 (__ASSUME_PPOLL): Likewise.
43474 (__ASSUME_ATFCTS): Likewise.
43475 (__ASSUME_SET_ROBUST_LIST): Likewise.
43476 (__ASSUME_UTIMENSAT): Likewise.
43477 (__ASSUME_FDATASYNC): Define unconditionally.
43478 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43479 (__ASSUME_SIGFRAME_V2): Likewise.
43480 )__ASSUME_EVENTFD2): Likewise.
43481 (__ASSUME_SIGNALFD4): Likewise.
43482 (__ASSUME_PSELECT): Do not undefine conditionally.
43483 (__ASSUME_PPOLL): Likewise.
43484 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43485 (__ASSUME_PSELECT): Define unconditionally.
43486 (__ASSUME_PPOLL): Likewise.
43487 (__ASSUME_O_CLOEXEC): Likewise.
43488 (__ASSUME_SOCK_CLOEXEC): Likewise.
43489 (__ASSUME_IN_NONBLOCK): Likewise.
43490 (__ASSUME_PIPE2): Likewise.
43491 (__ASSUME_EVENTFD2): Likewise.
43492 (__ASSUME_SIGNALFD4): Likewise.
43493 (__ASSUME_DUP3): Likewise.
43494 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43495 (__ASSUME_O_CLOEXEC): Likewise.
43496 (__ASSUME_SOCK_CLOEXEC): Likewise.
43497 (__ASSUME_IN_NONBLOCK): Likewise.
43498 (__ASSUME_PIPE2): Likewise.
43499 (__ASSUME_EVENTFD2): Likewise.
43500 (__ASSUME_SIGNALFD4): Likewise.
43501 (__ASSUME_DUP3): Likewise.
43502 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43503 (__ASSUME_EVENTFD2): Likewise.
43504 (__ASSUME_SIGNALFD4): Likewise.
43505 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43506
43507 2014-05-12 Andreas Schwab <schwab@suse.de>
43508
43509 [BZ #16932]
43510 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
43511 (_nss_nis_gethostbyname4_r): Return error if item length is larger
43512 than maximum RPC packet size.
43513 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
43514 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
43515 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
43516 (_nss_nis_getservbyport_r): Likewise.
43517
43518 2014-05-12 Will Newton <will.newton@linaro.org>
43519
43520 * malloc/Makefile (tests): Add tst-mallopt.
43521 * malloc/tst-mallopt.c: New file.
43522
43523 2014-05-09 Roland McGrath <roland@hack.frob.com>
43524
43525 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
43526 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
43527
43528 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43529
43530 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
43531 (tst-tlsmod6.so): Likewise.
43532
43533 2014-05-09 Roland McGrath <roland@hack.frob.com>
43534
43535 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
43536
43537 2014-05-09 Joseph Myers <joseph@codesourcery.com>
43538
43539 [BZ #16064]
43540 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
43541 and <dl-procinfo.h>.
43542 (__fegetenv): Save SSE state in envp->__eip if supported.
43543 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
43544 envp->__eip if supported.
43545 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
43546 and <dl-procinfo.h>.
43547 (__fesetenv): Always set __eip, __cs_selector, __opcode,
43548 __data_offset and __data_selector in environment to 0. Set SSE
43549 state if supported.
43550 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
43551 test-fenv-sse.
43552 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
43553 -mfpmath=sse.
43554 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
43555
43556 2014-05-09 Will Newton <will.newton@linaro.org>
43557
43558 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
43559 and libc_relro_required for ARM.
43560 * sysdeps/arm/preconfigure: Regenerate.
43561
43562 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
43563 Stefan Liebler <stli@linux.vnet.ibm.com>
43564
43565 * config.make.in (enable-lock-elision): New Makefile variable.
43566 * configure.ac: Likewise.
43567 * configure: Regenerate.
43568 * sysdeps/s390/configure.ac:
43569 Add check for gcc transactions support.
43570 * sysdeps/s390/configure: Regenerate.
43571 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
43572 Build elision files if enabled.
43573 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
43574 Add lock elision support for s390.
43575 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
43576 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
43577 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
43578 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
43579 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
43580 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
43581 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43582 Likewise.
43583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
43584 Likewise.
43585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
43586 Likewise.
43587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
43588 Likewise.
43589 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
43590 (__lll_timedlock_elision, __lll_lock_elision)
43591 (__lll_unlock_elision, __lll_trylock_elision)
43592 (lll_timedlock_elision, lll_lock_elision)
43593 (lll_unlock_elision, lll_trylock_elision): Add.
43594 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43595 (pthread_mutex_t): Add lock elision support for s390.
43596
43597 2014-05-14 Wilco <wdijkstr@arm.com>
43598
43599 * sysdeps/arm/fclrexcpt.c: Cleanup.
43600 * sysdeps/arm/fedisblxcpt.c: Cleanup.
43601 * sysdeps/arm/feenablxcpt.c: Cleanup.
43602 * sysdeps/arm/fegetenv.c: Cleanup.
43603 * sysdeps/arm/fegetexcept.c: Cleanup.
43604 * sysdeps/arm/fegetround.c: Cleanup.
43605 * sysdeps/arm/feholdexcpt.c: Cleanup.
43606 * sysdeps/arm/fesetenv.c: Cleanup.
43607 * sysdeps/arm/fesetround.c: Cleanup.
43608 * sysdeps/arm/feupdateenv.c: Cleanup.
43609 * sysdeps/arm/fgetexcptflg.c: Cleanup.
43610 * sysdeps/arm/fraiseexcpt.c: Cleanup.
43611 * sysdeps/arm/fsetexcptflg.c: Cleanup.
43612 * sysdeps/arm/ftestexcept.c: Cleanup.
43613 * sysdeps/arm/get-rounding-mode.h: Cleanup.
43614 * sysdeps/arm/setfpucw.c: Cleanup.
43615
43616 2014-05-09 Will Newton <will.newton@linaro.org>
43617
43618 * sysdeps/arm/armv7/strcmp.S: New file.
43619 * NEWS: Mention addition of ARMv7 optimized strcmp.
43620
43621 2014-05-08 Roland McGrath <roland@hack.frob.com>
43622
43623 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
43624 look for %.ac rather than %.in.
43625
43626 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
43627 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
43628 * sysdeps/mach/hurd/configure: Regenerated.
43629 * sysdeps/unix/sysv/linux/configure: Regenerated.
43630
43631 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
43632
43633 2014-05-07 Steve Ellcey <sellcey@mips.com>
43634
43635 [BZ# 16922]
43636 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
43637 (LONG_SUB): Ditto.
43638 (PTR_SUB): Ditto.
43639
43640 2014-05-07 Andreas Schwab <schwab@suse.de>
43641
43642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
43643 when skipping over non-matching result from nscd.
43644
43645 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
43646
43647 [BZ #16876]
43648 * nptl/sockperf.c (client): Check socket return value.
43649
43650 [BZ #16877]
43651 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
43652 nscd security class.
43653
43654 2014-05-06 Roland McGrath <roland@hack.frob.com>
43655
43656 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
43657 * sysdeps/arm/unwind.h: ... here.
43658
43659 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
43660
43661 [BZ# 16916]
43662 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
43663 Define.
43664
43665 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43666
43667 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
43668 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
43669 multiarch strncpy for PPC64.
43670 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
43671 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
43672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
43673 multiarch optimizations.
43674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43675 (__libc_ifunc_impl_list): Likewise.
43676 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
43677 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
43678 multiarch stpncpy for PPC64.
43679 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
43680 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
43681
43682 2014-05-06 Andreas Schwab <schwab@suse.de>
43683
43684 [BZ #16912]
43685 * gmon/mcount.c (_MCOUNT_DECL): Use
43686 atomic_compare_and_exchange_bool_acq instead of
43687 catomic_compare_and_exchange_bool_acq.
43688
43689 2014-05-05 Roland McGrath <roland@hack.frob.com>
43690
43691 * elf/Makefile (others, install-bin): Remove pldd.
43692 (pldd-modules): Variable removed.
43693 ($(objpfx)pldd): Target removed.
43694 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
43695 (others, install-bin): Append pldd here.
43696 ($(objpfx)pldd): New target.
43697
43698 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
43699 to 0, so the first #if test emitted later doesn't see it undefined.
43700 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
43701 * sysdeps/gnu/errlist.c: Regenerated.
43702
43703 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43704
43705 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43706 [libc_hidden_builtin_def]: Define to empty value.
43707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
43708 [libc_hidden_builtin_def]: Likewise.
43709 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
43710 [libc_hidden_builtin_def]: Likewise.
43711 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
43712 [libc_hidden_builtin_def]: Likewise.
43713 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
43714 __redirect_memcpy and define ifunc as default hidden symbol.
43715 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
43716 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
43717
43718 2014-05-04 Adam Conrad <adconrad@0c3.net>
43719
43720 * locale/iso-4217.def: Reintroduce XDR currency.
43721
43722 2014-05-04 Allan McRae <allan@archlinux.org>
43723
43724 * po/eo.po: Update Esperanto translation from translation project.
43725
43726 2014-05-02 Carlos O'Donell <carlos@redhat.com>
43727
43728 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
43729 and FEATURE_INDEX_MAX to 1.
43730 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
43731
43732 2014-05-01 Steve Ellcey <sellcey@mips.com>
43733
43734 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
43735 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
43736 * iconvdata/big5.c (ONE_DIRECTION): Define.
43737 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
43738 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
43739 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
43740 * iconvdata/cp932.c (ONE_DIRECTION): Define.
43741 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
43742 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
43743 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
43744 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
43745 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
43746 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
43747 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
43748 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
43749 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
43750 * iconvdata/gbk.c (ONE_DIRECTION): Define.
43751 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
43752 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
43753 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
43754 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
43755 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
43756 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
43757 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
43758 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
43759 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
43760 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
43761 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
43762 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
43763 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
43764 * iconvdata/iso646.c (ONE_DIRECTION): Define.
43765 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
43766 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
43767 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
43768 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
43769 * iconvdata/johab.c (ONE_DIRECTION): Define.
43770 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
43771 * iconvdata/sjis.c (ONE_DIRECTION): Define.
43772 * iconvdata/t.61.c (ONE_DIRECTION): Define.
43773 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
43774 * iconvdata/tscii.c (ONE_DIRECTION): Define.
43775 * iconvdata/uhc.c (ONE_DIRECTION): Define.
43776 * iconvdata/unicode.c (ONE_DIRECTION): Define.
43777 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
43778 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
43779 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
43780
43781 2014-05-01 Roland McGrath <roland@hack.frob.com>
43782
43783 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
43784 (_IO_JUMPS_OFFSET): Define to 0.
43785
43786 * nptl/sysdeps/pthread/bits/libc-lock.h
43787 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43788 (__libc_lock_define_initialized_recursive): Always define using
43789 initializer. Modern compilers treat uninitialized (implicit zero) and
43790 explicit zero initializers the same (i.e. put the datum in bss).
43791
43792 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
43793
43794 * nscd/nscd-client.h: Include <string.h>.
43795
43796 2014-05-01 David S. Miller <davem@davemloft.net>
43797
43798 [BZ #16885]
43799 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
43800 multiple zero bytes exist at the end of a string.
43801 Reported by Aurelien Jarno <aurelien@aurel32.net>
43802
43803 * string/test-strcmp.c (check): Add explicit test for situations where
43804 there are multiple zero bytes after the first.
43805
43806 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
43807
43808 [BZ #16890]
43809 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
43810 when compiling wprintf.
43811 * stdio-common/tstdiomisc.c (t3): New function.
43812 (main): Call it.
43813
43814 2014-05-01 Steve Ellcey <sellcey@mips.com>
43815
43816 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
43817 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
43818 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
43819 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
43820
43821 2014-05-01 Steve Ellcey <sellcey@mips.com>
43822
43823 * stdlib/longlong.h: Updated from GCC.
43824
43825 2014-05-01 Will Newton <will.newton@linaro.org>
43826 Bernard Ogden <bernie.ogden@linaro.org>
43827
43828 * NEWS: Update fixed bug list.
43829
43830 [BZ #15119]
43831 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
43832
43833 2014-04-30 David S. Miller <davem@davemloft.net>
43834
43835 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
43836 (libc_feholdexcept_setround_sparc_ctx): New function.
43837 (libc_fesetenv_sparc_ctx): Likewise.
43838 (libc_feupdateenv_sparc_ctx): Likewise.
43839 (libc_feholdsetround_sparc_ctx): Likewise.
43840 (libc_feholdexcept_setround_ctx): Define.
43841 (libc_feholdexcept_setroundf_ctx): Likewise.
43842 (libc_feholdexcept_setroundl_ctx): Likewise.
43843 (libc_fesetenv_ctx): Likewise.
43844 (libc_fesetenvf_ctx): Likewise.
43845 (libc_fesetenvl_ctx): Likewise.
43846 (libc_feupdateenv_ctx): Likewise.
43847 (libc_feupdateenvf_ctx): Likewise.
43848 (libc_feupdateenvl_ctx): Likewise.
43849 (libc_feresetround_ctx): Likewise.
43850 (libc_feresetroundf_ctx): Likewise.
43851 (libc_feresetroundl_ctx): Likewise.
43852 (libc_feholdsetround_ctx): Likewise.
43853 (libc_feholdsetroundf_ctx): Likewise.
43854 (libc_feholdsetroundl_ctx): Likewise.
43855
43856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43857 with __USE_GNU instead of XOPEN cpp guards.
43858
43859 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
43860 0.
43861
43862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43863 with XOPEN cpp guards.
43864
43865 2014-04-30 Julian Brown <julian@codesourcery.com>
43866
43867 [BZ #16888]
43868 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
43869 handling.
43870
43871 2014-04-30 Joseph Myers <joseph@codesourcery.com>
43872
43873 [BZ #9894]
43874 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
43875 Change to 2.6.32.
43876 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
43877 * sysdeps/unix/sysv/linux/configure: Regenerated.
43878 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
43879 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
43880 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
43881 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
43882 * README: Update reference to required Linux kernel version.
43883 * manual/install.texi (Linux): Update reference to required Linux
43884 kernel headers version.
43885 * INSTALL: Regenerated.
43886
43887 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
43888 header inclusion.
43889 [POSIX] (limits.h): Likewise.
43890 [POSIX] (math.h): Likewise.
43891 [POSIX] (sys/wait.h): Likewise.
43892 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
43893 function.
43894 [POSIX] (stddef.h): Do not allow header inclusion.
43895
43896 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43897
43898 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
43899
43900 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
43901
43902 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
43903 Return immediately after lll_futex_wake.
43904
43905 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43906
43907 [BZ #16791]
43908 * nscd/nscd-client.h (datahead_init_common): Initialize entire
43909 structure.
43910 (datahead_init_pos): Call datahead_init_common early.
43911 (datahead_init_neg): Likewise.
43912
43913 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
43914 datahead_init_neg): New functions.
43915 * nscd/aicache.c (addhstaiX): Use them.
43916 * nscd/grpcache.c (cache_addgr): Likewise.
43917 * nscd/hstcache.c (cache_addhst): Likewise.
43918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43919 * nscd/netgroupcache.c (do_notfound): Likewise.
43920 (addgetnetgrentX): Likewise.
43921 (addinnetgrX): Likewise.
43922 * nscd/pwdcache.c (cache_addpw): Likewise.
43923 * nscd/servicescache.c (cache_addserv): Likewise.
43924
43925 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43926 Atsushi Onoe <atsushi@onoe.org>
43927
43928 [BZ #14308]
43929 [BZ #12994]
43930 [BZ #13651]
43931 * resolv/res_query.c (__libc_res_nsearch): Return if at least
43932 one response is valid.
43933 * resolv/res_send.c (send_dg): Check for validity of other
43934 response if the current response is a referral.
43935
43936 2014-04-29 Steve Ellcey <sellcey@mips.com>
43937
43938 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
43939
43940 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
43941
43942 [BZ #16823]
43943 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
43944 Always divide by positive zero when computing -Inf result.
43945 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43946 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43947
43948 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43949
43950 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
43951 FPSCR if value do not change.
43952 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43953 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
43954 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
43955 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43956 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
43957 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
43958 function.
43959
43960 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
43961
43962 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
43963 * sysdeps/unix/sysv/linux/hppa: Move directory from
43964 ports/systeps/unix/sysv/linux/hppa.
43965 * README: Update listing for hppa-*-linux-gnu.
43966
43967 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
43968
43969 [BZ #16754]
43970 * manual/stdio.texi (Hook functions): Fix types of stream hook
43971 functions.
43972 [BZ #16854]
43973 * socket/sys/socket.h: Fix typo in comment.
43974
43975 2014-04-28 Wilco <wdijkstr@arm.com>
43976
43977 * sysdeps/arm/fenv_private.h: New file.
43978 * sysdeps/arm/math_private.h: New file.
43979 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
43980
43981 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
43982
43983 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
43984 with __int128_t.
43985 (La_x86_64_retval): Likewise.
43986
43987 2014-04-24 Ian Bolton <ian.bolton@arm.com>
43988
43989 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
43990 fpsr if value didn't change.
43991 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
43992 to fpcr if value didn't change.
43993 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
43994 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
43995 fpsr or fpcr if value didn't change.
43996 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43997 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
43998 fpcr if value didn't change.
43999 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44000 to fpsr if value didn't change.
44001
44002 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44003
44004 * nptl/tst-sem3.c: Use test-skeleton.c
44005 (main): Rename to do_test. Use return instead of
44006 exit.
44007 * nptl/tst-sem4.c: Use test-skeleton.c
44008 (main): Rename to do_test.
44009
44010 2014-04-22 David S. Miller <davem@davemloft.net>
44011
44012 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44013 (struct sigaction): New struct member __glibc_reserved0, change
44014 type of sa_flags to int.
44015
44016 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
44017
44018 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44019 (COUNT_LEADING_ZEROS_0): Define for AArch64.
44020
44021 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44022
44023 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44024 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44025
44026 2014-04-22 Will Newton <will.newton@linaro.org>
44027 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
44028
44029 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44030 (__longjmp): Add longjmp and longjmp_target SystemTap
44031 probes.
44032 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44033 (__sigsetjmp): Add setjmp SystemTap probe.
44034
44035 2014-04-17 Carlos O'Donell <carlos@redhat.com>
44036
44037 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44038 match manual order.
44039
44040 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44041
44042 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44043
44044 * sysdeps/powerpc/fpu/fenv_private.h
44045 (libc_feholdexcept_setroundl_ctx): Define to
44046 libc_feholdexcept_setround_ppc_ctx.
44047 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44048 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44049 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44050 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44051
44052 2014-04-17 Ian Bolton <ian.bolton@arm.com>
44053
44054 * sysdeps/aarch64/math-tests.h: New file.
44055
44056 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
44057
44058 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44059 New.
44060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44061 Check and set bit_AVX2_Usable.
44062 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44063 macro.
44064 (bit_AVX2): Likewise.
44065 (index_AVX2_Usable): Likewise.
44066 (CPUID_AVX2): Likewise.
44067 (HAS_AVX2): Likewise.
44068
44069 2014-04-17 Will Newton <will.newton@linaro.org>
44070
44071 * manual/setjmp.texi (System V contexts): Add note that
44072 calling setcontext on a context created by a call to a
44073 signal handler is undefined. Update text to note that
44074 setcontext from a signal handler is possible but not
44075 recommended.
44076
44077 [BZ #16629]
44078 * stdlib/tst-setcontext.c: Include signal.h.
44079 (main): Check that the signal stack before and
44080 after swapcontext is the same.
44081
44082 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44083 Re-implement to restore registers in user code and avoid
44084 rt_sigreturn system call.
44085
44086 2014-04-17 Wilco <wdijkstr@arm.com>
44087
44088 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44089 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44090 * math/test-fenv.c: Skip exception trap tests on targets which only
44091 support non-stop mode.
44092
44093 2014-04-17 Ian Bolton <ian.bolton@arm.com>
44094 Wilco Dijkstra <wilco.dijkstra@arm.com>
44095
44096 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44097 (libc_feholdsetround_aarch64_ctx)
44098 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44099 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44100 (libc_feresetround_ctx, libc_feresetroundf_ctx)
44101 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44102 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44103 (libc_feresetround_noexl_ctx): Define.
44104
44105 2014-04-16 Richard Henderson <rth@redhat.com>
44106
44107 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44108
44109 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44110 unwind tables.
44111
44112 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44113 const from the non-libc, non-ldso copy.
44114
44115 * sysdeps/alpha/libm-test-ulps: Regenerate.
44116
44117 2014-04-16 Ian Bolton <ian.bolton@arm.com>
44118 Wilco Dijkstra <wilco.dijkstra@arm.com>
44119
44120 * sysdeps/aarch64/fpu/math_private.h: New file.
44121
44122 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
44123
44124 * sysdeps/aarch64/libm-test-ulps: Regenerate.
44125
44126 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
44127
44128 [BZ #16275]
44129 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44130 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44132 Intel MPX bound registers before _dl_profile_fixup.
44133 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44134 registers after _dl_profile_fixup. Save and restore bound
44135 registers bnd0/bnd1 when calling _dl_call_pltexit.
44136 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44137 (LR_BND_OFFSET): Likewise.
44138 (LRV_BND0_OFFSET): Likewise.
44139 (LRV_BND1_OFFSET): Likewise.
44140
44141 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44142
44143 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44144 to...
44145 * sysdeps/mach/hurd/i386/tls.h: ... here.
44146 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44147 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44148 fields.
44149
44150 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44151
44152 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44153
44154 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
44155
44156 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44157
44158 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
44159
44160 [BZ #14770]
44161 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44162 * sysdeps/s390/configure: Regenerate.
44163
44164 [BZ #16824]
44165 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44166 Set round-to-nearest internally to reduce error accumulation.
44167
44168 2014-04-16 Alan Modra <amodra@gmail.com>
44169
44170 [BZ #16740]
44171 [BZ #16619]
44172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44173 * math/libm-test.inc (frexp_test_data): Add tests.
44174 * NEWS: Update fixed bug list.
44175
44176 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44177
44178 * benchtests/Makefile: Depend on libraries in build directory.
44179 (bench-math): Separate out math tests.
44180 (bench-pthread): Separate out pthread tests.
44181 (bench): Include math and pthread tests.
44182
44183 2014-04-14 Carlos O'Donell <carlos@redhat.com>
44184
44185 [BZ #16831]
44186 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44187 _dl_debug_initialize.
44188
44189 * configure.ac: Remove SELinux header check.
44190 * configure: Regenerate.
44191 * nscd/selinux.c (perms): Array of const char* to permission names.
44192 (nscd_request_avc_has_perm): Call security_deny_unknown to find
44193 default policy. Call string_to_security_class and string_to_av_perm to
44194 translate strings. Enforce default policy and call avs_has_perm with
44195 results of translated strings.
44196
44197 2014-04-13 David S. Miller <davem@davemloft.net>
44198
44199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44200
44201 2014-04-12 Allan McRae <allan@archlinux.org>
44202
44203 [BZ #16838]
44204 * manual/string.texi (Collation Functions): Fix qsort argument
44205 order in example.
44206 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44207
44208 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
44209
44210 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44211 Make the test a no-op if there are no exceptions defined.
44212
44213 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
44214
44215 * elf/Makefile (tests): make tst-dlopen-aout conditional on
44216 enable-hardcoded-path-in-tests
44217
44218 2014-04-11 Will Newton <will.newton@linaro.org>
44219
44220 * benchtests/Makefile (extra-objs): Add json-lib.o.
44221 (bench-func): Tidy up JSON output.
44222 * benchtests/bench-skeleton.c: Include json-lib.h.
44223 (main): Use JSON library functions to do output of
44224 benchmark results.
44225 * benchtests/bench-timing-type.c (main): Output the
44226 timing type simply, leaving formatting to the user.
44227 * benchtests/json-lib.c: New file.
44228 * benchtests/json-lib.h: Likewise.
44229
44230 2014-04-11 Torvald Riegel <triegel@redhat.com>
44231
44232 [BZ #15215]
44233 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44234 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
44235 memory barriers. Add comments.
44236 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44237 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44238 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44239 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44240 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44241 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44242
44243 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
44244
44245 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44246 * sysdeps/s390/s390-64/configure.ac: ... this ...
44247 * sysdeps/s390/configure.ac: ... to here.
44248 * sysdeps/s390/s390-32/configure: Delete file.
44249 * sysdeps/s390/s390-64/configure: Delete file.
44250 * sysdeps/s390/configure: Regenerate.
44251
44252 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
44253
44254 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44255
44256 2014-04-11 Will Newton <will.newton@linaro.org>
44257
44258 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44259 to zero if it is not defined elsewhere. (mtrim): Test
44260 the value of MALLOC_DEBUG with #if rather than #ifdef.
44261
44262 2014-04-10 Torvald Riegel <triegel@redhat.com>
44263
44264 * benchtests/pthread_once-inputs: New file.
44265 * benchtests/pthread_once-source.c: New file.
44266 * benchtests/README: Update documentation.
44267
44268 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
44269 H.J. Lu <hongjiu.lu@intel.com>
44270
44271 [BZ #16275]
44272 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44273 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44274 * sysdeps/x86_64/configure: Regenerated.
44275 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44276 macro.
44277 (REGISTER_SAVE_RAX): Likewise.
44278 (REGISTER_SAVE_RCX): Likewise.
44279 (REGISTER_SAVE_RDX): Likewise.
44280 (REGISTER_SAVE_RSI): Likewise.
44281 (REGISTER_SAVE_RDI): Likewise.
44282 (REGISTER_SAVE_R8): Likewise.
44283 (REGISTER_SAVE_R9): Likewise.
44284 (REGISTER_SAVE_BND0): Likewise.
44285 (REGISTER_SAVE_BND1): Likewise.
44286 (REGISTER_SAVE_BND2): Likewise.
44287 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
44288 bound registers when calling _dl_fixup.
44289
44290 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44291
44292 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44293 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44294 of its definition.
44295 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44296 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44297 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44298 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44299 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44300 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44301 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44302
44303 2014-04-09 Peter Brett <peter@peter-b.co.uk>
44304
44305 [BZ #15514]
44306 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44307 pathconf(_PC_NAME_MAX).
44308
44309 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44310
44311 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44312 Remove macro usage.
44313 (__PTHREAD_SPINS): Move definition to ...
44314 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44315 (__PTHREAD_SPINS): ... here.
44316 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44317 (__PTHREAD_SPIN): Likewise.
44318 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44319 (__PTHREAD_SPIN): Likewise.
44320 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44321 (__PTHREAD_SPIN): Likewise.
44322 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44323 (__PTHREAD_SPIN): Likewise.
44324 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44325 (__PTHREAD_SPIN): Likewise.
44326 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44327 (__PTHREAD_SPIN): Likewise.
44328 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44329 (__PTHREAD_SPIN): Likewise.
44330 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44331 (__PTHREAD_SPIN): Likewise.
44332 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44333 (__PTHREAD_SPIN): Likewise.
44334 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44335 (__PTHREAD_SPIN): Likewise.
44336 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44337 (__PTHREAD_SPIN): Likewise.
44338 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44339 (__PTHREAD_SPIN): Likewise.
44340
44341 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44342 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44343 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44344 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44345 imply folder.
44346 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44347 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44348 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44349 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44350 correct imply path.
44351 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44352 strlen symbol for non multi-arch builds.
44353 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44354 missing hidden_def and weak_alias.
44355
44356 2014-04-08 Carlos O'Donell <carlos@redhat.com>
44357
44358 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44359
44360 2014-04-07 Will Newton <will.newton@linaro.org>
44361
44362 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44363 and contents. [!_LIBC] Remove #ifndef and contents.
44364 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
44365 * string/memccpy.c (__memccpy): Use ANSI prototype.
44366 * string/memfrob.c (memfrob): Likewise.
44367 * string/strcoll.c (STRCOLL): Likewise.
44368 * string/strlen.c (strlen): Likewise.
44369 * string/strtok.c (STRTOK): Likewise.
44370 * string/strcat.c: Remove unused #include of memcopy.h.
44371 (strcat): Use ANSI prototype.
44372 * string/strchr.c: Remove unused #include of memcopy.h.
44373 (strchr): Use ANSI prototype.
44374 * string/strcmp.c: Remove unused #include of memcopy.h.
44375 (strcmp): Use ANSI prototype.
44376 * string/strcpy.c: Remove unused #include of memcopy.h.
44377 (strcpy): Use ANSI prototype.
44378
44379 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44380
44381 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
44382 * config.make.in (config-extra-cppflags): Set it from
44383 libc_extra_cppflags.
44384 * configure.ac (libc_extra_cflags): Make it accumulate over
44385 configure fragments.
44386 (libc_extra_cppflags): New flag.
44387 * configure. Regenerate.
44388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44389 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
44390 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
44392
44393 [BZ #16815]
44394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
44395 result for FE_DOWNWARD rounding mode.
44396 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
44397 Likewise.
44398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44399
44400 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
44401
44402 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
44403 in function argument name.
44404
44405 2014-04-03 David Svoboda <svoboda@cert.org>
44406
44407 [BZ #5666]
44408 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
44409 explicitly.
44410
44411 2014-04-03 Roland McGrath <roland@hack.frob.com>
44412
44413 * elf/dl-unmap-segments.h: New file.
44414 * sysdeps/generic/ldsodefs.h
44415 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
44416 * elf/dl-close.c: Include <dl-unmap-segments.h>.
44417 * elf/dl-fptr.c: Likewise.
44418 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
44419 * sysdeps/aarch64/tlsdesc.c: Likewise.
44420 * sysdeps/arm/tlsdesc.c: Likewise.
44421 * sysdeps/i386/tlsdesc.c: Likewise.
44422 * sysdeps/tile/dl-runtime.c: Likewise.
44423 * sysdeps/x86_64/tlsdesc.c: Likewise.
44424 * elf/dl-load.h: New file.
44425 * elf/dl-load.c: Include it.
44426 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
44427 Macros moved to dl-load.h.
44428 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
44429 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
44430 Use _dl_unmap_segments in place of __munmap.
44431 Break out segment-mapping loop into ...
44432 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
44433
44434 2014-04-03 Will Newton <will.newton@linaro.org>
44435
44436 * elf/dl-lookup.c (do_lookup_x): Remove comment
44437 referring to nested function and move variable
44438 declarations down to before first use.
44439
44440 2014-04-02 Joseph Myers <joseph@codesourcery.com>
44441
44442 [BZ #16799]
44443 [BZ #16800]
44444 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
44445 with 0 numerator.
44446 * math/s_catanf.c (__catanf): Likewise.
44447 * math/s_catanh.c (__catanh): Likewise.
44448 * math/s_catanhf.c (__catanhf): Likewise.
44449 * math/s_catanhl.c (__catanhl): Likewise.
44450 * math/s_catanl.c (__catanl): Likewise.
44451 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
44452 by positive zero when computing -Inf result.
44453 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
44454 (catanh_test): Likewise.
44455 * sysdeps/i386/fpu/libm-test-ulps: Update.
44456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44457
44458 [BZ #16789]
44459 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
44460 instead of using underflowing value in computing result.
44461 * math/s_clog10.c (__clog10): Likewise.
44462 * math/s_clog10f.c (__clog10f): Likewise.
44463 * math/s_clog10l.c (__clog10l): Likewise.
44464 * math/s_clogf.c (__clogf): Likewise.
44465 * math/s_clogl.c (__clogl): Likewise.
44466 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
44467 (clog10_test): Likewise.
44468 * sysdeps/i386/fpu/libm-test-ulps: Update.
44469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44470
44471 2014-04-02 Alan Modra <amodra@gmail.com>
44472
44473 [BZ #16739]
44474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
44475 output when value is near a power of two. Use int64_t for lx and
44476 remove casts. Use decimal rather than hex exponent constants.
44477 Don't use long double multiplication when double will suffice.
44478 * math/libm-test.inc (nextafter_test_data): Add tests.
44479 * NEWS: Add 16739 and 16786 to bug list.
44480
44481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
44482
44483 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
44484
44485 2014-04-01 Will Newton <will.newton@linaro.org>
44486
44487 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
44488 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
44489
44490 2014-04-01 Florian Weimer <fweimer@redhat.com>
44491
44492 [BZ #13347]
44493 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
44494 * nptl/tst-setuid2.c: New file.
44495 * nptl/Makefile (xtests): Add tst-setuid2.
44496
44497 2014-04-01 Alan Modra <amodra@gmail.com>
44498
44499 [BZ #16786]
44500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
44501
44502 2014-03-31 Joseph Myers <joseph@codesourcery.com>
44503
44504 [BZ #6803]
44505 [BZ #6804]
44506 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
44507 set errno as appropriate.
44508 * math/w_scalbf.c (__scalbf): Likewise.
44509 * math/w_scalbl.c (__scalbl): Likewise.
44510 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
44511 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
44512 * math/libm-test.inc (scalb_test_data): Add errno expectations.
44513 Add more NaN tests.
44514
44515 [BZ #16349]
44516 * math/w_atan2.c: Include <errno.h>.
44517 (__atan2): Set errno for result underflowing to zero.
44518 * math/w_atan2f.c: Include <errno.h>.
44519 (__atan2f): Set errno for result underflowing to zero.
44520 * math/w_atan2l.c: Include <errno.h>.
44521 (__atan2l): Set errno for result underflowing to zero.
44522 * math/auto-libm-test-in: Don't allow missing errno for some atan2
44523 tests.
44524 * math/auto-libm-test-out: Regenerated.
44525
44526 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44527
44528 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44529 Encode instruction correctly in little endian.
44530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44531 Likewise.
44532 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44533 Likewise.
44534 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44535 Likewise.
44536 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44537 Likewise.
44538
44539 2014-03-31 Joseph Myers <joseph@codesourcery.com>
44540
44541 [BZ #9894]
44542 * sysdeps/unix/sysv/linux/kernel-features.h
44543 [__sparc__ && !__arch64__ && !__sparc_v9__]
44544 (__ASSUME_SET_ROBUST_LIST): Do not define.
44545 [__sparc__ && !__arch64__ && !__sparc_v9__]
44546 (__ASSUME_FUTEX_LOCK_PI): Likewise.
44547 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
44548 Likewise.
44549 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44550 (__ASSUME_FUTEX_LOCK_PI): Undefine.
44551 (__ASSUME_REQUEUE_PI): Likewise.
44552 (__ASSUME_SET_ROBUST_LIST): Likewise.
44553 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44554 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
44555 Undefine.
44556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44557 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
44558 Likewise.
44559 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
44560 Likewise.
44561 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
44562 Likewise.
44563 * sysdeps/unix/sysv/linux/mips/kernel-features.h
44564 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
44565 Undefine.
44566 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
44567 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
44568 Likewise.
44569
44570 [BZ #16648]
44571 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44572 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
44573 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
44574
44575 2014-03-31 Will Newton <will.newton@linaro.org>
44576
44577 * benchtests/Makefile (bench): Add ffs and ffsll to list
44578 of tests.
44579 * benchtests/ffs-inputs: New file.
44580 * benchtests/ffsll-inputs: Likewise.
44581
44582 2014-03-29 Joseph Myers <joseph@codesourcery.com>
44583
44584 [BZ #16770]
44585 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
44586 too large before casting to int.
44587 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
44588 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
44589 * math/libm-test.inc (scalb_test_data): Add more tests.
44590
44591 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44592
44593 * benchtests/Makefile (DETAILED_OPT): New make option.
44594 (bench-func): Run benchmark program with -d if DETAILED_OPT is
44595 set.
44596 * benchtests/bench-skeleton.c: Include stdbool.h.
44597 (main): Store and print timings per input.
44598 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
44599 member to each argument value.
44600 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
44601 (_print_arg_data): Initialize per-input timing to 0.
44602
44603 * benchtests/Makefile (timing-type): New binary.
44604 (bench-clean): Also remove bench-timing-type.
44605 (bench): New target for timing-type.
44606 (bench-func): Print output in JSON format.
44607 * benchtests/bench-skeleton.c (main): Print output in JSON
44608 format.
44609 * benchtests/bench-timing-type.c: New file.
44610 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
44611 (TIMING_PRINT_STATS): Remove.
44612 * benchtests/scripts/bench.py (_print_arg_data): Store variant
44613 name separately.
44614
44615 * benchtests/bench-modf.c: Remove.
44616 * benchtests/modf-inputs: New inputs file.
44617
44618 2014-03-28 Joseph Myers <joseph@codesourcery.com>
44619
44620 [BZ #16362]
44621 * math/s_clog10.c (M_PI_LOG10E): New macro.
44622 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
44623 imaginary parts are 0.
44624 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
44625 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
44626 imaginary parts are 0.
44627 * math/s_clog10l.c (M_PI_LOG10El): New macro.
44628 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
44629 imaginary parts are 0.
44630 * math/libm-test.inc (clog10_test_data): Update expected results
44631 for when real and imaginary parts are 0.
44632
44633 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
44634
44635 * elf/dl-load.c: Finish conversion of __builtin_expect into
44636 __glibc_{un}likely.
44637
44638 2014-03-27 Joseph Myers <joseph@codesourcery.com>
44639
44640 [BZ #16348]
44641 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
44642 1+x for argument with exponent below -67.
44643 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
44644 Likewise.
44645 * math/auto-libm-test-in: Add more tests of exp.
44646 * math/auto-libm-test-out: Regenerated.
44647
44648 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44649
44650 [BZ #16759]
44651 * inet/getnetgrent_r.c (get_nonempty_val): New function.
44652 (nscd_getnetgrent): Use it.
44653
44654 [BZ #16760]
44655 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
44656 of stpcpy.
44657
44658 2014-03-27 Andi Kleen <ak@linux.intel.com>
44659
44660 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
44661 (lll_robust_lock, lll_cond_lock, lll_timedlock)
44662 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44663 (lll_robust_unlock): Remove out of line section. Use cfi
44664 intrinsics.
44665 (LLL_STUB_UNWIND_INFO*): Remove.
44666 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
44667 (lll_robust_lock, lll_cond_lock, lll_timedlock)
44668 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44669 (lll_robust_unlock): Remove out of line section. Use cfi
44670 intrinsics.
44671 (LLL_STUB_UNWIND_INFO*): Remove.
44672
44673 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44674
44675 [BZ #16758]
44676 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
44677 blank values.
44678
44679 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
44680
44681 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
44682
44683 2014-03-26 Joseph Myers <joseph@codesourcery.com>
44684
44685 [BZ #16198]
44686 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
44687 fnstenv.
44688 * math/test-fenv-preserve.c: New file.
44689 * math/Makefile (tests): Add test-fenv-preserve.
44690
44691 2014-03-26 Will Newton <will.newton@linaro.org>
44692
44693 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
44694
44695 2014-03-25 Roland McGrath <roland@hack.frob.com>
44696
44697 * scripts/versionlist.awk: Partition the version sets and emit all
44698 GLIBC_* (sorted) before all others (sorted).
44699
44700 2014-03-25 Joseph Myers <joseph@codesourcery.com>
44701
44702 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
44703 GLIBC_2.2.5 version.
44704
44705 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44706
44707 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
44708 calls.
44709
44710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
44711 previous change.
44712
44713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44714
44715 2014-03-25 Andreas Schwab <schwab@suse.de>
44716
44717 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
44718 label to be used after in6ailist is initialized.
44719
44720 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44721
44722 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44723 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44724
44725 2014-03-25 Joseph Myers <joseph@codesourcery.com>
44726
44727 [BZ #16357]
44728 [BZ #16599]
44729 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
44730 min_plus_half.
44731 (fp_formats): Update initializers.
44732 (init_fp_formats): Initialize new field.
44733 (output_for_one_input_case): Allow underflow for results up to
44734 min_plus_half.
44735 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
44736 * math/auto-libm-test-in: Don't mark some underflows from asin and
44737 atanh as spurious.
44738 * math/auto-libm-test-out: Regenerated.
44739 * sysdeps/i386/fpu/libm-test-ulps: Update.
44740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44741
44742 2014-03-25 Andreas Schwab <schwab@suse.de>
44743
44744 * libio/Makefile (tst-ftell-partial-wide-ENV)
44745 (tst-ftell-active-handler-ENV): Define.
44746
44747 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
44748
44749 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
44750
44751 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
44752
44753 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
44754
44755 2014-03-24 Joseph Myers <joseph@codesourcery.com>
44756
44757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
44758 * sysdeps/x86_64/fpu/multiarch/e_exp.c
44759 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
44760
44761 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
44762
44763 [BZ #16634]
44764 * elf/dl-load.c (open_verify): Add mode parameter.
44765 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
44766 (open_path): Change from boolean 'secure' to complete flag 'mode'
44767 (_dl_map_object): Adjust.
44768 * elf/Makefile (tests): Add tst-dlopen-aout.
44769 * elf/tst-dlopen-aout.c: New test.
44770
44771 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
44772
44773 [BZ #16714]
44774 * sysdeps/unix/sysv/linux/s390/bits/stat.h
44775 (struct stat): Rename member pad0 to __glibc_reserved0.
44776
44777 [BZ #16712]
44778 * sysdeps/s390/s390-32/bits/wordsize.h
44779 (__WORDSIZE32_SIZE_ULONG): New define.
44780 * sysdeps/s390/s390-64/bits/wordsize.h
44781 (__WORDSIZE32_SIZE_ULONG): Likewise.
44782 * sysdeps/generic/stdint.h (SIZE_MAX):
44783 Define as UL if __WORDSIZE32_SIZE_ULONG.
44784
44785 [BZ #16713]
44786 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
44787 (__glibc_reserved0): New variable.
44788 (sa_flags): Change type to int.
44789
44790 * posix/Makefile (before-compile): Use += before-compile instead
44791 of a :=.
44792
44793 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44794 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44795
44796 2014-03-20 Andreas Schwab <schwab@suse.de>
44797
44798 [BZ #16743]
44799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
44800 non-matching result from nscd.
44801
44802 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
44803
44804 * scripts/bench.py: Moved to ...
44805 * benchtests/scripts/bench.py: ... here.
44806 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
44807
44808 2014-03-24 Andreas Schwab <schwab@suse.de>
44809
44810 [BZ #16002]
44811 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
44812 alloca_account and account alloca use for struct in6ailist.
44813
44814 2014-03-24 Joseph Myers <joseph@codesourcery.com>
44815
44816 [BZ #16284]
44817 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
44818 rounding mode to recompute results that overflow to infinity or
44819 underflow to zero.
44820 * math/auto-libm-test-in: Don't mark tests as expected to fail for
44821 bug 16284.
44822 * math/auto-libm-test-out: Regenerated.
44823 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
44824 (ccosh_test): Likewise.
44825 (csin_test_data): Use plus_oflow.
44826 (csin_test): Use ALL_RM_TEST.
44827 (csinh_test_data): Use plus_oflow.
44828 (csinh_test): Use ALL_RM_TEST.
44829 * sysdeps/i386/fpu/libm-test-ulps: Update.
44830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44831
44832 2014-03-21 Joseph Myers <joseph@codesourcery.com>
44833
44834 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
44835 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
44836 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
44837
44838 [BZ #16731]
44839 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
44840 when x - 1 is zero.
44841 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
44842 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
44843 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
44845 argument is 1.
44846 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
44847 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
44848 zero.
44849 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
44850 * sysdeps/i386/fpu/libm-test-ulps: Update.
44851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44852
44853 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44854
44855 * scripts/bench.pl: Remove file.
44856 * scripts/bench.py: New benchmark script.
44857 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
44858 * benchtests/README: Mention python dependency.
44859 * scripts/pylintrc: New file.
44860 * scripts/pylint: New file.
44861
44862 * bits/mathdef.h: Use #ifdef instead of #if.
44863 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
44864 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44865 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
44866 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44867 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
44868 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44869
44870 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44871 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44872
44873 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
44874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
44875 and strpbrk-ppc64 objects.
44876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44877 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
44878 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
44879 multiarch strpbrk for POWER7.
44880 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
44881 multiarch strpbrk for PPC64.
44882 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
44883 ifunc selector.
44884 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
44885 strpbrk for POWER7.
44886
44887 2014-03-20 Joseph Myers <joseph@codesourcery.com>
44888
44889 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
44890 (atan_test): Likewise.
44891 (atanh_test_data): Use NO_TEST_INLINE for two tests.
44892 (atanh_test): Use ALL_RM_TEST.
44893 (atan2_test_data): Likewise.
44894 (cabs_test): Likewise.
44895 (cacosh_test): Likewise.
44896 (carg_test): Likewise.
44897 (casin_test): Likewise.
44898 (casinh_test): Likewise.
44899 (cbrt_test): Likewise.
44900 (csqrt_test): Likewise.
44901 (erf_test): Likewise.
44902 (erfc_test): Likewise.
44903 (pow10_test): Likewise.
44904 (exp2_test): Likewise.
44905 (hypot_test): Likewise.
44906 (j0_test): Likewise.
44907 (j1_test): Likewise.
44908 (lgamma_test): Likewise.
44909 (gamma_test): Likewise.
44910 (sincos_test): Likewise.
44911 (tanh_test): Likewise.
44912 (y0_test): Likewise.
44913 (y1_test): Likewise.
44914 * sysdeps/i386/fpu/libm-test-ulps: Update.
44915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44916
44917 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44918
44919 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
44920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
44921 and strcspn-ppc64 objects.
44922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44923 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
44924 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
44925 multiarch strcspn for POWER7.
44926 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
44927 multiarch strcspn for PPC64.
44928 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
44929 ifunc selector.
44930 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
44931 strcspn for POWER7.
44932
44933 2014-03-20 Joseph Myers <joseph@codesourcery.com>
44934
44935 * math/gen-libm-test.pl (generate_testfile): Expect only function
44936 name as argument to AUTO_TESTS_* and pass results for all rounding
44937 modes to parse_args.
44938 (parse_auto_input): Separate inputs of automatic tests from
44939 outputs before storing in %auto_tests.
44940 * math/libm-test.inc (acos_test_data): Update call to
44941 AUTO_TESTS_f_f.
44942 (acos_test): Use ALL_RM_TEST.
44943 (acos_tonearest_test_data): Remove.
44944 (acos_test_tonearest): Likewise.
44945 (acos_towardzero_test_data): Likewise.
44946 (acos_test_towardzero): Likewise.
44947 (acos_downward_test_data): Likewise.
44948 (acos_test_downward): Likewise.
44949 (acos_upward_test_data): Likewise.
44950 (acos_test_upward): Likewise.
44951 (acosh_test_data): Update call to AUTO_TESTS_f_f.
44952 (asin_test_data): Likewise.
44953 (asin_test): Use ALL_RM_TEST.
44954 (asin_tonearest_test_data): Remove.
44955 (asin_test_tonearest): Likewise.
44956 (asin_towardzero_test_data): Likewise.
44957 (asin_test_towardzero): Likewise.
44958 (asin_downward_test_data): Likewise.
44959 (asin_test_downward): Likewise.
44960 (asin_upward_test_data): Likewise.
44961 (asin_test_upward): Likewise.
44962 (asinh_test_data): Update call to AUTO_TESTS_f_f.
44963 (atan_test_data): Likewise.
44964 (atanh_test_data): Likewise.
44965 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
44966 (cabs_test_data): Update call to AUTO_TESTS_c_f.
44967 (carg_test_data): Likewise.
44968 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
44969 (ccos_test_data): Update call to AUTO_TESTS_c_c.
44970 (ccosh_test_data): Likewise.
44971 (cexp_test_data): Likewise.
44972 (clog_test_data): Likewise.
44973 (clog10_test_data): Likewise.
44974 (cos_test_data): Update call to AUTO_TESTS_f_f.
44975 (cos_test): Use ALL_RM_TEST.
44976 (cos_tonearest_test_data): Remove.
44977 (cos_test_tonearest): Likewise.
44978 (cos_towardzero_test_data): Likewise.
44979 (cos_test_towardzero): Likewise.
44980 (cos_downward_test_data): Likewise.
44981 (cos_test_downward): Likewise.
44982 (cos_upward_test_data): Likewise.
44983 (cos_test_upward): Likewise.
44984 (cosh_test_data): Update call to AUTO_TESTS_f_f.
44985 (cosh_test): Use ALL_RM_TEST.
44986 (cosh_tonearest_test_data): Remove.
44987 (cosh_test_tonearest): Likewise.
44988 (cosh_towardzero_test_data): Likewise.
44989 (cosh_test_towardzero): Likewise.
44990 (cosh_downward_test_data): Likewise.
44991 (cosh_test_downward): Likewise.
44992 (cosh_upward_test_data): Likewise.
44993 (cosh_test_upward): Likewise.
44994 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
44995 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
44996 (ctan_test_data): Likewise.
44997 (ctan_test): Use ALL_RM_TEST.
44998 (ctan_tonearest_test_data): Remove.
44999 (ctan_test_tonearest): Likewise.
45000 (ctan_towardzero_test_data): Likewise.
45001 (ctan_test_towardzero): Likewise.
45002 (ctan_downward_test_data): Likewise.
45003 (ctan_test_downward): Likewise.
45004 (ctan_upward_test_data): Likewise.
45005 (ctan_test_upward): Likewise.
45006 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45007 (ctanh_test): Use ALL_RM_TEST.
45008 (ctanh_tonearest_test_data): Remove.
45009 (ctanh_test_tonearest): Likewise.
45010 (ctanh_towardzero_test_data): Likewise.
45011 (ctanh_test_towardzero): Likewise.
45012 (ctanh_downward_test_data): Likewise.
45013 (ctanh_test_downward): Likewise.
45014 (ctanh_upward_test_data): Likewise.
45015 (ctanh_test_upward): Likewise.
45016 (erf_test_data): Update call to AUTO_TESTS_f_f.
45017 (erfc_test_data): Likewise.
45018 (exp_test_data): Likewise.
45019 (exp_test): Use ALL_RM_TEST.
45020 (exp_tonearest_test_data): Remove.
45021 (exp_test_tonearest): Likewise.
45022 (exp_towardzero_test_data): Likewise.
45023 (exp_test_towardzero): Likewise.
45024 (exp_downward_test_data): Likewise.
45025 (exp_test_downward): Likewise.
45026 (exp_upward_test_data): Likewise.
45027 (exp_test_upward): Likewise.
45028 (exp10_test_data): Update call to AUTO_TESTS_f_f.
45029 (exp10_test): Use ALL_RM_TEST.
45030 (exp10_tonearest_test_data): Remove.
45031 (exp10_test_tonearest): Likewise.
45032 (exp10_towardzero_test_data): Likewise.
45033 (exp10_test_towardzero): Likewise.
45034 (exp10_downward_test_data): Likewise.
45035 (exp10_test_downward): Likewise.
45036 (exp10_upward_test_data): Likewise.
45037 (exp10_test_upward): Likewise.
45038 (exp2_test_data): Update call to AUTO_TESTS_f_f.
45039 (expm1_test_data): Likewise.
45040 (expm1_test): Use ALL_RM_TEST.
45041 (expm1_tonearest_test_data): Remove.
45042 (expm1_test_tonearest): Likewise.
45043 (expm1_towardzero_test_data): Likewise.
45044 (expm1_test_towardzero): Likewise.
45045 (expm1_downward_test_data): Likewise.
45046 (expm1_test_downward): Likewise.
45047 (expm1_upward_test_data): Likewise.
45048 (expm1_test_upward): Likewise.
45049 (fma_test_data): Update call to AUTO_TESTS_fff_f.
45050 (fma_test): Use ALL_RM_TEST.
45051 (fma_towardzero_test_data): Remove.
45052 (fma_test_towardzero): Likewise.
45053 (fma_downward_test_data): Likewise.
45054 (fma_test_downward): Likewise.
45055 (fma_upward_test_data): Likewise.
45056 (fma_test_upward): Likewise.
45057 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45058 (j0_test_data): Update call to AUTO_TESTS_f_f.
45059 (j1_test_data): Likewise.
45060 (jn_test_data): Update call to AUTO_TESTS_if_f.
45061 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45062 (log_test_data): Update call to AUTO_TESTS_f_f.
45063 (log10_test_data): Likewise.
45064 (log1p_test_data): Likewise.
45065 (log2_test_data): Likewise.
45066 (pow_test_data): Update call to AUTO_TESTS_ff_f.
45067 (pow_tonearest_test_data): Likewise.
45068 (sin_test_data): Update call to AUTO_TESTS_f_f.
45069 (sin_test): Use ALL_RM_TEST.
45070 (sin_tonearest_test_data): Remove.
45071 (sin_test_tonearest): Likewise.
45072 (sin_towardzero_test_data): Likewise.
45073 (sin_test_towardzero): Likewise.
45074 (sin_downward_test_data): Likewise.
45075 (sin_test_downward): Likewise.
45076 (sin_upward_test_data): Likewise.
45077 (sin_test_upward): Likewise.
45078 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45079 (sinh_test_data): Update call to AUTO_TESTS_f_f.
45080 (sinh_test): Use ALL_RM_TEST.
45081 (sinh_tonearest_test_data): Remove.
45082 (sinh_test_tonearest): Likewise.
45083 (sinh_towardzero_test_data): Likewise.
45084 (sinh_test_towardzero): Likewise.
45085 (sinh_downward_test_data): Likewise.
45086 (sinh_test_downward): Likewise.
45087 (sinh_upward_test_data): Likewise.
45088 (sinh_test_upward): Likewise.
45089 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45090 (sqrt_test): Use ALL_RM_TEST.
45091 (sqrt_tonearest_test_data): Remove.
45092 (sqrt_test_tonearest): Likewise.
45093 (sqrt_towardzero_test_data): Likewise.
45094 (sqrt_test_towardzero): Likewise.
45095 (sqrt_downward_test_data): Likewise.
45096 (sqrt_test_downward): Likewise.
45097 (sqrt_upward_test_data): Likewise.
45098 (sqrt_test_upward): Likewise.
45099 (tan_test_data): Update call to AUTO_TESTS_f_f.
45100 (tan_test): Use ALL_RM_TEST.
45101 (tan_tonearest_test_data): Remove.
45102 (tan_test_tonearest): Likewise.
45103 (tan_towardzero_test_data): Likewise.
45104 (tan_test_towardzero): Likewise.
45105 (tan_downward_test_data): Likewise.
45106 (tan_test_downward): Likewise.
45107 (tan_upward_test_data): Likewise.
45108 (tan_test_upward): Likewise.
45109 (tanh_test_data): Update call to AUTO_TESTS_f_f.
45110 (tgamma_test_data): Likewise.
45111 (y0_test_data): Likewise.
45112 (y1_test_data): Likewise.
45113 (yn_test_data): Update call to AUTO_TESTS_if_f.
45114 (main): Do not call removed functions.
45115
45116 2014-03-19 Joseph Myers <joseph@codesourcery.com>
45117
45118 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45119 (ldexp_test_data): Remove.
45120 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
45121 scalbn_test_data.
45122 (scalb_test): Use ALL_RM_TEST.
45123
45124 2014-03-19 Andreas Schwab <schwab@suse.de>
45125
45126 * nscd/nscd.service: Also invalidate netgroup cache on reload.
45127
45128 2014-03-19 Joseph Myers <joseph@codesourcery.com>
45129
45130 [BZ #16649]
45131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45132 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45133 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45135 (__ASSUME_PREADV): Undefine.
45136 (__ASSUME_PWRITEV): Likewise.
45137
45138 2014-03-18 Roland McGrath <roland@hack.frob.com>
45139
45140 * bits/mman-linux.h: Add comment about non-Linux use.
45141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45142 bits/mman-linux.h resting place.
45143
45144 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45145 * bits/mman-linux.h: ... here.
45146
45147 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45148
45149 * conform/conformtest.pl: Add standard definition when calling C
45150 preprocessor on data files.
45151 (checknamespace): Remove unused variable.
45152
45153 2014-03-18 Joseph Myers <joseph@codesourcery.com>
45154
45155 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45156 minus_oflow, plus_uflow and minus_uflow in expected results.
45157 * math/libm-test.inc (scalbn_test_data): Add more tests of
45158 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
45159 minus_uflow.
45160 (scalbn_test): Use ALL_RM_TEST.
45161 (scalbln_test_data): Add more tests of negative arguments. Use
45162 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45163 (scalbln_test): Use ALL_RM_TEST.
45164
45165 2014-03-18 Roland McGrath <roland@hack.frob.com>
45166
45167 * scripts/abilist.awk: Ignore symbols marked with .hidden.
45168
45169 2014-03-18 Will Newton <will.newton@linaro.org>
45170
45171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45172 inaccurate comment.
45173
45174 2014-03-18 Joseph Myers <joseph@codesourcery.com>
45175
45176 * Makerules [!subdir] (check-abi): Exit with error status if a
45177 test failed.
45178
45179 2014-03-17 Joseph Myers <joseph@codesourcery.com>
45180
45181 * math/libm-test.inc (nearbyint_test_data): Include all tests used
45182 for rint. Include results for all rounding modes.
45183 (nearbyint_test): Use ALL_RM_TEST.
45184 (rint_test_data): Include all tests used for nearbyint.
45185
45186 2014-03-17 Will Newton <will.newton@linaro.org>
45187
45188 * nptl/sysdeps/pthread/pthread.h: Revert previous
45189 change.
45190
45191 * sysdeps/generic/ldsodefs.h: Revert previous
45192 change.
45193
45194 * libio/genops.c: Revert previous change.
45195 * libio/libioP.h: Likewise.
45196 * stdio-common/vfprintf.c: Likewise.
45197
45198 * sysdeps/generic/math_private.h: Revert previous
45199 change.
45200
45201 * sysdeps/generic/math_private.h: Check whether
45202 HAVE_RM_CTX is defined with #ifdef rather
45203 than #if.
45204
45205 * argp/argp-fmtstream.h: Check whether
45206 __STRICT_ANSI__ is defined with #ifdef rather
45207 than #if.
45208 * argp/argp.h: Likewise.
45209
45210 * libio/genops.c: Check whether
45211 _IO_JUMPS_OFFSET is defined with #ifdef rather
45212 than #if.
45213 * libio/libioP.h: Likewise.
45214 * stdio-common/vfprintf.c: Likewise.
45215
45216 * sysdeps/generic/ldsodefs.h: Check whether
45217 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45218 than #if.
45219
45220 * nptl/sysdeps/pthread/pthread.h: Check
45221 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45222 its value.
45223
45224 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45225
45226 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45227 setting O_APPEND.
45228 * libio/tst-ftell-active-handler.c (do_append_test): Add a
45229 test case.
45230
45231 [BZ #16680]
45232 * libio/fileops.c (_IO_file_open): Seek to end of file but
45233 don't cache the offset.
45234 (get_file_offset): Remove function.
45235 (do_ftell): Use cached offset when available.
45236 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45237 don't cache the offset.
45238 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45239 case.
45240 (do_one_test): Call it.
45241 (do_ftell_test): Fix up expected old offset for a+ mode.
45242 * libio/wfileops.c (do_ftell_wide): Used cached offset when
45243 available.
45244
45245 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45246 up test status with function return status.
45247 (do_write_test): Likewise.
45248 (do_append_test): Likewise.
45249
45250 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45251 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45252 Remove.
45253
45254 2014-03-17 Joseph Myers <joseph@codesourcery.com>
45255
45256 * math/gen-libm-test.pl (parse_args): Handle results specified for
45257 each rounding mode separately.
45258 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45259 tests and results from lrint_tonearest_test_data,
45260 lrint_towardzero_test_data, lrint_downward_test_data and
45261 lrint_upward_test_data.
45262 (lrint_test): Use ALL_RM_TEST.
45263 (lrint_tonearest_test_data): Remove.
45264 (lrint_test_tonearest): Likewise.
45265 (lrint_towardzero_test_data): Likewise.
45266 (lrint_test_towardzero): Likewise.
45267 (lrint_downward_test_data): Likewise.
45268 (lrint_test_downward): Likewise.
45269 (lrint_upward_test_data): Likewise.
45270 (lrint_test_upward): Likewise.
45271 (llrint_test_data): Merge in per-rounding-mode tests and results
45272 from llrint_tonearest_test_data, llrint_towardzero_test_data,
45273 llrint_downward_test_data and llrint_upward_test_data.
45274 (llrint_test): Use ALL_RM_TEST.
45275 (llrint_tonearest_test_data): Remove.
45276 (llrint_test_tonearest): Likewise.
45277 (llrint_towardzero_test_data): Likewise.
45278 (llrint_test_towardzero): Likewise.
45279 (llrint_downward_test_data): Likewise.
45280 (llrint_test_downward): Likewise.
45281 (llrint_upward_test_data): Likewise.
45282 (llrint_test_upward): Likewise.
45283 (rint_test_data): Merge in per-rounding-mode tests and results
45284 from rint_tonearest_test_data, rint_towardzero_test_data,
45285 rint_downward_test_data and rint_upward_test_data. Add
45286 per-rounding-mode results for tests not in those arrays.
45287 (rint_test): Use ALL_RM_TEST.
45288 (rint_tonearest_test_data): Remove.
45289 (rint_test_tonearest): Likewise.
45290 (rint_towardzero_test_data): Likewise.
45291 (rint_test_towardzero): Likewise.
45292 (rint_downward_test_data): Likewise.
45293 (rint_test_downward): Likewise.
45294 (rint_upward_test_data): Likewise.
45295 (rint_test_upward): Likewise.
45296 (main): Don't call removed functions.
45297
45298 2014-03-14 Roland McGrath <roland@hack.frob.com>
45299
45300 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45301 "Compiled on ..." crapola. It is anti-useful.
45302
45303 2014-03-14 Joseph Myers <joseph@codesourcery.com>
45304
45305 * scripts/evaluate-test.sh: Handle fourth argument to determine
45306 whether test run should stop on failure.
45307 * Makeconfig (stop-on-test-failure): New variable.
45308 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45309 $(stop-on-test-failure).
45310 * Makefile (tests): Give a summary of results from testing and
45311 exit with failure status if they include an ERROR or FAIL.
45312 (xtests): Likewise.
45313 * manual/install.texi (Configuring and compiling): Mention
45314 stop-on-test-failure=y.
45315 * INSTALL: Regenerated.
45316
45317 2014-03-14 Roland McGrath <roland@hack.frob.com>
45318
45319 * scripts/versionlist.awk: New file.
45320 * Makerules [$(build-shared) = yes]
45321 (postclean-generated): Add Versions.def, not Versions.def.v and
45322 Versions.def.v.i.
45323 ($(common-objpfx)Versions.def.v.i): Target removed.
45324 ($(common-objpfx)Versions.def): New target.
45325 ($(common-objpfx)Versions.all): Depend on that rather that
45326 $(common-objpfx)Versions.def.v.
45327 * Versions.def: File removed.
45328
45329 * Makeconfig (+gccwarn): Add -Wundef.
45330 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45331 a dl-sysdep.h breaking its contract.
45332 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45333 * include/stackinfo.h: New file.
45334 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45335 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45336 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45337 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45338 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45339 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45340 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45341 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45342 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45343 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45344 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45345 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45346 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45347 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45348 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45349
45350 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45351
45352 [BZ #16707]
45353 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45354 implementation.
45355 * math/libm-test.inc (round_test_data): Add more tests.
45356
45357 [BZ #16706]
45358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45359 implementation.
45360 * math/libm-test.inc (nearbyint_test_data): Add more tests.
45361
45362 [BZ #16701]
45363 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45364 implementation.
45365 * math/libm-test.inc (ceil_test_data): Add more tests.
45366
45367 * math/libm-test.inc (trunc_test_data): Add more tests related to
45368 BZ#16414.
45369
45370 2014-03-14 Roland McGrath <roland@hack.frob.com>
45371
45372 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45373 with #if rather than #ifdef.
45374 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
45375
45376 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
45377
45378 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
45379 first. Disable AVX-512 GCC support if assembler doesn't support
45380 it.
45381 * sysdeps/x86_64/configure: Regenerated.
45382
45383 2014-03-13 Carlos O'Donell <carlos@redhat.com>
45384
45385 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
45386 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
45387 (__old_pthread_attr_setstack): Likewise.
45388 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
45389 [!_STACK_GROWS_DOWN]: Likewise.
45390
45391 2014-03-13 Mike Frysinger <vapier@gentoo.org>
45392
45393 * config.make.in (have-bash2): Delete.
45394 * configure.ac (libc_cv_have_bash2): Delete.
45395 * configure: Regenerate.
45396 * elf/Makefile (common-ldd-rewrite): Rename to ...
45397 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
45398 (sh-ldd-rewrite): Delete.
45399 (bash-ldd-rewrite): Delete.
45400 (have-bash2): Delete checks.
45401 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
45402 ldd-rewrite.
45403
45404 * config.make.in (have-ksh): Delete.
45405 (KSH): Delete.
45406 * configure.ac (libc_cv_have_ksh): Delete.
45407 * configure: Regenerate.
45408
45409 * elf/Makefile: Delete $(have-ksh) check.
45410 ($(objpfx)sotruss): Change KSH to BASH.
45411 * elf/sotruss.ksh: Rename to ...
45412 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
45413 function style to match POSIX. Drop ksh vim mode setting.
45414
45415 * manual/time.texi (Specifying the Time Zone with TZ): Change
45416 Tuesday to Thursday.
45417
45418 * debug/tst-longjmp_chk2.c: Update header comment.
45419 (stackoverflow_handler): Add comment. Call assert on pass value.
45420
45421 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
45422
45423 [BZ #16194]
45424 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
45425 (HAVE_AVX512_ASM_SUPPORT): Likewise.
45426 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
45427 (La_x86_64_vector): Add zmm.
45428 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45429 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
45430 ($(objpfx)tst-audit10): New target.
45431 ($(objpfx)tst-audit10.out): Likewise.
45432 (tst-audit10-ENV): New.
45433 (AVX512-CFLAGS): Likewise.
45434 (CFLAGS-tst-audit10.c): Likewise.
45435 (CFLAGS-tst-auditmod10a.c): Likewise.
45436 (CFLAGS-tst-auditmod10b.c): Likewise.
45437 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
45438 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
45439 * sysdeps/x86_64/configure: Regenerated.
45440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45441 AVX-512 zmm register support.
45442 (_dl_x86_64_save_sse): Likewise.
45443 (_dl_x86_64_restore_sse): Likewise.
45444 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
45445 size vector registers.
45446 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
45447 (ZMM_SIZE): Likewise.
45448 * sysdeps/x86_64/tst-audit10.c: New file.
45449 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
45450 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
45451
45452 2014-03-13 Roland McGrath <roland@hack.frob.com>
45453
45454 * configure.ac (HAVE_EHDR_START): New check.
45455 * configure: Regenerated.
45456 * config.h.in (HAVE_EHDR_START): New #undef.
45457 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
45458 assuming the lowest-addressed segment maps the start of the file.
45459
45460 2014-03-13 Joseph Myers <joseph@codesourcery.com>
45461
45462 * INSTALL: Regenerated.
45463
45464 2014-03-13 Will Newton <will.newton@linaro.org>
45465
45466 * manual/setjmp.texi (System V contexts): Improve
45467 clarity and grammar of documentation.
45468
45469 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
45470
45471 [BZ #16381]
45472 * elf/Makefile (tests): Add tst-pie2.
45473 (tests-pie): Add tst-pie2.
45474 * elf/tst-pie2.c: New file.
45475 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
45476 for ET_EXEC.
45477 * elf/rtld.c (map_doit): Load executable as lt_executable.
45478 (dl_main): Likewise.
45479
45480 2014-03-12 Joseph Myers <joseph@codesourcery.com>
45481
45482 [BZ #16642]
45483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45484 (__ASSUME_PSELECT): Undefine.
45485
45486 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45487
45488 [BZ #16689]
45489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
45490 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
45491 static build.
45492 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
45493 selector for static builds.
45494
45495 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45496
45497 [BZ #16695]
45498 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
45499 key in the buffer.
45500
45501 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45502
45503 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
45504 IFUNC selector for static builds.
45505
45506 2014-03-11 Joseph Myers <joseph@codesourcery.com>
45507
45508 * sysdeps/mips/math_private.h [__mips_hard_float]
45509 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
45510 libc_feresetround_mips_ctx.
45511 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
45512 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
45513 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
45514
45515 [BZ #16677]
45516 * math/s_nextafter.c (__nextafter): Do not return value from
45517 overflowing computation.
45518 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
45519 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
45520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
45521 Likewise.
45522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
45523 Likewise.
45524 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
45525 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
45526
45527 2014-03-11 Roland McGrath <roland@hack.frob.com>
45528
45529 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
45530 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
45531 Move sfi_sp use from the load-multiple (that no longer sets sp) to
45532 the new mov targetting sp.
45533
45534 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45535
45536 [BZ #16683]
45537 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
45538 Define it for static builds as well.
45539 (NO_BZERO_IMPL): Likewise.
45540
45541 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
45542
45543 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
45544 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
45545 multiarch strspn for PPC64.
45546 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
45547 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
45548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45549 (__libc_ifunc_impl_list): Likewise.
45550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
45551 multiarch optimizations
45552 * string/strspn.c (strspn): Using macro to redefine symbol name.
45553
45554 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
45555 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45556
45557 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
45558 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
45559 multiarch strncat for PPC64.
45560 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
45561 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
45562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45563 (__libc_ifunc_impl_list): Likewise.
45564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
45565 multiarch optimizations
45566
45567 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45568
45569 [BZ #16639]
45570 * nscd/nscd.service: Make service type forking.
45571
45572 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45573
45574 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
45575 sign in non default rounding modes.
45576 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
45577
45578 2014-03-08 Joseph Myers <joseph@codesourcery.com>
45579
45580 * math/libm-test.inc (ALL_RM_TEST): New macro.
45581 (ceil_test): Use ALL_RM_TEST.
45582 (cimag_test): Likewise.
45583 (conj_test): Likewise.
45584 (copysign_test): Likewise.
45585 (cproj_test): Likewise.
45586 (creal_test): Likewise.
45587 (fabs_test): Likewise.
45588 (floor_test): Likewise.
45589 (fmax_test): Likewise.
45590 (fmin_test): Likewise.
45591 (fmod_test): Likewise.
45592 (fpclassify_test): Likewise.
45593 (frexp_test): Likewise.
45594 (ilogb_test): Likewise.
45595 (isfinite_test): Likewise.
45596 (finite_test): Likewise.
45597 (isgreater_test): Likewise.
45598 (isgreaterequal_test): Likewise.
45599 (isinf_test): Likewise.
45600 (isless_test): Likewise.
45601 (islessequal_test): Likewise.
45602 (islessgreater_test): Likewise.
45603 (isnan_test): Likewise.
45604 (isnormal_test): Likewise.
45605 (issignaling_test): Likewise.
45606 (isunordered_test): Likewise.
45607 (logb_test): Likewise.
45608 (logb_downward_test_data): Remove.
45609 (logb_test_downward): Likewise.
45610 (lround_test): Use ALL_RM_TEST.
45611 (llround_test): Likewise.
45612 (modf_test): Likewise.
45613 (nexttoward_test): Likewise.
45614 (remainder_test): Likewise.
45615 (drem_test): Likewise.
45616 (remainder_tonearest_test_data): Likewise.
45617 (remainder_test_tonearest): Likewise.
45618 (drem_test_tonearest): Likewise.
45619 (remainder_towardzero_test_data): Likewise.
45620 (remainder_test_towardzero): Likewise.
45621 (drem_test_towardzero): Likewise.
45622 (remainder_downward_test_data): Likewise.
45623 (remainder_test_downward): Likewise.
45624 (drem_test_downward): Likewise.
45625 (remainder_upward_test_data): Likewise.
45626 (remainder_test_upward): Likewise.
45627 (drem_test_upward): Likewise.
45628 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
45629 (round_test): Use ALL_RM_TEST.
45630 (signbit_test): Likewise.
45631 (trunc_test): Likewise.
45632 (significand_test): Likewise.
45633 (main): Don't call removed functions.
45634
45635 2014-03-07 Joseph Myers <joseph@codesourcery.com>
45636
45637 [BZ #16674]
45638 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
45639 || __USE_XOPEN2K8].
45640 (ILL_ILLOPN): Likewise.
45641 (ILL_ILLADR): Likewise.
45642 (ILL_ILLTRP): Likewise.
45643 (ILL_PRVOPC): Likewise.
45644 (ILL_PRVREG): Likewise.
45645 (ILL_COPROC): Likewise.
45646 (ILL_BADSTK): Likewise.
45647 (FPE_INTDIV): Likewise.
45648 (FPE_INTOVF): Likewise.
45649 (FPE_FLTDIV): Likewise.
45650 (FPE_FLTOVF): Likewise.
45651 (FPE_FLTUND): Likewise.
45652 (FPE_FLTRES): Likewise.
45653 (FPE_FLTINV): Likewise.
45654 (FPE_FLTSUB): Likewise.
45655 (SEGV_MAPERR): Likewise.
45656 (SEGV_ACCERR): Likewise.
45657 (BUS_ADRALN): Likewise.
45658 (BUS_ADRERR): Likewise.
45659 (BUS_OBJERR): Likewise.
45660 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45661 (TRAP_TRACE): Likewise.
45662 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45663 __USE_XOPEN2K8].
45664 (CLD_KILLED): Likewise.
45665 (CLD_DUMPED): Likewise.
45666 (CLD_TRAPPED): Likewise.
45667 (CLD_STOPPED): Likewise.
45668 (CLD_CONTINUED): Likewise.
45669 (POLL_IN): Likewise.
45670 (POLL_OUT): Likewise.
45671 (POLL_MSG): Likewise.
45672 (POLL_ERR): Likewise.
45673 (POLL_PRI): Likewise.
45674 (POLL_HUP): Likewise.
45675 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
45676 Likewise.
45677 (ILL_ILLOPN): Likewise.
45678 (ILL_ILLADR): Likewise.
45679 (ILL_ILLTRP): Likewise.
45680 (ILL_PRVOPC): Likewise.
45681 (ILL_PRVREG): Likewise.
45682 (ILL_COPROC): Likewise.
45683 (ILL_BADSTK): Likewise.
45684 (FPE_INTDIV): Likewise.
45685 (FPE_INTOVF): Likewise.
45686 (FPE_FLTDIV): Likewise.
45687 (FPE_FLTOVF): Likewise.
45688 (FPE_FLTUND): Likewise.
45689 (FPE_FLTRES): Likewise.
45690 (FPE_FLTINV): Likewise.
45691 (FPE_FLTSUB): Likewise.
45692 (SEGV_MAPERR): Likewise.
45693 (SEGV_ACCERR): Likewise.
45694 (BUS_ADRALN): Likewise.
45695 (BUS_ADRERR): Likewise.
45696 (BUS_OBJERR): Likewise.
45697 (BUS_MCEERR_AR): Likewise.
45698 (BUS_MCEERR_AO): Likewise.
45699 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45700 (TRAP_TRACE): Likewise.
45701 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45702 __USE_XOPEN2K8].
45703 (CLD_KILLED): Likewise.
45704 (CLD_DUMPED): Likewise.
45705 (CLD_TRAPPED): Likewise.
45706 (CLD_STOPPED): Likewise.
45707 (CLD_CONTINUED): Likewise.
45708 (POLL_IN): Likewise.
45709 (POLL_OUT): Likewise.
45710 (POLL_MSG): Likewise.
45711 (POLL_ERR): Likewise.
45712 (POLL_PRI): Likewise.
45713 (POLL_HUP): Likewise.
45714 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
45715 (ILL_ILLOPN): Likewise.
45716 (ILL_ILLADR): Likewise.
45717 (ILL_ILLTRP): Likewise.
45718 (ILL_PRVOPC): Likewise.
45719 (ILL_PRVREG): Likewise.
45720 (ILL_COPROC): Likewise.
45721 (ILL_BADSTK): Likewise.
45722 (FPE_INTDIV): Likewise.
45723 (FPE_INTOVF): Likewise.
45724 (FPE_FLTDIV): Likewise.
45725 (FPE_FLTOVF): Likewise.
45726 (FPE_FLTUND): Likewise.
45727 (FPE_FLTRES): Likewise.
45728 (FPE_FLTINV): Likewise.
45729 (FPE_FLTSUB): Likewise.
45730 (SEGV_MAPERR): Likewise.
45731 (SEGV_ACCERR): Likewise.
45732 (BUS_ADRALN): Likewise.
45733 (BUS_ADRERR): Likewise.
45734 (BUS_OBJERR): Likewise.
45735 (BUS_MCEERR_AR): Likewise.
45736 (BUS_MCEERR_AO): Likewise.
45737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45738 (TRAP_TRACE): Likewise.
45739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45740 __USE_XOPEN2K8].
45741 (CLD_KILLED): Likewise.
45742 (CLD_DUMPED): Likewise.
45743 (CLD_TRAPPED): Likewise.
45744 (CLD_STOPPED): Likewise.
45745 (CLD_CONTINUED): Likewise.
45746 (POLL_IN): Likewise.
45747 (POLL_OUT): Likewise.
45748 (POLL_MSG): Likewise.
45749 (POLL_ERR): Likewise.
45750 (POLL_PRI): Likewise.
45751 (POLL_HUP): Likewise.
45752 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
45753 Likewise.
45754 (ILL_ILLOPN): Likewise.
45755 (ILL_ILLADR): Likewise.
45756 (ILL_ILLTRP): Likewise.
45757 (ILL_PRVOPC): Likewise.
45758 (ILL_PRVREG): Likewise.
45759 (ILL_COPROC): Likewise.
45760 (ILL_BADSTK): Likewise.
45761 (ILL_BADIADDR): Likewise.
45762 (ILL_BREAK): Likewise.
45763 (FPE_INTDIV): Likewise.
45764 (FPE_INTOVF): Likewise.
45765 (FPE_FLTDIV): Likewise.
45766 (FPE_FLTOVF): Likewise.
45767 (FPE_FLTUND): Likewise.
45768 (FPE_FLTRES): Likewise.
45769 (FPE_FLTINV): Likewise.
45770 (FPE_FLTSUB): Likewise.
45771 (FPE_DECOVF): Likewise.
45772 (FPE_DECDIV): Likewise.
45773 (FPE_DECERR): Likewise.
45774 (FPE_INVASC): Likewise.
45775 (FPE_INVDEC): Likewise.
45776 (SEGV_MAPERR): Likewise.
45777 (SEGV_ACCERR): Likewise.
45778 (SEGV_PSTKOVF): Likewise.
45779 (BUS_ADRALN): Likewise.
45780 (BUS_ADRERR): Likewise.
45781 (BUS_OBJERR): Likewise.
45782 (BUS_MCEERR_AR): Likewise.
45783 (BUS_MCEERR_AO): Likewise.
45784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45785 (TRAP_TRACE): Likewise.
45786 (TRAP_BRANCH): Likewise.
45787 (TRAP_HWBKPT): Likewise.
45788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45789 __USE_XOPEN2K8].
45790 (CLD_KILLED): Likewise.
45791 (CLD_DUMPED): Likewise.
45792 (CLD_TRAPPED): Likewise.
45793 (CLD_STOPPED): Likewise.
45794 (CLD_CONTINUED): Likewise.
45795 (POLL_IN): Likewise.
45796 (POLL_OUT): Likewise.
45797 (POLL_MSG): Likewise.
45798 (POLL_ERR): Likewise.
45799 (POLL_PRI): Likewise.
45800 (POLL_HUP): Likewise.
45801 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
45802 (ILL_ILLOPN): Likewise.
45803 (ILL_ILLADR): Likewise.
45804 (ILL_ILLTRP): Likewise.
45805 (ILL_PRVOPC): Likewise.
45806 (ILL_PRVREG): Likewise.
45807 (ILL_COPROC): Likewise.
45808 (ILL_BADSTK): Likewise.
45809 (FPE_INTDIV): Likewise.
45810 (FPE_INTOVF): Likewise.
45811 (FPE_FLTDIV): Likewise.
45812 (FPE_FLTOVF): Likewise.
45813 (FPE_FLTUND): Likewise.
45814 (FPE_FLTRES): Likewise.
45815 (FPE_FLTINV): Likewise.
45816 (FPE_FLTSUB): Likewise.
45817 (SEGV_MAPERR): Likewise.
45818 (SEGV_ACCERR): Likewise.
45819 (BUS_ADRALN): Likewise.
45820 (BUS_ADRERR): Likewise.
45821 (BUS_OBJERR): Likewise.
45822 (BUS_MCEERR_AR): Likewise.
45823 (BUS_MCEERR_AO): Likewise.
45824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45825 (TRAP_TRACE): Likewise.
45826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45827 __USE_XOPEN2K8].
45828 (CLD_KILLED): Likewise.
45829 (CLD_DUMPED): Likewise.
45830 (CLD_TRAPPED): Likewise.
45831 (CLD_STOPPED): Likewise.
45832 (CLD_CONTINUED): Likewise.
45833 (POLL_IN): Likewise.
45834 (POLL_OUT): Likewise.
45835 (POLL_MSG): Likewise.
45836 (POLL_ERR): Likewise.
45837 (POLL_PRI): Likewise.
45838 (POLL_HUP): Likewise.
45839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
45840 (ILL_ILLOPN): Likewise.
45841 (ILL_ILLADR): Likewise.
45842 (ILL_ILLTRP): Likewise.
45843 (ILL_PRVOPC): Likewise.
45844 (ILL_PRVREG): Likewise.
45845 (ILL_COPROC): Likewise.
45846 (ILL_BADSTK): Likewise.
45847 (FPE_INTDIV): Likewise.
45848 (FPE_INTOVF): Likewise.
45849 (FPE_FLTDIV): Likewise.
45850 (FPE_FLTOVF): Likewise.
45851 (FPE_FLTUND): Likewise.
45852 (FPE_FLTRES): Likewise.
45853 (FPE_FLTINV): Likewise.
45854 (FPE_FLTSUB): Likewise.
45855 (SEGV_MAPERR): Likewise.
45856 (SEGV_ACCERR): Likewise.
45857 (BUS_ADRALN): Likewise.
45858 (BUS_ADRERR): Likewise.
45859 (BUS_OBJERR): Likewise.
45860 (BUS_MCEERR_AR): Likewise.
45861 (BUS_MCEERR_AO): Likewise.
45862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45863 (TRAP_TRACE): Likewise.
45864 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45865 __USE_XOPEN2K8].
45866 (CLD_KILLED): Likewise.
45867 (CLD_DUMPED): Likewise.
45868 (CLD_TRAPPED): Likewise.
45869 (CLD_STOPPED): Likewise.
45870 (CLD_CONTINUED): Likewise.
45871 (POLL_IN): Likewise.
45872 (POLL_OUT): Likewise.
45873 (POLL_MSG): Likewise.
45874 (POLL_ERR): Likewise.
45875 (POLL_PRI): Likewise.
45876 (POLL_HUP): Likewise.
45877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
45878 (ILL_ILLOPN): Likewise.
45879 (ILL_ILLADR): Likewise.
45880 (ILL_ILLTRP): Likewise.
45881 (ILL_PRVOPC): Likewise.
45882 (ILL_PRVREG): Likewise.
45883 (ILL_COPROC): Likewise.
45884 (ILL_BADSTK): Likewise.
45885 (FPE_INTDIV): Likewise.
45886 (FPE_INTOVF): Likewise.
45887 (FPE_FLTDIV): Likewise.
45888 (FPE_FLTOVF): Likewise.
45889 (FPE_FLTUND): Likewise.
45890 (FPE_FLTRES): Likewise.
45891 (FPE_FLTINV): Likewise.
45892 (FPE_FLTSUB): Likewise.
45893 (SEGV_MAPERR): Likewise.
45894 (SEGV_ACCERR): Likewise.
45895 (BUS_ADRALN): Likewise.
45896 (BUS_ADRERR): Likewise.
45897 (BUS_OBJERR): Likewise.
45898 (BUS_MCEERR_AR): Likewise.
45899 (BUS_MCEERR_AO): Likewise.
45900 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45901 (TRAP_TRACE): Likewise.
45902 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45903 __USE_XOPEN2K8].
45904 (CLD_KILLED): Likewise.
45905 (CLD_DUMPED): Likewise.
45906 (CLD_TRAPPED): Likewise.
45907 (CLD_STOPPED): Likewise.
45908 (CLD_CONTINUED): Likewise.
45909 (POLL_IN): Likewise.
45910 (POLL_OUT): Likewise.
45911 (POLL_MSG): Likewise.
45912 (POLL_ERR): Likewise.
45913 (POLL_PRI): Likewise.
45914 (POLL_HUP): Likewise.
45915 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
45916 (ILL_ILLOPN): Likewise.
45917 (ILL_ILLADR): Likewise.
45918 (ILL_ILLTRP): Likewise.
45919 (ILL_PRVOPC): Likewise.
45920 (ILL_PRVREG): Likewise.
45921 (ILL_COPROC): Likewise.
45922 (ILL_BADSTK): Likewise.
45923 (ILL_DBLFLT): Likewise.
45924 (ILL_HARDWALL): Likewise.
45925 (FPE_INTDIV): Likewise.
45926 (FPE_INTOVF): Likewise.
45927 (FPE_FLTDIV): Likewise.
45928 (FPE_FLTOVF): Likewise.
45929 (FPE_FLTUND): Likewise.
45930 (FPE_FLTRES): Likewise.
45931 (FPE_FLTINV): Likewise.
45932 (FPE_FLTSUB): Likewise.
45933 (SEGV_MAPERR): Likewise.
45934 (SEGV_ACCERR): Likewise.
45935 (BUS_ADRALN): Likewise.
45936 (BUS_ADRERR): Likewise.
45937 (BUS_OBJERR): Likewise.
45938 (BUS_MCEERR_AR): Likewise.
45939 (BUS_MCEERR_AO): Likewise.
45940 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45941 (TRAP_TRACE): Likewise.
45942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45943 __USE_XOPEN2K8].
45944 (CLD_KILLED): Likewise.
45945 (CLD_DUMPED): Likewise.
45946 (CLD_TRAPPED): Likewise.
45947 (CLD_STOPPED): Likewise.
45948 (CLD_CONTINUED): Likewise.
45949 (POLL_IN): Likewise.
45950 (POLL_OUT): Likewise.
45951 (POLL_MSG): Likewise.
45952 (POLL_ERR): Likewise.
45953 (POLL_PRI): Likewise.
45954 (POLL_HUP): Likewise.
45955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
45956 (ILL_ILLOPN): Likewise.
45957 (ILL_ILLADR): Likewise.
45958 (ILL_ILLTRP): Likewise.
45959 (ILL_PRVOPC): Likewise.
45960 (ILL_PRVREG): Likewise.
45961 (ILL_COPROC): Likewise.
45962 (ILL_BADSTK): Likewise.
45963 (FPE_INTDIV): Likewise.
45964 (FPE_INTOVF): Likewise.
45965 (FPE_FLTDIV): Likewise.
45966 (FPE_FLTOVF): Likewise.
45967 (FPE_FLTUND): Likewise.
45968 (FPE_FLTRES): Likewise.
45969 (FPE_FLTINV): Likewise.
45970 (FPE_FLTSUB): Likewise.
45971 (SEGV_MAPERR): Likewise.
45972 (SEGV_ACCERR): Likewise.
45973 (BUS_ADRALN): Likewise.
45974 (BUS_ADRERR): Likewise.
45975 (BUS_OBJERR): Likewise.
45976 (BUS_MCEERR_AR): Likewise.
45977 (BUS_MCEERR_AO): Likewise.
45978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45979 (TRAP_TRACE): Likewise.
45980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45981 __USE_XOPEN2K8].
45982 (CLD_KILLED): Likewise.
45983 (CLD_DUMPED): Likewise.
45984 (CLD_TRAPPED): Likewise.
45985 (CLD_STOPPED): Likewise.
45986 (CLD_CONTINUED): Likewise.
45987 (POLL_IN): Likewise.
45988 (POLL_OUT): Likewise.
45989 (POLL_MSG): Likewise.
45990 (POLL_ERR): Likewise.
45991 (POLL_PRI): Likewise.
45992 (POLL_HUP): Likewise.
45993 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
45994 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45995
45996 [BZ #16670]
45997 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
45998 before #include of <time.h>.
45999 [!__USE_XOPEN2K] (__need_timespec): Likewise.
46000 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46001 (test-xfail-UNIX98/sched.h/conform): Likewise.
46002
46003 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
46004
46005 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46006 error absence of trapping exception support.
46007 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46008
46009 2014-03-07 Joseph Myers <joseph@codesourcery.com>
46010
46011 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46012 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46013 * timezone/Makefile (testdata): Move definition above include of
46014 Rules.
46015 (test-zones): New variable.
46016 (tests-special): Add zone files.
46017 (build-testdata): Use $(evaluate-test).
46018
46019 * elf/Makefile (tests-special): Rename tests to end with .out.
46020 ($(objpfx)noload-mem): Likewise.
46021 ($(objpfx)tst-leaks1-mem): Likewise.
46022 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46023 * iconv/Makefile (xtests-special): Change test-iconvconfig to
46024 $(objpfx)test-iconvconfig.out.
46025 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
46026 set -e inside subshell and redirect output to file.
46027 * iconvdata/Makefile (generated): Rename tests to end with .out.
46028 Correct type.
46029 (tests-special): Rename tests to end with .out.
46030 ($(objpfx)mtrace-tst-loading): Likewise.
46031 * intl/Makefile (generated): Likewise.
46032 (tests-special): Likewise.
46033 ($(objpfx)mtrace-tst-gettext): Likewise.
46034 * misc/Makefile (generated): Likewise.
46035 (tests-special): Likewise.
46036 ($(objpfx)tst-error1-mem): Likewise.
46037 * nptl/Makefile (tests-special): Likewise.
46038 ($(objpfx)tst-stack3-mem): Likewise.
46039 (generated): Likewise.
46040 * posix/Makefile (generated): Likewise.
46041 (tests-special): Likewise.
46042 (xtests-special): Likewise.
46043 ($(objpfx)tst-fnmatch-mem): Likewise.
46044 ($(objpfx)bug-regex2-mem): Likewise.
46045 ($(objpfx)bug-regex14-mem): Likewise.
46046 ($(objpfx)bug-regex21-mem): Likewise.
46047 ($(objpfx)bug-regex31-mem): Likewise.
46048 ($(objpfx)tst-vfork3-mem): Likewise.
46049 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46050 ($(objpfx)tst-pcre-mem): Likewise.
46051 ($(objpfx)tst-boost-mem): Likewise.
46052 ($(objpfx)bug-ga2-mem): Likewise.
46053 ($(objpfx)bug-glob2-mem): Likewise.
46054 * resolv/Makefile (generate): Likewise.
46055 (tests-special): Likewise.
46056 (xtests-special): Likewise.
46057 (generated): Likewise.
46058 ($(objpfx)mtrace-tst-leaks): Likewise.
46059 ($(objpfx)mtrace-tst-leaks2): Likewise.
46060
46061 * scripts/merge-test-results.sh: New file.
46062 * Makefile (tests-special-notdir): New variable.
46063 (tests): Run merge-test-results.sh.
46064 (xtests): Likewise.
46065 * Rules (tests-special-notdir): New variable.
46066 (xtests-special-notdir): Likewise.
46067 (tests): Run merge-test-results.sh
46068 (xtests): Likewise.
46069
46070 * Makeconfig (test-xfail-name): New variable.
46071 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46072 compute variable name for expected failures.
46073 * conform/Makefile (conformtest-headers-data): New variable.
46074 (conformtest-standards): Likewise.
46075 (conformtest-headers-ISO): Likewise.
46076 (conformtest-headers-ISO99): Likewise.
46077 (conformtest-headers-ISO11): Likewise.
46078 (conformtest-headers-POSIX): Likewise.
46079 (conformtest-headers-XPG3): Likewise.
46080 (conformtest-headers-XPG4): Likewise.
46081 (conformtest-headers-UNIX98): Likewise.
46082 (conformtest-headers-XOPEN2K): Likewise.
46083 (conformtest-headers-POSIX2008): Likewise.
46084 (conformtest-headers-XOPEN2K8): Likewise.
46085 (conformtest-header-list-base): Likewise.
46086 (conformtest-header-list-tests): Likewise.
46087 (conformtest-header-base): Likewise.
46088 (conformtest-header-tests): Likewise.
46089 (tests-special): Add $(conformtest-header-list-tests). If
46090 [$(fast-check) && !$(cross-compiling)], add
46091 $(conformtest-header-tests) instead of
46092 $(objpfx)run-conformtest.out.
46093 (generated): Add $(conformtest-header-list-base). If
46094 [$(fast-check) && !$(cross-compiling)], add
46095 $(conformtest-header-base). Remove previous setting.
46096 ($(conformtest-header-list-tests)): New target.
46097 (test-xfail-run-conformtest): Remove variable.
46098 ($(objpfx)run-conformtest.out): Remove target.
46099 (test-xfail-ISO11/complex.h/conform): New variable.
46100 (test-xfail-ISO11/stdalign.h/conform): Likewise.
46101 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46102 (test-xfail-XPG3/varargs.h/conform): Likewise.
46103 (test-xfail-XPG4/varargs.h/conform): Likewise.
46104 (test-xfail-UNIX98/varargs.h/conform): Likewise.
46105 (test-xfail-XPG4/ndbm.h/conform): Likewise.
46106 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46107 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46108 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46109 (test-xfail-XPG3/fcntl.h/conform): Likewise.
46110 (test-xfail-XPG3/ftw.h/conform): Likewise.
46111 (test-xfail-XPG3/grp.h/conform): Likewise.
46112 (test-xfail-XPG3/langinfo.h/conform): Likewise.
46113 (test-xfail-XPG3/limits.h/conform): Likewise.
46114 (test-xfail-XPG3/pwd.h/conform): Likewise.
46115 (test-xfail-XPG3/search.h/conform): Likewise.
46116 (test-xfail-XPG3/signal.h/conform): Likewise.
46117 (test-xfail-XPG3/stdio.h/conform): Likewise.
46118 (test-xfail-XPG3/stdlib.h/conform): Likewise.
46119 (test-xfail-XPG3/string.h/conform): Likewise.
46120 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46121 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46122 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46123 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46124 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46125 (test-xfail-XPG3/sys/types.h/conform): Likewise.
46126 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46127 (test-xfail-XPG3/termios.h/conform): Likewise.
46128 (test-xfail-XPG3/time.h/conform): Likewise.
46129 (test-xfail-XPG3/unistd.h/conform): Likewise.
46130 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46131 (test-xfail-XPG4/fcntl.h/conform): Likewise.
46132 (test-xfail-XPG4/langinfo.h/conform): Likewise.
46133 (test-xfail-XPG4/netdb.h/conform): Likewise.
46134 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46135 (test-xfail-XPG4/signal.h/conform): Likewise.
46136 (test-xfail-XPG4/stdio.h/conform): Likewise.
46137 (test-xfail-XPG4/stdlib.h/conform): Likewise.
46138 (test-xfail-XPG4/stropts.h/conform): Likewise.
46139 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46140 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46141 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46142 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46143 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46144 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46145 (test-xfail-XPG4/sys/time.h/conform): Likewise.
46146 (test-xfail-XPG4/sys/types.h/conform): Likewise.
46147 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46148 (test-xfail-XPG4/termios.h/conform): Likewise.
46149 (test-xfail-XPG4/ucontext.h/conform): Likewise.
46150 (test-xfail-XPG4/unistd.h/conform): Likewise.
46151 (test-xfail-XPG4/utmpx.h/conform): Likewise.
46152 (test-xfail-POSIX/sched.h/conform): Likewise.
46153 (test-xfail-POSIX/signal.h/conform): Likewise.
46154 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46155 (test-xfail-POSIX/tar.h/conform): Likewise.
46156 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46157 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46158 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46159 (test-xfail-UNIX98/netdb.h/conform): Likewise.
46160 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46161 (test-xfail-UNIX98/sched.h/conform): Likewise.
46162 (test-xfail-UNIX98/signal.h/conform): Likewise.
46163 (test-xfail-UNIX98/stdio.h/conform): Likewise.
46164 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46165 (test-xfail-UNIX98/stropts.h/conform): Likewise.
46166 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46167 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46168 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46169 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46170 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46171 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46172 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46173 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46174 (test-xfail-UNIX98/unistd.h/conform): Likewise.
46175 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46176 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46177 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46178 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46179 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46180 (test-xfail-XOPEN2K/math.h/conform): Likewise.
46181 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46182 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46183 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46184 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46185 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46186 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46187 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46188 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46189 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46190 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46191 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46192 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46193 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46194 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46195 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46196 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46197 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46198 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46199 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46200 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46201 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46202 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46203 (test-xfail-POSIX2008/signal.h/conform): Likewise.
46204 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46205 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46206 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46207 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46208 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46209 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46210 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46211 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46212 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46213 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46214 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46215 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46216 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46217 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46218 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46219 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46220 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46221 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46222 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46223 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46224 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46225 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46226 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46227 (conformtest-cc-flags): Likewise.
46228 ($(conformtest-header-tests): New target.
46229 * conform/check-header-lists.sh: New file.
46230 * conform/run-conformtest.sh: Remove.
46231
46232 * conform/conformtest.pl: Allow ' and \ in values given for
46233 constants.
46234 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46235 inclusion.
46236 [POSIX] (sys/types.h): Likewise.
46237 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46238 inclusion.
46239 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46240 inclusion.
46241 * conform/data/signal.h-data (SIGIO): Remove expectation.
46242 [XPG3] (SIGBUS): Do not expect.
46243 [POSIX || XPG3] (SIGPOLL): Likewise.
46244 [POSIX || XPG3] (SIGPROF): Likewise.
46245 [POSIX || XPG3] (SIGSYS): Likewise.
46246 [XPG3] (SIGTRAP): Likewise.
46247 [POSIX || XPG3] (SIGURG): Likewise.
46248 [POSIX || XPG3] (SIGVTALRM): Likewise.
46249 [POSIX || XPG3] (SIGXCPU): Likewise.
46250 [POSIX || XPG3] (SIGXFSZ): Likewise.
46251 [POSIX] (SA_SIGINFO): Expect.
46252 [XPG3] (siginfo_t): Do not expect type or contents.
46253 [POSIX] (si_pid): Do not expect element.
46254 [POSIX] (si_uid): Likewise.
46255 [POSIX] (si_addr): Likewise.
46256 [POSIX] (si_status): Likewise.
46257 [POSIX] (si_band): Likewise.
46258 [XPG4] (si_value): Likewise.
46259 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46260 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46261 [POSIX || XPG3] (ILL_ILLADR): Likewise.
46262 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46263 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46264 [POSIX || XPG3] (ILL_PRVREG): Likewise.
46265 [POSIX || XPG3] (ILL_COPROC): Likewise.
46266 [POSIX || XPG3] (ILL_BADSTK): Likewise.
46267 [POSIX || XPG3] (FPE_INTDIV): Likewise.
46268 [POSIX || XPG3] (FPE_INTOVF): Likewise.
46269 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46270 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46271 [POSIX || XPG3] (FPE_FLTUND): Likewise.
46272 [POSIX || XPG3] (FPE_FLTRES): Likewise.
46273 [POSIX || XPG3] (FPE_FLTINV): Likewise.
46274 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46275 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46276 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46277 [POSIX || XPG3] (BUS_ADRALN): Likewise.
46278 [POSIX || XPG3] (BUS_ADRERR): Likewise.
46279 [POSIX || XPG3] (BUS_OBJERR): Likewise.
46280 [POSIX || XPG3] (CLD_EXITED): Likewise.
46281 [POSIX || XPG3] (CLD_KILLED): Likewise.
46282 [POSIX || XPG3] (CLD_DUMPED): Likewise.
46283 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46284 [POSIX || XPG3] (CLD_STOPPED): Likewise.
46285 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46286 [POSIX || XPG3] (POLL_IN): Likewise.
46287 [POSIX || XPG3] (POLL_OUT): Likewise.
46288 [POSIX || XPG3] (POLL_MSG): Likewise.
46289 [POSIX || XPG3] (POLL_ERR): Likewise.
46290 [POSIX || XPG3] (POLL_PRI): Likewise.
46291 [POSIX || XPG3] (POLL_HUP): Likewise.
46292 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46293 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46294 (SIG*): Do not allow.
46295 [XPG3] (si_*): Likewise.
46296 [XPG3] (SI_*): Likewise.
46297 [XPG3 || XPG4] (sigev_*): Likewise.
46298 [XPG3 || XPG4] (SIGEV_*): Likewise.
46299 [XPG3 || XPG4] (sival_*): Likewise.
46300 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46301 [POSIX || XPG3] (BUS_*): Likewise.
46302 [POSIX || XPG3] (CLD_*): Likewise.
46303 [POSIX || XPG3] (FPE_*): Likewise.
46304 [POSIX || XPG3] (ILL_*): Likewise.
46305 [POSIX || XPG3] (POLL_*): Likewise.
46306 [POSIX || XPG3] (SEGV_*): Likewise.
46307 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46308 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46309 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46310 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46311 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46312 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46313 Specify type and value.
46314 (TVERSLEN): Likewise.
46315 (REGTYPE): Likewise.
46316 (AREGTYPE): Likewise.
46317 (LNKTYPE): Likewise.
46318 (SYMTYPE): Likewise.
46319 (CHRTYPE): Likewise.
46320 (BLKTYPE): Likewise.
46321 (DIRTYPE): Likewise.
46322 (FIFOTYPE): Likewise.
46323 (CONTTYPE): Likewise.
46324 (TSUID): Likewise.
46325 (TSGID): Likewise.
46326 (TSVTX): Likewise.
46327 (TUREAD): Likewise.
46328 (TUWRITE): Likewise.
46329 (TUEXEC): Likewise.
46330 (TGREAD): Likewise.
46331 (TGWRITE): Likewise.
46332 (TGEXEC): Likewise.
46333 (TOREAD): Likewise.
46334 (TOWRITE): Likewise.
46335 (TOEXEC): Likewise.
46336 [POSIX] (TSVTX): Expect constant.
46337
46338 2014-03-06 Joseph Myers <joseph@codesourcery.com>
46339
46340 * Makefile (tests): Change dependencies to ....
46341 (tests-special): ... additions to this variable.
46342 (tests): Depend on $(tests-special).
46343 * Makerules (check-abi-list): New variable.
46344 (check-abi): Depend on $(check-abi-list).
46345 [$(subdir) = elf] (tests-special): Add
46346 $(objpfx)check-abi-libc.out.
46347 [$(build-shared) = yes && subdir] (tests-special): Add
46348 $(check-abi-list).
46349 [$(build-shared) = yes && subdir] (tests): Do not depend on
46350 check-abi.
46351 * Rules (tests): Depend on $(tests-special).
46352 (xtests): Depend on $(xtests-special).
46353 * catgets/Makefile (tests): Change dependencies to ....
46354 (tests-special): ... additions to this variable.
46355 * conform/Makefile (tests): Change dependencies to ....
46356 (tests-special): ... additions to this variable.
46357 * elf/Makefile (tests): Change dependencies to ....
46358 (tests-special): ... additions to this variable.
46359 * grp/Makefile (tests): Change dependencies to ....
46360 (tests-special): ... additions to this variable.
46361 * iconv/Makefile (xtests): Change dependencies to ....
46362 (xtests-special): ... additions to this variable.
46363 * iconvdata/Makefile (tests): Change dependencies to ....
46364 (tests-special): ... additions to this variable.
46365 * intl/Makefile (tests): Change dependencies to ....
46366 (tests-special): ... additions to this variable. Also add
46367 $(objpfx)tst-gettext.out.
46368 * io/Makefile (tests): Change dependencies to ....
46369 (tests-special): ... additions to this variable.
46370 * libio/Makefile (tests): Change dependencies to ....
46371 (tests-special): ... additions to this variable.
46372 * malloc/Makefile (tests): Change dependencies to ....
46373 (tests-special): ... additions to this variable.
46374 * misc/Makefile (tests): Change dependencies to ....
46375 (tests-special): ... additions to this variable.
46376 * nptl/Makefile (tests): Change dependencies to ....
46377 (tests-special): ... additions to this variable.
46378 * nptl_db/Makefile (tests): Change dependencies to ....
46379 (tests-special): ... additions to this variable.
46380 * posix/Makefile (tests): Change dependencies to ....
46381 (tests-special): ... additions to this variable.
46382 (xtests): Change dependencies to ....
46383 (xtests-special): ... additions to this variable.
46384 * resolv/Makefile (tests): Change dependencies to ....
46385 (tests-special): ... additions to this variable.
46386 (xtests): Change dependencies to ....
46387 (xtests-special): ... additions to this variable.
46388 * stdio-common/Makefile (tests): Change dependencies to ....
46389 (tests-special): ... additions to this variable.
46390 (do-tst-unbputc): Remove target.
46391 (do-tst-printf): Likewise.
46392 * stdlib/Makefile (tests): Change dependencies to ....
46393 (tests-special): ... additions to this variable.
46394 * string/Makefile (tests): Change dependencies to ....
46395 (tests-special): ... additions to this variable.
46396 * sysdeps/x86/Makefile (tests): Change dependencies to ....
46397 (tests-special): ... additions to this variable.
46398
46399 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
46400 whole file.
46401 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
46402 whole file.
46403 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
46404 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
46405
46406 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
46407 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
46408 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
46409 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
46410 * conform/data/libgen.h-data [XPG3]: Likewise.
46411 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
46412 * conform/data/ndbm.h-data [XPG3]: Likewise.
46413 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46414 * conform/data/netdb.h-data [XPG3]: Likewise.
46415 * conform/data/netinet/in.h-data [XPG3]: Likewise.
46416 * conform/data/poll.h-data [XPG3]: Likewise.
46417 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46418 * conform/data/strings.h-data [XPG3]: Likewise.
46419 * conform/data/stropts.h-data [XPG3]: Likewise.
46420 * conform/data/sys/mman.h-data [XPG3]: Likewise.
46421 * conform/data/sys/resource.h-data [XPG3]: Likewise.
46422 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
46423 Likewise.
46424 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
46425 * conform/data/sys/time.h-data [XPG3]: Likewise.
46426 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
46427 * conform/data/sys/uio.h-data [XPG3]: Likewise.
46428 * conform/data/sys/un.h-data [XPG3]: Likewise.
46429 * conform/data/syslog.h-data [XPG3]: Likewise.
46430 * conform/data/ucontext.h-data [XPG3]: Likewise.
46431 * conform/data/utmpx.h-data [XPG3]: Likewise.
46432 * conform/data/varargs.h-data [UNIX98]: Enable file.
46433
46434 * manual/Makefile (INSTALL_INFO): Remove variable setting.
46435
46436 * math/libm-test.inc (struct test_f_f_data): Move expected results
46437 into structure for each rounding mode.
46438 (struct test_ff_f_data): Likewise.
46439 (struct test_ff_f_data_nexttoward): Likewise.
46440 (struct test_fi_f_data): Likewise.
46441 (struct test_fl_f_data): Likewise.
46442 (struct test_if_f_data): Likewise.
46443 (struct test_fff_f_data): Likewise.
46444 (struct test_c_f_data): Likewise.
46445 (struct test_f_f1_data): Likewise.
46446 (struct test_fF_f1_data): Likewise.
46447 (struct test_ffI_f1_data): Likewise.
46448 (struct test_c_c_data): Likewise.
46449 (struct test_cc_c_data): Likewise.
46450 (struct test_f_i_data): Likewise.
46451 (struct test_ff_i_data): Likewise.
46452 (struct test_f_l_data): Likewise.
46453 (struct test_f_L_data): Likewise.
46454 (struct test_fFF_11_data): Likewise.
46455 (RM_): New macro.
46456 (RM_FE_DOWNWARD): Likewise.
46457 (RM_FE_TONEAREST): Likewise.
46458 (RM_FE_TOWARDZERO): Likewise.
46459 (RM_FE_UPWARD): Likewise.
46460 (RUN_TEST_LOOP_f_f): Update references to expected results.
46461 (RUN_TEST_LOOP_2_f): Likewise.
46462 (RUN_TEST_LOOP_fff_f): Likewise.
46463 (RUN_TEST_LOOP_c_f): Likewise.
46464 (RUN_TEST_LOOP_f_f1): Likewise.
46465 (RUN_TEST_LOOP_fF_f1): Likewise.
46466 (RUN_TEST_LOOP_fI_f1): Likewise.
46467 (RUN_TEST_LOOP_ffI_f1): Likewise.
46468 (RUN_TEST_LOOP_c_c): Likewise.
46469 (RUN_TEST_LOOP_cc_c): Likewise.
46470 (RUN_TEST_LOOP_f_i): Likewise.
46471 (RUN_TEST_LOOP_f_i_tg): Likewise.
46472 (RUN_TEST_LOOP_ff_i_tg): Likewise.
46473 (RUN_TEST_LOOP_f_b): Likewise.
46474 (RUN_TEST_LOOP_f_b_tg): Likewise.
46475 (RUN_TEST_LOOP_f_l): Likewise.
46476 (RUN_TEST_LOOP_f_L): Likewise.
46477 (RUN_TEST_LOOP_fFF_11): Likewise.
46478 * math/gen-libm-test.pl (parse_args): Output four copies of
46479 expected results for each test.
46480
46481 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46482 (__ASSUME_UTIMES): Remove.
46483 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46484 (__ASSUME_UTIMES): Likewise.
46485
46486 * math/gen-auto-libm-tests.c: Update comment on output format.
46487 (output_for_one_input_case): Generate before-rounding and
46488 after-rounding information as conditions on output flags not
46489 floating-point format.
46490 * math/auto-libm-test-out: Regenerated.
46491 * math/gen-libm-test.pl (cond_value): New function.
46492 (or_cond_value): Use cond_value.
46493 (generate_testfile): Handle conditional exceptions.
46494
46495 2014-03-05 Joseph Myers <joseph@codesourcery.com>
46496
46497 * math/libm-test.inc (max_valid_error): New variable.
46498 (init_max_error): Take new argument specifying whether function
46499 results are exactly determined. Set max_valid_error and bound
46500 other variables for errors based on this argument.
46501 (set_max_error): Do not record results above max_valid_error.
46502 (check_float_internal): Only accept errors of up to 0.5ulps if
46503 also at most max_valid_error.
46504 (START): Take new argument EXACT and pass it to init_max_error.
46505 (acos_test): Update call to START.
46506 (acos_test_tonearest): Likewise.
46507 (acos_test_towardzero): Likewise.
46508 (acos_test_downward): Likewise.
46509 (acos_test_upward): Likewise.
46510 (acosh_test): Likewise.
46511 (asin_test): Likewise.
46512 (asin_test_tonearest): Likewise.
46513 (asin_test_towardzero): Likewise.
46514 (asin_test_downward): Likewise.
46515 (asin_test_upward): Likewise.
46516 (asinh_test): Likewise.
46517 (atan_test): Likewise.
46518 (atanh_test): Likewise.
46519 (atan2_test): Likewise.
46520 (cabs_test): Likewise.
46521 (cacos_test): Likewise.
46522 (cacosh_test): Likewise.
46523 (carg_test): Likewise.
46524 (casin_test): Likewise.
46525 (casinh_test): Likewise.
46526 (catan_test): Likewise.
46527 (catanh_test): Likewise.
46528 (cbrt_test): Likewise.
46529 (ccos_test): Likewise.
46530 (ccosh_test): Likewise.
46531 (ceil_test): Likewise.
46532 (cexp_test): Likewise.
46533 (cimag_test): Likewise.
46534 (clog_test): Likewise.
46535 (clog10_test): Likewise.
46536 (conj_test): Likewise.
46537 (copysign_test): Likewise.
46538 (cos_test): Likewise.
46539 (cos_test_tonearest): Likewise.
46540 (cos_test_towardzero): Likewise.
46541 (cos_test_downward): Likewise.
46542 (cos_test_upward): Likewise.
46543 (cosh_test): Likewise.
46544 (cosh_test_tonearest): Likewise.
46545 (cosh_test_towardzero): Likewise.
46546 (cosh_test_downward): Likewise.
46547 (cosh_test_upward): Likewise.
46548 (cpow_test): Likewise.
46549 (cproj_test): Likewise.
46550 (creal_test): Likewise.
46551 (csin_test): Likewise.
46552 (csinh_test): Likewise.
46553 (csqrt_test): Likewise.
46554 (ctan_test): Likewise.
46555 (ctan_test_tonearest): Likewise.
46556 (ctan_test_towardzero): Likewise.
46557 (ctan_test_downward): Likewise.
46558 (ctan_test_upward): Likewise.
46559 (ctanh_test): Likewise.
46560 (ctanh_test_tonearest): Likewise.
46561 (ctanh_test_towardzero): Likewise.
46562 (ctanh_test_downward): Likewise.
46563 (ctanh_test_upward): Likewise.
46564 (erf_test): Likewise.
46565 (erfc_test): Likewise.
46566 (exp_test): Likewise.
46567 (exp_test_tonearest): Likewise.
46568 (exp_test_towardzero): Likewise.
46569 (exp_test_downward): Likewise.
46570 (exp_test_upward): Likewise.
46571 (exp10_test): Likewise.
46572 (exp10_test_tonearest): Likewise.
46573 (exp10_test_towardzero): Likewise.
46574 (exp10_test_downward): Likewise.
46575 (exp10_test_upward): Likewise.
46576 (pow10_test): Likewise.
46577 (exp2_test): Likewise.
46578 (expm1_test): Likewise.
46579 (expm1_test_tonearest): Likewise.
46580 (expm1_test_towardzero): Likewise.
46581 (expm1_test_downward): Likewise.
46582 (expm1_test_upward): Likewise.
46583 (fabs_test): Likewise.
46584 (fdim_test): Likewise.
46585 (floor_test): Likewise.
46586 (fma_test): Likewise.
46587 (fma_test_towardzero): Likewise.
46588 (fma_test_downward): Likewise.
46589 (fma_test_upward): Likewise.
46590 (fmax_test): Likewise.
46591 (fmin_test): Likewise.
46592 (fmod_test): Likewise.
46593 (fpclassify_test): Likewise.
46594 (frexp_test): Likewise.
46595 (hypot_test): Likewise.
46596 (ilogb_test): Likewise.
46597 (isfinite_test): Likewise.
46598 (finite_test): Likewise.
46599 (isgreater_test): Likewise.
46600 (isgreaterequal_test): Likewise.
46601 (isinf_test): Likewise.
46602 (isless_test): Likewise.
46603 (islessequal_test): Likewise.
46604 (islessgreater_test): Likewise.
46605 (isnan_test): Likewise.
46606 (isnormal_test): Likewise.
46607 (issignaling_test): Likewise.
46608 (isunordered_test): Likewise.
46609 (j0_test): Likewise.
46610 (j1_test): Likewise.
46611 (jn_test): Likewise.
46612 (ldexp_test): Likewise.
46613 (lgamma_test): Likewise.
46614 (gamma_test): Likewise.
46615 (lrint_test): Likewise.
46616 (lrint_test_tonearest): Likewise.
46617 (lrint_test_towardzero): Likewise.
46618 (lrint_test_downward): Likewise.
46619 (lrint_test_upward): Likewise.
46620 (llrint_test): Likewise.
46621 (llrint_test_tonearest): Likewise.
46622 (llrint_test_towardzero): Likewise.
46623 (llrint_test_downward): Likewise.
46624 (llrint_test_upward): Likewise.
46625 (log_test): Likewise.
46626 (log10_test): Likewise.
46627 (log1p_test): Likewise.
46628 (log2_test): Likewise.
46629 (logb_test): Likewise.
46630 (logb_test_downward): Likewise.
46631 (lround_test): Likewise.
46632 (llround_test): Likewise.
46633 (modf_test): Likewise.
46634 (nearbyint_test): Likewise.
46635 (nextafter_test): Likewise.
46636 (nexttoward_test): Likewise.
46637 (pow_test): Likewise.
46638 (pow_test_tonearest): Likewise.
46639 (pow_test_towardzero): Likewise.
46640 (pow_test_downward): Likewise.
46641 (pow_test_upward): Likewise.
46642 (remainder_test): Likewise.
46643 (drem_test): Likewise.
46644 (remainder_test_tonearest): Likewise.
46645 (drem_test_tonearest): Likewise.
46646 (remainder_test_towardzero): Likewise.
46647 (drem_test_towardzero): Likewise.
46648 (remainder_test_downward): Likewise.
46649 (drem_test_downward): Likewise.
46650 (remainder_test_upward): Likewise.
46651 (drem_test_upward): Likewise.
46652 (remquo_test): Likewise.
46653 (rint_test): Likewise.
46654 (rint_test_tonearest): Likewise.
46655 (rint_test_towardzero): Likewise.
46656 (rint_test_downward): Likewise.
46657 (rint_test_upward): Likewise.
46658 (round_test): Likewise.
46659 (scalb_test): Likewise.
46660 (scalbn_test): Likewise.
46661 (scalbln_test): Likewise.
46662 (signbit_test): Likewise.
46663 (sin_test): Likewise.
46664 (sin_test_tonearest): Likewise.
46665 (sin_test_towardzero): Likewise.
46666 (sin_test_downward): Likewise.
46667 (sin_test_upward): Likewise.
46668 (sincos_test): Likewise.
46669 (sinh_test): Likewise.
46670 (sinh_test_tonearest): Likewise.
46671 (sinh_test_towardzero): Likewise.
46672 (sinh_test_downward): Likewise.
46673 (sinh_test_upward): Likewise.
46674 (sqrt_test): Likewise.
46675 (sqrt_test_tonearest): Likewise.
46676 (sqrt_test_towardzero): Likewise.
46677 (sqrt_test_downward): Likewise.
46678 (sqrt_test_upward): Likewise.
46679 (tan_test): Likewise.
46680 (tan_test_tonearest): Likewise.
46681 (tan_test_towardzero): Likewise.
46682 (tan_test_downward): Likewise.
46683 (tan_test_upward): Likewise.
46684 (tanh_test): Likewise.
46685 (tgamma_test): Likewise.
46686 (trunc_test): Likewise.
46687 (y0_test): Likewise.
46688 (y1_test): Likewise.
46689 (yn_test): Likewise.
46690 (significand_test): Likewise.
46691
46692 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
46693 individual tests in comment.
46694 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
46695 (prev_max_error): New variable.
46696 (prev_real_max_error): Likewise.
46697 (prev_imag_max_error): Likewise.
46698 (compare_ulp_data): Don't refer to test names in comment.
46699 (find_test_ulps): Remove function.
46700 (find_function_ulps): Likewise.
46701 (find_complex_function_ulps): Likewise.
46702 (init_max_error): Take function name as argument. Look up ulps
46703 for that function.
46704 (print_ulps): Remove function.
46705 (print_max_error): Use prev_max_error instead of calling
46706 find_function_ulps.
46707 (print_complex_max_error): Use prev_real_max_error and
46708 prev_imag_max_error instead of calling find_complex_function_ulps.
46709 (check_float_internal): Take max_ulp parameter instead of calling
46710 find_test_ulps. Don't call print_ulps.
46711 (check_float): Update call to check_float_internal.
46712 (check_complex): Update calls to check_float_internal.
46713 (START): Pass argument to init_max_error.
46714 * math/gen-libm-test.pl (%results): Don't include "kind"
46715 information.
46716 (parse_ulps): Don't handle ulps of individual tests.
46717 (print_ulps_file): Likewise.
46718 (output_ulps): Likewise.
46719 * math/README.libm-test: Update.
46720 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
46721 individual tests.
46722 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
46723 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
46724 * sysdeps/arm/libm-test-ulps: Likewise.
46725 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
46726 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
46727 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
46728 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
46729 * sysdeps/microblaze/libm-test-ulps: Likewise.
46730 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
46731 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46733 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
46734 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46735 * sysdeps/sh/libm-test-ulps: Likewise.
46736 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46737 * sysdeps/tile/libm-test-ulps: Likewise.
46738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46739
46740 2014-03-04 Joseph Myers <joseph@codesourcery.com>
46741
46742 * math/libm-test.inc (print_complex_max_error): Check separately
46743 whether real and imaginary errors are within allowed range and
46744 pass 0 to print_complex_function_ulps instead of value within
46745 allowed range.
46746
46747 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46748
46749 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
46750 formatting.
46751 (get_handles_fopen): Likewise.
46752 (do_write_test): Likewise.
46753
46754 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
46755
46756 * libio/fileops.c (do_ftell): Use cached offset when
46757 available.
46758 * libio/iofwide.c (do_ftell_wide): Likewise.
46759 * libio/iofdopen.c (_IO_new_fdopen): Don't use
46760 _IO_file_attach.
46761 * libio/wfileops.c (_IO_fwide): Don't cache offset.
46762
46763 [BZ #16532]
46764 * libio/libioP.h (get_file_offset): New function.
46765 * libio/fileops.c (get_file_offset): Likewise.
46766 (do_ftell): Likewise.
46767 (_IO_new_file_seekoff): Split out ftell logic.
46768 * libio/wfileops.c (do_ftell_wide): Likewise.
46769 (_IO_wfile_seekoff): Split out ftell logic.
46770 * libio/tst-ftell-active-handler.c: New test case.
46771 * libio/Makefile (tests): Add it.
46772
46773 2014-03-03 Roland McGrath <roland@hack.frob.com>
46774
46775 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
46776 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
46777
46778 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
46779
46780 [BZ #16639]
46781 * nscd/connections.c (nscd_init): Call do_exit.
46782 (start_threads): Call do_exit and notify_parent.
46783 (begin_drop_privileges): Call do_exit.
46784 (finish_drop_privileges): Likewise.
46785 * nscd/selinux.c (preserve_capabilities): Likewise.
46786 (install_real_capabilities): Likewise.
46787 (nscd_selinux_enabled): Likewise.
46788 (avc_create_thread): Likewise.
46789 (avc_alloc_lock): Likewise.
46790 (nscd_avc_init): Likewise.
46791 * nscd/nscd.c (parent_fd): New static variable.
46792 (main): Create a pipe between parent and child processes.
46793 Skip closing parent_fd.
46794 (monitor_child): New function.
46795 (do_exit): Likewise.
46796 (notify_parent): Likewise.
46797 * nscd/nscd.h (notify_parent): Likewise.
46798 (do_exit): Likewise.
46799
46800 2014-03-03 Carlos O'Donell <carlos@redhat.com>
46801
46802 * malloc/malloc.c (__libc_calloc): Revert last change.
46803
46804 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46805
46806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46807
46808 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46809
46810 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
46811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
46812 implementation.
46813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46814 (__libc_ifunc_impl_list): Likewise.
46815 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
46816 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
46817 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
46818 * string/strrchr.c: Define STRRCHR.
46819
46820 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
46821
46822 * benchtest/bench-strtok.c (simple_strtok): Delete.
46823 (strtok_string): Use as benchmark.
46824 * string/strtok (STRTOK): New macro.
46825
46826 2014-02-28 Carlos O'Donell <carlos@redhat.com>
46827
46828 * manual/threads.texi: Add header and standard comments to all
46829 functions.
46830
46831 * elf/dl-lookup.c (check_match): New function.
46832 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
46833 (do_lookup_x): Remove nested function check_match. Use non-nested
46834 function check_match.
46835
46836 2014-02-28 Roland McGrath <roland@hack.frob.com>
46837
46838 * csu/Makefile (generated, before-compile): Use += rather than =.
46839 * catgets/Makefile (generated, generated-dirs): Likewise.
46840 * debug/Makefile (generated): Likewise.
46841 * dlfcn/Makefile (generated): Likewise.
46842 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
46843 * iconvdata/Makefile (before-compile, generated): Likewise.
46844 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
46845 * libio/Makefile (generated): Likewise.
46846 * malloc/Makefile (generated): Likewise.
46847 * manual/Makefile (generated, generated-dirs): Likewise.
46848 * misc/Makefile (generated): Likewise.
46849 * posix/Makefile (generated): Likewise.
46850 * resolv/Makefile (generated): Likewise.
46851 * sunrpc/Makefile (generated, generated-dirs): Likewise.
46852 * timezone/Makefile (generated, generated-dirs): Likewise.
46853
46854 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
46855
46856 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46857
46858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46859 power8 implementation.
46860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
46861 file: POWER8 llround ifunc implementation.
46862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
46863 (__lllround): Add POWER8 implementation.
46864 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
46865 POWER8 llround implementation.
46866
46867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
46868 power8 implementation.
46869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
46870 file: POWER8 llrint ifunc implementation.
46871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
46872 Add POWER8 implementation.
46873 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
46874 POWER8 llrint implementation.
46875
46876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
46877 power8 implementation.
46878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
46879 file: POWER8 finite ifunc implementation.
46880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
46881 Add POWER8 implementation.
46882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
46883 Likewise.
46884 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
46885 POWER8 finite implementation.
46886 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
46887
46888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
46889 power8 implementation.
46890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
46891 file: POWER8 isinf ifunc implementation.
46892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
46893 POWER8 implementation.
46894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46895 Likewise.
46896 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
46897 isinf implementation.
46898 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
46899
46900 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
46901 (INIT_ARCH): Add hwcap2 initialization.
46902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46903 power8 implementation.
46904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
46905 file: POWER8 isnan ifunc implementation.
46906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
46907 POWER8 implementation.
46908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
46909 Likewise.
46910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
46911 isnan implementation.
46912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
46913
46914 2014-02-27 Joey Ye <joey.ye@arm.com>
46915
46916 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46917 (_FP_NANFRAC_Q): Set to zero.
46918
46919 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46920
46921 [BZ #16623]
46922 * math/auto-libm-test-in: New test inputs.
46923 * math/auto-libm-test-out: Regenerate.
46924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
46925 and DA.
46926 (__cos): Likewise.
46927 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46928
46929 2014-02-27 Joseph Myers <joseph@codesourcery.com>
46930
46931 * scripts/evaluate-test.sh: Take new argument indicating whether
46932 failure is expected.
46933 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
46934 indicating whether failure is expected.
46935 * conform/Makefile (test-xfail-run-conformtest): New variable.
46936 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
46937 level.
46938 * posix/Makefile (test-xfail-annexc): New variable.
46939 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
46940
46941 2014-02-26 Joseph Myers <joseph@codesourcery.com>
46942
46943 * argp/Makefile: Include Makeconfig immediately after defining
46944 subdir.
46945 * assert/Makefile: Likewise.
46946 * benchtests/Makefile: Likewise.
46947 * catgets/Makefile: Likewise.
46948 * conform/Makefile: Likewise.
46949 * crypt/Makefile: Likewise.
46950 * csu/Makefile: Likewise.
46951 (all): Remove target.
46952 * ctype/Makefile: Include Makeconfig immediately after defining
46953 subdir.
46954 * debug/Makefile: Likewise.
46955 * dirent/Makefile: Likewise.
46956 * dlfcn/Makefile: Likewise.
46957 * gmon/Makefile: Likewise.
46958 * gnulib/Makefile: Likewise.
46959 * grp/Makefile: Likewise.
46960 * gshadow/Makefile: Likewise.
46961 * hesiod/Makefile: Likewise.
46962 * hurd/Makefile: Likewise.
46963 (all): Remove target.
46964 * iconvdata/Makefile: Include Makeconfig immediately after
46965 defining subdir.
46966 * inet/Makefile: Likewise.
46967 * intl/Makefile: Likewise.
46968 * io/Makefile: Likewise.
46969 * libio/Makefile: Likewise.
46970 (all): Remove target.
46971 * locale/Makefile: Include Makeconfig immediately after defining
46972 subdir.
46973 * login/Makefile: Likewise.
46974 * mach/Makefile: Likewise.
46975 (all): Remove target.
46976 * malloc/Makefile: Include Makeconfig immediately after defining
46977 subdir.
46978 (all): Remove target.
46979 * manual/Makefile: Include Makeconfig immediately after defining
46980 subdir.
46981 * math/Makefile: Likewise.
46982 * misc/Makefile: Likewise.
46983 * nis/Makefile: Likewise.
46984 * nss/Makefile: Likewise.
46985 * po/Makefile: Likewise.
46986 (all): Remove target.
46987 * posix/Makefile: Include Makeconfig immediately after defining
46988 subdir.
46989 * pwd/Makefile: Likewise.
46990 * resolv/Makefile: Likewise.
46991 * resource/Makefile: Likewise.
46992 * rt/Makefile: Likewise.
46993 * setjmp/Makefile: Likewise.
46994 * shadow/Makefile: Likewise.
46995 * signal/Makefile: Likewise.
46996 * socket/Makefile: Likewise.
46997 * soft-fp/Makefile: Likewise.
46998 * stdio-common/Makefile: Likewise.
46999 * stdlib/Makefile: Likewise.
47000 * streams/Makefile: Likewise.
47001 * string/Makefile: Likewise.
47002 * sunrpc/Makefile: Likewise.
47003 (all): Remove target.
47004 * sysvipc/Makefile: Include Makeconfig immediately after defining
47005 subdir.
47006 * termios/Makefile: Likewise.
47007 * time/Makefile: Likewise.
47008 * timezone/Makefile: Likewise.
47009 (all): Remove target.
47010 * wcsmbs/Makefile: Include Makeconfig immediately after defining
47011 subdir.
47012 * wctype/Makefile: Likewise.
47013
47014 2014-02-26 Steve Ellcey <sellcey@mips.com>
47015
47016 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47017 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47018 (libc_feholdexcept_setround_mips): Ditto.
47019 (libc_feholdsetround): New.
47020 (libc_feholdsetroundf): New.
47021 (libc_feholdsetroundl): New.
47022 (libc_feupdateenv_test_mips): New.
47023 (libc_feupdateenv_test): New.
47024 (libc_feupdateenv_testf): New.
47025 (libc_feupdateenv_testl): New.
47026 (libc_feresetround): New.
47027 (libc_feresetroundf): New.
47028 (libc_feresetroundl): New.
47029 (libc_fetestexcept_mips): New.
47030 (libc_fetestexcept): New.
47031 (libc_fetestexceptf): New.
47032 (libc_fetestexceptl): New.
47033 (HAVE_RM_CTX): New.
47034 (libc_feholdexcept_setround_mips_ctx): New.
47035 (libc_feholdexcept_setround_ctx): New.
47036 (libc_feholdexcept_setroundf_ctx): New.
47037 (libc_feholdexcept_setroundl_ctx): New.
47038 (libc_fesetenv_mips_ctx): New.
47039 (libc_fesetenv_ctx): New.
47040 (libc_fesetenv_ctxf): New.
47041 (libc_fesetenv_ctxl): New.
47042 (libc_feupdateenv_mips_ctx): New.
47043 (libc_feupdateenv_ctx): New.
47044 (libc_feupdateenvf_ctx): New.
47045 (libc_feupdateenvl_ctx): New.
47046 (libc_feholdsetround_mips_ctx): New.
47047 (libc_feholdsetround_ctx): New.
47048 (libc_feholdsetroundf_ctx): New.
47049 (libc_feholdsetroundl_ctx): New.
47050 (libc_feresetround_mips_ctx): New.
47051 (libc_feresetround_ctx): New.
47052 (libc_feresetroundf_ctx): New.
47053 (libc_feresetroundl_ctx): New.
47054
47055 2014-02-26 Carlos O'Donell <carlos@redhat.com>
47056
47057 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47058
47059 * manual/ipc.texi: New file.
47060 * manual/Makefile (chapters): Add ipc.
47061 * manual/job.texi: Add "Inter-Process Communication" to next.
47062 * manual/process.texi: Add "Inter-Process Communication" to prev.
47063
47064 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47065
47066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47067
47068 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
47069
47070 * malloc/malloc.c (__libc_calloc): Simplify implementation.
47071
47072 * manual/arith.texi: Fix spaces after sentences.
47073 * manual/charset.texi: Likewise.
47074 * manual/errno.texi: Likewise.
47075 * manual/install.texi: Likewise.
47076 * manual/llio.texi: Likewise.
47077 * manual/locale.texi: Likewise.
47078 * manual/maint.texi: Likewise.
47079 * manual/math.texi: Likewise.
47080 * manual/memory.texi: Likewise.
47081 * manual/message.texi: Likewise.
47082 * manual/probes.texi: Likewise.
47083 * manual/resource.texi: Likewise.
47084 * manual/signal.texi: Likewise.
47085 * manual/socket.texi: Likewise.
47086 * manual/stdio.texi: Likewise.
47087 * manual/string.texi: Likewise.
47088 * manual/time.texi: Likewise.
47089 * manual/users.texi: Likewise.
47090
47091 2014-02-25 Carlos O'Donell <carlos@redhat.com>
47092
47093 [BZ #16632]
47094 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47095 _DEFAULT_SOURCE is defined.
47096
47097 2014-02-25 Ulrich Drepper <drepper@gmail.com>
47098 Carlos O'Donell <carlos@redhat.com>
47099
47100 [BZ #16613]
47101 * elf/dl-tls.c (_dl_count_modids): New function.
47102 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47103 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47104 audit library and increment generation counter.
47105 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47106 * elf/tst-audit9.c: New file.
47107 * elf/tst-auditmod9a.c: New file.
47108 * elf/tst-auditmod9b.c: New file.
47109 * elf/Makefile: Add rules to build and run tst-audit9.
47110
47111 2014-02-25 Florian Weimer <fweimer@redhat.com>
47112
47113 [BZ #15347]
47114 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47115
47116 2014-02-25 Will Newton <will.newton@linaro.org>
47117
47118 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47119 (__longjmp): Restore sp and lr before restoring callee
47120 saved registers. Add longjmp and longjmp_target
47121 SystemTap probe point.
47122 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47123 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47124 Define to zero to match jmpbuf layout.
47125 * sysdeps/arm/setjmp.S: Include stap-probe.h.
47126 (__sigsetjmp): Save sp and lr before saving callee
47127 saved registers. Add setjmp SystemTap probe point.
47128
47129 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
47130
47131 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47132
47133 2014-02-24 Andreas Schwab <schwab@suse.de>
47134
47135 [BZ #15804]
47136 * elf/pldd.c (wait_for_ptrace_stop): New function.
47137 (main): Call it after attaching.
47138
47139 2014-02-22 Roland McGrath <roland@hack.frob.com>
47140
47141 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47142 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47143 Versions files is now verboten.
47144 * hurd/Versions (libc: GLIBC_2.0):
47145 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47146 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47147 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47148 * mach/Versions: Likewise.
47149
47150 * csu/Versions: Remove unused %include.
47151 * resolv/Versions: Likewise.
47152
47153 2014-02-21 Joseph Myers <joseph@codesourcery.com>
47154
47155 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47156 ($(objpfx)check-local-headers.out): Likewise.
47157 ($(objpfx)begin-end-check.out): Likewise.
47158 * Makerules (check-abi-%.out): Likewise.
47159 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47160 ($(objpfx)test2.cat): Likewise.
47161 ($(objpfx)de/libc.cat): Likewise.
47162 ($(objpfx)test-gencat.out): Likewise.
47163 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47164 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47165 ($(objpfx)noload-mem): Likewise.
47166 ($(objpfx)tst-pathopt.out): Likewise.
47167 ($(objpfx)tst-rtld-load-self.out): Likewise.
47168 ($(objpfx)tst-array1-cmp.out): Likewise.
47169 ($(objpfx)tst-array1-static-cmp.out): Likewise.
47170 ($(objpfx)tst-array2-cmp.out): Likewise.
47171 ($(objpfx)tst-array3-cmp.out): Likewise.
47172 ($(objpfx)tst-array4-cmp.out): Likewise.
47173 ($(objpfx)tst-array5-cmp.out): Likewise.
47174 ($(objpfx)tst-array5-static-cmp.out): Likewise.
47175 ($(objpfx)check-textrel.out): Likewise.
47176 ($(objpfx)check-execstack.out): Likewise.
47177 ($(objpfx)check-localplt.out): Likewise.
47178 ($(objpfx)order2-cmp.out): Likewise.
47179 ($(objpfx)tst-leaks1-mem): Likewise.
47180 ($(objpfx)tst-leaks1-static-mem): Likewise.
47181 ($(objpfx)tst-initorder-cmp.out): Likewise.
47182 ($(objpfx)tst-initorder2-cmp.out): Likewise.
47183 ($(objpfx)tst-unused-dep.out): Likewise.
47184 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47185 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47186 * iconv/Makefile (test-iconvconfig): Likewise.
47187 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47188 ($(objpfx)iconv-test.out): Likewise.
47189 ($(objpfx)tst-tables.out): Likewise.
47190 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47191 ($(objpfx)tst-gettext.out): Likewise.
47192 ($(objpfx)tst-translit.out): Likewise.
47193 ($(objpfx)tst-gettext2.out): Likewise.
47194 ($(objpfx)tst-gettext4.out): Likewise.
47195 ($(objpfx)tst-gettext6.out): Likewise.
47196 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47197 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47198 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47199 ($(objpfx)tst-fopenloc-mem.out): Likewise.
47200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47201 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47202 * posix/Makefile ($(objpfx)globtest.out): Likewise.
47203 ($(objpfx)wordexp-tst.out): Likewise.
47204 ($(objpfx)annexc.out): Likewise.
47205 ($(objpfx)tst-fnmatch-mem): Likewise.
47206 ($(objpfx)bug-regex2-mem): Likewise.
47207 ($(objpfx)bug-regex14-mem): Likewise.
47208 ($(objpfx)bug-regex21-mem): Likewise.
47209 ($(objpfx)bug-regex31-mem): Likewise.
47210 ($(objpfx)tst-vfork3-mem): Likewise.
47211 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47212 ($(objpfx)tst-pcre-mem): Likewise.
47213 ($(objpfx)tst-boost-mem): Likewise.
47214 ($(objpfx)tst-getconf.out): Likewise.
47215 ($(objpfx)bug-ga2-mem): Likewise.
47216 ($(objpfx)bug-glob2-mem): Likewise.
47217 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47218 ($(objpfx)mtrace-tst-leaks2): Likewise.
47219 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47220 ($(objpfx)tst-printf.out): Likewise.
47221 ($(objpfx)tst-setvbuf1.out): Likewise.
47222 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47223 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47224 ($(objpfx)tst-fmtmsg.out): Likewise.
47225 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47226 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47227
47228 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47229 * bits/sigaction.h [__USE_MISC]: Likewise.
47230 * bits/waitstatus.h: Update #endif comments.
47231 * ctype/ctype.h: Likewise.
47232 * dirent/dirent.h: Likewise.
47233 [__USE_MISC]: Remove redundant conditionals.
47234 * grp/grp.h: Update #endif comments.
47235 [__USE_GNU]: Remove redundant conditionals.
47236 [__USE_MISC]: Likewise.
47237 * inet/netinet/in.h [__USE_GNU]: Likewise.
47238 * io/sys/stat.h [__USE_MISC]: Likewise.
47239 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47240 * libio/bits/stdio.h: Update #endif comments.
47241 [__USE_MISC]: Remove redundant conditionals.
47242 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47243 * libio/stdio.h: Update #endif comments.
47244 [__USE_MISC]: Remove redundant conditionals.
47245 * math/bits/math-finite.h [__USE_MISC]: Likewise.
47246 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47247 * math/math.h: Update #else and #endif comments.
47248 [__USE_MISC]: Remove redundant conditionals.
47249 * misc/sys/uio.h: Update #endif comments.
47250 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47251 * posix/glob.h [__USE_MISC]: Likewise.
47252 * posix/sys/types.h: Update #endif comments.
47253 [__USE_MISC]: Remove redundant conditionals.
47254 * posix/sys/wait.h: Update #endif comments.
47255 [__USE_MISC]: Remove redundant conditionals.
47256 * posix/unistd.h: Update #endif comments.
47257 [__USE_MISC]: Remove redundant conditionals.
47258 * pwd/pwd.h [__USE_GNU]: Likewise.
47259 [__USE_MISC]: Likewise.
47260 * resolv/netdb.h [__USE_GNU]: Likewise.
47261 * signal/signal.h: Update #endif comments.
47262 [__USE_MISC]: Remove redundant conditionals.
47263 * stdlib/stdlib.h: Update #else and #endif comments.
47264 [__USE_MISC]: Remove redundant conditionals.
47265 [__USE_GNU]: Likewise.
47266 * string/bits/string2.h [__USE_MISC]: Likewise.
47267 * string/string.h: Update #endif comments.
47268 [__USE_MISC]: Remove redundant conditionals.
47269 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47270 Likewise.
47271 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47272 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47273 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47274 Likewise.
47275 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47276 Likewise.
47277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47278 comments.
47279 [__USE_MISC]: Remove redundant conditionals.
47280 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47281 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47282 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47283 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47284 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47285 Likewise.
47286 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47287 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47288 Likewise.
47289 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47290 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47291 Likewise.
47292 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47293 Likewise.
47294 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47295 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47296 Likewise.
47297 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47298 Likewise.
47299 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47300 * sysdeps/x86/bits/string.h: Update #endif comments.
47301 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47302 conditionals.
47303 * time/sys/time.h: Update #endif comments.
47304 * time/time.h: Likewise.
47305 [__USE_MISC]: Remove redundant conditionals.
47306
47307 2014-02-21 Yury Gribov <y.gribov@samsung.com>
47308
47309 [BZ #16600]
47310 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47311
47312 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
47313
47314 * Versions.def (librt): Add GLIBC_2.17.
47315
47316 2014-02-21 Adam Conrad <adconrad@0c3.net>
47317
47318 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47319 synonym for _SYS_AUXV_H to allow direct inclusion.
47320 * sysdeps/sparc/bits/hwcap.h: Likewise.
47321 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47322 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47323 * sysdeps/sparc/sysdep.h: Likewise.
47324
47325 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47326
47327 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47328
47329 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47330
47331 * benchtests/bench-strrchr.c: Print length instead of position.
47332
47333 2014-02-20 Joseph Myers <joseph@codesourcery.com>
47334
47335 [BZ #16611]
47336 * sysdeps/unix/sysv/linux/kernel-features.h
47337 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47338 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47339 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47340 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47341 Likewise.
47342 [__i386__ || __powerpc__ || __sh__ || __sparc__]
47343 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47344 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47345 (__ASSUME_SENDMMSG): Define instead of using previous
47346 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47347 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47348 (__ASSUME_SENDMMSG_SYSCALL): Define.
47349 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47350 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47351 Likewise.
47352 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47353 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47354 Likewise.
47355 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47356 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47357 Likewise.
47358 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47359 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47360 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47361 [__ASSUME_SENDMMSG]: Change conditionals to
47362 [__ASSUME_SENDMMSG_SOCKETCALL].
47363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47364 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47365 Define.
47366 * sysdeps/unix/sysv/linux/mips/kernel-features.h
47367 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47368 Likewise.
47369 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47370 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47371 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47372 [!__ASSUME_SENDMMSG]: Change conditional to
47373 [!__ASSUME_SENDMMSG_SOCKETCALL].
47374 * sysdeps/unix/sysv/linux/tile/kernel-features.h
47375 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47376 Define.
47377
47378 [BZ #16610]
47379 * sysdeps/unix/sysv/linux/kernel-features.h
47380 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
47381 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
47382 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
47383 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
47384 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47385 [__i386__ || __sparc__]
47386 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47387 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
47388 (__ASSUME_RECVMMSG): Define instead of using previous
47389 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
47390 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47391 (__ASSUME_RECVMMSG_SYSCALL): Define.
47392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47393 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47394 Likewise.
47395 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47397 Likewise.
47398 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47400 Likewise.
47401 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
47402 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47403 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47404 [__ASSUME_RECVMMSG]: Change condition to
47405 [__ASSUME_RECVMMSG_SOCKETCALL].
47406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47408 Define.
47409 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47410 * sysdeps/unix/sysv/linux/mips/kernel-features.h
47411 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47412 Likewise.
47413 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
47414 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47415 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47416 [!__ASSUME_RECVMMSG]: Change condition to
47417 [!__ASSUME_RECVMMSG_SOCKETCALL].
47418 * sysdeps/unix/sysv/linux/tile/kernel-features.h
47419 (__ASSUME_RECVMMSG_SYSCALL): Define.
47420
47421 [BZ #16609]
47422 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
47423 __powerpc__ || __s390__ || __sh__ || __sparc__]
47424 (__ASSUME_SOCKETCALL): Define.
47425 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
47426 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
47427 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
47428 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
47429 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47430 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47431 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
47432 (__ASSUME_ACCEPT4): Define instead of using previous
47433 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
47434 __powerpc__ || __sparc__ || __s390__)] condition.
47435 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47436 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47437 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
47438 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47439 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47440 [!__ASSUME_ACCEPT4]: Change condition to
47441 [!__ASSUME_ACCEPT4_SOCKETCALL].
47442 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47443 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
47444 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
47445 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47446 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
47447 __ASSUME_ACCEPT4_SYSCALL.
47448 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
47449 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
47450 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47451 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
47452 __ASSUME_ACCEPT4_SYSCALL.
47453 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
47454 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47455 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47456 [__ASSUME_ACCEPT4]: Change condition to
47457 [__ASSUME_ACCEPT4_SOCKETCALL].
47458 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47459 (__ASSUME_SOCKETCALL): Define.
47460 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
47461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47462 (__ASSUME_SOCKETCALL): Define.
47463 (__ASSUME_ACCEPT4): Remove.
47464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
47465 Define.
47466 * sysdeps/unix/sysv/linux/mips/kernel-features.h
47467 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
47468 Likewise.
47469 * sysdeps/unix/sysv/linux/tile/kernel-features.h
47470 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47471
47472 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
47473 macro.
47474 (HWCAP_ARM_LPAE): Likewise.
47475 (HWCAP_ARM_EVTSTRM): Likewise.
47476 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
47477 Add vpfd32, lpae and evtstrm.
47478 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
47479 Increase to 22.
47480
47481 2014-02-19 Joseph Myers <joseph@codesourcery.com>
47482
47483 * math/auto-libm-test-in: Add tests of clog10.
47484 * math/auto-libm-test-out: Regenerated.
47485 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
47486 * sysdeps/i386/fpu/libm-test-ulps: Update.
47487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47488
47489 2014-02-18 Andreas Schwab <schwab@suse.de>
47490
47491 [BZ #16574]
47492 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
47493 Store non-zero if the second buffer was newly allocated.
47494 (send_dg): Likewise.
47495 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
47496 to send_vc and send_dg.
47497 (res_nsend): Pass NULL for ansp2_malloced.
47498 * resolv/res_query.c (__libc_res_nquery): Add parameter
47499 answerp2_malloced and pass it down to __libc_res_nsend.
47500 (res_nquery): Pass additional NULL to __libc_res_nquery.
47501 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
47502 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
47503 second answer buffer if answerp2_malloced was set.
47504 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
47505 (__libc_res_nquerydomain): Add parameter
47506 answerp2_malloced and pass it down to __libc_res_nquery.
47507 (res_nquerydomain): Pass additional NULL to
47508 __libc_res_nquerydomain.
47509 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
47510 additional NULL to __libc_res_nsend and __libc_res_nquery.
47511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
47512 additional NULL to __libc_res_nsearch.
47513 (_nss_dns_gethostbyname4_r): Revert last change. Use new
47514 parameter of __libc_res_nsearch to check for separately allocated
47515 second buffer.
47516 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
47517 __libc_res_nquery.
47518 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
47519 additional NULL to __libc_res_nquery.
47520 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
47521 __libc_res_nsearch.
47522 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
47523 * include/resolv.h: Update prototypes of __libc_res_nquery,
47524 __libc_res_nsearch, __libc_res_nsend.
47525
47526 2014-02-18 Joseph Myers <joseph@codesourcery.com>
47527
47528 * math/auto-libm-test-in: Add tests of fma.
47529 * math/auto-libm-test-out: Regenerated.
47530 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
47531 (fma_towardzero_test_data): Likewise.
47532 (fma_downward_test_data): Likewise.
47533 (fma_upward_test_data): Likewise.
47534 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
47535 mpc_mode.
47536 (rounding_modes): Add values for new field.
47537 (func_calc_method): Add value mpfr_fff_f.
47538 (func_calc_desc): Add mpfr_fff_f union field.
47539 (test_function): Add field exact_args.
47540 (FUNC): Add macro argument EXACT_ARGS.
47541 (FUNC_mpfr_f_f): Update call to FUNC.
47542 (FUNC_mpfr_f_f): Likewise.
47543 (FUNC_mpfr_ff_f): Likewise.
47544 (FUNC_mpfr_if_f): Likewise.
47545 (FUNC_mpc_c_f): Likewise.
47546 (FUNC_mpc_c_c): Likewise.
47547 (test_functions): Add fma. Update calls to FUNC.
47548 (handle_input_arg): Add argument exact_args.
47549 (add_test): Update call to handle_input_arg.
47550 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
47551 (output_for_one_input_case): Update call to calc_generic_results.
47552 Recalculate exact zero results in each rounding mode.
47553
47554 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
47555 non-negative before setting low bit.
47556 * math/auto-libm-test-in: Mark one asin test possibly having
47557 spurious underflow.
47558 * math/auto-libm-test-out: Regenerated.
47559 * sysdeps/i386/fpu/libm-test-ulps: Update.
47560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47561
47562 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
47563
47564 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
47565 * sysdeps/unix/sysv/linux/microblaze: Move directory from
47566 ports/sysdeps/unix/sysv/linux/microblaze.
47567 * README: Add missing listing for microblaze*-*-linux-gnu.
47568
47569 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
47570
47571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
47572 duplicate code
47573
47574 2014-02-16 Mike Frysinger <vapier@gentoo.org>
47575
47576 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
47577 * sysdeps/unix/sysv/linux/ia64: Move directory from
47578 ports/sysdeps/unix/sysv/linux/ia64.
47579 * README: Update listing for ia64-*-linux-gnu.
47580
47581 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
47582 Joseph Myers <joseph@codesourcery.com>
47583
47584 * Makeconfig (test-name): New variable.
47585 (evaluate-test): Likewise.
47586 * Makerules (do-test-clean): Remove .test-result files.
47587 (common-mostlyclean): Likewise.
47588 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
47589 * scripts/evaluate-test.sh: New file.
47590
47591 2014-02-14 Joseph Myers <joseph@codesourcery.com>
47592
47593 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
47594 separate $(objpfx)tst-fopenloc-cmp.out and
47595 $(objpfx)tst-fopenloc-mem.out targets.
47596 (tests): Update dependencies.
47597 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
47598 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
47599 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
47600 (tst-rxspencer-no-utf8-ARGS): New variable.
47601 (tst-rxspencer-no-utf8-ENV): Likewise.
47602 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
47603 instead of $(objpfx)tst-rxspencer-mem.
47604 ($(objpfx)tst-rxspencer-mem): Change target to
47605 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
47606 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
47607 * posix/tst-rxspencer-no-utf8.c: New file.
47608
47609 * elf/Makefile ($(objpfx)order.out): Remove rule.
47610 [$(run-built-tests) = yes] (tests): Depend on
47611 $(objpfx)order-cmp.out.
47612 ($(objpfx)order-cmp.out): New rule.
47613 [$(run-built-tests) = yes] (tests): Depend on
47614 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
47615 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
47616 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
47617 $(objpfx)tst-array5-static-cmp.out.
47618 ($(objpfx)tst-array1.out): Remove rule.
47619 ($(objpfx)tst-array1-cmp.out): New rule.
47620 ($(objpfx)tst-array1-static.out): Remove rule.
47621 ($(objpfx)tst-array1-static-cmp.out): New rule.
47622 ($(objpfx)tst-array2.out): Remove rule.
47623 ($(objpfx)tst-array2-cmp.out): New rule.
47624 ($(objpfx)tst-array3.out): Remove rule.
47625 ($(objpfx)tst-array3-cmp.out): New rule.
47626 ($(objpfx)tst-array4.out): Remove rule.
47627 ($(objpfx)tst-array4-cmp.out): New rule.
47628 ($(objpfx)tst-array5.out): Remove rule.
47629 ($(objpfx)tst-array5-cmp.out): New rule.
47630 ($(objpfx)tst-array5-static.out): Remove rule.
47631 ($(objpfx)tst-array5-static-cmp.out): New rule.
47632 [$(run-built-tests) = yes] (tests): Depend on
47633 $(objpfx)order2-cmp.out.
47634 ($(objpfx)order2.out): Remove rule.
47635 ($(objpfx)order2-cmp.out): New rule.
47636 ($(objpfx)tst-initorder.out): Remove rule.
47637 [$(run-built-tests) = yes] (tests): Depend on
47638 $(objpfx)tst-initorder-cmp.out.
47639 ($(objpfx)tst-initorder-cmp.out): New rule.
47640 ($(objpfx)tst-initorder2.out): Remove rule.
47641 [$(run-built-tests) = yes] (tests): Depend on
47642 $(objpfx)tst-initorder2-cmp.out.
47643 ($(objpfx)tst-initorder2-cmp.out): New rule.
47644 [$(run-built-tests) = yes] (tests): Depend on
47645 $(objpfx)tst-unused-dep-cmp.out.
47646 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
47647 ($(objpfx)tst-unused-dep-cmp.out): New rule.
47648 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
47649 on $(objpfx)tst-setvbuf1-cmp.out.
47650 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
47651 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
47652 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
47653 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
47654 ($(objpfx)tst-svc.out): Remove rule.
47655 ($(objpfx)tst-svc-cmp.out): New rule.
47656
47657 2014-02-13 Joseph Myers <joseph@codesourcery.com>
47658
47659 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
47660 * ctype/ctype.h [__USE_MISC]: Likewise.
47661 * dirent/dirent.h [__USE_MISC]: Likewise.
47662 * grp/grp.h [__USE_MISC]: Likewise.
47663 * io/fcntl.h [__USE_MISC]: Likewise.
47664 * io/sys/stat.h [__USE_MISC]: Likewise.
47665 * libio/stdio.h [__USE_MISC]: Likewise.
47666 * posix/unistd.h [__USE_MISC]: Likewise.
47667 * pwd/pwd.h [__USE_MISC]: Likewise.
47668 * stdlib.h [__USE_MISC]: Likewise.
47669 * string/bits/string2.h [__USE_MISC]: Likewise.
47670 * string/string.h [__USE_MISC]: Likewise.
47671 * time/time.h [__USE_MISC]: Likewise.
47672
47673 2014-02-13 Andreas Schwab <schwab@suse.de>
47674
47675 [BZ #16574]
47676 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
47677 second answer buffer if it was separately allocated.
47678
47679 2014-02-12 Joseph Myers <joseph@codesourcery.com>
47680
47681 * sysdeps/mips/math-tests.h: Include <features.h>.
47682 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47683 (ROUNDING_TESTS_long_double): Do not define.
47684 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47685 (EXCEPTION_TESTS_long_double): Likewise.
47686 * sysdeps/mips/mips64/libm-test-ulps: Update.
47687
47688 * include/features.h (__USE_BSD): Remove macro definitions.
47689 (__USE_SVID): Likewise.
47690 (_BSD_SOURCE): Likewise.
47691 (_SVID_SOURCE): Likewise.
47692 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
47693 from definition of _DEFAULT_SOURCE.
47694 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
47695 [_DEFAULT_SOURCE].
47696 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
47697 * bits/mman.h [__USE_BSD]: Likewise.
47698 * bits/termios.h [__USE_BSD]: Likewise.
47699 * bits/waitstatus.h [__USE_BSD]: Likewise.
47700 * ctype/ctype.h [__USE_SVID]: Likewise.
47701 * dirent/dirent.h [__USE_BSD]: Likewise.
47702 * grp/grp.h [__USE_SVID]: Likewise.
47703 [__USE_BSD]: Likewise.
47704 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
47705 * io/fcntl.h [__USE_BSD]: Likewise.
47706 * io/ftw.h [__USE_BSD]: Likewise.
47707 * io/sys/stat.h [__USE_BSD]: Likewise.
47708 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
47709 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
47710 * libio/stdio.h [__USE_SVID]: Likewise.
47711 [__USE_BSD]: Likewise.
47712 * math/math.h [__USE_SVID]: Likewise.
47713 [__USE_BSD]: Likewise.
47714 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
47715 * misc/bits/syslog.h [__USE_BSD]: Likewise.
47716 * misc/search.h [__USE_SVID]: Likewise.
47717 * misc/sys/mman.h [__USE_BSD]: Likewise.
47718 * misc/sys/syslog.h [__USE_BSD]: Likewise.
47719 * misc/sys/uio.h [__USE_BSD]: Likewise.
47720 * posix/bits/unistd.h [__USE_BSD]: Likewise.
47721 * posix/glob.h [__USE_BSD]: Likewise.
47722 * posix/regex.h [__USE_BSD]: Likewise.
47723 * posix/sys/types.h [__USE_BSD]: Likewise.
47724 [__USE_SVID]: Likewise.
47725 * posix/sys/utsname.h [__USE_SVID]: Likewise.
47726 * posix/sys/wait.h [__USE_BSD]: Likewise.
47727 [__USE_SVID]: Likewise.
47728 * posix/unistd.h [__USE_BSD]: Likewise.
47729 [__USE_SVID]: Likewise.
47730 * pwd/pwd.h [__USE_SVID]: Likewise.
47731 * resolv/netdb.h [__USE_BSD]: Likewise.
47732 * setjmp/setjmp.h [__USE_BSD]: Likewise.
47733 * signal/signal.h [__USE_BSD]: Likewise.
47734 [__USE_SVID]: Likewise.
47735 * socket/sys/socket.h [__USE_BSD]: Likewise.
47736 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
47737 * stdlib/stdlib.h [__USE_BSD]: Likewise.
47738 [__USE_SVID]: Likewise.
47739 * string/bits/string2.h [__USE_BSD]: Likewise.
47740 [__USE_SVID]: Likewise.
47741 * string/bits/string3.h [__USE_BSD]: Likewise.
47742 * string/endian.h [__USE_BSD]: Likewise.
47743 * string/string.h [__USE_SVID]: Likewise.
47744 [__USE_BSD]: Likewise.
47745 * string/strings.h [__USE_BSD]: Likewise.
47746 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
47747 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
47748 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
47749 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
47750 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
47751 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
47752 Likewise.
47753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
47754 Likewise.
47755 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
47756 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
47757 Likewise.
47758 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
47759 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
47760 Likewise.
47761 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
47762 Likewise.
47763 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
47764 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
47765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
47766 Likewise.
47767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
47768 Likewise.
47769 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
47770 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
47771 * termios/termios.h [__USE_BSD]: Likewise.
47772 * time/sys/time.h [__USE_BSD]: Likewise.
47773 * time/time.h [__USE_BSD]: Likewise.
47774 [__USE_SVID]: Likewise.
47775
47776 * Makefile (subdir_targets): Remove subdir_lint.out.
47777
47778 * stdio-common/Makefile (do-tst-unbputc): Remove target.
47779 (do-tst-printf): Likewise.
47780 (tests): Depend directly on $(objpfx)tst-unbputc.out and
47781 $(objpfx)tst-printf.out.
47782
47783 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
47784
47785 * Makerules (check-abi-%): Change target to
47786 $(objpfx)check-abi-%.out.
47787 (check-abi target): Update dependencies.
47788 (check-abi-pattern variable): Redirect output of diff to $@.
47789 (check-abi variable): Likewise.
47790 * elf/Makefile (check-abi): Update dependencies.
47791
47792 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
47793 unused.
47794 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
47795 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
47796 subnormal range.
47797 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
47798 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
47799 value has largest subnormal exponent.
47800 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
47801 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
47802 * sysdeps/aarch64/soft-fp/sfp-machine.h
47803 (_FP_TININESS_AFTER_ROUNDING): New macro.
47804 * sysdeps/alpha/soft-fp/sfp-machine.h
47805 (_FP_TININESS_AFTER_ROUNDING): Likewise.
47806 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47807 Likewise.
47808 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
47809 (_FP_TININESS_AFTER_ROUNDING): Likewise.
47810 * sysdeps/mips/soft-fp/sfp-machine.h
47811 (_FP_TININESS_AFTER_ROUNDING): Likewise.
47812 * sysdeps/powerpc/soft-fp/sfp-machine.h
47813 (_FP_TININESS_AFTER_ROUNDING): Likewise.
47814 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47815 Likewise.
47816 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47817 (_FP_TININESS_AFTER_ROUNDING): Likewise.
47818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47819 (_FP_TININESS_AFTER_ROUNDING): Likewise.
47820 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47821 Likewise.
47822
47823 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
47824
47825 [BZ #16545]
47826 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
47827 model 1.
47828
47829 2014-02-12 Richard Henderson <rth@redhat.com>
47830
47831 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
47832 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
47833 * sysdeps/unix/sysv/linux/alpha: Move directory from
47834 ports/sysdeps/unix/sysv/linux/alpha.
47835 * README: Update listing for alpha-*-linux-gnu.
47836
47837 2014-02-11 Joseph Myers <joseph@codesourcery.com>
47838
47839 * include/features.h: Update comment documenting feature test
47840 macros.
47841 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
47842 _DEFAULT_SOURCE.
47843 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
47844 (_SVID_SOURCE): Likewise.
47845 (_DEFAULT_SOURCE): Update description of default features.
47846 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
47847 with _GNU_SOURCE.
47848 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
47849 (S_ISVTX): Likewise.
47850 * manual/math.texi (Mathematical Constants): Likewise.
47851 * manual/signal.texi (Interrupted Primitives): Likewise.
47852 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
47853 * math/test-matherr.c (_SVID_SOURCE): Do not define.
47854 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
47855 Don't refer to _SVID_SOURCE in warning text.
47856
47857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47858
47859 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
47860 already defined.
47861 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
47862 * sysdeps/mips/dl-lookup.c: Remove.
47863 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
47864
47865 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
47866
47867 [BZ #16447]
47868 * math/auto-libm-test-in: Add testcase for expl.
47869 * math/auto-libm-test-out: Regenerate.
47870 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
47871 calculation of unsafe.
47872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
47873
47874 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
47875
47876 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
47877 * sysdeps/unix/sysv/linux/aarch64: Move directory from
47878 ports/sysdeps/unix/sysv/linux/aarch64.
47879 * README: Update listing for aarch64*-*-linux-gnu.
47880
47881 2014-02-11 Will Newton <will.newton@linaro.org>
47882
47883 * manual/probes.texi (Mathematical Function Probes): Use
47884 "triggered" instead of "hit".
47885
47886 * manual/probes.texi (Internal Probes): Add documentation
47887 of setjmp, longjmp and longjmp_target probes.
47888
47889 * include/stap-probe.h: Add comment about probe argument
47890 format.
47891
47892 * malloc/mtrace.c (attribute_hidden): Remove unused macro
47893 definition. (tr_where, tr_freehook, tr_mallochook,
47894 tr_reallochook, tr_memalignhook): Use ANSI protoype.
47895
47896 2014-02-11 David S. Miller <davem@davemloft.net>
47897
47898 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47899 processing int_tests.
47900
47901 2014-02-10 Joseph Myers <joseph@codesourcery.com>
47902
47903 * sysdeps/mips: Move directory from ports/sysdeps/mips.
47904 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47905 * sysdeps/unix/sysv/linux/mips: Move directory from
47906 ports/sysdeps/unix/sysv/linux/mips.
47907 * README: Update listing for mips-*-linux-gnu and
47908 mips64-*-linux-gnu.
47909
47910 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
47911
47912 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
47913 * sysdeps/unix/sysv/linux/m68k: Move directory from
47914 ports/sysdeps/unix/sysv/linux/m68k.
47915 * README: Update listing for m68k-*-linux-gnu.
47916
47917 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
47918
47919 * sysdeps/tile: Move directory from ports/sysdeps/tile.
47920 * sysdeps/unix/sysv/linux/generic: Move directory from
47921 ports/sysdeps/unix/sysv/linux/generic.
47922 * sysdeps/unix/sysv/linux/tile: Move directory from
47923 ports/sysdeps/unix/sysv/linux/tile.
47924 * README: Update listing for tile*-*-linux-gnu.
47925
47926 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
47927
47928 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
47929 __builtin_expect.
47930 * benchtests/bench-memmem.c (simple_memmem): Likewise.
47931 * catgets/open_catalog.c (__open_catalog): Likewise.
47932 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
47933 * debug/confstr_chk.c: Likewise.
47934 * debug/fread_chk.c (__fread_chk): Likewise.
47935 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
47936 * debug/getgroups_chk.c: Likewise.
47937 * debug/mbsnrtowcs_chk.c: Likewise.
47938 * debug/mbsrtowcs_chk.c: Likewise.
47939 * debug/mbstowcs_chk.c: Likewise.
47940 * debug/memcpy_chk.c: Likewise.
47941 * debug/memmove_chk.c: Likewise.
47942 * debug/mempcpy_chk.c: Likewise.
47943 * debug/memset_chk.c: Likewise.
47944 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47945 * debug/strcat_chk.c (__strcat_chk): Likewise.
47946 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
47947 * debug/strncat_chk.c (__strncat_chk): Likewise.
47948 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
47949 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
47950 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
47951 * debug/wcpncpy_chk.c: Likewise.
47952 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47953 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
47954 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
47955 * debug/wcsncpy_chk.c: Likewise.
47956 * debug/wcsnrtombs_chk.c: Likewise.
47957 * debug/wcsrtombs_chk.c: Likewise.
47958 * debug/wcstombs_chk.c: Likewise.
47959 * debug/wmemcpy_chk.c: Likewise.
47960 * debug/wmemmove_chk.c: Likewise.
47961 * debug/wmempcpy_chk.c: Likewise.
47962 * debug/wmemset_chk.c: Likewise.
47963 * dirent/scandirat.c (SCANDIRAT): Likewise.
47964 * dlfcn/dladdr1.c (dladdr1): Likewise.
47965 * dlfcn/dladdr.c (dladdr): Likewise.
47966 * dlfcn/dlclose.c (dlclose_doit): Likewise.
47967 * dlfcn/dlerror.c (__dlerror): Likewise.
47968 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
47969 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
47970 * dlfcn/dlopen.c (dlopen_doit): Likewise.
47971 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
47972 * dlfcn/dlsym.c (dlsym_doit): Likewise.
47973 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
47974 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
47975 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
47976 Likewise.
47977 * elf/dl-conflict.c: Likewise.
47978 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
47979 * elf/dl-dst.h: Likewise.
47980 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
47981 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
47982 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
47983 * elf/dl-init.c (call_init, _dl_init): Likewise.
47984 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
47985 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
47986 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
47987 Likewise.
47988 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
47989 Likewise.
47990 * elf/dl-minimal.c (__libc_memalign): Likewise.
47991 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
47992 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47993 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
47994 * elf/dl-sym.c (do_sym): Likewise.
47995 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
47996 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
47997 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
47998 * elf/dl-writev.h (_dl_writev): Likewise.
47999 * elf/ldconfig.c (search_dir): Likewise.
48000 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48001 (dl_main): Likewise.
48002 * elf/setup-vdso.h (setup_vdso): Likewise.
48003 * grp/compat-initgroups.c (compat_call): Likewise.
48004 * grp/fgetgrent.c (fgetgrent): Likewise.
48005 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48006 * grp/putgrent.c (putgrent): Likewise.
48007 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48008 Likewise.
48009 * hurd/hurdinit.c: Likewise.
48010 * iconvdata/8bit-gap.c (struct): Likewise.
48011 * iconvdata/ansi_x3.110.c : Likewise.
48012 * iconvdata/big5.c : Likewise.
48013 * iconvdata/big5hkscs.c : Likewise.
48014 * iconvdata/cp1255.c: Likewise.
48015 * iconvdata/cp1258.c : Likewise.
48016 * iconvdata/cp932.c : Likewise.
48017 * iconvdata/euc-cn.c: Likewise.
48018 * iconvdata/euc-jisx0213.c : Likewise.
48019 * iconvdata/euc-jp.c: Likewise.
48020 * iconvdata/euc-jp-ms.c : Likewise.
48021 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48022 * iconvdata/gb18030.c : Likewise.
48023 * iconvdata/gbbig5.c (const): Likewise.
48024 * iconvdata/gbgbk.c: Likewise.
48025 * iconvdata/gbk.c : Likewise.
48026 * iconvdata/ibm1364.c : Likewise.
48027 * iconvdata/ibm930.c : Likewise.
48028 * iconvdata/ibm932.c: Likewise.
48029 * iconvdata/ibm933.c : Likewise.
48030 * iconvdata/ibm935.c : Likewise.
48031 * iconvdata/ibm937.c : Likewise.
48032 * iconvdata/ibm939.c : Likewise.
48033 * iconvdata/ibm943.c: Likewise.
48034 * iconvdata/iso_11548-1.c: Likewise.
48035 * iconvdata/iso-2022-cn.c : Likewise.
48036 * iconvdata/iso-2022-cn-ext.c : Likewise.
48037 * iconvdata/iso-2022-jp-3.c: Likewise.
48038 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48039 * iconvdata/iso-2022-kr.c : Likewise.
48040 * iconvdata/iso646.c (gconv_end): Likewise.
48041 * iconvdata/iso_6937-2.c : Likewise.
48042 * iconvdata/iso_6937.c : Likewise.
48043 * iconvdata/iso8859-1.c: Likewise.
48044 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48045 * iconvdata/shift_jisx0213.c : Likewise.
48046 * iconvdata/sjis.c : Likewise.
48047 * iconvdata/t.61.c : Likewise.
48048 * iconvdata/tcvn5712-1.c : Likewise.
48049 * iconvdata/tscii.c: Likewise.
48050 * iconvdata/uhc.c : Likewise.
48051 * iconvdata/unicode.c (gconv_end): Likewise.
48052 * iconvdata/utf-16.c (gconv_end): Likewise.
48053 * iconvdata/utf-32.c (gconv_end): Likewise.
48054 * iconvdata/utf-7.c (base64): Likewise.
48055 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48056 * iconv/gconv_close.c (__gconv_close): Likewise.
48057 * iconv/gconv_open.c (__gconv_open): Likewise.
48058 * iconv/gconv_simple.c (internal_ucs4_loop_single)
48059 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48060 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48061 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48062 (ucs4le_internal_loop_single): Likewise.
48063 * iconv/iconv.c (iconv): Likewise.
48064 * iconv/iconv_close.c: Likewise.
48065 * iconv/loop.c (SINGLE): Likewise.
48066 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48067 * include/atomic.h: Likewise.
48068 * inet/inet6_option.c (option_alloc): Likewise.
48069 * intl/bindtextdom.c (set_binding_values): Likewise.
48070 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48071 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48072 * intl/localealias.c (read_alias_file): Likewise.
48073 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48074 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48075 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48076 * libio/fmemopen.c (fmemopen): Likewise.
48077 * libio/iofgets.c (_IO_fgets): Likewise.
48078 * libio/iofgets_u.c (fgets_unlocked): Likewise.
48079 * libio/iofgetws.c (fgetws): Likewise.
48080 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48081 * libio/iogetdelim.c (_IO_getdelim): Likewise.
48082 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48083 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48084 * locale/findlocale.c (_nl_find_locale): Likewise.
48085 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48086 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48087 Likewise.
48088 * locale/setlocale.c (setlocale): Likewise.
48089 * login/programs/pt_chown.c (main): Likewise.
48090 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48091 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48092 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48093 (mmap, mmap64, mremap, munmap): Likewise.
48094 * math/e_exp2l.c: Likewise.
48095 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48096 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48097 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48098 * math/s_catan.c (__catan): Likewise.
48099 * math/s_catanf.c (__catanf): Likewise.
48100 * math/s_catanh.c (__catanh): Likewise.
48101 * math/s_catanhf.c (__catanhf): Likewise.
48102 * math/s_catanhl.c (__catanhl): Likewise.
48103 * math/s_catanl.c (__catanl): Likewise.
48104 * math/s_ccosh.c (__ccosh): Likewise.
48105 * math/s_ccoshf.c (__ccoshf): Likewise.
48106 * math/s_ccoshl.c (__ccoshl): Likewise.
48107 * math/s_cexp.c (__cexp): Likewise.
48108 * math/s_cexpf.c (__cexpf): Likewise.
48109 * math/s_cexpl.c (__cexpl): Likewise.
48110 * math/s_clog10.c (__clog10): Likewise.
48111 * math/s_clog10f.c (__clog10f): Likewise.
48112 * math/s_clog10l.c (__clog10l): Likewise.
48113 * math/s_clog.c (__clog): Likewise.
48114 * math/s_clogf.c (__clogf): Likewise.
48115 * math/s_clogl.c (__clogl): Likewise.
48116 * math/s_csin.c (__csin): Likewise.
48117 * math/s_csinf.c (__csinf): Likewise.
48118 * math/s_csinh.c (__csinh): Likewise.
48119 * math/s_csinhf.c (__csinhf): Likewise.
48120 * math/s_csinhl.c (__csinhl): Likewise.
48121 * math/s_csinl.c (__csinl): Likewise.
48122 * math/s_csqrt.c (__csqrt): Likewise.
48123 * math/s_csqrtf.c (__csqrtf): Likewise.
48124 * math/s_csqrtl.c (__csqrtl): Likewise.
48125 * math/s_ctan.c (__ctan): Likewise.
48126 * math/s_ctanf.c (__ctanf): Likewise.
48127 * math/s_ctanh.c (__ctanh): Likewise.
48128 * math/s_ctanhf.c (__ctanhf): Likewise.
48129 * math/s_ctanhl.c (__ctanhl): Likewise.
48130 * math/s_ctanl.c (__ctanl): Likewise.
48131 * math/w_pow.c: Likewise.
48132 * math/w_powf.c: Likewise.
48133 * math/w_powl.c: Likewise.
48134 * math/w_scalb.c (sysv_scalb): Likewise.
48135 * math/w_scalbf.c (sysv_scalbf): Likewise.
48136 * math/w_scalbl.c (sysv_scalbl): Likewise.
48137 * misc/error.c (error_tail): Likewise.
48138 * misc/pselect.c (__pselect): Likewise.
48139 * nis/nis_callback.c (__nis_create_callback): Likewise.
48140 * nis/nis_call.c (__nisfind_server): Likewise.
48141 * nis/nis_creategroup.c (nis_creategroup): Likewise.
48142 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48143 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48144 * nis/nis_getservlist.c (nis_getservlist): Likewise.
48145 * nis/nis_lookup.c (nis_lookup): Likewise.
48146 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48147 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48148 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48149 * nis/nis_xdr.c (xdr_endpoint): Likewise.
48150 * nis/nss_compat/compat-grp.c (getgrent_next_file)
48151 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48152 * nis/nss_compat/compat-initgroups.c (add_group)
48153 (internal_getgrent_r): Likewise.
48154 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48155 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48156 * nis/nss_compat/compat-spwd.c (getspent_next_file)
48157 (internal_getspnam_r): Likewise.
48158 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48159 (_nss_nis_getaliasbyname_r): Likewise.
48160 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48161 (_nss_nis_getntohost_r): Likewise.
48162 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48163 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48164 (_nss_nis_getgrgid_r): Likewise.
48165 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48166 (internal_nis_gethostent_r, internal_gethostbyname2_r)
48167 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48168 (_nss_nis_gethostbyname4_r): Likewise.
48169 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48170 (initgroups_netid): Likewise.
48171 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48172 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48173 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48174 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48175 (_nss_nis_getprotobynumber_r): Likewise.
48176 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48177 (_nss_nis_getsecretkey): Likewise.
48178 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48179 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48180 (_nss_nis_getpwuid_r): Likewise.
48181 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48182 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48183 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48184 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48185 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48186 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48187 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48188 Likewise.
48189 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48190 (_nss_nisplus_getntohost_r): Likewise.
48191 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48192 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48193 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48194 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48195 Likewise.
48196 * nis/nss_nisplus/nisplus-initgroups.c
48197 (_nss_nisplus_initgroups_dyn): Likewise.
48198 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48199 (_nss_nisplus_getnetbyaddr_r): Likewise.
48200 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48201 (_nss_nisplus_getprotobynumber_r): Likewise.
48202 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48203 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48204 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48205 Likewise.
48206 * nis/nss_nisplus/nisplus-service.c
48207 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48208 (_nss_nisplus_getservbyport_r): Likewise.
48209 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48210 (_nss_nisplus_getspnam_r): Likewise.
48211 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48212 Likewise.
48213 * nscd/aicache.c (addhstaiX): Likewise.
48214 * nscd/cache.c (cache_search, prune_cache): Likewise.
48215 * nscd/connections.c (register_traced_file, send_ro_fd)
48216 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48217 (main_loop_epoll): Likewise.
48218 * nscd/grpcache.c (addgrbyX): Likewise.
48219 * nscd/hstcache.c (addhstbyX): Likewise.
48220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48221 * nscd/mem.c (gc, mempool_alloc): Likewise.
48222 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48223 (addinnetgrX): Likewise.
48224 * nscd/nscd-client.h (__nscd_acquire_maplock)
48225 (__nscd_drop_map_ref): Likewise.
48226 * nscd/nscd_getai.c (__nscd_getai): Likewise.
48227 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48228 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48229 Likewise.
48230 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48232 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48233 (__nscd_get_map_ref): Likewise.
48234 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48235 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48236 Likewise.
48237 * nscd/pwdcache.c (addpwbyX): Likewise.
48238 * nscd/selinux.c (preserve_capabilities): Likewise.
48239 * nscd/servicescache.c (addservbyX): Likewise.
48240 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48241 * posix/fnmatch.c (fnmatch): Likewise.
48242 * posix/getopt.c (_getopt_internal_r): Likewise.
48243 * posix/glob.c (glob, glob_in_dir): Likewise.
48244 * posix/wordexp.c (exec_comm_child): Likewise.
48245 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48246 (getanswer_r, gaih_getanswer_slice): Likewise.
48247 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48248 * resolv/res_init.c: Likewise.
48249 * resolv/res_mkquery.c (res_nmkquery): Likewise.
48250 * resolv/res_query.c (__libc_res_nquery): Likewise.
48251 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48252 Likewise.
48253 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48254 * stdio-common/perror.c (perror): Likewise.
48255 * stdio-common/printf_fp.c (___printf_fp): Likewise.
48256 * stdio-common/tmpnam.c (tmpnam): Likewise.
48257 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48258 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48259 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48260 Likewise.
48261 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48262 * stdlib/putenv.c (putenv): Likewise.
48263 * stdlib/setenv.c (__add_to_environ): Likewise.
48264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48265 * stdlib/strtol_l.c (INTERNAL): Likewise.
48266 * string/memmem.c (memmem): Likewise.
48267 * string/strerror.c (strerror): Likewise.
48268 * string/strnlen.c (__strnlen): Likewise.
48269 * string/test-memmem.c (simple_memmem): Likewise.
48270 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48271 * sunrpc/pm_getport.c (__get_socket): Likewise.
48272 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48273 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48274 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48275 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48276 Likewise.
48277 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48278 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48279 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48280 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48281 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48282 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48283 Likewise.
48284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48285 Likewise.
48286 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48287 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48288 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48289 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48290 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48292 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48293 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48294 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48296 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48297 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48298 Likewise.
48299 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48300 Likewise.
48301 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48302 Likewise.
48303 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48305 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48306 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48307 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48308 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48309 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48312 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48313 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48315 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48316 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48319 Likewise.
48320 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48321 Likewise.
48322 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48323 Likewise.
48324 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48325 Likewise.
48326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48328 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48329 Likewise.
48330 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48331 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48332 * sysdeps/posix/opendir.c (__opendirat): Likewise.
48333 * sysdeps/posix/sleep.c: Likewise.
48334 * sysdeps/posix/tempname.c: Likewise.
48335 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48336 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48337 Likewise.
48338 * sysdeps/powerpc/powerpc32/dl-machine.h
48339 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48340 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48342 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48343 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48344 Likewise.
48345 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48347 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48349 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48350 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48351 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48352 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48353 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48354 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48356 (elf_machine_lazy_rel): Likewise.
48357 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48359 (elf_machine_lazy_rel): Likewise.
48360 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48361 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48362 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48363 * sysdeps/unix/grantpt.c (grantpt): Likewise.
48364 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48365 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48366 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48368 Likewise.
48369 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48370 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48371 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48372 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48373 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48374 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48375 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
48376 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
48377 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
48378 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48379 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48380 Likewise.
48381 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
48382 (__posix_fallocate64_l64): Likewise.
48383 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
48384 (posix_fallocate): Likewise.
48385 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
48386 Likewise.
48387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48388 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
48389 (getifaddrs_internal): Likewise.
48390 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
48391 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
48392 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
48393 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
48394 * sysdeps/unix/sysv/linux/posix_fallocate64.c
48395 (__posix_fallocate64_l64): Likewise.
48396 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
48397 Likewise.
48398 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
48399 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
48400 (__get_clockfreq): Likewise.
48401 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
48402 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
48403 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
48404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48406 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
48407 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
48408 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
48409 Likewise.
48410 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
48411 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
48412 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
48413 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
48414 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48415 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
48416 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
48417 Likewise.
48418 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48419 (posix_fallocate): Likewise.
48420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48421 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
48422 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
48423 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
48424 (elf_machine_rela, elf_machine_rela_relative)
48425 (elf_machine_lazy_rel): Likewise.
48426 * time/asctime.c (asctime_internal): Likewise.
48427 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
48428 * time/tzset.c (__tzset_parse_tz): Likewise.
48429 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
48430 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
48431 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
48432 * wcsmbs/wcsmbsload.h: Likewise.
48433
48434 [BZ #15894]
48435 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
48436
48437 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
48438 (arena_get2): Remove THREAD_STATS conditionals.
48439 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
48440 (__malloc_stats, int): Likewise.
48441
48442 2014-02-08 Mike Frysinger <vapier@gentoo.org>
48443
48444 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
48445 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
48446
48447 * manual/setjmp.texi: Fix typos/grammar errors.
48448
48449 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
48450 Only return early when n is <= 0. Delete unused return statement.
48451
48452 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
48453 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
48454 * debug/tst-longjmp_chk3.c: New file.
48455
48456 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
48457 (test_main): Replace code with set_fortify_handler call.
48458 * debug/test-strcpy_chk.c: Likewise.
48459 * debug/tst-chk1.c: Likewise.
48460 * debug/tst-longjmp_chk.c: Likewise.
48461 * test-skeleton.c: Include fcntl.h & paths.h
48462 (set_fortify_handler): Define.
48463
48464 * debug/tst-longjmp_chk.c: Add header comment and include
48465 ../test-skeleton.c.
48466 (do_test): Mark static.
48467 (TEST_FUNCTION): Define.
48468
48469 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
48470 (IP_PMTUDISC_INTERFACE): Likewise.
48471 (IP_MULTICAST_IF): Likewise.
48472 (IP_MULTICAST_TTL): Likewise.
48473 (IP_MULTICAST_LOOP): Likewise.
48474 (IP_ADD_MEMBERSHIP): Likewise.
48475 (IP_DROP_MEMBERSHIP): Likewise.
48476 (IP_UNBLOCK_SOURCE): Likewise.
48477 (IP_BLOCK_SOURCE): Likewise.
48478 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
48479 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
48480 (IP_MSFILTER): Likewise.
48481 (MCAST_JOIN_GROUP): Likewise.
48482 (MCAST_BLOCK_SOURCE): Likewise.
48483 (MCAST_UNBLOCK_SOURCE): Likewise.
48484 (MCAST_LEAVE_GROUP): Likewise.
48485 (MCAST_JOIN_SOURCE_GROUP): Likewise.
48486 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
48487 (MCAST_MSFILTER): Likewise.
48488 (IP_MULTICAST_ALL): Likewise.
48489 (IP_UNICAST_IF): Likewise.
48490
48491 * timezone/Makefile: Delete $(have-ksh) check.
48492 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
48493 * timezone/tzselect.ksh: Add +x mode bits.
48494
48495 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
48496 (ANON_INODE_FS_MAGIC): Likewise.
48497 (BDEVFS_MAGIC): Likewise.
48498 (BINFMTFS_MAGIC): Likewise.
48499 (BTRFS_TEST_MAGIC): Likewise.
48500 (CRAMFS_MAGIC_WEND): Likewise.
48501 (DEBUGFS_MAGIC): Likewise.
48502 (ECRYPTFS_SUPER_MAGIC): Likewise.
48503 (EXT3_SUPER_MAGIC): Likewise.
48504 (EXT4_SUPER_MAGIC): Likewise.
48505 (FUTEXFS_SUPER_MAGIC): Likewise.
48506 (HOSTFS_SUPER_MAGIC): Likewise.
48507 (HUGETLBFS_MAGIC): Likewise.
48508 (MINIX3_SUPER_MAGIC): Likewise.
48509 (MTD_INODE_FS_MAGIC): Likewise.
48510 (NILFS_SUPER_MAGIC): Likewise.
48511 (OPENPROM_SUPER_MAGIC): Likewise.
48512 (PIPEFS_MAGIC): Likewise.
48513 (PSTOREFS_MAGIC): Likewise.
48514 (QNX6_SUPER_MAGIC): Likewise.
48515 (RAMFS_MAGIC): Likewise.
48516 (REISERFS_SUPER_MAGIC_STRING): Likewise.
48517 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
48518 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
48519 (SECURITYFS_MAGIC): Likewise.
48520 (SELINUX_MAGIC): Likewise.
48521 (SMACK_MAGIC): Likewise.
48522 (SOCKFS_MAGIC): Likewise.
48523 (SQUASHFS_MAGIC): Likewise.
48524 (STACK_END_MAGIC): Likewise.
48525 (TMPFS_MAGIC): Likewise.
48526 (USBDEVICE_SUPER_MAGIC): Likewise.
48527 (V9FS_MAGIC): Likewise.
48528 (XENFS_SUPER_MAGIC): Likewise.
48529 (CRAMFS_MAGIC): Fix typo in comment.
48530 (EXT2_SUPER_MAGIC): Update comment.
48531 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
48532
48533 2014-02-08 Joseph Myers <joseph@codesourcery.com>
48534
48535 * sysdeps/arm: Move directory from ports/sysdeps/arm.
48536 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
48537 * sysdeps/unix/sysv/linux/arm: Move directory from
48538 ports/sysdeps/unix/sysv/linux/arm.
48539 * README: Update listing for arm-*-linux-gnueabi.
48540
48541 * README: Remove mention of am33.
48542
48543 2014-02-07 Roland McGrath <roland@hack.frob.com>
48544
48545 * bits/sigset.h (__sigemptyset): Use a statement expression rather
48546 than the comma operator, to avoid "rhs of comma has no effect"
48547 compiler warnings.
48548 (__sigfillset, __sigandset, __sigorset): Likewise.
48549 * include/signal.h (__sigemptyset): Likewise.
48550 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
48551
48552 2014-02-07 Allan McRae <allan@archlinux.org>
48553
48554 * version.h (RELEASE): Set to "development".
48555 (VERSION): Set to "2.19.90"
48556 * NEWS: Add 2.20 section.
48557
48558 2014-02-06 Carlos O'Donell <carlos@redhat.com>
48559
48560 [BZ #16529]
48561 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
48562
48563 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48564
48565 * manual/contrib.texi: Update entry for Carlos O'Donell,
48566 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
48567
48568 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
48569
48570 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
48571
48572 * sysdeps/unix/sysv/linux/kernel-features.h
48573 [__LINUX_KERNEL_VERSION >= 0x020621]
48574 (__ASSUME_PROC_PID_TASK_COMM): Define.
48575
48576 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
48577
48578 [BZ #16398]
48579 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
48580 conversion when destination buffer does not have enough space.
48581 * libio/tst-ftell-partial-wide.c: New test case.
48582 * libio/Makefile (tests): Add tst-ftell-partial-wide.
48583
48584 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
48585 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
48586 Leonard and Allan McRae.
48587
48588 2014-02-04 David S. Miller <davem@davemloft.net>
48589
48590 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
48591 32-bit.
48592
48593 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48594
48595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48596 New file
48597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48598 New file
48599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48600 New file.
48601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48602 New file.
48603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48604 New file.
48605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48606 New file.
48607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48608 New file.
48609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48610 New file.
48611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48612 New file.
48613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48614 New file.
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48616 New file.
48617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48618 New file.
48619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48620 New file.
48621
48622 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48623
48624 * nptl/shlib-versions: Change powerpc*le start to 2.17.
48625 * shlib-versions: Likewise.
48626
48627 2014-02-04 Roland McGrath <roland@hack.frob.com>
48628 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48629
48630 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
48631 (abilist-pattern): New variable, set to %-le.abilist.
48632
48633 * Makerules (abilist-pattern): New variable.
48634 (vpath): Use $(abilist-pattern) in place of %.abilist.
48635 (check-abi-% pattern rule): Likewise.
48636 (check-abi, update-abi): Likewise.
48637
48638 2014-02-04 Eric Wong <normalperson@yhbt.net>
48639
48640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48641
48642 2014-02-03 Carlos O'Donell <carlos@redhat.com>
48643
48644 * manual/startup.texi: Add next, previous, and top entries for
48645 the `Program Arguments' and `Environment Variables' nodes.
48646
48647 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
48648
48649 * manual/macros.texi: Add comments before MTASC-safety macros.
48650
48651 * manual/users.texi: Document MTASC-safety properties.
48652
48653 * manual/threads.texi (pthread_key_create, pthread_key_delete)
48654 (pthread_getspecific, pthread_setspecific): Format with
48655 @deftypefun, and add @safety note.
48656 * manual/signal.texi: Move comments that analyze the above
48657 functions to their home place.
48658
48659 2014-02-03 Allan McRae <allan@archlinux.org>
48660
48661 * po/sl.po: Update Slovenian translation from translation project.
48662
48663 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
48664
48665 * manual/time.texi (timegm): Add missing blank after @c.
48666 Reported by Joseph Myers <joseph@codesourcery.com>.
48667
48668 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
48669
48670 * manual/check-safety.sh: New.
48671 * manual/Makefile ($(objpfx)stamp-summary): Run it.
48672
48673 * manual/terminal.texi: Document MTASC-safety properties.
48674
48675 * manual/filesys.texi: Document MTASC-safety properties.
48676
48677 * manual/errno.texi: Document MTASC-safety properties.
48678
48679 * manual/intro.texi: Document safety identifiers and
48680 conditionals.
48681
48682 * manual/string.texi (wcstok): Fix prototype.
48683 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
48684
48685 * manual/time.texi: Document MTASC-safety properties.
48686
48687 * manual/string.texi: Document MTASC-safety properties.
48688
48689 * manual/threads.texi: Document MTASC-safety properties.
48690
48691 * manual/stdio.texi: Document MTASC-safety properties.
48692
48693 * manual/syslog.texi: Document MTASC-safety properties.
48694
48695 * manual/sysinfo.texi: Document MTASC-safety properties.
48696
48697 * manual/startup.texi: Document MTASC-safety properties.
48698
48699 * manual/socket.texi: Document MTASC-safety properties.
48700
48701 * manual/signal.texi: Document MTASC-safety properties.
48702
48703 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
48704
48705 * manual/setjmp.texi: Document MTASC-safety properties.
48706
48707 * manual/search.texi: Document MTASC-safety properties.
48708
48709 * manual/resource.texi: Document MTASC-safety properties.
48710
48711 * manual/process.texi: Document MTASC-safety properties.
48712
48713 * manual/platform.texi: Document MTASC-safety properties.
48714
48715 * manual/pipe.texi: Document MTASC-safety properties.
48716
48717 * manual/pattern.texi: Document MTASC-safety properties.
48718
48719 * manual/message.texi: Document MTASC-safety properties.
48720
48721 [BZ #12751]
48722 * manual/memory.texi: Document MTASC-safety properties.
48723
48724 * manual/math.texi: Document MTASC-safety properties.
48725
48726 * manual/locale.texi: Document MTASC-safety properties.
48727
48728 * manual/llio.texi: Document MTASC-safety properties.
48729
48730 * manual/libdl.texi: New.
48731
48732 * manual/lang.texi: Document MTASC-safety properties.
48733
48734 * manual/job.texi: Document MTASC-safety properties.
48735
48736 * manual/getopt.texi: Document MTASC-safety properties.
48737
48738 * manual/ctype.texi: Document MTASC-safety properties.
48739
48740 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
48741
48742 [BZ #16046]
48743 * csu/libc-tls.c (static_map): Remove variable.
48744 (__libc_setup_tls): Use main executable's link map for TLS data.
48745 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
48746 casing for LM_ID_BASE and GL(dl_nns).
48747 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
48748 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
48749 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
48750 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
48751 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
48752 member.
48753 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
48754 l_phnum members.
48755
48756 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
48757
48758 * manual/debug.texi: Document MTASC-safety properties.
48759
48760 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
48761
48762 [BZ #16510]
48763 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
48764 of __x86_64__ when disabling x87 inline functions.
48765
48766 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
48767
48768 * manual/charset.texi: Document MTASC-safety properties.
48769
48770 * manual/crypt.texi: Document MTASC-safety properties.
48771
48772 * manual/conf.texi: Document MTASC-safety properties.
48773
48774 * manual/arith.texi: Document MTASC-safety properties.
48775
48776 * manual/argp.texi: Document MTASC-safety properties.
48777
48778 * manual/macros.texi: Introduce macros to document multi
48779 thread, asynchronous signal and asynchronous cancellation
48780 safety properties.
48781 * manual/intro.texi: Introduce the properties themselves.
48782
48783 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48784
48785 * sysdeps/sh/sh4/Makefile: New file.
48786
48787 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
48788
48789 * math/gen-libm-test.pl ($srcdir): New variable.
48790 ($auto_input): Use it.
48791
48792 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48793
48794 [BZ #16506]
48795 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
48796 access beyond array bounds when parsing netgroups file.
48797
48798 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
48799 the old buffer before realloc.
48800
48801 2014-01-27 Allan McRae <allan@archlinux.org>
48802
48803 * po/fr.po: Update French translation from translation project.
48804
48805 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48806
48807 * sysdeps/sh/libm-test-ulps: Regenerate.
48808
48809 2014-01-24 David S. Miller <davem@davemloft.net>
48810
48811 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
48812
48813 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48814
48815 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
48816 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
48817
48818 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48819
48820 [BZ #16474]
48821 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
48822 string pointers after reallocation.
48823
48824 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48825
48826 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
48827 __SH4A__ instead of __SH_FPU_ANY__.
48828
48829 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48830
48831 * sysdeps/sh/fpu_control.h: New file.
48832 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
48833 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
48834 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
48835 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
48836 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
48837 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
48838 * sysdeps/sh/sys/ucontext.h: Remove.
48839 * sysdeps/sh/sys: Remove directory.
48840
48841 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48842
48843 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
48844 s390/sys/ucontext.h.
48845 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
48846 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
48847
48848 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
48849
48850 [BZ #15605]
48851 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
48852
48853 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48854
48855 [BZ#16431]
48856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48857 Adjust the vDSO correctly for internal calls.
48858 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
48859
48860 2014-01-20 Allan McRae <allan@archlinux.org>
48861
48862 * po/ca.po: Update Catalan translation from translation project.
48863
48864 2014-01-16 Mike Frysinger <vapier@gentoo.org>
48865
48866 * sysdeps/s390/sotruss-lib.c: New file.
48867
48868 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48869
48870 [BZ#16430]
48871 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
48872 (__GI___gettimeofday): Alias for a different internal symbol to avoid
48873 local calls issues by not having a PLT stub required for IFUNC calls.
48874 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
48875
48876 2014-01-16 Joseph Myers <joseph@codesourcery.com>
48877
48878 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
48879 * math/test-fpucw-static.c: Likewise.
48880
48881 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48882
48883 [BZ #16453]
48884 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
48885
48886 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48887
48888 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
48889 implementation for powerpc.
48890
48891 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
48892
48893 [BZ #14782]
48894 * sysdeps/posix/system.c (__libc_system): Do not enable
48895 asynchronous cancellation.
48896
48897 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48898
48899 [BZ #16427]
48900 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
48901 handling only for numbers special also in the IEEE case.
48902
48903 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48904
48905 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48906
48907 2014-01-11 Allan McRae <allan@archlinux.org>
48908
48909 * po/bg.po: Update Bulgarian translation from translation project.
48910
48911 * po/de.po: Update German translation from translation project.
48912
48913 2014-01-10 Roland McGrath <roland@hack.frob.com>
48914
48915 * sysdeps/generic/gcc-compat.h: New file.
48916
48917 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48918
48919 * benchtests/asin-inputs: Correct slow inputs.
48920 * benchtests/acos-inputs: Likewise.
48921
48922 2014-01-10 Allan McRae <allan@archlinux.org>
48923
48924 * po:sv.po: Update Swedish translation from translation project.
48925
48926 * po/vi.po: Update Vietnamese translation from translation project.
48927
48928 * po/eo.po: Update Esperanto translation from translation project.
48929
48930 * po/cs.po: Update Czech translation from translation project.
48931
48932 * po/nl.po: Update Dutch translation from translation project.
48933
48934 * po/pl.po: Update Polish translation from translation project.
48935
48936 * po/ru.po: Update Russian translation from translation project.
48937
48938 * po/uk.po: Update Ukrainian translation from translation project.
48939
48940 2014-01-08 Brooks Moses <bmoses@google.com>
48941
48942 * elf/dl-load.c: Fix comment typo.
48943
48944 2014-01-08 Carlos O'Donell <carlos@redhat.com>
48945
48946 * po/header.pot: Rename to...
48947 * po/pot.header: ... this.
48948 * po/Makefile: Use pot.header.
48949
48950 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
48951 Maxim Kuvyrkov <maxim@kugelworks.com>
48952
48953 [BZ #16394]
48954 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
48955 SRC and DEST against LEN.
48956
48957 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48958
48959 [BZ #16414]
48960 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
48961 implementation.
48962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
48963
48964 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48965
48966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48967
48968 2014-01-08 Joseph Myers <joseph@codesourcery.com>
48969
48970 [BZ #16408]
48971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
48972 for large positive arguments.
48973
48974 2014-01-07 Joseph Myers <joseph@codesourcery.com>
48975
48976 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48977
48978 * math/auto-libm-test-in: Mark various tests with
48979 xfail-rounding:ldbl-128ibm.
48980 * math/auto-libm-test-out: Regenerated.
48981
48982 [BZ #16407]
48983 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48984 Increase overflow threshold.
48985
48986 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
48987
48988 [BZ #14286]
48989 * stdio-common/vfprintf.c: Check for integer overflow.
48990
48991 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48992
48993 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
48994 the first argument and return value of __tls_get_addr_internal.
48995
48996 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48997
48998 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
48999 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49000
49001 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49002
49003 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49004 * sysdeps/s390/rtld-global-offsets.sym: New file.
49005 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49006 GLIBC_2.19 symbol.
49007 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49010 ... this.
49011 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49012 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49013 ... this.
49014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49015 Regenerate.
49016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49017 Regenerate.
49018 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49019 halfs of GPRs for high_gprs contexts.
49020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49021 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
49022 field.
49023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49024 uc_flags field.
49025 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49026 64 bit versions:
49027 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49028 for high GPRs (uc_high_gprs) and for future extensions
49029 (__reserved).
49030 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49031 for future extensions (__reserved).
49032 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49033 64 bit versions:
49034 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49035 SC_HIGHGPRS offset definition.
49036 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49037 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49038
49039 * Versions.def: Add GLIBC_2.19 for libpthread.
49040 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49041 siglongjmp for libpthread with GLIBC_2.19 symver.
49042 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49043 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49044 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49045 * sysdeps/s390/__longjmp.c: New file.
49046 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49047 * sysdeps/s390/longjmp.c: New file.
49048 * sysdeps/s390/setjmp.S: New file.
49049 * sysdeps/s390/sigjmp.S: New file.
49050 * sysdeps/s390/v1-longjmp.c: New file.
49051 * sysdeps/s390/v1-setjmp.h: New file.
49052 * sysdeps/s390/v1-sigjmp.c: New file.
49053 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49054 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49055 GLIBC_2.19 version.
49056 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49057 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49058 versioned symbols for ____longjmp_chk.
49059 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49060 Likewise.
49061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49062 Regenerate.
49063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49064 Regenerate.
49065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49066 Regenerate.
49067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49068 Regenerate.
49069 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49070 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49071 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49072 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49073 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49074 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49075 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49076 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49077 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49078 * sysdeps/s390/rtld-__longjmp.c: New file.
49079 * sysdeps/s390/rtld-setjmp.S: New file.
49080
49081 2014-01-06 Joseph Myers <joseph@codesourcery.com>
49082
49083 [BZ #16400]
49084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49085 Return -__logl (x) for small positive arguments without evaluating
49086 a polynomial.
49087
49088 2014-01-06 Mike Frysinger <vapier@gentoo.org>
49089
49090 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49091 Rename to ...
49092 (__ptrace_peeksiginfo_args): ... this.
49093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49096
49097 2014-01-06 Allan McRae <allan@archlinux.org>
49098
49099 * inet/netinet/in.h: Fix typo in comment.
49100
49101 2014-01-05 Andreas Jaeger <aj@suse.de>
49102
49103 * sysdeps/i386/fpu/libm-test-ulps: Update.
49104
49105 2014-01-05 Allan McRae <allan@archlinux.org>
49106
49107 * po/libc.pot: Regenerated.
49108
49109 * malloc/memusagestat.c: Fix gettext call formatting.
49110
49111 2014-01-04 Sami Kerola <kerolasa@iki.fi>
49112
49113 * nscd/nscd.c: Improve usage() output.
49114
49115 2014-01-04 Mike Frysinger <vapier@gentoo.org>
49116
49117 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49118 * sysdeps/unix/sysv/linux/configure: Regenerated.
49119 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49120 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49121
49122 2014-01-03 Joseph Myers <joseph@codesourcery.com>
49123
49124 [BZ #16390]
49125 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49126 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49127
49128 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49129
49130 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49131 extra tokens at end of #undef directive.
49132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49133 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49134 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49135
49136 2014-01-03 Joseph Myers <joseph@codesourcery.com>
49137
49138 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49139
49140 * math/auto-libm-test-in: Mark various tests with
49141 xfail-rounding:ldbl-128ibm.
49142 * math/auto-libm-test-out: Regenerated.
49143
49144 2014-01-02 Joseph Myers <joseph@codesourcery.com>
49145
49146 [BZ #16386]
49147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49148 numbers with subnormal high part when calculating exponent.
49149
49150 [BZ #16385]
49151 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49152 fabs.
49153
49154 [BZ #16384]
49155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49156 M_LN2l.
49157 (__ieee754_acoshl): Use __log1pl not __log1p.
49158
49159 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
49160
49161 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49162 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49163 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49164 (grow_heap, heap_trim, _int_new_arena, get_free_list)
49165 (reused_arena, arena_get2): Convert to GNU style.
49166 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49167 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49168 (memalign_check, __malloc_set_state): Likewise.
49169 * malloc/mallocbug.c (main): Likewise.
49170 * malloc/malloc.c (__malloc_assert, malloc_init_state)
49171 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49172 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49173 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49174 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49175 (__posix_memalign, malloc_info): Likewise.
49176 * malloc/malloc.h: Likewise.
49177 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49178 (mallochook, memalignhook, reallochook, mabort): Likewise.
49179 * malloc/mcheck.h: Likewise.
49180 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49181 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49182 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49183 * malloc/morecore.c (__default_morecore): Likewise.
49184 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49185 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49186 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49187 (print_and_abort): Likewise.
49188 * malloc/obstack.h: Likewise.
49189 * malloc/set-freeres.c (__libc_freeres): Likewise.
49190 * malloc/tst-mallocstate.c (main): Likewise.
49191 * malloc/tst-mtrace.c (main): Likewise.
49192 * malloc/tst-realloc.c (do_test): Likewise.
49193
49194 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49195
49196 [BZ #16366]
49197 * nscd/netgroupcache.c (do_notfound): New function.
49198 (addgetnetgrentX): Use it.
49199
49200 [BZ # 16365]
49201 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49202 NSS_STATUS_NOTFOUND.
49203
49204 2014-01-01 Joseph Myers <joseph@codesourcery.com>
49205
49206 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49208
49209 2014-01-01 Allan McRae <allan@archlinux.org>
49210
49211 * scripts/update-copyrights: Update configure input file suffix.
49212
49213 * NEWS: Update copyright year.
49214 * catgets/gencat.c: Likewise.
49215 * csu/version.c: Likewise.
49216 * debug/catchsegv.sh: Likewise.
49217 * debug/pcprofiledump.c: Likewise.
49218 * debug/xtrace.sh: Likewise.
49219 * elf/ldconfig.c: Likewise.
49220 * elf/ldd.bash.in: Likewise.
49221 * elf/pldd.c: Likewise.
49222 * elf/sotruss.ksh: Likewise.
49223 * elf/sprof.c: Likewise.
49224 * iconv/iconv_prog.c: Likewise.
49225 * iconv/iconvconfig.c: Likewise.
49226 * locale/programs/locale.c: Likewise.
49227 * locale/programs/localedef.c: Likewise.
49228 * login/programs/pt_chown.c: Likewise.
49229 * malloc/memusage.sh: Likewise.
49230 * malloc/memusagestat.c: Likewise.
49231 * malloc/mtrace.pl: Likewise.
49232 * manual/libc.texinfo: Likewise.
49233 * nscd/nscd.c: Likewise.
49234 * nss/getent.c: Likewise.
49235 * nss/makedb.c: Likewise.
49236 * posix/getconf.c: Likewise.
49237 * scripts/test-installation.pl: Likewise.
49238
49239 * All files with FSF copyright notices: Update copyright dates
49240 using scripts/update-copyrights.
49241 * intl/plural.c: Regenerated.
49242 * locale/programs/charmap-kw.h: Likewise.
49243 * locale/programs/locfile-kw.h: Likewise.
49244
49245 2013-12-31 Mike Frysinger <vapier@gentoo.org>
49246
49247 * sysdeps/unix/sysv/linux/configure: Regenerated.
49248 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49249 the linux/fanotify.h header.
49250 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49251 HAVE_LINUX_FANOTIFY_H is defined.
49252
49253 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49254
49255 * benchtests/cos-inputs: New inputs.
49256 * benchtests/sin-inputs: Likewise.
49257
49258 * benchtests/atan-inputs: New inputs. Fix name of multiple
49259 precision fallback inputs.
49260
49261 * benchtests/atanh-inputs: New inputs.
49262 * benchtests/tanh-inputs: Likewise.
49263
49264 * benchtests/acosh-inputs: New inputs.
49265 * benchtests/asinh-inputs: Likewise.
49266
49267 * benchtests/cosh-inputs: New inputs.
49268 * benchtests/sinh-inputs: Likewise.
49269
49270 * benchtests/acos-inputs: Add more inputs.
49271 * benchtests/asin-inputs: Likewise.
49272
49273 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
49274
49275 [BZ #16375]
49276 * manual/arith.texi: Fix spelling.
49277 * manual/charset.texi: Likewise.
49278 * manual/errno.texi: Likewise.
49279 * manual/filesys.texi: Likewise.
49280 * manual/lang.texi: Likewise.
49281 * manual/llio.texi: Likewise.
49282 * manual/locale.texi: Likewise.
49283 * manual/message.texi: Likewise.
49284 * manual/resource.texi: Likewise.
49285 * manual/search.texi: Likewise.
49286 * manual/setjmp.texi: Likewise.
49287 * manual/stdio.texi: Likewise.
49288 * manual/string.texi: Likewise.
49289 * manual/sysinfo.texi: Likewise.
49290 * manual/time.texi: Likewise.
49291
49292 2013-12-27 Carlos O'Donell <carlos@redhat.com>
49293
49294 * po/sl.po: New file.
49295
49296 2013-12-27 Mike Frysinger <vapier@gentoo.org>
49297
49298 * .gitignore: Add core/.gdbinit/.gdb_history.
49299
49300 2013-12-27 Allan McRae <allan@archlinux.org>
49301
49302 [BZ #16369]
49303 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49304 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49305
49306 2013-12-24 Brooks Moses <bmoses@google.com>
49307
49308 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49309 all compilers that claim C++98 compliance, not just GCC.
49310 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49311 Likewise.
49312
49313 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
49314
49315 * NEWS: Restore accidentally deleted bug-fix entries.
49316
49317 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
49318 Ondřej Bílka <neleai@seznam.cz>
49319
49320 [BZ #15073]
49321 * malloc/malloc.c (_int_free): Perform sanity check only if we
49322 have_lock.
49323
49324 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
49325
49326 [BZ #12986]
49327 * manual/stdio.texi (String Input Conversions): Clarify that character
49328 classes are not supported.
49329
49330 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49331
49332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49333
49334 2013-12-22 Joseph Myers <joseph@codesourcery.com>
49335
49336 [BZ #16337]
49337 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49338 Calculate results for small negative arguments directly rather
49339 than using reflection formula with special underflow handling.
49340
49341 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49342 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49343 sysdeps/unix/bsd/bsd4.4/syscalls.list.
49344 (fchflags): Likewise.
49345 (revoke): Likewise.
49346 (setlogin): Likewise.
49347 (sigaltstack): Likewise.
49348 (wait4): Likewise.
49349 (sigblock): Remove.
49350 (sigsetmask): Likewise.
49351 (wait3): Likewise.
49352 (waitpid): Likewise.
49353 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49354 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49355 file.
49356 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49357 * sysdeps/unix/bsd/Makefile: ... here.
49358 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49359 * sysdeps/unix/bsd/Versions: ... here.
49360 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49361 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49362 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49363 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49364 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49365 * sysdeps/unix/bsd/sigblock.c: ... here.
49366 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49367 * sysdeps/unix/bsd/sigsetmask.c: ... here.
49368 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49369 * sysdeps/unix/bsd/sigvec.c: ... here.
49370 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49371 * sysdeps/unix/bsd/tcdrain.c: ... here.
49372 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49373 * sysdeps/unix/bsd/tcgetattr.c: ... here.
49374 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49375 * sysdeps/unix/bsd/tcsetattr.c: ... here.
49376 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
49377 * sysdeps/unix/bsd/wait.c: ... here.
49378 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
49379 * sysdeps/unix/bsd/wait3.c: ... here.
49380 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
49381 * sysdeps/unix/bsd/waitpid.c: ... here.
49382
49383 2013-12-21 Joseph Myers <joseph@codesourcery.com>
49384
49385 [BZ #16356]
49386 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
49387 round-to-nearest for [!USE_AS_EXPM1L].
49388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
49389 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
49390 more tests of exp and exp10. Expect some exp10 tests to miss
49391 exceptions or fail in directed rounding modes.
49392 * math/auto-libm-test-out: Regenerated.
49393 * math/libm-test.inc (exp10_tonearest_test_data): New array.
49394 (exp10_test_tonearest): New function.
49395 (exp10_towardzero_test_data): New array.
49396 (exp10_test_towardzero): New function.
49397 (exp10_downward_test_data): New array.
49398 (exp10_test_downward): New function.
49399 (exp10_upward_test_data): New array.
49400 (exp10_test_upward): New function.
49401 (main): Call the new functions.
49402 * sysdeps/i386/fpu/libm-test-ulps: Update.
49403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49404
49405 2013-12-20 Joseph Myers <joseph@codesourcery.com>
49406
49407 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
49408 asinh, atan, atan2, atanh, cbrt, cos and cosh.
49409 * math/auto-libm-test-out: Regenerated.
49410 * math/libm-test.inc (acosh_test_data): Add more tests.
49411 (atanh_test_data): Likewise.
49412 (ceil_test_data): Likewise.
49413 (copysign_test_data): Likewise.
49414 * sysdeps/i386/fpu/libm-test-ulps: Update.
49415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49416
49417 * timezone/checktab.awk: Update from tzcode 2013i.
49418 * timezone/private.h: Likewise.
49419 * timezone/scheck.c: Likewise.
49420 * timezone/tzfile.h: Likewise.
49421 * timezone/tzselect.ksh: Likewise.
49422 * timezone/zdump.c: Likewise.
49423 * timezone/zic.c: Likewise.
49424
49425 * math/auto-libm-test-in: Add tests of cpow.
49426 * math/auto-libm-test-out: Regenerated.
49427 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
49428 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49429 mpc_cc_c.
49430 (func_calc_desc): Add mpc_cc_c union field.
49431 (test_functions): Add cpow.
49432 (special_fill_2pi): New function.
49433 (special_real_inputs): Add 2pi.
49434 (calc_generic_results): Handle mpc_cc_c.
49435 * sysdeps/i386/fpu/libm-test-ulps: Update.
49436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49437
49438 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
49439 csqrt, ctan and ctanh.
49440 * math/auto-libm-test-out: Regenerated.
49441 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49442 (TEST_COND_x86): Likewise.
49443 (ccos_test_data): Use AUTO_TESTS_c_c.
49444 (ccosh_test_data): Likewise.
49445 (cexp_test_data): Likewise.
49446 (clog_test_data): Likewise.
49447 (csqrt_test_data): Likewise.
49448 (ctan_test_data): Likewise.
49449 (ctan_tonearest_test_data): Likewise.
49450 (ctan_towardzero_test_data): Likewise.
49451 (ctan_downward_test_data): Likewise.
49452 (ctan_upward_test_data): Likewise.
49453 (ctanh_test_data): Likewise.
49454 (ctanh_tonearest_test_data): Likewise.
49455 (ctanh_towardzero_test_data): Likewise.
49456 (ctanh_downward_test_data): Likewise.
49457 (ctanh_upward_test_data): Likewise.
49458 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49459 mpc_c_c.
49460 (func_calc_desc): Add mpc_c_c union field.
49461 (FUNC_mpc_c_c): New macro.
49462 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49463 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
49464 ctanh.
49465 (special_fill_min_subnorm_p120): New function.
49466 (special_real_inputs): Add min_subnorm_p120.
49467 (calc_generic_results): Handle mpc_c_c.
49468 * sysdeps/i386/fpu/libm-test-ulps: Update.
49469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49470
49471 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49472
49473 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
49474 (do_sin_slow): New functions.
49475 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
49476 (cslow2, csloww1, csloww2): Use the new functions.
49477
49478 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
49479 Use M to change sign of result instead of X. Assume X is
49480 positive.
49481 (csloww1): Likewise.
49482 (__sin): Adjust.
49483 (__cos): Adjust.
49484
49485 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
49486 arguments A and DA.
49487 (__sin): Adjust.
49488 (__cos): Likewise.
49489
49490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
49491 (__cos): Likewise.
49492 (sloww1): Don't adjust sign of DX.
49493 (csloww1): Likewise.
49494 (sloww2): Use X directly and don't adjust sign of DX.
49495 (csloww2): Likewise.
49496
49497 2013-12-19 Joseph Myers <joseph@codesourcery.com>
49498
49499 * math/auto-libm-test-in: Add tests of cabs and carg.
49500 * math/auto-libm-test-out: Regenerated.
49501 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
49502 (carg_test_data): Likewise.
49503 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49504 mpc_c_f.
49505 (func_calc_desc): Add mpc_c_f union field.
49506 (test_functions): Add cabs and carg.
49507 (calc_generic_results): Handle mpc_c_f.
49508
49509 * sysdeps/powerpc/powerpc32/libgcc-compat.S
49510 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
49511 as a macro and a compat symbol.
49512 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
49513 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
49514 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
49515 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
49516 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
49517 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
49518 not use .hidden.
49519 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
49520 Likewise.
49521 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
49522 Likewise.
49523 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
49524 Likewise.
49525 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
49526 Likewise.
49527 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
49528 Likewise.
49529 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
49530 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
49531 from GLIBC_2.3.2.
49532
49533 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49534
49535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49536
49537 2013-12-19 Joseph Myers <joseph@codesourcery.com>
49538
49539 * manual/texinfo.tex: Update to version 2013-11-26.10 with
49540 trailing whitespace removed.
49541 * scripts/config.guess: Update to version 2013-11-29.
49542 * scripts/config.sub: Update to version 2013-10-01.
49543
49544 * math/auto-libm-test-in: Add tests of sincos.
49545 * math/auto-libm-test-out: Regenerated.
49546 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
49547 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49548 mpfr_f_11.
49549 (func_calc_desc): Add mpfr_f_11 union field.
49550 (test_functions): Add sincos.
49551 (calc_generic_results): Handle mpfr_f_11.
49552 * sysdeps/i386/fpu/libm-test-ulps: Update.
49553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49554
49555 2013-12-19 Andreas Schwab <schwab@suse.de>
49556
49557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
49558 CALL_MCOUNT.
49559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49560 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
49561 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
49562
49563 2013-12-19 Joseph Myers <joseph@codesourcery.com>
49564
49565 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
49566 * sysdeps/i386/fpu/libm-test-ulps: Update.
49567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49568
49569 [BZ #16293]
49570 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
49571 round-to-nearest mode when using frndint.
49572 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
49573 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49575 Likewise.
49576 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
49577 sinh test to fail.
49578 * math/auto-libm-test-out: Regenerated.
49579 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
49580 (TEST_COND_x86): Likewise.
49581 (expm1_tonearest_test_data): New array.
49582 (expm1_test_tonearest): New function.
49583 (expm1_towardzero_test_data): New array.
49584 (expm1_test_towardzero): New function.
49585 (expm1_downward_test_data): New array.
49586 (expm1_test_downward): New function.
49587 (expm1_upward_test_data): New array.
49588 (expm1_test_upward): New function.
49589 (main): Run the new test functions.
49590 * sysdeps/i386/fpu/libm-test-ulps: Update.
49591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49592
49593 * include/features.h: Update comment documenting feature test
49594 macros. Mention _DEFAULT_SOURCE in comment.
49595 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
49596 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
49597 _BSD_SOURCE and _SVID_SOURCE.
49598 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
49599 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
49600 !_SVID_SOURCE]: Likewise.
49601 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49602 (__USE_POSIX_IMPLICITLY): Define.
49603 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49604 (_POSIX_SOURCE): Undefine and redefine.
49605 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49606 (_POSIX_C_SOURCE): Likewise.
49607 * manual/creature.texi (_DEFAULT_SOURCE): Document.
49608 (Feature Test Macros): Update documentation of default features.
49609
49610 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49611
49612 * benchtests/Makefile: Add bench-strtok.
49613 * benchtests/bench-strtok.c: New file: strtok benchtest.
49614
49615 2013-12-19 Allan McRae <allan@archlinux.org>
49616
49617 * manual/install.texi: Suppress menu for plain text output.
49618 * INSTALL: Regenerated.
49619
49620 2013-12-18 Brooks Moses <bmoses@google.com>
49621
49622 [BZ #15846]
49623 * misc/getauxval.c: Include errno.h.
49624 (__getauxval): Set errno to ENOENT if the requested type is not
49625 found.
49626 * misc/sys/auxv.h (getauxval): Document that it may set errno;
49627 don't declare with __attribute_const__.
49628 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
49629 * manual/startup.texi: Document that getauxval sets errno.
49630
49631 2013-12-18 Joseph Myers <joseph@codesourcery.com>
49632
49633 * math/auto-libm-test-in: Add tests of jn and yn.
49634 * math/auto-libm-test-out: Regenerated.
49635 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
49636 (yn_test_data): Likewise.
49637 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49638 mpfr_if_f.
49639 (func_calc_desc): Add mpfr_if_f union field.
49640 (FUNC_mpfr_if_f): New macro.
49641 (test_functions): Add jn and yn.
49642 (calc_generic_results): Assert type of second input for
49643 mpfr_ff_f. Handle mpfr_if_f.
49644 (output_for_one_input_case): Disable all checking for arguments
49645 fitting floating-point types in case of an integer argument.
49646 * sysdeps/i386/fpu/libm-test-ulps: Update.
49647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49648
49649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49650 Don't expect fegetround reference in libm.so.
49651
49652 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49653
49654 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
49655 $(config-cflags-nofma).
49656
49657 2013-12-18 Joseph Myers <joseph@codesourcery.com>
49658
49659 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
49660 * math/auto-libm-test-out: Regenerated.
49661
49662 [BZ #16338]
49663 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
49664 to determine exponent and adjust argument to have exponent of -1.
49665 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
49666 log2.
49667 * math/auto-libm-test-out: Regenerated.
49668 * sysdeps/i386/fpu/libm-test-ulps: Update.
49669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49670
49671 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
49672
49673 * manual/probes.texi: Remove cases when per-thread arenas are
49674 disabled.
49675
49676 2013-12-18 Andreas Schwab <schwab@suse.de>
49677
49678 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
49679 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
49680 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
49681 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
49682 * sysdeps/i386/i686/multiarch/Makefile: Update.
49683 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
49684
49685 2013-12-17 Joseph Myers <joseph@codesourcery.com>
49686
49687 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
49688 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
49689
49690 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
49691
49692 [BZ #15968]
49693 Support TZ transition times < 00:00:00.
49694 This is needed for version-3 tz-format files; it supports time
49695 stamps past 2037 for America/Godthab (the only entry in the tz
49696 database for which this change is relevant).
49697 * manual/time.texi (TZ Variable): Document transition times
49698 from -167:59:59 through -00:00:01.
49699 * time/tzset.c (tz_rule): Time of day is now signed.
49700 (__tzset_parse_tz): Parse negative time of day.
49701
49702 Document TZ transition times >= 25:00:00.
49703 * manual/time.texi (TZ Variable): Document transition times from
49704 25:00:00 through 167:59:59. These are already supported, and this
49705 support will help with version-3 tz-format files.
49706
49707 * manual/time.texi (TZ Variable): Modernize North America example
49708 to reflect current (i.e., 2007-and-later) daylight saving rules.
49709
49710 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
49711
49712 2013-12-17 Joseph Myers <joseph@codesourcery.com>
49713
49714 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
49715 * sysdeps/unix/bsd/bits/stat.h: Likewise.
49716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
49717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49718 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
49719 * sysdeps/unix/bsd/bsdstat.h: Likewise.
49720 * sysdeps/unix/bsd/clock.c: Likewise.
49721 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
49722 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
49723 * sysdeps/unix/bsd/init-posix.c: Likewise.
49724 * sysdeps/unix/bsd/poll.c: Likewise.
49725 * sysdeps/unix/bsd/ptsname.c: Likewise.
49726 * sysdeps/unix/bsd/seekdir.c: Likewise.
49727 * sysdeps/unix/bsd/setegid.c: Likewise.
49728 * sysdeps/unix/bsd/seteuid.c: Likewise.
49729 * sysdeps/unix/bsd/setgid.c: Likewise.
49730 * sysdeps/unix/bsd/setrgid.c: Likewise.
49731 * sysdeps/unix/bsd/setruid.c: Likewise.
49732 * sysdeps/unix/bsd/setsid.c: Likewise.
49733 * sysdeps/unix/bsd/setuid.c: Likewise.
49734 * sysdeps/unix/bsd/sigaction.c: Likewise.
49735 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
49736 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
49737 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
49738 * sysdeps/unix/bsd/telldir.c: Likewise.
49739 * sysdeps/unix/bsd/times.c: Likewise.
49740 * sysdeps/unix/bsd/usleep.c: Likewise.
49741
49742 * misc/Makefile (install-lib): Remove libbsd-compat.a.
49743 ($(objpfx)libbsd-compat.a): Remove rule.
49744
49745 * include/features.h (__FAVOR_BSD): Do not define.
49746 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
49747 features conflicting with POSIX.
49748 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
49749 (_BSD_SOURCE): Remove description of not being a subset of other
49750 feature test macros.
49751 * manual/job.texi (getpgrp): Do not document BSD version.
49752 (getpgid): Do not document by reference to BSD getpgrp.
49753 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
49754 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
49755 * signal/signal.h [__FAVOR_BSD]: Likewise.
49756 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
49757 instead of making contents conditional on [__FAVOR_BSD].
49758 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
49759
49760 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49761
49762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49763
49764 2013-12-17 Joseph Myers <joseph@codesourcery.com>
49765
49766 [BZ #16314]
49767 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
49768 values below 2**-450, not 2**-500.
49769 * math/auto-libm-test-in: Don't allow spurious underflow from
49770 hypot.
49771 * math/auto-libm-test-out: Regenerated.
49772
49773 [BZ #16316]
49774 [BZ #16330]
49775 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
49776 values of ha and hb and sort them after adjusting subnormal
49777 arguments.
49778 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
49779 Likewise.
49780 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
49781 values of ea and eb and sort them after adjusting subnormal
49782 arguments.
49783 * math/auto-libm-test-in: Do not expect some hypot tests of
49784 subnormals to fail. Add more hypot tests.
49785 * math/auto-libm-test-out: Regenerated.
49786
49787 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49788
49789 [BZ #13304]
49790 * sysdeps/sh/s_fma.c: New file.
49791 * sysdeps/sh/s_fmaf.c: New file.
49792 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
49793 version.
49794 * sysdeps/sh/Implies: Add sh/soft-fp.
49795
49796 2013-12-16 Roland McGrath <roland@hack.frob.com>
49797
49798 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
49799 level of indirection to members `objname', `errstring', `malloced'.
49800 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
49801 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
49802 it as the __longjmp argument (just pass 1 instead).
49803 (_dl_catch_error): Initialize C with argument pointers and address of
49804 volatile local ERRCODE rather than copying values out of C at return.
49805
49806 2013-12-16 Joseph Myers <joseph@codesourcery.com>
49807
49808 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
49809 * math/auto-libm-test-out: Regenerated.
49810 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
49811 (hypot_test_data): Likewise.
49812 (pow_test_data): Likewise.
49813 (pow_tonearest_test_data): Likewise.
49814 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49815 mpfr_ff_f.
49816 (func_calc_desc): Add mpfr_ff_f union field.
49817 (FUNC_mpfr_ff_f): New macro.
49818 (test_functions): Add atan2, hypot and pow.
49819 (special_fill_min): New function.
49820 (special_fill_minus_min): Likewise.
49821 (special_fill_min_subnorm): Likewise.
49822 (special_fill_minus_min_subnorm): Likewise.
49823 (special_real_inputs): Add min, -min, min_subnorm and
49824 -min_subnorm.
49825 (calc_generic_results): Handle mpfr_ff_f.
49826 * sysdeps/i386/fpu/libm-test-ulps: Update.
49827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49828
49829 2013-12-16 Will Newton <will.newton@linaro.org>
49830
49831 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
49832 (Aligned Memory Blocks): Add documentation for aligned_alloc
49833 and suggest it as an alternative to posix_memalign.
49834 (Hooks for Malloc): Document __memalign_hook is also called
49835 for aligned_alloc. (Summary of Malloc): Add summary for
49836 aligned alloc. Document __memalign_hook is also called
49837 for aligned_alloc.
49838
49839 2013-12-16 Will Newton <will.newton@linaro.org>
49840
49841 * manual/memory.texi (Malloc Examples): Clarify default
49842 alignment documentation. Suggest posix_memalign rather
49843 than memalign or valloc.
49844 (Aligned Memory Blocks): Remove suggestion to use memalign
49845 or valloc. Remove obsolete comment about BSD.
49846 Document memalign errno values and mark the function obsolete.
49847 Document posix_memalign returned error codes. Mark valloc
49848 as obsolete. (Hooks for Malloc): __memalign_hook is also
49849 called for posix_memalign and valloc.
49850 (Summary of Malloc): Add posix_memalign to function summary.
49851 __memalign_hook is also called for posix_memalign and valloc.
49852
49853 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49854
49855 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
49856 TAYLOR_SIN.
49857 (__sin): Adjust.
49858 (__cos): Likewise.
49859 (sloww): Use mynumber union. Expand ternary operator into
49860 if-else statements.
49861 (cslow): use mynumber union.
49862
49863 2013-12-16 Allan McRae <allan@archlinux.org>
49864
49865 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
49866 * configure: Regenerated.
49867
49868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
49869
49870 [BZ #14120]
49871 * configure.ac: Added --enable-maintainer-mode. Check for
49872 autoconf when enabled.
49873 * configure: Regenerated.
49874
49875 * nscd/nscd.service: New file.
49876 * nscd/nscd.tmpfiles: New file.
49877
49878 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
49879
49880 [BZ #12100]
49881 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
49882 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
49883 * sysdeps/x86_64/multiarch/strstr.c: ... here.
49884 (strstr): Add __strstr_sse2_unaligned ifunc.
49885 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
49886 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
49887 (strcasestr): Remove __strcasestr_sse42 ifunc.
49888 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
49889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49891
49892 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49893
49894 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
49895 * sysdeps/sh/bits/fenv.h: ... here.
49896 * sysdeps/sh/sh4/fpu/bits: Remove directory.
49897
49898 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49899
49900 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
49901
49902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
49903 hypotf multiarch implementations.
49904 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
49905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
49906 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
49907 multiarch hypot for PPC64.
49908 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49909 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
49910 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
49911 multiarch hypotf for PPC64.
49912
49913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
49914 modff multiarch implementations.
49915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
49916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
49917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
49918 multiarch modf for PPC64.
49919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
49920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
49921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
49922 multiarch modff for PPC64.
49923
49924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
49925 and logl multiarch implementations.
49926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
49927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
49928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
49929 multiarch logb for PPC64.
49930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
49931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
49932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
49933 multiarch logb for PPC64.
49934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
49935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
49936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
49937 multiarch logb for PPC64.
49938
49939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
49940 isinff multiarch implementation.
49941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49942 file.
49943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
49944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
49945 multiarch isinf for PPC64.
49946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
49947 file.
49948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
49949 multiarch isinff for PPC64.
49950
49951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
49952 finitef multiarch implementation.
49953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
49954 file.
49955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
49956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
49957 multiarch finite for PPC64.
49958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
49959 file.
49960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
49961 multiarch finitef for PPC64.
49962
49963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
49964 lrint multiarch implementation.
49965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
49966 file.
49967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
49968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
49969 multiarch llrint for PPC64.
49970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
49971 multiarch lrint for PPC64.
49972
49973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
49974 copysignf multiarch implementation.
49975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
49976 file.
49977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
49978 file.
49979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
49980 multiarch copysign for PPC64.
49981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
49982 multiarch copysignf for PPC64.
49983
49984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
49985 multiarch implementation.
49986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
49987 file.
49988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
49989 file.
49990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
49991 file.
49992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
49993 file.
49994 multiarch llround for PPC64.
49995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
49996 multiarch trunc for PPC64.
49997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
49998 multiarch truncf for PPC64.
49999
50000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50001 multiarch implementation.
50002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50003 file.
50004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50005 file.
50006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50007 file.
50008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50009 file.
50010 multiarch llround for PPC64.
50011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50012 multiarch round for PPC64.
50013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50014 multiarch roundf for PPC64.
50015
50016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50017 multiarch implementation.
50018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50019 file.
50020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50021 file.
50022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50023 file.
50024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50025 file.
50026 multiarch llround for PPC64.
50027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50028 multiarch floor for PPC64.
50029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50030 multiarch floorf for PPC64.
50031
50032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50033 multiarch implementation.
50034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50035 file.
50036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50037 file.
50038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50039 file.
50040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50041 file.
50042 multiarch llround for PPC64.
50043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50044 multiarch ceil for PPC64.
50045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50046 multiarch ceilf for PPC64.
50047
50048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50049 multiarch implementation.
50050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50051 file.
50052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50053 file.
50054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50055 file.
50056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50057 multiarch llround for PPC64.
50058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50059 multiarch lround for PPC64.
50060
50061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50062 multiarch implementation.
50063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50066 file.
50067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50070 multiarch isnan for PPC64.
50071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50072 multiarch isnanf for PPC64.
50073
50074 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50075 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50076 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50077 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50078 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50080
50081 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50085
50086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50087 multiarch implementations.
50088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50089 (__libc_ifunc_impl_list): Likewise.
50090 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50091 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50092 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50093 multiarch stpcpy for PPC64.
50094
50095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50096 multiarch implementations.
50097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50098 (__libc_ifunc_impl_list): Likewise.
50099 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50100 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50101 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50102 multiarch strcpy for PPC64.
50103
50104 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50105 redefine function name.
50106 (_wordcopy_fwd_dest_aligned): Likewise.
50107 (_wordcopy_bwd_aligned): Likewise.
50108 (_wordcopy_bwd_dest_aligned): Likewise.
50109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50110 multiarch implementations.
50111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50112 (__libc_ifunc_impl_list): Likewise.
50113 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50114 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50115 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50116 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50117 multiarch wcscpy for PPC64.
50118
50119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50120 multiarch implementations.
50121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50122 (__libc_ifunc_impl_list): Likewise.
50123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50124 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50125 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50126 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50127 multiarch wcscpy for PPC64.
50128
50129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50130 multiarch implementations.
50131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50132 (__libc_ifunc_impl_list): Likewise.
50133 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50134 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50135 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50136 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50137 multiarch wcsrchr for PPC64.
50138
50139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50140 multiarch implementations.
50141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50142 (__libc_ifunc_impl_list): Likewise.
50143 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50144 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50145 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50146 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50147 multiarch wcschr for PPC64.
50148
50149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50150 multiarch implementations.
50151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50152 (__libc_ifunc_impl_list): Likewise.
50153 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50154 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50155 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50156 multiarch strchrnul for PPC64.
50157
50158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50159 implementations.
50160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50161 (__libc_ifunc_impl_list): Likewise.
50162 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50163 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50164 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50165 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50166 strchr for PPC64.
50167
50168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50169 implementations.
50170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50171 (__libc_ifunc_impl_list): Likewise.
50172 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50173 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50174 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50175 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50176 strncmp for PPC64.
50177
50178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50179 multiarch implementations.
50180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50181 (__libc_ifunc_impl_list): Likewise.
50182 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50183 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50184 strncasecmp for PPC64.
50185 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50186 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50187 multiarch strncasecmp_l for PPC64.
50188
50189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50190 multiarch implementations.
50191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50192 (__libc_ifunc_impl_list): Likewise.
50193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50195 multiarch strcasecmp for PPC64.
50196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50197 file.
50198 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50199 multiarch strcasecmp_l for PPC64.
50200
50201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50202 implementations.
50203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50204 (__libc_ifunc_impl_list): Likewise.
50205 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50206 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50207 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50208 strnlen for PPC64.
50209
50210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50211 implementations.
50212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50213 (__libc_ifunc_impl_list): Likewise.
50214 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50215 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50216 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50217 strlen for PPC64.
50218
50219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50220 implementations.
50221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50222 (__libc_ifunc_impl_list): Likewise.
50223 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50224 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50225 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50226 rawmemrchr for PPC64.
50227
50228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50229 implementation.
50230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50231 (__libc_ifunc_impl_list): Likewise.
50232 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50233 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50234 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50235 memrchr for PPC64.
50236
50237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50238 implementation.
50239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50240 (__libc_ifunc_impl_list): Likewise.
50241 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50242 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50243 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50244 memchr for PPC64.
50245
50246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50247 implementation.
50248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50249 (__libc_ifunc_impl_list): Likewise.
50250 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50251 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50252 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50253 mempcpy for PPC64.
50254
50255 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50256 avoid cretion of __bzero symbol.
50257 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50258 Likewise.
50259 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50260 Likewise.
50261 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50262 Likewise.
50263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50264 multiarch implementations.
50265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50266 (__libc_ifunc_impl_list): Likewise.
50267 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50268 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50269 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50270 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50271 bzero for PPC32.
50272 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50273 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50274 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50275 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50276 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50277 memset for PPC64.
50278 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50279
50280 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50282 implementations.
50283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50284 (__libc_ifunc_impl_list): Likewise.
50285 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50286 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50287 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50288 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50289 memcmp for PPC64.
50290
50291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50292 multiarch for POWER/PPC64.
50293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50294 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50301 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50302 memcpy for PPC64.
50303
50304 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50305 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50306 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50307 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50308 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50309 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50310 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50311 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50312 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50313 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50314 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50315 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50316 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50317 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50318 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50326
50327 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50328
50329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50330
50331 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
50332
50333 * benchtests/Makefile (bench): Add exp2 and log2.
50334 (LDLIBS-bench-exp2): Add -lm.
50335 (LDLIBS-bench-log2): Likewise.
50336 * benchtests/exp2-inputs: New inputs file.
50337 * benchtests/log2-inputs: New inputs file.
50338 * benchtests/log-inputs: Add new inputs.
50339 * benchtests/tan-inputs: Likewise.
50340
50341 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50342
50343 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50344 definition...
50345 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50346 (csloww2): ... from here.
50347
50348 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50349 instead of structures.
50350 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50351 (POLYNOMIAL): Likewise.
50352 (TAYLOR_SLOW): Likewise.
50353 (__sin): Likewise.
50354 (__cos): Likewise.
50355 (slow1): Likewise.
50356 (slow2): Likewise.
50357 (sloww): Likewise.
50358 (sloww1); Likewise.
50359 (sloww2): Likewise.
50360 (bsloww1): Likewise.
50361 (bsloww2): Likewise.
50362 (cslow2): Likewise.
50363 (csloww): Likewise.
50364 (csloww1): Likewise.
50365 (csloww2): Likewise.
50366
50367 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
50368
50369 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50370 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50371 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50372 * malloc/hooks.c (realloc_check): Likewise.
50373
50374 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50375 * malloc/arena.c: Remove PER_THREAD conditional.
50376 [!PER_THREAD]: Remove code.
50377 (ptmalloc_unlock_all2): Likewise.
50378 (ptmalloc_init): Likewise.
50379 (_int_new_arena): Likewise.
50380 (arena_get2): Likewise.
50381 * malloc/hooks.c (__malloc_get_state): Likewise.
50382 (__malloc_set_state): Likewise.
50383 * malloc/malloc.c: Likewise.
50384 (struct malloc_state): Likewise.
50385 (struct malloc_par): Likewise.
50386 (__libc_realloc): Likewise.
50387 (__libc_mallopt): Likewise.
50388
50389 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50390
50391 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50392
50393 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
50394
50395 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
50396 macro to a function. Check for zero perturb_byte.
50397 (_int_malloc, _int_free): Remove zero perturb_byte checks.
50398
50399 * malloc/malloc.c: (force_reg): Remove.
50400 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
50401 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
50402 force_reg by atomic_forced_read.
50403 * malloc/arena.c (ptmalloc_init): Likewise.
50404 * malloc/hooks.c (top_check): Likewise.
50405
50406 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50407
50408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50409
50410 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
50411
50412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50413
50414 2013-12-08 Joseph Myers <joseph@codesourcery.com>
50415
50416 * math/auto-libm-test-in: Add tests of lgamma.
50417 * math/auto-libm-test-out: Regenerated.
50418 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
50419 (M_LOG_2_SQRT_PIl): Likewise.
50420 (lgamma_test_data): Use AUTO_TESTS_f_f1.
50421 * math/gen-auto-libm-tests.c (func_calc_method): Add value
50422 mpfr_f_f1.
50423 (func_calc_desc): Add mpfr_f_f1 union field.
50424 (ARGS1): New macro.
50425 (ARGS2): Likewise.
50426 (ARGS3): Likewise.
50427 (ARGS4): Likewise.
50428 (RET1): Likewise.
50429 (RET2): Likewise.
50430 (CALC): Likewise.
50431 (FUNC): Likewise.
50432 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
50433 (test_functions): Add lgamma.
50434 (calc_generic_results): Handle mpfr_f_f1.
50435 * sysdeps/i386/fpu/libm-test-ulps: Update.
50436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50437
50438 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50439
50440 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
50441 __mpn_add_n for PowerPC64/POWER7.
50442 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
50443 __mpn_sub_n for PowerPC64/POWER7.
50444
50445 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
50446 __mpn_addmul_1 for PowerPC64.
50447 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
50448 __mpn_submul_1 for PowerPC64.
50449 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
50450 for PowerPC64.
50451 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
50452 for PowerPC64.
50453
50454 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
50455
50456 [BZ #15089]
50457 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
50458
50459 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50460
50461 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
50462
50463 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
50464 add multiarch folders.
50465 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
50466 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
50467 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
50468 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
50469 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
50470 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
50471 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
50472 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
50473 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
50474 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
50475 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
50476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
50477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
50478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
50479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
50480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
50481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
50482
50483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50484 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
50485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
50486 New file.
50487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
50488 New file.
50489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
50490 multiarch __ieee754_hypot for PowerPC32.
50491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
50492 New file.
50493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
50494 New file.
50495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
50496 multiarch __ieee754_hypotf for PowerPC32.
50497
50498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
50499 long_double_symbol only if __logbl is defined.
50500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
50501 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
50502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
50503 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
50504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
50505 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
50506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
50507 path for implementation.
50508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
50509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
50510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
50511 logb, and logbl multiarch implementations for PowerPC32.
50512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
50513 file.
50514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
50515 file.
50516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
50517 multiarch logb for PowerPC32.
50518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
50519 file.
50520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
50521 file.
50522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
50523 multiarch logbf for PowerPC32.
50524 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
50525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
50526 file.
50527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
50528 multiarch logbl implementation for PowerPC32.
50529
50530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
50531 and modff multiarch implementations.
50532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
50533 New file.
50534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
50535 New file.
50536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
50537 multiarch modf for PowerPC32.
50538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
50539 New file.
50540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
50541 New file.
50542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
50543 multiarch modff for PowerPC32.
50544
50545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
50546 and lrintf multiarch implementations.
50547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
50548 New file.
50549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
50550 New file.
50551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
50552 multiarch lrint for PowerPC32.
50553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
50554 file: multiarch lrintf for PowerPC32.
50555
50556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
50557 and lroundf multiarch implementations.
50558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
50559 New file.
50560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
50561 New file.
50562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
50563 New file.
50564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
50565 multiarch lround for PowerPC32.
50566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
50567 file: multiarch lroundf for PowerPC32.
50568
50569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50570 copysign and copysignf multiarch implementations.
50571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
50572 New file.
50573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
50574 New file.
50575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
50576 file: multiarch copysign for PowerPC32.
50577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
50578 file: multiarch copysignf for PowerPC32.
50579
50580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
50581 and truncf multiarch implementations.
50582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
50583 New file.
50584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
50585 file.
50586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
50587 multiarch trunc for PowerPC32.
50588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
50589 New file.
50590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
50591 New file.
50592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
50593 multiarch truncf for PowerPC32.
50594
50595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
50596 and roundf multiarch implementations.
50597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
50598 New file.
50599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
50600 file.
50601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
50602 multiarch round for PowerPC32.
50603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
50604 New file.
50605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
50606 New file.
50607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
50608 multiarch roundf for PowerPC32.
50609
50610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
50611 and floorf multiarch implementations.
50612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
50613 New file.
50614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
50615 file.
50616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
50617 multiarch floor for PowerPC32.
50618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
50619 New file.
50620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
50621 New file.
50622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
50623 multiarch floorf for PowerPC32.
50624
50625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
50626 and ceilf multiarch implementations.
50627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
50628 New file.
50629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
50630 file.
50631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
50632 multiarch ceil for PowerPC32.
50633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
50634 New file.
50635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
50636 file.
50637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
50638 multiarch ceilf for PowerPC32.
50639
50640 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
50641 is defined.
50642 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
50643 FINITEF is defined.
50644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
50645 and finitef multiarch implementations.
50646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
50647 New file.
50648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
50649 file.
50650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
50651 multiarch finite for PowerPC32.
50652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
50653 New file.
50654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
50655 file: multiarch finitef for PowerPC32.
50656
50657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
50658 and isinff multiarch implementations.
50659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
50660 file.
50661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
50662 file.
50663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
50664 multiarch isinf for PowerPC32.
50665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
50666 New file.
50667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
50668 multiarch isinff for PowerPC32.
50669
50670 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
50671 alias when __isnan is defined.
50672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
50673 and isnanf multiarch implementations.
50674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
50675 file.
50676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
50677 file.
50678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
50679 file.
50680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
50681 file.
50682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
50683 multiarch isnan for PowerPC32.
50684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
50685 New file.
50686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
50687 New file.
50688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
50689 multiarch isnanf for PowerPC32.
50690
50691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
50692 and sqrtf multiarch implementations.
50693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
50694 file.
50695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
50696 file.
50697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
50698 multiarch sqrt for PowerPC32.
50699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
50700 file.
50701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
50702 file.
50703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
50704 multiarch sqrtf for PowerPC32.
50705
50706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
50707 and llroundf multiarch implementations.
50708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
50709 New file.
50710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
50711 New file.
50712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
50713 New file.
50714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
50715 file: multiarch llround for PowerPC32.
50716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
50717 file: multiarch llroundf for PowerPC32.
50718
50719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
50720 multiarch PowerPC32 fpu implementations.
50721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
50722 New file.
50723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
50724 New file.
50725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
50726 multiarch llrint for PowerPC32.
50727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
50728 New file.
50729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
50730 New file.
50731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
50732 file.
50733
50734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
50735
50736 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
50737 file.
50738 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
50739 file.
50740 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
50741 file.
50742 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
50743 multiarch wordcopy for PPC32.
50744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
50745 wordcopy objects.
50746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50747 (__libc_ifunc_impl_list): Likewise.
50748 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
50749 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
50750 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
50751 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
50752 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
50753 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
50754
50755 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
50756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
50757 file.
50758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
50759 file.
50760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
50761 file.
50762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
50763 multiarch wcscpy for PPC32.
50764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
50765 multiarch objects.
50766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50767 (__libc_ifunc_impl_list): Likewise.
50768 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
50769 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
50770 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
50771 sysdeps/powerpc/power6/wcscpy.c.
50772
50773 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
50774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
50775 file.
50776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
50777 file.
50778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
50779 file.
50780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
50781 multiarch wcsrchr for PPC32.
50782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
50783 multiarch objects.
50784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50785 (__libc_ifunc_impl_list): Likewise.
50786 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
50787 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
50788 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
50789 sysdeps/powerpc/power6/wcsrchr.c.
50790
50791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
50792 file.
50793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
50794 file.
50795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
50796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
50797 multiarch wcschr for PPc32.
50798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
50799 multiarch objects.
50800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50801 (__libc_ifunc_impl_list): Likewise.
50802 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
50803 * sysdeps/powerpc/power6/wcschr.c: ... to here.
50804 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
50805 sysdeps/powerpc/power6/wcschr.c.
50806
50807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
50808 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
50809 file.
50810 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
50811 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
50812 file: multiarch strchr for PPC32.
50813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
50814 multiarch objects.
50815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50816 (__libc_ifunc_impl_list): Likewise.
50817
50818 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
50819 name.
50820 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
50821 file.
50822 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
50823 file.
50824 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
50825 multiarch strchrnul for PPC32.
50826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
50827 multiarch objects.
50828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50829 (__libc_ifunc_impl_list): Likewise.
50830
50831 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
50832 file.
50833 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
50834 multiarch strncasecmp for PPC32.
50835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
50836 file.
50837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
50838 multiarch strncasecmp_l for PPC32.
50839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
50840 strncasecmp multiarch objects.
50841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50842 (__libc_ifunc_impl_list): Likewise.
50843
50844 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
50845 file.
50846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
50847 multiarch strncasecmp for PPC32.
50848 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
50849 New file.
50850 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
50851 multiarch strcasecmp_l for PPC32.
50852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
50853 multiarch objects.
50854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50855 (__libc_ifunc_impl_list): Likewise.
50856
50857 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
50858 file.
50859 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
50860 file.
50861 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
50862 multiarch strncmp for PPC32.
50863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
50864 multiarch objects.
50865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50866 (__libc_ifunc_impl_list): Likewise.
50867
50868 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
50869 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
50870 file.
50871 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
50872 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
50873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
50874 multiarch objects.
50875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50876 (__libc_ifunc_impl_list): Likewise.
50877
50878 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
50879 file.
50880 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
50881 file.
50882 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
50883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
50884 multiarch objects.
50885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50886 (__libc_ifunc_impl_list): Likewise.
50887
50888 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
50889 file.
50890 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
50891 file.
50892 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
50893 multiarch rawmemchr for PPC32.
50894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
50895 multiarch objects.
50896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50897 (__libc_ifunc_impl_list): Likewise.
50898
50899 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
50900 file.
50901 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
50902 file.
50903 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
50904 file: memrchr multiarch for PPC32.
50905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
50906 multiarch objects.
50907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50908 (__libc_ifunc_impl_list): Likewise.
50909
50910 * string/memchr.c (__memchr): Using macro to redefine symbol name.
50911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
50912 file.
50913 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
50914 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
50915 multiarch memchr for PPC32.
50916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
50917 multiarch objects.
50918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50919 (__libc_ifunc_impl_list): Likewise.
50920
50921 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
50922 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
50923 file.
50924 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
50925 file.
50926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
50927 file: multiarch mempcpy for PPC32.
50928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50929 multiarch objects.
50930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50931 (__libc_ifunc_impl_list): Likewise.
50932
50933 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
50934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
50935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
50936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
50937 multiarch bzero for PPC32.
50938 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
50939 file.
50940 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
50941 file.
50942 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
50943 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
50944 file: multiarch memset for PPC32.
50945 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
50946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
50947 memset multiarch objects.
50948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50949 (__libc_ifunc_impl_list): Likewise.
50950
50951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
50952 file.
50953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
50954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
50955 memcmp for PPC32.
50956 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
50957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
50958 multiarch objects.
50959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50960 (__libc_ifunc_impl_list): Likewise.
50961
50962 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
50963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
50964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
50965 file.
50966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
50967 file.
50968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
50969 file.
50970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
50971 multiarch memcpy for PPC32.
50972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
50973 multiarch objects.
50974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50975 (__libc_ifunc_impl_list): Likewise.
50976
50977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
50978 support multiarch for POWER/PPC32.
50979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
50980 Likewise.
50981 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
50982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
50983 Implies file to make multiarch folder appers before the fpu and
50984 default folder for power4 configuration.
50985
50986 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50987
50988 * scripts/bench.pl: Append volatile keyword to type.
50989
50990 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50991
50992 * sysdeps/sh/sotruss-lib.c: New file.
50993 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
50994
50995 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50996
50997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50998
50999 2013-12-05 Joseph Myers <joseph@codesourcery.com>
51000
51001 [BZ #6810]
51002 * math/w_tgamma.c: Include <errno.h>.
51003 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
51004 * math/w_tgammaf.c: Include <errno.h>.
51005 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
51006 * math/w_tgammal.c: Include <errno.h>.
51007 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
51008 * math/auto-libm-test-in: Do not allow missing errno on tgamma
51009 underflow. Add more tgamma tests.
51010 * math/auto-libm-test-out: Regenerated.
51011 * sysdeps/i386/fpu/libm-test-ulps: Update.
51012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51013
51014 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51015 sin, sinh, tan, tanh, tgamma, y0 and y1.
51016 * math/auto-libm-test-out: Regenerated.
51017 * math/libm-test.inc (TEST_COND_x86_64): New macro.
51018 (TEST_COND_x86): Likewise.
51019 (M_E2l): Remove macro.
51020 (M_E3l): Likewise.
51021 (M_2_SQRT_PIl): Likewise.
51022 (M_SQRT_PIl): Likewise.
51023 (M_1_DIV_El): Likewise.
51024 (log_test_data): Use AUTO_TESTS_f_f.
51025 (log10_test_data): Likewise.
51026 (log1p_test_data): Likewise.
51027 (log2_test_data): Likewise.
51028 (sin_test_data): Likewise.
51029 (sin_tonearest_test_data): Likewise.
51030 (sin_towardzero_test_data): Likewise.
51031 (sin_downward_test_data): Likewise.
51032 (sin_upward_test_data): Likewise.
51033 (sinh_test_data): Likewise.
51034 (sinh_tonearest_test_data): Likewise.
51035 (sinh_towardzero_test_data): Likewise.
51036 (sinh_downward_test_data): Likewise.
51037 (sinh_upward_test_data): Likewise.
51038 (tan_test_data): Likewise.
51039 (tan_tonearest_test_data): Likewise.
51040 (tan_towardzero_test_data): Likewise.
51041 (tan_downward_test_data): Likewise.
51042 (tan_upward_test_data): Likewise.
51043 (tanh_test_data): Likewise.
51044 (tgamma_test_data): Likewise.
51045 (y0_test_data): Likewise.
51046 (y1_test_data): Likewise.
51047 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51048 (special_real_inputs): Add pi/4.
51049 * sysdeps/i386/fpu/libm-test-ulps: Update.
51050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51051
51052 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51053
51054 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51055 "longjmp_target" static probes.
51056 (__longjmp): Rename to __longjmp_symbol.
51057 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51058 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51059 on which longjmp to generate.
51060 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51061 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51062 probe.
51063 (__sigsetjmp): Rename to __sigsetjmp_symbol.
51064 (__sigjmp_save): Rename to __sigjmp_save_symbol.
51065 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51066 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51067 and __sigjmp_save_symbol based on which sigsetjmp to generated.
51068 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51070 __longjmp_symbol based on which __longjmp to generate.
51071 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51072 probe.
51073 (setjmp): Rename to setjmp_symbol.
51074 (__sigsetjmp): Rename to __sigsetjmp_symbol.
51075 (_setjmp): Rename to _setjmp_symbol.
51076 (__sigsetjmp): Rename to __sigsetjmp_symbol.
51077 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51078 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51079 which setjmp to generate.
51080 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51081 "longjmp_target" static probes.
51082
51083 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51084
51085 * benchtests/README: Add note about output arguments.
51086 * benchtests/bench-sincos.c: Remove file.
51087 * benchtests/sincos-inputs: New file.
51088 * scripts/bench.pl: Identify output arguments and define
51089 static variables for them.
51090
51091 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51092
51093 [BZ #15941]
51094 * Makefile (INSTALL): Add install-plain.texi as the primary
51095 dependency.
51096 * manual/install-plain.texi: New file.
51097 * manual/install.texi: Include node directive only for
51098 non-plaintext output.
51099
51100 2013-12-04 Joseph Myers <joseph@codesourcery.com>
51101
51102 * stdlib/longlong.h: Update from GCC.
51103
51104 [BZ #6807]
51105 [BZ #15901]
51106 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51107 * math/w_j0f.c (y0f): Likewise.
51108 * math/w_j0l.c (__y0l): Likewise.
51109 * math/w_j1.c (y1): Likewise.
51110 * math/w_j1f.c (y1f): Likewise.
51111 * math/w_j1l.c (__y1l): Likewise.
51112 * math/w_jn.c (yn): Likewise.
51113 * math/w_jnf.c (ynf): Likewise.
51114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51115 Bessel function pole errors in _POSIX_ mode. Use NAN as return
51116 value for Bessel function domain errors outside _SVID_ mode.
51117 Adjust sign of return value for yn (negative integer, 0).
51118 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51119 by zero in return for negative x and set sign appropriately for
51120 negative n.
51121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51123 * math/libm-test.inc (y0_test_data): Add more tests and adjust
51124 expectations in error cases.
51125 (y1_test_data): Likewise.
51126 (yn_test_data): Likewise.
51127 * sysdeps/i386/fpu/libm-test-ulps: Update.
51128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51129
51130 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51131
51132 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51133 "64" to "64-v1". Add "64-v2".
51134 (abi-64-options): Rename to ...
51135 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
51136 (abi-64-condition): Rename to ...
51137 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
51138 (abi-64-ld-soname): Rename to ...
51139 (abi-64-v1-ld-soname): ... this.
51140 (abi-64-v2-options): Define.
51141 (abi-64-v2-condition): Likewise.
51142 (abi-64-v2-ld-soname): Likewise.
51143 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51144 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51148
51149 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51150 Alan Modra <amodra@gmail.com>
51151
51152 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51153 New versions for use with the ELFv2 ABI.
51154 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51155 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51156 declaration.
51157 (struct La_ppc64v2_retval): Likewise.
51158 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51159 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51160 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51161 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51162 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51163 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51164 Do not save or restore CR.
51165 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51166 (_dl_profile_resolve): Do no save or restore CR. Support extended
51167 return values for ELFv2 ABI. Fix location of FPR return registers.
51168 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51169 updated values for _CALL_ELF == 2.
51170 (La_regs, La_retval, int_retval): Likewise.
51171
51172 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51173
51174 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51175 (FRAME_MIN_SIZE_PARM): Likewise.
51176 (FRAME_BACKCHAIN): Likewise.
51177 (FRAME_CR_SAVE): Likewise.
51178 (FRAME_LR_SAVE): Likewise.
51179 (FRAME_TOC_SAVE): Likewise.
51180 (FRAME_PARM_SAVE): Likewise.
51181 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51182 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51183 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51184 (call_mcount_parm_offset): New macro.
51185 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51186 (PROF): Use symbolic stack frame offsets.
51187 (TAIL_CALL_SYSCALL_ERROR): Likewise.
51188 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51189 Redefine in terms of FRAME_MIN_SIZE.
51190 (_dl_runtime_resolve): Use symbolic stack frame offsets.
51191 (_dl_profile_resolve): Likewise. Update comment.
51192 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51193 symbols stack frame offsets.
51194 (__sigsetjmp): Likewise.
51195 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51196 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51197 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51198 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51199
51200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51201 (FRAME_BACKCHAIN): Remove.
51202 (FRAME_CR_SAVE): Likewise.
51203 (FRAME_LR_SAVE): Likewise.
51204 (FRAME_COMPILER_DW): Likewise.
51205 (FRAME_LINKER_DW): Likewise.
51206 (FRAME_TOC_SAVE): Likewise.
51207 (FRAME_PARM_SAVE): Likewise.
51208 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51209 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51210 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51212 (CHECK_SP): Use symbolic stack frame offsets.
51213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51214 zone" instead of caller's parameter save area for temp storage.
51215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51216 Likewise. Also, use symbolic stack frame offsets.
51217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51218 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51219 our own stack frame instead of the caller's.
51220 (__socket): Use symbolic stack frame offsets.
51221
51222 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51223 Alan Modra <amodra@gmail.com>
51224
51225 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51226 Define.
51227 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51228 (PPC64_LOCAL_ENTRY_OFFSET): Define.
51229 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51230 New function.
51231 (elf_machine_fixup_plt): Call it.
51232 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
51233 reloc arguments.
51234 (elf_machine_rela): Update call to elf_machine_plt_conflict.
51235 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51236 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51237 r2 before calling target.
51238
51239 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51240 Alan Modra <amodra@gmail.com>
51241
51242 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51243 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51244 versions of macros to support ELFv2 ABI.
51245 (LOCALENTRY): New macro.
51246 (ENTRY, EALIGN): Use it.
51247 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51248 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51249 fall through into ENTRY entry point.
51250 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51251 Only define if _CALL_ELF != 2.
51252
51253 (elf_machine_matches_host): Verify ABI version matches.
51254 (RTLD_START): Use LOCALENTRY.
51255 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51256 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51257 (PLT_ENTRY_WORDS): New macro.
51258 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51259 (elf_machine_runtime_setup): Support ELFv2 ABI.
51260 (elf_machine_fixup_plt): Likewise.
51261 (elf_machine_plt_conflict): Likewise.
51262 (resolve_ifunc): Likewise.
51263 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51264 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51265 Likewise.
51266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51267 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51269 (makecontext): Support ELFv2 ABI.
51270 * elf/elf.h (EF_PPC64_ABI): Define.
51271
51272 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51273
51274 * sysdeps/powerpc/powerpc64/sysdep.h
51275 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51276 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51277 (ENTRY) [ASSEMBLER]: ... but instead here ...
51278 (EALIGN) [ASSEMBLER]: ... and here.
51279 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51280 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51281 (ENTRY_2) [!ASSEMBLER]: Use it.
51282 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51283 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
51284 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51285 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51286 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51288 Use PPC64_LOAD_FUNCPTR.
51289
51290 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51291
51292 2013-12-04 Alan Modra <amodra@gmail.com>
51293
51294 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51295 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51296 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51297 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51298
51299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51300 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51301 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51302 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51303 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51304 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51305
51306 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
51307
51308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51309 (__makecontext): Fix incorrect CFI when backtracing out of
51310 context created via makecontext.
51311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51312 (__setcontext): Fix incorrect CFI during switch to new context.
51313 (__novec_setcontext): Likewise.
51314
51315 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
51316
51317 [BZ #4772]
51318 * time/strptime_l.c (__strptime_internal): Allow modifiers
51319 in strptime.
51320 * time/tst-strptime.c (day_tests): Add testcase.
51321
51322 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51323
51324 * scripts/bench.pl: Skip over blank lines.
51325
51326 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
51327
51328 [BZ #926]
51329 * manual/time.texi (Calendar Time): Clarify what timezone functions
51330 use.
51331
51332 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51333
51334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51335
51336 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
51337
51338 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51339 implementation.
51340 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51341 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51342 * debug/memset_chk.c (__memset_chk): Likewise.
51343 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51344 * debug/strncpy_chk.c: Likewise.
51345
51346 2013-12-03 Joseph Myers <joseph@codesourcery.com>
51347
51348 [BZ #15268]
51349 [BZ #15425]
51350 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51351 (__ieee754_exp): For possibly underflowing results, check size of
51352 result and force underflow exception if required.
51353 * math/auto-libm-test-in: Add more tests of exp.
51354 * math/auto-libm-test-out: Regenerated.
51355 * sysdeps/i386/fpu/libm-test-ulps: Update.
51356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51357
51358 [BZ #16283]
51359 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51360 * math/w_exp2f.c (__exp2f): Likewise.
51361 * math/w_exp2l.c (__exp2l): Likewise.
51362 * math/auto-libm-test-in: Do not allow missing errno on exp2
51363 underflow.
51364 * math/auto-libm-test-out: Regenerated.
51365
51366 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
51367
51368 [BZ #16274]
51369 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51370 handle filename validation.
51371 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51372 (do_open): Delete.
51373
51374 2013-12-03 Joseph Myers <joseph@codesourcery.com>
51375
51376 [BZ #6786]
51377 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
51378 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
51379 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
51380 <float.h>.
51381 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
51382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
51383 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
51385 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
51387 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51388 * math/auto-libm-test-in: Don't allow missing errno from erfc.
51389 Add more erfc tests.
51390 * math/auto-libm-test-out: Regenerated.
51391 * sysdeps/i386/fpu/libm-test-ulps: Update.
51392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51393
51394 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
51395 exp2, expm1, j0 and j1.
51396 * math/auto-libm-test-out: Regenerated.
51397 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
51398 (erfc_test_data): Likewise.
51399 (exp_test_data): Likewise.
51400 (exp_tonearest_test_data): Likewise.
51401 (exp_towardzero_test_data): Likewise.
51402 (exp_downward_test_data): Likewise.
51403 (exp_upward_test_data): Likewise.
51404 (exp10_test_data): Likewise.
51405 (exp2_test_data): Likewise.
51406 (expm1_test_data): Likewise.
51407 (j0_test_data): Likewise.
51408 (j1_test_data): Likewise.
51409 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
51410 (input_flag_type): Add flag_xfail_rounding.
51411 (input_flags): Add xfail-rounding.
51412 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
51413 (output_for_one_input_case): Handle flag_xfail_rounding.
51414 * sysdeps/i386/fpu/libm-test-ulps: Update.
51415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51416
51417 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
51418
51419 [BZ #16289]
51420 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
51421 division by 0.
51422
51423 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
51424
51425 [BZ #16195]
51426 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
51427 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
51428 (STAP_PROBE0): New macro.
51429 (STAP_PROBE1): Likewise.
51430 (STAP_PROBE2): Likewise.
51431 (STAP_PROBE3): Likewise.
51432 (STAP_PROBE4): Likewise.
51433
51434 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
51435
51436 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
51437
51438 2013-12-02 Steve Ellcey <sellcey@mips.com>
51439
51440 * benchtests/Makefile (bench): Add sqrt.
51441 (LDLIBS-bench-sqrt): New.
51442 * benchtests/sqrt-input: New.
51443
51444 2013-12-02 Pavel Simerda <psimerda@redhat.com>
51445
51446 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
51447 (GAIH_EAI): Likewise.
51448 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
51449 (gaih_inet): Likewise.
51450 (getaddrinfo): Don't use GAIH_EAI.
51451
51452 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
51453 (struct gaih): Remove definition.
51454
51455 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51456
51457 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
51458 Use HERRNOP directly.
51459
51460 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51461
51462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51463
51464 2013-11-30 Joseph Myers <joseph@codesourcery.com>
51465
51466 * math/gen-auto-libm-tests.c (test_functions): Add more
51467 single-argument functions.
51468 (special_fill_pi_2): New function.
51469 (special_fill_minus_pi_2): Likewise.
51470 (special_fill_pi_6): Likewise.
51471 (special_fill_minus_pi_6): Likewise.
51472 (special_fill_pi_3): Likewise.
51473 (special_fill_2pi_3): Likewise.
51474 (special_fill_e): Likewise.
51475 (special_fill_1_e): Likewise.
51476 (special_fill_e_minus_1): Likewise.
51477 (special_real_inputs): Add more special inputs.
51478 (output_for_one_input_case): Do not require ERANGE on underflow to
51479 zero if round-to-nearest result does not underflow to zero, unless
51480 exact results required.
51481 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
51482 atan, atanh, cbrt, cos and cosh.
51483 * math/auto-libm-test-out: Regenerated.
51484 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
51485 (acos_tonearest_test_data): Likewise.
51486 (acos_towardzero_test_data): Likewise.
51487 (acos_downward_test_data): Likewise.
51488 (acos_upward_test_data): Likewise.
51489 (acosh_test_data): Likewise.
51490 (asin_test_data): Likewise.
51491 (asin_tonearest_test_data): Likewise.
51492 (asin_towardzero_test_data): Likewise.
51493 (asin_upward_test_data): Likewise.
51494 (asinh_test_data): Likewise.
51495 (atan_test_data): Likewise.
51496 (atanh_test_data): Likewise.
51497 (cbrt_test_data): Likewise.
51498 (cos_test_data): Likewise.
51499 (cos_tonearest_test_data): Likewise.
51500 (cos_towardzero_test_data): Likewise.
51501 (cos_downward_test_data): Likewise.
51502 (cos_upward_test_data): Likewise.
51503 (cosh_test_data): Likewise.
51504 (cosh_tonearest_test_data): Likewise.
51505 (cosh_towardzero_test_data): Likewise.
51506 (cosh_downward_test_data): Likewise.
51507 (cosh_upward_test_data): Likewise.
51508 * sysdeps/i386/fpu/libm-test-ulps: Update.
51509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51510
51511 2013-11-29 Joseph Myers <joseph@codesourcery.com>
51512
51513 [BZ #6787]
51514 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
51515 * math/w_exp10f.c (__exp10f): Likewise.
51516 * math/w_exp10l.c (__exp10l): Likewise.
51517 * math/libm-test.inc (exp10_test_data): Add more tests and expect
51518 errno settings in existing tests.
51519
51520 [BZ #14032]
51521 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
51522 precision control set to double precision.
51523 * sysdeps/i386/fpu/w_sqrt.c: New file.
51524 * math/auto-libm-test-in: Add more tests.
51525 * math/auto-libm-test-out: Update.
51526
51527 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
51528 (sqrt_test_tonearest): New function.
51529 (sqrt_towardzero_test_data): New variable.
51530 (sqrt_test_towardzero): New function.
51531 (sqrt_downward_test_data): New variable.
51532 (sqrt_test_downward): New function.
51533 (sqrt_upward_test_data): New variable.
51534 (sqrt_test_upward): New function.
51535 (main): Call the new functions.
51536
51537 * math/gen-auto-libm-tests.c: New file.
51538 * math/auto-libm-test-in: Likewise.
51539 * math/auto-libm-test-out: New generated file.
51540 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
51541 variables.
51542 (%beautify): Add generated representations of zero.
51543 (top level): Set $auto_input and call parse_auto_input.
51544 (beautify): Remove trailing "f" from hex float constants.
51545 (parse_args): Handle XFAIL_TEST.
51546 (convert_condition): New function.
51547 (or_value): Likewise.
51548 (or_cond_value): Likewise.
51549 (generate_testfile): Handle AUTO_TESTS_* lines.
51550 (parse_auto_input): New function.
51551 * math/libm-test.inc (XFAIL_TEST): New macro.
51552 (ERRNO_UNCHANGED): Update value.
51553 (ERRNO_EDOM): Likewise.
51554 (ERRNO_ERANGE): Likewise.
51555 (IGNORE_RESULT): Likewise.
51556 (TEST_COND_flt_32): New macro.
51557 (TEST_COND_dbl_64): Likewise.
51558 (TEST_COND_ldbl_96_intel): Likewise.
51559 (TEST_COND_ldbl_96_m68k): Likewise.
51560 (TEST_COND_ldbl_128): Likewise.
51561 (TEST_COND_ldbl_128ibm): Likewise.
51562 (TEST_COND_long32): Likewise.
51563 (TEST_COND_long64): Likewise.
51564 (TEST_COND_before_rounding): Likewise.
51565 (TEST_COND_after_rounding): Likewise.
51566 (enable_test): Handle XFAIL_TEST flag.
51567 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
51568 with finite results.
51569 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
51570 auto-libm-test-out.
51571
51572 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
51573 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51574
51575 [BZ #16214]
51576 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
51577 __tls_get_addr_internal instead of __tls_get_offset in order to
51578 avoid GOT pointer dependency. Make rtld export
51579 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
51580 __tls_get_addr since we are a __tls_get_offset platform.
51581 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
51582 GOT pointer being set up before.
51583 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
51584
51585 2013-11-28 Joseph Myers <joseph@codesourcery.com>
51586
51587 * manual/math.texi (Errors in Math Functions): Document accuracy
51588 goals.
51589
51590 [BZ #15004]
51591 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
51592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
51593 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51594 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51599 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51600 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51601 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51602 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51603 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51604 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51606 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51607
51608 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
51609 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
51610 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
51611 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
51612 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
51613 Likewise.
51614 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
51615 Likewise.
51616 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
51617 Likewise.
51618 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
51619 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
51620 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
51621 atomic-feupdateenv and flt-rounds.
51622 * sysdeps/powerpc/nofpu/Versions (libc): Add
51623 __atomic_feholdexcept, __atomic_feclearexcept,
51624 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
51625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
51626 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
51627 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
51628 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
51629 here.
51630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
51631 Update.
51632
51633 * manual/arith.texi (FP Exceptions): Document that exceptions may
51634 not be raised when matherr is used.
51635 (Math Error Reporting): Document overflow in directed rounding
51636 modes. Document that errno may not be set when finite values are
51637 returned on overflow. Document intent to set errno on underflow
51638 only for underflow to zero.
51639
51640 [BZ #16271]
51641 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
51642 round-to-nearest then adjust result for other rounding modes.
51643 * include/fenv.h (fegetround): Use libm_hidden_proto.
51644 * math/fegetround.c (fegetround): Use libm_hidden_def.
51645 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
51646 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
51647 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51648 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
51649 Likewise.
51650 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
51651 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51652 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
51653 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
51654
51655 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51656
51657 [BZ #16077]
51658 * nss/Versions (libnss_files): Add
51659 _nss_files_gethostbyname3_r.
51660 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
51661 New function.
51662 (HOST_DB_LOOKUP): Remove macro.
51663 (_nss_files_gethostbyname_r): Implement function without the
51664 HOST_DB_LOOKUP macro.
51665 (_nss_files_gethostbyname2_r): Likewise.
51666
51667 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
51668
51669 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
51670
51671 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
51672
51673 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
51674 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
51675 warning.
51676
51677 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51678
51679 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
51680 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
51681 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51682 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
51683 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
51684 __fe_nomask_env_priv and attribute_hidden.
51685 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
51686 (libc_feupdateenv_test_ppc): Likewise.
51687 (libc_feresetround_ppc): Likewise.
51688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51689 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
51690 compat_symbol macro.
51691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51692 (__fe_nomask_env): Likewise.
51693 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
51694
51695 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
51696
51697 * string/Makefile: Remove ifunc tests.
51698 * string/test-string.h: Define TEST_IFUNC.
51699 * string/test-bcopy-ifunc.c: Remove.
51700 * string/test-bzero-ifunc.c: Likewise.
51701 * string/test-memccpy-ifunc.c: Likewise.
51702 * string/test-memchr-ifunc.c: Likewise.
51703 * string/test-memcmp-ifunc.c: Likewise.
51704 * string/test-memcpy-ifunc.c: Likewise.
51705 * string/test-memmem-ifunc.c: Likewise.
51706 * string/test-memmove-ifunc.c: Likewise.
51707 * string/test-mempcpy-ifunc.c: Likewise.
51708 * string/test-memrchr-ifunc.c: Likewise.
51709 * string/test-memset-ifunc.c: Likewise.
51710 * string/test-rawmemchr-ifunc.c: Likewise.
51711 * string/test-stpcpy-ifunc.c: Likewise.
51712 * string/test-stpncpy-ifunc.c: Likewise.
51713 * string/test-strcasecmp-ifunc.c: Likewise.
51714 * string/test-strcasestr-ifunc.c: Likewise.
51715 * string/test-strcat-ifunc.c: Likewise.
51716 * string/test-strchr-ifunc.c: Likewise.
51717 * string/test-strchrnul-ifunc.c: Likewise.
51718 * string/test-strcmp-ifunc.c: Likewise.
51719 * string/test-strcpy-ifunc.c: Likewise.
51720 * string/test-strcspn-ifunc.c: Likewise.
51721 * string/test-strlen-ifunc.c: Likewise.
51722 * string/test-strncasecmp-ifunc.c: Likewise.
51723 * string/test-strncat-ifunc.c: Likewise.
51724 * string/test-strncmp-ifunc.c: Likewise.
51725 * string/test-strncpy-ifunc.c: Likewise.
51726 * string/test-strnlen-ifunc.c: Likewise.
51727 * string/test-strpbrk-ifunc.c: Likewise.
51728 * string/test-strrchr-ifunc.c: Likewise.
51729 * string/test-strspn-ifunc.c: Likewise.
51730 * string/test-strstr-ifunc.c: Likewise.
51731
51732 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
51733
51734 * benchtests/Makefile: Remove ifunc tests.
51735 * benchtests/bench-string.h: Define TEST_IFUNC.
51736 * benchtests/bench-bcopy-ifunc.c: Remove.
51737 * benchtests/bench-bzero-ifunc.c: Likewise.
51738 * benchtests/bench-memccpy-ifunc.c: Likewise.
51739 * benchtests/bench-memchr-ifunc.c: Likewise.
51740 * benchtests/bench-memcmp-ifunc.c: Likewise.
51741 * benchtests/bench-memcpy-ifunc.c: Likewise.
51742 * benchtests/bench-memmem-ifunc.c: Likewise.
51743 * benchtests/bench-memmove-ifunc.c: Likewise.
51744 * benchtests/bench-mempcpy-ifunc.c: Likewise.
51745 * benchtests/bench-memrchr-ifunc.c: Likewise.
51746 * benchtests/bench-memset-ifunc.c: Likewise.
51747 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
51748 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
51749 * benchtests/bench-stpcpy-ifunc.c: Likewise.
51750 * benchtests/bench-stpncpy-ifunc.c: Likewise.
51751 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
51752 * benchtests/bench-strcasestr-ifunc.c: Likewise.
51753 * benchtests/bench-strcat-ifunc.c: Likewise.
51754 * benchtests/bench-strchr-ifunc.c: Likewise.
51755 * benchtests/bench-strchrnul-ifunc.c: Likewise.
51756 * benchtests/bench-strcmp-ifunc.c: Likewise.
51757 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
51758 * benchtests/bench-strcpy-ifunc.c: Likewise.
51759 * benchtests/bench-strcspn-ifunc.c: Likewise.
51760 * benchtests/bench-strlen-ifunc.c: Likewise.
51761 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
51762 * benchtests/bench-strncat-ifunc.c: Likewise.
51763 * benchtests/bench-strncmp-ifunc.c: Likewise.
51764 * benchtests/bench-strncpy-ifunc.c: Likewise.
51765 * benchtests/bench-strnlen-ifunc.c: Likewise.
51766 * benchtests/bench-strpbrk-ifunc.c: Likewise.
51767 * benchtests/bench-strrchr-ifunc.c: Likewise.
51768 * benchtests/bench-strsep-ifunc.c: Likewise.
51769 * benchtests/bench-strspn-ifunc.c: Likewise.
51770 * benchtests/bench-strstr-ifunc.c: Likewise.
51771
51772 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
51773
51774 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
51775
51776 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
51777
51778 * resolv/netdb.h: Use __glibc_reserved instead __unused.
51779 * rt/aio.h: Likewise.
51780 * sysdeps/gnu/bits/utmp.h: Likewise.
51781 * sysdeps/gnu/bits/utmpx.h: Likewise.
51782 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51783 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
51784 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
51785 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
51786 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
51787 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
51788 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
51789 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
51790 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
51791 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
51792 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
51793 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
51794 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
51795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
51796 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51797 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
51798 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
51799 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
51800 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
51801 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
51802 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
51803 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
51804 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
51805 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51806 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
51807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51808 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
51809 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
51810 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
51811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
51812 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
51813 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
51814 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
51815 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
51816 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
51817 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
51818 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
51819 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
51820 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
51821 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
51822 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
51823 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51824
51825 2013-11-25 Carlos O'Donell <carlos@redhat.com>
51826
51827 [BZ #16245]
51828 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
51829 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
51830
51831 2013-11-25 Joseph Myers <joseph@codesourcery.com>
51832
51833 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
51834 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
51835 Likewise.
51836
51837 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51838
51839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
51840 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
51841 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
51842 (__fesetround): Remove define.
51843 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
51844 rounding and exceptions handling.
51845 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
51846 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
51847 (__fe_nomask_env): Likewise.
51848 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
51849 __fegetround instead of fegetround.
51850 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51851 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
51852
51853 2013-11-21 Roland McGrath <roland@hack.frob.com>
51854
51855 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
51856 it's there.
51857
51858 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
51859
51860 2013-11-21 Meador Inge <meadori@codesourcery.com>
51861
51862 [BZ #11157]
51863 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
51864 (encrypt_r): Likewise.
51865 * malloc/obstack.h (obstack_free): Likewise.
51866 * posix/unistd.h (encrypt): Likewise.
51867
51868 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
51869
51870 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
51871 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
51872 DL_CALL_DT_FINI() that call the functions directly.
51873 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
51874 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
51875 * elf/dl-fini.c: Likewise.
51876
51877 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
51878
51879 * malloc/hooks.c (memalign_check): Add alignment rounding.
51880 * malloc/malloc.c (_mid_memalign): New function.
51881 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
51882 Implement by calling _mid_memalign.
51883 * manual/probes.texi (Memory Allocation Probes): Remove
51884 memory_valloc_retry and memory_pvalloc_retry.
51885
51886 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51887
51888 * locale/programs/locarchive.c (open_archive): Add const
51889 qualifier to ARCHIVEFNAME and copy default fname to
51890 DEFAULT_FNAME.
51891
51892 [BZ #15601]
51893 * libio/tst-widetext.input: Rename Oriya to Odia.
51894 * locale/iso-639.def: Likewise.
51895
51896 * manual/probes.texi (Mathematical Function Probes): Add
51897 documentation for sin, cos, asin and acos probes.
51898 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
51899 (__sin32): Add slowasin probe.
51900 (__cos32): Add slowacos probe.
51901 (__mpsin): Add slowsin probe.
51902 (__mpcos): Add slowcos probe.
51903
51904 2013-11-19 Joseph Myers <joseph@codesourcery.com>
51905
51906 [BZ #15483]
51907 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
51908 thread-local __sim_exceptions_thread and global
51909 __sim_exceptions_global.
51910 (__sim_disabled_exceptions): Change to thread-local
51911 __sim_disabled_exceptions_thread and global
51912 __sim_disabled_exceptions_global.
51913 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51914 and global __sim_round_mode_global.
51915 (__simulate_exceptions): Use thread-local floating-point state and
51916 set global state from it as needed.
51917 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
51918 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
51919 __sim_round_mode_thread.
51920 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
51921 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
51922 and global __sim_exceptions_global.
51923 (__sim_disabled_exceptions): Change to thread-local
51924 __sim_disabled_exceptions_thread and global
51925 __sim_disabled_exceptions_global.
51926 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51927 and global __sim_round_mode_global.
51928 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
51929 (SIM_SET_GLOBAL): Likewise.
51930 * sysdeps/powerpc/soft-fp/sfp-machine.h
51931 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
51932 __sim_round_mode_thread.
51933 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
51934 __sim_disabled_exceptions_thread.
51935 (__sim_exceptions): Change to __sim_exceptions_thread.
51936 (__sim_disabled_exceptions): Change to
51937 __sim_disabled_exceptions_thread.
51938 (__sim_round_mode): Change to __sim_round_mode_thread.
51939 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
51940 thread-local floating-point state and set global state from it as
51941 needed.
51942 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
51943 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
51944 (__sim_disabled_exceptions): Remove extern declaration.
51945 (feenableexcept): Use thread-local floating-point state and set
51946 global state from it as needed.
51947 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
51948 extern declaration.
51949 (__sim_disabled_exceptions): Likewise.
51950 (__sim_round_mode): Likewise.
51951 (__fegetenv): Use thread-local floating-point state.
51952 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
51953 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51954 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
51955 floating-point state and set global state from it as needed.
51956 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
51957 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
51958 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
51959 Likewise.
51960 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
51961 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
51962 Likewise.
51963 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
51964 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
51965 Use __sim_round_mode_thread.
51966 * math/test-fenv-tls.c: New file.
51967 * math/Makefile (tests): Add test-fenv-tls.
51968 ($(objpfx)test-fenv-tls): Depend on
51969 $(common-objpfx)nptl/libpthread.so.
51970
51971 2013-11-19 Andreas Schwab <schwab@suse.de>
51972
51973 * locale/programs/locale.c (show_info): Decode wordarray elements.
51974 * locale/categories.def (LC_MONETARY): Add element for
51975 _NL_MONETARY_CRNCYSTR.
51976 * locale/C-monetary.c (conversion_rate): New variable.
51977 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
51978 element.
51979
51980 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
51981
51982 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
51983 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
51984
51985 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51986
51987 * elf/Makefile (tst-auxv): New test.
51988 * elf/tst-auxv.c: New
51989 * elf/rtld.c (dl_main): Adjust AT_EXECFN
51990
51991 2013-11-18 Joseph Myers <joseph@codesourcery.com>
51992
51993 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
51994 (hidden_proto): Caller changed.
51995 (hidden_tls_proto): New macro.
51996 (libc_hidden_tls_proto): Likewise.
51997 (rtld_hidden_tls_proto): Likewise.
51998 (libm_hidden_tls_proto): Likewise.
51999 (libresolv_hidden_tls_proto): Likewise.
52000 (librt_hidden_tls_proto): Likewise.
52001 (libdl_hidden_tls_proto): Likewise.
52002 (libnss_files_hidden_tls_proto): Likewise.
52003 (libnsl_hidden_tls_proto): Likewise.
52004 (libnss_nisplus_hidden_tls_proto): Likewise.
52005 (libutil_hidden_tls_proto): Likewise.
52006
52007 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
52008
52009 [BZ #10253]
52010 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52011 (decompose_rpath): Defer expansion to fillin_rpath.
52012 (_dl_init_paths): Pass linkmap to fillin_rpath.
52013
52014 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52015
52016 * benchtests/Makefile: Add strsep.
52017 * benchtests/bench-strsep.c: New file: strsep benchtest.
52018 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52019
52020 2013-11-18 Andreas Schwab <schwab@suse.de>
52021
52022 * locale/programs/locale.c (show_info) [case byte]: Check for
52023 '\377' instead of '\177'.
52024 * locale/C-monetary.c (not_available): Always use "\377".
52025 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52026 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
52027 detect unavailable sign_posn locale elements.
52028 * locale/localeconv.c (__localeconv): For grouping and
52029 mon_grouping handle "\177" and "\377" like no grouping.
52030 (INT_ELEM): New macro. Use it to set all numeric members.
52031 * locale/programs/ld-monetary.c (monetary_read)
52032 <tok_mon_grouping>: Normalize single -1 to the empty string.
52033 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52034 Likewise.
52035
52036 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
52037
52038 [BZ #16055]
52039 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52040 when we match (nil).
52041 * stdio-common/tst-sscanf.c (struct test): Add testcase.
52042
52043 2013-11-16 Joseph Myers <joseph@codesourcery.com>
52044
52045 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52046 (NO_TEST_INLINE): Update value.
52047 (ERRNO_UNCHANGED): Likewise.
52048 (ERRNO_EDOM): Likewise.
52049 (ERRNO_ERANGE): Likewise.
52050 (IGNORE_RESULT): Likewise.
52051 (check_float_internal): Check signs of NaN results if
52052 TEST_NAN_SIGN used.
52053 (check_complex): Pass TEST_NAN_SIGN flag through to second
52054 check_float_internal call.
52055 (copysign_test_data): Add tests with quiet NaNs as second
52056 argument. Use TEST_NAN_SIGN.
52057 (fabs_test_data): Add test of negative quiet NaN argument. Use
52058 TEST_NAN_SIGN.
52059 (signbit_test_data): Add tests of quiet NaN argument.
52060 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52061
52062 * math/gen-libm-test.pl (show_exceptions): Take extra argument
52063 $ignore_result.
52064 (parse_args): Handle function results specified as IGNORE.
52065 * math/libm-test.inc (IGNORE_RESULT): New macro.
52066 (check_float_internal): Do not check numerical result if flag
52067 IGNORE_RESULT set.
52068 (check_complex): Pass through IGNORE_RESULT to second
52069 check_float_internal call.
52070 (check_int): Do not check numerical result if flag IGNORE_RESULT
52071 set.
52072 (check_long): Likewise.
52073 (check_bool): Likewise.
52074 (check_longlong): Likewise.
52075 (lrint_test_data): Add tests of infinite and NaN arguments.
52076 (lrint_tonearest_test_data): Likewise.
52077 (lrint_towardzero_test_data): Likewise.
52078 (lrint_downward_test_data): Likewise.
52079 (lrint_upward_test_data): Likewise.
52080 (llrint_test_data): Likewise.
52081 (llrint_tonearest_test_data): Likewise.
52082 (llrint_towardzero_test_data): Likewise.
52083 (llrint_downward_test_data): Likewise.
52084 (llrint_upward_test_data): Likewise.
52085 (lround_test_data): Likewise.
52086 (llround_test_data): Likewise.
52087
52088 * math/libm-test.inc (NO_TEST_INLINE): New macro.
52089 (ERRNO_UNCHANGED): Update value.
52090 (ERRNO_EDOM): Likewise.
52091 (ERRNO_ERANGE): Likewise.
52092 (NO_TEST_INLINE_FLOAT): New macro.
52093 (NO_TEST_INLINE_DOUBLE): Likewise.
52094 (enable_test): New function.
52095 (RUN_TEST_f_f): Check enable_test before running test.
52096 (RUN_TEST_2_f): Likewise.
52097 (RUN_TEST_fff_f): Likewise.
52098 (RUN_TEST_c_f): Likewise.
52099 (RUN_TEST_f_f1): Likewise.
52100 (RUN_TEST_fF_f1): Likewise.
52101 (RUN_TEST_fI_f1): Likewise.
52102 (RUN_TEST_ffI_f1): Likewise.
52103 (RUN_TEST_c_c): Likewise.
52104 (RUN_TEST_cc_c): Likewise.
52105 (RUN_TEST_f_i): Likewise.
52106 (RUN_TEST_f_i_tg): Likewise.
52107 (RUN_TEST_ff_i_tg): Likewise.
52108 (RUN_TEST_f_b): Likewise.
52109 (RUN_TEST_f_b_tg): Likewise.
52110 (RUN_TEST_f_l): Likewise.
52111 (RUN_TEST_f_L): Likewise.
52112 (RUN_TEST_fFF_11): Likewise.
52113 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52114 conditionals.
52115 (cosh_test_data): Likewise.
52116 (exp_test_data): Likewise.
52117 (expm1_test_data): Likewise.
52118 (hypot_test_data): Likewise.
52119 (pow_test_data): Likewise.
52120 (sinh_test_data): Likewise.
52121 (tanh_test_data): Likewise.
52122 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52123 flags argument.
52124
52125 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52126 tests with quiet NaN input and output.
52127 (acosh_test_data): Likewise.
52128 (asin_test_data): Likewise.
52129 (asinh_test_data): Likewise.
52130 (atan_test_data): Likewise.
52131 (atanh_test_data): Likewise.
52132 (atan2_test_data): Likewise.
52133 (cbrt_test_data): Likewise.
52134 (cos_test_data): Likewise.
52135 (cosh_test_data): Likewise.
52136 (erf_test_data): Likewise.
52137 (erfc_test_data): Likewise.
52138 (exp_test_data): Likewise.
52139 (exp10_test_data): Likewise.
52140 (exp2_test_data): Likewise.
52141 (expm1_test_data): Likewise.
52142 (hypot_test_data): Likewise.
52143 (j0_test_data): Likewise.
52144 (j1_test_data): Likewise.
52145 (jn_test_data): Likewise.
52146 (lgamma_test_data): Likewise.
52147 (log_test_data): Likewise.
52148 (log10_test_data): Likewise.
52149 (log1p_test_data): Likewise.
52150 (log2_test_data): Likewise.
52151 (pow_test_data): Likewise.
52152 (scalb_test_data): Likewise.
52153 (sin_test_data): Likewise.
52154 (sincos_test_data): Likewise.
52155 (sinh_test_data): Likewise.
52156 (tan_test_data): Likewise.
52157 (tanh_test_data): Likewise.
52158 (tgamma_test_data): Likewise.
52159 (y0_test_data): Likewise.
52160 (y1_test_data): Likewise.
52161 (yn_test_data): Likewise.
52162
52163 [BZ #16167]
52164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52165 argument being NaN and avoid computations with second argument in
52166 that case.
52167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52168 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52169 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52170
52171 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
52172
52173 * locale/iso-639.def: Add Chitwani Tharu (the).
52174
52175 2013-11-14 Andreas Schwab <schwab@suse.de>
52176
52177 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52178 word instead of empty string.
52179
52180 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52181
52182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52183 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52185 (__fe_nomask_env): Likewise.
52186
52187 2013-11-13 Steve Ellcey <sellcey@mips.com>
52188
52189 * benchtests/bench-timing.h: Include time.h.
52190
52191 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
52192
52193 [BZ #15997]
52194 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52195 to 3.4.0 for x32.
52196 * sysdeps/unix/sysv/linux/configure: Regenerated.
52197
52198 2013-11-13 Joseph Myers <joseph@codesourcery.com>
52199
52200 [BZ #16151]
52201 * stdlib/strtod_l.c (round_and_return): Do not consider
52202 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52203 exponent one less than half the least subnormal exponent.
52204 * stdlib/test-strtod-round-data: Add more tests.
52205 * stdlib/tst-strtod-round.c (tests): Regenerated.
52206
52207 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52208
52209 [BZ #14143]
52210 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52211 (__fe_mask_env): Likewise.
52212 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52213 libm_hidden_proto and add function prototype.
52214 (__fe_mask_env): Add function prototype.
52215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52216 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52218 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52220 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52221
52222 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52223
52224 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52225 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52226
52227 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52228
52229 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52230 of htab_find_slot().
52231
52232 2013-11-11 David S. Miller <davem@davemloft.net>
52233
52234 [BZ #16150]
52235 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52236 symbol in the non-vis3 case in static builds.
52237 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52238 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52239 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52240 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52241
52242 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
52243
52244 [BZ #387]
52245 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52246 it is empty.
52247
52248 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52249
52250 * benchtests/Makefile: Add bench-strtod.
52251 * benchtests/bench-strtod.c: New file: strtod benchtest
52252
52253 2013-11-11 Andreas Schwab <schwab@suse.de>
52254
52255 [BZ #16153]
52256 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52257 terminating NUL in key length.
52258
52259 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52260
52261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52262 Add artificial ODP entry for vDSO symbol for PPC64.
52263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52264 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52265
52266 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
52267
52268 [BZ #15374]
52269 * nss/getent.c (services_keys): Recognize services starting with digit.
52270
52271 2013-11-06 David S. Miller <davem@davemloft.net>
52272
52273 [BZ #15985]
52274 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52275 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52276
52277 2013-11-06 Will Newton <will.newton@linaro.org>
52278
52279 * manual/memory.texi (Malloc Examples): Remove register
52280 keyword from examples.
52281
52282 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
52283
52284 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52285
52286 2013-11-04 Joseph Myers <joseph@codesourcery.com>
52287
52288 [BZ #6981]
52289 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52290 depending on [__GCC_IEC_559 > 0].
52291 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52292 depending on [__GCC_IEC_559_COMPLEX > 0].
52293
52294 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
52295
52296 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52297 to iso-639.def.
52298
52299 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
52300
52301 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52302
52303 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
52304
52305 [BZ #16112]
52306 * malloc/malloc (malloc_info): Do not handle first bin as
52307 special case.
52308
52309 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
52310
52311 * locale/iso-639.def: Add Central Nahuatl (nhn).
52312
52313 2013-11-01 Bruno Haible <bruno@clisp.org>
52314
52315 [BZ #7003]
52316 * manual/math.texi (BSD Random): Specify range upper bound as
52317 in POSIX.
52318
52319 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
52320
52321 * locale/iso-639.def: Add Meadow Mari (mhr).
52322
52323 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
52324
52325 [BZ #14752], [BZ #15763]
52326 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52327 Validate name.
52328 * rt/tst_shm.c: Add test for escaping directory.
52329
52330 2013-10-31 Andreas Schwab <schwab@suse.de>
52331
52332 [BZ #15917]
52333 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52334 followed by 'x' as part of digit sequence.
52335 * stdio-common/tst-sscanf.c (double_tests2): New tests.
52336
52337 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52338
52339 [BZ #16037]
52340 * configure.ac: allow GNU Make 4.0 and greater.
52341 * configure: Regenerated.
52342
52343 2013-10-30 Will Newton <will.newton@linaro.org>
52344
52345 [BZ #16038]
52346 * malloc/hooks.c (memalign_check): Limit alignment to the
52347 maximum representable power of two.
52348 * malloc/malloc.c (__libc_memalign): Likewise.
52349 * malloc/tst-memalign.c (do_test): Add test for very
52350 large alignment values.
52351 * malloc/tst-posix_memalign.c (do_test): Likewise.
52352
52353 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
52354
52355 [BZ #11087]
52356 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52357 (munmap_chunk): Likewise.
52358 (mremap_chunk): Likewise.
52359
52360 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
52361
52362 [BZ #15799]
52363 * stdlib/div.c (div): Remove obsolete code.
52364 * stdlib/ldiv.c (ldiv): Likewise.
52365 * stdlib/lldiv.c (lldiv): Likewise.
52366
52367 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52368
52369 [BZ #16071]
52370 * nss/nss_files/files-XXX.c (get_contents_ret): New
52371 enumerator.
52372 (get_contents): New function.
52373 (internal_getent): Use it. Expand size of LINEBUFLEN.
52374
52375 2013-10-30 Mike Frysinger <vapier@gentoo.org>
52376
52377 * configure.in: Moved to ...
52378 * configure.ac: ... here. Change reference to configure.in
52379 to configure.ac.
52380 * sysdeps/arm/preconfigure.ac: ... here.
52381 configure.in to configure.ac.
52382 * sysdeps/gnu/configure.in: Moved to ...
52383 * sysdeps/gnu/configure.ac: ... here.
52384 * sysdeps/i386/configure.in: Moved to ...
52385 * sysdeps/i386/configure.ac: ... here.
52386 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
52387 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
52388 * sysdeps/mach/configure.in: Moved to ...
52389 * sysdeps/mach/configure.ac: ... here.
52390 * sysdeps/mach/hurd/configure.in: Moved to ...
52391 * sysdeps/mach/hurd/configure.ac: ... here.
52392 * sysdeps/powerpc/configure.in: Moved to ...
52393 * sysdeps/powerpc/configure.ac: ... here.
52394 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
52395 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
52396 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
52397 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
52398 * sysdeps/s390/s390-32/configure.in: Moved to ...
52399 * sysdeps/s390/s390-32/configure.ac: ... here.
52400 * sysdeps/s390/s390-64/configure.in: Moved to ...
52401 * sysdeps/s390/s390-64/configure.ac: ... here.
52402 * sysdeps/sh/configure.in: Moved to ...
52403 * sysdeps/sh/configure.ac: ... here.
52404 * sysdeps/sparc/configure.in: Moved to ...
52405 * sysdeps/sparc/configure.ac: ... here.
52406 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
52407 * sysdeps/unix/sysv/linux/configure.ac: ... here.
52408 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
52409 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
52410 * sysdeps/x86_64/configure.in: Moved to ...
52411 * sysdeps/x86_64/configure.ac: ... here.
52412 * sysdeps/x86_64/preconfigure.in: Moved to ...
52413 * sysdeps/x86_64/preconfigure.ac: ... here.
52414 * aclocal.m4: Change reference to configure.in to configure.ac.
52415 * config.h.in: Likewise.
52416 * manual/install.texi: Likewise.
52417 * manual/maint.texi: Likewise.
52418 * Makefile: Likewise.
52419 * malloc/Makefile: Likewise.
52420 * nscd/Makefile: Likewise.
52421 * Makeconfig: Change reference to configure.in and
52422 preconfigure.in to configure.ac and preconfigure.ac
52423 respectively.
52424 * INSTALL: Regenerated.
52425 * configure: Likewise.
52426 * sysdeps/gnu/configure: Likewise.
52427 * sysdeps/i386/configure: Likewise.
52428 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
52429 * sysdeps/mach/configure: Likewise.
52430 * sysdeps/mach/hurd/configure: Likewise.
52431 * sysdeps/powerpc/configure: Likewise.
52432 * sysdeps/powerpc/powerpc32/configure: Likewise.
52433 * sysdeps/powerpc/powerpc64/configure: Likewise.
52434 * sysdeps/s390/s390-32/configure: Likewise.
52435 * sysdeps/s390/s390-64/configure: Likewise.
52436 * sysdeps/sh/configure: Likewise.
52437 * sysdeps/sparc/configure: Likewise.
52438 * sysdeps/unix/sysv/linux/configure: Likewise.
52439 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
52440 * sysdeps/x86_64/configure: Likewise.
52441 * sysdeps/x86_64/preconfigure: Likewise.
52442
52443 2013-10-29 Andreas Schwab <schwab@suse.de>
52444
52445 * stdio-common/Makefile (tst-swscanf-ENV): Define.
52446
52447 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52448
52449 * benchtests/pow-inputs: Add new inputs.
52450
52451 * benchtests/exp-inputs: Add new inputs.
52452
52453 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
52454 conditional check for return value.
52455 (__cos32): Likewise.
52456
52457 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52458
52459 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
52460 to provide a boost for large inputs with word alignment.
52461 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
52462 implementation based on optimized PPC64 strcpy.
52463 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
52464 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
52465 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
52466 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
52467
52468 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
52469
52470 [BZ #2801]
52471 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
52472
52473 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
52474
52475 [BZ #14876]
52476 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
52477 * time/tst-strptime.c (day_tests): Add testcase.
52478
52479 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
52480
52481 [BZ #14029]
52482 * manual/pattern.texi: Acknowledge that fnmatch can fail.
52483
52484 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
52485
52486 [BZ #16074]
52487 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
52488 MAP_FAILED on error.
52489
52490 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52491
52492 [BZ #16072]
52493 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
52494 heap for large requests.
52495
52496 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
52497
52498 [BZ #9954]
52499 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
52500 result if the result has no associated interface.
52501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
52502 interface for all 127.X.Y.Z addresses.
52503
52504 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
52505
52506 * locale/iso-639.def: Add Ligurian (lij)
52507
52508 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
52509
52510 [BZ #15825]
52511 * sunrpc/rpc_main.c: Document rpcgen -5.
52512
52513 2013-10-19 Michael Stahl <mstahl@redhat.com>
52514
52515 * elf/rtld.c (do_preload): Print the reason why preloading failed.
52516
52517 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
52518
52519 [BZ #10278]
52520 * posix/glob.c: Match only directories when trailing slash is present.
52521 * posix/tst-gnuglob.c (my_opendir): Do not open files.
52522 (main): Add testcase.
52523
52524 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
52525
52526 [BZ #15670]
52527 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
52528
52529 2013-10-18 Carlos O'Donell <carlos@redhat.com>
52530
52531 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
52532 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
52533 AUTH_DES and cindex for FIPS 140-2.
52534 (DES Encryption): Add cindex FIPS 46-3.
52535
52536 * locale/locarchive.h (struct locarhandle): Add fname.
52537 * locale/programs/localedef.c (main): Pass ARGV[remaining]
52538 if an optional argument was specified to --list-archive,
52539 otherwise NULL.
52540 * locale/programs/locarchive.c (show_archive_content): Take new
52541 argument fname and pass it via ah.fname to open_archive.
52542 * locale/programs/localedef.h: Update decl.
52543 (open_archive): If AH->fname is non-null, open that file
52544 rather than the default file name, and don't ignore ENOENT.
52545 (create_archive): Set AH.fname to NULL.
52546 (delete_locales_from_archive): Likewise.
52547 (add_locales_to_archive): Likewise.
52548 * locale/programs/locfile.c (write_all_categories): Likewise.
52549
52550 2013-10-18 Joseph Myers <joseph@codesourcery.com>
52551 Aldy Hernandez <aldyh@redhat.com>
52552
52553 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
52554 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
52555 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
52556 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
52557 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
52558 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
52559 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
52560 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
52561 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
52562 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
52563 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
52564 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
52565 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
52566 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
52567 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
52568 Likewise.
52569 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
52570 Likewise.
52571 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
52572 Likewise.
52573 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
52574 Likewise.
52575 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
52576 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
52577 Likewise.
52578 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
52579 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
52580 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
52581 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
52582 Likewise.
52583 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
52584 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
52585 * sysdeps/powerpc/preconfigure: Likewise.
52586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
52587 Likewise.
52588 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
52589 Replace contents of file by #include of <fenv_libc.h>.
52590 * sysdeps/powerpc/soft-fp/sfp-machine.h
52591 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
52592 and <sys/prctl.h>.
52593 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
52594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
52595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
52596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
52597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
52598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
52599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
52600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
52601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
52602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
52603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
52604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
52605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52606 Allow copysignl PLT reference to be missing.
52607
52608 2013-10-18 Richard Sandiford <richard@codesourcery.com>
52609 Joseph Myers <joseph@codesourcery.com
52610
52611 [BZ #15948]
52612 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
52613 single character.
52614 (add_to_tablewc): Assert sequence of wide characters is nonempty.
52615
52616 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52617
52618 * elf/tst-tls-dlinfo.c: Don't include tls.h.
52619 * elf/tst-tls1.c: Likewise.
52620 * elf/tst-tls10.h: Likewise.
52621 * elf/tst-tls14.c: Likewise.
52622 * elf/tst-tls2.c: Likewise.
52623 * elf/tst-tls3.c: Likewise.
52624 * elf/tst-tls4.c: Likewise.
52625 * elf/tst-tls5.c: Likewise.
52626 * elf/tst-tls6.c: Likewise.
52627 * elf/tst-tls7.c: Likewise.
52628 * elf/tst-tls8.c: Likewise.
52629 * elf/tst-tls9.c: Likewise.
52630 * elf/tst-tlsmod1.c: Likewise.
52631 * elf/tst-tlsmod13.c: Likewise.
52632 * elf/tst-tlsmod13a.c: Likewise.
52633 * elf/tst-tlsmod14a.c: Likewise.
52634 * elf/tst-tlsmod16a.c: Likewise.
52635 * elf/tst-tlsmod16b.c: Likewise.
52636 * elf/tst-tlsmod2.c: Likewise.
52637 * elf/tst-tlsmod3.c: Likewise.
52638 * elf/tst-tlsmod4.c: Likewise.
52639 * elf/tst-tlsmod5.c: Likewise.
52640 * elf/tst-tlsmod6.c: Likewise.
52641
52642 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
52643
52644 [BZ #12486]
52645 * malloc/malloc.c: remove checks for statistics.
52646
52647 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
52648
52649 [BZ #15277]
52650 * inet/inet_net.c (inet_network): Detect additional invalid strings.
52651 * inet/tst-network.c: Add testcase.
52652
52653 2013-10-17 Andreas Schwab <schwab@suse.de>
52654
52655 [BZ #15218]
52656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
52657 to determine canonical name.
52658
52659 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
52660
52661 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
52662 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
52663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52664 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52666 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52667 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52668 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52669 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52670 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52673 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52679 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52680 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52681 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52684 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
52685 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
52686 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52687 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52688 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
52689 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52690 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
52691 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52693 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52694 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52695 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52697 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52698 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52699 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52700 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52701 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52702 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52703 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52704 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52705 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52707 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52708 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52709 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52710 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52711 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52712 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52713 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52714 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52715 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52716 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52718 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52719
52720 2013-10-17 Joseph Myers <joseph@codesourcery.com>
52721
52722 [BZ #16041]
52723 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
52724 make result into a quiet NaN.
52725
52726 2013-10-16 Joseph Myers <joseph@codesourcery.com>
52727
52728 * soft-fp/adddf3.c: Fix horizontal whitespace.
52729 * soft-fp/addsf3.c: Likewise.
52730 * soft-fp/addtf3.c: Likewise.
52731 * soft-fp/divdf3.c: Likewise.
52732 * soft-fp/divsf3.c: Likewise.
52733 * soft-fp/divtf3.c: Likewise.
52734 * soft-fp/double.h: Likewise.
52735 * soft-fp/eqdf2.c: Likewise.
52736 * soft-fp/eqsf2.c: Likewise.
52737 * soft-fp/eqtf2.c: Likewise.
52738 * soft-fp/extenddftf2.c: Likewise.
52739 * soft-fp/extended.h: Likewise.
52740 * soft-fp/extendsfdf2.c: Likewise.
52741 * soft-fp/extendsftf2.c: Likewise.
52742 * soft-fp/extendxftf2.c: Likewise.
52743 * soft-fp/fixdfdi.c: Likewise.
52744 * soft-fp/fixdfsi.c: Likewise.
52745 * soft-fp/fixdfti.c: Likewise.
52746 * soft-fp/fixsfdi.c: Likewise.
52747 * soft-fp/fixsfsi.c: Likewise.
52748 * soft-fp/fixsfti.c: Likewise.
52749 * soft-fp/fixtfdi.c: Likewise.
52750 * soft-fp/fixtfsi.c: Likewise.
52751 * soft-fp/fixtfti.c: Likewise.
52752 * soft-fp/fixunsdfdi.c: Likewise.
52753 * soft-fp/fixunsdfsi.c: Likewise.
52754 * soft-fp/fixunsdfti.c: Likewise.
52755 * soft-fp/fixunssfdi.c: Likewise.
52756 * soft-fp/fixunssfsi.c: Likewise.
52757 * soft-fp/fixunssfti.c: Likewise.
52758 * soft-fp/fixunstfdi.c: Likewise.
52759 * soft-fp/fixunstfsi.c: Likewise.
52760 * soft-fp/fixunstfti.c: Likewise.
52761 * soft-fp/floatdidf.c: Likewise.
52762 * soft-fp/floatdisf.c: Likewise.
52763 * soft-fp/floatditf.c: Likewise.
52764 * soft-fp/floatsidf.c: Likewise.
52765 * soft-fp/floatsisf.c: Likewise.
52766 * soft-fp/floatsitf.c: Likewise.
52767 * soft-fp/floattidf.c: Likewise.
52768 * soft-fp/floattisf.c: Likewise.
52769 * soft-fp/floattitf.c: Likewise.
52770 * soft-fp/floatundidf.c: Likewise.
52771 * soft-fp/floatundisf.c: Likewise.
52772 * soft-fp/floatunditf.c: Likewise.
52773 * soft-fp/floatunsidf.c: Likewise.
52774 * soft-fp/floatunsisf.c: Likewise.
52775 * soft-fp/floatunsitf.c: Likewise.
52776 * soft-fp/floatuntidf.c: Likewise.
52777 * soft-fp/floatuntisf.c: Likewise.
52778 * soft-fp/floatuntitf.c: Likewise.
52779 * soft-fp/fmadf4.c: Likewise.
52780 * soft-fp/fmasf4.c: Likewise.
52781 * soft-fp/fmatf4.c: Likewise.
52782 * soft-fp/gedf2.c: Likewise.
52783 * soft-fp/gesf2.c: Likewise.
52784 * soft-fp/getf2.c: Likewise.
52785 * soft-fp/ledf2.c: Likewise.
52786 * soft-fp/lesf2.c: Likewise.
52787 * soft-fp/letf2.c: Likewise.
52788 * soft-fp/muldf3.c: Likewise.
52789 * soft-fp/mulsf3.c: Likewise.
52790 * soft-fp/multf3.c: Likewise.
52791 * soft-fp/negdf2.c: Likewise.
52792 * soft-fp/negsf2.c: Likewise.
52793 * soft-fp/negtf2.c: Likewise.
52794 * soft-fp/op-1.h: Likewise.
52795 * soft-fp/op-2.h: Likewise.
52796 * soft-fp/op-4.h: Likewise.
52797 * soft-fp/op-8.h: Likewise.
52798 * soft-fp/op-common.h: Likewise.
52799 * soft-fp/quad.h: Likewise.
52800 * soft-fp/single.h: Likewise.
52801 * soft-fp/soft-fp.h: Likewise.
52802 * soft-fp/sqrtdf2.c: Likewise.
52803 * soft-fp/sqrtsf2.c: Likewise.
52804 * soft-fp/sqrttf2.c: Likewise.
52805 * soft-fp/subdf3.c: Likewise.
52806 * soft-fp/subsf3.c: Likewise.
52807 * soft-fp/subtf3.c: Likewise.
52808 * soft-fp/truncdfsf2.c: Likewise.
52809 * soft-fp/trunctfdf2.c: Likewise.
52810 * soft-fp/trunctfsf2.c: Likewise.
52811 * soft-fp/trunctfxf2.c: Likewise.
52812 * soft-fp/unorddf2.c: Likewise.
52813 * soft-fp/unordsf2.c: Likewise.
52814 * soft-fp/unordtf2.c: Likewise.
52815
52816 2013-10-15 Joseph Myers <joseph@codesourcery.com>
52817
52818 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
52819 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
52820
52821 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
52822
52823 * elf/dl-libc.c: Clear initfini list after freeing.
52824
52825 2013-10-14 Joseph Myers <joseph@codesourcery.com>
52826
52827 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
52828 * soft-fp/addsf3.c: Likewise.
52829 * soft-fp/addtf3.c: Likewise.
52830 * soft-fp/divdf3.c: Likewise.
52831 * soft-fp/divsf3.c: Likewise.
52832 * soft-fp/divtf3.c: Likewise.
52833 * soft-fp/double.h: Likewise.
52834 * soft-fp/eqdf2.c: Likewise.
52835 * soft-fp/eqsf2.c: Likewise.
52836 * soft-fp/eqtf2.c: Likewise.
52837 * soft-fp/extenddftf2.c: Likewise.
52838 * soft-fp/extended.h: Likewise.
52839 * soft-fp/extendsfdf2.c: Likewise.
52840 * soft-fp/extendsftf2.c: Likewise.
52841 * soft-fp/extendxftf2.c: Likewise.
52842 * soft-fp/fixdfdi.c: Likewise.
52843 * soft-fp/fixdfsi.c: Likewise.
52844 * soft-fp/fixdfti.c: Likewise.
52845 * soft-fp/fixsfdi.c: Likewise.
52846 * soft-fp/fixsfsi.c: Likewise.
52847 * soft-fp/fixsfti.c: Likewise.
52848 * soft-fp/fixtfdi.c: Likewise.
52849 * soft-fp/fixtfsi.c: Likewise.
52850 * soft-fp/fixtfti.c: Likewise.
52851 * soft-fp/fixunsdfdi.c: Likewise.
52852 * soft-fp/fixunsdfsi.c: Likewise.
52853 * soft-fp/fixunsdfti.c: Likewise.
52854 * soft-fp/fixunssfdi.c: Likewise.
52855 * soft-fp/fixunssfsi.c: Likewise.
52856 * soft-fp/fixunssfti.c: Likewise.
52857 * soft-fp/fixunstfdi.c: Likewise.
52858 * soft-fp/fixunstfsi.c: Likewise.
52859 * soft-fp/fixunstfti.c: Likewise.
52860 * soft-fp/floatdidf.c: Likewise.
52861 * soft-fp/floatdisf.c: Likewise.
52862 * soft-fp/floatditf.c: Likewise.
52863 * soft-fp/floatsidf.c: Likewise.
52864 * soft-fp/floatsisf.c: Likewise.
52865 * soft-fp/floatsitf.c: Likewise.
52866 * soft-fp/floattidf.c: Likewise.
52867 * soft-fp/floattisf.c: Likewise.
52868 * soft-fp/floattitf.c: Likewise.
52869 * soft-fp/floatundidf.c: Likewise.
52870 * soft-fp/floatundisf.c: Likewise.
52871 * soft-fp/floatunsidf.c: Likewise.
52872 * soft-fp/floatunsisf.c: Likewise.
52873 * soft-fp/floatuntidf.c: Likewise.
52874 * soft-fp/floatuntisf.c: Likewise.
52875 * soft-fp/floatuntitf.c: Likewise.
52876 * soft-fp/fmadf4.c: Likewise.
52877 * soft-fp/fmasf4.c: Likewise.
52878 * soft-fp/fmatf4.c: Likewise.
52879 * soft-fp/gedf2.c: Likewise.
52880 * soft-fp/gesf2.c: Likewise.
52881 * soft-fp/getf2.c: Likewise.
52882 * soft-fp/ledf2.c: Likewise.
52883 * soft-fp/lesf2.c: Likewise.
52884 * soft-fp/letf2.c: Likewise.
52885 * soft-fp/muldf3.c: Likewise.
52886 * soft-fp/mulsf3.c: Likewise.
52887 * soft-fp/multf3.c: Likewise.
52888 * soft-fp/negdf2.c: Likewise.
52889 * soft-fp/negsf2.c: Likewise.
52890 * soft-fp/negtf2.c: Likewise.
52891 * soft-fp/op-1.h: Likewise.
52892 * soft-fp/op-2.h: Likewise.
52893 * soft-fp/op-4.h: Likewise.
52894 * soft-fp/op-8.h: Likewise.
52895 * soft-fp/op-common.h: Likewise.
52896 * soft-fp/quad.h: Likewise.
52897 * soft-fp/single.h: Likewise.
52898 * soft-fp/soft-fp.h: Likewise.
52899 * soft-fp/sqrtdf2.c: Likewise.
52900 * soft-fp/sqrtsf2.c: Likewise.
52901 * soft-fp/sqrttf2.c: Likewise.
52902 * soft-fp/subdf3.c: Likewise.
52903 * soft-fp/subsf3.c: Likewise.
52904 * soft-fp/subtf3.c: Likewise.
52905 * soft-fp/truncdfsf2.c: Likewise.
52906 * soft-fp/trunctfdf2.c: Likewise.
52907 * soft-fp/trunctfsf2.c: Likewise.
52908 * soft-fp/trunctfxf2.c: Likewise.
52909 * soft-fp/unorddf2.c: Likewise.
52910 * soft-fp/unordsf2.c: Likewise.
52911 * soft-fp/unordtf2.c: Likewise.
52912
52913 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
52914
52915 [BZ #15672]
52916 * misc/error.c (error_tail): Fix possible buffer overflow.
52917
52918 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
52919
52920 [BZ #13028]
52921 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
52922 address.
52923
52924 2013-10-14 P. J. McDermott <pj@pehjota.net>
52925
52926 [BZ #832]
52927 * elf/ldd.bash.in (try_trace): New function. Delete previous code
52928 testing pipefail option.
52929
52930 2013-10-12 Joseph Myers <joseph@codesourcery.com>
52931
52932 * soft-fp/double.h: Indent preprocessor directives inside #if.
52933 * soft-fp/extended.h: Likewise.
52934 * soft-fp/op-2.h: Likewise.
52935 * soft-fp/op-4.h: Likewise.
52936 * soft-fp/op-common.h: Likewise.
52937 * soft-fp/quad.h: Likewise.
52938 * soft-fp/single.h: Likewise.
52939 * soft-fp/soft-fp.h: Likewise.
52940
52941 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
52942
52943 * iconv/iconv_prog.c: Fix typos.
52944 * stdio-common/psiginfo-data.h: Likewise.
52945
52946 2013-10-12 Reuben Thomas <rrt@sc3d.org>
52947
52948 [BZ #15764]
52949 * locale/setlocale.c: Fix typo.
52950
52951 2013-10-12 Joseph Myers <joseph@codesourcery.com>
52952
52953 [BZ #16036]
52954 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
52955 signaling NaN arguments.
52956 * soft-fp/unordsf2.c (__unordsf2): Likewise.
52957 * soft-fp/unordtf2.c (__unordtf2): Likewise.
52958
52959 [BZ #14910]
52960 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
52961 unordered operands.
52962 * soft-fp/gesf2.c (__gesf2): Likewise.
52963 * soft-fp/getf2.c (__getf2): Likewise.
52964 * soft-fp/ledf2.c (__ledf2): Likewise.
52965 * soft-fp/lesf2.c (__lesf2): Likewise.
52966 * soft-fp/letf2.c (__letf2): Likewise.
52967
52968 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
52969 * soft-fp/eqsf2.c (__eqsf2): Likewise.
52970 * soft-fp/eqtf2.c (__eqtf2): Likewise.
52971 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
52972 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
52973 * soft-fp/fixdfti.c (__fixdfti): Likewise.
52974 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
52975 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
52976 * soft-fp/fixsfti.c (__fixsfti): Likewise.
52977 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
52978 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
52979 * soft-fp/fixtfti.c (__fixtfti): Likewise.
52980 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
52981 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
52982 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
52983 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
52984 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
52985 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
52986 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
52987 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
52988 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
52989 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
52990 * soft-fp/floatdisf.c (__floatdisf): Likewise.
52991 * soft-fp/floatsisf.c (__floatsisf): Likewise.
52992 * soft-fp/floattidf.c (__floattidf): Likewise.
52993 * soft-fp/floattisf.c (__floattisf): Likewise.
52994 * soft-fp/floattitf.c (__floattitf): Likewise.
52995 * soft-fp/floatundidf.c (__floatundidf): Likewise.
52996 * soft-fp/floatundisf.c (__floatundisf): Likewise.
52997 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
52998 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
52999 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53000 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53001 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53002 * soft-fp/gesf2.c (__gesf2): Likewise.
53003 * soft-fp/getf2.c (__getf2): Likewise.
53004 * soft-fp/ledf2.c (__ledf2): Likewise.
53005 * soft-fp/lesf2.c (__lesf2): Likewise.
53006 * soft-fp/letf2.c (__letf2): Likewise.
53007
53008 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53009 Undefine and redefine.
53010 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53011 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53012 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53013 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53014 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53015 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53016 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53017 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53018 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53019 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53020 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53021 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53022 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53023 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53024 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53025
53026 [BZ #16032]
53027 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53028 without decrementing exponent if mantissa >= that for the
53029 denominator, not >.
53030 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53031 denominator, not >. Decrement exponent in < case instead of
53032 incrementing in >= case.
53033 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53034 without decrementing exponent if mantissa >= that for the
53035 denominator, not >.
53036
53037 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53038 computing saturated result for unsigned overflow.
53039
53040 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53041 Jeff Law <law@redhat.com>
53042
53043 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53044 (atan2Mp): Add systemtap probe marker.
53045 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53046 (__ieee754_log): Add systemtap probe marker.
53047 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53048 (atanMp): Add systemtap probe marker.
53049 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53050 (tanMp): Add systemtap probe marker.
53051 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53052 (__slowexp): Add systemtap probe marker.
53053 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53054 (__slowpow): Add systemtap probe marker.
53055 * manual/probes.texi: Document probes.
53056
53057 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
53058
53059 [BZ #15362]
53060 * libio/fileops.c (_IO_new_file_write): Return count of bytes
53061 written.
53062 (_IO_new_file_xsputn): Don't return EOF if nothing has been
53063 written.
53064 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53065 written to buffer but not flushed.
53066 * libio/iofwrite_u.c: Likewise.
53067 * libio/iopadn.c: Return bytes returned even if EOF was
53068 encountered.
53069 * libio/iowpadn.c: Likewise.
53070 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53071 if _IO_padn does not write the whole buffer.
53072 [!COMPILE_WPRINTF] (PAD): Likewise.
53073
53074 2013-10-10 David S. Miller <davem@davemloft.net>
53075
53076 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53077 directory block.
53078
53079 2013-10-10 Joseph Myers <joseph@codesourcery.com>
53080
53081 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
53082 instead of FSF address.
53083 * soft-fp/fixdfti.c: Likewise.
53084 * soft-fp/fixsfti.c: Likewise.
53085 * soft-fp/fixtfti.c: Likewise.
53086 * soft-fp/fixunsdfti.c: Likewise.
53087 * soft-fp/fixunssfti.c: Likewise.
53088 * soft-fp/fixunstfti.c: Likewise.
53089 * soft-fp/floattidf.c: Likewise.
53090 * soft-fp/floattisf.c: Likewise.
53091 * soft-fp/floattitf.c: Likewise.
53092 * soft-fp/floatuntidf.c: Likewise.
53093 * soft-fp/floatuntisf.c: Likewise.
53094 * soft-fp/floatuntitf.c: Likewise.
53095 * soft-fp/trunctfxf2.c: Likewise.
53096
53097 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
53098 * soft-fp/fixdfti.c: Likewise.
53099 * soft-fp/fixsfti.c: Likewise.
53100 * soft-fp/fixtfti.c: Likewise.
53101 * soft-fp/fixunsdfti.c: Likewise.
53102 * soft-fp/fixunssfti.c: Likewise.
53103 * soft-fp/fixunstfti.c: Likewise.
53104 * soft-fp/floattidf.c: Likewise.
53105 * soft-fp/floattisf.c: Likewise.
53106 * soft-fp/floattitf.c: Likewise.
53107 * soft-fp/floatuntidf.c: Likewise.
53108 * soft-fp/floatuntisf.c: Likewise.
53109 * soft-fp/floatuntitf.c: Likewise.
53110 * soft-fp/trunctfxf2.c: Likewise.
53111
53112 2013-10-10 David S. Miller <davem@davemloft.net>
53113
53114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53115
53116 2013-10-10 Joseph Myers <joseph@codsourcery.com>
53117
53118 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53119 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53120 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53121 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53122 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53123 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53124 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53125
53126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53127 for NaNs before doing comparisons on argument.
53128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53129 Likewise.
53130
53131 2013-10-10 Will Newton <will.newton@linaro.org>
53132
53133 * malloc/hooks.c (memalign_check): Ensure the value of bytes
53134 passed to _int_memalign does not overflow.
53135
53136 2013-10-10 Torvald Riegel <triegel@redhat.com>
53137
53138 * scripts/bench.pl: Add include-sources directive.
53139 * benchtests/README: Update documentation.
53140
53141 2013-10-10 Joseph Myers <joseph@codesourcery.com>
53142
53143 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53144 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53145 instead of FP_INIT_ROUNDMODE.
53146 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53147 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53148
53149 [BZ #16034]
53150 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
53151 copy class of input value.
53152 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
53153 not handle exceptions.
53154 * soft-fp/negsf2.c (__negsf2): Likewise.
53155 * soft-fp/negtf2.c (__negtf2): Likewise.
53156 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53157
53158 2013-10-09 Joseph Myers <joseph@codesourcery.com>
53159
53160 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53161 semicolon. From Linux kernel.
53162
53163 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
53164
53165 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53166
53167 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
53168
53169 [BZ #156]
53170 * manual/socket.texi: Added statement about buffer
53171 for gethostbyname2_r.
53172
53173 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
53174
53175 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53176 Use .p2align directive instead, throughout.
53177 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53178 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53179 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53180 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53182 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53183 * sysdeps/x86_64/strchr.S: Likewise.
53184 * sysdeps/x86_64/strrchr.S: Likewise.
53185
53186 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
53187
53188 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53189
53190 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53191
53192 * sysdeps/generic/math_private.h (__mpsin1): Remove
53193 declaration.
53194 (__mpcos1): Likewise.
53195 (__mpsin): New argument __range_reduce.
53196 (__mpcos): Likewise.
53197 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53198 (slow): Use __mpsin and __mpcos.
53199 (slow1): Likewise.
53200 (slow2): Likewise.
53201 (sloww): Likewise.
53202 (sloww1): Likewise.
53203 (sloww2): Likewise.
53204 (bsloww): Likewise.
53205 (bsloww1): Likewise.
53206 (bsloww2): Likewise.
53207 (cslow2): Likewise.
53208 (csloww): Likewise.
53209 (csloww1): Likewise.
53210 (csloww2): Likewise.
53211 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53212 range_reduce. Merge in __mpsin1.
53213 (__mpcos): Likewise.
53214 (__mpsin1): Remove.
53215 (__mpcos1): Likewise.
53216
53217 2013-10-07 Joseph Myers <joseph@codesourcery.com>
53218
53219 * locale/loadlocale.c (_nl_intern_locale_data): Use
53220 LOCFILE_ALIGNED_P.
53221 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53222 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53223 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53224 obstack data is appropriately aligned.
53225 (obstack_int32_grow_fast): Likewise.
53226 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53227 * locale/programs/locfile.c (add_locale_uint32): Likewise.
53228 (add_locale_uint32_array): Likewise.
53229
53230 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
53231
53232 * benchtests/Makefile: Remove ARGLIST and RET variables.
53233 ($(objpfx)bench-%.c): Pass only function name to the script.
53234 * benchtests/README: Update documentation.
53235 * benchtests/acos-inputs: Add new directives.
53236 * benchtests/acosh-inputs: Likewise.
53237 * benchtests/asin-inputs: Likewise.
53238 * benchtests/asinh-inputs: Likewise.
53239 * benchtests/atan-inputs: Likewise.
53240 * benchtests/atanh-inputs: Likewise.
53241 * benchtests/cos-inputs: Likewise.
53242 * benchtests/cosh-inputs: Likewise.
53243 * benchtests/exp-inputs: Likewise.
53244 * benchtests/log-inputs: Likewise.
53245 * benchtests/pow-inputs: Likewise.
53246 * benchtests/rint-inputs: Likewise.
53247 * benchtests/sin-inputs: Likewise.
53248 * benchtests/sinh-inputs: Likewise.
53249 * benchtests/tan-inputs: Likewise.
53250 * benchtests/tanh-inputs: Likewise.
53251 * scripts/bench.pl: Add support for new directives.
53252
53253 2013-10-07 Alan Modra <amodra@gmail.com>
53254
53255 * README: Fix careless merge.
53256
53257 2013-10-05 Alan Modra <amodra@gmail.com>
53258
53259 * NEWS: Mention powerpc64le support and bugs fixed.
53260 * README: Both big-endian and little-endian powerpc64 supported.
53261
53262 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
53263
53264 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53265 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53266 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53267 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53268
53269 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
53270
53271 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53272 match prototype.
53273
53274 2013-10-04 Joseph Myers <joseph@codesourcery.com>
53275
53276 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53277 Move -mhard-float appending from
53278 ports/sysdeps/powerpc/powerpc32/Makefile.
53279 [$(with-fp) = yes] (ASFLAGS): Likewise.
53280 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53281 * sysdeps/powerpc/nofpu: Move directory from
53282 ports/sysdeps/powerpc/nofpu.
53283 * sysdeps/powerpc/soft-fp: Move directory from
53284 ports/sysdeps/powerpc/soft-fp.
53285 * sysdeps/powerpc/powerpc32/405: Move directory from
53286 ports/sysdeps/powerpc/powerpc32/405.
53287 * sysdeps/powerpc/powerpc32/440: Move directory from
53288 ports/sysdeps/powerpc/powerpc32/440.
53289 * sysdeps/powerpc/powerpc32/464: Move directory from
53290 ports/sysdeps/powerpc/powerpc32/464.
53291 * sysdeps/powerpc/powerpc32/476: Move directory from
53292 ports/sysdeps/powerpc/powerpc32/476.
53293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53294 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53296 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53298 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53300 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53302 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53303 * README: Update for powerpc-*-linux-gnu software floating point
53304 support in libc.
53305
53306 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53307 case to powerpc/powerpc32*.
53308 * sysdeps/unix/sysv/linux/configure: Regenerated.
53309
53310 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53311 (_FPU_MASK_OM): Define as 0x04.
53312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53314 0x00c10080.
53315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53316 0x0000003c.
53317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53318
53319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53320 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53321 getcontext_e500.
53322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53323 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53324 setcontext_e500.
53325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53326 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53327 and setcontext_e500.
53328
53329 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
53330
53331 * locale/iso-3166.def: Update iso-1366.def and related occurrences
53332
53333 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53334
53335 * manual/threads.texi (Default Thread Attributes): Fix typo.
53336
53337 2013-10-04 Will Newton <will.newton@linaro.org>
53338
53339 * malloc/Makefile: Add tst-memalign.
53340 * malloc/tst-memalign.c: New file.
53341
53342 * malloc/tst-posix_memalign.c: Add comments.
53343 (do_test): Add comments and call free on all potentially
53344 allocated pointers. Add space after cast.
53345
53346 * malloc/tst-pvalloc.c: Add comments.
53347 (do_test): Add comments and call free on all potentially
53348 allocated pointers. Remove duplicate check for NULL pointer.
53349 Add space after cast.
53350
53351 * malloc/tst-valloc.c: Add comments.
53352 (do_test): Add comments and call free on all potentially
53353 allocated pointers. Remove duplicate check for NULL pointer.
53354 Add space after cast.
53355
53356 2013-10-04 Alan Modra <amodra@gmail.com>
53357
53358 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53359 Use stdint types in rather than __attribute__((mode())).
53360 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53361
53362 2013-10-04 Alan Modra <amodra@gmail.com>
53363
53364 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53365 Correct handling of unaligned relocs for little-endian.
53366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53367
53368 2013-10-04 Alan Modra <amodra@gmail.com>
53369
53370 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53371 * configure: Regenerate.
53372 * nptl/shlib-versions: Powerpc*le starts at 2.18.
53373 * shlib-versions: Likewise.
53374
53375 2013-10-04 Alan Modra <amodra@gmail.com>
53376
53377 * string/tester.c (test_memrchr): Increment reported test cycle.
53378
53379 2013-10-04 Alan Modra <amodra@gmail.com>
53380
53381 * string/test-memcpy.c (do_one_test): When reporting errors, print
53382 string address and don't overrun end of string.
53383
53384 2013-10-04 Alan Modra <amodra@gmail.com>
53385
53386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
53387 insrdi. Make better use of reg selection to speed exit slightly.
53388 Schedule entry path a little better. Remove useless "are we done"
53389 checks on entry to main loop. Handle wrapping around zero address.
53390 Correct main loop count. Handle single left-over word from main
53391 loop inline rather than by using loop_small. Remove extra word
53392 case in loop_small caused by wrong loop count. Add little-endian
53393 support.
53394 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53395 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
53396 cache hint.
53397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53398 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
53399 support. Avoid rlwimi.
53400 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
53401
53402 2013-10-04 Alan Modra <amodra@gmail.com>
53403
53404 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
53405 insrdi. Formatting.
53406 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
53407 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53408 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
53409 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53410 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53411 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
53412
53413 2013-10-04 Alan Modra <amodra@gmail.com>
53414
53415 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
53416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53417 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
53418 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
53419 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53420 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53422 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53423 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
53424 use of regs. Use power7 mtocrf. Tidy function tails.
53425
53426 2013-10-04 Alan Modra <amodra@gmail.com>
53427
53428 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
53429 Formatting. Consistently use rXXX register defines or rN defines.
53430 Use early exit labels that avoid restoring unused non-volatile regs.
53431 Make cr field use more consistent with rWORDn compares. Rename
53432 regs used as shift registers for unaligned loop, using rN defines
53433 for short lifetime/multiple use regs.
53434 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
53436 addi 1,1,64 to pop stack frame. Simplify return value code.
53437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53438
53439 2013-10-04 Alan Modra <amodra@gmail.com>
53440
53441 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
53442 support. Correct typos, formatting. Optimize tail. Use insrdi
53443 rather than rlwimi.
53444 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
53445 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
53446 little-endian support. Correct typos.
53447 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
53448 rather than rlwimi.
53449 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
53450 in loop and entry code to keep "and." results.
53451 (strchr): Add little-endian support. Comment. Move cntlzd
53452 earlier in tail.
53453 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
53454
53455 2013-10-04 Alan Modra <amodra@gmail.com>
53456
53457 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
53458 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
53459 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
53460 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
53461
53462 2013-10-04 Alan Modra <amodra@gmail.com>
53463
53464 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53465 (rTMP): Define as r11.
53466 (strcmp): Add little-endian support. Optimise tail.
53467 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
53468 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53469 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53470 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53474
53475 2013-10-04 Alan Modra <amodra@gmail.com>
53476
53477 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
53478 little-endian support. Remove unnecessary "are we done" tests.
53479 Handle "s" wrapping around zero and extremely large "size".
53480 Correct main loop count. Handle single left-over word from main
53481 loop inline rather than by using small_loop. Correct comments.
53482 Delete "zero" tail, use "end_max" instead.
53483 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
53484
53485 2013-10-04 Alan Modra <amodra@gmail.com>
53486
53487 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
53488 support. Don't branch over align.
53489 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
53490 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
53491 support. Rearrange tmp reg use to suit. Comment.
53492 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
53493
53494 2013-10-04 Alan Modra <amodra@gmail.com>
53495
53496 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
53497
53498 2013-10-04 Alan Modra <amodra@gmail.com>
53499
53500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
53501 conditional form of branch and link when obtaining pc.
53502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
53503
53504 2013-10-04 Alan Modra <amodra@gmail.com>
53505
53506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
53507 HIWORD/LOWORD.
53508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
53509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
53510
53511 2013-10-04 Alan Modra <amodra@gmail.com>
53512
53513 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
53514 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
53515 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
53516 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
53517 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53518 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53519 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
53520 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53521 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
53522 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
53523
53524 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
53525 Alistair Popple <alistair@ozlabs.au.ibm.com>
53526 Alan Modra <amodra@gmail.com>
53527
53528 [BZ #15723]
53529 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
53530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
53531 _dl_hwcap access for little-endian.
53532 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
53533 destroy vmx regs when saving unaligned.
53534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
53535 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
53536 destroy vmx regs when saving unaligned.
53537
53538 2013-10-04 Alan Modra <amodra@gmail.com>
53539
53540 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
53541 Don't use a union to pack hi/low value.
53542
53543 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
53544
53545 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
53546 for little-endian.
53547 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53548 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
53549 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53550 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53551 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53552
53553 2013-10-04 Alan Modra <amodra@gmail.com>
53554
53555 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
53556 constants to usual value for .cst8 section, and remove redundant
53557 high address load.
53558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
53559 constant for 0x1p52. Load little-endian words of double from
53560 correct stack offsets.
53561
53562 2013-10-04 Alan Modra <amodra@gmail.com>
53563
53564 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
53565 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
53566 words of double from correct stack offsets.
53567 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
53568 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
53569 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53572 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53574 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
53575 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
53576 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53577 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53578 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53579 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53580 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53581 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53582 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
53583 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
53584
53585 2013-10-04 Alan Modra <amodra@gmail.com>
53586
53587 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
53588 64-bit int/double union.
53589 (_FPU_SETCW): Likewise.
53590 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
53591 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
53592
53593 2013-10-04 Alan Modra <amodra@gmail.com>
53594
53595 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
53596 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
53597
53598 2013-10-04 Alan Modra <amodra@gmail.com>
53599
53600 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
53601 use vector int constants.
53602 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
53603
53604 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
53605
53606 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
53607 array with long long.
53608 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
53609 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
53610 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
53611 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
53612 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
53613 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
53614 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
53615 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
53616 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
53617 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
53618 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
53619 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
53620 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
53621
53622 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
53623
53624 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
53625 (__signbit): Likewise. Correct for little-endian.
53626 (__signbitl): Call __signbit.
53627 (lrint): Correct for little-endian.
53628 (lrintf): Call lrint.
53629
53630 2013-10-04 Alan Modra <amodra@gmail.com>
53631
53632 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
53633 union 32-bit int array member with 64-bit int array.
53634 (t515, tm256): Double rather than long double.
53635 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
53636
53637 2013-10-04 Alan Modra <amodra@gmail.com>
53638
53639 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
53640 Delete.
53641 (IEEE854_LONG_DOUBLE_BIAS): Delete.
53642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
53643 version of math_ldbl.h.
53644
53645 2013-10-04 Alan Modra <amodra@gmail.com>
53646
53647 [BZ #15734], [BZ #15735]
53648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
53649 all uses of ieee875 long double macros and unions. Simplify test
53650 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
53651 ldbl_extract_mantissa value for ix,iy exponents. Properly
53652 normalize after ldbl_extract_mantissa, and don't add hidden bit
53653 already handled. Don't treat low word of ieee854 mantissa like
53654 low word of IBM long double and mask off bit when testing for
53655 zero.
53656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
53657 all uses of ieee875 long double macros and unions. Simplify tests
53658 for 0.0L and inf. Correct double adjustment of k. Delete dead code
53659 adjusting ha,hb. Simplify code setting kld. Delete two600 and
53660 two1022, instead use their values. Recognise that tests for large
53661 "a" and small "b" are mutually exclusive. Rename vars. Comment.
53662 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
53663 Rewrite all uses of ieee875 long double macros and unions. Simplify
53664 test for 0.0L and nan. Correct negation.
53665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
53666 ieee875 long double macros and unions. Correct output for large
53667 magnitude x. Correct absolute value calculation.
53668 (__erfcl): Likewise.
53669 * math/libm-test.inc: Add tests for errors discovered in IBM long
53670 double versions of fmodl, remainderl, erfl and erfcl.
53671
53672 2013-10-04 Alan Modra <amodra@gmail.com>
53673
53674 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
53675 all uses of ieee854 long double macros and unions. Simplify tests
53676 for long doubles that are fully specified by the high double.
53677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
53678 Likewise.
53679 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
53680 Remove dead code too.
53681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
53682 (__ieee754_ynl): Likewise.
53683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
53684 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
53685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
53686 Remove dead code too.
53687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
53688 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
53689 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
53690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
53691 Simplify.
53692 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
53693 Simplify.
53694 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
53695 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
53696 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
53697 Comment on variable precision.
53698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
53699 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53700 Likewise.
53701 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
53702 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53703 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53704 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
53705 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
53706
53707 2013-10-04 Alan Modra <amodra@gmail.com>
53708
53709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
53710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
53711 all uses of ieee854 long double macros and unions.
53712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
53713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
53715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
53716 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
53717 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53718 Likewise.
53719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
53720 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53721 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
53722 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
53724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
53725 Simplify sign and nan test too.
53726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
53727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
53728 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
53729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
53730 Likewise.
53731 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53732 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
53733 Likewise.
53734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53735 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
53736 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
53737 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
53738 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
53739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
53740
53741 2013-10-04 Alan Modra <amodra@gmail.com>
53742
53743 * stdio-common/printf_size.c (__printf_size): Don't use
53744 union ieee854_long_double in fpnum union.
53745 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
53746 signbit macro to retrieve sign from long double.
53747 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
53748 retrieve sign from long double.
53749 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
53750 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
53751 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
53752 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53753 * math/test-misc.c (main): Don't use union ieee854_long_double.
53754
53755 2013-10-04 Alan Modra <amodra@gmail.com>
53756
53757 [BZ #15680]
53758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
53759 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
53760 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
53761 calculation. Remove unnecessary test for denormal exponent.
53762 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
53763 Correct handling of denormals. Avoid undefined shift behaviour.
53764 Correct normalisation of low mantissa when low double is denormal.
53765 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
53766 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
53767 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
53768 Correct normalisation of low mantissa. Test for overflow of high
53769 mantissa and normalise.
53770 (ldbl_nearbyint): Use more readable constant for two52.
53771 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
53772 (__mpn_construct_long_double): Fix test for overflow of high
53773 mantissa and correct normalisation. Avoid undefined shift.
53774
53775 2013-10-04 Alan Modra <amodra@gmail.com>
53776
53777 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53778 (union ibm_extended_long_double): Define as an array of ieee754_double.
53779 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
53780 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
53781 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
53782 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53784 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
53785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53786 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53788 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
53789 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53790
53791 2013-10-03 Joseph Myers <joseph@codesourcery.com>
53792
53793 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
53794 page size instead of calling getpagesize.
53795
53796 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
53797 (LOCFILE_ALIGN_MASK): Likewise.
53798 (LOCFILE_ALIGN_UP): Likewise.
53799 (LOCFILE_ALIGNED_P): Likewise.
53800 * locale/programs/ld-collate.c (collate_output): Use the new
53801 macros instead of __alignof__ (int32_t).
53802 * locale/weight.h (findidx): Likewise.
53803
53804 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
53805
53806 [BZ #431]
53807 * manual/string.texi: Fix strncat and wcsncat.
53808
53809 2013-10-03 Brooks Moses <bmoses@google.com>
53810
53811 [BZ #15915]
53812 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
53813 * Makerules: ...here, and adjust associated comments.
53814
53815 2013-10-02 Will Newton <will.newton@linaro.org>
53816
53817 * malloc/Makefile: Add tst-pvalloc.
53818 * malloc/tst-pvalloc.c: New file.
53819
53820 2013-10-02 Will Newton <will.newton@linaro.org>
53821
53822 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
53823 improve test coverage.
53824
53825 2013-10-02 Will Newton <will.newton@linaro.org>
53826
53827 * malloc/Makefile: Add tst-posix_memalign.
53828 * malloc/tst-posix_memalign.c: New file.
53829
53830 2013-10-01 Eric Blake <eblake@redhat.com>
53831
53832 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
53833 Use __THROWNL rather than __THROW on static functions.
53834
53835 2013-09-30 Petr Machata <pmachata@redhat.com>
53836
53837 * elf/elf.h (R_AARCH64_ABS16): New macro.
53838 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
53839 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
53840 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
53841 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
53842 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
53843 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
53844 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
53845 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
53846 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
53847 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
53848 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
53849 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
53850 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
53851 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
53852 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
53853 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
53854 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
53855 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
53856 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
53857 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
53858 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
53859 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
53860 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
53861 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
53862 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
53863 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
53864 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
53865 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
53866 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
53867 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
53868 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
53869 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
53870 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
53871 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
53872 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
53873 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
53874 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
53875 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
53876 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
53877 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
53878 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
53879 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
53880 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
53881 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
53882 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
53883 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
53884 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
53885 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
53886 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
53887 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
53888 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
53889 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
53890 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
53891 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
53892 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
53893 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
53894 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
53895 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
53896 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
53897 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
53898 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
53899 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
53900 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
53901 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
53902 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
53903 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
53904 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
53905 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
53906 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
53907 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
53908 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
53909 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
53910 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
53911 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
53912 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
53913 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
53914 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
53915 (R_AARCH64_TLSDESC_LDR): Likewise.
53916 (R_AARCH64_TLSDESC_ADD): Likewise.
53917 (R_AARCH64_TLSDESC_CALL): Likewise.
53918
53919 2013-09-30 Andreas Schwab <schwab@suse.de>
53920
53921 [BZ #15048]
53922 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
53923 the nss database lookup.
53924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53926
53927 2013-09-28 Mike Frysinger <vapier@gentoo.org>
53928
53929 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
53930
53931 2013-09-28 P. J. McDermott <pj@pehjota.net>
53932
53933 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
53934 ${Bash-specific parameter/pattern/string} parameter expansion.
53935 * sysdeps/unix/make-syscalls.sh: Likewise.
53936
53937 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53938
53939 * sysdeps/sh/stackguard-macros.h: New file.
53940
53941 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
53942
53943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
53945 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
53946 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
53947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53948 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
53949
53950 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53951
53952 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
53953 Fix thread ID register.
53954
53955 2013-09-25 Joseph Myers <joseph@codesourcery.com>
53956
53957 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
53958 [POSIX || UNIX98]: Require rather than permitting all symbols from
53959 <time.h>.
53960 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
53961 element of struct sched_param.
53962 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
53963 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
53964 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
53965 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
53966 constant.
53967
53968 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
53969
53970 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
53971 argument calculation.
53972
53973 2013-09-24 Joseph Myers <joseph@codesourcery.com>
53974
53975 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
53976 Expect macro.
53977 [POSIX] (pthread_attr_t): Do not require type.
53978 [POSIX] (pthread_cond_t): Likewise.
53979 [POSIX] (pthread_condattr_t): Likewise.
53980 [POSIX] (pthread_key_t): Likewise.
53981 [POSIX] (pthread_mutex_t): Likewise.
53982 [POSIX] (pthread_mutexattr_t): Likewise.
53983 [POSIX] (pthread_once_t): Likewise.
53984 [POSIX] (pthread_t): Likewise.
53985 [POSIX-based standards] (pthread_atfork): Expect function.
53986
53987 2013-09-24 Joseph Myers <joseph@codesourcery.com>
53988 Richard Sandiford <richard@codesourcery.com>
53989
53990 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
53991 (swap_endianness_p): New extern variable.
53992 (set_big_endian): New inline function.
53993 (maybe_swap_uint32): Likewise.
53994 (maybe_swap_uint32_array): Likewise.
53995 (maybe_swap_uint32_obstack): Likewise.
53996 * locale/programs/locfile.c: Include <stdbool.h>.
53997 (swap_endianness_p): New variable.
53998 (add_locale_uint32): Call maybe_swap_uint32.
53999 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54000 (write_locale_data): Call maybe_swap_uint32_array.
54001 * locale/programs/ld-collate.c (obstack_int32_grow): Call
54002 maybe_swap_uint32.
54003 (obstack_int32_grow_fast): Likewise.
54004 (output_weightwc): Call maybe_swap_uint32_obstack.
54005 (collate_output): Likewise.
54006 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54007 (OPT_LITTLE_ENDIAN): Likewise.
54008 (options): Add --little-endian and --big-endian options.
54009 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54010 * locale/programs/locarchive.c: Include "locfile.h".
54011 (GET): New macro.
54012 (SET): Likewise.
54013 (INC): Likewise.
54014 (create_archive): Use the new macros to access fields of
54015 structures directly mapped from or written to locale archives.
54016 (oldlocrecentcmp): Likewise.
54017 (enlarge_archive): Likewise.
54018 (insert_name): Likewise.
54019 (add_alias): Likewise.
54020 (add_locale): Likewise.
54021 (delete_locales_from_archive): Likewise.
54022 (show_archive_content): Likewise.
54023 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
54024 locale data.
54025
54026 2013-09-24 Roland McGrath <roland@hack.frob.com>
54027
54028 * manual/freemanuals.texi: Updated from (newly) canonical copy at
54029 http://www.gnu.org/doc/freemanuals.texi.
54030 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54031
54032 2013-09-24 Will Newton <will.newton@linaro.org>
54033
54034 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54035 macro.
54036
54037 2013-09-23 Joseph Myers <joseph@codesourcery.com>
54038
54039 * locale/hashval.h (compute_hashval): Interpret bytes of key as
54040 unsigned char.
54041
54042 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
54043
54044 * manual/threads.texi (POSIX Threads): Fix a typo.
54045
54046 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
54047
54048 [BZ #14547]
54049 * string/tst-strcoll-overflow.c: New test case.
54050 * string/Makefile (xtests): Add tst-strcoll-overflow.
54051 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54052 cache if string sizes may cause integer overflow.
54053
54054 [BZ #14547]
54055 * string/strcoll_l.c (coll_seq): New members rule, idx,
54056 save_idx and back_us.
54057 (get_next_seq_nocache): New function.
54058 (do_compare_nocache): New function.
54059 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54060 when malloc fails.
54061
54062 2013-09-23 Carlos O'Donell <carlos@redhat.com>
54063
54064 [BZ #15754]
54065 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54066 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54067 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54068
54069 [BZ #15754]
54070 * elf/Makefile (tests): Add tst-ptrguard1.
54071 (tests-static): Add tst-ptrguard1-static.
54072 (tst-ptrguard1-ARGS): Define.
54073 (tst-ptrguard1-static-ARGS): Define.
54074 * elf/tst-ptrguard1.c: New file.
54075 * elf/tst-ptrguard1-static.c: New file.
54076 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54077 * sysdeps/i386/stackguard-macros.h: Likewise.
54078 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54079 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54080 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54081 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54082 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54083 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54084
54085 2013-09-23 Hector Marco <hecmargi@upv.es>
54086 Ismael Ripoll <iripoll@disca.upv.es>
54087 Carlos O'Donell <carlos@redhat.com>
54088
54089 [BZ #15754]
54090 * sysdeps/generic/stackguard-macros.h: Define
54091 __pointer_chk_guard_local and POINTER_CHK_GUARD.
54092 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54093 Define __pointer_chk_guard_local.
54094 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54095 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54096
54097 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
54098
54099 [BZ #15859]
54100 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54101
54102 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
54103
54104 * include/string.h (__ffs): Declare as hidden.
54105 * string/ffs.c (__ffs): Define as hidden.
54106 * sysdeps/i386/ffs.c (__ffs): Likewise.
54107 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54108 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54109 * sysdeps/s390/ffs.c (__ffs): Likewise.
54110 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54111
54112 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
54113
54114 * NEWS: Mention malloc probes.
54115
54116 * malloc/arena.c (new_heap): New memory_heap_new probe.
54117 (grow_heap): New memory_heap_more probe.
54118 (shrink_heap): New memory_heap_less probe.
54119 (heap_trim): New memory_heap_free probe.
54120 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54121 (systrim): New memory_sbrk_less probe.
54122 * manual/probes.texi: Document them.
54123
54124 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54125 * manual/probes.texi: Document it.
54126
54127 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54128 (__libc_realloc): Add memory_realloc_retry probe.
54129 (__libc_memalign): Add memory_memalign_retry probe.
54130 (__libc_valloc): Add memory_valloc_retry probe.
54131 (__libc_pvalloc): Add memory_pvalloc_retry probe.
54132 (__libc_calloc): Add memory_calloc_retry probe.
54133 * manual/probes.texi: Document them.
54134
54135 * malloc/arena.c (get_free_list): Add probe
54136 memory_arena_reuse_free_list.
54137 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54138 and memory_arena_reuse.
54139 (arena_get2) [!PER_THREAD]: Likewise.
54140 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54141 memory_arena_reuse_realloc.
54142 * manual/probes.texi: Document them.
54143
54144 * malloc/malloc.c (__libc_free): Add
54145 memory_mallopt_free_dyn_thresholds probe.
54146 (__libc_mallopt): Add multiple memory_mallopt probes.
54147 * manual/probes.texi: Document them.
54148
54149 * malloc/malloc.c: Include stap-probe.h.
54150 (__libc_mallopt): Add memory_mallopt probe.
54151 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54152 * manual/probes.texi: New.
54153 * manual/Makefile (chapters): Add probes.
54154 * manual/threads.texi: Set next node.
54155
54156 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
54157
54158 [BZ #15963, #13985]
54159 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54160 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54161 Add `Chinese' to `nan' entry name.
54162
54163 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
54164
54165 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54166 (POLYNOMIAL): Likewise.
54167 (TAYLOR_SINCOS): Likewise.
54168 (TAYLOR_SLOW): Likewise.
54169 (__sin): Use TAYLOR_SINCOS.
54170 (__cos): Likewise.
54171 (slow): Use TAYLOR_SLOW.
54172 (sloww): Likewise.
54173 (bsloww): Likewise.
54174 (csloww): Likewise.
54175
54176 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54177
54178 * stdlib/strtod_l.c: Fix buffer overrun.
54179
54180 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
54181
54182 * benchtests/Makefile (bench): Add sincos.
54183 * benchtests/bench-sincos.c: New file.
54184
54185 * math/libm-test.inc (cos_test_data): New test inputs.
54186 (sin_test_data): Likewise.
54187
54188 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54189 macro.
54190 (__sin): Use it.
54191 (__cos): Likewise.
54192 (slow1): Likewise.
54193 (slow2): Likewise.
54194 (sloww1): Likewise.
54195 (sloww2): Likewise.
54196 (bsloww1): Likewise.
54197 (bsloww2): Likewise.
54198 (cslow2): Likewise.
54199 (csloww1): Likewise.
54200 (csloww2): Likewise.
54201
54202 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54203 function.
54204 (__sin): Use it.
54205 (__cos): Likewise.
54206
54207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54208 gotos.
54209 (__cos): Likewise.
54210
54211 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
54212
54213 * config.h.in (HAVE_MIPS_NAN2008): New macro.
54214 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54215 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54216 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54217 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54218 * elf/cache.c (print_entry): Handle the new cache flags.
54219
54220 2013-09-18 Joseph Myers <joseph@codesourcery.com>
54221 Aldy Hernandez <aldyh@redhat.com>
54222
54223 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54224 Change condition to [_SOFT_FLOAT].
54225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54237 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54240 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54241 declaration.
54242
54243 2013-09-18 Joseph Myers <joseph@codesourcery.com>
54244
54245 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54246 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54247 (__longjmp): Use LOAD_GP to load saved GPRs.
54248 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54249 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54250 (__sigsetjmp): Use SAVE_GP to save GPRs.
54251
54252 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54253 Do not append -msoft-float.
54254 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54255
54256 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54257
54258 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54259
54260 2013-09-17 Joseph Myers <joseph@codesourcery.com>
54261
54262 [BZ #15966]
54263 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54264 (_FPU_GETCW): Use initial "__" on variable and field names but not
54265 on macro parameter name.
54266 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
54267 parentheses around reference to macro parameter.
54268
54269 2013-09-13 Richard Sandiford <richard@codesourcery.com>
54270
54271 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54272 prototype.
54273 (ctype_startup): Use uint32_t in cast and sizeof for
54274 ctype->charnames.
54275
54276 2013-09-11 Jia Liu <proljc@gmail.com>
54277
54278 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54279 __daddr_t_defined.
54280 [__FreeBSD__]: Likewise.
54281
54282 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
54283
54284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54285 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54286 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54287 (strchr): Remove __strchr_sse42 ifunc selection.
54288 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54289 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54290
54291 2013-09-11 Will Newton <will.newton@linaro.org>
54292
54293 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54294 parameter to RES. Remove hardcoded 1000 value.
54295 * benchtests/bench-skeleton.c (main): Pass RES parameter
54296 to TIMING_INIT and multiply result by 1000.
54297
54298 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54299
54300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54301
54302 2013-09-11 Andreas Schwab <schwab@suse.de>
54303
54304 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54305 if not defined.
54306 (O_TMPFILE) [__USE_GNU]: Define.
54307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54308 Define.
54309
54310 2013-09-11 Will Newton <will.newton@linaro.org>
54311
54312 [BZ #15857]
54313 * malloc/malloc.c (__libc_memalign): Check the value of bytes
54314 does not overflow.
54315
54316 2013-09-11 Will Newton <will.newton@linaro.org>
54317
54318 [BZ #15856]
54319 * malloc/malloc.c (__libc_valloc): Check the value of bytes
54320 does not overflow.
54321
54322 2013-09-11 Will Newton <will.newton@linaro.org>
54323
54324 [BZ #15855]
54325 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54326 does not overflow.
54327
54328 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
54329
54330 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54331 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54332 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54333 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54334 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54335
54336 2013-09-10 Allan McRae <allan@archlinux.org>
54337
54338 [BZ #15748]
54339 * manual/arith.texi (Parsing of Floats): Clarify
54340 cross-reference.
54341
54342 [BZ #15849]
54343 * manual/install.texi (Running make install): Mention
54344 --enable-pt-chown.
54345 * INSTALL: Regenerated.
54346
54347 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
54348
54349 * csu/init-first.c (_init): Remove the !SHARED condition around
54350 FPU control word initialization.
54351 * elf/dl-support.c (_dl_fpu_control): New variable.
54352 (_dl_aux_init) <AT_FPUCW>: Initialize it.
54353 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54354 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54355 * math/test-fpucw-static.c: New file.
54356 * math/test-fpucw-ieee.c: New file.
54357 * math/test-fpucw-ieee-static.c: New file.
54358 * math/Makefile (tests): Add `test-fpucw-ieee' and
54359 `$(tests-static)'.
54360 (tests-static): New variable.
54361 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54362 dependency to...
54363 [($(build-shared),yes)]
54364 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54365 ... this.
54366 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54367 New dependency.
54368
54369 2013-09-09 Allan McRae <allan@archlinux.org>
54370
54371 [BZ #15939]
54372 * manual/string.texi (Collation Functions): Fix typo in
54373 strcoll example.
54374 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54375
54376 [BZ #15893]
54377 * stdlib/isomac.c (get_null_defines): Fix memory leak.
54378
54379 [BZ #15892]
54380 * libio/memstream.c (open_memstream): Fix memory leak.
54381 * libio/wmemstream.c (open_wmemstream): Likewise.
54382
54383 [BZ #15895]
54384 * nscd/netgroupcache.c: Fix nesting of ifdefs.
54385
54386 2013-09-09 Will Newton <will.newton@linaro.org>
54387
54388 * malloc/Makefile: Add tst-realloc to tests.
54389 * malloc/tst-realloc.c: New file.
54390
54391 2013-09-09 Allan McRae <allan@archlinux.org>
54392
54393 [BZ #15844]
54394 * COPYING: Update from GNU website to fix FSF address.
54395 * COPYING.LIB: Likewise.
54396
54397 2013-09-06 David S. Miller <davem@davemloft.net>
54398
54399 * po/zh_TW.po: Update Chinese (traditional) translation from
54400 translation project.
54401
54402 2013-09-06 Richard Sandiford <richard@codesourcery.com>
54403 Joseph Myers <joseph@codesourcery.com>
54404
54405 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
54406 "localeinfo.h".
54407 (obstack_chunk_alloc): New macro.
54408 (obstack_chunk_free): Likewise.
54409 (record_offset): New function.
54410 (init_locale_data): Likewise.
54411 (align_locale_data): Likewise.
54412 (add_locale_empty): Likewise.
54413 (add_locale_raw_data): Likewise.
54414 (add_locale_raw_obstack): Likewise.
54415 (add_locale_string): Likewise.
54416 (add_locale_wstring): Likewise.
54417 (add_locale_uint32): Likewise.
54418 (add_locale_uint32_array): Likewise.
54419 (add_locale_char): Likewise.
54420 (start_locale_structure): Likewise.
54421 (end_locale_structure): Likewise.
54422 (start_locale_prelude): Likewise.
54423 (end_locale_prelude): Likewise.
54424 (write_locale_data): Take locale_file structure rather than an
54425 iovec.
54426 * locale/programs/locfile.h: Include "obstack.h".
54427 (struct locale_file): Change to store locale file contents instead
54428 of header.
54429 (init_locale_data): New prototype.
54430 (align_locale_data): Likewise.
54431 (add_locale_empty): Likewise.
54432 (add_locale_raw_data): Likewise.
54433 (add_locale_raw_obstack): Likewise.
54434 (add_locale_string): Likewise.
54435 (add_locale_wstring): Likewise.
54436 (add_locale_uint32): Likewise.
54437 (add_locale_uint32_array): Likewise.
54438 (add_locale_char): Likewise.
54439 (start_locale_structure): Likewise.
54440 (end_locale_structure): Likewise.
54441 (start_locale_prelude): Likewise.
54442 (end_locale_prelude): Likewise.
54443 (write_locale_data): Update prototype.
54444 * locale/programs/3level.h (struct TABLE): Remove result field.
54445 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
54446 Use new locale_file interface.
54447 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
54448 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
54449 * locale/programs/ld-address.c (address_output): Use new
54450 locale_file interface.
54451 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
54452 NO_ADD_LOCALE.
54453 (collate_finish): Don't call collseq_table_finalize.
54454 (collate_output): Use new locale_file interface.
54455 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
54456 in file.
54457 (NO_FINALIZE): Change to NO_ADD_LOCALE.
54458 (TABLE): Move defines earlier in file.
54459 (ELEMENT): Likewise.
54460 (DEFAULT): Likewise.
54461 (wctrans_table_add): Move macro and inline function earlier in
54462 file.
54463 (struct wctype_table): Move type earlier in file.
54464 (add_locale_wctype_table): New static prototype.
54465 (struct locale_ctype_t): Use logical types instead of struct iovec
54466 pointers for members.
54467 (ctype_output): Use new locale_file interface.
54468 (wctype_table_finalize): Change to add_locale_wctype_table. Use
54469 new locale_file interface.
54470 (allocate_arrays): Update for use of new locale_file interface.
54471 * locale/programs/ld-identification.c (identification_output): Use
54472 new locale_file interface.
54473 * locale/programs/ld-measurement.c (measurement_output): Likewise.
54474 * locale/programs/ld-messages.c (messages_output): Likewise.
54475 * locale/programs/ld-monetary.c (monetary_output): Likewise.
54476 * locale/programs/ld-name.c (name_output): Likewise.
54477 * locale/programs/ld-numeric.c (numeric_output): Likewise.
54478 * locale/programs/ld-paper.c (paper_output): Likewise.
54479 * locale/programs/ld-telephone.c (telephone_output): Likewise.
54480 * locale/programs/ld-time.c (time_output): Likewise.
54481
54482 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54483
54484 * benchtests/Makefile: Add memrchr benchmark.
54485 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
54486 benchmark as memrchr.
54487 * benchtests/bench-memrchr-ifunc.c: New file.
54488 * benchtests/bench-memrchr.c: New file.
54489
54490 2013-09-06 Will Newton <will.newton@linaro.org>
54491
54492 * benchtests/Makefile (string-bench): Add memcpy.
54493
54494 2013-09-05 Carlos O'Donell <carlos@redhat.com>
54495 Cong Wang <amwang@redhat.com>
54496
54497 [BZ #15850]
54498 * sysdeps/unix/sysv/linux/bits/in.h
54499 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
54500 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
54501 before __USE_KERNEL_IPV6_DEFS uses.
54502 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
54503 IPPROTO_BEETPH.
54504 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
54505 sockaddr_in6, or ipv6_mreq.
54506
54507 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54508
54509 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
54510 memory access for final bytes in some large inputs.
54511 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
54512
54513 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54514
54515 * string/test-memrchr.c: New file.
54516 * string/test-memrchr-ifunc.c: New file.
54517 * string/Makefile: Add new memrchr testcase.
54518
54519 2013-09-05 Mike Frysinger <vapier@gentoo.org>
54520
54521 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
54522 fanotify_init returns EPERM.
54523
54524 2013-09-04 Joseph Myers <joseph@codesourcery.com>
54525
54526 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
54527 errors.
54528 (top level): Treat second token from macro or constant entries for
54529 allowed headers as allowed.
54530 * include/complex.h: Condition internal declarations on
54531 [!_ISOMAC].
54532 * include/fenv.h: Condition include of <stdbool.h> and internal
54533 declarations on [!_ISOMAC].
54534
54535 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
54536
54537 [BZ #15923]
54538 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
54539
54540 2013-09-04 Joseph Myers <joseph@codesourcery.com>
54541
54542 * configure.in (--enable-versioning): Remove configure option.
54543 (libc_cv_asm_symver_directive): Remove configure test.
54544 (libc_cv_ld_version_script_option): Likewise.
54545 (VERSIONING): Remove variable and AC_SUBST.
54546 (DO_VERSIONING): Remove AC_DEFINE.
54547 * configure: Regenerated.
54548 * config.h.in (DO_VERSIONING): Remove macro.
54549 * Makerules [$(versioning) = yes]: Change conditionals to
54550 [$(build-shared) = yes].
54551 * config.make.in (versioning): Remove variable.
54552 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
54553 [$(build-shared) = yes].
54554 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
54555 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
54556 * elf/Makefile [$(versioning) = yes]: Change conditionals to
54557 [$(build-shared) = yes].
54558 * extra-lib.mk [$(versioning) = yes]: Likewise.
54559 * hurd/Makefile [$(versioning) = yes]: Likewise.
54560 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
54561 [SHARED].
54562 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
54563 [SHARED].
54564 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54565 [SHARED && !NO_HIDDEN].
54566 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
54567 [SHARED].
54568 [SHARED && DO_VERSIONING]: Likewise..
54569 * libio/Makefile [$(versioning) = yes]: Change conditionals to
54570 [$(build-shared) = yes].
54571 * manual/install.texi (--disable-versioning): Remove
54572 documentation.
54573 * INSTALL: Regenerated.
54574 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
54575 to [SHARED].
54576 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
54577 [$(build-shared) = yes].
54578 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
54579 * sysdeps/i386/i686/multiarch/strstr-c.c
54580 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54581 [SHARED && !NO_HIDDEN].
54582 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
54583 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
54584 * sysdeps/powerpc/powerpc32/dl-machine.c
54585 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
54586 * sysdeps/powerpc/powerpc32/sysdep.h
54587 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
54588 to [SHARED && PIC && !NO_HIDDEN].
54589 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
54590 conditional to [SHARED].
54591
54592 2013-09-04 Will Newton <will.newton@linaro.org>
54593
54594 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
54595 * benchtests/bench-string.h: Include bench-timing.h instead
54596 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
54597 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
54598 call to HP_TIMING_DIFF_INIT.
54599 * benchtests/bench-memccpy.c: Use bench-timing.h macros
54600 instead of hp-timing.h macros.
54601 * benchtests/bench-memchr.c: Likewise.
54602 * benchtests/bench-memcmp.c: Likewise.
54603 * benchtests/bench-memcpy.c: Likewise.
54604 * benchtests/bench-memmem.c: Likewise.
54605 * benchtests/bench-memmove.c: Likewise.
54606 * benchtests/bench-memset.c: Likewise.
54607 * benchtests/bench-rawmemchr.c: Likewise.
54608 * benchtests/bench-strcasecmp.c: Likewise.
54609 * benchtests/bench-strcasestr.c: Likewise.
54610 * benchtests/bench-strcat.c: Likewise.
54611 * benchtests/bench-strchr.c: Likewise.
54612 * benchtests/bench-strcmp.c: Likewise.
54613 * benchtests/bench-strcpy.c: Likewise.
54614 * benchtests/bench-strcpy_chk.c: Likewise.
54615 * benchtests/bench-strlen.c: Likewise.
54616 * benchtests/bench-strncasecmp.c: Likewise.
54617 * benchtests/bench-strncat.c: Likewise.
54618 * benchtests/bench-strncmp.c: Likewise.
54619 * benchtests/bench-strncpy.c: Likewise.
54620 * benchtests/bench-strnlen.c: Likewise.
54621 * benchtests/bench-strpbrk.c: Likewise.
54622 * benchtests/bench-strrchr.c: Likewise.
54623 * benchtests/bench-strspn.c: Likewise.
54624 * benchtests/bench-strstr.c: Likewise.
54625
54626 2013-09-04 Will Newton <will.newton@linaro.org>
54627
54628 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
54629
54630 2013-09-03 Joseph Myers <joseph@codesourcery.com>
54631
54632 [BZ #15427]
54633 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
54634 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
54635 * math/libm-test.inc (lgamma_test_data): Add more tests.
54636 * sysdeps/i386/fpu/libm-test-ulps: Update.
54637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54638
54639 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
54640
54641 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
54642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54643 Add ifunc.
54644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54645 Add strcmp-sse2-unaligned
54646 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
54647
54648 2013-09-02 Mike Frysinger <vapier@gentoo.org>
54649
54650 * Versions.def (libc): Add GLIBC_2.19.
54651
54652 2013-09-02 Mike Frysinger <vapier@gentoo.org>
54653
54654 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
54655 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
54656
54657 2013-09-02 Joseph Myers <joseph@codesourcery.com>
54658
54659 [BZ #14155]
54660 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
54661 intermediate calculations in recurrence.
54662 (__ieee754_ynf): Likewise.
54663 * math/libm-test.inc (jn_test_data): Do not allow spurious
54664 underflow exception. Add more tests.
54665 (yn_test_data): Add more tests.
54666 * sysdeps/i386/fpu/libm-test-ulps: Update.
54667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54668
54669 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
54670
54671 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
54672
54673 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
54674
54675 * csu/init-first.c: Fix then/than typos.
54676 * locale/programs/ld-collate.c: Likewise.
54677 * locale/programs/linereader.h: Likewise.
54678 * manual/charset.texi: Likewise.
54679 * manual/filesys.texi: Likewise.
54680 * manual/stdio.texi: Likewise.
54681 * manual/string.texi: Likewise.
54682 * stdlib/fmtmsg.c: Likewise.
54683 * sysdeps/i386/stpncpy.S: Likewise.
54684 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54685 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54686 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54687 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54688
54689 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
54690
54691 * elf/dl-open.c: Fix typos.
54692 * iconvdata/gbbig5.c: Likewise.
54693 * iconvdata/iso-2022-jp.c: Likewise.
54694 * iconv/gconv_int.h: Likewise.
54695 * iconv/loop.c: Likewise.
54696 * nis/rpcsvc/nis.h: Likewise.
54697 * resolv/ns_name.c: Likewise.
54698 * stdio-common/vfscanf.c: Likewise.
54699 * streams/stropts.h: Likewise.
54700 * sunrpc/rpc_thread.c: Likewise.
54701 * sysdeps/i386/strpbrk.S: Likewise.
54702 * sysdeps/ieee754/k_standard.c: Likewise.
54703 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54705 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
54706 * sysdeps/mach/hurd/profil.c: Likewise.
54707 * sysdeps/s390/dl-procinfo.h: Likewise.
54708 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
54709 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
54710 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
54711 * sysdeps/x86_64/dl-trampoline.S: Likewise.
54712 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54713
54714 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
54715
54716 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
54717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
54718
54719 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
54720
54721 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
54722 aix specific files.
54723 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
54724 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
54725 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
54726 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
54727 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
54728 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
54729 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
54730 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
54731
54732 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
54733 Roland McGrath <roland@hack.frob.com>
54734
54735 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
54736 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
54737
54738 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
54739
54740 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
54741 __executable_start symbol instead of _start.
54742
54743 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
54744
54745 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
54746 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
54747 Move macros to...
54748 * sysdeps/gnu/ldsodefs.h: ... this new file.
54749
54750 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
54751 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
54752 instead of ELFOSABI_LINUX.
54753
54754 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
54755 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
54756 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
54757 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
54758 Likewise.
54759 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
54760 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
54761 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
54762 Likewise.
54763 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54764 (ibm_extended_long_double): Add ieee_nan member.
54765 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
54766 (do_test): New function.
54767
54768 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
54769 TEST_TRUNC.
54770 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
54771 functions, renamed from truncdfsf_test, trunctfsf_test,
54772 trunctfdf_test.
54773 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
54774 functions.
54775 (do_test): Run all these.
54776
54777 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
54778
54779 * argp/argp-help.c: Fix typos.
54780 * argp/argp-parse.c: Likewise.
54781 * debug/backtracesyms.c: Likewise.
54782 * elf/elf.h: Likewise.
54783 * malloc/malloc.c: Likewise.
54784 * nis/nis_print.c: Likewise.
54785 * resolv/res_comp.c: Likewise.
54786 * stdlib/stdlib.h: Likewise.
54787 * sunrpc/clnt_tcp.c: Likewise.
54788 * sunrpc/clnt_udp.c: Likewise.
54789 * sunrpc/clnt_unix.c: Likewise.
54790 * sysdeps/unix/bsd/ptsname.c: Likewise.
54791 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
54792 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
54793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
54794 Likewise.
54795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
54796 Likewise.
54797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
54798 Likewise.
54799 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54800
54801 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54802
54803 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
54804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54805
54806 2013-08-27 Mike Frysinger <vapier@gentoo.org>
54807
54808 [BZ #15897]
54809 * dlfcn/Makefile (tests): Add bug-dl-leaf.
54810 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
54811 ($(objpfx)bug-dl-leaf): New rule.
54812 ($(objpfx)bug-dl-leaf.so): Likewise.
54813 ($(objpfx)bug-dl-leaf.out): Likewise.
54814 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
54815 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
54816 * dlfcn/bug-dl-leaf.c: New test.
54817 * dlfcn/bug-dl-leaf-lib.c: Likewise.
54818 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
54819 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
54820 (dlclose): Likewise.
54821 (dlmopen): Likewise.
54822
54823 2013-08-27 Roland McGrath <roland@hack.frob.com>
54824
54825 * include/netdb.h [!_ISOMAC]:
54826 Don't include <tls.h>.
54827 (h_errno, __libc_h_errno): Move declaration and macros out of
54828 [_LIBC_REENTRANT].
54829
54830 * include/resolv.h [_RESOLV_H_]:
54831 Don't include <tls.h>.
54832 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
54833 * resolv/res_libc.c: Don't include <tls.h>.
54834 (_res): Use __attribute__ ((nocommon)) in place of
54835 __attribute__ ((section (".bss"))).
54836
54837 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
54838 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
54839
54840 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
54841
54842 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
54843 only under [SIOCGIFCONF && SIOCGIFNETMASK].
54844
54845 * resolv/res_mkquery.c: Include <sys/time.h>.
54846
54847 * inet/ifreq.c: Moved to ...
54848 * sysdeps/unix/ifreq.c: ... here.
54849 * inet/ifreq.c: New file, true stub version.
54850
54851 * socket/sa_len.c: New file.
54852 * socket/Makefile (aux): Add it.
54853 * sysdeps/unix/sysv/linux/Makefile
54854 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
54855 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
54856 and #include <socket/sa_len.c>.
54857 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
54858 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
54859
54860 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
54861 * bits/socket.h: ... here.
54862
54863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
54864 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
54865 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
54866
54867 2013-08-27 Andreas Schwab <schwab@suse.de>
54868
54869 [BZ #15736]
54870 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
54871 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
54872 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
54873 * string/test-strcasecmp.c (test_main): Run tests in several
54874 locales.
54875 * string/test-strncasecmp.c (test_main): Likewise.
54876
54877 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
54878 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
54879 to __strcasecmp_nonascii and __strncasecmp_nonascii.
54880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
54881 (__strncasecmp_ssse3) [PIC]: Likewise.
54882
54883 2013-08-26 Roland McGrath <roland@hack.frob.com>
54884
54885 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
54886
54887 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
54888 instead of explicitly declaring xdecrypt.
54889 * nis/nss_nis/nis-publickey.c: Likewise.
54890
54891 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54892
54893 [BZ #15890]
54894 * nscd/aicache.c: Include res_hconf.h.
54895 (addhstaiX): Initialize res_hconf.
54896
54897 2013-08-26 Andreas Schwab <schwab@suse.de>
54898
54899 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
54900 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
54901
54902 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54903
54904 * nscd/aicache.c (addhstaiX): Fix indentation.
54905
54906 2013-08-25 Mike Frysinger <vapier@gentoo.org>
54907
54908 * configure.ac: Quote $build_pt_chown test.
54909 * configure: Regenerated.
54910
54911 2013-08-23 Joseph Myers <joseph@codesourcery.com>
54912
54913 [BZ #15532]
54914 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
54915 * math/s_cexpf.c (__cexpf): Likewise.
54916 * math/s_cexpl.c (__cexpl): Likewise.
54917 * math/libm-test.inc (cexp_test_data): Correct expected return
54918 value for NaN + i0. Add another test.
54919
54920 2013-08-22 David S. Miller <davem@davemloft.net>
54921
54922 * po/ca.po: Update Catalan translation from translation project.
54923 * po/uk.po: Add Ukrainian translations from translation project.
54924
54925 2013-08-21 Joseph Myers <joseph@codesourcery.com>
54926
54927 [BZ #15797]
54928 * math/s_fdim.c (__fdim): Check for infinite arguments if result
54929 is infinite, not alongside NaN test.
54930 * math/s_fdimf.c (__fdimf): Likewise.
54931 * math/s_fdiml.c (__fdiml): Likewise.
54932 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
54933 errno is unchanged.
54934
54935 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
54936
54937 * argp/argp-help.c: Fix typos.
54938 * crypt/speeds.c: Likewise.
54939 * csu/check_fds.c: Likewise.
54940 * elf/dl-load.c: Likewise.
54941 * elf/dl-open.c: Likewise.
54942 * elf/reldep3.c: Likewise.
54943 * elf/reldep.c: Likewise.
54944 * elf/sprof.c: Likewise.
54945 * iconv/iconv_charmap.c: Likewise.
54946 * iconv/skeleton.c: Likewise.
54947 * iconv/strtab.c: Likewise.
54948 * io/lockf64.c: Likewise.
54949 * libio/libioP.h: Likewise.
54950 * resolv/gai_notify.c: Likewise.
54951 * resolv/ns_name.c: Likewise.
54952 * resolv/ns_samedomain.c: Likewise.
54953 * resolv/res_send.c: Likewise.
54954 * stdlib/random.c: Likewise.
54955 * sunrpc/rpc/xdr.h: Likewise.
54956 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
54957 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54958 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54959 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54960 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54964 * sysdeps/mach/hurd/check_fds.c: Likewise.
54965 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54966 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54968 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54969 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54970 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54971 * sysdeps/pthread/aio_notify.c: Likewise.
54972 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
54973 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
54974 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
54975 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54976 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54977
54978 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54979
54980 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
54981 version if bit_Slow_SSE4_2 is set.
54982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54983 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54984
54985 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54986
54987 [BZ #15867]
54988 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
54989 trampoline stack frame information.
54990 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
54991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
54992 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
54993 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
54994 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
54995 * sysdeps/unix/sysv/linux/powerpc/init-first.c
54996 (_libc_vdso_platform_setup): Initialize the signal trampolines.
54997 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
54998 sa_flags value.
54999 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55000 interrupting a syscall and set with option SA_SIGINFO.
55001
55002 2013-08-20 Joseph Myers <joseph@codesourcery.com>
55003
55004 [BZ #15531]
55005 * math/s_cproj.c (__cproj): Only return an infinity if one part of
55006 argument is infinite.
55007 * math/s_cprojf.c (__cprojf): Likewise.
55008 * math/s_cprojl.c (__cprojl): Likewise.
55009 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55010 * math/libm-test.inc (cproj_test_data): Add more tests.
55011
55012 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55013
55014 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55015 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55016 size. Use __ffs to determine corresponding shift.
55017
55018 2013-08-20 Joseph Myers <joseph@codesourcery.com>
55019 Roland McGrath <roland@hack.frob.com>
55020
55021 * Makefile (INSTALL): Remove trailing blank lines from output of
55022 makeinfo.
55023
55024 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55025
55026 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55027 Align 32 bit compat elf_greg to 8 bytes.
55028
55029 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
55030
55031 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55032
55033 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
55034
55035 * string/strcoll_l.c (coll_seq): New structure.
55036 (get_next_seq_cached): New function.
55037 (get_next_seq): New function.
55038 (do_compare): New function.
55039 (STRCOLL): Use GNU style definition. Simplify implementation
55040 by using get_next_seq, get_next_seq_cached and do_compare.
55041
55042 2013-08-16 Florian Weimer <fweimer@redhat.com>
55043
55044 [BZ #14699]
55045 CVE-2013-4237
55046 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55047 member.
55048 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55049 member.
55050 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55051 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55052 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
55053 conditional.
55054 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55055 GETDENTS_64BIT_ALIGNED.
55056 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55057 * manual/filesys.texi (Reading/Closing Directory): Document
55058 ENAMETOOLONG return value of readdir_r. Recommend readdir more
55059 strongly.
55060 * manual/conf.texi (Limits for Files): Add portability note to
55061 NAME_MAX, PATH_MAX.
55062 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55063
55064 2013-08-13 Andreas Schwab <schwab@suse.de>
55065
55066 [BZ #15749]
55067 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55068 of fabs.
55069 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55070 LDBL_MAX_EXP >= 16384]: Add tests for it.
55071
55072 2013-08-12 David S. Miller <davem@davemloft.net>
55073
55074 * version.h (RELEASE): Set to "development".
55075 (VERSION): Set to "2.18.90".
55076 * NEWS: Add 2.19 section.
55077
55078 2013-08-03 David S. Miller <davem@davemloft.net>
55079
55080 * po/ko.po: Update Korean translation from translation project.
55081
55082 2013-08-01 David S. Miller <davem@davemloft.net>
55083
55084 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
55085 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55086 Bilka.
55087
55088 2013-07-30 David S. Miller <davem@davemloft.net>
55089
55090 * po/fr.po: Update French translation from translation project.
55091
55092 2013-07-28 David S. Miller <davem@davemloft.net>
55093
55094 * po/cs.po: Update Czech translation from translation project.
55095
55096 * po/sv.po: Update Swedish translation from translation project.
55097
55098 2013-07-27 David S. Miller <davem@davemloft.net>
55099
55100 * po/eo.po: Update Esperanto translation from translation project.
55101
55102 * po/vi.po: Update Vietnamese translation from translation project.
55103
55104 * po/de.po: Update German translation from translation project.
55105
55106 2013-07-26 David S. Miller <davem@davemloft.net>
55107
55108 * po/bg.po: Update Bulgarian translation from translation project.
55109
55110 * po/nl.po: Update Dutch translation from translation project.
55111 * po/pl.po: Update Polish translation from translation project.
55112 * po/ru.po: Update Russian translation from translation project.
55113
55114 2013-07-24 David S. Miller <davem@davemloft.net>
55115
55116 * po/libc.pot: Update.
55117
55118 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55119
55120 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55121 variable page size.
55122 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55123 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55124 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55125
55126 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55127
55128 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55129
55130 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55131 Andreas Schwab <schwab@suse.de>
55132 Roland McGrath <roland@hack.frob.com>
55133 Joseph Myers <joseph@codesourcery.com>
55134 Carlos O'Donell <carlos@redhat.com>
55135
55136 [BZ #15755]
55137 * config.h.in: Define HAVE_PT_CHOWN.
55138 * config.make.in (build-pt-chown): New variable.
55139 * configure.in (--enable-pt_chown): New configure option.
55140 * configure: Regenerate.
55141 * login/Makefile: Include Makeconfig. Build pt_chown only if
55142 build-pt-chown is enabled.
55143 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55144 pt_chown to fix pty ownership.
55145 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55146 CLOSE_ALL_FDS.
55147 * manual/install.texi (Configuring and compiling): Mention
55148 --enable-pt_chown. Add @findex for grantpt.
55149 * INSTALL: Regenerate.
55150
55151 2013-07-20 David S. Miller <davem@davemloft.net>
55152
55153 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55154 difference between 32-bit and 64-bit.
55155
55156 2013-07-15 Carlos O'Donell <carlos@redhat.com>
55157
55158 [BZ #15711]
55159 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55160 Avoid system header dependency with -ffreestanding.
55161 ($(objpfx)bits/syscall%d): Likewise.
55162
55163 2013-07-13 David S. Miller <davem@davemloft.net>
55164
55165 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55166 underflows from atanl/atan2l due to bug 15319.
55167 (casinh_test_data): Likewise.
55168
55169 2013-07-07 David S. Miller <davem@davemloft.net>
55170
55171 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55172
55173 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
55174
55175 * sysdeps/i386/fpu/libm-test-ulps: Update.
55176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55177
55178 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55179
55180 * configure.in (--enable-lock-elision): Fix message text.
55181 * INSTALL: Regenerate.
55182 * configure: Regenerate.
55183
55184 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55185
55186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55187
55188 2013-07-03 Andreas Jaeger <aj@suse.de>
55189
55190 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55191 define.
55192 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55193 (ptrace_peeksiginfo_args): Add.
55194 (__ptrace_peeksiginfo_flags): Add.
55195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55196 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55198
55199 2013-07-03 Allan McRae <allan@archlinux.org>
55200
55201 * sysdeps/i386/fpu/libm-test-ulps: Update.
55202
55203 2013-07-02 David S. Miller <davem@davemloft.net>
55204
55205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55206
55207 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
55208
55209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55210
55211 2013-07-02 Joseph Myers <joseph@codesourcery.com>
55212
55213 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55215
55216 2013-07-02 Andi Kleen <ak@linux.intel.com>
55217
55218 * config.h.in (ENABLE_LOCK_ELISION): Add.
55219 * configure.in (--enable-lock-elision): Add option.
55220 * manual/install.texi: Document --enable lock elision.
55221 * configure: Regenerate
55222 * INSTALL: Regenerate.
55223
55224 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
55225
55226 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55227 SSE4.2 strcasecmp for libc.a.
55228 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55229
55230 2013-07-02 Joseph Myers <joseph@codesourcery.com>
55231
55232 [BZ #13304]
55233 * soft-fp/op-common.h (_FP_FMA): New macro.
55234 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55235 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
55236 (_FP_MUL_MEAT_1_imm): ... here.
55237 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
55238 (_FP_MUL_MEAT_1_wide): ... here.
55239 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
55240 (_FP_MUL_MEAT_1_hard): ... here.
55241 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55242 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
55243 (_FP_MUL_MEAT_2_wide): ... here.
55244 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
55245 (_FP_MUL_MEAT_2_wide_3mul): ... here.
55246 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
55247 (_FP_MUL_MEAT_2_gmp): ... here.
55248 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55249 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
55250 (_FP_MUL_MEAT_4_wide): ... here.
55251 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
55252 (_FP_MUL_MEAT_4_gmp): ... here.
55253 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55254 (_FP_WFRACBITS_DW_S): Likewise.
55255 (_FP_WFRACXBITS_DW_S): Likewise.
55256 (_FP_HIGHBIT_DW_S): Likewise.
55257 (FP_FMA_S): Likewise.
55258 (_FP_FRAC_HIGH_DW_S): Likewise.
55259 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55260 (_FP_WFRACBITS_DW_D): Likewise.
55261 (_FP_WFRACXBITS_DW_D): Likewise.
55262 (_FP_HIGHBIT_DW_D): Likewise.
55263 (FP_FMA_D): Likewise.
55264 (_FP_FRAC_HIGH_DW_D): Likewise.
55265 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55266 (_FP_WFRACBITS_DW_E): Likewise.
55267 (_FP_WFRACXBITS_DW_E): Likewise.
55268 (_FP_HIGHBIT_DW_E): Likewise.
55269 (FP_FMA_E): Likewise.
55270 (_FP_FRAC_HIGH_DW_E): Likewise.
55271 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55272 (_FP_WFRACBITS_DW_Q): Likewise.
55273 (_FP_WFRACXBITS_DW_Q): Likewise.
55274 (_FP_HIGHBIT_DW_Q): Likewise.
55275 (FP_FMA_Q): Likewise.
55276 (_FP_FRAC_HIGH_DW_Q): Likewise.
55277 * soft-fp/fmasf4.c: New file.
55278 * soft-fp/fmadf4.c: Likewise.
55279 * soft-fp/fmatf4.c: Likewise.
55280
55281 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55282
55283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55284 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55285 Silvermont.
55286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55287 macro.
55288 (index_Slow_SSE4_2): Likewise.
55289 (index_Prefer_PMINUB_for_stringop): Likewise.
55290 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55291 bit_Slow_SSE4_2 is set.
55292 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55293 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55294
55295 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55296
55297 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55298 rtld_global._dl_hwcap2.
55299 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55300 POWER8.
55301 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55302 POWER8 feature descriptions defined in _dl_hwcap2.
55303 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55304 string handling for POWER8 feature bits.
55305 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55306 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55307 _dl_powerpc_cap_flags.
55308 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55309 * sysdeps/powerpc/rtld-global-offsets.sym
55310 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55311 _dl_hwcap2 in the rtld_global_ro structure.
55312
55313 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55314
55315 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55316 hardware capabilities in support of AT_HWCAP2.
55317 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55318 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55319 GLRO(dl_hwcap2).
55320 (_dl_show_auxv): Add support for calling _dl_procinfo to display
55321 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
55322 explicitly the unknown a_type display mechanism is used.
55323 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55324 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55325 struct member.
55326 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55327 to macro prototype for AT_HWCAP2 support.
55328 * sysdeps/i386/dl-procinfo.h: Likewise.
55329 * sysdeps/s390/dl-procinfo.h: Likewise.
55330 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55331 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
55332 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
55333 return -1 for unknown a_type display fallback.
55334 * sysdeps/sparc/dl-procinfo.h: Likewise.
55335 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55336 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55337
55338 2013-06-28 Joseph Myers <joseph@codesourcery.com>
55339
55340 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55341 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55342
55343 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
55344
55345 [BZ #12492]
55346 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55347 mprotect making __stack_prot writable.
55348
55349 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
55350 Joseph Myers <joseph@codesourcery.com>
55351
55352 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55353 as being properly aligned.
55354
55355 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
55356
55357 * dlfcn/modstatic5.c: New file.
55358 * dlfcn/tststatic5.c: New file.
55359 * dlfcn/Makefile (tests): Add tststatic5.
55360 (tests-static): Likewise.
55361 (modules-names): Add modstatic5.
55362 (tststatic5-ENV): New variable.
55363 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55364
55365 [BZ #15022]
55366 * elf/dl-support.c (_dl_main_map): New variable.
55367 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55368 (_dl_nns, _dl_load_adds): Set to 1.
55369 (_dl_initial_searchlist): Refer to _dl_main_map.
55370 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55371 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55372 call to _dl_get_origin.
55373 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55374 around call_map.
55375 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
55376 * dlfcn/modstatic3.c: New file.
55377 * dlfcn/tststatic3.c: New file.
55378 * dlfcn/tststatic4.c: New file.
55379 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
55380 (tests-static): Likewise.
55381 (modules-names): Add modstatic3.
55382 (tststatic3-ENV, tststatic4-ENV): New variables.
55383 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
55384 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
55385
55386 2013-06-26 Joseph Myers <joseph@codesourcery.com>
55387
55388 * configure.in (CC): Require GCC version 4.4 or later.
55389 * configure: Regenerated.
55390 * manual/install.texi (Tools for Compilation): Update GCC version
55391 requirement.
55392 * INSTALL: Regenerated.
55393
55394 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55395
55396 [BZ #15674]
55397 * string/test-memcmp.c (check2): New.
55398 (main): Call check2.
55399
55400 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
55401
55402 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
55403
55404 [BZ #15022]
55405 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
55406 over to...
55407 (dl_open_worker) [!SHARED]: ... here.
55408
55409 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55410
55411 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
55412
55413 2013-06-25 Richard Henderson <rth@redhat.com>
55414
55415 * locale/programs/locarchive.c: Include <libc-internal.h>
55416
55417 2013-06-25 Joseph Myers <joseph@codesourcery.com>
55418
55419 * manual/texinfo.tex: Update to version 2013-06-21.17, with
55420 trailing whitespace removed.
55421
55422 2013-06-24 Mike Frysinger <vapier@gentoo.org>
55423
55424 [BZ #10283]
55425 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
55426 * locale/programs/locarchive.c: Include libc-mmap.h.
55427 (prepare_address_space): Take two new outputs (the mmap base and len).
55428 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
55429 values.
55430 (create_archive): Declare new mmap base and len values for
55431 prepare_address_space, and store the result in ah.
55432 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
55433 (enlarge_archive): If ah->mmap_base is not NULL, use that and
55434 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55435 Declare new mmap base and len values for
55436 prepare_address_space, and store the result in new_ah.
55437 (open_archive): Declare new mmap base and len values for
55438 prepare_address_space, and store the result in ah.
55439 (close_archive): If ah->mmap_base is not NULL, use that and
55440 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55441 * sysdeps/generic/libc-mmap.h: New file.
55442
55443 2013-06-24 Mike Frysinger <vapier@gentoo.org>
55444
55445 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
55446 (ALIGN_UP): Likewise.
55447 (PTR_ALIGN_DOWN): Likewise.
55448 (PTR_ALIGN_UP): Likewise.
55449
55450 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55451
55452 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
55453 entry mapped to PPC_PLATFORM_POWER8.
55454 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
55455 POWER8.
55456 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
55457 (_dl_string_platform): Add case for exporting platform position for
55458 POWER8.
55459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
55460 search path to sysdeps/powerpc/powerpc32/power8 directory.
55461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
55462 search path to sysdeps/powerpc/powerpc64/power8 directory.
55463 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
55464 power7 directories.
55465 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
55466 power7 directories.
55467
55468 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
55469
55470 * INSTALL: Regenerate.
55471
55472 * nscd/connections.c (nscd_init): Fix comment.
55473
55474 2013-06-22 Joseph Myers <joseph@codesourcery.com>
55475
55476 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
55477
55478 [BZ #15667]
55479 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
55480 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
55481
55482 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
55483
55484 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
55485 DL_DST_REQ_STATIC.
55486 (DL_DST_REQ_STATIC): Remove macro.
55487
55488 2013-06-21 Joseph Myers <joseph@codesourcery.com>
55489
55490 [BZ #7006]
55491 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
55492 with a shift of 0 bits.
55493
55494 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
55495
55496 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
55497 $(tststatic-ENV).
55498
55499 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55500
55501 [BZ #15655]
55502 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
55503
55504 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55505
55506 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
55507 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
55508 accepts -fno-tree-loop-distribute-patterns.
55509 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
55510 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
55511 recursive call.
55512 * string/memset.c (memset): Likewise.
55513 * string/test-memmove.c (simple_memmove): Disable loop transformation
55514 to library calls.
55515 * string/test-memset.c (simple_memset): Likewise.
55516 * benchtests/bench-memmove.c (simple_memmove): Likewise.
55517 * benchtests/bench-memset.c (simple_memset): Likewise.
55518 * configure: Regenerated.
55519
55520 2013-06-20 Joseph Myers <joseph@codesourcery.com>
55521
55522 * math/test-misc.c (main): Ignore fesetround failure when failures
55523 of subsequent rounding tests would be ignored.
55524
55525 [BZ #15654]
55526 * math/fedisblxcpt.c (fedisableexcept): Return 0.
55527 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
55528 * math/fegetenv.c (__fegetenv): Return 0.
55529 * math/fegetexcept.c (fegetexcept): Return 0.
55530 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
55531 FE_TONEAREST.
55532 * math/feholdexcpt.c (feholdexcept): Return 0.
55533 * math/fesetenv.c (__fesetenv): Return 0.
55534 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
55535 argument FE_TONEAREST.
55536 * math/feupdateenv.c (__feupdateenv): Return 0.
55537 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
55538
55539 2013-06-18 Roland McGrath <roland@hack.frob.com>
55540
55541 * elf/rtld-Rules (rtld-compile-command.S): New variable.
55542 (rtld-compile-command.s, rtld-compile-command.c): New variables.
55543 ($(objpfx)rtld-%.os rules): Use them.
55544
55545 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55546
55547 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
55548 fields.
55549
55550 2013-06-17 Roland McGrath <roland@hack.frob.com>
55551
55552 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
55553 length of target pattern, then descending length of dependency pattern.
55554 * configure.in (AWK): Require gawk 3.1.2 or newer.
55555 * manual/install.texi (Tools for Compilation): Say that we do.
55556 * configure: Regenerated.
55557
55558 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
55559 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
55560 * scripts/sysd-rules.awk: ... this new script.
55561 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
55562 than a glob-style pattern.
55563
55564 2013-06-17 Joseph Myers <joseph@codesourcery.com>
55565
55566 * math/test-misc.c (main): Do not treat incorrectly rounded
55567 conversions as failure unless ROUNDING_TESTS passes.
55568
55569 2013-06-15 Joseph Myers <joseph@codesourcery.com>
55570
55571 [BZ #15631]
55572 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
55573 restore exception state around main square root computation, then
55574 check for inexactness explicitly.
55575
55576 * math/libm-test.inc (fma_test_data): Add another test.
55577
55578 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
55579
55580 * manual/threads.texi (Non-POSIX Extensions): New document
55581 node. Document pthread_getattr_default_np and
55582 pthread_setattr_default_np.
55583
55584 * Versions.def (libpthread): Add GLIBC_2.18.
55585 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
55586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55587 Likewise.
55588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55589 Likewise.
55590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55591 Likewise.
55592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55593 Likewise.
55594 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
55595 Likewise.
55596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55597 Likewise.
55598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55599 Likewise.
55600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55601 Likewise.
55602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55603 Likewise.
55604
55605 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55606
55607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55608 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
55609
55610 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
55611 H.J. Lu <hjl.tools@gmail.com>
55612
55613 [BZ #15627]
55614 * sysdeps/x86_64/rtld-memset.c: Remove file.
55615 * sysdeps/x86_64/rtld-memset.S: New file.
55616
55617 2013-06-14 Joseph Myers <joseph@codesourcery.com>
55618
55619 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
55620 (test_in_one_mode): Take arguments for whether the rounding mode
55621 is supported for each floating-point type.
55622 (do_test): Pass new arguments to test_in_one_mode using
55623 ROUNDING_TESTS.
55624
55625 2013-06-13 Roland McGrath <roland@hack.frob.com>
55626
55627 * posix/tst-waitid.c (do_test): Distinguish different instances of
55628 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
55629 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
55630 before entering the kernel for waitpid.
55631
55632 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
55633
55634 * NEWS: Fix note on clock function precision. Text by Roland
55635 McGrath.
55636
55637 2013-06-13 Roland McGrath <roland@hack.frob.com>
55638
55639 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
55640 it into place only when and if the sanity check passes.
55641
55642 2013-06-13 Joseph Myers <joseph@codesourcery.com>
55643
55644 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
55645 output for whether conversion result is exact. Take argument
55646 indicating whether type is IBM long double.
55647 (round_for_all): Change need_exact field to ibm_ld.
55648 * stdlib/tst-strtod-round.c (struct exactness): New type.
55649 (struct test): Change bool ld_ok field to struct exactness exact.
55650 (TEST): Update all definitions for change to field.
55651 (tests): Regenerate array contents.
55652 (test_in_one_mode): Take pointer to new field instead of old ld_ok
55653 field value. Check for IBM long double here.
55654 (do_test): Update calls to test_in_one_mode.
55655
55656 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
55657
55658 [BZ #12515]
55659 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
55660 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
55661
55662 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55663
55664 [BZ #15605]
55665 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
55666 generated by the compiler on loop optimizations.
55667 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
55668 general definitions.
55669
55670 2013-06-12 Joseph Myers <joseph@codesourcery.com>
55671
55672 * math/bug-nextafter.c: Include <math-tests.h>.
55673 (main): Only test for exceptions if EXCEPTION_TESTS is true for
55674 the relevant type.
55675 * math/bug-nexttoward.c: Include <math-tests.h>.
55676 (main): Only test for exceptions if EXCEPTION_TESTS is true for
55677 the relevant type.
55678 * math/test-misc.c: Include <math-tests.h>.
55679 (main): Only test for exceptions if EXCEPTION_TESTS is true for
55680 the relevant type.
55681
55682 2013-06-12 Andreas Jaeger <aj@suse.de>
55683
55684 * po/ia.po: Update Interlingua translation from translation
55685 project.
55686
55687 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
55688
55689 * include/fenv.h: Include stdbool.h.
55690 (struct rm_ctx): New structure.
55691 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
55692 Define macro.
55693 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
55694 (SET_RESTORE_ROUNDF): Likewise.
55695 (SET_RESTORE_ROUNDL): Likewise.
55696 (SET_RESTORE_ROUND_NOEX): Likewise.
55697 (SET_RESTORE_ROUND_NOEXF): Likewise.
55698 (SET_RESTORE_ROUND_NOEXL): Likewise.
55699 (SET_RESTORE_ROUND_53BIT): Likewise.
55700 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
55701 (libc_feresetround_noexf_ctx): Likewise.
55702 (libc_feresetround_noexl_ctx): Likewise.
55703 (libc_feholdsetround_53bit_ctx): Likewise.
55704 (libc_feresetround_53bit_ctx): Likewise.
55705 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
55706 (libc_feholdexcept_setround_sse_ctx): New function.
55707 (libc_fesetenv_sse_ctx): Likewise.
55708 (libc_feupdateenv_sse_ctx): Likewise.
55709 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
55710 (libc_feholdexcept_setround_387_ctx): Likewise.
55711 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
55712 (libc_feholdsetround_387_prec_ctx): Likewise.
55713 (libc_feholdsetround_387_ctx): Likewise.
55714 (libc_feholdsetround_387_53bit_ctx): Likewise.
55715 (libc_feholdsetround_sse_ctx): Likewise.
55716 (libc_feresetround_sse_ctx): Likewise.
55717 (libc_feresetround_387_ctx): Likewise.
55718 (libc_feupdateenv_387_ctx): Likewise.
55719 (libc_feholdexcept_setroundf_ctx): Define macro.
55720 (libc_fesetenvf_ctx): Likewise.
55721 (libc_feupdateenvf_ctx): Likewise.
55722 (libc_feholdsetroundf_ctx): Likewise.
55723 (libc_feresetroundf_ctx): Likewise.
55724 (libc_feholdexcept_setround_ctx): Likewise.
55725 (libc_fesetenv_ctx): Likewise.
55726 (libc_feupdateenv_ctx): Likewise.
55727 (libc_feholdsetround_ctx): Likewise.
55728 (libc_feresetround_ctx): Likewise.
55729 (libc_feholdexcept_setroundl_ctx): Likewise.
55730 (libc_feupdateenvl_ctx): Likewise.
55731 (libc_feholdsetroundl_ctx): Likewise.
55732 (libc_feresetroundl_ctx): Likewise.
55733 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
55734 (libc_feresetround_53bit_ctx): Likewise.
55735
55736 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55737
55738 * locale/iso-639.def: Convert to UTF-8.
55739
55740 2013-06-11 Joseph Myers <joseph@codesourcery.com>
55741
55742 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
55743 (EXCEPTION_TESTS_double): Likewise.
55744 (EXCEPTION_TESTS_long_double): Likewise.
55745 (EXCEPTION_TESTS): Likewise.
55746 * math/libm-test.inc (test_exceptions): Only test exceptions if
55747 EXCEPTION_TESTS (FLOAT).
55748
55749 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55750
55751 * benchtests/Makefile (string-bench): Add strcpy_chk and
55752 stpcpy_chk.
55753 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
55754 * benchtests/bench-stpcpy_chk.c: New file.
55755 * benchtests/bench-strcpy_chk-ifunc.c: New file.
55756 * benchtests/bench-strcpy_chk.c: New file.
55757 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
55758 code.
55759 (do_test): Likewise.
55760
55761 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55762
55763 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
55764 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
55765 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
55766 with tabs where appropriate.
55767 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
55768 dl-procinfo.h.
55769 [PPC_PLATFORM_PPC440]: Likewise.
55770 [PPC_PLATFORM_PPC464]: Likewise.
55771 [PPC_PLATFORM_PPC476]: Likewise.
55772 (_dl_string_platform): Add support for detecting ppc405, ppc440,
55773 ppc464, and ppc476 platform strings merging from ports/
55774 dl-procinfo.h.
55775
55776 2013-06-11 Andreas Schwab <schwab@suse.de>
55777
55778 [BZ #14991]
55779 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
55780 (from_ucs4_idx): Regenerate.
55781 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
55782 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
55783 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
55784 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
55785 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
55786 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
55787 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
55788 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
55789 from FROM_LOOP and TO_LOOP specific macros.
55790 (BODY): Handle combining characters.
55791 * iconvdata/BIG5HKSCS.irreversible: Update.
55792 * iconvdata/BIG5HKSCS.precomposed: New file.
55793 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
55794 characters.
55795 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
55796
55797 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55798
55799 * include/sys/time.h: Fix indentation and add copyright header.
55800
55801 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
55802 (do_test): Likewise.
55803 * string/test-memchr.c (do_one_test): Likewise.
55804 (do_test): Likewise.
55805 * string/test-memcmp.c (do_one_test): Likewise.
55806 (do_test): Likewise.
55807 * string/test-memcpy.c (do_one_test): Likewise.
55808 (do_test): Likewise.
55809 * string/test-memmem.c (do_one_test): Likewise.
55810 (do_test): Likewise.
55811 (do_random_tests): Likewise.
55812 * string/test-memmove.c (do_one_test): Likewise.
55813 (do_test): Likewise.
55814 * string/test-memset.c (do_one_test): Likewise.
55815 (do_test): Likewise.
55816 * string/test-rawmemchr.c (do_one_test): Likewise.
55817 (do_test): Likewise.
55818 * string/test-strcasecmp.c (do_one_test): Likewise.
55819 (do_test): Likewise.
55820 * string/test-strcasestr.c (do_one_test): Likewise.
55821 (do_test): Likewise.
55822 * string/test-strcat.c (do_one_test): Likewise.
55823 (do_test): Likewise.
55824 * string/test-strchr.c (do_one_test): Likewise.
55825 (do_test): Likewise.
55826 * string/test-strcmp.c (do_one_test): Likewise.
55827 (do_test): Likewise.
55828 * string/test-strcpy.c (do_one_test): Likewise.
55829 (do_test): Likewise.
55830 * string/test-string.h: Likewise.
55831 (test_init): Likewise.
55832 * string/test-strlen.c (do_one_test): Likewise.
55833 (do_test): Likewise.
55834 * string/test-strncasecmp.c (do_one_test): Likewise.
55835 (do_test): Likewise.
55836 * string/test-strncat.c (do_one_test): Likewise.
55837 (do_test): Likewise.
55838 * string/test-strncmp.c (do_one_test): Likewise.
55839 (do_test_limit): Likewise.
55840 (do_test): Likewise.
55841 * string/test-strncpy.c (do_one_test): Likewise.
55842 (do_test): Likewise.
55843 * string/test-strnlen.c (do_one_test): Likewise.
55844 (do_test): Likewise.
55845 * string/test-strpbrk.c (do_one_test): Likewise.
55846 (do_test): Likewise.
55847 * string/test-strrchr.c (do_one_test): Likewise.
55848 (do_test): Likewise.
55849 * string/test-strspn.c (do_one_test): Likewise.
55850 (do_test): Likewise.
55851 * string/test-strstr.c (do_one_test): Likewise.
55852 (do_test): Likewise.
55853
55854 * benchtests/Makefile (string-bench): Add string benchmarks.
55855 * benchtests/bench-bcopy-ifunc.c: New file.
55856 * benchtests/bench-bcopy.c: New file.
55857 * benchtests/bench-bzero-ifunc.c: New file.
55858 * benchtests/bench-bzero.c: New file.
55859 * benchtests/bench-memccpy-ifunc.c: New file.
55860 * benchtests/bench-memccpy.c: New file.
55861 * benchtests/bench-memchr-ifunc.c: New file.
55862 * benchtests/bench-memchr.c: New file.
55863 * benchtests/bench-memcmp-ifunc.c: New file.
55864 * benchtests/bench-memcmp.c: New file.
55865 * benchtests/bench-memmem-ifunc.c: New file.
55866 * benchtests/bench-memmem.c: New file.
55867 * benchtests/bench-memmove-ifunc.c: New file.
55868 * benchtests/bench-memmove.c: New file.
55869 * benchtests/bench-mempcpy-ifunc.c: New file.
55870 * benchtests/bench-mempcpy.c: New file.
55871 * benchtests/bench-memset-ifunc.c: New file.
55872 * benchtests/bench-memset.c: New file.
55873 * benchtests/bench-rawmemchr-ifunc.c: New file.
55874 * benchtests/bench-rawmemchr.c: New file.
55875 * benchtests/bench-stpcpy-ifunc.c: New file.
55876 * benchtests/bench-stpcpy.c: New file.
55877 * benchtests/bench-stpncpy-ifunc.c: New file.
55878 * benchtests/bench-stpncpy.c: New file.
55879 * benchtests/bench-strcasecmp-ifunc.c: New file.
55880 * benchtests/bench-strcasecmp.c: New file.
55881 * benchtests/bench-strcasestr-ifunc.c: New file.
55882 * benchtests/bench-strcasestr.c: New file.
55883 * benchtests/bench-strcat-ifunc.c: New file.
55884 * benchtests/bench-strcat.c: New file.
55885 * benchtests/bench-strchr-ifunc.c: New file.
55886 * benchtests/bench-strchr.c: New file.
55887 * benchtests/bench-strchrnul-ifunc.c: New file.
55888 * benchtests/bench-strchrnul.c: New file.
55889 * benchtests/bench-strcmp-ifunc.c: New file.
55890 * benchtests/bench-strcmp.c: New file.
55891 * benchtests/bench-strcpy-ifunc.c: New file.
55892 * benchtests/bench-strcpy.c: New file.
55893 * benchtests/bench-strcspn-ifunc.c: New file.
55894 * benchtests/bench-strcspn.c: New file.
55895 * benchtests/bench-strlen-ifunc.c: New file.
55896 * benchtests/bench-strlen.c: New file.
55897 * benchtests/bench-strncasecmp-ifunc.c: New file.
55898 * benchtests/bench-strncasecmp.c: New file.
55899 * benchtests/bench-strncat-ifunc.c: New file.
55900 * benchtests/bench-strncat.c: New file.
55901 * benchtests/bench-strncmp-ifunc.c: New file.
55902 * benchtests/bench-strncmp.c: New file.
55903 * benchtests/bench-strncpy-ifunc.c: New file.
55904 * benchtests/bench-strncpy.c: New file.
55905 * benchtests/bench-strnlen-ifunc.c: New file.
55906 * benchtests/bench-strnlen.c: New file.
55907 * benchtests/bench-strpbrk-ifunc.c: New file.
55908 * benchtests/bench-strpbrk.c: New file.
55909 * benchtests/bench-strrchr-ifunc.c: New file.
55910 * benchtests/bench-strrchr.c: New file.
55911 * benchtests/bench-strspn-ifunc.c: New file.
55912 * benchtests/bench-strspn.c: New file.
55913 * benchtests/bench-strstr-ifunc.c: New file.
55914 * benchtests/bench-strstr.c: New file.
55915
55916 * benchtests/Makefile: Disable parallel execution of targets.
55917 (string-bench): Add memcpy.
55918 (benchset): New variable to store a list of benchmark sets.
55919 (bench-func): Renamed from bench.
55920 (bench-set): New target.
55921 (bench): Depend on bench-func and bench-set.
55922 * benchtests/README: Add section on benchmark sets.
55923 * benchtests/bench-memcpy-ifunc.c: New file.
55924 * benchtests/bench-memcpy.c: New file.
55925 * benchtests/bench-string.h: New file.
55926
55927 2013-06-11 Andreas Schwab <schwab@suse.de>
55928
55929 [BZ #15577]
55930 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
55931 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
55932 values in the triple.
55933 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
55934 terminator in the group key.
55935
55936 2013-06-11 Andreas Jaeger <aj@suse.de>
55937
55938 * po/zh_TW.po: Update Chinese (traditional) translation from
55939 translation project.
55940
55941 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55942
55943 * include/time.h (__clock_gettime): Add libc_hidden_proto.
55944 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
55945 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
55946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55947 (clock_getcpuclockid): Likewise.
55948 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
55949 Add weak_alias and libc_hidden_def.
55950 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
55951 * rt/clock_gettime.c (clock_gettime): Rename to
55952 __clock_gettime. Add weak_alias and libc_hidden_def.
55953 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
55954 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
55955 __clock_nanosleep. Add weak_alias and libc_hidden_def.
55956 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
55957 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
55958 Likewise.
55959 * rt/clock_settime.c (clock_settime): Rename to
55960 __clock_settime. Add weak_alias and libc_hidden_def.
55961 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
55962
55963 2013-06-10 Joseph Myers <joseph@codesourcery.com>
55964
55965 * mach/err_boot.sub: Remove trailing whitespace.
55966 * mach/err_ipc.sub: Likewise.
55967 * mach/err_mach.sub: Likewise.
55968
55969 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
55970 (ROUNDING_TESTS_double): Likewise.
55971 (ROUNDING_TESTS_long_double): Likewise.
55972 (ROUNDING_TESTS): Likewise.
55973 * math/libm-test.inc: Include <math-tests.h>.
55974 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
55975 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55976 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55977 (IF_ROUND_INIT_FE_UPWARD): Likewise.
55978
55979 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55980
55981 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
55982 of assigning.
55983
55984 2013-06-08 Joseph Myers <joseph@codesourcery.com>
55985
55986 * sysdeps/gnu/errlist.awk: Do not generate space at end of
55987 otherwise empty TRANS lines.
55988 * sysdeps/gnu/errlist.c: Regenerated.
55989
55990 * catgets/gencat.c (error_print): Use (void) in function
55991 definition.
55992 * crypt/crypt_util.c (__init_des): Likewise.
55993 * crypt/speeds.c (Stop): Likewise.
55994 (main): Likewise.
55995 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
55996 * inet/ruserpass.c (token): Likewise.
55997 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
55998 * intl/localealias.c (extend_alias_table): Likewise.
55999 * intl/plural-exp.c (init_germanic_plural): Likewise.
56000 * libio/fcloseall.c (__fcloseall): Likewise.
56001 * libio/genops.c (_IO_flush_all): Likewise.
56002 (_IO_flush_all_linebuffered): Likewise.
56003 (_IO_cleanup): Likewise.
56004 (_IO_iter_begin): Likewise.
56005 (_IO_iter_end): Likewise.
56006 (_IO_list_lock): Likewise.
56007 (_IO_list_unlock): Likewise.
56008 (_IO_list_resetlock): Likewise.
56009 * libio/getchar.c (getchar): Likewise.
56010 * libio/getchar_u.c (getchar_unlocked): Likewise.
56011 * libio/getwchar.c (getwchar): Likewise.
56012 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56013 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56014 * login/getpt.c (__getpt): Likewise.
56015 * login/tst-utmp.c (main): Likewise.
56016 * malloc/hooks.c (__malloc_check_init): Likewise.
56017 * malloc/malloc.c (__malloc_stats): Likewise.
56018 * malloc/mtrace.c (tr_break): Likewise.
56019 (mtrace): Likewise.
56020 (muntrace): Likewise.
56021 * misc/fstab.c (endfsent): Likewise.
56022 * misc/getclktck.c (__getclktck): Likewise.
56023 * misc/getdtsz.c (__getdtablesize): Likewise.
56024 * misc/gethostid.c (gethostid): Likewise.
56025 * misc/getpagesize.c (__getpagesize): Likewise.
56026 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56027 (__get_nprocs): Likewise.
56028 (__get_phys_pages): Likewise.
56029 (__get_avphys_pages): Likewise.
56030 * misc/getttyent.c (getttyent): Likewise.
56031 (setttyent): Likewise.
56032 (endttyent): Likewise.
56033 * misc/getusershell.c (getusershell): Likewise.
56034 (endusershell): Likewise.
56035 (setusershell): Likewise.
56036 (initshells): Likewise.
56037 * misc/hsearch.c (__hdestroy): Likewise.
56038 * misc/sync.c (sync): Likewise.
56039 * misc/syslog.c (closelog_internal): Likewise.
56040 (closelog): Likewise.
56041 * misc/ttyslot.c (ttyslot): Likewise.
56042 * misc/vhangup.c (vhangup): Likewise.
56043 * posix/fork.c (__fork): Likewise.
56044 * posix/getegid.c (__getegid): Likewise.
56045 * posix/geteuid.c (__geteuid): Likewise.
56046 * posix/getgid.c (__getgid): Likewise.
56047 * posix/getpid.c (__getpid): Likewise.
56048 * posix/getppid.c (__getppid): Likewise.
56049 * posix/getuid.c (__getuid): Likewise.
56050 * posix/pause.c (pause): Likewise.
56051 * posix/setpgrp.c (setpgrp): Likewise.
56052 * posix/setsid.c (__setsid): Likewise.
56053 * posix/test-vfork.c (noop): Likewise.
56054 * resolv/gethnamaddr.c (_endhtent): Likewise.
56055 (_gethtent): Likewise.
56056 (ht_endhostent): Likewise.
56057 (gethostent): Likewise.
56058 (dns_service): Likewise.
56059 * stdlib/drand48.c (drand48): Likewise.
56060 * stdlib/lrand48.c (lrand48): Likewise.
56061 * stdlib/mrand48.c (mrand48): Likewise.
56062 * stdlib/rand.c (rand): Likewise.
56063 * stdlib/random.c (__random): Likewise.
56064 * stdlib/setenv.c (clearenv): Likewise.
56065 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56066 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56067 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56068 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56069 (__get_nprocs): Likewise.
56070 (__get_phys_pages): Likewise.
56071 (__get_avphys_pages): Likewise.
56072 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56073 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56074 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56075 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56076 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56077 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56078 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56079 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56080 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56081 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56082 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56083 * sysdeps/mach/hurd/sync.c (sync): Likewise.
56084 * sysdeps/posix/clock.c (clock): Likewise.
56085 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56086 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56087 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56088 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56089 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56091 (__get_nprocs_conf): Likewise.
56092 (__get_phys_pages): Likewise.
56093 (__get_avphys_pages): Likewise.
56094 * time/clock.c (clock): Likewise.
56095 * time/tzset.c (__tzname_max): Likewise.
56096
56097 2013-06-07 Joseph Myers <joseph@codesourcery.com>
56098
56099 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56100 (__bswap_32): Do not use "register".
56101 * crypt/crypt.c (_ufc_doit_r): Likewise.
56102 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56103 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56104 * gmon/gmon.c (__monstartup): Likewise.
56105 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56106 * hurd/hurdmalloc.c (more_memory): Likewise.
56107 (malloc): Likewise.
56108 (free): Likewise.
56109 (realloc): Likewise.
56110 (malloc_fork_prepare): Likewise.
56111 (malloc_fork_parent): Likewise.
56112 (malloc_fork_child): Likewise.
56113 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56114 (_svcauth_des): Likewise.
56115 * inet/inet_lnaof.c (inet_lnaof): Likewise.
56116 * inet/inet_net.c (inet_network): Likewise.
56117 * inet/inet_netof.c (inet_netof): Likewise.
56118 * inet/rcmd.c (__validuser2_sa): Likewise.
56119 * io/fts.c (fts_open): Likewise.
56120 (fts_load): Likewise.
56121 (fts_close): Likewise.
56122 (fts_read): Likewise.
56123 (fts_children): Likewise.
56124 (fts_build): Likewise.
56125 (fts_stat): Likewise.
56126 (fts_sort): Likewise.
56127 (fts_alloc): Likewise.
56128 (fts_lfree): Likewise.
56129 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56130 (_IO_file_xsgetn): Likewise.
56131 (_IO_file_xsgetn_mmap): Likewise.
56132 * libio/iofopncook.c (_IO_cookie_read): Likewise.
56133 (_IO_cookie_write): Likewise.
56134 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56135 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56136 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56137 * malloc/obstack.c (_obstack_begin): Likewise.
56138 (_obstack_begin_1): Likewise.
56139 (_obstack_newchunk): Likewise.
56140 (_obstack_allocated_p): Likewise.
56141 (obstack_free): Likewise.
56142 (_obstack_memory_used): Likewise.
56143 * misc/getttyent.c (getttynam): Likewise.
56144 (getttyent): Likewise.
56145 (skip): Likewise.
56146 (value): Likewise.
56147 * misc/getusershell.c (initshells): Likewise.
56148 * misc/syslog.c (__vsyslog_chk): Likewise.
56149 * misc/ttyslot.c (ttyslot): Likewise.
56150 * nis/nis_hash.c (__nis_hash): Likewise.
56151 * posix/fnmatch_loop.c (FCT): Likewise.
56152 * posix/getconf.c (print_all): Likewise.
56153 (main): Likewise.
56154 * posix/getopt.c (exchange): Likewise.
56155 * posix/glob.c (globfree): Likewise.
56156 (prefix_array): Likewise.
56157 (__glob_pattern_type): Likewise.
56158 * resolv/arpa/nameser.h (NS_GET16): Likewise.
56159 (NS_GET32): Likewise.
56160 (NS_PUT16): Likewise.
56161 (NS_PUT32): Likewise.
56162 * resolv/gethnamaddr.c (getanswer): Likewise.
56163 (gethostbyname2): Likewise.
56164 (gethostbyaddr): Likewise.
56165 (_gethtent): Likewise.
56166 (_gethtbyname2): Likewise.
56167 (_gethtbyaddr): Likewise.
56168 * resolv/ns_print.c (dst_s_get_int16): Likewise.
56169 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56170 * resolv/res_init.c (__res_vinit): Likewise.
56171 (net_mask): Likewise.
56172 * resolv/res_mkquery.c (outchar): Likewise.
56173 (PRINT): Likewise.
56174 * stdio-common/printf_fp.c (outchar): Likewise.
56175 (PRINT): Likewise.
56176 * stdio-common/printf_fphex.c (outchar): Likewise.
56177 (PRINT): Likewise.
56178 * stdio-common/printf_size.c (outchar): Likewise.
56179 (PRINT): Likewise.
56180 * stdio-common/test_rdwr.c (main): Likewise.
56181 * stdio-common/tfformat.c (matches): Likewise.
56182 * stdio-common/vfprintf.c (outchar): Likewise.
56183 (printf_unknown): Likewise.
56184 (buffered_vfprintf): Likewise.
56185 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56186 * stdio-common/xbug.c (AppendToBuffer): Likewise.
56187 (ReadFile): Likewise.
56188 * stdlib/qsort.c (SWAP): Likewise.
56189 (_quicksort): Likewise.
56190 * stdlib/setenv.c (__add_to_environ): Likewise.
56191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56192 * stdlib/strtol_l.c (__strtol_l): Likewise.
56193 * stdlib/tst-strtod.c (main): Likewise.
56194 * stdlib/tst-strtol.c (main): Likewise.
56195 * stdlib/tst-strtoll.c (main): Likewise.
56196 * string/bits/string2.h (__strcmp_cc): Likewise.
56197 (__strcmp_cg): Likewise.
56198 (__strcspn_c1): Likewise.
56199 (__strcspn_c2): Likewise.
56200 (__strcspn_c3): Likewise.
56201 (__strspn_c1): Likewise.
56202 (__strspn_c2): Likewise.
56203 (__strspn_c3): Likewise.
56204 (__strsep_1c): Likewise.
56205 (__strsep_2c): Likewise.
56206 (__strsep_3c): Likewise.
56207 * string/memccpy.c (__memccpy): Likewise.
56208 * string/stpcpy.c (__stpcpy): Likewise.
56209 * string/strcmp.c (strcmp): Likewise.
56210 * string/strrchr.c (strrchr): Likewise.
56211 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56212 Likewise.
56213 * sysdeps/mach/hurd/getcwd.c
56214 (_hurd_canonicalize_directory_name_internal): Likewise.
56215 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56216 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56217 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56218 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56219 Likewise, in both definitions.
56220 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56221 definitions.
56222 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56223 64] (__bswap_64): Likewise.
56224 * time/test_time.c (main): Likewise.
56225 * time/tzfile.c (__tzfile_read): Likewise.
56226 (__tzfile_compute): Likewise.
56227 * time/tzset.c (__tzset_parse_tz): Likewise.
56228 (tzset_internal): Likewise.
56229 (compute_change): Likewise.
56230 * wcsmbs/wcscat.c (__wcscat): Likewise.
56231 * wcsmbs/wcschr.c (wcschr): Likewise.
56232 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56233 * wcsmbs/wcscspn.c (wcscspn): Likewise.
56234 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56235 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56236 * wcsmbs/wcsspn.c (wcsspn): Likewise.
56237 * wcsmbs/wcsstr.c (wcsstr): Likewise.
56238 * wcsmbs/wmemchr.c (wmemchr): Likewise.
56239 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56240 * wcsmbs/wmemset.c (wmemset): Likewise.
56241
56242 2013-06-06 Joseph Myers <joseph@codesourcery.com>
56243
56244 * scripts/config.guess: Update to version 2013-05-16.
56245 * scripts/config.sub: Update to version 2013-04-24.
56246 * scripts/install-sh: Update to version 2011-11-20.07.
56247 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56248 * scripts/move-if-change: Update to version 2012-01-06 07:23.
56249
56250 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
56251
56252 * debug/fgetws_u_chk.c: Fix leading whitespaces.
56253 * elf/sln.c: Likewise.
56254 * hurd/hurd/ioctl.h: Likewise.
56255 * hurd/hurdmalloc.c: Likewise.
56256 * hurd/xattr.c: Likewise.
56257 * include/shlib-compat.h: Likewise.
56258 * inet/ruserpass.c: Likewise.
56259 * libio/iofgets_u.c: Likewise.
56260 * libio/iofgetws_u.c: Likewise.
56261 * locale/programs/ld-identification.c: Likewise.
56262 * locale/programs/ld-time.c: Likewise.
56263 * mach/msg-destroy.c: Likewise.
56264 * nss/nss_files/files-netgrp.c: Likewise.
56265 * resolv/res_data.c: Likewise.
56266 * soft-fp/op-1.h: Likewise.
56267 * soft-fp/op-2.h: Likewise.
56268 * soft-fp/op-4.h: Likewise.
56269 * soft-fp/op-common.h: Likewise.
56270 * stdio-common/printf_fphex.c: Likewise.
56271 * stdlib/strtod_l.c: Likewise.
56272 * sunrpc/rpc/clnt.h: Likewise.
56273 * sysdeps/generic/framestate.c: Likewise.
56274 * sysdeps/i386/bsd-_setjmp.S: Likewise.
56275 * sysdeps/i386/bsd-setjmp.S: Likewise.
56276 * sysdeps/i386/__longjmp.S: Likewise.
56277 * sysdeps/i386/setjmp.S: Likewise.
56278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56279 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56280 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56281 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56283 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56287 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56291 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56292 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56294 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56295 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56296 * sysdeps/ieee754/support.c: Likewise.
56297 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56298 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56299 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56300 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56301 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56302 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56303 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56304 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56305 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56306 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56307 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56308 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56309 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56310 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56311 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56312 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56313 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56315
56316 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
56317
56318 * posix/transbug.c: Remove executable mode.
56319
56320 2013-06-05 Joseph Myers <joseph@codesourcery.com>
56321
56322 * crypt/speeds.c: Remove trailing whitespace.
56323 * dlfcn/default.c: Likewise.
56324 * elf/ifuncdep2.c: Likewise.
56325 * elf/ifuncmain1.c: Likewise.
56326 * elf/ifuncmain1vis.c: Likewise.
56327 * elf/testobj.h: Likewise.
56328 * elf/tst-stackguard1.c: Likewise.
56329 * gmon/sys/gmon.h: Likewise.
56330 * hurd/hurdmsg.c: Likewise.
56331 * hurd/new-fd.c: Likewise.
56332 * hurd/ports-get.c: Likewise.
56333 * iconvdata/ibm1008_420.c: Likewise.
56334 * inet/tst-getni1.c: Likewise.
56335 * inet/tst-getni2.c: Likewise.
56336 * libio/ioungetc.c: Likewise.
56337 * libio/wfiledoalloc.c: Likewise.
56338 * manual/libm-err-tab.pl: Likewise.
56339 * math/w_dremf.c: Likewise.
56340 * misc/ftruncate.c: Likewise.
56341 * posix/bug-glob2.c: Likewise.
56342 * posix/tst-pcre.c: Likewise.
56343 * posix/wait4.c: Likewise.
56344 * resolv/README: Likewise.
56345 * resolv/res_debug.h: Likewise.
56346 * resolv/tst-inet_ntop.c: Likewise.
56347 * setjmp/bug269-setjmp.c: Likewise.
56348 * soft-fp/extended.h: Likewise.
56349 * soft-fp/op-1.h: Likewise.
56350 * soft-fp/op-2.h: Likewise.
56351 * soft-fp/op-4.h: Likewise.
56352 * soft-fp/op-8.h: Likewise.
56353 * soft-fp/testit.c: Likewise.
56354 * stdio-common/bug16.c: Likewise.
56355 * stdlib/random.c: Likewise.
56356 * sunrpc/rpcsvc/rquota.x: Likewise.
56357 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56358 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56360 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56361 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56363 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56364 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56365 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56367 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56368 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56369 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56370 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56371 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56372 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56373 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56375 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56376 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56377 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56378 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56379 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
56380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56386 * sysdeps/ieee754/s_lib_version.c: Likewise.
56387 * sysdeps/mach/hurd/check_fds.c: Likewise.
56388 * sysdeps/mach/hurd/getsockname.c: Likewise.
56389 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
56390 * sysdeps/mach/hurd/recvfrom.c: Likewise.
56391 * sysdeps/powerpc/bits/link.h: Likewise.
56392 * sysdeps/powerpc/dl-procinfo.c: Likewise.
56393 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
56394 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
56395 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
56396 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56397 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56398 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
56399 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56400 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
56401 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56402 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
56403 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56404 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
56405 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56406 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56407 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56408 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56411 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56412 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56413 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
56414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56415 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56416 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
56417 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56418 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56419 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56420 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56421 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56422 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56423 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56426 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
56427 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56428 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
56429 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56430 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
56431 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
56432 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
56433 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
56434 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
56435 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
56436 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56437 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
56438 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
56439 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56440 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
56441 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
56442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56444 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56445 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56446 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
56447 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
56448 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
56449 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56450 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
56451 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
56452 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
56453 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
56454 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
56455 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56456 * sysdeps/powerpc/sysdep.h: Likewise.
56457 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56458 * sysdeps/s390/s390-64/sub_n.S: Likewise.
56459 * sysdeps/sh/dl-trampoline.S: Likewise.
56460 * sysdeps/sh/memset.S: Likewise.
56461 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
56462 * sysdeps/sh/strlen.S: Likewise.
56463 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
56464 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
56465 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
56466 * sysdeps/sparc/sparc32/rem.S: Likewise.
56467 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
56468 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
56469 * sysdeps/sparc/sparc32/strchr.S: Likewise.
56470 * sysdeps/sparc/sparc32/udiv.S: Likewise.
56471 * sysdeps/sparc/sparc32/urem.S: Likewise.
56472 * sysdeps/sparc/sparc64/add_n.S: Likewise.
56473 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56474 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
56475 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
56476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
56477 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
56478 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
56479 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
56480 * sysdeps/unix/bsd/times.c: Likewise.
56481 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
56482 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
56483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
56484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
56485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
56486 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
56487 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56488 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
56489 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
56490 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
56491 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
56492 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56493 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
56494 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56495 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56496 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
56497 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56498 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
56499 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
56500 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
56501 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
56502 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
56503 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56504 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
56505 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
56506 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
56507 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
56508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56509 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
56510 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
56511 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
56512 * sysdeps/x86_64/strcspn.S: Likewise.
56513
56514 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56515
56516 * locale/C-translit.h: Revert #include <stdint.h> because this is a
56517 generated file. Regenerate properly from gen-translit.pl.
56518 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
56519 locale/C-translit.h.
56520
56521 2013-06-05 Andreas Schwab <schwab@suse.de>
56522
56523 [BZ #15100]
56524 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
56525 week as 6 instead of -1.
56526 * time/tst-strptime.c (day_tests): Add test case.
56527
56528 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
56529
56530 * sysdeps/generic/math_private.h
56531 (libc_feholdexcept_setround_53bit): Replace with
56532 libc_feholdsetround_53bit.
56533 (libc_feupdateenv_53bit): Replace with
56534 libc_feresetround_53bit.
56535 (SET_RESTORE_ROUND_53BIT): Adjust.
56536
56537 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56538
56539 * string/test-strchrnul.c: Add copyright header.
56540
56541 * posix/tst-getaddrinfo4.c: Increase test timeout.
56542
56543 2013-06-03 Carlos O'Donell <carlos@redhat.com>
56544
56545 [BZ #15536]
56546 * math/libm-test.inc (MAX_EXP): Remove
56547 (MIN_EXP): Define.
56548 (ulp): Use MIN_EXP - MANT_DIG.
56549 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
56550
56551 2013-05-31 Carlos O'Donell <carlos@redhat.com>
56552
56553 * po/be.po: Revert last change.
56554 * po/zh_CN.po: Likewise.
56555 * po/header.pot: Likewise.
56556
56557 2013-05-31 Joseph Myers <joseph@codesourcery.com>
56558
56559 * Makefile ($(common-objpfx)linkobj/libc.so): Define
56560 link-libc-deps to empty as target-specific variable.
56561 * Makerules (link-libc-args): New variable.
56562 (libc-for-link): Likewise.
56563 (link-libc-deps): Likewise.
56564 (lib%.so): Depend on $(link-libc-deps). Link with
56565 $(link-libc-args).
56566 (build-module): Link with $(link-libc-args).
56567 (build-module-asneeded): Likewise.
56568 (build-module-helper-objlist): Filter out $(link-libc-deps) from
56569 list of objects.
56570 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
56571 target-specific variable.
56572 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
56573 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
56574 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
56575 libc.
56576 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
56577 libc and ld.so.
56578 ($(objpfx)libpcprofile.so): Likewise.
56579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
56580 libc_nonshared.a.
56581 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
56582 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
56583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
56584 $(link-libc-deps).
56585 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
56586 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
56587 * login/Makefile ($(objpfx)libutil.so): Likewise.
56588 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
56589 * math/Makefile ($(objpfx)libm.so): Likewise.
56590 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
56591 $(objpfx)libnsl.so): Define libc-for-link as target-specific
56592 variable instead of depending directly on libc.
56593 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
56594 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
56595 $(link-libc-deps).
56596 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
56597 libc.
56598 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
56599 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
56600 ($(objpfx)libanl.so): Likewise.
56601 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
56602 ld.so.
56603 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
56604 $(link-libc-deps).
56605 * sysdeps/i386/fpu/Makefile: Remove file.
56606 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
56607 ($(objpfx)libm.so): Remove dependency on ld.so.
56608
56609 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
56610
56611 [BZ # 15553]
56612 * nis/yp_xdr.c (XDRMAXNAME): Define.
56613 (XDRMAXRECORD): Define.
56614 (xdr_domainname): Use XDRMAXNAME.
56615 (xdr_mapname): Likewise.
56616 (xdr_peername): Likewise.
56617 (xdr_keydat): Use XDRMAXRECORD.
56618 (xdr_valdat): Likewise.
56619
56620 2013-05-30 Jeff Law <law@redhat.com>
56621
56622 [BZ #14256]
56623 * manual/errno.texi (ESTALE): Update to account for more than
56624 just NFS file systems.
56625 * sysdeps/gnu/errlist.c: Regenerated.
56626
56627 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
56628
56629 [BZ #15465]
56630 * elf/Makefile (tests): Add tst-null-argv.
56631 (modules-names): Add tst-null-argv-lib.
56632 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
56633 (tst-null-argv-ENV): Set environment for tst-null-argv.
56634 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
56635 (RTLD_PROGNAME): New macro.
56636 * elf/tst-null-argv.c: New test case.
56637 * elf/tst-null-argv-lib.c: Library for test case.
56638 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
56639 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
56640 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
56641 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
56642 * elf/dl-init.c (call_init): Likewise.
56643 (_dl_init): Likewise.
56644 * elf/dl-load.c (print_search_path): Likewise.
56645 (_dl_map_object): Likewise.
56646 * elf/dl-lookup.c (do_lookup_x): Likewise.
56647 (add_dependency): Likewise.
56648 (_dl_lookup_symbol_x): Likewise.
56649 (_dl_debug_bindings): Likewise.
56650 * elf/dl-open.c (_dl_show_scope): Likewise.
56651 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56652 * elf/dl-version.c (match_symbol): Likewise.
56653 (_dl_check_map_versions): Likewise.
56654 * elf/rtld.c (dl_main): Likewise.
56655 (print_unresolved): Use RTLD_PROGNAME.
56656 (print_missing_version): Likewise.
56657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
56658 (elf_machine_rela): Likewise.
56659 * sysdeps/powerpc/powerpc32/dl-machine.c
56660 (__process_machine_rela): Likewise.
56661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56662 Likewise.
56663 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56664 Likewise.
56665 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
56666 Likewise.
56667 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
56669 Likewise.
56670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
56671 Likewise.
56672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56673
56674 2013-05-28 Carlos O'Donell <carlos@redhat.com>
56675
56676 * po/be.po: Add descriptive title.
56677 * po/zh_CN.po: Likewise.
56678 * po/header.pot: Likewise.
56679
56680 2013-05-28 Mike Frysinger <vapier@gentoo.org>
56681
56682 * locale/programs/locarchive.c (create_archive): Inlucde fname in
56683 error message.
56684 (enlarge_archive): Likewise.
56685
56686 2013-05-28 Ben North <ben@redfrontdoor.org>
56687
56688 * manual/arith.texi (frexp): It is the magnitude of the return
56689 value which lies in [0.5, 1), not the return value itself.
56690
56691 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56692
56693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56694
56695 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
56696
56697 * stdio-common/bug26.c (main): Correct fscanf template.
56698
56699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
56700 declare _dl_skip_args.
56701
56702 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
56703 Don't declare.
56704
56705 * manual/platform.texi: Add missing @end deftypefun.
56706
56707 2013-05-24 Joseph Myers <joseph@codesourcery.com>
56708
56709 [BZ #15529]
56710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
56711 bit of mantissa of 2^16382.
56712 * math/libm-test.inc (hypot_test_data): Add more tests.
56713
56714 * math/libm-test.inc: Add drem and pow10 to list of tested
56715 functions.
56716 (pow10_test): New function.
56717 (drem_test): Likewise.
56718 (drem_test_tonearest): Likewise.
56719 (drem_test_towardzero): Likewise.
56720 (drem_test_downward): Likewise.
56721 (drem_test_upward): Likewise.
56722 (main): Call the new functions.
56723
56724 * math/libm-test.inc (finite_test_data): Remove.
56725 (finite_test): Run tests from isfinite_test_data.
56726 (gamma_test_data): Remove.
56727 (gamma_test): Run tests from lgamma_test_data.
56728 * sysdeps/i386/fpu/libm-test-ulps: Update.
56729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56730
56731 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56732
56733 * manual/platform.texi: Add PowerPC PPR function set documentation.
56734 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
56735 implementation.
56736
56737 2013-05-24 Carlos O'Donell <carlos@redhat.com>
56738
56739 * math/libm-test.inc (MAX_EXP): Define.
56740 (ULPDIFF): Define.
56741 (ulp): New function.
56742 (check_float_internal): Use ULPDIFF.
56743 (cpow_test): Disable failing test.
56744 (check_ulp): Test ulp() implementation.
56745 (main): Call check_ulp before starting tests.
56746
56747 2013-05-24 Joseph Myers <joseph@codesourcery.com>
56748
56749 * math/gen-libm-test.pl (generate_testfile): Do not handle
56750 START_DATA and END_DATA.
56751 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
56752 END_DATA.
56753 (acos_tonearest_test_data): Likewise.
56754 (acos_towardzero_test_data): Likewise.
56755 (acos_downward_test_data): Likewise.
56756 (acos_upward_test_data): Likewise.
56757 (acosh_test_data): Likewise.
56758 (asin_test_data): Likewise.
56759 (asin_tonearest_test_data): Likewise.
56760 (asin_towardzero_test_data): Likewise.
56761 (asin_downward_test_data): Likewise.
56762 (asin_upward_test_data): Likewise.
56763 (asinh_test_data): Likewise.
56764 (atan_test_data): Likewise.
56765 (atanh_test_data): Likewise.
56766 (atan2_test_data): Likewise.
56767 (cabs_test_data): Likewise.
56768 (cacos_test_data): Likewise.
56769 (cacosh_test_data): Likewise.
56770 (carg_test_data): Likewise.
56771 (casin_test_data): Likewise.
56772 (casinh_test_data): Likewise.
56773 (catan_test_data): Likewise.
56774 (catanh_test_data): Likewise.
56775 (cbrt_test_data): Likewise.
56776 (ccos_test_data): Likewise.
56777 (ccosh_test_data): Likewise.
56778 (ceil_test_data): Likewise.
56779 (cexp_test_data): Likewise.
56780 (cimag_test_data): Likewise.
56781 (clog_test_data): Likewise.
56782 (clog10_test_data): Likewise.
56783 (conj_test_data): Likewise.
56784 (copysign_test_data): Likewise.
56785 (cos_test_data): Likewise.
56786 (cos_tonearest_test_data): Likewise.
56787 (cos_towardzero_test_data): Likewise.
56788 (cos_downward_test_data): Likewise.
56789 (cos_upward_test_data): Likewise.
56790 (cosh_test_data): Likewise.
56791 (cosh_tonearest_test_data): Likewise.
56792 (cosh_towardzero_test_data): Likewise.
56793 (cosh_downward_test_data): Likewise.
56794 (cosh_upward_test_data): Likewise.
56795 (cpow_test_data): Likewise.
56796 (cproj_test_data): Likewise.
56797 (creal_test_data): Likewise.
56798 (csin_test_data): Likewise.
56799 (csinh_test_data): Likewise.
56800 (csqrt_test_data): Likewise.
56801 (ctan_test_data): Likewise.
56802 (ctan_tonearest_test_data): Likewise.
56803 (ctan_towardzero_test_data): Likewise.
56804 (ctan_downward_test_data): Likewise.
56805 (ctan_upward_test_data): Likewise.
56806 (ctanh_test_data): Likewise.
56807 (ctanh_tonearest_test_data): Likewise.
56808 (ctanh_towardzero_test_data): Likewise.
56809 (ctanh_downward_test_data): Likewise.
56810 (ctanh_upward_test_data): Likewise.
56811 (erf_test_data): Likewise.
56812 (erfc_test_data): Likewise.
56813 (exp_test_data): Likewise.
56814 (exp_tonearest_test_data): Likewise.
56815 (exp_towardzero_test_data): Likewise.
56816 (exp_downward_test_data): Likewise.
56817 (exp_upward_test_data): Likewise.
56818 (exp10_test_data): Likewise.
56819 (exp2_test_data): Likewise.
56820 (expm1_test_data): Likewise.
56821 (fabs_test_data): Likewise.
56822 (fdim_test_data): Likewise.
56823 (finite_test_data): Likewise.
56824 (floor_test_data): Likewise.
56825 (fma_test_data): Likewise.
56826 (fma_towardzero_test_data): Likewise.
56827 (fma_downward_test_data): Likewise.
56828 (fma_upward_test_data): Likewise.
56829 (fmax_test_data): Likewise.
56830 (fmin_test_data): Likewise.
56831 (fmod_test_data): Likewise.
56832 (fpclassify_test_data): Likewise.
56833 (frexp_test_data): Likewise.
56834 (gamma_test_data): Likewise.
56835 (hypot_test_data): Likewise.
56836 (ilogb_test_data): Likewise.
56837 (isfinite_test_data): Likewise.
56838 (isgreater_test_data): Likewise.
56839 (isgreaterequal_test_data): Likewise.
56840 (isinf_test_data): Likewise.
56841 (isless_test_data): Likewise.
56842 (islessequal_test_data): Likewise.
56843 (islessgreater_test_data): Likewise.
56844 (isnan_test_data): Likewise.
56845 (isnormal_test_data): Likewise.
56846 (issignaling_test_data): Likewise.
56847 (isunordered_test_data): Likewise.
56848 (j0_test_data): Likewise.
56849 (j1_test_data): Likewise.
56850 (jn_test_data): Likewise.
56851 (ldexp_test_data): Likewise.
56852 (lgamma_test_data): Likewise.
56853 (lrint_test_data): Likewise.
56854 (lrint_tonearest_test_data): Likewise.
56855 (lrint_towardzero_test_data): Likewise.
56856 (lrint_downward_test_data): Likewise.
56857 (lrint_upward_test_data): Likewise.
56858 (llrint_test_data): Likewise.
56859 (llrint_tonearest_test_data): Likewise.
56860 (llrint_towardzero_test_data): Likewise.
56861 (llrint_downward_test_data): Likewise.
56862 (llrint_upward_test_data): Likewise.
56863 (log_test_data): Likewise.
56864 (log10_test_data): Likewise.
56865 (log1p_test_data): Likewise.
56866 (log2_test_data): Likewise.
56867 (logb_test_data): Likewise.
56868 (logb_downward_test_data): Likewise.
56869 (lround_test_data): Likewise.
56870 (llround_test_data): Likewise.
56871 (modf_test_data): Likewise.
56872 (nearbyint_test_data): Likewise.
56873 (nextafter_test_data): Likewise.
56874 (nexttoward_test_data): Likewise.
56875 (pow_test_data): Likewise.
56876 (pow_tonearest_test_data): Likewise.
56877 (pow_towardzero_test_data): Likewise.
56878 (pow_downward_test_data): Likewise.
56879 (pow_upward_test_data): Likewise.
56880 (remainder_test_data): Likewise.
56881 (remainder_tonearest_test_data): Likewise.
56882 (remainder_towardzero_test_data): Likewise.
56883 (remainder_downward_test_data): Likewise.
56884 (remainder_upward_test_data): Likewise.
56885 (remquo_test_data): Likewise.
56886 (rint_test_data): Likewise.
56887 (rint_tonearest_test_data): Likewise.
56888 (rint_towardzero_test_data): Likewise.
56889 (rint_downward_test_data): Likewise.
56890 (rint_upward_test_data): Likewise.
56891 (round_test_data): Likewise.
56892 (scalb_test_data): Likewise.
56893 (scalbn_test_data): Likewise.
56894 (scalbln_test_data): Likewise.
56895 (signbit_test_data): Likewise.
56896 (sin_test_data): Likewise.
56897 (sin_tonearest_test_data): Likewise.
56898 (sin_towardzero_test_data): Likewise.
56899 (sin_downward_test_data): Likewise.
56900 (sin_upward_test_data): Likewise.
56901 (sincos_test_data): Likewise.
56902 (sinh_test_data): Likewise.
56903 (sinh_tonearest_test_data): Likewise.
56904 (sinh_towardzero_test_data): Likewise.
56905 (sinh_downward_test_data): Likewise.
56906 (sinh_upward_test_data): Likewise.
56907 (sqrt_test_data): Likewise.
56908 (tan_test_data): Likewise.
56909 (tan_tonearest_test_data): Likewise.
56910 (tan_towardzero_test_data): Likewise.
56911 (tan_downward_test_data): Likewise.
56912 (tan_upward_test_data): Likewise.
56913 (tanh_test_data): Likewise.
56914 (tgamma_test_data): Likewise.
56915 (trunc_test_data): Likewise.
56916 (y0_test_data): Likewise.
56917 (y1_test_data): Likewise.
56918 (yn_test_data): Likewise.
56919 (significand_test_data): Likewise.
56920
56921 * math/gen-libm-test.pl (@functions): Remove variable.
56922 (generate_testfile): Don't handle START and END lines.
56923 * math/libm-test.inc (START): New macro.
56924 (END): Likewise.
56925 (END_COMPLEX): Likewise.
56926 (acos_test): Use END macro without arguments.
56927 (acos_test_tonearest): Likewise.
56928 (acos_test_towardzero): Likewise.
56929 (acos_test_downward): Likewise.
56930 (acos_test_upward): Likewise.
56931 (acosh_test): Likewise.
56932 (asin_test): Likewise.
56933 (asin_test_tonearest): Likewise.
56934 (asin_test_towardzero): Likewise.
56935 (asin_test_downward): Likewise.
56936 (asin_test_upward): Likewise.
56937 (asinh_test): Likewise.
56938 (atan_test): Likewise.
56939 (atanh_test): Likewise.
56940 (atan2_test): Likewise.
56941 (cabs_test): Likewise.
56942 (cacos_test): Use END_COMPLEX macro without arguments.
56943 (cacosh_test): Likewise.
56944 (carg_test): Use END macro without arguments.
56945 (casin_test): Use END_COMPLEX macro without arguments.
56946 (casinh_test): Likewise.
56947 (catan_test): Likewise.
56948 (catanh_test): Likewise.
56949 (cbrt_test): Use END macro without arguments.
56950 (ccos_test): Use END_COMPLEX macro without arguments.
56951 (ccosh_test): Likewise.
56952 (ceil_test): Use END macro without arguments.
56953 (cexp_test): Use END_COMPLEX macro without arguments.
56954 (cimag_test): Use END macro without arguments.
56955 (clog_test): Use END_COMPLEX macro without arguments.
56956 (clog10_test): Likewise.
56957 (conj_test): Likewise.
56958 (copysign_test): Use END macro without arguments.
56959 (cos_test): Likewise.
56960 (cos_test_tonearest): Likewise.
56961 (cos_test_towardzero): Likewise.
56962 (cos_test_downward): Likewise.
56963 (cos_test_upward): Likewise.
56964 (cosh_test): Likewise.
56965 (cosh_test_tonearest): Likewise.
56966 (cosh_test_towardzero): Likewise.
56967 (cosh_test_downward): Likewise.
56968 (cosh_test_upward): Likewise.
56969 (cpow_test): Use END_COMPLEX macro without arguments.
56970 (cproj_test): Likewise.
56971 (creal_test): Use END macro without arguments.
56972 (csin_test): Use END_COMPLEX macro without arguments.
56973 (csinh_test): Likewise.
56974 (csqrt_test): Likewise.
56975 (ctan_test): Likewise.
56976 (ctan_test_tonearest): Likewise.
56977 (ctan_test_towardzero): Likewise.
56978 (ctan_test_downward): Likewise.
56979 (ctan_test_upward): Likewise.
56980 (ctanh_test): Likewise.
56981 (ctanh_test_tonearest): Likewise.
56982 (ctanh_test_towardzero): Likewise.
56983 (ctanh_test_downward): Likewise.
56984 (ctanh_test_upward): Likewise.
56985 (erf_test): Use END macro without arguments.
56986 (erfc_test): Likewise.
56987 (exp_test): Likewise.
56988 (exp_test_tonearest): Likewise.
56989 (exp_test_towardzero): Likewise.
56990 (exp_test_downward): Likewise.
56991 (exp_test_upward): Likewise.
56992 (exp10_test): Likewise.
56993 (exp2_test): Likewise.
56994 (expm1_test): Likewise.
56995 (fabs_test): Likewise.
56996 (fdim_test): Likewise.
56997 (finite_test): Likewise.
56998 (floor_test): Likewise.
56999 (fma_test): Likewise.
57000 (fma_test_towardzero): Likewise.
57001 (fma_test_downward): Likewise.
57002 (fma_test_upward): Likewise.
57003 (fmax_test): Likewise.
57004 (fmin_test): Likewise.
57005 (fmod_test): Likewise.
57006 (fpclassify_test): Likewise.
57007 (frexp_test): Likewise.
57008 (gamma_test): Likewise.
57009 (hypot_test): Likewise.
57010 (ilogb_test): Likewise.
57011 (isfinite_test): Likewise.
57012 (isgreater_test): Likewise.
57013 (isgreaterequal_test): Likewise.
57014 (isinf_test): Likewise.
57015 (isless_test): Likewise.
57016 (islessequal_test): Likewise.
57017 (islessgreater_test): Likewise.
57018 (isnan_test): Likewise.
57019 (isnormal_test): Likewise.
57020 (issignaling_test): Likewise.
57021 (isunordered_test): Likewise.
57022 (j0_test): Likewise.
57023 (j1_test): Likewise.
57024 (jn_test): Likewise.
57025 (ldexp_test): Likewise.
57026 (lgamma_test): Likewise.
57027 (lrint_test): Likewise.
57028 (lrint_test_tonearest): Likewise.
57029 (lrint_test_towardzero): Likewise.
57030 (lrint_test_downward): Likewise.
57031 (lrint_test_upward): Likewise.
57032 (llrint_test): Likewise.
57033 (llrint_test_tonearest): Likewise.
57034 (llrint_test_towardzero): Likewise.
57035 (llrint_test_downward): Likewise.
57036 (llrint_test_upward): Likewise.
57037 (log_test): Likewise.
57038 (log10_test): Likewise.
57039 (log1p_test): Likewise.
57040 (log2_test): Likewise.
57041 (logb_test): Likewise.
57042 (logb_test_downward): Likewise.
57043 (lround_test): Likewise.
57044 (llround_test): Likewise.
57045 (modf_test): Likewise.
57046 (nearbyint_test): Likewise.
57047 (nextafter_test): Likewise.
57048 (nexttoward_test): Likewise.
57049 (pow_test): Likewise.
57050 (pow_test_tonearest): Likewise.
57051 (pow_test_towardzero): Likewise.
57052 (pow_test_downward): Likewise.
57053 (pow_test_upward): Likewise.
57054 (remainder_test): Likewise.
57055 (remainder_test_tonearest): Likewise.
57056 (remainder_test_towardzero): Likewise.
57057 (remainder_test_downward): Likewise.
57058 (remainder_test_upward): Likewise.
57059 (remquo_test): Likewise.
57060 (rint_test): Likewise.
57061 (rint_test_tonearest): Likewise.
57062 (rint_test_towardzero): Likewise.
57063 (rint_test_downward): Likewise.
57064 (rint_test_upward): Likewise.
57065 (round_test): Likewise.
57066 (scalb_test): Likewise.
57067 (scalbn_test): Likewise.
57068 (scalbln_test): Likewise.
57069 (signbit_test): Likewise.
57070 (sin_test): Likewise.
57071 (sin_test_tonearest): Likewise.
57072 (sin_test_towardzero): Likewise.
57073 (sin_test_downward): Likewise.
57074 (sin_test_upward): Likewise.
57075 (sincos_test): Likewise.
57076 (sinh_test): Likewise.
57077 (sinh_test_tonearest): Likewise.
57078 (sinh_test_towardzero): Likewise.
57079 (sinh_test_downward): Likewise.
57080 (sinh_test_upward): Likewise.
57081 (sqrt_test): Likewise.
57082 (tan_test): Likewise.
57083 (tan_test_tonearest): Likewise.
57084 (tan_test_towardzero): Likewise.
57085 (tan_test_downward): Likewise.
57086 (tan_test_upward): Likewise.
57087 (tanh_test): Likewise.
57088 (tgamma_test): Likewise.
57089 (trunc_test): Likewise.
57090 (y0_test): Likewise.
57091 (y1_test): Likewise.
57092 (yn_test): Likewise.
57093 (significand_test): Likewise.
57094
57095 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
57096
57097 [BZ #15381]
57098 * libio/genops.c (_IO_no_init): Initialize wide struct info.
57099
57100 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
57101
57102 [BZ #14894]
57103 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57104 __ppc_mdoio and __ppc_mdoom.
57105 * manual/platform.texi: Document new functions __ppc_yield,
57106 __ppc_mdoio and __ppc_mdoom.
57107
57108 2013-05-22 Carlos O'Donell <carlos@redhat.com>
57109
57110 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57111 (main): Mention "tls" pseudo-hwcap is legacy.
57112 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57113
57114 2013-05-22 Joseph Myers <joseph@codesourcery.com>
57115
57116 * math/gen-libm-test.pl (parse_args): Output only string of
57117 arguments as text for test name, not full call or descriptions of
57118 tests for extra outputs.
57119 (generate_testfile): Do not pass function name to parse_args.
57120 Generate this_func variable from START.
57121 * math/libm-test.inc (struct test_f_f_data): Rename test_name
57122 field to arg_str.
57123 (struct test_ff_f_data): Likewise.
57124 (test_ff_f_data_nexttoward): Likewise.
57125 (struct test_fi_f_data): Likewise.
57126 (struct test_fl_f_data): Likewise.
57127 (struct test_if_f_data): Likewise.
57128 (struct test_fff_f_data): Likewise.
57129 (struct test_c_f_data): Likewise.
57130 (struct test_f_f1_data): Likewise. Remove field extra_name.
57131 (struct test_fF_f1_data): Likewise.
57132 (struct test_ffI_f1_data): Likewise.
57133 (struct test_c_c_data): Rename test_name field to arg_str.
57134 (struct test_cc_c_data): Likewise.
57135 (struct test_f_i_data): Likewise.
57136 (struct test_ff_i_data): Likewise.
57137 (struct test_f_l_data): Likewise.
57138 (struct test_f_L_data): Likewise.
57139 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
57140 and extra2_name.
57141 (COMMON_TEST_SETUP): New macro.
57142 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57143 (COMMON_TEST_CLEANUP): Likewise.
57144 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57145 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
57146 macros.
57147 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57148 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
57149 macros.
57150 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57151 (RUN_TEST_fff_f): Take argument string. Call new setup and
57152 cleanup macros.
57153 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57154 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
57155 macros.
57156 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57157 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
57158 macros.
57159 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57160 (RUN_TEST_fF_f1): Take argument string. Call new setup and
57161 cleanup macros.
57162 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57163 (RUN_TEST_fI_f1): Take argument string. Call new setup and
57164 cleanup macros.
57165 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57166 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
57167 cleanup macros.
57168 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57169 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
57170 macros.
57171 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57172 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
57173 macros.
57174 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57175 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
57176 macros.
57177 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57178 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
57179 cleanup macros.
57180 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57181 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
57182 cleanup macros.
57183 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57184 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
57185 macros.
57186 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57187 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
57188 cleanup macros.
57189 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57190 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
57191 macros.
57192 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57193 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
57194 macros.
57195 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57196 (RUN_TEST_fFF_11): Take argument string. Call new setup and
57197 cleanup macros.
57198 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57199
57200 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
57201
57202 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57203 to _sifields.sigfault.
57204 (si_addr_lsb): Define new macro.
57205 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57206 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57207 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57208
57209 2013-05-03 Carlos O'Donell <carlos at redhat.com>
57210
57211 [BZ #15441]
57212 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57213 returns -1.
57214 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57215 null return -1.
57216 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57217 loading the domain.
57218
57219 2013-05-22 Joseph Myers <joseph@codesourcery.com>
57220
57221 * math/gen-libm-test.pl (parse_args): Do not include expected
57222 result in test name.
57223 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57225 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57226 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57227 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57229
57230 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57231
57232 * benchtests/Makefile: Sort function entries.
57233
57234 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57235 tanh, asinh, acosh, atanh.
57236 * benchtests/acos-inputs: New file.
57237 * benchtests/acosh-inputs: New file.
57238 * benchtests/asin-inputs: New file.
57239 * benchtests/asinh-inputs: New file.
57240 * benchtests/atanh-inputs: New file.
57241 * benchtests/cosh-inputs: New file.
57242 * benchtests/log-inputs: New file.
57243 * benchtests/sinh-inputs: New file.
57244 * benchtests/tanh-inputs: New file.
57245
57246 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
57247
57248 [BZ #15339]
57249 * posix/tst-getaddrinfo4.c: New test.
57250 * posix/Makefile (tests): Add it.
57251
57252 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57253
57254 [BZ #15339]
57255 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57256 when no services were used.
57257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57258 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57259
57260 2013-05-21 Andreas Schwab <schwab@suse.de>
57261
57262 [BZ #15014]
57263 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57264 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57265 successful.
57266 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57267 redundant variable declarations and reallocation of buffer when
57268 parsing as IPv6 address. Always set NSS status when called from
57269 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
57270 buffer too small. Correct computation of needed size.
57271 * nss/Makefile (tests): Add test-digits-dots.
57272 * nss/test-digits-dots.c: New test.
57273
57274 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57275
57276 * benchtests/Makefile: Remove instructions for adding
57277 benchmark tests.
57278 * benchtests/README: New file to explain how to execute and
57279 enhance the benchmark tests.
57280
57281 2013-05-21 Andreas Schwab <schwab@suse.de>
57282
57283 [BZ #15493]
57284 * setjmp/Makefile (tests): Add tst-sigsetjmp.
57285 * setjmp/tst-sigsetjmp.c: New test.
57286
57287 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
57288
57289 * sysdeps/x86_64/memset.S (memset): New implementation.
57290 (__bzero): Likewise.
57291 (__memset_tail): New function.
57292
57293 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
57294
57295 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57296 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57297 __memcpy_sse2_unaligned ifunc selection.
57298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57299 Add memcpy-sse2-unaligned.S.
57300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57301 Add: __memcpy_sse2_unaligned.
57302
57303 2013-05-19 Joseph Myers <joseph@codesourcery.com>
57304
57305 [BZ #15490]
57306 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57307 math_force_eval before restoring floating-point envrionment.
57308 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57310 Likewise.
57311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57312 <math_private.h>.
57313 (__nearbyintl): Use math_force_eval before restoring
57314 floating-point environment.
57315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57316
57317 * math/gen-libm-test.pl (special_functions): Remove.
57318 (parse_args): Don't handle TEST_extra. Handle functions with no
57319 return value.
57320 * math/libm-test.inc (struct test_sincos_data): Replace with
57321 struct test_fFF_11_data.
57322 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57323 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57324 (sincos_test_data): Change element type to struct
57325 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
57326 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57327 RUN_TEST_LOOP_sincos.
57328 * math/README.libm-test: Don't mention special handling of
57329 individual functions.
57330 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57331 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57332 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57333 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57334 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57336
57337 * math/gen-libm-test.pl (get_variable): Remove function.
57338 (parse_args): Don't show pointer parameters to call in test
57339 names. Use "extra output N" in test names for extra outputs
57340 rather than naming variables.
57341
57342 2013-05-18 Joseph Myers <joseph@codesourcery.com>
57343
57344 [BZ #15488]
57345 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57346 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57347 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57348 double tests.
57349 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57350 disable.
57351 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57352 check_long_double.
57353
57354 * math/gen-libm-test.pl (@tests): Remove variable.
57355 ($count): Likewise.
57356 (new_test): Remove function.
57357 (show_exceptions): New function.
57358 (special_functions): Use show_exceptions instead of new_test.
57359 (parse_args): Likewise.
57360 (generate_testfile): Pass only function name in generated call to
57361 print_max_error or print_complex_max_error.
57362 (get_ulps): Do not handle complex tests specially.
57363 (output_test): Rename to ...
57364 (get_all_ulps_for_test): ... this. Return a string rather than
57365 printing to a file. Require ulps to be present.
57366 (output_ulps): Generate arrays rather than #defines.
57367 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57368 (struct ulp_data): New type.
57369 (BUILD_COMPLEX_ULP): Remove macro.
57370 (compare_ulp_data): New function.
57371 (find_ulps): Likewise.
57372 (find_test_ulps): Likewise.
57373 (find_function_ulps): Likewise.
57374 (find_complex_function_ulps): Likewise.
57375 (print_max_error): Determine allowed ulps using
57376 find_function_ulps.
57377 (print_complex_max_error): Determine allowed ulps using
57378 find_complex_function_ulps.
57379 (check_float_internal): Determine max ulps using find_test_ulps.
57380 (check_float): Do not take max_ulp parameter. Update call to
57381 check_float_internal.
57382 (check_complex): Likewise.
57383 (check_int): Do not take max_ulp parameter.
57384 (check_long): Likewise.
57385 (check_bool): Likewise.
57386 (check_longlong): Likewise.
57387 (struct test_f_f_data): Remove max_ulp field.
57388 (struct test_ff_f_data): Likewise.
57389 (struct test_ff_f_data_nexttoward): Likewise.
57390 (struct test_fi_f_data): Likewise.
57391 (struct test_fl_f_data): Likewise.
57392 (struct test_if_f_data): Likewise.
57393 (struct test_fff_f_data): Likewise.
57394 (struct test_c_f_data): Likewise.
57395 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
57396 (struct test_fF_f1_data): Likewise.
57397 (struct test_ffI_f1_data): Likewise.
57398 (struct test_c_c_data): Remove max_ulp field.
57399 (struct test_cc_c_data): Likewise.
57400 (struct test_f_i_data): Likewise.
57401 (struct test_ff_i_data): Likewise.
57402 (struct test_f_l_data): Likewise.
57403 (struct test_f_L_data): Likewise.
57404 (struct test_sincos_data): Likewise.
57405 (RUN_TEST_f_f): Do not handle ulps.
57406 (RUN_TEST_LOOP_f_f): Likewise.
57407 (RUN_TEST_2_f): Likewise.
57408 (RUN_TEST_LOOP_2_f): Likewise.
57409 (RUN_TEST_fff_f): Likewise.
57410 (RUN_TEST_LOOP_fff_f): Likewise.
57411 (RUN_TEST_c_f): Likewise.
57412 (RUN_TEST_LOOP_c_f): Likewise.
57413 (RUN_TEST_f_f1): Likewise.
57414 (RUN_TEST_LOOP_f_f1): Likewise.
57415 (RUN_TEST_fF_f1): Likewise.
57416 (RUN_TEST_LOOP_fF_f1): Likewise.
57417 (RUN_TEST_fI_f1): Likewise.
57418 (RUN_TEST_LOOP_fI_f1): Likewise.
57419 (RUN_TEST_ffI_f1): Likewise.
57420 (RUN_TEST_LOOP_ffI_f1): Likewise.
57421 (RUN_TEST_c_c): Likewise.
57422 (RUN_TEST_LOOP_c_c): Likewise.
57423 (RUN_TEST_cc_c): Likewise.
57424 (RUN_TEST_LOOP_cc_c): Likewise.
57425 (RUN_TEST_f_i): Likewise.
57426 (RUN_TEST_LOOP_f_i): Likewise.
57427 (RUN_TEST_f_i_tg): Likewise.
57428 (RUN_TEST_LOOP_f_i_tg): Likewise.
57429 (RUN_TEST_ff_i_tg): Likewise.
57430 (RUN_TEST_LOOP_ff_i_tg): Likewise.
57431 (RUN_TEST_f_b): Likewise.
57432 (RUN_TEST_LOOP_f_b): Likewise.
57433 (RUN_TEST_f_b_tg): Likewise.
57434 (RUN_TEST_LOOP_f_b_tg): Likewise.
57435 (RUN_TEST_f_l): Likewise.
57436 (RUN_TEST_LOOP_f_l): Likewise.
57437 (RUN_TEST_f_L): Likewise.
57438 (RUN_TEST_LOOP_f_L): Likewise.
57439 (RUN_TEST_sincos): Likewise.
57440 (RUN_TEST_LOOP_sincos): Likewise.
57441
57442 2013-05-17 Joseph Myers <joseph@codesourcery.com>
57443
57444 [BZ #15480]
57445 [BZ #15485]
57446 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
57447 main case of finite arguments, set rounding mode to FE_TONEAREST
57448 and discard exceptions.
57449 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
57450 exceptions.
57451 (remainder_tonearest_test_data): New variable.
57452 (remainder_test_tonearest): New function.
57453 (remainder_towardzero_test_data): New variable.
57454 (remainder_test_towardzero): New function.
57455 (remainder_downward_test_data): New variable.
57456 (remainder_test_downward): New function.
57457 (remainder_upward_test_data): New variable.
57458 (remainder_test_upward): New function.
57459 (main): Call the new test functions.
57460
57461 * math/libm-test.inc (struct test_f_f1_data): Remove field
57462 extra_init.
57463 (struct test_fF_f1_data): Likewise.
57464 (struct test_ffI_f1_data): Likewise.
57465 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
57466 based on value of EXTRA_EXPECTED.
57467 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57468 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
57469 EXTRA_VAR based on value of EXTRA_EXPECTED.
57470 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57471 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
57472 EXTRA_VAR based on value of EXTRA_EXPECTED.
57473 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57474 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
57475 EXTRA_VAR based on value of EXTRA_EXPECTED.
57476 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57477 * math/gen-libm-test.pl (parse_args): Don't output initializers
57478 for extra output values.
57479
57480 * math/libm-test.inc (check_int): Expect result to be exactly
57481 equal to expected value and do not handle ulps.
57482 (check_long): Likewise.
57483 (check_longlong): Likewise.
57484
57485 * math/libm-test.inc (ceil_test_data): Test for "inexact"
57486 exceptions.
57487 (cimag_test_data): Likewise.
57488 (conj_test_data): Likewise.
57489 (copysign_test_data): Likewise.
57490 (cproj_test_data): Likewise.
57491 (creal_test_data): Likewise.
57492 (fabs_test_data): Likewise.
57493 (fdim_test_data): Likewise.
57494 (finite_test_data): Likewise.
57495 (floor_test_data): Likewise.
57496 (fmax_test_data): Likewise.
57497 (fmin_test_data): Likewise.
57498 (fmod_test_data): Likewise.
57499 (fpclassify_test_data): Likewise.
57500 (frexp_test_data): Likewise.
57501 (ilogb_test_data): Likewise.
57502 (isfinite_test_data): Likewise.
57503 (isgreater_test_data): Likewise.
57504 (isgreaterequal_test_data): Likewise.
57505 (isinf_test_data): Likewise.
57506 (isless_test_data): Likewise.
57507 (islessequal_test_data): Likewise.
57508 (islessgreater_test_data): Likewise.
57509 (isnan_test_data): Likewise.
57510 (isnormal_test_data): Likewise.
57511 (issignaling_test_data): Likewise.
57512 (isunordered_test_data): Likewise.
57513 (ldexp_test_data): Likewise.
57514 (lrint_test_data): Likewise.
57515 (lrint_test_data) [TEST_FLOAT]: Disable one test.
57516 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
57517 (lrint_tonearest_test_data): Test for "inexact" exceptions.
57518 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57519 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
57520 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57521 test input.
57522 (lrint_towardzero_test_data): Test for "inexact" exceptions.
57523 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57524 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
57525 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
57526 that test input.
57527 (lrint_downward_test_data): Test for "inexact" exceptions.
57528 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57529 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
57530 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57531 test input.
57532 (lrint_upward_test_data): Test for "inexact" exceptions.
57533 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
57534 test input.
57535 (llrint_test_data): Test for "inexact" exceptions.
57536 (llrint_test_data) [TEST_FLOAT]: Disable one test.
57537 (llrint_tonearest_test_data): Test for "inexact" exceptions.
57538 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57539 (llrint_towardzero_test_data): Test for "inexact" exceptions.
57540 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57541 (llrint_downward_test_data): Test for "inexact" exceptions.
57542 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57543 (llrint_upward_test_data): Test for "inexact" exceptions.
57544 (logb_test_data): Likewise.
57545 (logb_downward_test_data): Likewise.
57546 (nextafter_test_data): Likewise.
57547 (nexttoward_test_data): Likewise.
57548 (remainder_test_data): Likewise.
57549 (remquo_test_data): Likewise.
57550 (scalbn_test_data): Likewise.
57551 (scalbln_test_data): Likewise.
57552 (signbit_test_data): Likewise.
57553 (sqrt_test_data): Likewise.
57554 (significand_test_data): Likewise.
57555
57556 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57557
57558 [BZ #15424]
57559 * benchtests/bench-modf.c (struct args): Mark arg0 as
57560 volatile.
57561 * scripts/bench.pl: Mark members of struct args as volatile.
57562
57563 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57564
57565 [BZ # 15497]
57566 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
57567 negative infinity on POWER6 or lower.
57568 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
57569
57570 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
57571
57572 [BZ #15442]
57573 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
57574 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
57575 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
57576 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
57577 (_FP_SETQNAN): New macro.
57578 (_FP_SETQNAN_SEMIRAW): Likewise.
57579 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
57580 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
57581 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
57582 (FP_EXTEND): Use _FP_FRAC_SNANP.
57583 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
57584 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
57585 into account.
57586 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57587 New macro.
57588 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57589 Likewise.
57590
57591 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57592
57593 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
57594 with DIVIDE_BY_ZERO_EXCEPTION.
57595 (gamma_test_data): Likewise.
57596 (lgamma_test_data): Likewise.
57597 (log_test_data): Likewise.
57598 (log10_test_data): Likewise.
57599 (log2_test_data): Likewise.
57600 (tgamma_test_data): Likewise.
57601
57602 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
57603 (acos_test_tonearest): Likewise.
57604 (acos_test_towardzero): Likewise.
57605 (acos_test_downward): Likewise.
57606 (acos_test_upward): Likewise.
57607 (acosh_test): Likewise.
57608 (asin_test): Likewise.
57609 (asin_test_tonearest): Likewise.
57610 (asin_test_towardzero): Likewise.
57611 (asin_test_downward): Likewise.
57612 (asin_test_upward): Likewise.
57613 (asinh_test): Likewise.
57614 (atan_test): Likewise.
57615 (atanh_test): Likewise.
57616 (atan2_test): Likewise.
57617 (cabs_test): Likewise.
57618 (cacos_test): Likewise.
57619 (cacosh_test): Likewise.
57620 (casin_test): Likewise.
57621 (casinh_test): Likewise.
57622 (catan_test): Likewise.
57623 (catanh_test): Likewise.
57624 (cbrt_test): Likewise.
57625 (ccos_test): Likewise.
57626 (ccosh_test): Likewise.
57627 (cexp_test): Likewise.
57628 (clog_test): Likewise.
57629 (clog10_test): Likewise.
57630 (cos_test): Likewise.
57631 (cos_test_tonearest): Likewise.
57632 (cos_test_towardzero): Likewise.
57633 (cos_test_downward): Likewise.
57634 (cos_test_upward): Likewise.
57635 (cosh_test): Likewise.
57636 (cosh_test_tonearest): Likewise.
57637 (cosh_test_towardzero): Likewise.
57638 (cosh_test_downward): Likewise.
57639 (cosh_test_upward): Likewise.
57640 (cpow_test): Likewise.
57641 (csin_test): Likewise.
57642 (csinh_test): Likewise.
57643 (csqrt_test): Likewise.
57644 (ctan_test): Likewise.
57645 (ctan_test_tonearest): Likewise.
57646 (ctan_test_towardzero): Likewise.
57647 (ctan_test_downward): Likewise.
57648 (ctan_test_upward): Likewise.
57649 (ctanh_test): Likewise.
57650 (ctanh_test_tonearest): Likewise.
57651 (ctanh_test_towardzero): Likewise.
57652 (ctanh_test_downward): Likewise.
57653 (ctanh_test_upward): Likewise.
57654 (erf_test): Likewise.
57655 (erfc_test): Likewise.
57656 (exp_test): Likewise.
57657 (exp_test_tonearest): Likewise.
57658 (exp_test_towardzero): Likewise.
57659 (exp_test_downward): Likewise.
57660 (exp_test_upward): Likewise.
57661 (exp10_test): Likewise.
57662 (exp2_test): Likewise.
57663 (expm1_test): Likewise.
57664 (fmod_test): Likewise.
57665 (gamma_test): Likewise.
57666 (hypot_test): Likewise.
57667 (j0_test): Likewise.
57668 (j1_test): Likewise.
57669 (jn_test): Likewise.
57670 (lgamma_test): Likewise.
57671 (log_test): Likewise.
57672 (log10_test): Likewise.
57673 (log1p_test): Likewise.
57674 (log2_test): Likewise.
57675 (logb_test_downward): Likewise.
57676 (pow_test): Likewise.
57677 (pow_test_tonearest): Likewise.
57678 (pow_test_towardzero): Likewise.
57679 (pow_test_downward): Likewise.
57680 (pow_test_upward): Likewise.
57681 (remainder_test): Likewise.
57682 (remquo_test): Likewise.
57683 (sin_test): Likewise.
57684 (sin_test_tonearest): Likewise.
57685 (sin_test_towardzero): Likewise.
57686 (sin_test_downward): Likewise.
57687 (sin_test_upward): Likewise.
57688 (sincos_test): Likewise.
57689 (sinh_test): Likewise.
57690 (sinh_test_tonearest): Likewise.
57691 (sinh_test_towardzero): Likewise.
57692 (sinh_test_downward): Likewise.
57693 (sinh_test_upward): Likewise.
57694 (sqrt_test): Likewise.
57695 (tan_test): Likewise.
57696 (tan_test_tonearest): Likewise.
57697 (tan_test_towardzero): Likewise.
57698 (tan_test_downward): Likewise.
57699 (tan_test_upward): Likewise.
57700 (tanh_test): Likewise.
57701 (tgamma_test): Likewise.
57702 (y0_test): Likewise.
57703 (y1_test): Likewise.
57704 (yn_test): Likewise.
57705
57706 * math/gen-libm-test.pl (adjust_arg): Remove function.
57707 (special_function): Remove argument $in_func. Only handle
57708 generating output for tables of tests, not inside functions.
57709 (parse_args): Likewise.
57710 (generate_testfile): Remove variable $in_func. Update call to
57711 parse_args.
57712 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
57713 (MINUS_ZERO_INIT): Rename macro to minus_zero.
57714 (PLUS_INFTY_INIT): Rename macro to plus_infty.
57715 (MINUS_INFTY_INIT): Rename macro to minus_infty.
57716 (QNAN_VALUE_INIT): Rename macro to qnan_value.
57717 (MAX_VALUE_INIT): Rename macro to max_value.
57718 (MIN_VALUE_INIT): Rename macro to min_value.
57719 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
57720 (plus_zero): Remove variable.
57721 (minus_zero): Likewise.
57722 (plus_infty): Likewise.
57723 (minus_infty): Likewise.
57724 (qnan_value): Likewise.
57725 (max_value): Likewise.
57726 (min_value): Likewise.
57727 (min_subnorm_value): Likewise.
57728
57729 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
57730
57731 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
57732 uint64_t or uint32_t usage.
57733 * crypt/sha256-block.c: Likewise.
57734 * crypt/sha256-crypt.c: Likewise.
57735 * crypt/sha256.c: Likewise.
57736 * crypt/sha512-block.c: Likewise.
57737 * crypt/sha512-crypt.c: Likewise.
57738 * crypt/sha512.c: Likewise.
57739 * debug/backtrace-tst.c: Likewise.
57740 * debug/pcprofiledump.c: Likewise.
57741 * elf/cache.c: Likewise.
57742 * elf/dl-cache.c: Likewise.
57743 * elf/dl-misc.c: Likewise.
57744 * elf/dl-profile.c: Likewise.
57745 * elf/dl-support.c: Likewise.
57746 * elf/ldconfig.c: Likewise.
57747 * elf/sprof.c: Likewise.
57748 * iconv/dummy-repertoire.c: Likewise.
57749 * iconv/iconv_charmap.c: Likewise.
57750 * iconv/skeleton.c: Likewise.
57751 * iconvdata/8bit-generic.c: Likewise.
57752 * iconvdata/cp737.h: Likewise.
57753 * iconvdata/cp775.h: Likewise.
57754 * iconvdata/ibm1008.h: Likewise.
57755 * iconvdata/ibm1025.h: Likewise.
57756 * iconvdata/ibm1046.h: Likewise.
57757 * iconvdata/ibm1097.h: Likewise.
57758 * iconvdata/ibm1112.h: Likewise.
57759 * iconvdata/ibm1122.h: Likewise.
57760 * iconvdata/ibm1123.h: Likewise.
57761 * iconvdata/ibm1124.h: Likewise.
57762 * iconvdata/ibm1129.h: Likewise.
57763 * iconvdata/ibm1130.h: Likewise.
57764 * iconvdata/ibm1132.h: Likewise.
57765 * iconvdata/ibm1133.h: Likewise.
57766 * iconvdata/ibm1137.h: Likewise.
57767 * iconvdata/ibm1140.h: Likewise.
57768 * iconvdata/ibm1141.h: Likewise.
57769 * iconvdata/ibm1142.h: Likewise.
57770 * iconvdata/ibm1143.h: Likewise.
57771 * iconvdata/ibm1144.h: Likewise.
57772 * iconvdata/ibm1145.h: Likewise.
57773 * iconvdata/ibm1146.h: Likewise.
57774 * iconvdata/ibm1147.h: Likewise.
57775 * iconvdata/ibm1148.h: Likewise.
57776 * iconvdata/ibm1149.h: Likewise.
57777 * iconvdata/ibm1153.h: Likewise.
57778 * iconvdata/ibm1154.h: Likewise.
57779 * iconvdata/ibm1155.h: Likewise.
57780 * iconvdata/ibm1156.h: Likewise.
57781 * iconvdata/ibm1157.h: Likewise.
57782 * iconvdata/ibm1158.h: Likewise.
57783 * iconvdata/ibm1160.h: Likewise.
57784 * iconvdata/ibm1161.h: Likewise.
57785 * iconvdata/ibm1162.h: Likewise.
57786 * iconvdata/ibm1163.h: Likewise.
57787 * iconvdata/ibm1164.h: Likewise.
57788 * iconvdata/ibm1166.h: Likewise.
57789 * iconvdata/ibm1167.h: Likewise.
57790 * iconvdata/ibm12712.h: Likewise.
57791 * iconvdata/ibm1390.h: Likewise.
57792 * iconvdata/ibm1399.h: Likewise.
57793 * iconvdata/ibm16804.h: Likewise.
57794 * iconvdata/ibm4517.h: Likewise.
57795 * iconvdata/ibm4899.h: Likewise.
57796 * iconvdata/ibm4909.h: Likewise.
57797 * iconvdata/ibm4971.h: Likewise.
57798 * iconvdata/ibm5347.h: Likewise.
57799 * iconvdata/ibm803.h: Likewise.
57800 * iconvdata/ibm856.h: Likewise.
57801 * iconvdata/ibm901.h: Likewise.
57802 * iconvdata/ibm902.h: Likewise.
57803 * iconvdata/ibm9030.h: Likewise.
57804 * iconvdata/ibm9066.h: Likewise.
57805 * iconvdata/ibm921.h: Likewise.
57806 * iconvdata/ibm922.h: Likewise.
57807 * iconvdata/ibm9448.h: Likewise.
57808 * iconvdata/isiri-3342.h: Likewise.
57809 * iconvdata/jis0201.h: Likewise.
57810 * include/link.h: Likewise.
57811 * include/netdb.h: Likewise.
57812 * inet/check_native.c: Likewise.
57813 * inet/check_pf.c: Likewise.
57814 * inet/getipv4sourcefilter.c: Likewise.
57815 * inet/getnameinfo.c: Likewise.
57816 * inet/getsourcefilter.c: Likewise.
57817 * inet/htonl.c: Likewise.
57818 * inet/setipv4sourcefilter.c: Likewise.
57819 * inet/setsourcefilter.c: Likewise.
57820 * inet/test-inet6_opt.c: Likewise.
57821 * inet/tst-network.c: Likewise.
57822 * locale/C-collate.c: Likewise.
57823 * locale/C-ctype.c: Likewise.
57824 * locale/C-time.c: Likewise.
57825 * locale/C-translit.h: Likewise.
57826 * locale/loadarchive.c: Likewise.
57827 * locale/programs/3level.h: Likewise.
57828 * locale/programs/charmap.c: Likewise.
57829 * locale/programs/charmap.h: Likewise.
57830 * locale/programs/ld-address.c: Likewise.
57831 * locale/programs/ld-collate.c: Likewise.
57832 * locale/programs/ld-ctype.c: Likewise.
57833 * locale/programs/ld-identification.c: Likewise.
57834 * locale/programs/ld-measurement.c: Likewise.
57835 * locale/programs/ld-messages.c: Likewise.
57836 * locale/programs/ld-monetary.c: Likewise.
57837 * locale/programs/ld-name.c: Likewise.
57838 * locale/programs/ld-numeric.c: Likewise.
57839 * locale/programs/ld-paper.c: Likewise.
57840 * locale/programs/ld-telephone.c: Likewise.
57841 * locale/programs/ld-time.c: Likewise.
57842 * locale/programs/linereader.c: Likewise.
57843 * locale/programs/locale.c: Likewise.
57844 * locale/programs/locarchive.c: Likewise.
57845 * locale/programs/locfile.h: Likewise.
57846 * locale/programs/repertoire.c: Likewise.
57847 * locale/programs/simple-hash.c: Likewise.
57848 * locale/programs/simple-hash.h: Likewise.
57849 * malloc/memusage.c: Likewise.
57850 * malloc/memusagestat.c: Likewise.
57851 * nis/nis_defaults.c: Likewise.
57852 * nis/nis_hash.c: Likewise.
57853 * nis/nis_print.c: Likewise.
57854 * nis/nis_xdr.c: Likewise.
57855 * nscd/connections.c: Likewise.
57856 * nscd/hstcache.c: Likewise.
57857 * nscd/nscd_gethst_r.c: Likewise.
57858 * nscd/nscd_getserv_r.c: Likewise.
57859 * nscd/nscd_helper.c: Likewise.
57860 * nscd/servicescache.c: Likewise.
57861 * nss/makedb.c: Likewise.
57862 * nss/nss_db/db-XXX.c: Likewise.
57863 * nss/nss_db/db-initgroups.c: Likewise.
57864 * nss/nss_db/db-netgrp.c: Likewise.
57865 * nss/nss_files/files-network.c: Likewise.
57866 * nss/nss_files/files-parse.c: Likewise.
57867 * posix/bug-regex5.c: Likewise.
57868 * posix/fnmatch_loop.c: Likewise.
57869 * posix/regcomp.c: Likewise.
57870 * posix/regexec.c: Likewise.
57871 * posix/tst-rfc3484-2.c: Likewise.
57872 * posix/tst-rfc3484-3.c: Likewise.
57873 * posix/tst-rfc3484.c: Likewise.
57874 * resolv/nss_dns/dns-canon.c: Likewise.
57875 * resolv/nss_dns/dns-network.c: Likewise.
57876 * resolv/res_init.c: Likewise.
57877 * resolv/res_mkquery.c: Likewise.
57878 * resolv/tst-aton.c: Likewise.
57879 * stdlib/cxa_atexit.c: Likewise.
57880 * stdlib/cxa_finalize.c: Likewise.
57881 * stdlib/gen-fpioconst.c: Likewise.
57882 * stdlib/strtol_l.c: Likewise.
57883 * string/tst-endian.c: Likewise.
57884 * sunrpc/auth_des.c: Likewise.
57885 * sunrpc/clnt_udp.c: Likewise.
57886 * sunrpc/rtime.c: Likewise.
57887 * sunrpc/svcauth_des.c: Likewise.
57888 * sunrpc/xdr.c: Likewise.
57889 * sunrpc/xdr_intXX_t.c: Likewise.
57890 * sunrpc/xdr_rec.c: Likewise.
57891 * sysdeps/generic/ldconfig.h: Likewise.
57892 * sysdeps/generic/ldsodefs.h: Likewise.
57893 * sysdeps/generic/memusage.h: Likewise.
57894 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
57896 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
57897 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57902 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57904 * sysdeps/posix/getaddrinfo.c: Likewise.
57905 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57906 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57907 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57908 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57909 * sysdeps/powerpc/test-gettimebase.c: Likewise.
57910 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57911 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
57912 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
57913 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
57914 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
57915 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57916 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57917 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
57918 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
57919 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
57920 * sysdeps/x86_64/dl-tls.h: Likewise.
57921 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
57922 * time/alt_digit.c: Likewise.
57923 * time/era.c: Likewise.
57924 * wcsmbs/tst-c16c32-1.c: Likewise.
57925
57926 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57927
57928 * math/libm-test.inc (struct test_sincos_data): New type.
57929 (RUN_TEST_LOOP_sincos): New macro.
57930 (sincos_test_data): New variable.
57931 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
57932
57933 2013-05-16 Richard Henderson <rth@redhat.com>
57934
57935 * math/atest-exp2.c (LIMB64): New macro.
57936 (CONSTSZ): New macro.
57937 (mp_exp1, mp_exp_m1, mp_log2): New variables.
57938 (hexdig): Move ...
57939 (print_mpn_fp): ... to function scope.
57940 (read_mpn_hex): Remove.
57941 (get_log2): Remove.
57942 (exp2_mpn): Use mp_log2.
57943 (main): Use mp_exp1.
57944
57945 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57946
57947 * math/libm-test.inc: Remove comment about not testing "inexact"
57948 exceptions.
57949 (INEXACT_EXCEPTION): New macro.
57950 (NO_INEXACT_EXCEPTION): Likewise.
57951 (INVALID_EXCEPTION_OK): Update value.
57952 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57953 (OVERFLOW_EXCEPTION_OK): Likewise.
57954 (UNDERFLOW_EXCEPTION_OK): Likewise.
57955 (IGNORE_ZERO_INF_SIGN): Likewise.
57956 (ERRNO_UNCHANGED): Likewise.
57957 (ERRNO_EDOM): Likewise.
57958 (ERRNO_ERANGE): Likewise.
57959 (test_exceptions): Handle testing "inexact" exceptions.
57960 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
57961 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
57962 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
57963 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
57964 INEXACT_EXCEPTION.
57965 (rint_towardzero_test_data): Likewise.
57966 (rint_downward_test_data): Likewise.
57967 (rint_upward_test_data): Likewise.
57968
57969 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
57970 with OVERFLOW_EXCEPTION.
57971 (exp10_test_data): Likewise.
57972 (exp2_test_data): Likewise.
57973 (expm1_test_data): Likewise.
57974 (lgamma_test_data): Likewise.
57975 (pow_test_data): Likewise.
57976 (tgamma_test_data): Likewise.
57977 (yn_test_data): Remove duplicate test of overflow.
57978
57979 * math/libm-test.inc (struct test_cc_c_data): New type.
57980 (RUN_TEST_LOOP_cc_c): New macro.
57981 (cpow_test_data): New variable.
57982 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
57983
57984 * math/libm-test.inc (struct test_f_L_data): New type.
57985 (RUN_TEST_LOOP_f_L): New macro.
57986 (llrint_test_data): New variable.
57987 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
57988 (llrint_tonearest_test_data): New variable.
57989 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
57990 (llrint_towardzero_test_data): New variable.
57991 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
57992 (llrint_downward_test_data): New variable.
57993 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
57994 (llrint_upward_test_data): New variable.
57995 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
57996 (llround_test_data): New variable.
57997 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
57998
57999 2013-05-13 Peter Collingbourne <pcc@google.com>
58000
58001 * math/atest-exp2.c (get_log2): Remove const attribute.
58002
58003 2013-05-15 Joseph Myers <joseph@codesourcery.com>
58004
58005 * math/libm-test.inc (struct test_f_l_data): New type.
58006 (RUN_TEST_LOOP_f_l): New macro.
58007 (lrint_test_data): New variable.
58008 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58009 (lrint_tonearest_test_data): New variable.
58010 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58011 (lrint_towardzero_test_data): New variable.
58012 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58013 (lrint_downward_test_data): New variable.
58014 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58015 (lrint_upward_test_data): New variable.
58016 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58017 (lround_test_data): New variable.
58018 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58019
58020 2013-05-15 Peter Collingbourne <pcc@google.com>
58021
58022 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58023 (EXTRACT_WORDS64) Use where appropriate.
58024 (INSERT_WORDS64) Likewise.
58025
58026 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58027 constraints with x constraints.
58028 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58029
58030 * malloc/obstack.c (_obstack_compat): Add initializer.
58031
58032 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
58033
58034 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58035 si_trapno and add si_addr_lsb to _sifields.sigfault.
58036 (si_trapno): Remove macro.
58037 (si_addr_lsb): Define new macro.
58038 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58039
58040 2013-05-15 Joseph Myers <joseph@codesourcery.com>
58041
58042 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58043 instead of TEST_f_l.
58044 (llrint_test_tonearest): Likewise.
58045 (llrint_test_towardzero): Likewise.
58046 (llrint_test_downward): Likewise.
58047 (llrint_test_upward): Likewise.
58048 (llround_test): Likewise.
58049
58050 * math/libm-test.inc (struct test_f_i_data): Add comment.
58051 (RUN_TEST_LOOP_f_b): New macro.
58052 (RUN_TEST_LOOP_f_b_tg): Likewise.
58053 (finite_test_data): New variable.
58054 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58055 (isfinite_test_data): New variable.
58056 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58057 (isinf_test_data): New variable.
58058 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58059 (isnan_test_data): New variable.
58060 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58061 (isnormal_test_data): New variable.
58062 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58063 (issignaling_test_data): New variable.
58064 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58065 (signbit_test_data): New variable.
58066 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58067
58068 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58069 with INVALID_EXCEPTION.
58070 (acosh_test_data): Likewise.
58071 (asin_test_data): Likewise.
58072 (atanh_test_data): Likewise.
58073 (fmod_test_data): Likewise.
58074 (log_test_data): Likewise.
58075 (log10_test_data): Likewise.
58076 (log2_test_data): Likewise.
58077 (pow_test_data): Likewise.
58078 (sqrt_test_data): Likewise.
58079 (y0_test_data): Likewise.
58080 (y1_test_data): Likewise.
58081 (yn_test_data): Likewise.
58082
58083 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58084 function contents.
58085
58086 * math/libm-test.inc (struct test_ff_i_data): New type.
58087 (RUN_TEST_LOOP_ff_i_tg): New macro.
58088 (isgreater_test_data): New variable.
58089 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58090 (isgreaterequal_test_data): New variable.
58091 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58092 (isless_test_data): New variable.
58093 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58094 (islessequal_test_data): New variable.
58095 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58096 (islessgreater_test_data): New variable.
58097 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58098 (isunordered_test_data): New variable.
58099 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58100
58101 2013-05-14 David S. Miller <davem@davemloft.net>
58102
58103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58104
58105 2013-05-14 Joseph Myers <joseph@codesourcery.com>
58106
58107 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58108
58109 * math/libm-test.inc (struct test_fF_f1_data): Change type of
58110 extra_test to int.
58111 (struct test_f_i_data): Change type of max_ulp to int.
58112
58113 * math/libm-test.inc (test_ffI_f1_data): New type.
58114 (RUN_TEST_LOOP_ffI_f1): New macro.
58115 (remquo_test_data): New variable.
58116 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58117
58118 * setjmp/tst-setjmp-fp.c: New file.
58119 * setjmp/Makefile (tests): Add tst-setjmp-fp.
58120 (link-libm): New variable.
58121 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58122
58123 * math/libm-test.inc (struct test_f_i_data): New type.
58124 (RUN_TEST_LOOP_f_i): New macro.
58125 (RUN_TEST_LOOP_f_i_tg): Likewise.
58126 (fpclassify_test_data): New variable.
58127 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58128 (ilogb_test_data): New variable.
58129 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58130
58131 * math/libm-test.inc (scalbln_test): Correct function name in END
58132 call.
58133
58134 * math/libm-test.inc (struct test_f_f1_data): Add comment.
58135 (RUN_TEST_LOOP_fI_f1): New macro.
58136 (frexp_test_data): New variable.
58137 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58138
58139 * math/libm-test.inc (struct test_fF_f1_data): New type.
58140 (RUN_TEST_LOOP_fF_f1): New macro.
58141 (modf_test_data): New variable.
58142 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58143
58144 * math/libm-test.inc (struct test_f_f1_data): New type.
58145 (RUN_TEST_LOOP_f_f1): New macro.
58146 (gamma_test_data): New variable.
58147 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58148 (lgamma_test_data): New variable.
58149 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58150
58151 2013-05-13 Carlos O'Donell <carlos@redhat.com>
58152
58153 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58154 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58155 (main): Comment "tls" pseudo-hwcap.
58156
58157 2013-05-13 Joseph Myers <joseph@codesourcery.com>
58158
58159 * math/libm-test.inc (struct test_fl_f_data): New type.
58160 (RUN_TEST_LOOP_fl_f): New variable.
58161 (scalbln_test_data): New variable.
58162 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58163
58164 * math/libm-test.inc (struct test_fi_f_data): New type.
58165 (RUN_TEST_LOOP_fi_f): New macro.
58166 (ldexp_test_data): New variable.
58167 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58168 (scalbn_test_data): New variable.
58169 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58170
58171 * math/libm-test.inc (struct test_c_f_data): New type.
58172 (RUN_TEST_LOOP_c_f): New macro.
58173 (cabs_test_data): New variable.
58174 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58175 (carg_test_data): New variable.
58176 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58177 (cimag_test_data): New variable.
58178 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58179 (creal_test_data): New variable.
58180 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58181
58182 * math/libm-test.inc (struct test_if_f_data): New type.
58183 (RUN_TEST_LOOP_if_f): New macro.
58184 (jn_test_data): New variable.
58185 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58186 (yn_test_data): New variable.
58187 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58188
58189 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58190
58191 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58192
58193 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58194 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58195
58196 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
58197
58198 * benchtests/Makefile (CPPFLAGS-nonlib): Add
58199 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58200 (bench-deps): Add bench-timing.h.
58201 * benchtests-bench-skeleton.c: Include bench-timing.h.
58202 (main): Use TIMING_* macros instead of clock_gettime.
58203 * benchtests/bench-timing.h: New file.
58204
58205 [BZ #14582]
58206 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58207 Renamed from _LIB_VERSION.
58208 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58209
58210 2013-05-12 Joseph Myers <joseph@codesourcery.com>
58211
58212 * math/libm-test.inc (struct test_fff_f_data): New type.
58213 (RUN_TEST_LOOP_fff_f): New macro.
58214 (fma_test_data): New variable.
58215 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58216 (fma_towardzero_test_data): New variable.
58217 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58218 (fma_downward_test_data): New variable.
58219 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58220 (fma_upward_test_data): New variable.
58221 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58222
58223 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58224 (struct test_c_c_data): New type.
58225 (RUN_TEST_LOOP_c_c): New macro.
58226 (cacos_test_data): New variable.
58227 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58228 (cacosh_test_data): New variable.
58229 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58230 (casin_test_data): New variable.
58231 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58232 (casinh_test_data): New variable.
58233 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58234 (catan_test_data): New variable.
58235 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58236 (catanh_test_data): New variable.
58237 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58238 (ccos_test_data): New variable.
58239 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58240 (ccosh_test_data): New variable.
58241 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58242 (cexp_test_data): New variable.
58243 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58244 (clog_test_data): New variable.
58245 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58246 (clog10_test_data): New variable.
58247 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58248 (conj_test_data): New variable.
58249 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58250 (cproj_test_data): New variable.
58251 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58252 (csin_test_data): New variable.
58253 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58254 (csinh_test_data): New variable.
58255 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58256 (csqrt_test_data): New variable.
58257 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58258 (ctan_test_data): New variable.
58259 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58260 (ctan_tonearest_test_data): New variable.
58261 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58262 (ctan_towardzero_test_data): New variable.
58263 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58264 (ctan_downward_test_data): New variable.
58265 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58266 (ctan_upward_test_data): New variable.
58267 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58268 (ctanh_test_data): New variable.
58269 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58270 (ctanh_tonearest_test_data): New variable.
58271 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58272 (ctanh_towardzero_test_data): New variable.
58273 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58274 (ctanh_downward_test_data): New variable.
58275 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58276 (ctanh_upward_test_data): New variable.
58277 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58278 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58279 of BUILD_COMPLEX.
58280
58281 * math/libm-test.inc (struct test_ff_f_data): New type.
58282 (struct test_ff_f_data_nexttoward): Likewise.
58283 (RUN_TEST_LOOP_2_f): New macro.
58284 (RUN_TEST_LOOP_ff_f): Likewise.
58285 (atan2_test_data): New variable.
58286 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58287 (copysign_test_data): New variable.
58288 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58289 (fdim_test_data): New variable.
58290 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58291 (fmax_test_data): New variable.
58292 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58293 (fmin_test_data): New variable.
58294 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58295 (fmod_test_data): New variable.
58296 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58297 (hypot_test_data): New variable.
58298 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58299 (nextafter_test_data): New variable.
58300 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58301 (nexttoward_test_data): New variable.
58302 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58303 (pow_test_data): New variable.
58304 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58305 (pow_tonearest_test_data): New variable.
58306 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58307 (pow_towardzero_test_data): New variable.
58308 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58309 (pow_downward_test_data): New variable.
58310 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58311 (pow_upward_test_data): New variable.
58312 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58313 (remainder_test_data): New variable.
58314 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58315 (scalb_test_data): New variable.
58316 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58317 * sysdeps/i386/fpu/libm-test-ulps: Update.
58318
58319 2013-05-11 Joseph Myers <joseph@codesourcery.com>
58320
58321 * math/libm-test.inc (fma_test): Use max_value instead of local
58322 variable fltmax.
58323 (nextafter_test): Likewise.
58324
58325 * math/libm-test.inc (acos_towardzero_test_data): New variable.
58326 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58327 (acos_downward_test_data): New variable.
58328 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58329 (acos_upward_test_data): New variable.
58330 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58331 (acosh_test_data): New variable.
58332 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58333 (asin_test_data): New variable.
58334 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58335 (asin_tonearest_test_data): New variable.
58336 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58337 (asin_towardzero_test_data): New variable.
58338 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58339 (asin_downward_test_data): New variable.
58340 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58341 (asin_upward_test_data): New variable.
58342 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58343 (asinh_test_data): New variable.
58344 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58345 (atan_test_data): New variable.
58346 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58347 (atanh_test_data): New variable.
58348 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58349 (cbrt_test_data): New variable.
58350 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58351 (ceil_test_data): New variable.
58352 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58353 (cos_test_data): New variable.
58354 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58355 (cos_tonearest_test_data): New variable.
58356 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58357 (cos_towardzero_test_data): New variable.
58358 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58359 (cos_downward_test_data): New variable.
58360 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58361 (cos_upward_test_data): New variable.
58362 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58363 (cosh_test_data): New variable.
58364 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58365 (cosh_tonearest_test_data): New variable.
58366 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58367 (cosh_towardzero_test_data): New variable.
58368 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58369 (cosh_downward_test_data): New variable.
58370 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58371 (cosh_upward_test_data): New variable.
58372 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58373 (erf_test_data): New variable.
58374 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58375 (erfc_test_data): New variable.
58376 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
58377 (exp_test_data): New variable.
58378 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
58379 (exp_tonearest_test_data): New variable.
58380 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58381 (exp_towardzero_test_data): New variable.
58382 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58383 (exp_downward_test_data): New variable.
58384 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58385 (exp_upward_test_data): New variable.
58386 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58387 (exp10_test_data): New variable.
58388 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
58389 (exp2_test_data): New variable.
58390 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
58391 (expm1_test_data): New variable.
58392 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
58393 (fabs_test_data): New variable.
58394 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
58395 (floor_test_data): New variable.
58396 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
58397 (j0_test_data): New variable.
58398 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
58399 (j1_test_data): New variable.
58400 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
58401 (log_test_data): New variable.
58402 (log_test): Run tests with RUN_TEST_LOOP_f_f.
58403 (log10_test_data): New variable.
58404 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
58405 (log1p_test_data): New variable.
58406 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
58407 (log2_test_data): New variable.
58408 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
58409 (logb_test_data): New variable.
58410 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
58411 (logb_downward_test_data): New variable.
58412 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58413 (nearbyint_test_data): New variable.
58414 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
58415 (rint_test_data): New variable.
58416 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
58417 (rint_tonearest_test_data): New variable.
58418 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58419 (rint_towardzero_test_data): New variable.
58420 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58421 (rint_downward_test_data): New variable.
58422 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58423 (rint_upward_test_data): New variable.
58424 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58425 (round_test_data): New variable.
58426 (round_test): Run tests with RUN_TEST_LOOP_f_f.
58427 (sin_test_data): New variable.
58428 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
58429 (sin_tonearest_test_data): New variable.
58430 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58431 (sin_towardzero_test_data): New variable.
58432 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58433 (sin_downward_test_data): New variable.
58434 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58435 (sin_upward_test_data): New variable.
58436 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58437 (sinh_test_data): New variable.
58438 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
58439 (sinh_tonearest_test_data): New variable.
58440 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58441 (sinh_towardzero_test_data): New variable.
58442 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58443 (sinh_downward_test_data): New variable.
58444 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58445 (sinh_upward_test_data): New variable.
58446 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58447 (sqrt_test_data): New variable.
58448 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
58449 (tan_test_data): New variable.
58450 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
58451 (tan_tonearest_test_data): New variable.
58452 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58453 (tan_towardzero_test_data): New variable.
58454 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58455 (tan_downward_test_data): New variable.
58456 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58457 (tan_upward_test_data): New variable.
58458 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58459 (tanh_test_data): New variable.
58460 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
58461 (tgamma_test_data): New variable.
58462 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
58463 (trunc_test_data): New variable.
58464 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
58465 (y0_test_data): New variable.
58466 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
58467 (y1_test_data): New variable.
58468 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
58469 (significand_test_data): New variable.
58470 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
58471
58472 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
58473
58474 [BZ #12387]
58475 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
58476
58477 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
58478
58479 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
58480
58481 2013-05-10 Andreas Jaeger <aj@suse.de>
58482
58483 [BZ #15448]
58484 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
58485 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
58486
58487 2013-05-10 Joseph Myers <joseph@codesourcery.com>
58488
58489 * math/gen-libm-test.pl (adjust_arg): New function.
58490 (special_functions): Handle generating output in both functions
58491 and arrays.
58492 (parse_args): Likewise.
58493 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
58494 $in_func argument to parse_args.
58495 * math/libm-test.inc (struct test_f_f_data): New type.
58496 (IF_ROUND_INIT_): New macro.
58497 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
58498 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58499 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58500 (IF_ROUND_INIT_FE_UPWARD): Likewise.
58501 (ROUND_RESTORE_): Likewise.
58502 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
58503 (ROUND_RESTORE_FE_TONEAREST): Likewise.
58504 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
58505 (ROUND_RESTORE_FE_UPWARD): Likewise.
58506 (RUN_TEST_LOOP_f_f): New macro.
58507 (acos_test_data): New variable.
58508 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
58509 (acos_tonearest_test_data): New variable.
58510 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58511
58512 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58513
58514 * benchtests/bench-skeleton.c (startup): Fix coding style.
58515
58516 2013-05-10 Joseph Myers <joseph@codesourcery.com>
58517
58518 [BZ #6809]
58519 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
58520 negative infinity argument.
58521 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
58522 negative infinity argument.
58523 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
58524 negative infinity argument.
58525 * math/libm-test.inc (tgamma_test): Expect errno to be set for
58526 domain errors.
58527
58528 2013-05-10 Florian Weimer <fweimer@redhat.com>
58529
58530 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
58531 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
58532 * iconv/iconv_prog.c (main): Likewise.
58533 * locale/programs/charmap-dir.c (charmap_readdir)
58534 (fopen_uncompressed): Likewise.
58535 * locale/programs/locfile.c (siblings_uncached)
58536 (write_locale_data): Use lstat64 instead of lstat.
58537 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
58538 stat.
58539
58540 2013-05-10 Andreas Jaeger <aj@suse.de>
58541
58542 [BZ #15395]
58543 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
58544 localization.
58545 Include <locale.h>.
58546
58547 2013-05-09 Carlos O'Donell <carlos@redhat.com>
58548
58549 * elf/dl-close.c (_dl_close_worker): Add comments.
58550
58551 2013-05-09 Joseph Myers <joseph@codesourcery.com>
58552
58553 [BZ #15359]
58554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
58555 high part of pi/2.
58556 (__ieee754_rem_pio2l): Update comments.
58557
58558 [BZ #15429]
58559 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
58560 high part of pi/2.
58561 (__ieee754_rem_pio2l): Update comments.
58562
58563 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
58564 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
58565
58566 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
58567 M_PI_4l.
58568
58569 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
58570 (M_PI_34_LOG10El): Likewise.
58571 (M_PI2_LOG10El): Likewise.
58572 (M_PI4_LOG10El): Likewise.
58573 (M_PI_LOG10El): Likewise.
58574
58575 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58576
58577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58578
58579 2013-05-08 Joseph Myers <joseph@codesourcery.com>
58580
58581 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
58582 (MINUS_ZERO_INIT): Likewise.
58583 (PLUS_INFTY_INIT): Likewise.
58584 (MINUS_INFTY_INIT): Likewise.
58585 (QNAN_VALUE_INIT): Likewise.
58586 (MAX_VALUE_INIT): Likewise.
58587 (MIN_VALUE_INIT): Likewise.
58588 (MIN_SUBNORM_VALUE_INIT): Likewise.
58589 (plus_zero): Initialize with PLUS_ZERO_INIT.
58590 (minus_zero): Initialize with MINUS_ZERO_INIT.
58591 (plus_infty): Initialize with PLUS_INFTY_INIT.
58592 (minus_infty): Initialize with MINUS_INFTY_INIT.
58593 (qnan_value): Initialize with QNAN_VALUE_INIT.
58594 (max_value): Initialize with MAX_VALUE_INIT.
58595 (min_value): Initialize with MIN_VALUE_INIT.
58596 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
58597
58598 * math/libm-test.inc (RUN_TEST_if_f): New macro.
58599 (jn_test): Use TEST_if_f instead of TEST_ff_f.
58600 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
58601 (yn_test): Use TEST_if_f instead of TEST_ff_f.
58602
58603 * math/libm-test.inc (RUN_TEST_f_f): New macro.
58604 (RUN_TEST_2_f): Likewise.
58605 (RUN_TEST_ff_f): Likewise.
58606 (RUN_TEST_fi_f): Likewise.
58607 (RUN_TEST_fl_f): Likewise.
58608 (RUN_TEST_fff_f): Likewise.
58609 (RUN_TEST_c_f): Likewise.
58610 (RUN_TEST_f_f1): Likewise.
58611 (RUN_TEST_fF_f1): Likewise.
58612 (RUN_TEST_fI_f1): Likewise.
58613 (RUN_TEST_ffI_f1): Likewise.
58614 (RUN_TEST_c_c): Likewise.
58615 (RUN_TEST_cc_c): Likewise.
58616 (RUN_TEST_f_i): Likewise.
58617 (RUN_TEST_f_i_tg): Likewise.
58618 (RUN_TEST_ff_i_tg): Likewise.
58619 (RUN_TEST_f_b): Likewise.
58620 (RUN_TEST_f_b_tg): Likewise.
58621 (RUN_TEST_f_l): Likewise.
58622 (RUN_TEST_f_L): Likewise.
58623 (RUN_TEST_sincos): Likewise.
58624 * math/gen-libm-test.pl (new_test): Take new argument to indicate
58625 whether to show exceptions. Do not include ");\n" in return
58626 value.
58627 (special_functions): Output call to RUN_TEST_sincos instead of
58628 check_float calls. Update calls to new_test.
58629 (parse_args): Output call to single RUN_TEST_* macro instead of
58630 check_* calls and other assignments. Update calls to new_test.
58631
58632 [BZ #2546]
58633 [BZ #2560]
58634 [BZ #5159]
58635 [BZ #15426]
58636 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
58637 input to result for tgamma overflow.
58638 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
58639 (gamma_coeff): New variable.
58640 (NCOEFF): New macro.
58641 (gamma_positive): New function.
58642 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
58643 underflow here. Use gamma_positive instead of exp (lgamma) for
58644 other arguments.
58645 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
58646 (gamma_coeff): New variable.
58647 (NCOEFF): New macro.
58648 (gammaf_positive): New function.
58649 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
58650 underflow here. Use gamma_positive instead of exp (lgamma) for
58651 other arguments.
58652 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
58653 (gamma_coeff): New variable.
58654 (NCOEFF): New macro.
58655 (gammal_positive): New function.
58656 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
58657 underflow here. Use gamma_positive instead of exp (lgamma) for
58658 other arguments.
58659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
58660 (gamma_coeff): New variable.
58661 (NCOEFF): New macro.
58662 (gammal_positive): New function.
58663 (__ieee754_gammal_r): Handle positive infinity, overflow and
58664 underflow here. Handle NaN the same as positive infinity. Remove
58665 check x < 0xffffffff for negative integers. Use gamma_positive
58666 instead of exp (lgamma) for other arguments.
58667 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
58668 (gamma_coeff): New variable.
58669 (NCOEFF): New macro.
58670 (gammal_positive): New function.
58671 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
58672 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
58673 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
58674 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
58675 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
58676 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
58677 * sysdeps/generic/math_private.h (__gamma_productf): New
58678 prototype.
58679 (__gamma_product): Likewise.
58680 (__gamma_productl): Likewise.
58681 * math/Makefile (libm-calls): Add gamma_product.
58682 * math/libm-test.inc (tgamma_test): Add more tests.
58683 * sysdeps/i386/fpu/libm-test-ulps: Update.
58684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58685
58686 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
58687
58688 * benchtests/bench-skeleton.c (main): Preheat CPU.
58689
58690 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
58691
58692 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
58693
58694 2013-05-07 Roland McGrath <roland@hack.frob.com>
58695
58696 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
58697 and _dl_skip_args_internal.
58698
58699 2013-05-07 Carlos O'Donell <carlos@redhat.com>
58700
58701 * manual/message.texi (Message Translation): Talk about users.
58702 Message to key mapping impacts design.
58703
58704 2013-05-06 Roland McGrath <roland@hack.frob.com>
58705
58706 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
58707
58708 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
58709
58710 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
58711 * sysdeps/wordsize-64/glob64.c: ... here.
58712
58713 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
58714 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
58715 New macros.
58716
58717 * debug/getlogin_r_chk.c: Moved to ...
58718 * login/getlogin_r_chk.c: ... here.
58719 * debug/Makefile (routines): Move getlogin_r_chk to ...
58720 * login/Makefile (routines): ... here.
58721 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
58722 * login/Versions (libc: GLIBC_2.4): ... here.
58723
58724 * io/poll.c (__poll): Renamed from poll.
58725 Add libc_hidden_def.
58726 (poll): Define as weak alias.
58727
58728 * debug/ptsname_r_chk.c: Moved to ...
58729 * login/ptsname_r_chk.c: ... here.
58730 * debug/Makefile (routines): Move ptsname_r_chk to ...
58731 * login/Makefile (routines): ... here.
58732 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
58733 * login/Versions (libc: GLIBC_2.4): ... here.
58734
58735 * posix/getlogin.c: Moved to ...
58736 * login/getlogin.c: ... here.
58737 * posix/getlogin_r.c: Moved to ...
58738 * login/getlogin_r.c: ... here.
58739 * posix/getlogin_r.c: Moved to ...
58740 * login/getlogin_r.c: ... here.
58741 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
58742 * login/Makefile (routines): ... here.
58743 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
58744 * login/Versions (libc: GLIBC_2.0): ... here.
58745
58746 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
58747 (setrlimit): Define as weak alias.
58748
58749 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
58750 Call __ names for open, ftruncate, and close.
58751 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
58752 (truncate): Define as weak alias.
58753
58754 2013-05-06 Joseph Myers <joseph@codesourcery.com>
58755
58756 * math/gen-libm-test.pl (parse_args): Initialize x before each
58757 test of frexp, modf and remquo.
58758
58759 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
58760 test signgam value.
58761
58762 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58763
58764 [BZ #15418]
58765 [BZ #15419]
58766 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
58767 internal tests.
58768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58769
58770 2013-05-06 Roland McGrath <roland@hack.frob.com>
58771
58772 * elf/dl-writev.h: New file.
58773 * elf/dl-misc.c: Include it.
58774 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
58775 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
58776
58777 2013-05-04 Joseph Myers <joseph@codesourcery.com>
58778
58779 * math/libm-test.inc (noXFails): Remove variable.
58780 (noXPasses): Likewise.
58781 (BUILD_COMPLEX_INT): Remove macro.
58782 (print_screen): Remove xfail argument.
58783 (print_screen_max_error): Likewise.
58784 (update_stats): Likewise.
58785 (print_max_error): Likewise. Update calls to other affected
58786 functions.
58787 (print_complex_max_error): Likewise.
58788 (test_single_exception): Update calls to print_screen.
58789 (test_single_errno): Likewise.
58790 (check_float_internal): Remove xfail argument. Update calls to
58791 other affected functions.
58792 (check_float): Likewise.
58793 (check_complex): Likewise.
58794 (check_int): Likewise.
58795 (check_long): Likewise.
58796 (check_bool): Likewise.
58797 (check_longlong): Likewise.
58798 (main): Don't print noXFails and noXPasses.
58799 * math/gen-libm-test.pl (top level): Don't mention expected
58800 failure handling in comment.
58801 (new_test): Don't handle expected failures.
58802 (parse_args): Don't mention expected failure handling in comment.
58803 (generate_testfile): Don't handle expected failures.
58804 (parse_ulps): Likewise.
58805 (print_ulps_file): Likewise.
58806 (get_failure): Remove function.
58807 (output_test): Don't handle expected failures.
58808 * make/README.libm-test: Don't mention expected failure handling.
58809
58810 * math/libm-test.inc (plus_zero): Make const. Add initializer.
58811 (minus_zero): Likewise.
58812 (plus_infty): Likewise.
58813 (minus_infty): Likewise.
58814 (qnan_value): Likewise.
58815 (max_value): Likewise.
58816 (min_value): Likewise.
58817 (min_subnorm_value): Likewise.
58818 (initialize): Do not initialize those variables dynamically.
58819
58820 2013-05-03 Roland McGrath <roland@hack.frob.com>
58821
58822 * io/open.c (__open_2): Moved to ...
58823 * io/open_2.c: ... this new file.
58824 * io/open64.c (__open64_2): Moved to ...
58825 * io/open64_2.c: ... this new file.
58826 * io/openat.c (__openat_2): Moved to ...
58827 * io/openat_2.c: ... this new file.
58828 * io/openat64.c (__openat64_2): Moved to ...
58829 * io/openat64_2.c: ... this new file.
58830 * io/Makefile (routines): Add them.
58831 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
58832 * sysdeps/unix/sysv/linux/open_2.c: File removed.
58833 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
58834 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
58835 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
58836 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
58837 (__openat64): Add hidden_ver.
58838 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
58839 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
58840
58841 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
58842 Separately conditionalize setting of GLRO(dl_sysinfo) so
58843 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
58844 as well, but the actual setting is only under [NEED_DL_SYSINFO].
58845
58846 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58847
58848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
58849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
58850 definition.
58851 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
58852 * sysdeps/unix/sysv/linux/powerpc/init-first.c
58853 (_libc_vdso_platform_setup): Add __vdso_time initialization.
58854 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
58855 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
58856
58857 2013-05-03 Joseph Myers <joseph@codesourcery.com>
58858
58859 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
58860 test signgam value.
58861
58862 * math/libm-test.inc (hypot_test): Do not use
58863 IGNORE_ZERO_INF_SIGN.
58864
58865 2013-05-03 Andreas Jaeger <aj@suse.de>
58866
58867 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
58868 Linux 3.9.
58869 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
58870 (PF_MAX): Adjust for VSOCK change.
58871
58872 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58873
58874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58875
58876 2013-05-02 Carlos O'Donell <carlos@redhat.com>
58877
58878 [BZ #15264]
58879 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
58880 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
58881 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
58882
58883 2013-05-02 David S. Miller <davem@davemloft.net>
58884
58885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58886
58887 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
58888
58889 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
58890
58891 2013-05-01 Roland McGrath <roland@hack.frob.com>
58892
58893 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
58894
58895 2013-05-01 Richard Smith <richard@metafoo.co.uk>
58896
58897 [BZ #14952]
58898 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
58899 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58900 Use __attribute__ ((__gnu_inline__)).
58901 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58902 Don't use __attribute__ ((__gnu_inline__)).
58903
58904 2013-05-01 Joseph Myers <joseph@codesourcery.com>
58905
58906 [BZ #15423]
58907 * math/s_catan.c (__catan): Handle small real or imaginary part of
58908 input specially to avoid spurious underflow.
58909 * math/s_catanf.c (__catanf): Likewise.
58910 * math/s_catanh.c (__catanh): Likewise.
58911 * math/s_catanhf.c (__catanhf): Likewise.
58912 * math/s_catanhl.c (__catanhl): Likewise.
58913 * math/s_catanl.c (__catanl): Likewise.
58914 * math/libm-test.inc (catan_test): Add more tests.
58915 (catanh_test): Likewise.
58916 * sysdeps/i386/fpu/libm-test-ulps: Update.
58917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58918
58919 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58920
58921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58922
58923 2013-04-30 Joseph Myers <joseph@codesourcery.com>
58924
58925 [BZ #15416]
58926 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
58927 accurately for denominator in atan2.
58928 * math/s_catanf.c (__catanf): Likewise.
58929 * math/s_catanh.c (__catanh): Likewise.
58930 * math/s_catanhf.c (__catanhf): Likewise.
58931 * math/s_catanhl.c (__catanhl): Likewise.
58932 * math/s_catanl.c (__catanl): Likewise.
58933 * math/libm-test.inc (catan_test): Add more tests.
58934 (catanh_test): Likewise.
58935 * sysdeps/i386/fpu/libm-test-ulps: Update.
58936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58937
58938 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
58939
58940 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
58941
58942 * benchtests/Makefile (bench): Remove slow benchmarks.
58943 * benchtests/atan-inputs: Add slow benchmark inputs.
58944 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
58945 (BENCH_FUNC): Accept variant offset.
58946 (VARIANT): Define.
58947 * benchtests/bench-skeleton.c (main): Run benchmark for each
58948 variant.
58949 * benchtests/cos-inputs: Add slow benchmark inputs.
58950 * benchtests/exp-inputs: Likewise.
58951 * benchtests/pow-inputs: Likewise.
58952 * benchtests/sin-inputs: Likewise.
58953 * benchtests/slowatan-inputs: Remove.
58954 * benchtests/slowatan.c: Remove.
58955 * benchtests/slowcos-inputs: Remove.
58956 * benchtests/slowcos.c: Remove.
58957 * benchtests/slowexp-inputs: Remove.
58958 * benchtests/slowexp.c: Remove.
58959 * benchtests/slowpow-inputs: Remove.
58960 * benchtests/slowpow.c: Remove.
58961 * benchtests/slowsin-inputs: Remove.
58962 * benchtests/slowsin.c: Remove.
58963 * benchtests/slowtan-inputs: Remove.
58964 * benchtests/slowtan.c: Remove.
58965 * benchtests/tan-inputs: Add slow benchmark inputs.
58966 * scripts/bench.pl: Parse comments and directives.
58967
58968 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
58969 in CPPFLAGS.
58970 ($(objpfx)bench-%.c): Remove *-ITER.
58971 * benchtests/bench-modf.c: Remove definition of ITER.
58972 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
58973 (main): Loop for DURATION seconds instead of fixed number of
58974 iterations.
58975 * scripts/bench.pl: Don't expect iterations in parameters.
58976
58977 2013-04-29 Roland McGrath <roland@hack.frob.com>
58978
58979 * io/fchdir.c (__fchdir): Renamed from fchdir.
58980 (fchdir): Define as weak alias.
58981
58982 2013-04-29 Joseph Myers <joseph@codesourcery.com>
58983
58984 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
58985 (ERRNO_EDOM): Likewise.
58986 (ERRNO_ERANGE): Likewise.
58987 (noErrnoTests): New variable.
58988 (init_max_error): Set errno to 0.
58989 (test_single_errno): New function.
58990 (test_errno): Likewise.
58991 (check_float_internal): Call test_errno. Set errno to 0.
58992 (check_complex): Refer to errno tests in comment.
58993 (check_int): Call test_errno. Set errno to 0.
58994 (check_long): Likewise.
58995 (check_bool): Likewise.
58996 (check_longlong): Likewise.
58997 (cos_test): Use ERRNO_* flags for errno tests instead of
58998 check_int.
58999 (expm1_test): Likewise.
59000 (fmod_test): Likewise.
59001 (ilogb_test): Likewise.
59002 (lgamma_test): Likewise.
59003 (pow_test): Likewise.
59004 (remainder_test): Likewise.
59005 (sin_test): Likewise.
59006 (tan_test): Likewise.
59007 (yn_test): Likewise.
59008 (initialize): Set errno to 0.
59009 (main): Print number of errno tests.
59010 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59011
59012 2013-04-29 Andreas Jaeger <aj@suse.de>
59013
59014 [BZ #15084]
59015 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59016 and RES_USEVC.
59017
59018 [BZ #15085]
59019 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59020 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59021 unimplemented.
59022
59023 [BZ #15380]
59024 * stdlib/random.c (__initstate): Return NULL if
59025 __initstate fails.
59026
59027 [BZ #15086]
59028 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59029 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59030 RES_SNGLKUPREOP.
59031
59032 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59033
59034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59035
59036 2013-04-29 Joseph Myers <joseph@codesourcery.com>
59037
59038 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59039 of individual tests.
59040 (casin_test): Likewise.
59041 (casinh_test): Likewise.
59042
59043 2013-04-27 Joseph Myers <joseph@codesourcery.com>
59044
59045 [BZ #15409]
59046 * math/s_catan.c (__catan): Handle arguments with large real or
59047 imaginary part separately without squaring.
59048 * math/s_catanf.c (__catanf): Likewise.
59049 * math/s_catanh.c (__catanh): Likewise.
59050 * math/s_catanhf.c (__catanhf): Likewise.
59051 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59052 and redefine.
59053 (__catanhl): Handle arguments with large real or imaginary part
59054 separately without squaring.
59055 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59056 and redefine.
59057 (__catanl): Handle arguments with large real or imaginary part
59058 separately without squaring.
59059 * math/libm-test.inc (catan_test): Add more tests.
59060 (catanh_test): Likewise.
59061 * sysdeps/i386/fpu/libm-test-ulps: Update.
59062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59063
59064 2013-04-27 Andreas Jaeger <aj@suse.de>
59065
59066 [BZ #15007]
59067 * stdlib/stdlib.h: Update guards for qecvt.
59068 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59069 <stdlib.h>.
59070
59071 2013-04-27 Allan McRae <allan@archlinux.org>
59072
59073 * sysdeps/i386/fpu/libm-test-ulps: Update.
59074
59075 2013-04-26 Joseph Myers <joseph@codesourcery.com>
59076
59077 [BZ #15406]
59078 * math/s_catan.c: Include <float.h>.
59079 (__catan): Ensure underflow exception occurs for underflowed
59080 result.
59081 * math/s_catanf.c: Include <float.h>.
59082 (__catanf): Ensure underflow exception occurs for underflowed
59083 result.
59084 * math/s_catanh.c: Include <float.h>.
59085 (__catanh): Ensure underflow exception occurs for underflowed
59086 result.
59087 * math/s_catanhf.c: Include <float.h>.
59088 (__catanhf): Ensure underflow exception occurs for underflowed
59089 result.
59090 * math/s_catanhl.c: Include <float.h>.
59091 (__catanhl): Ensure underflow exception occurs for underflowed
59092 result.
59093 * math/s_catanl.c: Include <float.h>.
59094 (__catanl): Ensure underflow exception occurs for underflowed
59095 result.
59096 * math/libm-test.inc (catan_test): Add more tests.
59097 (catanh_test): Likewise.
59098
59099 [BZ #15405]
59100 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59101 underflowed result.
59102 * math/s_ccoshf.c (__ccoshf): Likewise.
59103 * math/s_ccoshl.c (__ccoshl): Likewise.
59104 * math/s_csin.c (__csin): Likewise.
59105 * math/s_csinf.c (__csinf): Likewise.
59106 * math/s_csinh.c (__csinh): Likewise.
59107 * math/s_csinhf.c (__csinhf): Likewise.
59108 * math/s_csinhl.c (__csinhl): Likewise.
59109 * math/s_csinl.c (__csinl): Likewise.
59110 * math/libm-test.inc (ccos_test): Add more tests.
59111 (ccosh_test): Likewise.
59112 (csin_test): Likewise.
59113 (csinh_test): Likewise.
59114
59115 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59116
59117 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59118 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59119 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59120 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59121 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59122 powerpc/power5+/fpu folders.
59123 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59124
59125
59126 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
59127
59128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59129
59130 2013-04-25 Joseph Myers <joseph@codesourcery.com>
59131
59132 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59133 additions to variable.
59134 [$(config-machine) = x86_64] (modules-names): Likewise.
59135 ($(objpfx)tst-audit3): Remove dependency.
59136 ($(objpfx)tst-audit3.out): Likewise.
59137 ($(objpfx)tst-audit4): Likewise.
59138 ($(objpfx)tst-audit4.out): Likewise.
59139 ($(objpfx)tst-audit5): Likewise.
59140 ($(objpfx)tst-audit5.out): Likewise.
59141 ($(objpfx)tst-audit6): Likewise.
59142 ($(objpfx)tst-audit6.out): Likewise.
59143 ($(objpfx)tst-audit7): Likewise.
59144 ($(objpfx)tst-audit7.out): Likewise.
59145 (tst-audit3-ENV): Remove variable.
59146 (tst-audit4-ENV): Likewise.
59147 (tst-audit5-ENV): Likewise.
59148 (tst-audit6-ENV): Likewise.
59149 (tst-audit7-ENV): Likewise.
59150 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59151 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59152 addition to variable.
59153 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59154 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59155 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59156 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59157 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59158 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59159 tst-audit3, tst-audit4 and tst-audit5.
59160 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59161 tst-audit6 and tst-audit7.
59162 [$(subdir) = elf] (modules-names): Add audit modules for those
59163 tests.
59164 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59165 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59166 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59167 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59168 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59169 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59170 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59171 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59172 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59173 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59174 [$(subdir) = elf] (tst-audit3-ENV): New variable.
59175 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59176 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59177 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59178 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59179 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59180 Likewise.
59181 [$(subdir) = elf && $(config-cflags-avx) = yes]
59182 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59183 [$(subdir) = elf && $(config-cflags-avx) = yes]
59184 (CFLAGS-tst-auditmod4a.c): Likewise.
59185 [$(subdir) = elf && $(config-cflags-avx) = yes]
59186 (CFLAGS-tst-auditmod4b.c): Likewise.
59187 [$(subdir) = elf && $(config-cflags-avx) = yes]
59188 (CFLAGS-tst-auditmod6b.c): Likewise.
59189 [$(subdir) = elf && $(config-cflags-avx) = yes]
59190 (CFLAGS-tst-auditmod6c.c): Likewise.
59191 [$(subdir) = elf && $(config-cflags-avx) = yes]
59192 (CFLAGS-tst-auditmod7b.c): Likewise.
59193 * elf/tst-audit3.c: Move to ...
59194 * sysdeps/x86_64/tst-audit3.c: ... here.
59195 * elf/tst-audit4.c: Move to ...
59196 * sysdeps/x86_64/tst-audit4.c: ... here.
59197 * elf/tst-audit5.c: Move to ...
59198 * sysdeps/x86_64/tst-audit5.c: ... here.
59199 * elf/tst-audit6.c: Move to ...
59200 * sysdeps/x86_64/tst-audit6.c: ... here.
59201 * elf/tst-audit7.c: Move to ...
59202 * sysdeps/x86_64/tst-audit7.c: ... here.
59203 * elf/tst-auditmod3a.c: Move to ...
59204 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59205 * elf/tst-auditmod3b.c: Move to ...
59206 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59207 * elf/tst-auditmod4a.c: Move to ...
59208 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59209 * elf/tst-auditmod4b.c: Move to ...
59210 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59211 * elf/tst-auditmod5a.c: Move to ...
59212 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59213 * elf/tst-auditmod5b.c: Move to ...
59214 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59215 * elf/tst-auditmod6a.c: Move to ...
59216 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59217 * elf/tst-auditmod6b.c: Move to ...
59218 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59219 * elf/tst-auditmod6c.c: Move to ...
59220 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59221 * elf/tst-auditmod7a.c: Move to ...
59222 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59223 * elf/tst-auditmod7b.c: Move to ...
59224 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59225
59226 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
59227
59228 [BZ #15366]
59229 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59230 define unconditionally.
59231 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59232 define unconditionally.
59233 (INT8_C, INT16_C, etc.): Likewise.
59234
59235 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
59236
59237 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59238 __ehdr_start with hidden visibility.
59239
59240 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59241
59242 2013-04-24 Carlos O'Donell <carlos@redhat.com>
59243
59244 * math/libm-test.inc (cos_test): Use accurate hex constants.
59245 (sincost_test): Likewise.
59246
59247 2013-04-24 Joseph Myers <joseph@codesourcery.com>
59248
59249 * math/libm-test.inc (catan_test): Add more tests.
59250 (catanh_test): Likewise.
59251
59252 * math/s_catanf.c (__catanf): Use suffixed floating-point
59253 constants.
59254 * math/s_catanhf.c (__catanhf): Likewise.
59255 * math/s_catanhl.c (__catanhl): Likewise.
59256 * math/s_catanl.c (__catanl): Likewise.
59257
59258 [BZ #15394]
59259 * math/s_catan.c (__catan): Calculate imaginary part of result
59260 with log1p not log unless computing log of number close to 0.
59261 * math/s_catanf.c (__catanf): Likewise.
59262 * math/s_catanl.c (__catanl): Likewise.
59263 * math/s_catanh.c (__catanh): Calculate real part of result with
59264 log1p not log unless computing log of number close to 0.
59265 * math/s_catanhf.c (__catanhf): Likewise.
59266 * math/s_catanhl.c (__catanhl): Likewise.
59267 * math/libm-test.inc (catan_test): Add more tests.
59268 (catanh_test): Likewise.
59269 * sysdeps/i386/fpu/libm-test-ulps: Update.
59270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59271
59272 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
59273
59274 * benchtests/Makefile: Mention files in which fast and slow
59275 paths of math functions are implemented.
59276
59277 2013-04-23 Roland McGrath <roland@hack.frob.com>
59278
59279 * sysdeps/posix/timespec_get.c: New file.
59280
59281 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59282
59283 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59284 POWER.
59285 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59286 for POWER.
59287 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59288 powerpc/power5/fpu folders.
59289 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59290 * benchtests/Makefile: Add modf testcase.
59291 * benchtests/bench-modf.c: New file: Benchmark test for mo
59292
59293 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
59294
59295 [BZ #14888]
59296 * time/Makefile (tests): Add tst-strptime-whitespace.
59297 * time/strptime_l.c (get_number): Use ISSPACE.
59298 (__strptime_internal): Likewise.
59299 * time/tst-strptime-whitespace.c: New test case.
59300
59301 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
59302
59303 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59304 member.
59305 (_nss_files_init): Set it here.
59306
59307 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
59308
59309 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59310 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59311 unsigned.
59312
59313 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
59314
59315 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59316
59317 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
59318
59319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59320 size just once.
59321
59322 2013-04-21 David S. Miller <davem@davemloft.net>
59323
59324 * po/ru.po: Update Russion translation from translation project.
59325
59326 2013-04-17 Adam Conrad <adconrad@0c3.net>
59327
59328 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59329 and setfsgid.
59330
59331 2013-04-17 Carlos O'Donell <carlos@redhat.com>
59332
59333 * configure.in: Remove i386 configure warning. Remove i386 case.
59334 * configure: Regenerate.
59335 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59336 Add example to error message.
59337 * sysdeps/i386/configure: Regenerate.
59338
59339 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
59340
59341 * benchtests/Makefile (bench): Add cos, tan, slowcos and
59342 slowtan.
59343 * benchtests/cos-inputs: New file.
59344 * benchtests/slowcos-inputs: New file.
59345 * benchtests/slowcos.c: New file.
59346 * benchtests/slowtan-inputs: New file.
59347 * benchtests/slowtan.c: New file.
59348 * benchtests/tan-inputs: New file.
59349
59350 2013-04-16 Roland McGrath <roland@hack.frob.com>
59351
59352 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59353 considered kosher.
59354
59355 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59356
59357 * benchtests/Makefile: Include cppflags-iterator.mk to add
59358 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59359
59360 * Makefile.in (bench-clean): New target.
59361 * benchtests/Makefile (bench-clean): Likewise.
59362
59363 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
59364
59365 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59366
59367 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
59368
59369 * stdio-common/tstdiomisc.c: Fix coding-style violation.
59370
59371 2013-04-15 Andreas Schwab <schwab@suse.de>
59372
59373 * nscd/grpcache.c (cache_addgr): Properly check for short write.
59374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59375 * nscd/pwdcache.c (cache_addpw): Likewise.
59376 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
59377 more than recsize.
59378
59379 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59380
59381 * benchtests/Makefile (bench): Write all output to
59382 bench-out.tmp together.
59383
59384 2013-04-15 Andreas Schwab <schwab@suse.de>
59385
59386 * nscd/nscd.c (main): Don't fork again after closing files.
59387
59388 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59389
59390 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
59391
59392 * benchtests/Rules (bench-deps): Collect dependencies into a
59393 single variable. Add Makefile to dependencies.
59394 ($(objpfx)bench-%.c): Depend on bench-deps.
59395
59396 2013-04-12 Roland McGrath <roland@hack.frob.com>
59397 Xavier Roche <roche+kml2@exalead.com>
59398
59399 [BZ #15361]
59400 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
59401 just that it's a file descriptor.
59402 * manual/llio.texi (Synchronizing AIO Operations): Update description
59403 for EBADF error from aio_fsync.
59404
59405 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59406
59407 * Rules (bench): Move target definition...
59408 * benchtests/Makefile: ... here.
59409
59410 2013-04-11 Carlos O'Donell <carlos@redhat.com>
59411
59412 * math/libm-test.inc (cos_test): Fix PI/2 test.
59413 (sincos_test): Likewise.
59414 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
59415 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59416
59417 2013-04-11 Andreas Schwab <schwab@suse.de>
59418
59419 [BZ #13988]
59420 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59421 accept exponent character only when digits were seen.
59422 * stdio-common/Makefile (tests): Add bug26.
59423 * stdio-common/bug26.c: New file.
59424
59425 [BZ #14293]
59426 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
59427 non-freeable.
59428
59429 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59430
59431 * Makeconfig (rtld-prefix): Define built linker prefix.
59432 * Rules (run-bench): Use it.
59433 * math/Makefile (run-regen-ulps): Likewise.
59434
59435 * Rules (bench): Remove eval.
59436
59437 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
59438 Roland McGrath <roland@hack.frob.com>
59439 Ondrej Bilka <neleai@seznam.cz>
59440
59441 [BZ #15346]
59442 * time/getdate.c: Include ctype.h and alloca.h.
59443 (__getdate_r): Trim leading and trailing spaces of input.
59444 * time/tst-getdate.c (tests): Add tests with leading and
59445 trailing spaces.
59446
59447 2013-04-08 Roland McGrath <roland@hack.frob.com>
59448
59449 [BZ #14280]
59450 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
59451 when computing value.
59452
59453 2013-04-06 Carlos O'Donell <carlos@redhat.com>
59454
59455 * math/README.libm-test (How can I generate "libm-test-ulps"?):
59456 Use testrun.sh to run libm tests.
59457
59458 [BZ #15309]
59459 * elf/dl-open.c (dl_open_worker): memset all of seen array.
59460
59461 2013-04-06 Marko Myllynen <myllynen@redhat.com>
59462
59463 [BZ #15264]
59464 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
59465
59466 2013-04-06 Carlos O'Donell <carlos@redhat.com>
59467
59468 * Makefile.in (regen-ulps): New target.
59469 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
59470 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
59471 [ifneq (no,$(PERL)] (regen-ulps): New target.
59472 [ifeq (no,$(PERL)] (regen-ulps): New target.
59473 * math/libm-test.inc (ulps_file_name): Define.
59474 (output_dir): New variable.
59475 (options): Add "output-dir" option.
59476 (parse_opt): Handle 'o' case.
59477 (main): If output_dir is non-NULL use it as a prefix
59478 otherwise use "".
59479 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
59480
59481 2013-04-06 Carlos O'Donell <carlos@redhat.com>
59482
59483 [BZ #10060, #10062]
59484 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
59485 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
59486 fail configure if __sync_val_compare_and_swap is not inlined.
59487 * sysdeps/i386/configure: Regenerate.
59488 * configure.in: Build for i686 when configured for i386.
59489 * configure: Regenerate.
59490 * README: Remove i386 reference.
59491
59492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
59493
59494 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
59495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59496
59497 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
59498
59499 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
59500 (lmsnanval): New variables.
59501 (F): Add conversion tests.
59502 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
59503 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
59504
59505 * stdio-common/tstdiomisc.c (F): Properly collect individual
59506 tests' results.
59507
59508 [BZ #14686, #15336]
59509 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
59510 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59511 Instead, use input NaN values or generate a qNaN by arithmetic
59512 operation. Also fix bugs to comply with the standard.
59513 * math/libm-test.inc (remainder_test): Add more tests.
59514
59515 [BZ #15335, #15342]
59516 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
59517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
59518 input NaN values or generate a qNaN by arithmetic operation.
59519
59520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
59521 unreachable code.
59522
59523 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
59524 definitions.
59525
59526 2013-04-03 Joseph Myers <joseph@codesourcery.com>
59527
59528 [BZ #14478]
59529 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
59530 underflowed result.
59531 * math/s_cexpf.c (__cexpf): Likewise.
59532 * math/s_cexpl.c (__cexpl): Likewise.
59533 * math/libm-test.inc (cexp_test): Add more tests.
59534
59535 2013-04-03 Andreas Schwab <schwab@suse.de>
59536
59537 [BZ #15330]
59538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
59539 order arrays from heap if bigger than alloca cutoff.
59540
59541 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
59542
59543 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
59544 (SNAN_TESTS_double): Refer to GCC PR56831.
59545 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
59546 GCC PR56828.
59547
59548 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
59549
59550 * Rules (bench): Move bench.out after the run is complete.
59551
59552 * Rules (bench): Echo currently running benchmark.
59553
59554 * benchtests/Makefile (bench): Add atan and slowatan.
59555 * benchtests/atan-inputs: New file.
59556 * benchtests/slowatan-inputs: New file.
59557 * benchtests/slowatan.c: New file.
59558
59559 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
59560 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
59561 its value.
59562
59563 [BZ #15305]
59564 * sysdeps/unix/sysv/linux/kernel-features.h
59565 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
59566 __ASSUME_XFS_RESTRICTED_CHOWN.
59567 * sysdeps/unix/sysv/linux/pathconf.c
59568 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
59569 Save and restore errno.
59570
59571 2013-04-02 Joseph Myers <joseph@codesourcery.com>
59572
59573 [BZ #15327]
59574 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
59575 arguments using __kernel_casinh.
59576 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
59577 arguments using __kernel_casinhf.
59578 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
59579 arguments using __kernel_casinhl.
59580 * math/libm-test.inc (cacosh_test): Add more tests.
59581 * sysdeps/i386/fpu/libm-test-ulps: Update.
59582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59583
59584 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
59585
59586 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
59587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
59588
59589 * bench/Makefile (bench): Add sin and slowsin.
59590 * benchtests/sin-inputs: New file.
59591 * benchtests/slowsin-inputs: New file.
59592 * benchtests/slowsin.c: New file.
59593
59594 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
59595 (bench): Add slowexp and slowpow.
59596 (exp-ITER): Increase iterations.
59597 (pow-ITER): Likewise.
59598 * benchtests/exp-inputs: Change input.
59599 * benchtests/pow-inputs: Likewise.
59600 * benchtests/slowexp-inputs: New file.
59601 * benchtests/slowexp.c: New file.
59602 * benchtests/slowpow-inputs: New file.
59603 * benchtests/slowpow.c: New file.
59604
59605 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59606
59607 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
59608 instructions.
59609 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59610 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
59611 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59612 * benchtests/Makefile: Add rint benchtest.
59613 * benchtests/rint-inputs: Input for rint benchtest.
59614
59615 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
59616
59617 * Versions.def (libm): Add GLIBC_2.18.
59618 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
59619 hidden libm prototypes.
59620 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
59621 * math/Makefile (libm-calls): Add s_issignaling.
59622 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
59623 __issignalingf, __issignalingl. Adjust all libm.abilist files.
59624 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
59625 declaration.
59626 * math/math.h [__USE_GNU] (issignaling): New macro.
59627 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
59628 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
59629 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
59630 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
59631 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
59632 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
59633 * manual/arith.texi (issignaling): New section.
59634 * manual/libm-err-tab.pl (@all_functions): Update comment.
59635 * math/gen-libm-test.pl (parse_args): Apply special handling for
59636 issignaling.
59637 * math/libm-test.inc (print_float, issignaling_test): New
59638 functions.
59639 (check_float_internal): Add issignaling checks.
59640 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
59641 default definition.
59642 * sysdeps/powerpc/math-tests.h: New file.
59643 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
59644 tests.
59645 * math/test-snan.c (TEST_FUNC): Likewise.
59646
59647 2013-03-30 David S. Miller <davem@davemloft.net>
59648
59649 * po/de.po: Update from translation team.
59650
59651 2013-03-30 Joseph Myers <joseph@codesourcery.com>
59652
59653 [BZ #10357]
59654 * math/k_casinh.c (__kernel_casinh): Handle arguments with
59655 imaginary part less than 1.0 and real part less than 0.5
59656 specially.
59657 * math/k_casinhf.c (__kernel_casinhf): Likewise.
59658 * math/k_casinhl.c (__kernel_casinhl): Likewise.
59659 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
59660 (cacos_test): Add more tests.
59661 (casin_test): Likewise.
59662 (casinh_test): Likewise.
59663 * sysdeps/i386/fpu/libm-test-ulps: Update.
59664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59665
59666 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59667
59668 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
59669 ONE with its value.
59670
59671 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
59672 (__pow_mp): Replace ONE and MONE with their values.
59673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59674 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
59675 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59676 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
59677 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59678 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59679
59680 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
59681
59682 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
59683 (__pow_mp): Replace ZERO and MZERO with their values.
59684 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59686 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59688 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59689 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
59690 (__sqr): Likewise.
59691
59692 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
59693
59694 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
59695
59696 2013-03-28 Roland McGrath <roland@hack.frob.com>
59697
59698 * include/stdlib.h [!SHARED] (__call_tls_dtors):
59699 Declare with __attribute__ ((weak)).
59700 * stdlib/exit.c (__libc_atexit) [!SHARED]:
59701 Call __call_tls_dtors only if it's not NULL.
59702
59703 2013-03-28 Roland McGrath <roland@hack.frob.com>
59704
59705 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
59706 didn't do it already, then set _dl_phdr and _dl_phnum based on the
59707 magic __ehdr_start linker symbol if it's defined.
59708 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
59709 them up here if it was already done.
59710
59711 * elf/dl-support.c (_dl_phdr): Make pointer to const.
59712 (_dl_aux_init): Use const in cast when setting it.
59713 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
59714 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
59715 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
59716
59717 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
59718 Declare them here.
59719 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
59720 * csu/libc-tls.c: Nor here.
59721 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
59722
59723 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
59724 (__libc_message): Never call vsyslog.
59725
59726 2013-03-28 Alan Modra <amodra@gmail.com>
59727
59728 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
59729 Define as empty.
59730 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
59731 Likewise.
59732
59733 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59734
59735 [BZ #15214]
59736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
59737 underflow.
59738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59739
59740 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59741
59742 [BZ #15304]
59743 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
59744 Don't add gid passed as argument.
59745
59746 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
59747
59748 2013-03-27 Joseph Myers <joseph@codesourcery.com>
59749
59750 [BZ #15307]
59751 * math/k_casinh.c (__kernel_casinh): Handle arguments with
59752 imaginary part between 1.0 and 1.5 and real part less than 0.5
59753 specially.
59754 * math/k_casinhf.c (__kernel_casinhf): Likewise.
59755 * math/k_casinhl.c (__kernel_casinhl): Likewise.
59756 * math/libm-test.inc (cacos_test): Add more tests.
59757 (casin_test): Likewise.
59758 (casinh_test): Likewise.
59759 * sysdeps/i386/fpu/libm-test-ulps: Update.
59760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59761
59762 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59763
59764 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
59765 constants.
59766 (norm): Likewise.
59767 (denorm): Likewise.
59768 (__dbl_mp): Likewise.
59769 (add_magnitudes): Likewise.
59770 (sub_magnitudes): Likewise.
59771 (__add): Likewise.
59772 (__sub): Likewise.
59773 (__mul): Likewise.
59774 (__sqr): Likewise.
59775 (__inv): Likewise.
59776 (__dvd): Likewise.
59777
59778 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
59779 commented code.
59780 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
59781 (__dubcos): Likewise.
59782 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
59783 (__ieee754_acos): Likewise.
59784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59785 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
59786 (__exp1): Likewise.
59787 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59789 (log1): Likewise.
59790 (my_log2): Likewise.
59791 (checkint): Likewise.
59792 * sysdeps/ieee754/dbl-64/e_remainder.c
59793 (__ieee754_remainder): Likewise.
59794 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
59796 (bsloww): Likewise.
59797 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59798
59799 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59800 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
59801 MANTISSA_STORE_T to store computations on mantissa. Use
59802 macros for rounding and division.
59803 (denorm): Likewise.
59804 (__dbl_mp): Likewise.
59805 (add_magnitudes): Likewise.
59806 (sub_magnitudes): Likewise.
59807 (__mul): Likewise.
59808 (__sqr): Likewise.
59809 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
59810 powers of two in terms of TWOPOW macro.
59811 (mp_no): Make type of mantissa as MANTISSA_T.
59812 [!RADIXI]: Define RADIXI.
59813 [!TWO52]: Define TWO52.
59814 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59815
59816 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59817
59818 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
59819 llroundl symbol when building for PPC32.
59820
59821 2013-03-24 Mark H Weaver <mhw@netris.org>
59822
59823 * manual/arith.texi (Normalization Functions): Fix prototypes for
59824 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
59825
59826 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59827
59828 [BZ #13889]
59829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
59830 high value to check if expl overflow.
59831 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
59832 to check for underflow and overflow.
59833 * math/libm-test.inc: Add exp test.
59834
59835 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
59836
59837 [BZ #11120]
59838 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
59839 with NOT_IN_libc.
59840
59841 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59842
59843 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
59844 symbol.
59845
59846 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
59847
59848 * math/gen-libm-test.pl (parse_args, special_functions): Properly
59849 wrap blocks consisting of several statements.
59850
59851 * sysdeps/generic/math-tests.h: New file.
59852 * sysdeps/i386/fpu/math-tests.h: Likewise.
59853 * math/test-snan.c: Include it.
59854 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
59855
59856 2013-03-21 Joseph Myers <joseph@codesourcery.com>
59857
59858 [BZ #15285]
59859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
59860 (__ieee754_j0l): Do not improve calculations using cos of twice
59861 input for inputs above LDBL_MAX / 2.0L.
59862 (__ieee754_y0l): Likewise.
59863 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
59864 (__ieee754_j1l): Do not improve calculations using cos of twice
59865 input for inputs above LDBL_MAX / 2.0L.
59866 (__ieee754_y1l): Likewise.
59867 * math/libm-test.inc (j0_test): Add another test.
59868 (j1_test): Likewise.
59869 (y0_test): Likewise.
59870 (y1_test): Likewise.
59871 * sysdeps/i386/fpu/libm-test-ulps: Update.
59872
59873 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59874
59875 * Rules ($(objpfx)bench-%.c): Include code from a C source
59876 file.
59877
59878 2013-03-21 Joseph Myers <joseph@codesourcery.com>
59879
59880 [BZ #15287]
59881 * math/k_casinh.c (__kernel_casinh): Handle arguments with
59882 imaginary part 1.0 and real part less than 0.5 specially.
59883 * math/k_casinhf.c (__kernel_casinhf): Likewise.
59884 * math/k_casinhl.c (__kernel_casinhl): Likewise.
59885 * math/libm-test.inc (cacos_test): Add more tests.
59886 (casin_test): Likewise.
59887 (casinh_test): Likewise.
59888 * sysdeps/i386/fpu/libm-test-ulps: Update.
59889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59890
59891 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59892
59893 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
59894 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
59895
59896 2013-03-20 Joseph Myers <joseph@codesourcery.com>
59897
59898 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59899 * config.make.in (config-cflags-sse4): Remove variable.
59900 (config-cflags-avx): Likewise.
59901 (config-cflags-sse2avx): Likewise.
59902 (config-cflags-novzeroupper): Likewise.
59903 (config-asflags-i686): Likewise.
59904 (have-mfma4): Likewise.
59905 (have-as-vis3): Likewise.
59906 (MIG): Likewise.
59907 * configure.in (MIG): Do not AC_SUBST.
59908 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
59909 (libc_cv_cc_sse4): Do not AC_SUBST.
59910 (libc_cv_cc_avx): Likewise.
59911 (libc_cv_cc_sse2avx): Likewise.
59912 (libc_cv_cc_novzeroupper): Likewise.
59913 (libc_cv_cc_fma4): Likewise.
59914 (libc_cv_as_i686): Likewise.
59915 (libc_cv_sparc_as_vis3): Likewise.
59916 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
59917 LIBC_CONFIG_VAR.
59918 (config-asflags-i686): Likewise.
59919 (config-cflags-avx): Likewise.
59920 (config-cflags-sse2avx): Likewise.
59921 (have-mfma4): Likewise.
59922 (config-cflags-novzeroupper): Likewise.
59923 * sysdeps/mach/configure.in (MIG): Likewise.
59924 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
59925 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
59926 LIBC_CONFIG_VAR.
59927 (config-cflags-avx): Likewise.
59928 (config-cflags-sse2avx): Likewise.
59929 (have-mfma4): Likewise.
59930 (config-cflags-novzeroupper): Likewise.
59931 * configure: Regenerated.
59932 * sysdeps/i386/configure: Likewise.
59933 * sysdeps/mach/configure: Likewise.
59934 * sysdeps/sparc/configure: Likewise.
59935 * sysdeps/x86_64/configure: Likewise.
59936
59937 2013-03-20 Roland McGrath <roland@hack.frob.com>
59938
59939 [BZ #14812]
59940 * locale/programs/localedef.c (options): Put N_ translation marker
59941 on argument names, not just descriptions.
59942
59943 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59944
59945 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
59946
59947 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
59948
59949 [BZ #14176]
59950 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
59951
59952 2013-03-19 Roland McGrath <roland@hack.frob.com>
59953
59954 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
59955 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
59956 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
59957 [!BEFORE_ABORT] (before_abort): New function.
59958 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
59959 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
59960 (writev_for_fatal): New function.
59961 (WRITEV_FOR_FATAL): New macro; call that.
59962 (backtrace_and_maps): New function.
59963 (BEFORE_ABORT): New macro; call that.
59964 (struct str_list): Type removed.
59965 (__libc_message, __libc_fatal): Functions removed.
59966 Include <sysdeps/posix/libc_fatal.c> instead.
59967
59968 2013-03-19 Joseph Myers <joseph@codesourcery.com>
59969
59970 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
59971 constants.
59972 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
59973 double constants.
59974
59975 2013-03-19 Andreas Schwab <schwab@suse.de>
59976
59977 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
59978 * sysdeps/gnu/configure: Regenerate.
59979
59980 * configure.in: Substitute libc_cv_rtlddir.
59981 * configure: Regenerate.
59982 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
59983 * Makeconfig (rtlddir, inst_rtlddir): New variables.
59984 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
59985 * elf/Makefile (install-others, CFLAGS-interp.c)
59986 (ldso_install, common-ldd-rewrite): Likewise.
59987 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
59988 $(inst_slibdir)/$(rtld-installed-name).
59989 * scripts/rellns-sh: Add -p option.
59990 * Makerules (make-shlib-link): Use rellns-sh to get relative name
59991 for source.
59992
59993 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59994
59995 * manual/nptl.texi: Renamed to ...
59996 * manual/threads.texi: ... this.
59997 * manual/Makefile (chapters): Update.
59998
59999 2013-03-18 Roland McGrath <roland@hack.frob.com>
60000
60001 [BZ #14812]
60002 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60003 on argument names, not just descriptions.
60004 * malloc/memusagestat.c (options): Likewise.
60005 * nss/getent.c (options): Likewise.
60006
60007 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
60008
60009 [BZ #14812]
60010 * iconv/iconv_prog.c (options): Put N_ translation marker
60011 on argument names, not just descriptions.
60012 * iconv/iconvconfig.c (options): Likewise.
60013
60014 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
60015
60016 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60017 implementation which is faster on all x86_64 architectures.
60018 Tested on AMD, Intel Nehalem, SNB, IVB.
60019 * sysdeps/x86_64/strnlen.S: Likewise.
60020
60021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60022 Remove all multiarch strlen and strnlen versions.
60023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60024 Remove strlen and strnlen related parts.
60025
60026 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60027 Inline strlen part.
60028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60029
60030 * sysdeps/x86_64/multiarch/strlen.S: Remove.
60031 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60032 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60033 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60034 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60035 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60036
60037 2013-03-17 Carlos O'Donell <carlos@redhat.com>
60038
60039 * manual/memory.texi (Malloc Tunable Parameters):
60040 Sort parameters alphabetically. Add comments for missing entries.
60041
60042 2013-03-17 David S. Miller <davem@davemloft.net>
60043
60044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60045
60046 2013-03-16 Joseph Myers <joseph@codesourcery.com>
60047
60048 [BZ #15283]
60049 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60050 for arguments at most half maximum finite value.
60051 * math/libm-test.inc (j0_test): Add more tests.
60052 (j1_test): Likewise.
60053 (y0_test): Likewise.
60054 (y1_test): Likewise.
60055 * sysdeps/i386/fpu/libm-test-ulps: Update.
60056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60057
60058 [BZ #14155]
60059 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60060 1 / x and functions P and Q for arguments above 0x1p256L.
60061 (__ieee754_y0l): Likewise.
60062 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60063 (__ieee754_y1l): Likewise.
60064 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60065 (j1_test): Likewise.
60066 (y0_test): Likewise.
60067 (y1_test): Likewise.
60068
60069 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
60070
60071 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60072 variable.
60073
60074 2013-03-15 Roland McGrath <roland@hack.frob.com>
60075
60076 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60077 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60078 zero since it's initialized to EXEC_PAGESIZE.
60079
60080 * sysdeps/unix/sysv/linux/ldsodefs.h
60081 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60082 * sysdeps/generic/ldsodefs.h: ... here.
60083
60084 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
60085
60086 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60087
60088 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60089 math/test-snan.c.
60090 * math/test-snan.c: Renamed from
60091 sysdeps/powerpc/fpu/test-powerpc-snan.c.
60092 * math/Makefile (tests): Add test-snan.
60093 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60094 test-powerpc-snan.
60095
60096 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60097 SUFFIX. Initialize qNaN_var with __builtin_nan family of
60098 functions.
60099 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
60100 __builtin_nan family of functions.
60101 * math/libm-test.inc (initialize): Initialize qnan_value with
60102 __builtin_nan family of functions.
60103 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60104 Remove variables.
60105 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60106 Remove functions.
60107 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
60108 storage class. Initialize qNaN_var and sNaN_var with
60109 __builtin_nan and __builtin_nans families of functions,
60110 respectively.
60111
60112 * math/libm-test.inc (acosh_test): Also test with qNaN input.
60113 (sqrt_test): Remove duplicate test with qNaN input.
60114 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60115 (round_test, signbit_test, significand_test): Note missing +/-Inf
60116 as well as qNaN tests.
60117
60118 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60119 qNaN_var. Fix a few strings, too.
60120 * math/libm-test.inc (nan_value): Rename to qnan_value.
60121 * math/gen-libm-test.pl (%beautify): Adjust to that.
60122 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60123 * math/test-misc.c (main): Likewise.
60124 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60125 to __qnan_bytes, and __qnan_union, respectively.
60126 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60127 Likewise.
60128 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60129 and lqnanval, respectively.
60130 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60131 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60132 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60133 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60134
60135 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60136 * math/test-misc.c (main) [__x86_64__]: Enable test for long
60137 doubles.
60138
60139 * math/test-misc.c (main): Fix copy'n'pastos.
60140 * misc/tst-efgcvt.c (special): Likewise.
60141
60142 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60143 Remove declarations.
60144
60145 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60146
60147 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60148 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60149 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60150 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60151
60152 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60153
60154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60155 macro to return vdso values correctly in IFUNC implementations.
60156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60157 Optimization by using IFUNC.
60158
60159 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60160 Richard Henderson <rth@redhat.com>
60161 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60162
60163 * Makefile.in (bench): New target.
60164 * NEWS: Mention the benchmark framework.
60165 * Rules (bench): Likewise.
60166 (binaries-bench): Generate binaries for functions to
60167 benchmark.
60168 * benchtests/Makefile: New makefile for benchmark tests.
60169 * benchtests/bench-skeleton.c: New skeleton file for benchmark
60170 programs.
60171 * benchtests/exp-inputs: New input file for EXP function.
60172 * benchtests/pow-inputs: New input file for POW function.
60173 * scripts/bench.pl: New script to generate source files for
60174 benchmark programs.
60175
60176 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60177
60178 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60179 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60180 computations on mantissa. Use macros for rounding and
60181 division.
60182 (denorm): Likewise.
60183 (__dbl_mp): Likewise.
60184 (add_magnitudes): Likewise.
60185 (sub_magnitudes): Likewise.
60186 (__mul): Likewise.
60187 (__sqr): Likewise.
60188 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
60189 powers of two in terms of TWOPOW macro.
60190 (mp_no): Make type of mantissa as MANTISSA_T.
60191 [!RADIXI]: Define RADIXI.
60192 [!TWO52]: Define TWO52.
60193 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60194
60195 * manual/nptl.texi (cindex): Modify threads to pthreads.
60196
60197 2013-03-15 Joseph Myers <joseph@codesourcery.com>
60198
60199 * sysdeps/x86_64/preconfigure: Regenerated.
60200
60201 2013-03-14 Joseph Myers <joseph@codesourcery.com>
60202
60203 [BZ #14155]
60204 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60205 0x1p28 and above.
60206 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60207 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60208 0x1p28 and above.
60209 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60210 * math/libm-test.inc (j0_test): Do not allow one spurious
60211 underflow exception.
60212 (y1_test): Likewise.
60213
60214 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60215
60216 * manual/Makefile (chapters): Add nptl.
60217 * manual/debug.texi (Debugging Support): Add link to Threads
60218 chapter.
60219 * manual/nptl.texi: New file.
60220
60221 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60222
60223 2013-03-14 Petr Baudis <pasky@ucw.cz>
60224
60225 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60226 for non-NULL pointer before the memory validity test. Pointed
60227 out by Holger Brunck <holger.brunck@keymile.com>.
60228
60229 2013-03-13 Andreas Schwab <schwab@suse.de>
60230
60231 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60232 instead of .os.
60233
60234 2013-03-13 Joseph Myers <joseph@codesourcery.com>
60235
60236 * timezone/zic.c: Update from tzcode 2013b.
60237
60238 2013-03-12 Carlos O'Donell <carlos@redhat.com>
60239
60240 * manual/install.texi (Configuring and compiling):
60241 Mention i686 and i586.
60242 * INSTALL: Regenerate.
60243
60244 2013-03-12 Roland McGrath <roland@hack.frob.com>
60245
60246 * sysdeps/init_array/elf-init.c: New file.
60247 * csu/elf-init.c
60248 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60249 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60250
60251 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60252 __gmon_start__ as global, but as static with a .preinit_array pointer.
60253 * sysdeps/init_array/gmon-start.c: New file. Use that.
60254 * sysdeps/init_array/crti.S: New file, empty except for comments.
60255 * sysdeps/init_array/crtn.S: Likewise.
60256
60257 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
60258
60259 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60260 definining bcopy.
60261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60262 Remove Prefer_SSE_for_memop.
60263 * sysdeps/x86_64/multiarch/init-arch.h: Remove
60264 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60265 HAS_PREFER_SSE_FOR_MEMOP.
60266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60267 memset-x86-64.
60268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60269 Remove bzero, memset ifunc support.
60270 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60271 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60272 * sysdeps/x86_64/multiarch/memset.S: Likewise.
60273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60274
60275 2013-03-11 Andreas Schwab <schwab@suse.de>
60276
60277 [BZ #15234]
60278 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60279 by SHLIB_COMPAT.
60280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60281 (GLIBC_2.16): Remove pthread_atfork.
60282
60283 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
60284
60285 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60286 (ptestcases.h): Likewise.
60287
60288 2013-03-08 Roland McGrath <roland@hack.frob.com>
60289
60290 * Makeconfig ($(common-objpfx)config.status): Depend on
60291 sysdeps/*/preconfigure{,.in} too.
60292
60293 2013-03-08 Joseph Myers <joseph@codesourcery.com>
60294
60295 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60296 (__free_hook): Use void * instead of __malloc_ptr_t.
60297 (__malloc_hook): Likewise.
60298 (__realloc_hook): Likewise.
60299 (__memalign_hook): Likewise.
60300 (__after_morecore_hook): Likewise.
60301 * malloc/arena.c (save_malloc_hook): Likewise.
60302 (save_free_hook): Likewise.
60303 * malloc/hooks.c (malloc_hook_ini): Likewise.
60304 (realloc_hook_ini): Likewise.
60305 (memalign_hook_ini): Likewise.
60306 * malloc/malloc.c (malloc_hook_ini): Likewise.
60307 (realloc_hook_ini): Likewise.
60308 (memalign_hook_ini): Likewise.
60309 (__free_hook): Likewise.
60310 (__malloc_hook): Likewise.
60311 (__realloc_hook): Likewise.
60312 (__memalign_hook): Likewise.
60313 (__libc_malloc): Likewise.
60314 (__libc_free): Likewise.
60315 (__libc_realloc): Likewise.
60316 (__libc_memalign): Likewise.
60317 (__libc_valloc): Likewise.
60318 (__libc_pvalloc): Likewise.
60319 (__libc_calloc): Likewise.
60320 (__posix_memalign): Likewise.
60321 * malloc/morecore.c (__sbrk): Likewise.
60322 (__default_morecore): Likewise.
60323
60324 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60325
60326 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60327 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60328 __malloc_ptrdiff_t.
60329
60330 * malloc/malloc.h (__malloc_size_t): Remove macro.
60331 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60332 __malloc_size_t.
60333 (old_memalign_hook): Likewise.
60334 (old_realloc_hook): Likewise.
60335 (struct hdr): Likewise.
60336 (flood): Likewise.
60337 (mallochook): Likewise.
60338 (memalignhook): Likewise.
60339 (reallochook): Likewise.
60340 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60341 (tr_old_realloc_hook): Likewise.
60342 (tr_old_memalign_hook): Likewise.
60343 (tr_mallochook): Likewise.
60344 (tr_reallochook): Likewise.
60345 (tr_memalignhook): Likewise.
60346
60347 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60348
60349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60350 default_ldbl_pack and using as default implementation.
60351 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60352 implementation.
60353 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60354 redundant definition.
60355 (ldbl_insert_mantissa): Likewise.
60356 (ldbl_canonicalize): Likewise.
60357 (ldbl_nearbyint): Likewise.
60358 (ldbl_pack): Rename to ldbl_pack_ppc.
60359 (ldbl_unpack): Rename to ldbl_unpack_ppc.
60360 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60361 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60362
60363 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
60364
60365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60366 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60367 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60368 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60370 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60371 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60372 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60373
60374 2013-03-07 Andreas Jaeger <aj@suse.de>
60375
60376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60377 bits/mman-linux.h.
60378
60379 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
60380
60381 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
60382 Include mpa.h and declare __MPEXP.
60383 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
60384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60385 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60386 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
60387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60388 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60389 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
60390
60391 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
60392 (__slowpow): Use long double EXPL and LOGL functions to
60393 compute POW.
60394 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60395 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60396 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
60397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60398 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60399 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
60400
60401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
60402 intermediate variable to calculate exponent.
60403 (__sqr): Likewise.
60404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60405 Likewise.
60406 (__sqr): Likewise.
60407
60408 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
60409 [!NO__SQR]: Define __sqr.
60410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
60411 and NO__SQR. Remove all code except __mul and __sqr. Include
60412 sysdeps/ieee754/dbl-64/mpa.c.
60413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60414
60415 [BZ #12723]
60416 * posix/Makefile (tests): Add tst-pathconf.
60417 * posix/tst-pathconf.c: New test case.
60418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
60419 _PC_PIPE_BUF.
60420 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
60421
60422 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
60423
60424 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
60425
60426 2013-03-06 Andreas Jaeger <aj@suse.de>
60427
60428 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
60429 definition via __MAP_ANONYMOUS.
60430
60431 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
60432 it's not part of Linux headers.
60433
60434 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
60435 (MAP_HUGE_MASK): Define.
60436
60437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60438 Define.
60439 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60441 Define.
60442 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60443 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60444 Define.
60445 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
60447 Define.
60448 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60449
60450 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
60451 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
60452 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
60453 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
60454 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
60455 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
60456
60457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60458 Handle f2fs.
60459
60460 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60461 Handle f2fs and efivarfs.
60462
60463 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
60464 f2fs.
60465
60466 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
60467 (EFIVARFS_MAGIC): Add.
60468 (F2FS_LINK_MAX): Add.
60469
60470 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60471
60472 * stdio-common/vfprintf.c: Replace __builtin_expect with
60473 __glibc_unlikely.
60474
60475 2013-03-06 Joseph Myers <joseph@codesourcery.com>
60476
60477 [BZ #13550]
60478 * sysdeps/generic/bp-sym.h: Remove file.
60479 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
60480 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
60481 <bp-sym.h> and <bp-asm.h>.
60482 (__longjmp): Don't use BP_SYM.
60483 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
60484 and <bp-asm.h>.
60485 (memcpy): Don't use BP_SYM.
60486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
60487 <bp-sym.h> and <bp-asm.h>.
60488 (memcpy): Don't use BP_SYM.
60489 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
60490 <bp-asm.h>.
60491 (memcpy): Don't use BP_SYM.
60492 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
60493 <bp-asm.h>.
60494 (memset): Don't use BP_SYM.
60495 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60496 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60497 (__bzero): Don't use BP_SYM.
60498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60500 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
60501 <bp-sym.h> and <bp-asm.h>.
60502 (memcmp): Don't use BP_SYM. Remove comment about bounded
60503 pointers.
60504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
60505 <bp-sym.h> and <bp-asm.h>.
60506 (memcpy): Don't use BP_SYM.
60507 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
60508 <bp-sym.h> and <bp-asm.h>.
60509 (memset): Don't use BP_SYM.
60510 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60511 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60512 (__bzero): Don't use BP_SYM.
60513 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60514 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60515 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
60516 <bp-sym.h> and <bp-asm.h>.
60517 (strncmp): Don't use BP_SYM. Remove comment about bounded
60518 pointers.
60519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
60520 <bp-sym.h> and <bp-asm.h>.
60521 (memcpy): Don't use BP_SYM.
60522 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
60523 <bp-sym.h> and <bp-asm.h>.
60524 (memset): Don't use BP_SYM.
60525 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60526 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60527 (__bzero): Don't use BP_SYM.
60528 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60529 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
60531 <bp-sym.h> and <bp-asm.h>.
60532 (__memchr): Don't use BP_SYM.
60533 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
60534 <bp-sym.h> and <bp-asm.h>.
60535 (memcmp): Don't use BP_SYM. Remove comment about bounded
60536 pointers.
60537 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
60538 <bp-sym.h> and <bp-asm.h>.
60539 (memcpy): Don't use BP_SYM.
60540 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
60541 <bp-sym.h> and <bp-asm.h>.
60542 (__mempcpy): Don't use BP_SYM.
60543 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
60544 <bp-sym.h> and <bp-asm.h>.
60545 (__memrchr): Don't use BP_SYM.
60546 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
60547 <bp-sym.h> and <bp-asm.h>.
60548 (memset): Don't use BP_SYM.
60549 (__bzero): Likewise.
60550 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
60551 <bp-sym.h> and <bp-asm.h>.
60552 (__rawmemchr): Don't use BP_SYM.
60553 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
60554 <bp-sym.h> and <bp-asm.h>.
60555 (__STRCMP): Don't use BP_SYM.
60556 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
60557 <bp-sym.h> and <bp-asm.h>.
60558 (strchr): Don't use BP_SYM.
60559 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
60560 <bp-sym.h> and <bp-asm.h>.
60561 (__strchrnul): Don't use BP_SYM.
60562 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
60563 <bp-sym.h> and <bp-asm.h>.
60564 (strlen): Don't use BP_SYM.
60565 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
60566 <bp-sym.h> and <bp-asm.h>.
60567 (strncmp): Don't use BP_SYM. Remove comment about bounded
60568 pointers.
60569 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
60570 <bp-sym.h> and <bp-asm.h>.
60571 (__strnlen): Don't use BP_SYM.
60572 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
60573 <bp-sym.h> and <bp-asm.h>.
60574 (__GI__setjmp): Don't use BP_SYM.
60575 (_setjmp): Likewise.
60576 (__sigsetjmp): Likewise.
60577 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
60578 (L(start_addresses)): Don't use BP_SYM.
60579 (_start): Likewise.
60580 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
60581 <bp-asm.h>.
60582 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
60583 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
60584 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60585 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60586 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
60587 <bp-asm.h>.
60588 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
60589 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
60590 about bounded pointers.
60591 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60592 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60593 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
60594 <bp-asm.h>.
60595 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
60596 about bounded pointers. Remove GKM FIXME comments.
60597 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60598 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
60599 <bp-asm.h>.
60600 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
60601 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
60602 Remove GKM FIXME comments.
60603 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60604 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60605 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
60606 <bp-asm.h>.
60607 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
60608 about bounded pointers. Remove GKM FIXME comment.
60609 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
60610 and <bp-asm.h>.
60611 (strncmp): Don't use BP_SYM. Remove comment about bounded
60612 pointers.
60613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
60614 <bp-sym.h> and <bp-asm.h>.
60615 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
60617 <bp-sym.h> and <bp-asm.h>.
60618 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
60619 comment.
60620
60621 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60622
60623 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
60624 call free(NULL).
60625
60626 2013-03-05 David S. Miller <davem@davemloft.net>
60627
60628 * po/es.po: Update from translation team.
60629
60630 2013-03-05 Andreas Jaeger <aj@suse.de>
60631
60632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
60633 <bits/mman-linux.h>.
60634 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60635 is fine.
60636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
60637 <bits/mman-linux.h> to end of file.
60638 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60639 is fine.
60640 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
60641 <bits/mman-linux.h> to end of file.
60642 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60643 is fine.
60644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
60645 <bits/mman-linux.h> to end of file.
60646
60647 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
60648 (MCL_CURRENT, MCL_FUTURE): Define here.
60649
60650 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60651
60652 [BZ #15232]
60653 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
60654 attribute_hidden.
60655 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60656
60657 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60658
60659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
60660 fourth parameter needed for rt_sigprocmask syscall.
60661 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
60662 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60663 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
60664 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60665 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60666 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
60667
60668 2013-03-04 Joseph Myers <joseph@codesourcery.com>
60669
60670 [BZ #13550]
60671 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
60672 comment about bounded pointers.
60673 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
60674 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
60675
60676 2013-03-04 Andreas Jaeger <aj@suse.de>
60677
60678 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
60679 common definitions.
60680
60681 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
60682 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
60683 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
60684 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60685 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60686 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60687
60688 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60689
60690 [BZ #15055]
60691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
60692 __ieee754_sqrl instead of __sqrl.
60693
60694 2013-03-01 Joseph Myers <joseph@codesourcery.com>
60695
60696 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
60697 * sysdeps/powerpc/fpu_control.h: ... here.
60698 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
60699 * sysdeps/powerpc/bits/fenvinline.h: ... here.
60700 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
60701 * sysdeps/powerpc/bits/mathinline.h: ... here.
60702
60703 2013-03-01 Roland McGrath <roland@hack.frob.com>
60704
60705 * elf/dl-hwcaps.c (_dl_important_hwcaps):
60706 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
60707 to just [NEED_DL_SYSINFO_DSO].
60708 * elf/dl-support.c: Likewise.
60709 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
60710 * elf/rtld.c (dl_main): Likewise.
60711 * elf/setup-vdso.h (setup_vdso): Likewise.
60712 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
60713 * sysdeps/unix/sysv/linux/dl-sysdep.c
60714 (_dl_discover_osversion): Likewise.
60715
60716 2013-03-01 Carlos O'Donell <carlos@redhat.com>
60717
60718 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
60719 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60720
60721 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
60722
60723 * NEWS: Mention libm performance improvements and non-x86 PI
60724 futex support.
60725
60726 * csu/libc-start.c (__pthread_initialize_minimal): Change
60727 function arguments.
60728 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60729
60730 2013-02-28 Joseph Myers <joseph@codesourcery.com>
60731
60732 [BZ #13550]
60733 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
60734 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
60735 <bp-sym.h> and <bp-asm.h>.
60736 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60737 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
60738 and <bp-asm.h>.
60739 (memcpy): Don't use BP_SYM.
60740 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
60741 <bp-asm.h>.
60742 (__mpn_add_n): Don't use BP_SYM.
60743 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
60744 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
60745 and <bp-asm.h>.
60746 (__mpn_addmul_1): Don't use BP_SYM.
60747 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60748 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
60749 <bp-sym.h>.
60750 (_setjmp): Don't use BP_SYM.
60751 (__novmx_setjmp): Likewise.
60752 (__GI__setjmp): Likewise.
60753 (__vmx_setjmp): Likewise.
60754 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
60755 <bp-sym.h>.
60756 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
60757 (__bzero): Don't use BP_SYM.
60758 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60759 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60760 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
60761 <bp-sym.h> and <bp-asm.h>.
60762 (memcpy): Don't use BP_SYM.
60763 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
60764 <bp-sym.h> and <bp-asm.h>.
60765 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60766 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
60767 <bp-sym.h> and <bp-asm.h>.
60768 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60769 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
60770 <bp-asm.h>.
60771 (__mpn_lshift): Don't use BP_SYM.
60772 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60773 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
60774 <bp-asm.h>.
60775 (memset): Don't use BP_SYM.
60776 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60777 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60778 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
60779 <bp-asm.h>.
60780 (__mpn_mul_1): Don't use BP_SYM.
60781 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
60783 <bp-sym.h> and <bp-asm.h>.
60784 (memcmp): Don't use BP_SYM.
60785 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
60786 <bp-sym.h> and <bp-asm.h>.
60787 (memcpy): Don't use BP_SYM.
60788 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
60789 <bp-sym.h> and <bp-asm.h>.
60790 (memset): Don't use BP_SYM.
60791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
60792 <bp-sym.h> and <bp-asm.h>.
60793 (strncmp): Don't use BP_SYM.
60794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
60795 <bp-sym.h> and <bp-asm.h>.
60796 (memcpy): Don't use BP_SYM.
60797 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
60798 <bp-sym.h> and <bp-asm.h>.
60799 (memset): Don't use BP_SYM.
60800 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
60801 <bp-sym.h> and <bp-asm.h>.
60802 (__memchr): Don't use BP_SYM.
60803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
60804 <bp-sym.h> and <bp-asm.h>.
60805 (memcmp): Don't use BP_SYM.
60806 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
60807 <bp-sym.h> and <bp-asm.h>.
60808 (memcpy): Don't use BP_SYM.
60809 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
60810 <bp-sym.h> and <bp-asm.h>.
60811 (__mempcpy): Don't use BP_SYM.
60812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
60813 <bp-sym.h> and <bp-asm.h>.
60814 (__memrchr): Don't use BP_SYM.
60815 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
60816 <bp-sym.h> and <bp-asm.h>.
60817 (memset): Don't use BP_SYM.
60818 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
60819 <bp-sym.h> and <bp-asm.h>.
60820 (__rawmemchr): Don't use BP_SYM.
60821 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
60822 <bp-sym.h> and <bp-asm.h>.
60823 (__STRCMP): Don't use BP_SYM.
60824 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
60825 <bp-sym.h> and <bp-asm.h>.
60826 (strchr): Don't use BP_SYM.
60827 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
60828 <bp-sym.h> and <bp-asm.h>.
60829 (__strchrnul): Don't use BP_SYM.
60830 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
60831 <bp-sym.h> and <bp-asm.h>.
60832 (strlen): Don't use BP_SYM.
60833 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
60834 <bp-sym.h> and <bp-asm.h>.
60835 (strncmp): Don't use BP_SYM.
60836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
60837 <bp-sym.h> and <bp-asm.h>.
60838 (__strnlen): Don't use BP_SYM.
60839 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
60840 <bp-asm.h>.
60841 (__mpn_rshift): Don't use BP_SYM.
60842 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60843 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
60844 <bp-sym.h> and <bp-asm.h>.
60845 (__sigsetjmp): Don't use BP_SYM.
60846 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
60847 (L(start_addresses)): Don't use BP_SYM.
60848 (_start): Likewise.
60849 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
60850 <bp-asm.h>.
60851 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
60852 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60853 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60854 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
60855 <bp-asm.h>.
60856 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
60857 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60858 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60859 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
60860 <bp-asm.h>.
60861 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
60862 comments.
60863 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60864 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
60865 <bp-asm.h>.
60866 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
60867 FIXME comments.
60868 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60869 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60870 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
60871 <bp-asm.h>.
60872 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
60873 comment.
60874 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
60875 and <bp-asm.h>.
60876 (strncmp): Don't use BP_SYM,
60877 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
60878 <bp-asm.h>.
60879 (__mpn_sub_n): Don't use BP_SYM.
60880 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60881 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
60882 and <bp-asm.h>.
60883 (__mpn_submul_1): Don't use BP_SYM.
60884 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
60886 <bp-sym.h> and <bp-asm.h>.
60887 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
60889 <bp-sym.h> and <bp-asm.h>.
60890 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
60891 comment.
60892
60893 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60894
60895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
60896 Use ZK to minimize writes to Z.
60897 (sub_magnitudes): Simplify code a bit.
60898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
60899 Use ZK to minimize writes to Z.
60900 (sub_magnitudes): Simplify code a bit.
60901
60902 2013-02-27 Roland McGrath <roland@hack.frob.com>
60903
60904 * csu/gmon-start.c: Add special exception to license text.
60905
60906 2013-02-27 Richard Henderson <rth@redhat.com>
60907
60908 * scripts/config.guess: Update from config.git.
60909 * scripts/config.sub: Likewise.
60910
60911 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
60912
60913 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
60914
60915 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
60916
60917 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
60918
60919 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
60920
60921 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
60922
60923 2013-02-26 Roland McGrath <roland@hack.frob.com>
60924
60925 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
60926 [$(build-shared = yes].
60927
60928 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60929
60930 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
60931 (__mul): Reduce iterations for calculating mantissa.
60932
60933 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
60934 MPTWO.
60935 (__mpranred): Likewise.
60936
60937 [BZ #15160]
60938 * malloc/memusagestat.c (main): Draw graphs for heap and stack
60939 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
60940
60941 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
60942
60943 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
60944 Define __attribute__.
60945
60946 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60947
60948 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
60949 unused.
60950 * posix/regex_internal.h (__attribute): Remove.
60951 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60952 (re_string_context_at): Likewise.
60953 (bitset_not): Use __attribute__ and mark function as possibly
60954 unused.
60955 (bitset_merge): Likewise.
60956 (bitset_mask): Likewise.
60957 (re_string_char_size_at): Likewise.
60958 (re_string_wchar_at): Likewise.
60959 (re_string_elem_size_at): Likewise.
60960
60961 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60962
60963 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
60964 code.
60965 (cc32): Likewise.
60966
60967 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
60968 (__acr): Likewise.
60969 (__cpy): Likewise.
60970 (norm): Likewise.
60971 (denorm): Likewise.
60972 (__dbl_mp): Likewise.
60973 (add_magnitudes): Likewise.
60974 (sub_magnitudes): Likewise.
60975 (__mul): Likewise.
60976 (__inv): Likewise.
60977
60978 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
60979 style.
60980
60981 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
60982 style.
60983
60984 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
60985 code.
60986
60987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
60988 up changes with default code.
60989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
60990 Likewise.
60991
60992 2013-02-24 Allan McRae <allan@archlinux.org>
60993
60994 * manual/socket.texi (The Internet Namespace): Order menu items
60995 to match that in the file.
60996
60997 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
60998 node listing of the info page menu.
60999
61000 2013-02-21 Joseph Myers <joseph@codesourcery.com>
61001
61002 [BZ #13550]
61003 * sysdeps/i386/bp-asm.h: Remove file.
61004 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61005 (PARMS): Do not use macros from bp-asm.h.
61006 (S1): Likewise.
61007 (S2): Likewise.
61008 (SIZE): Likewise.
61009 (__mpn_add_n): Do not use BP_SYM
61010 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61011 "bp-asm.h".
61012 (PARMS): Do not use macros from bp-asm.h.
61013 (S1): Likewise.
61014 (SIZE): Likewise.
61015 (__mpn_addmul_1): Do not use BP_SYM
61016 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61017 "bp-asm.h".
61018 (PARMS): Do not use macros from bp-asm.h.
61019 (SIGMSK): Likewise.
61020 (_setjmp): Likewise. Do not use BP_SYM.
61021 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61022 "bp-asm.h".
61023 (PARMS): Do not use macros from bp-asm.h.
61024 (SIGMSK): Likewise.
61025 (setjmp): Likewise. Do not use BP_SYM.
61026 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61027 "bp-asm.h".
61028 (PARMS): Do not use macros from bp-asm.h.
61029 (__frexp): Do not use BP_SYM.
61030 (frexp): Likewise.
61031 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61032 "bp-asm.h".
61033 (PARMS): Do not use macros from bp-asm.h.
61034 (__frexpf): Do not use BP_SYM.
61035 (frexpf): Likewise.
61036 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61037 "bp-asm.h".
61038 (PARMS): Do not use macros from bp-asm.h.
61039 (__frexpl): Do not use BP_SYM.
61040 (frexpl): Likewise.
61041 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61042 "bp-asm.h".
61043 (PARMS): Do not use macros from bp-asm.h.
61044 (__remquo): Do not use BP_SYM.
61045 (remquo): Likewise.
61046 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61047 "bp-asm.h".
61048 (PARMS): Do not use macros from bp-asm.h.
61049 (__remquof): Do not use BP_SYM.
61050 (remquof): Likewise.
61051 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61052 "bp-asm.h".
61053 (PARMS): Do not use macros from bp-asm.h.
61054 (__remquol): Do not use BP_SYM.
61055 (remquol): Likewise.
61056 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61057 "bp-asm.h".
61058 (PARMS): Do not use macros from bp-asm.h.
61059 (DEST): Likewise.
61060 (SRC): Likewise.
61061 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
61062 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61063 "bp-asm.h".
61064 (PARMS): Do not use macros from bp-asm.h.
61065 (strlen): Do not use BP_SYM.
61066 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61067 "bp-asm.h".
61068 (PARMS): Do not use macros from bp-asm.h.
61069 (S1): Likewise.
61070 (S2): Likewise.
61071 (SIZE): Likewise.
61072 (__mpn_add_n): Do not use BP_SYM.
61073 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61074 "bp-asm.h".
61075 (PARMS): Do not use macros from bp-asm.h.
61076 (S1): Likewise.
61077 (SIZE): Likewise.
61078 (__mpn_addmul_1): Do not use BP_SYM.
61079 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61080 weak_alias.
61081 (bzero): Likewise.
61082 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61083 "bp-asm.h".
61084 (PARMS): Do not use macros from bp-asm.h.
61085 (S): Likewise.
61086 (SIZE): Likewise.
61087 (__mpn_lshift): Do not use BP_SYM.
61088 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61089 "bp-asm.h".
61090 (PARMS): Do not use macros from bp-asm.h.
61091 (DEST): Likewise.
61092 (SRC): Likewise.
61093 (LEN): Likewise.
61094 (memcpy): Likewise. Do not use BP_SYM.
61095 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61096 libc_hidden_def and weak_alias.
61097 (mempcpy): Do not use BP_SYM in weak_alias.
61098 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61099 "bp-asm.h".
61100 (PARMS): Do not use macros from bp-asm.h.
61101 (DEST): Likewise.
61102 (LEN): Likewise.
61103 [!BZERO_P] (CHR): Likewise.
61104 (memset): Likewise. Do not use BP_SYM.
61105 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61106 "bp-asm.h".
61107 (PARMS): Do not use macros from bp-asm.h.
61108 (S1): Likewise.
61109 (SIZE): Likewise.
61110 (__mpn_mul_1): Do not use BP_SYM.
61111 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61112 "bp-asm.h".
61113 (PARMS): Do not use macros from bp-asm.h.
61114 (S): Likewise.
61115 (SIZE): Likewise.
61116 (__mpn_rshift): Do not use BP_SYM.
61117 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61118 "bp-asm.h".
61119 (PARMS): Do not use macros from bp-asm.h.
61120 (STR): Likewise.
61121 (CHR): Likewise.
61122 (strchr): Likewise. Do not use BP_SYM.
61123 (index): Do not use BP_SYM in weak_alias.
61124 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61125 "bp-asm.h".
61126 (PARMS): Do not use macros from bp-asm.h.
61127 (DEST): Likewise.
61128 (SRC): Likewise.
61129 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
61130 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61131 "bp-asm.h".
61132 (PARMS): Do not use macros from bp-asm.h.
61133 (strlen): Do not use BP_SYM.
61134 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61135 "bp-asm.h".
61136 (PARMS): Do not use macros from bp-asm.h.
61137 (S1): Likewise.
61138 (S2): Likewise.
61139 (SIZE): Likewise.
61140 (__mpn_sub_n): Do not use BP_SYM.
61141 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61142 "bp-asm.h".
61143 (PARMS): Do not use macros from bp-asm.h.
61144 (S1): Likewise.
61145 (SIZE): Likewise.
61146 (__mpn_submul_1): Do not use BP_SYM.
61147 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61148 "bp-asm.h".
61149 (PARMS): Do not use macros from bp-asm.h.
61150 (S1): Likewise.
61151 (S2): Likewise.
61152 (SIZE): Likewise.
61153 (__mpn_add_n): Do not use BP_SYM.
61154 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61155 weak_alias.
61156 (bzero): Likewise.
61157 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61158 "bp-asm.h".
61159 (PARMS): Do not use macros from bp-asm.h.
61160 (BLK2): Likewise.
61161 (LEN): Likewise.
61162 (memcmp): Do not use BP_SYM.
61163 (bcmp): Do not use BP_SYM in weak_alias.
61164 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61165 "bp-asm.h".
61166 (PARMS): Do not use macros from bp-asm.h.
61167 (DEST): Likewise.
61168 (SRC): Likewise.
61169 (LEN): Likewise.
61170 (memcpy): Likewise. Do not use BP_SYM.
61171 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61172 "bp-asm.h".
61173 (PARMS): Do not use macros from bp-asm.h.
61174 (DEST): Likewise.
61175 (SRC): Likewise.
61176 (LEN): Likewise.
61177 (memmove): Likewise. Do not use BP_SYM.
61178 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61179 "bp-asm.h".
61180 (PARMS): Do not use macros from bp-asm.h.
61181 (DEST): Likewise.
61182 (SRC): Likewise.
61183 (LEN): Likewise.
61184 (__mempcpy): Likewise. Do not use BP_SYM.
61185 (mempcpy): Do not use BP_SYM in weak_alias.
61186 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61187 "bp-asm.h".
61188 (PARMS): Do not use macros from bp-asm.h.
61189 (DEST): Likewise.
61190 (LEN): Likewise.
61191 [!BZERO_P] (CHR): Likewise.
61192 (memset): Likewise. Do not use BP_SYM.
61193 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61194 "bp-asm.h".
61195 (PARMS): Do not use macros from bp-asm.h.
61196 (STR2): Likewise.
61197 (strcmp): Do not use BP_SYM.
61198 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61199 "bp-asm.h".
61200 (PARMS): Do not use macros from bp-asm.h.
61201 (STR): Likewise.
61202 (DELIM): Likewise.
61203 [USE_AS_STRTOK_R] (SAVE): Likewise.
61204 (FUNCTION): Likewise. Do not use BP_SYM.
61205 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61206 aliases.
61207 (strtok_r): Likewise.
61208 (__GI___strtok_r): Likewise.
61209 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61210 (PARMS): Do not use macros from bp-asm.h.
61211 (S): Likewise.
61212 (SIZE): Likewise.
61213 (__mpn_lshift): Do not use BP_SYM.
61214 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61215 (PARMS): Do not use macros from bp-asm.h.
61216 (STR): Likewise.
61217 (CHR): Likewise.
61218 (__memchr): Do not use BP_SYM.
61219 (memchr): Do not use BP_SYM in weak_alias.
61220 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61221 (PARMS): Do not use macros from bp-asm.h.
61222 (BLK2): Likewise.
61223 (LEN): Likewise.
61224 (memcmp): Do not use BP_SYM.
61225 (bcmp): Do not use BP_SYM in weak_alias.
61226 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61227 (PARMS): Do not use macros from bp-asm.h.
61228 (S1): Likewise.
61229 (SIZE): Likewise.
61230 (__mpn_mul_1): Do not use BP_SYM.
61231 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61232 "bp-asm.h".
61233 (PARMS): Do not use macros from bp-asm.h.
61234 (STR): Likewise.
61235 (CHR): Likewise.
61236 (__rawmemchr): Do not use BP_SYM.
61237 (rawmemchr): Do not use BP_SYM in weak_alias.
61238 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61239 (PARMS): Do not use macros from bp-asm.h.
61240 (S): Likewise.
61241 (SIZE): Likewise.
61242 (__mpn_rshift): Do not use BP_SYM.
61243 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61244 (PARMS): Do not use macros from bp-asm.h.
61245 (SIGMSK): Likewise.
61246 (__sigsetjmp): Likewise. Do not use BP_SYM.
61247 * sysdeps/i386/start.S: Do not include "bp-sym.h".
61248 (_start): Do not use BP_SYM.
61249 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61250 (PARMS): Do not use macros from bp-asm.h.
61251 (DEST): Likewise.
61252 (SRC): Likewise.
61253 (__stpcpy): Likewise. Do not use BP_SYM.
61254 (stpcpy): Do not use BP_SYM in weak_alias.
61255 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61256 "bp-asm.h".
61257 (PARMS): Do not use macros from bp-asm.h.
61258 (DEST): Likewise.
61259 (SRC): Likewise.
61260 (LEN): Likewise.
61261 (__stpncpy): Likewise. Do not use BP_SYM.
61262 (stpncpy): Do not use BP_SYM in weak_alias.
61263 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61264 (PARMS): Do not use macros from bp-asm.h.
61265 (STR): Likewise.
61266 (CHR): Likewise.
61267 (strchr): Likewise. Do not use BP_SYM.
61268 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61269 "bp-asm.h".
61270 (PARMS): Do not use macros from bp-asm.h.
61271 (STR): Likewise.
61272 (CHR): Likewise.
61273 (__strchrnul): Likewise. Do not use BP_SYM.
61274 (strchrnul): Do not use BP_SYM in weak_alias.
61275 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61276 "bp-asm.h".
61277 (PARMS): Do not use macros from bp-asm.h.
61278 (STOP): Likewise.
61279 (strcspn): Do not use BP_SYM.
61280 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61281 "bp-asm.h".
61282 (PARMS): Do not use macros from bp-asm.h.
61283 (STR): Likewise.
61284 (STOP): Likewise.
61285 (strpbrk): Likewise. Do not use BP_SYM.
61286 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61287 "bp-asm.h".
61288 (PARMS): Do not use macros from bp-asm.h.
61289 (STR): Likewise.
61290 (CHR): Likewise.
61291 (strrchr): Likewise. Do not use BP_SYM.
61292 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61293 (PARMS): Do not use macros from bp-asm.h.
61294 (SKIP): Likewise.
61295 (strspn): Do not use BP_SYM.
61296 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61297 (PARMS): Do not use macros from bp-asm.h.
61298 (STR): Likewise.
61299 (DELIM): Likewise.
61300 (SAVE): Likewise.
61301 (FUNCTION): Likewise. Do not use BP_SYM.
61302 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61303 aliases.
61304 (strtok_r): Likewise.
61305 (__GI___strtok_r): Likewise.
61306 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61307 (PARMS): Do not use macros from bp-asm.h.
61308 (S1): Likewise.
61309 (S2): Likewise.
61310 (SIZE): Likewise.
61311 (__mpn_sub_n): Do not use BP_SYM.
61312 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61313 "bp-asm.h".
61314 (PARMS): Do not use macros from bp-asm.h.
61315 (S1): Likewise.
61316 (SIZE): Likewise.
61317 (__mpn_submul_1): Do not use BP_SYM.
61318 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61319 <bp-sym.h>.
61320 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61321 and <bp-asm.h>.
61322 (PARMS): Do not use macros from bp-asm.h.
61323 (FLAGS): Likewise.
61324 (PTID): Likewise.
61325 (TLS): Likewise.
61326 (CTID): Likewise.
61327 (__clone): Do not use BP_SYM.
61328 (clone): Do not use BP_SYM in weak_alias.
61329 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61330 and <bp-asm.h>.
61331 (PARMS): Do not use macros from bp-asm.h.
61332 (LEN): Likewise.
61333 (__mmap64): Do not use BP_SYM.
61334 (mmap64): Do not use BP_SYM in weak_alias.
61335 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61336 <bp-sym.h> and <bp-asm.h>.
61337 (PARMS): Do not use macros from bp-asm.h.
61338 (__posix_fadvise64_l64): Do not use BP_SYM.
61339 * sysdeps/unix/sysv/linux/i386/semtimedop.S
61340 (PARMS): Do not use macros from bp-asm.h.
61341 (NSOPS): Likewise.
61342 (semtimedop): Do not use BP_SYM.
61343 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61344 and <bp-asm.h>.
61345
61346 2013-02-21 Allan McRae <allan@archlinux.org>
61347
61348 * manual/message.texi (Charset conversion in gettext):
61349 Move @end statement to beginning of line.
61350
61351 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
61352
61353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61354 static.
61355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61356 Likewise.
61357
61358 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61359 (denorm): Likewise.
61360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61362
61363 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61364
61365 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61366 tail-call to the resolved function if pltexit isn't needed.
61367
61368 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
61369
61370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61371 or Y being zero as being unlikely.
61372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61373 Likewise.
61374
61375 2013-02-20 Carlos O'Donell <carlos@redhat.com>
61376
61377 * manual/nss.texi (System Databases and Name Service Switch):
61378 Remove frobnicate @pxref.
61379
61380 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
61381
61382 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61383 __attribute__ ((unused)) to __attribute__ ((__unused__)).
61384
61385 2013-02-20 Petr Machata <pmachata@redhat.com>
61386
61387 * elf/elf.h (R_ARM_TARGET1): New macro.
61388 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
61389 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
61390 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
61391 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
61392 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
61393 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
61394 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
61395 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
61396 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
61397 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
61398 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
61399 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
61400 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
61401 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
61402 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
61403 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
61404 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
61405 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61406 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
61407 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
61408 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
61409 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
61410 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
61411 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
61412 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
61413 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
61414 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
61415 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61416 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
61417 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
61418 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
61419 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
61420 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
61421 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
61422 (R_ARM_THM_GOT_BREL12): Likewise.
61423 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
61424 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
61425 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
61426 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
61427 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
61428 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
61429 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
61430 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
61431 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
61432
61433 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
61434
61435 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61436 __attribute_used__ to __attribute__ ((unused)).
61437
61438 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61439
61440 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
61441 powerpc mpa.c.
61442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
61443 comment formatting.
61444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61445
61446 2013-02-19 Joseph Myers <joseph@codesourcery.com>
61447
61448 [BZ #13550]
61449 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
61450 Remove macro.
61451 (ENTER): Remove both macro definitions.
61452 (LEAVE): Likewise.
61453 (CHECK_BOUNDS_LOW): Likewise.
61454 (CHECK_BOUNDS_HIGH): Likewise.
61455 (CHECK_BOUNDS_BOTH): Likewise.
61456 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
61457 (RETURN_BOUNDED_POINTER): Likewise.
61458 (RETURN_NULL_BOUNDED_POINTER): Likewise.
61459 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
61460 (POP_ERRNO_LOCATION_RETURN): Likewise.
61461 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
61462 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61463 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
61464 macros.
61465 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61466 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
61467 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
61468 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
61469 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
61470 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
61471 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
61472 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
61473 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
61474 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
61475 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
61476 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
61477 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61478 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
61479 removed macros.
61480 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61481 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
61482 macros.
61483 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61484 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
61485 * sysdeps/i386/i586/memset.S (memset): Likewise.
61486 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
61487 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61488 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
61489 macros.
61490 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61491 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
61492 Change uses of L(2) to L(out).
61493 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
61494 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
61495 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
61496 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61497 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
61498 removed macros.
61499 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61500 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
61501 macros.
61502 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61503 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
61504 (RETURN): Do not use macro LEAVE.
61505 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
61506 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
61507 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
61508 * sysdeps/i386/i686/memset.S (memset): Likewise.
61509 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
61510 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
61511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61512 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
61513 Likewise.
61514 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61515 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
61516 L(1_2) and L(1_3) into L(1).
61517 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61518 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
61519 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61520 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
61521 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61522 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
61523 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
61524 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61525 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
61526 macros.
61527 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
61528 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61529 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
61530 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
61531 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
61532 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61533 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
61534 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
61535 * sysdeps/i386/strcspn.S (strcspn): Likewise.
61536 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
61537 * sysdeps/i386/strrchr.S (strrchr): Likewise.
61538 * sysdeps/i386/strspn.S (strspn): Likewise.
61539 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
61540 conditional code.
61541 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61542 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
61543 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61544 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
61545 L(1_3) into L(1_1).
61546 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
61547 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61548 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
61549 macros.
61550 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61551
61552 2013-02-19 Jakub Jelinek <jakub@redhat.com>
61553
61554 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
61555 macro.
61556
61557 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61558
61559 * math/atest-exp.c (exp_mpn): Remove ROUND.
61560 * math/atest-exp2.c (exp_mpn): Likewise.
61561 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
61562
61563 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
61564 * stdlib/tst-tls-atexit-lib.c: Likewise.
61565 * stdlib/tst-tls-atexit.c: Likewise.
61566
61567 2013-02-18 Mike Frysinger <vapier@gentoo.org>
61568
61569 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
61570 and __attribute_alloc_size__.
61571
61572 2013-02-18 Mike Frysinger <vapier@gentoo.org>
61573
61574 * include/programs/xmalloc.h: Change __attribute_alloc_size to
61575 __attribute_alloc_size__.
61576 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
61577 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
61578
61579 2013-02-18 Mike Frysinger <vapier@gentoo.org>
61580
61581 * include/programs/xmalloc.h: New file.
61582 * catgets/gencat.c: Include it.
61583 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
61584 * elf/pldd.c: Likewise.
61585 * iconv/iconv_charmap.c: Likewise.
61586 * iconv/iconvconfig.c: Likewise.
61587 * iconv/strtab.c: Likewise.
61588 * locale/programs/locale.c: Likewise.
61589 * locale/programs/localedef.h: Likewise.
61590 * locale/programs/simple-hash.c: Likewise.
61591 * nscd/nscd.h: Likewise.
61592 * nss/makedb.c: Likewise.
61593 * sysdeps/generic/ldconfig.h: Likewise.
61594
61595 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61596
61597 * Versions.def: Add GLIBC_2.18.
61598 * include/link.h (struct link_map): New member l_tls_dtor_count.
61599 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
61600 (__call_tls_dtors): Likewise.
61601 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
61602 __cxa_thread_atexit_impl.
61603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61604 Likewise.
61605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61606 Likewise.
61607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
61608 Likewise.
61609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
61610 Likewise.
61611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
61613 Likewise.
61614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
61615 Likewise.
61616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61618 Likewise.
61619 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
61620 (tests): Add test case tst-tls-atexit.
61621 (modules-names): Add shared library for tst-tls-atexit.
61622 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
61623 (GLIBC_PRIVATE): Add __call_tls_dtors.
61624 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
61625 for libstdc++.
61626 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
61627 * stdlib/tst-tls-atexit.c: New test case.
61628 * stdlib/tst-tls-atexit-lib.c: New test case.
61629
61630 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
61631
61632 * elf/Versions (ld): Add _dl_find_dso_for_object.
61633 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
61634 * elf/dl-open.c (_dl_find_dso_for_object): New function.
61635 (dl_open_worker): Use _dl_find_dso_for_object.
61636 * elf/dl-sym.c (do_sym): Likewise.
61637 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
61638
61639 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61640
61641 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
61642 Syntactic changes only.
61643 (_dl_runtime_profile): Do a tail-call to the resolved function.
61644
61645 2013-02-17 Joseph Myers <joseph@codesourcery.com>
61646
61647 [BZ #13550]
61648 * sysdeps/x86_64/bp-asm.h: Remove file.
61649 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
61650 <bp-sym.h> and <bp-asm.h>.
61651 (__clone): Do not use BP_SYM.
61652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
61653 <bp-sym.h> and <bp-asm.h>.
61654 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61655 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
61656 "bp-asm.h".
61657 (_setjmp): Do not use BP_SYM.
61658 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
61659 "bp-asm.h".
61660 (setjmp): Do not use BP_SYM.
61661 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
61662 libc_hidden_def.
61663 (mempcpy): Do not use BP_SYM in weak_alias.
61664 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
61665 "bp-asm.h".
61666 (strchr): Do not use BP_SYM.
61667 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
61668 "bp-asm.h".
61669 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
61670 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
61671 (_start): Do not use BP_SYM.
61672 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
61673 "bp-asm.h".
61674 (strcat): Do not use BP_SYM.
61675 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
61676 "bp-asm.h".
61677 (STRCMP): Do not use BP_SYM.
61678 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
61679 "bp-asm.h".
61680 (STRCPY): Do not use BP_SYM.
61681 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
61682 "bp-asm.h".
61683 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
61684 "bp-asm.h".
61685 (FUNCTION): Do not use BP_SYM.
61686 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
61687 weak_alias.
61688 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
61689
61690 2013-02-17 Andreas Jaeger <aj@suse.de>
61691
61692 * time/Versions: Sort entries.
61693 * string/Versions: Likewise.
61694 * resolv/Versions: Likewise.
61695 * posix/Versions: Likewise.
61696 * iconv/Versions: Likewise.
61697 * elf/Versions: Likewise.
61698 * wcsmbs/Versions: Likewise.
61699
61700 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
61701
61702 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
61703 loop termination condition.
61704
61705 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
61706 variable to calculate EZ.
61707 (__sqr): Likewise.
61708
61709 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
61710 the lower precision input.
61711
61712 2013-02-15 Joseph Myers <joseph@codesourcery.com>
61713
61714 [BZ #13550]
61715 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
61716 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
61717 (run-via-rtld-prefix): Do not handle %-bp tests.
61718 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
61719 (all-object-suffixes): Remove .ob.
61720 (bppfx): Remove variable.
61721 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
61722 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
61723 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
61724 [$(build-bounded) = yes] (libtype.ob): Likewise.
61725 * Makerules (elide-routines.ob): Remove variable.
61726 (do-tests-clean): Do not handle *-bp.out.
61727 (common-mostlyclean): Do not handle *-bp and *-bp.out.
61728 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
61729 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
61730 (tests): Do not include $(tests-bp.out).
61731 (xtests): Do not include $(xtests-bp.out).
61732 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
61733 [$(build-bounded) = yes] ($(addprefix
61734 $(objpfx),$(binaries-bounded))): Remove rule.
61735 ($(objpfx)%-bp.out): Remove rule.
61736 * config.make.in (build-bounded): Remove variable.
61737 * crypt/Makefile [$(build-bounded) = yes]
61738 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
61739 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
61740 append to variable.
61741 [$(build-bounded) = yes] (install-lib): Likewise.
61742 [$(build-bounded) = yes] (generated): Likewise.
61743 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
61744 Remove rule.
61745 * intl/Makefile [$(build-bounded) = yes]
61746 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
61747 * math/Makefile [$(build-bounded) = yes]
61748 ($(tests:%=$(objpfx)%-bp): Likewise.
61749 * misc/Makefile [$(build-bounded) = yes]
61750 ($(objpfx)tst-tsearch-bp): Likewise.
61751 * nptl/Makeconfig (bounded-thread-library): Remove variable.
61752 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
61753 Remove dependency.
61754 * string/Makefile (o-objects.ob): Remove variable.
61755 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
61756 (CFLAGS-.ob): Remove variable.
61757 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
61758 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
61759 both definitions of variable.
61760 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
61761 (ASFLAGS-.ob): Remove variable.
61762
61763 2013-02-14 Joseph Myers <joseph@codesourcery.com>
61764
61765 [BZ #13550]
61766 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
61767 Remove __BOUNDED_POINTERS__ from condition.
61768 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
61769 * string/bits/string2.h [!__NO_STRING_INLINES &&
61770 !__BOUNDED_POINTERS__]: Likewise.
61771 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
61772 Likewise.
61773 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
61774 Remove conditional code.
61775 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
61776 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
61777 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
61778 condition.
61779
61780 [BZ #13550]
61781 * csu/libc-start.c: Do not include <bp-sym.h>.
61782 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
61783 * elf/dl-open.c: Do not include <bp-sym.h>.
61784 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
61785 * math/fegetenv.c: Do not include <bp-sym.h>.
61786 (fegetenv): Do not use BP_SYM in versioned symbols.
61787 * nptl/sysdeps/pthread/bits/libc-lockP.h
61788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
61789 <bp-sym.h>.
61790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61791 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
61792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61793 (__pthread_mutex_destroy): Likewise.
61794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61795 (__pthread_mutex_lock): Likewise.
61796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61797 (__pthread_mutex_trylock): Likewise.
61798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61799 (__pthread_mutex_unlock): Likewise.
61800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61801 (__pthread_mutexattr_init): Likewise.
61802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61803 (__pthread_mutexattr_destroy): Likewise.
61804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61805 (__pthread_mutexattr_settype): Likewise.
61806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61807 (__pthread_rwlock_init): Likewise.
61808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61809 (__pthread_rwlock_destroy): Likewise.
61810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61811 (__pthread_rwlock_rdlock): Likewise.
61812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61813 (__pthread_rwlock_tryrdlock): Likewise.
61814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61815 (__pthread_rwlock_wrlock): Likewise.
61816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61817 (__pthread_rwlock_trywrlock): Likewise.
61818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61819 (__pthread_rwlock_unlock): Likewise.
61820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61821 (__pthread_key_create): Likewise.
61822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61823 (__pthread_setspecific): Likewise.
61824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61825 (__pthread_getspecific): Likewise.
61826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
61827 Likewise.
61828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61829 (_pthread_cleanup_push_defer): Likewise.
61830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61831 (_pthread_cleanup_pop_restore): Likewise.
61832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61833 (pthread_setcancelstate): Likewise.
61834 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
61835 <bp-sym.h>.
61836 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
61837 (memchr): Do not use BP_SYM in weak_alias.
61838 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
61839 (fegetenv): Do not use BP_SYM in versioned symbols.
61840 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
61841 (fesetenv): Do not use BP_SYM in versioned symbols.
61842 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61843 (feupdateenv): Do not use BP_SYM in versioned symbols.
61844 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61845 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61846 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
61847 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
61848 (open64): Do not use BP_SYM in weak_alias.
61849 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
61850 (fegetenv): Do not use BP_SYM in versioned symbols.
61851 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
61852 (fesetenv): Do not use BP_SYM in versioned symbols.
61853 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61854 (feupdateenv): Do not use BP_SYM in versioned symbols.
61855 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
61856 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
61857 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
61858 (feraiseexcept): Do not use BP_SYM in versioned symbols.
61859 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61860 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61861 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
61862 <bp-sym.h>.
61863 (__libc_start_main): Do not use BP_SYM.
61864
61865 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61866
61867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
61868 redundant return line.
61869 (norm): Likewise.
61870 (denorm): Likewise.
61871 (dbl_mp): Likewise.
61872 (sub_magnitudes): Likewise.
61873 (__add): Likewise.
61874 (__sub): Likewise.
61875 (__mul): Likewise.
61876 (__inv): Likewise.
61877 (__dvd): Likewise.
61878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
61879 (norm): Likewise.
61880 (denorm): Likewise.
61881 (dbl_mp): Likewise.
61882 (sub_magnitudes): Likewise.
61883 (__add): Likewise.
61884 (__sub): Likewise.
61885 (__mul): Likewise.
61886 (__inv): Likewise.
61887 (__dvd): Likewise.
61888
61889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
61890 instead of __mul.
61891 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61892 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
61893 (cc32): Likewise.
61894
61895 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
61896 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
61897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
61898 of __mul for squares.
61899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
61900 function
61901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
61902 Likewise.
61903 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
61904 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61905
61906 2013-02-13 Joseph Myers <joseph@codesourcery.com>
61907
61908 [BZ #13550]
61909 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
61910 code.
61911 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
61912 prototype or function definition. Rename ubp_* variables and
61913 parameters. Remove argv definitions conditional on
61914 [__BOUNDED_POINTERS__].
61915 * debug/backtrace.c (__backtrace): Do not use __unbounded.
61916 * elf/dl-runtime.c (_dl_fixup): Likewise.
61917 * include/set-hooks.h (RUN_HOOK): Likewise.
61918 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
61919 definition.
61920 * string/strcpy.c (strcpy): Do not use __unbounded.
61921 * sysdeps/generic/frame.h (struct layout): Likewise.
61922 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
61923 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
61924 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
61925 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
61926 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
61927 (__backtrace): Likewise.
61928 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
61929 use __ptrvalue.
61930 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
61931 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
61932 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
61933 Likewise.
61934 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
61935 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
61936 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
61937 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61938 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
61939 Do not use __unbounded.
61940 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
61941 Rename __unboundedrlimits parameter to rlimits in prototype.
61942 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
61943 Do not use __unbounded.
61944 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
61945 not use __ptrvalue.
61946 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61947 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
61948 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61949 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
61950 __ptrvalue or __unbounded.
61951 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
61952 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
61953 use __unbounded.
61954 (__new_msgctl): Do not use __ptrvalue.
61955 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
61956 __unbounded.
61957 (__libc_msgrcv): Do not use __ptrvalue.
61958 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
61959 startup_info): Do not use __unbounded.
61960 (__libc_start_main): Likewise. Rename ubp_* variables and
61961 parameters. Remove argv definitions conditional on
61962 [__BOUNDED_POINTERS__].
61963 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
61964 __ptrvalue.
61965 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
61966 use __unbounded.
61967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
61968 or __ptrvalue.
61969 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
61970 use __unbounded.
61971 (__new_shmctl): Do not use __ptrvalue.
61972 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
61973 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
61974 Likewise.
61975 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
61976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
61977 (__libc_sigaction): Likewise.
61978 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
61979 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
61980 Likewise.
61981 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61982
61983 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
61984
61985 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
61986
61987 * string/mempcpy.c: Implement by calling memcpy.
61988
61989 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
61990
61991 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
61992
61993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
61994 evaluation.
61995
61996 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
61997 values in the mantissa.
61998
61999 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62000 minimize writes to Z.
62001 (sub_magnitudes): Simplify code a bit.
62002
62003 2013-02-12 Roland McGrath <roland@hack.frob.com>
62004
62005 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62006 from the message. The linker prefixes all warnings with that already.
62007
62008 2013-02-12 Andreas Schwab <schwab@suse.de>
62009
62010 [BZ #15078]
62011 * posix/regexec.c (extend_buffers): Add parameter min_len.
62012 (check_matching): Pass minimum needed length.
62013 (clean_state_log_if_needed): Likewise.
62014 (get_subexp): Likewise.
62015 * posix/Makefile (tests): Add bug-regex34.
62016 (bug-regex34-ENV): Define.
62017 * posix/bug-regex34.c: New file.
62018
62019 [BZ #11561]
62020 * posix/regcomp.c (parse_bracket_exp): When looking up collating
62021 elements compare against the byte sequence of it, not its name.
62022 * posix/Makefile (tests): Add bug-regex35.
62023 (bug-regex35-ENV): Define.
62024 * posix/bug-regex35.c: New file.
62025
62026 2013-02-11 Tom de Vries <tom@codesourcery.com>
62027
62028 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
62029 comment.
62030 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62031 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62032 (CHECK_EOL): Add undef.
62033
62034 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
62035
62036 * bits/stdlib-bsearch.h: New file.
62037 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62038 * stdlib/stdlib.h: Likewise.
62039
62040 2013-02-11 Roland McGrath <roland@hack.frob.com>
62041
62042 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62043 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62044 declaration.
62045 * manual/search.texi (Array Search Function): Add missing const in
62046 lfind prototype.
62047 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62048 declaration to use rlim_t.
62049 (Basic Scheduling Functions): Remove erroneous const from
62050 sched_getparam prototype. Remove erroneous * from
62051 sched_get_priority_max and sched_get_priority_min prototypes.
62052 (Resource Usage): Fix summary @comment on vtimes to refer to
62053 sys/vtimes.h rather than vtimes.h.
62054 Add missing *s in vtimes prototype.
62055 (Limits on Resources): Fix ulimit prototype to return long int.
62056 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62057 prototypes to use long int rather than double.
62058 (BSD Random): Fix initstate and setstate to use char *, not void *.
62059 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62060 prototype to make second argument 'struct aiocb64 *const[]'.
62061 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62062 (Status of AIO Operations): Remove erroneous const in aio_return and
62063 aio_return64 prototypes.
62064 (Synchronizing I/O): Fix sync prototype to return void.
62065 * manual/startup.texi (Suboptions): Remove an erroneous const in
62066 getsubopt prototype.
62067 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62068 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62069 use size_t rather than int.
62070 (Scanning All Users): Likewise for getpwent_r.
62071 (Setting Groups): Add missing const to setgroups prototype.
62072 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62073 * manual/socket.texi (Host Names): Fix gethostbyaddr and
62074 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62075 'const void *' rather than 'const char *'.
62076 (Host Address Functions): Likewise for inet_ntop.
62077 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62078 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62079 ssize_t for return value.
62080 (Sending Data): Likewise for send, sendto, sendmsg.
62081 (Socket Option Functions): Add a missing const in setsockopt prototype.
62082 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62083 use wchar_t for the argument.
62084 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62085 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62086 take no arguments.
62087 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62088 double/float/long double for second argument.
62089 Fix return types of significand, significandf, significandl.
62090 * manual/filesys.texi (Setting Permissions): Use mode_t for second
62091 argument in fchmod prototype.
62092 (File Owner): Use uid_t and gid_t in fchown prototype.
62093 (File Times): Add const to utimes, futimes, and lutimes prototypes.
62094 (Making Special Files): Use mode_t and dev_t in mknod prototype.
62095 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62096 use 'const struct dirent **' as argument types to CMP function pointer
62097 argument.
62098 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62099 (File Times): Fix summary magic @comment for struct utimbuf and utime
62100 to refer to utime.h, not time.h.
62101 * manual/string.texi (Argz Functions): Add missing const in
62102 argz_extract and argz_next prototypes.
62103 (Finding Tokens in a String): Likewise for basename.
62104 (String/Array Comparison): Fix typo in wcscasecmp prototype.
62105 (Copying and Concatenation): Fix typo in wmemmove prototype.
62106 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62107 (Signal Stack): Remove erroneous const in sigstack prototype.
62108 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62109 prototype.
62110 (Simple Calendar Time): Likewise for stime.
62111 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62112 prototype.
62113 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62114 say sys/sysctl.h instead.
62115 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62116 and vsyslog prototypes.
62117
62118 2013-02-11 Tom de Vries <tom@codesourcery.com>
62119
62120 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62121 Remove.
62122
62123 2013-02-11 Roland McGrath <roland@hack.frob.com>
62124
62125 * misc/sys/mman.h: Fix typo in mremap comment.
62126
62127 2013-02-08 Roland McGrath <roland@hack.frob.com>
62128
62129 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62130 the '\0' terminator.
62131
62132 2013-02-08 Joseph Myers <joseph@codesourcery.com>
62133
62134 [BZ #13550]
62135 * debug/segfault.c: Don't include <bp-checks.h>.
62136 * sysdeps/generic/bp-checks.h: Remove file.
62137 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62138 (__GETDENTS): Don't use CHECK_N.
62139 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62140 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62141 (__getgroups): Don't use CHECK_N.
62142 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62143 (setgroups): Don't use CHECK_N.
62144 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62145 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62146 (__libc_msgrcv): Don't use CHECK_N.
62147 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62148 (__libc_msgsnd): Don't use CHECK_N.
62149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62150 <bp-checks.h>.
62151 (__libc_pread): Don't use CHECK_N.
62152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62153 include <bp-checks.h>.
62154 (__libc_pread64): Don't use CHECK_N.
62155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62156 include <bp-checks.h>.
62157 (__libc_pwrite): Don't use CHECK_N.
62158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62159 include <bp-checks.h>.
62160 (__libc_pwrite64): Don't use CHECK_N.
62161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62162 <bp-checks.h>.
62163 (__libc_pread): Don't use CHECK_N.
62164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62165 include <bp-checks.h>.
62166 (__libc_pread64): Don't use CHECK_N.
62167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62168 include <bp-checks.h>.
62169 (__libc_pwrite): Don't use CHECK_N.
62170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62171 include <bp-checks.h>.
62172 (__libc_pwrite64): Don't use CHECK_N.
62173 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62174 (do_pread): Don't use CHECK_N.
62175 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62176 (do_pread64): Don't use CHECK_N.
62177 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62178 (do_pwrite): Don't use CHECK_N.
62179 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62180 (do_pwrite64): Don't use CHECK_N.
62181 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62182 (__libc_readv): Don't use CHECK_N.
62183 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62184 (semop): Don't use CHECK_N.
62185 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62186 <bp-checks.h>.
62187 (semtimedop): Don't use CHECK_N.
62188 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62189 (__libc_pread): Don't use CHECK_N.
62190 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62191 <bp-checks.h>.
62192 (__libc_pread64): Don't use CHECK_N.
62193 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62194 <bp-checks.h>.
62195 (__libc_pwrite): Don't use CHECK_N.
62196 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62197 <bp-checks.h>.
62198 (__libc_pwrite64): Don't use CHECK_N.
62199 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62200 <bp-checks.h>.
62201 (__libc_msgrcv): Don't use CHECK_N.
62202 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62203 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
62204 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62205 (__libc_writev): Don't use CHECK_N.
62206
62207 2013-02-08 Roland McGrath <roland@hack.frob.com>
62208
62209 * string/strcpy.c: Removed unused variable.
62210
62211 * Makeconfig (+sysdep-includes): Define with := rather than =.
62212 Use an existing include/ subdir of each sysdeps dir before it.
62213
62214 2013-02-08 Carlos O'Donell <carlos@redhat.com>
62215
62216 * nscd/connection.c (register_traced_file): Comment function.
62217 [HAVE_INOTIFY] (union __inev): Define.
62218 [HAVE_INOTIFY] (inotify_check_files): New function.
62219 [HAVE_INOTIFY] (clear_db_cache): Likewise.
62220 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62221 clear_db_cache.
62222 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62223
62224 2013-02-08 Carlos O'Donell <carlos@redhat.com>
62225
62226 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62227 loaded if not already and that a failure is permanent.
62228
62229 2013-02-08 Carlos O'Donell <carlos@redhat.com>
62230
62231 [BZ #15006]
62232 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62233 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62234
62235 2013-02-08 Joseph Myers <joseph@codesourcery.com>
62236
62237 [BZ #13550]
62238 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62239 (CHECK_1_NULL_OK): Likewise.
62240 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62241 (__fxstat): Do not use CHECK_1.
62242 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62243 <bp-checks.h>.
62244 (___fxstat64): Do not use CHECK_1.
62245 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62246 <bp-checks.h>.
62247 (__fxstatat): Do not use CHECK_1.
62248 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62249 <bp-checks.h>.
62250 (__fxstatat64): Do not use CHECK_1.
62251 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62252 <bp-checks.h>.
62253 (__fxstat): Do not use CHECK_1.
62254 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62255 <bp-checks.h>.
62256 (__fxstatat): Do not use CHECK_1.
62257 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62258 <bp-checks.h>.
62259 (__getresgid): Do not use CHECK_1.
62260 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62261 <bp-checks.h>.
62262 (__getresuid): Do not use CHECK_1.
62263 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62264 <bp-checks.h>.
62265 (__lxstat): Do not use CHECK_1.
62266 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62267 <bp-checks.h>.
62268 (__old_msgctl): Do not use CHECK_1.
62269 (__new_msgctl): Likewise.
62270 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62271 <bp-checks.h>.
62272 (__new_setrlimit): Do not use CHECK_1.
62273 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62274 <bp-checks.h>.
62275 (__old_shmctl): Do not use CHECK_1.
62276 (__new_shmctl): Likewise.
62277 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62278 <bp-checks.h>.
62279 (__xstat): Do not use CHECK_1.
62280 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62281 (__lxstat): Do not use CHECK_1.
62282 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62283 <bp-checks.h>.
62284 (___lxstat64): Do not use CHECK_1.
62285 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62286 (__old_msgctl): Do not use CHECK_1.
62287 (__new_msgctl): Likewise.
62288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62289 <bp-checks.h>.
62290 (__gettimeofday): Do not use CHECK_1.
62291 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62292 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62293 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62294 <bp-checks.h>.
62295 (__gettimeofday): Do not use CHECK_1.
62296 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62297 (__old_shmctl): Do not use CHECK_1_NULL_OK.
62298 (__new_shmctl): Do not use CHECK_1.
62299 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62300 <bp-checks.h>.
62301 (do_sigtimedwait): Do not use CHECK_1.
62302 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62303 <bp-checks.h>.
62304 (do_sigwaitinfo): Do not use CHECK_1.
62305 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62306 <bp-checks.h>.
62307 (msgctl): Do not use CHECK_1.
62308 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62309 <bp-checks.h>.
62310 (shmctl): Do not use CHECK_1.
62311 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62312 (ustat): Do not use CHECK_1.
62313 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62314 <bp-checks.h>.
62315 (__fxstat): Do not use CHECK_1.
62316 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62317 <bp-checks.h>.
62318 (__fxstatat): Do not use CHECK_1.
62319 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62320 <bp-checks.h>.
62321 (__lxstat): Do not use CHECK_1.
62322 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62323 <bp-checks.h>.
62324 (__xstat): Do not use CHECK_1.
62325 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62326 (__xstat): Do not use CHECK_1.
62327 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62328 (___xstat64): Do not use CHECK_1.
62329
62330 [BZ #13550]
62331 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62332 definitions.
62333 (CHECK_BOUNDS_HIGH): Likewise.
62334 * string/strcpy.c: Do not include <bp-checks.h>.
62335 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62336
62337 2013-02-07 Roland McGrath <roland@hack.frob.com>
62338
62339 * nscd/nscd-client.h (__nscd_drop_map_ref):
62340 Add __attribute__ ((unused)).
62341 * nis/nss-nisplus.h (niserr2nss): Likewise.
62342
62343 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62344 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62345
62346 * csu/libc-tls.c (init_static_tls, init_slotinfo):
62347 Remove inline keyword.
62348 * include/rounding-mode.h (round_away): Likewise.
62349 * libio/wfileops.c (adjust_wide_data): Likewise.
62350 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62351 (__m128i_strloadu_tolower): Likewise.
62352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62353 (__m128i_strloadu_tolower): Likewise.
62354 * time/mktime.c (ydhms_diff): Likewise.
62355 * locale/elem-hash.h (elem_hash): Likewise.
62356 * locale/setlocale.c (setdata): Likewise.
62357 * posix/regex_internal.h (re_string_char_size_at): Likewise.
62358 (re_string_wchar_at): Likewise.
62359 (bitset_not, bitset_merge, bitset_mask): Likewise.
62360 [!(__GNUC__ > 3)] (inline): Remove macro.
62361 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62362 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62363 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62364 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62365 * string/memcmp.c (memcmp_bytes): Likewise.
62366 * locale/programs/locarchive.c (compute_hashval): Likewise.
62367 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62368 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62369 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62370 * nss/getent.c (print_rpc, print_protocols): Likewise.
62371 (print_passwd, print_group, print_aliases): Likewise.
62372 * nis/nss-nisplus.h (niserr2nss): Likewise.
62373 * nscd/connections.c (restart_p): Likewise.
62374 Change return type to bool.
62375
62376 2013-02-05 Roland McGrath <roland@hack.frob.com>
62377
62378 * Makeconfig (all-Depend-files): Add existing
62379 $(sorted-subdirs:=/Depend) files.
62380 (all-subdirs): Remove nss.
62381 * sysdeps/unix/inet/Subdirs: Add it here instead.
62382 * hesiod/Depend: New file.
62383
62384 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
62385 instead of calling alloca.
62386
62387 * io/lseek.c (__lseek): Rename to __libc_lseek.
62388 Define __lseek as an alias.
62389
62390 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
62391
62392 2013-02-04 Carlos O'Donell <carlos@redhat.com>
62393
62394 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
62395 else clause and remove check for non-standard endianness.
62396
62397 2013-02-04 David S. Miller <davem@davemloft.net>
62398
62399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62400
62401 2013-02-04 Joseph Myers <joseph@codesourcery.com>
62402
62403 [BZ #13550]
62404 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
62405 (__ubp_memchr): Remove prototype.
62406 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
62407 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62408 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
62409 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62410 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
62411 Remove alias.
62412 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
62413 (__ubp_memchr): Likewise.
62414 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
62415 (__ubp_memchr): Likewise.
62416 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
62417 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
62418 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
62419 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
62420 CHECK_STRING.
62421 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
62422 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
62423 (__getcwd): Do not use CHECK_STRING.
62424 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62425 <bp-checks.h>.
62426 (__real_chown): Do not use CHECK_STRING.
62427 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
62428 <bp-checks.h>.
62429 (fchownat): Do not use CHECK_STRING.
62430 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
62431 CHECK_STRING.
62432 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62433 <bp-checks.h>.
62434 (__lchown): Do not use CHECK_STRING.
62435 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62436 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62438 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
62439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62440 include <bp-checks.h>.
62441 (truncate64): Do not use CHECK_STRING.
62442 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62443 <bp-checks.h>.
62444 (__real_chown): Do not use CHECK_STRING.
62445 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62446 <bp-checks.h>.
62447 (__lchown): Do not use CHECK_STRING.
62448 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62449 <bp-checks.h>.
62450 (__chown): Do not use CHECK_STRING.
62451 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
62452 <bp-checks.h>.
62453 (truncate64): Do not use CHECK_STRING.
62454 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
62455 Likewise.
62456 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
62457 (__xmknod): Do not use CHECK_STRING.
62458 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
62459 <bp-checks.h>.
62460 (__xmknodat): Do not use CHECK_STRING.
62461 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62462 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
62463
62464 2013-02-04 Andreas Schwab <schwab@suse.de>
62465
62466 [BZ #14142]
62467 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
62468 * include/netdb.h: Likewise for h_errno.
62469 * elf/tst-stackguard1.c: Include <tls.h>.
62470
62471 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
62472
62473 * elf/link.h (struct link_map): Extend the l_addr comment.
62474 * include/link.h (struct link_map): Likewise.
62475
62476 2013-02-01 Joseph Myers <joseph@codesourcery.com>
62477
62478 [BZ #13550]
62479 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
62480 (BOUNDED_1): Remove macro.
62481 * debug/backtrace.c: Don't include <bp-checks.h>.
62482 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
62483 (__backtrace): Likewise.
62484 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
62485 <bp-checks.h>.
62486 (__backtrace): Don't use BOUNDED_1.
62487 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
62488 <bp-checks.h>.
62489 (__backtrace): Don't use BOUNDED_1.
62490 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
62491 (__backtrace): Don't use BOUNDED_1.
62492 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
62493 (shmat): Don't use BOUNDED_N.
62494
62495 2013-01-31 Joseph Myers <joseph@codesourcery.com>
62496
62497 [BZ #13550]
62498 * sysdeps/generic/bp-start.h: Remove file.
62499 * csu/libc-start.c: Don't include <bp-start.h>.
62500 (LIBC_START_MAIN): Set up __environ directly instead of using
62501 INIT_ARGV_and_ENVIRON.
62502 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
62503 <bp-start.h>.
62504
62505 [BZ #13550]
62506 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
62507 definitions.
62508 (CHECK_FCNTL): Likewise.
62509 (CHECK_N_PAGES): Likewise.
62510
62511 [BZ #13550]
62512 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
62513 definitions.
62514 (CHECK_SIGSET_NULL_OK): Likewise.
62515 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
62516 <bp-checks.h>.
62517 (sigpending): Don't use CHECK_SIGSET.
62518 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
62519 <bp-checks.h>.
62520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62521 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
62522 <bp-checks.h>.
62523 (do_sigsuspend): Don't use CHECK_SIGSET.
62524 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
62525 use CHECK_SIGSET.
62526 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
62527 (do_sigwait): Don't use CHECK_SIGSET.
62528 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
62529 use CHECK_SIGSET.
62530 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
62531 include <bp-checks.h>.
62532 (sigpending): Don't use CHECK_SIGSET.
62533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
62534 include <bp-checks.h>.
62535 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62536 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
62537 <bp-checks.h>.
62538 (sigpending): Don't use CHECK_SIGSET.
62539 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
62540 <bp-checks.h>.
62541 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62542
62543 [BZ #13550]
62544 * sysdeps/generic/bp-semctl.h: Remove file.
62545 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
62546 <bp-checks.h> and <bp-semctl.h>.
62547 (__old_semctl): Don't use CHECK_SEMCTL.
62548 (__new_semctl): Likewise.
62549 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
62550 and <bp-semctl.h>.
62551 (__old_semctl): Don't use CHECK_SEMCTL.
62552 (__new_semctl): Likewise.
62553 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
62554 <bp-checks.h> and <bp-semctl.h>.
62555 (__old_semctl): Don't use CHECK_SEMCTL.
62556 (__new_semctl): Likewise.
62557 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
62558 <bp-checks.h> and <bp-semctl.h>.
62559 (semctl): Don't use CHECK_SEMCTL.
62560
62561 [BZ #13550]
62562 * Makerules (elide-bp-thunks): Remove variable.
62563 (elide-routines.oS): Don't use $(elide-bp-thunks).
62564 (elide-routines.os): Likewise.
62565 (elide-routines.o): Likewise.
62566 (elide-routines.op): Likewise.
62567 (elide-routines.og): Likewise.
62568 (objects): Don't use $(bp-thunks).
62569 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
62570 include.
62571 (common-generated): Do not add s-proto-bp.d.
62572 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
62573 (int): Likewise.
62574 (typ): Likewise.
62575 Do not generate makefile rules for bounded-pointer thunks.
62576 * sysdeps/generic/bp-thunks.h: Remove file.
62577 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
62578 * sysdeps/unix/s-proto-bp.S: Likewise.
62579
62580 [BZ #15062]
62581 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
62582 parts of result separately when argument is not close to line from
62583 -i to i and one part of argument is small.
62584 * math/k_casinhf.c (__kernel_casinhf): Likewise.
62585 * math/k_casinhl.c (__kernel_casinhl): Likewise.
62586 * math/libm-test.inc (cacos_test): Add more tests.
62587 (casin_test): Likewise.
62588 (casinh_test): Likewise.
62589 * sysdeps/i386/fpu/libm-test-ulps: Update.
62590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62591
62592 2013-01-31 David S. Miller <davem@davemloft.net>
62593
62594 * po/de.po: Update from translation team.
62595
62596 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
62597
62598 * time/tzfile.c: Include stdint.h for SIZE_MAX.
62599
62600 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
62601
62602 * configure.in (_AC_PROG_CC_C89): New definition.
62603 * configure: Regenerate.
62604
62605 * configure.in (AC_PROG_CPP): New definition.
62606 * configure: Regenerate.
62607
62608 2013-01-23 Joseph Myers <joseph@codesourcery.com>
62609
62610 * debug/tst-backtrace.h: New file.
62611 * debug/tst-backtrace2.c: Include tst-backtrace.h.
62612 (ret): Remove variable.
62613 (x): Likewise.
62614 (FAIL): Remove macro.
62615 (NO_INLINE): Likewise.
62616 (fn1): Use match function instead of strstr.
62617 * debug/tst-backtrace3.c: Include tst-backtrace.h.
62618 (ret): Remove variable.
62619 (x): Likewise.
62620 (FAIL): Remove macro.
62621 (NO_INLINE): Likewise.
62622 (fn): Use match function instead of strstr.
62623 * debug/tst-backtrace4.c: Include tst-backtrace.h.
62624 (ret): Remove variable.
62625 (x): Likewise.
62626 (FAIL): Remove macro.
62627 (NO_INLINE): Likewise.
62628 (handle_signal): Use match function instead of strstr.
62629 * debug/tst-backtrace5.c: Include tst-backtrace.h.
62630 (ret): Remove variable.
62631 (x): Likewise.
62632 (FAIL): Remove macro.
62633 (NO_INLINE): Likewise.
62634 (handle_signal): Use match function instead of strstr.
62635
62636 2013-01-23 Roland McGrath <roland@hack.frob.com>
62637
62638 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
62639
62640 2013-01-23 David S. Miller <davem@davemloft.net>
62641
62642 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
62643 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
62644 argument of CAS if possible.
62645 * sysdeps/sparc/sparc64/bits/atomic.h
62646 (__arch_compare_and_exchange_val_32_acq): Likewise.
62647 (__arch_compare_and_exchange_val_64_acq): Likewise.
62648
62649 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
62650
62651 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
62652 * sysdeps/posix/ulimit.c: ... this.
62653 Include <limits.h>.
62654 * sysdeps/unix/bsd/ulimit.c: Remove file.
62655
62656 2013-01-23 Adam Conrad <adconrad@0c3.net>
62657
62658 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
62659 (LDFLAGS-tst-array5): Likewise.
62660
62661 2013-01-23 Joseph Myers <joseph@codesourcery.com>
62662
62663 [BZ #15036]
62664 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
62665 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
62666 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
62667 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
62668
62669 2013-01-21 David S. Miller <davem@davemloft.net>
62670
62671 * sysdeps/sparc/backtrace.c: New file.
62672 * sysdeps/sparc/sparc32/backtrace.h: New file.
62673 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
62674 * sysdeps/sparc/sparc64/backtrace.h: New file.
62675 * sysdeps/sparc/sparc64/backtrace.c: Delete.
62676 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
62677 -funwind-tables.
62678
62679 2013-01-21 Andreas Schwab <schwab@suse.de>
62680
62681 [BZ #15020]
62682 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
62683 closed its stdout.
62684
62685 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
62686
62687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
62688 "mpa2.h".
62689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62690
62691 2013-01-18 Joseph Myers <joseph@codesourcery.com>
62692 Mark Mitchell <mark@codesourcery.com>
62693 Tom de Vries <tom@codesourcery.com>
62694 Paul Pluzhnikov <ppluzhnikov@google.com>
62695
62696 * debug/tst-backtrace2.c: New file.
62697 * debug/tst-backtrace3.c: Likewise.
62698 * debug/tst-backtrace4.c: Likewise.
62699 * debug/tst-backtrace5.c: Likewise.
62700 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
62701 (CFLAGS-tst-backtrace3.c): Likewise.
62702 (CFLAGS-tst-backtrace4.c): Likewise.
62703 (CFLAGS-tst-backtrace5.c): Likewise.
62704 (LDFLAGS-tst-backtrace2): Likewise.
62705 (LDFLAGS-tst-backtrace3): Likewise.
62706 (LDFLAGS-tst-backtrace4): Likewise.
62707 (LDFLAGS-tst-backtrace5): Likewise.
62708 (tests): Add new tests tst-backtrace2, tst-backtrace3,
62709 tst-backtrace4 and tst-backtrace5.
62710
62711 2013-01-18 Anton Blanchard <anton@samba.org>
62712 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62713
62714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
62715 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
62716 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
62717 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
62718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62719 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
62720 "+r" and remove output regs list as redundant. Add explicit inline
62721 asm to specify register of return val to work around compiler codegen
62722 bug. Remove (int) cast on return value. Add return type parameter to
62723 use in macro so that this macro does not truncate return value for
62724 64-bit values.
62725 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
62726 pass to INTERNAL_VSYSCALL_NCS.
62727 (INLINE_VSYSCALL): Add 'long int' as return type to
62728 INTERNAL_VSYSCALL_NCS macro invocation.
62729 (INTERNAL_VSYSCALL): Add 'long int' as return type to
62730 INTERNAL_VSYSCALL_NCS macro invocation.
62731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62732
62733 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62734
62735 [BZ #14496]
62736 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
62737 Fix application of SIMD FP exception mask.
62738
62739 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
62740 mp_no from a power of two.
62741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
62742 __mpexp_twomm1. Use __pow_mp.
62743
62744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
62745 multiplication.
62746
62747 2013-01-17 David S. Miller <davem@davemloft.net>
62748
62749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62750
62751 2013-01-17 Joseph Myers <joseph@codesourcery.com>
62752
62753 [BZ #15023]
62754 * include/complex.h: Condition contents on [!_COMPLEX_H].
62755 (__kernel_casinhf): New prototype.
62756 (__kernel_casinh): Likewise.
62757 (__kernel_casinhl): Likewise.
62758 * math/Makefile (libm_calls): Add k_casinh.
62759 * math/k_casinh.c: New file.
62760 * math/k_casinhf.c: Likewise.
62761 * math/k_casinhl.c: Likewise.
62762 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
62763 finite nonzero arguments.
62764 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
62765 finite nonzero arguments.
62766 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
62767 finite nonzero arguments.
62768 * math/s_casinh.c: Do not include <float.h>.
62769 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
62770 * math/s_casinhf.c: Do not include <float.h>.
62771 (__casinhf): Move code for finite nonzero arguments to
62772 k_casinhf.c.
62773 * math/s_casinhl.c: Do not include <float.h>.
62774 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
62775 redefine.
62776 (__casinhl): Move code for finite nonzero arguments to
62777 k_casinhl.c.
62778 * math/libm-test.inc (cacos_test): Add more tests.
62779 * sysdeps/i386/fpu/libm-test-ulps: Update.
62780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62781
62782 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
62783
62784 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
62785 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
62786 [!HAVE_MREMAP]: Remove [defined linux] case.
62787 * malloc/arena.c: Do not include <malloc-sysdep.h>.
62788
62789 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
62790
62791 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
62792
62793 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
62794
62795 * elf/elf.h (R_386_SIZE32): New relocation.
62796 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
62797 R_386_SIZE32.
62798 (elf_machine_rela): Likewise.
62799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62800 R_X86_64_SIZE64 and R_X86_64_SIZE32.
62801
62802 2013-01-17 Joseph Myers <joseph@codesourcery.com>
62803
62804 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
62805 (FP_FAST_FMA): Do not define.
62806 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
62807 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
62808 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
62809 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
62810 !_SOFT_FLOAT]: Likewise.
62811 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
62812 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
62813 value.
62814 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
62815 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
62816 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
62817 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
62818 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
62819 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
62820 file.
62821
62822 2013-01-16 Andreas Schwab <schwab@suse.de>
62823
62824 [BZ #14327]
62825 * include/stdlib.h (__mktemp): Add declaration.
62826 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
62827 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
62828
62829 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62830
62831 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
62832 definitions.
62833 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62834 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
62835 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
62836 definitions here.
62837 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
62838 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
62839 definitions.
62840 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
62841 and ONE.
62842 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
62843 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
62844 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
62845 definitions.
62846 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
62847 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
62848 definitions.
62849 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62850
62851 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
62852
62853 2013-01-15 David S. Miller <davem@davemloft.net>
62854
62855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62856 trunc{,f} to libm-sysdep_routes.
62857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
62859 file.
62860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
62861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
62862 file.
62863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
62864 file.
62865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
62866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
62867 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
62868 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
62869 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
62870 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
62871 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
62872 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
62873
62874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62875 nearbyint{,f} to libm-sysdep_routes.
62876 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
62878 New file.
62879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
62880 file.
62881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
62882 New file.
62883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
62884 file.
62885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
62886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
62887 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
62888 file.
62889 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
62890 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
62891 file.
62892 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
62893 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
62894 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
62895
62896 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62897 libc_feholdexcept and libc_fesetenv.
62898
62899 2013-01-15 Mike Frysinger <vapier@gentoo.org>
62900
62901 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
62902
62903 2013-01-14 David S. Miller <davem@davemloft.net>
62904
62905 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
62906 (SPARC_ASM_VIS2_IFUNC): Likewise.
62907 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
62908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
62909 use of 'siam' instruction.
62910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
62911 Likewise.
62912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
62913 Likewise.
62914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
62915 Likewise.
62916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
62917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
62918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
62919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
62920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
62921 file.
62922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
62923 file.
62924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
62925 file.
62926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
62927 file.
62928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
62929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
62930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
62931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
62932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
62933 new VIS2 routines.
62934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62937 Likewise.
62938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
62943 routines to libm-sysdep_routines.
62944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62945
62946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62947 fdim/fdimf to libm-sysdep_routines.
62948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
62949 file.
62950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
62951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
62952 file.
62953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
62954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
62955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
62956 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
62957 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
62958 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
62959 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
62960
62961 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
62962
62963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
62964 to optimize copies.
62965
62966 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
62967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62969
62970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
62971 local variable MPTWO.
62972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62973 Likewise.
62974
62975 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62976
62977 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
62978 GLOB_NOESCAPE.
62979
62980 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62981
62982 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
62983
62984 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62985
62986 * manual/pattern.texi (glob_t): Document gl_flags.
62987 (glob64_t): Likewise.
62988
62989 2013-01-11 David S. Miller <davem@davemloft.net>
62990
62991 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
62992 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
62993 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
62994 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
62995 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
62996 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
62997 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
62998 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
62999 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63000 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63001 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63002 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63003 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63004
63005 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63006 sparc V9 rather than using V8 code.
63007 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63008 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63009
63010 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63011 Move to...
63012 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63013 Here.
63014
63015 2013-01-11 Roland McGrath <roland@hack.frob.com>
63016
63017 [BZ #14941]
63018 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63019 not in the main loop.
63020 * configure: Regenerated.
63021
63022 2013-01-11 Joseph Myers <joseph@codesourcery.com>
63023
63024 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63025 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63026 to just #else.
63027 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
63028 [!__GLIBC_HAVE_LONG_LONG] case.
63029 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63030 condition to just #else.
63031 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63032 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63033 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63034 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63035 unconditional.
63036 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63037 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63038 #elif condition to just #else.
63039 * sysdeps/unix/sysv/linux/sys/sysmacros.h
63040 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63041 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63042 #elif condition to just #else.
63043
63044 2013-01-11 Steve Ellcey <sellcey@mips.com>
63045
63046 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63047 (EF_MIPS_ARCH_64): Fix value.
63048 (EF_MIPS_ARCH_32R2): New.
63049 (EF_MIPS_ARCH_64R2): New.
63050
63051 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
63052
63053 * Makeconfig (+link-pie-before-libc): New.
63054 (+link-pie-after-libc): Likewise.
63055 (+link-pie-tests): Likewise.
63056 (+link-pie): Rewritten.
63057 (link-before-libc): Remove $(config-LDFLAGS).
63058 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63059 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63060 (config-LDFLAGS): Renamed to ...
63061 (rtld-LDFLAGS): This.
63062 (rtld-tests-LDFLAGS): New macro.
63063 (link-libc-rpath-link): Likewise.
63064 (link-libc-tests-rpath-link): Likewise.
63065 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63066 (link-libc): Prepand $(link-libc-rpath-link).
63067 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63068 (test-program-prefix): New macro.
63069 (test-via-rtld-prefix): Likewise.
63070 (test-program-cmd): Likewise.
63071 (host-test-program-cmd): Likewise.
63072 * Makefile ($(common-objpfx)testrun.sh): Replace
63073 $(run-program-prefix) with $(test-program-prefix).
63074 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63075 $(rtld-LDFLAGS).
63076 ($(common-objpfx)shlib.lds): Likewise.
63077 (build-module-helper): Likewise.
63078 ($(common-objpfx)format.lds): Likewise.
63079 * Rules (binaries-pie-tests): New.
63080 (binaries-pie-notests): Likewise.
63081 (binaries-pie): Rewritten.
63082 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63083 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63084 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63085 (make-test-out): Replace $(host-built-program-cmd) with
63086 $(host-test-program-cmd).
63087 * config.make.in (build-hardcoded-path-in-tests): New variable.
63088 * configure.in (--enable-hardcoded-path-in-tests): New configure
63089 option.
63090 (hardcoded_path_in_tests): New AC_SUBST.
63091 * configure: Regenerated.
63092 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63093 $(built-program-cmd) with $(test-program-cmd).
63094 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63095 (test_program_cmd): This.
63096 * elf/Makefile ($(objpfx)order.out): Run test with
63097 $(test-program-prefix).
63098 ($(objpfx)order2.out): Likewise.
63099 ($(objpfx)tst-initorder.out): Likewise.
63100 ($(objpfx)tst-initorder2.out): Likewise.
63101 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63102 $(test-program-cmd).
63103 ($(objpfx)tst-array1-static.out): Likewise.
63104 ($(objpfx)tst-array2.out): Likewise.
63105 ($(objpfx)tst-array3.out): Likewise.
63106 ($(objpfx)tst-array4.out): Likewise.
63107 ($(objpfx)tst-array5.out): Likewise.
63108 ($(objpfx)tst-array5-static.out): Likewise.
63109 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63110 $(test-program-cmd).
63111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63112 $(run-program-prefix) with $(test-program-prefix).
63113 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63114 (test_program_prefix): This.
63115 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63116 $(run-program-prefix) with $(test-program-prefix).
63117 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63118 (test_program_prefix): This.
63119 * iconvdata/tst-tables.sh: Likewise.
63120 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63121 $(run-program-prefix) with $(test-program-prefix).
63122 ($(objpfx)tst-translit.out): Likewise.
63123 ($(objpfx)tst-gettext2.out): Likewise.
63124 ($(objpfx)tst-gettext4.out): Likewise.
63125 ($(objpfx)tst-gettext6.out): Likewise.
63126 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63127 (test_program_prefix): This.
63128 * intl/tst-gettext2.sh: Likewise.
63129 * intl/tst-gettext4.sh Likewise.
63130 * intl/tst-gettext6.sh: Likewise.
63131 * intl/tst-translit.sh: Likewise.
63132 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63133 with $(test-program-cmd).
63134 * libio/Makefile ($(objpfx)test-freopen.out): Replace
63135 $(run-program-prefix) with $(test-program-prefix).
63136 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63137 (test_program_prefix): This.
63138 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63139 $(run-program-prefix) with $(test-program-prefix).
63140 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63141 (test_program_prefix): This.
63142 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63143 * posix/Makefile ($(objpfx)globtest.out): Replace
63144 $(run-via-rtld-prefix) and $(test-wrapper) with
63145 $(test-program-prefix) and $(test-via-rtld-prefix).
63146 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63147 $(test-program-prefix).
63148 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63149 $(host-test-program-cmd).
63150 (tst-spawn-ARGS): Likewise.
63151 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63152 $(test-program-prefix).
63153 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63154 (test_via_rtld_prefix): This.
63155 (test_wrapper): Renamed to ...
63156 (test_program_prefix): This.
63157 (run_program_prefix): Replaced by test_program_prefix.
63158 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63159 (test_program_prefix): This.
63160 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63161 with $(host-test-program-cmd).
63162 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63163 $(run-program-prefix) with $(test-program-prefix).
63164 ($(objpfx)tst-printf.out): Likewise.
63165 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63166 $(test-program-cmd).
63167 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63168 (test_program_prefix): This.
63169 * stdio-common/tst-unbputc.sh: Likewise.
63170 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63171 $(run-program-prefix) with $(test-program-prefix).
63172 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63173 (test_program_prefix): This.
63174 * string/Makefile ($(objpfx)tst-svc.out): Replace
63175 $(built-program-cmd) with $(test-program-cmd).
63176
63177 2013-01-11 Andreas Jaeger <aj@suse.de>
63178
63179 [BZ #15003]
63180 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63181 value. Sync with Linux 3.7.
63182
63183 2013-01-10 David S. Miller <davem@davemloft.net>
63184
63185 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63188
63189 2013-01-10 Roland McGrath <roland@hack.frob.com>
63190
63191 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63192 never set.
63193 * configure: Regenerated.
63194
63195 2013-01-10 David S. Miller <davem@davemloft.net>
63196
63197 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63198 sparc V9 rather than using V8 code.
63199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63201
63202 2013-01-10 Roland McGrath <roland@hack.frob.com>
63203
63204 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63205 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63206 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63207 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63208 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63209 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63210 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63211 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63212 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63213 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63214 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63215 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63216 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63217 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63218 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63219 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63220 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63221 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63222 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63223 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63224 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63225 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63226 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63227 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63228 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63229 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63230 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63231
63232 2013-01-10 David S. Miller <davem@davemloft.net>
63233
63234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63235
63236 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
63237
63238 * posix/Makefile (tests-static): New variable.
63239 (tests): Add $(tests-static).
63240 (tst-exec-static-ARGS): New variable.
63241 (tst-spawn-static-ARGS): Likewise.
63242 * posix/tst-exec-static.c: New file.
63243 * posix/tst-spawn-static.c: Likewise.
63244 * posix/tst-exec.c: Support run directly.
63245 * posix/tst-spawn.c: Likewise.
63246
63247 2013-01-10 Joseph Myers <joseph@codesourcery.com>
63248
63249 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63250 long.
63251 * math/bits/mathcalls.h (llrint): Likewise.
63252 (llround): Likewise.
63253 * stdlib/stdlib.h (struct drand48_data): Likewise.
63254 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63255 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63256 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63257 Likewise.
63258 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63259 Likewise.
63260 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63261 (elf_greg_t): Likewise.
63262 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63263 (__jmp_buf): Likewise.
63264 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63265 definitions.
63266 (llrint): Likewise, for all definitions.
63267 (llrintl): Likewise.
63268
63269 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63270 Remove [__GNUC__] condition.
63271 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63272 condition to just [__USE_ISOC99].
63273 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63274
63275 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
63276
63277 [BZ #14200]
63278 * sysdeps/unix/sysv/linux/x86/bits/environments.h
63279 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63280 defined.
63281 (_POSIX_V6_ILP32_OFF32): Likewise.
63282 (_XBS5_ILP32_OFF32): Likewise.
63283 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63284 (__ILP32_OFFBIG_LDFLAGS): Likewise.
63285
63286 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
63287
63288 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63289
63290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63291 doubles __mpexp_twomm1. Adjust usage.
63292 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63293 Remove.
63294
63295 2013-01-10 Andreas Schwab <schwab@suse.de>
63296
63297 [BZ #14964]
63298 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63299 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63300
63301 2013-01-09 David S. Miller <davem@davemloft.net>
63302
63303 [BZ #15003]
63304 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63305 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63306 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63307 (TCP_FASTOPEN): Define.
63308 (tcp_repair_opt): New structure.
63309 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63310 enum values.
63311 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63312 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63313 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63314 (tcp_cookie_transactions): New structure.
63315
63316 2013-01-09 Anton Blanchard <anton@samba.org>
63317
63318 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63319 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63320 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63321 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63322
63323 2013-01-09 Joseph Myers <joseph@codesourcery.com>
63324
63325 * include/features.h (__USE_ANSI): Remove.
63326
63327 2013-01-09 Roland McGrath <roland@hack.frob.com>
63328
63329 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63330
63331 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63332
63333 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
63334
63335 * sysdeps/s390/fpu/libm-test-ulps: Update.
63336
63337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63338
63339 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63340 (__acr): Likewise.
63341 (__cpy): Likewise.
63342 (norm): Likewise.
63343 (denorm): Likewise.
63344 (__mp_dbl): Likewise.
63345 (__dbl_mp): Likewise.
63346 (add_magnitudes): Likewise.
63347 (sub_magnitudes): Likewise.
63348 (__add): Likewise.
63349 (__sub): Likewise.
63350 (__mul): Likewise.
63351 (__inv): Likewise.
63352 (__dvd): Likewise.
63353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63354 (__acr): Likewise.
63355 (__cpy): Likewise.
63356 (norm): Likewise.
63357 (denorm): Likewise.
63358 (__mp_dbl): Likewise.
63359 (__dbl_mp): Likewise.
63360 (add_magnitudes): Likewise.
63361 (sub_magnitudes): Likewise.
63362 (__add): Likewise.
63363 (__sub): Likewise.
63364 (__mul): Likewise.
63365 (__inv): Likewise.
63366 (__dvd): Likewise.
63367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63368 (__acr): Likewise.
63369 (__cpy): Likewise.
63370 (norm): Likewise.
63371 (denorm): Likewise.
63372 (__mp_dbl): Likewise.
63373 (__dbl_mp): Likewise.
63374 (add_magnitudes): Likewise.
63375 (sub_magnitudes): Likewise.
63376 (__add): Likewise.
63377 (__sub): Likewise.
63378 (__mul): Likewise.
63379 (__inv): Likewise.
63380 (__dvd): Likewise.
63381
63382 2013-01-08 Joseph Myers <joseph@codesourcery.com>
63383
63384 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
63385 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
63386 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
63387 2 && __USE_EXTERN_INLINES]: Likewise.
63388
63389 2013-01-08 Andreas Jaeger <aj@suse.de>
63390
63391 [BZ# 14985]
63392 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
63393 Remove.
63394 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63395 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63396
63397 2013-01-07 Anton Blanchard <anton@samba.org>
63398
63399 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
63400 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63401 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
63402 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63403 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63404 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63405 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
63406 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63408 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63409 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63410 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63411 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63412 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63413 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63414 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63415 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63417 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
63418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63419 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
63420 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
63421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63422 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63423 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
63424 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63425 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63426 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
63428 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63429 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
63430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63432 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63435 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63436 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63437 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
63438 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
63439 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
63440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63441 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63442
63443 2013-01-07 Joseph Myers <joseph@codesourcery.com>
63444
63445 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
63446 (__MALLOC_PMT): Likewise.
63447 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
63448 [__GNUC__], only on [_LIBC].
63449 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63450 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63451 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63452 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
63453 forward declaration.
63454 (realloc_hook_ini): Likewise.
63455 (memalign_hook_ini): Likewise.
63456 (__libc_memalign): Do not use __MALLOC_PMT in variable
63457 declaration.
63458 (__libc_valloc): Likewise.
63459 (__libc_pvalloc): Likewise.
63460 (__libc_calloc): Likewise.
63461 (__posix_memalign): Likewise.
63462
63463 [BZ #14996]
63464 * math/s_casinh.c: Include <float.h>.
63465 (__casinh): Do not do computation with squaring and square root
63466 for large arguments.
63467 * math/s_casinhf.c: Include <float.h>.
63468 (__casinhf): Do not do computation with squaring and square root
63469 for large arguments.
63470 * math/s_casinhl.c: Include <float.h>.
63471 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
63472 (__casinhl): Do not do computation with squaring and square root
63473 for large arguments.
63474 * math/libm-test.inc (casin_test): Add more tests.
63475 (casinh_test): Likewise.
63476 * sysdeps/i386/fpu/libm-test-ulps: Update.
63477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63478
63479 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
63480
63481 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
63482 (__x86_64_raw_data_cache_size): Likewise.
63483 (__x86_64_data_cache_size_half): Likewise.
63484 (__x86_64_raw_data_cache_size_half): Likewise.
63485 (__x86_64_shared_cache_size): Likewise.
63486 (__x86_64_raw_shared_cache_size): Likewise.
63487 (__x86_64_shared_cache_size_half): Likewise.
63488 (__x86_64_raw_shared_cache_size_half): Likewise.
63489 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
63490 to ...
63491 (__x86_data_cache_size): This.
63492 (__x86_64_raw_data_cache_size): Renamed to ...
63493 (__x86_raw_data_cache_size): This.
63494 (__x86_64_data_cache_size_half): Renamed to ...
63495 (__x86_data_cache_size_half): This.
63496 (__x86_64_raw_data_cache_size_half): Renamed to ...
63497 (__x86_raw_data_cache_size_half): This.
63498 (__x86_64_shared_cache_size): Renamed to ...
63499 (__x86_shared_cache_size): This.
63500 (__x86_64_raw_shared_cache_size): Renamed to ...
63501 (__x86_raw_shared_cache_size): This.
63502 (__x86_64_shared_cache_size_half): Renamed to ...
63503 (__x86_shared_cache_size_half): This.
63504 (__x86_64_raw_shared_cache_size_half): Renamed to ...
63505 (__x86_raw_shared_cache_size_half): This.
63506 * sysdeps/x86_64/memcpy.S: Updated.
63507 * sysdeps/x86_64/memset.S: Likewise.
63508 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63509 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63511
63512 2013-01-04 David S. Miller <davem@davemloft.net>
63513
63514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63515
63516 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
63517
63518 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
63519 1 to avoid redefinition warning.
63520 (__USE_GNU): Don't define.
63521 (init_signaling_nan): Protoize.
63522
63523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63524
63525 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
63526
63527 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
63528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
63529 (__cpymn): Likewise.
63530 (norm): Remove commented code.
63531 (denorm): Likewise.
63532 (__mp_dbl): Likewise.
63533 (__inv): Likewise.
63534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
63535 (__cpymn): Likewise.
63536 (norm): Remove commented code.
63537 (denorm): Likewise.
63538 (__mp_dbl): Likewise.
63539 (__inv): Likewise.
63540
63541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
63542 mp_no value for 1.0 and 2.0.
63543 (norm): Use RADIXI instead of radixi.d.
63544 (denorm): Likewise.
63545 (__mul): Use 0.0 instead of zero.d.
63546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
63547 mp_no value for 1.0 and 2.0.
63548 (norm): Use RADIXI instead of radixi.d.
63549 (denorm): Likewise.
63550 (__mul): Use 0.0 instead of zero.d.
63551
63552 2013-01-04 Joseph Myers <joseph@codesourcery.com>
63553
63554 [BZ #14994]
63555 * math/s_casinh.c (__casinh): Reduce finite argument to first
63556 quadrant then set signs of results at the end.
63557 * math/s_casinhf.c (__casinhf): Likewise.
63558 * math/s_casinhl.c (__casinhl): Likewise.
63559 * math/libm-test.inc (casin_test): Add more tests.
63560 (casinh_test): Likewise.
63561 * sysdeps/i386/fpu/libm-test-ulps: Update.
63562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63563
63564 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
63565
63566 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
63567
63568 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
63569
63570 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
63571 declarations.
63572 (denorm): Likewise.
63573 (__mp_dbl): Likewise.
63574 (__inv): Likewise.
63575
63576 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
63577 and adjust the header comment.
63578
63579 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
63580 variable name from declaration.
63581
63582 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
63583
63584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63585 Initialize COMMON_CPUID_INDEX_7 element.
63586 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
63587 (CPUID_RTM): Likewise.
63588 (HAS_RTM): Likewise.
63589 (COMMON_CPUID_INDEX_7): New enum.
63590
63591 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
63592
63593 [BZ #14981]
63594 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
63595 size is zero, record memory as freed.
63596
63597 2013-01-03 Andreas Jaeger <aj@suse.de>
63598
63599 * po/ia.po: Add new Interlingua translation.
63600
63601 2012-01-03 Allan McRae <allan@archlinux.org>
63602
63603 * locale/programs/localedef.c: Fix description of '--posix' flag.
63604
63605 2013-01-02 Joseph Myers <joseph@codesourcery.com>
63606
63607 * NEWS: Update dates in second copyright notice.
63608 * README: Update copyright dates in example.
63609 * manual/libc.texinfo: Update copyright dates.
63610 * scripts/test-installation.pl: Update copyright date in --version
63611 output.
63612
63613 * hurd/ctty-input.c: Fix copyright notice formatting.
63614 * hurd/ctty-output.c: Likewise.
63615 * hurd/dtable.c: Likewise.
63616 * hurd/hurd-raise.c: Likewise.
63617 * hurd/hurdprio.c: Likewise.
63618 * hurd/msgportdemux.c: Likewise.
63619 * misc/sys/file.h: Likewise.
63620 * misc/sys/ioctl.h: Likewise.
63621 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
63622 * sysdeps/mach/hurd/chdir.c: Likewise.
63623 * sysdeps/mach/hurd/fchdir.c: Likewise.
63624 * sysdeps/mach/hurd/rename.c: Likewise.
63625 * sysdeps/mach/hurd/rmdir.c: Likewise.
63626 * sysdeps/mach/hurd/seekdir.c: Likewise.
63627 * sysdeps/mach/hurd/setsid.c: Likewise.
63628 * sysdeps/posix/wait3.c: Likewise.
63629
63630 * All files with FSF copyright notices: Update copyright dates
63631 using scripts/update-copyrights.
63632 * intl/plural.c: Regenerated.
63633 * locale/programs/charmap-kw.h: Likewise.
63634 * locale/programs/locfile-kw.h: Likewise.
63635
63636 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
63637
63638 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
63639 four values.
63640
63641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
63642 calculation loop and add branch prediction.
63643
63644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
63645 check access beyond bounds of m1np.
63646
63647 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63648 MPTWO.
63649 (__inv): Remove local variable MPTWO to use the global
63650 constant.
63651 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
63652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63653 variable MPTWO.
63654 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
63655 MP3HALFS static const.
63656
63657 2013-01-01 David S. Miller <davem@davemloft.net>
63658
63659 * po/ca.po: Update from translation team.
63660
63661 2013-01-01 Joseph Myers <joseph@codesourcery.com>
63662
63663 * scripts/update-copyrights: New file.
63664 * Makeconfig: Reformat copyright notice.
63665 * ctype/ctype.h: Likewise.
63666 * debug/swprintf_chk.c: Likewise.
63667 * elf/dl-cache.c: Likewise.
63668 * elf/dl-debug.c: Likewise.
63669 * elf/dl-object.c: Likewise.
63670 * grp/initgroups.c: Likewise.
63671 * hurd/Makefile: Likewise.
63672 * hurd/hurd/signal.h: Likewise.
63673 * hurd/hurdfault.c: Likewise.
63674 * hurd/hurdioctl.c: Likewise.
63675 * hurd/hurdlookup.c: Likewise.
63676 * hurd/intr-msg.c: Likewise.
63677 * iconv/gconv_open.c: Likewise.
63678 * libio/swprintf.c: Likewise.
63679 * locale/lc-ctype.c: Likewise.
63680 * locale/nl_langinfo.c: Likewise.
63681 * mach/Machrules: Likewise.
63682 * mach/Makefile: Likewise.
63683 * malloc/obstack.h: Likewise.
63684 * manual/Makefile: Likewise.
63685 * manual/tsort.awk: Likewise.
63686 * misc/bits/stab.def: Likewise.
63687 * nis/nis_print_group_entry.c: Likewise.
63688 * nis/nis_table.c: Likewise.
63689 * nis/nss_compat/compat-pwd.c: Likewise.
63690 * nis/nss_compat/compat-spwd.c: Likewise.
63691 * po/Makefile: Likewise.
63692 * posix/fnmatch.c: Likewise.
63693 * posix/regex.h: Likewise.
63694 * resolv/Makefile: Likewise.
63695 * resolv/nss_dns/dns-network.c: Likewise.
63696 * resolv/res_hconf.c: Likewise.
63697 * scripts/gen-sorted.awk: Likewise.
63698 * soft-fp/soft-fp.h: Likewise.
63699 * stdio-common/printf.h: Likewise.
63700 * stdlib/monetary.h: Likewise.
63701 * stdlib/random.c: Likewise.
63702 * stdlib/random_r.c: Likewise.
63703 * sysdeps/generic/Makefile: Likewise.
63704 * sysdeps/gnu/Makefile: Likewise.
63705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63715 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63717 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63718 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63719 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
63720 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63721 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63725 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63726 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63727 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63728 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63729 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
63730 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63731 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63732 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
63733 * sysdeps/mach/hurd/errnos.awk: Likewise.
63734 * sysdeps/mach/hurd/fork.c: Likewise.
63735 * sysdeps/mach/hurd/getcwd.c: Likewise.
63736 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
63737 * sysdeps/mach/hurd/mmap.c: Likewise.
63738 * sysdeps/mach/hurd/utimes.c: Likewise.
63739 * sysdeps/mach/hurd/xmknod.c: Likewise.
63740 * sysdeps/posix/profil.c: Likewise.
63741 * sysdeps/posix/readdir_r.c: Likewise.
63742 * sysdeps/powerpc/bits/mathdef.h: Likewise.
63743 * sysdeps/powerpc/bits/setjmp.h: Likewise.
63744 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
63745 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63747 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63748 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63749 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63751 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63752 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63753 * sysdeps/pthread/lio_listio.c: Likewise.
63754 * sysdeps/sparc/dl-procinfo.h: Likewise.
63755 * sysdeps/unix/i386/sysdep.S: Likewise.
63756 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
63757 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
63758 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
63759 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
63760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63761 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
63762 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
63763 * sysdeps/unix/sysv/linux/speed.c: Likewise.
63764 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
63765 * sysdeps/wordsize-32/divdi3.c: Likewise.
63766 * time/sys/time.h: Likewise.
63767 * wcsmbs/Makefile: Likewise.
63768
63769 2013-01-01 David S. Miller <davem@davemloft.net>
63770
63771 * po/fr.po: Update from translation team.
63772
63773 * catgets/gencat.c: Update copyright year.
63774 * csu/version.c: Likewise.
63775 * debug/catchsegv.sh: Likewise.
63776 * debug/pcprofiledump.c: Likewise.
63777 * debug/xtrace.sh: Likewise.
63778 * elf/ldconfig.c: Likewise.
63779 * elf/ldd.bash.in: Likewise.
63780 * elf/pldd.c: Likewise.
63781 * elf/sotruss.ksh: Likewise.
63782 * elf/sprof.c: Likewise.
63783 * iconv/iconv_prog.c: Likewise.
63784 * iconv/iconvconfig.c: Likewise.
63785 * locale/programs/locale.c: Likewise.
63786 * locale/programs/localedef.c: Likewise.
63787 * login/programs/pt_chown.c: Likewise.
63788 * malloc/memusage.sh: Likewise.
63789 * malloc/memusagestat.c: Likewise.
63790 * malloc/mtrace.pl: Likewise.
63791 * nscd/nscd.c: Likewise.
63792 * nss/getent.c: Likewise.
63793 * nss/makedb.c: Likewise.
63794 * posix/getconf.c: Likewise.
63795
63796 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
63797
63798 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
63799 numbers.
63800
63801 2012-12-30 Mike Frysinger <vapier@gentoo.org>
63802
63803 * math/bits/mathcalls.h (modf): Use __nonnull.
63804
63805 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
63806
63807 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
63808 (split): Use macro CN instead of the bare value.
63809 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
63810 could be used.
63811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
63812 instead of the bare value.
63813 (power1): Likewise.
63814
63815 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63816
63817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
63818 __ATAN_TWOM.
63819 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63820
63821 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
63822 their values.
63823 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63825 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
63826 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63827
63828 2012-12-28 Andreas Jaeger <aj@suse.de>
63829
63830 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
63831 values are from Linux 3.7.
63832
63833 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
63834 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
63835
63836 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63837
63838 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
63839 TRUE case.
63840
63841 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
63842 (norm): Likewise.
63843 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
63844 variables with preprocessor constants.
63845 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63846 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63847 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63848
63849 2012-12-27 Bruno Haible <bruno@clisp.org>
63850
63851 [BZ #14317]
63852 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
63853 only if needed.
63854
63855 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
63856
63857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
63858 and use variable directly.
63859 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
63860
63861 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63862 MPONE.
63863 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
63864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63865 variable MPONE.
63866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63868 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
63869 include directive. Remove local variable MPONE.
63870 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
63871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
63872 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63873
63874 2012-12-25 David S. Miller <davem@davemloft.net>
63875
63876 * version.h (RELEASE): Set to "development".
63877 (VERSION): Set to "2.17.90".
63878 * NEWS: Add 2.18 section.
63879
63880 2012-12-21 David S. Miller <davem@davemloft.net>
63881
63882 * po/hr.po: Update from translation team.
63883
63884 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63885
63886 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
63887
63888 2012-12-19 Steve Ellcey <sellcey@mips.com>
63889
63890 * NEWS: Mention new memcpy for MIPS.
63891
63892 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63893
63894 * manual/contrib.texi (Contributors): Spelling correction.
63895
63896 2012-12-15 David S. Miller <davem@davemloft.net>
63897
63898 * po/ru.po: Update from translation team.
63899
63900 2012-12-13 David S. Miller <davem@davemloft.net>
63901
63902 * NEWS: Mention IFUNC testsuite enhancements.
63903
63904 * po/pl.po: Update from translation team.
63905 * po/bg.po: Likewise.
63906
63907 * manual/contrib.texi (Contributors): Update entries for Hongjiu
63908 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
63909
63910 2012-12-11 David S. Miller <davem@davemloft.net>
63911
63912 * po/sv.po: Update from translation team.
63913
63914 * po/vi.po: Update from translation team.
63915
63916 * po/cs.po: Update from translation team.
63917
63918 * po/de.po: Update from translation team.
63919 * po/eo.po: Likewise.
63920 * po/nl.po: Likewise.
63921
63922 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63923
63924 [BZ #14246]
63925 * manual/argp.texi (Argp Helper Functions): Move node to follow
63926 Argp Parsing State.
63927
63928 [BZ #14872]
63929 * manual/conf.texi (Limits on File System Capacity): Mention if
63930 terminating null is included in the max size.
63931
63932 2012-12-10 Andreas Jaeger <aj@suse.de>
63933
63934 * po/cs.po: Update from translation team.
63935
63936 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
63937
63938 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
63939 void pointer and cast to uintptr_t.
63940 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
63941 path.
63942 * sysdeps/s390/s390-64/memcpy.S: Likewise.
63943 * sysdeps/s390/s390-64/memset.S: Likewise.
63944
63945 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
63946
63947 [BZ #14833]
63948 * menual/message.texi (Message Translation): Fix typos.
63949 (Helper programs for gettext): Likewise.
63950
63951 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
63952
63953 [BZ #14898]
63954 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
63955 Change to -1.
63956
63957 2012-12-07 David S. Miller <davem@davemloft.net>
63958
63959 * po/libc.pot: Update.
63960
63961 2012-12-07 Richard Henderson <rth@redhat.com>
63962
63963 [BZ #10114]
63964 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
63965 normal/normal case to before the switch.
63966 (_FP_DIV): Likewise.
63967
63968 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
63969 Mike Frysinger <vapier@gentoo.org>
63970
63971 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
63972 check for __NR_fadvise64_64.
63973
63974 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
63975
63976 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
63977 0, not just to plain "0" as a statement.
63978 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
63979 with cw.
63980
63981 2012-12-06 Joseph Myers <joseph@codesourcery.com>
63982
63983 * NEWS: Use sourceware.org in Bugzilla URL.
63984
63985 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
63986
63987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
63988 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63989
63990 * stdio-common/tst-put-error.c (do_test): Add newline to the
63991 padded test to ensure flush.
63992
63993 2012-12-05 Jeff Law <law@redhat.com>
63994
63995 * sunrpc/etc.rpc (fedfs_admin): Add entry.
63996
63997 2012-12-05 Joseph Myers <joseph@codesourcery.com>
63998
63999 * README: Don't refer to ports add-on as distributed separately.
64000 Mention AArch64 in list of systems supported in the ports add-on.
64001
64002 * LICENSES: Add more non-FSF copyright and license notices.
64003
64004 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64005 ((unused)).
64006
64007 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64008
64009 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64010 10000 as width of padded output.
64011
64012 2012-12-04 Joseph Myers <joseph@codesourcery.com>
64013
64014 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64015
64016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64017 variable LX with __attribute__ ((unused)).
64018 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64019 Likewise.
64020 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64023 with __attribute__ ((unused)).
64024
64025 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
64026
64027 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64028
64029 2012-12-04 Joseph Myers <joseph@codesourcery.com>
64030
64031 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64032 (CFLAGS-nldbl-acos.c): New variable.
64033 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64034 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64035 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64036 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64037 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64038 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64039 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64040 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64041 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64042 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64043 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64044 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64045 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64046 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64047 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64048 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64049 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64050 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64051 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64052 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64053 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64054 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64055 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64056 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64057 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64058 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64059 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64060 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64061 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64062 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64063 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64064 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64065 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64066 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64067 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64068 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64069 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64070 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64071 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64072 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64073 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64074 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64075 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64076 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64077 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64078 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64079 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64080 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64081 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64082 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64083 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64084 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64085 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64086 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64087 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64088 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64089 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64090 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64091 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64092 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64093 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64094 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64095 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64096 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64097 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64098 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64099 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64100 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64101 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64102 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64103 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64104 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64105 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64106 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64107 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64108 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64109 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64110 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64111 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64112 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64113 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64114 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64115 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64116 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64117 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64118 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64119 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64120 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64121 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64122 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64123 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64124 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64125 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64126 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64127 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64128 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64129 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64130
64131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64132 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64133
64134 [BZ #14914]
64135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64136 whole low double instead of just low 47 bits when splitting values
64137 into two parts.
64138
64139 2012-12-03 Allan McRae <allan@archlinux.org>
64140
64141 * manual/stdio.texi (Predefined Printf Handlers): Remove
64142 @hsep and @vsep usage.
64143
64144 2012-12-03 Mike Frysinger <vapier@gentoo.org>
64145
64146 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64147 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64148
64149 2012-12-03 Jeff Law <law@redhat.com>
64150
64151 * time/sys/time.h (settimeofday): Do not mark TV argument
64152 as __nonnull.
64153
64154 2012-12-01 Mike Frysinger <vapier@gentoo.org>
64155
64156 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64157 when currently writing and seek to current position when not.
64158 * libio/Makefile (tests): Remove bug-fclose1.
64159 * libio/bug-fclose1.c: Delete.
64160
64161 2012-12-01 Joseph Myers <joseph@codesourcery.com>
64162
64163 * manual/arith.texi (feenableexcept): Fix typo.
64164 (fedisableexcept): Likewise.
64165
64166 2012-11-30 Roland McGrath <roland@hack.frob.com>
64167
64168 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64169 second, differently-typed declaration, rather than a cast.
64170
64171 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
64172
64173 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64174 * include/rpc/svc.h: ... here.
64175
64176 2012-11-30 Aurelien Jarno <aurel32@debian.org>
64177
64178 [BZ #13013]
64179 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64180 depending n and resplen2 to catch cases where answer
64181 equals answerp2.
64182
64183 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
64184
64185 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64186 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64187
64188 2012-11-29 Mike Frysinger <vapier@gentoo.org>
64189
64190 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64191
64192 2012-11-29 Roland McGrath <roland@hack.frob.com>
64193
64194 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64195
64196 2012-11-28 Jeff Law <law@redhat.com>
64197
64198 [BZ #13761]
64199 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64200 dataset_temporary. Track alloca usage into alloca_used.
64201 If dataset is large allocate and release it via malloc/free.
64202
64203 2012-06-04 Florian Weimer <fweimer@redhat.com>
64204
64205 [BZ #14197]
64206 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64207
64208 2012-11-28 David S. Miller <davem@davemloft.net>
64209
64210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64211
64212 2012-11-28 Joseph Myers <joseph@codesourcery.com>
64213
64214 [BZ #14803]
64215 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64216 of pi/2 rounded to nearest to 64 bits.
64217 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64218 nearest to 64 bits.
64219 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64220 bits.
64221
64222 2012-11-28 Jeff Law <law@redhat.com>
64223 Martin Osvald <mosvald@redhat.com>
64224
64225 [BZ #14889]
64226 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64227 * sunrpc/svc.c: Include time.h.
64228 (__svc_accept_failed): New function.
64229 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64230 any reason other than EINTR, call __svc_accept_failed.
64231 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64232 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64233
64234 2012-11-28 Andreas Schwab <schwab@suse.de>
64235
64236 * scripts/abilist.awk: Also handle indirect functions in .opd
64237 section.
64238
64239 2012-11-28 Joseph Myers <joseph@codesourcery.com>
64240
64241 [BZ #13881]
64242 * sysdeps/x86/fpu/powl_helper.c: New file.
64243 * sysdeps/x86/fpu/Makefile: Likewise.
64244 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64245 (p3): New object.
64246 (__ieee754_powl): Use __powl_helper for finite arguments except
64247 integer exponents below 8.
64248 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64249 (p3): New object.
64250 (__ieee754_powl): Use __powl_helper for finite arguments except
64251 integer exponents below 8.
64252 * math/libm-test.inc (pow_test): Add more tests and enable some
64253 previously disabled tests.
64254 * sysdeps/i386/fpu/libm-test-ulps: Update.
64255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64256
64257 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64258 Carlos O'Donell <carlos_odonell@mentor.com>
64259
64260 * nss/makedb.c (is_prime): Assert that input is odd and greater
64261 than 4. Note that fact in a comment too.
64262 (next_prime): Add 4 to input.
64263
64264 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
64265
64266 [BZ #11741]
64267 * libio/Makefile (tests): Add test case tst-fwrite-error.
64268 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64269 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64270 * libio/tst-fwrite-error.c: New test case.
64271
64272 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
64273
64274 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64275 before casting to void *.
64276 * include/libc-internal.h (__pointer_type): New macro.
64277 (__integer_if_pointer_type_sub): Likewise.
64278 (__integer_if_pointer_type): Likewise.
64279 (cast_to_integer): Likewise.
64280 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64281 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64282 before casting to atomic64_t.
64283 (atomic_exchange_acq): Likewise.
64284 (__arch_exchange_and_add_body): Likewise.
64285 (__arch_add_body): Likewise.
64286 (atomic_add_negative): Likewise.
64287 (atomic_add_zero): Likewise.
64288
64289 2012-11-26 Joseph Myers <joseph@codesourcery.com>
64290
64291 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64292 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64293 (add_fdes): Likewise.
64294 (linear_search_fdes): Likewise.
64295 (binary_search_unencoded_fdes): Likewise.
64296
64297 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
64298
64299 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64300
64301 2012-11-24 Adam Conrad <adconrad@0c3.net>
64302
64303 * configure.in: Autodetect C++ header directories.
64304 * configure: Regenerated.
64305
64306 2012-11-23 Mike Frysinger <vapier@gentoo.org>
64307
64308 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64309
64310 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
64311
64312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64313
64314 2012-11-22 Joseph Myers <joseph@codesourcery.com>
64315
64316 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64317 LDBL_MANT_DIG == 106]: Disable some tests.
64318 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64319 Likewise.
64320 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64321 Likewise.
64322
64323 [BZ #14871]
64324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64325 input for small inputs. Return +/- pi/2 for large inputs.
64326 * math/libm-test.inc (atan_test): Add more tests.
64327
64328 * sysdeps/generic/unwind-dw2-fde-glibc.c
64329 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64330 __attribute__ ((unused)).
64331
64332 [BZ #14645]
64333 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64334 x * y if x and y are nonzero and z is zero.
64335
64336 [BZ #14811]
64337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64338 nonzero exponents with absolute value below 0x1p-117 to +/-
64339 0x1p-117.
64340
64341 [BZ #14869]
64342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64343 up arguments below 2**-450, not just those below 2**-500.
64344 * math/libm-test.inc (hypot_test): Add another test.
64345
64346 [BZ #14868]
64347 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64348 Return a+b for ratio over 2**120, not 2**60.
64349 * math/libm-test.inc (hypot_test): Add another test.
64350
64351 * math/libm-test.inc (clog_test): Use
64352 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64353 (clog10_test): Likewise.
64354
64355 [BZ #6778]
64356 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64357
64358 2012-11-22 Andreas Schwab <schwab@suse.de>
64359
64360 * sysdeps/i386/fpu/libm-test-ulps: Update.
64361
64362 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
64363
64364 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64365 printf output with newline.
64366
64367 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
64368
64369 [BZ #14865]
64370 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64371 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64372 -z nodlopen, -z initfirst and -z execstack support.
64373 * configure: Regenerated.
64374
64375 * elf/elf.h (DF_1_NODIRECT): New macro.
64376 (DF_1_IGNMULDEF): Likewise.
64377 (DF_1_NOKSYMS): Likewise.
64378 (DF_1_NOHDR): Likewise.
64379 (DF_1_EDITED): Likewise.
64380 (DF_1_NORELOC): Likewise.
64381 (DF_1_SYMINTPOSE): Likewise.
64382 (DF_1_GLOBAUDIT): Likewise.
64383 (DF_1_SINGLETON): Likewise.
64384 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
64385 DT_1_SUPPORTED_MASK bits.
64386 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
64387
64388 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
64389
64390 * sysdeps/unix/make-syscalls.sh: Document prefixes.
64391
64392 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
64393
64394 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
64395 macro.
64396
64397 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
64398 (sendmmsg): Move declarations...
64399 * socket/sys/socket.h: ... here.
64400 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
64401 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
64402 include it from...
64403 * socket/recvmmsg.c: ... this new file.
64404 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
64405 (sendmmsg): Rename to __sendmmsg, create weak alias and make
64406 definition of __sendmmsg hidden.
64407 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
64408 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
64409 Move ENOSYS stub into and include it from...
64410 * socket/sendmmsg.c: ... this new file.
64411 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
64412 (sysdep_routines): Move recvmmsg and sendmmsg...
64413 * socket/Makefile (routines): ... here.
64414 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
64415 (GLIBC_PRIVATE): Add __sendmmsg.
64416 * include/sys/socket.h (__sendmmsg): Add declarations.
64417 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
64418 sendmmsg.
64419
64420 2012-11-20 Joseph Myers <joseph@codesourcery.com>
64421
64422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
64423 variable I1 with __attribute__ ((unused)).
64424 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64425
64426 2012-11-19 Joseph Myers <joseph@codesourcery.com>
64427
64428 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
64429 DUMMY variables with __attribute__ ((unused)).
64430
64431 * bits/byteswap.h: Include <bits/types.h>.
64432 (__bswap_64): Use __uint64_t instead of unsigned long long int.
64433
64434 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
64435
64436 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
64437 string_t. Do not manually set errno.
64438 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
64439 length with __strnlen. Make sure to both set errno and return it on
64440 failure.
64441
64442 2012-11-19 David S. Miller <davem@davemloft.net>
64443
64444 With help from Joseph Myers.
64445 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
64446 very large arguments properly.
64447 * math/libm-test.inc (atan_test): New tests.
64448 (atan2_test): New tests.
64449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64451
64452 2012-11-19 Joseph Myers <joseph@codesourcery.com>
64453
64454 [BZ #14856]
64455 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
64456 Define to 3.
64457
64458 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
64459 [POSIX] (EADDRNOTAVAIL): Likewise.
64460 [POSIX] (EAFNOSUPPORT): Likewise.
64461 [POSIX] (EALREADY): Likewise.
64462 [POSIX] (ECONNABORTED): Likewise.
64463 [POSIX] (ECONNREFUSED): Likewise.
64464 [POSIX] (ECONNRESET): Likewise.
64465 [POSIX] (EDESTADDRREQ): Likewise.
64466 [POSIX] (EDQUOT): Likewise.
64467 [POSIX] (EHOSTUNREACH): Likewise.
64468 [POSIX] (EIDRM): Likewise.
64469 [POSIX] (EISCONN): Likewise.
64470 [POSIX] (ELOOP): Likewise.
64471 [POSIX] (EMULTIHOP): Likewise.
64472 [POSIX] (ENETDOWN): Likewise.
64473 [POSIX] (ENETUNREACH): Likewise.
64474 [POSIX] (ENOBUFS): Likewise.
64475 [POSIX] (ENODATA): Likewise.
64476 [POSIX] (ENOLINK): Likewise.
64477 [POSIX] (ENOMSG): Likewise.
64478 [POSIX] (ENOPROTOOPT): Likewise.
64479 [POSIX] (ENOSR): Likewise.
64480 [POSIX] (ENOSTR): Likewise.
64481 [POSIX] (ENOTCONN): Likewise.
64482 [POSIX] (ENOTSOCK): Likewise.
64483 [POSIX] (EOPNOTSUPP): Likewise.
64484 [POSIX] (EOVERFLOW): Likewise.
64485 [POSIX] (EPROTO): Likewise.
64486 [POSIX] (EPROTONOSUPPORT): Likewise.
64487 [POSIX] (EPROTOTYPE): Likewise.
64488 [POSIX] (ESTALE): Likewise.
64489 [POSIX] (ETIME): Likewise.
64490 [POSIX] (ETXTBSY): Likewise.
64491 [POSIX] (EWOULDBLOCK): Likewise.
64492 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
64493 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
64494 [POSIX] (SEEK_CUR): Likewise.
64495 [POSIX] (SEEK_END): Likewise.
64496 [POSIX || UNIX98] (mode_t): Do not require.
64497 [POSIX] (off_t): Likewise.
64498 [POSIX] (pid_t): Likewise.
64499 [POSIX] (sys/stat.h): Do not allow header.
64500 [POSIX] (unistd.h): Likewise.
64501 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
64502 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
64503 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
64504 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
64505 require.
64506 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
64507 sigevent): Specify elements.
64508 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
64509 entry.
64510 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
64511 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
64512
64513 * conform/data/cpio.h-data [POSIX]: Disable whole file.
64514 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
64515 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
64516 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
64517 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
64518 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
64519 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
64520 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
64521 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
64522 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
64523 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
64524 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
64525 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
64526 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
64527 Likewise.
64528 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
64529 Likewise.
64530 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
64531 Likewise.
64532 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
64533 Likewise.
64534 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
64535 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
64536 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
64537 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
64538 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
64539 Specify lower bound on value.
64540 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
64541 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
64542 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
64543 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
64544 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
64545 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
64546 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
64547 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
64548 value.
64549 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
64550 as optional.
64551 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
64552 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
64553 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
64554 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
64555 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
64556 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
64557 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
64558 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
64559 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
64560 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
64561 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
64562 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
64563 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
64564 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
64565 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
64566 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
64567 entry.
64568 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
64569 optional.
64570 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
64571 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
64572 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
64573 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
64574 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
64575 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
64576 Likewise.
64577 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
64578 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
64579 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
64580 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
64581 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
64582 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
64583 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
64584 as optional.
64585 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
64586 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
64587 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
64588 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
64589 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
64590 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
64591 specify as optional.
64592 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
64593 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
64594 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
64595 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
64596 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
64597 [XPG3] (NL_LANGMAX): Likewise.
64598 [POSIX || XPG3] (NL_MSGMAX): Likewise.
64599 [POSIX || XPG3] (NL_NMAX): Likewise.
64600 [POSIX || XPG3] (NL_SETMAX): Likewise.
64601 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
64602 [XPG3] (NZERO): Likewise.
64603 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
64604 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
64605 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
64606 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
64607 (REG_ERANGE): Expect.
64608 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
64609 optional-constant.
64610 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
64611 Use (void) in prototype.
64612 [POSIX] (*_t): Allow.
64613 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
64614 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
64615 (WRDE_BADVAL): Expect.
64616
64617 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
64618 expect.
64619 [XPG3 || XPG4] (O_RSYNC): Likewise.
64620 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
64621 Likewise.
64622 [XPG3 || XPG4] (pthread_sigmask): Likewise.
64623 [XPG3 || XPG4] (sigqueue): Likewise.
64624 [XPG3 || XPG4] (sigtimedwait): Likewise.
64625 [XPG3 || XPG4] (sigwaitinfo): Likewise.
64626 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
64627 [XPG3 || XPG4] (vsnprintf): Likewise.
64628 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
64629 Likewise.
64630 [XPG3 || XPG4] (blksize_t): Likewise.
64631 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
64632 Likewise.
64633 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
64634 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
64635 [XPG3 || XPG4] (struct itimerspec): Likewise.
64636 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
64637 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
64638 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
64639 [XPG3 || XPG4] (clockid_t): Likewise.
64640 [XPG3 || XPG4] (timer_t): Likewise.
64641 [XPG3 || XPG4] (clock_getres): Likewise.
64642 [XPG3 || XPG4] (clock_gettime): Likewise.
64643 [XPG3 || XPG4] (clock_settime): Likewise.
64644 [XPG3 || XPG4] (nanosleep): Likewise.
64645 [XPG3 || XPG4] (timer_create): Likewise.
64646 [XPG3 || XPG4] (timer_delete): Likewise.
64647 [XPG3 || XPG4] (timer_gettime): Likewise.
64648 [XPG3 || XPG4] (timer_getoverrun): Likewise.
64649 [XPG3 || XPG4] (timer_settime): Likewise.
64650 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
64651 [XPG3 || XPG4] (getlogin_r): Likewise.
64652 [XPG3 || XPG4] (pread): Likewise.
64653 [XPG3 || XPG4] (pthread_atfork): Likewise.
64654 [XPG3 || XPG4] (pwrite): Likewise.
64655
64656 [BZ #14835]
64657 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
64658 <bits/siginfo.h>.
64659
64660 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
64661
64662 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
64663 finalizing MALLSTREAM.
64664
64665 * sysdeps/mach/hurd/syncfs.c: New file.
64666
64667 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
64668
64669 [BZ #14719]
64670 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
64671 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
64672 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
64673 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
64674 (_nss_dns_gethostbyname4_r): Likewise.
64675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
64676 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
64677
64678 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
64679
64680 [BZ #13763]
64681 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
64682
64683 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
64684
64685 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
64686 * elf/cache.c (print_entry): Print ",AArch64" for
64687 FLAG_AARCH64_LIB64
64688
64689 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
64690 * elf/cache.c (print_entry): Print ",hard-float" for
64691 FLAG_ARM_LIBHF.
64692
64693 2012-11-18 David S. Miller <davem@davemloft.net>
64694
64695 With help from Joseph Myers.
64696 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
64697 cutoff to 2**-13.
64698 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
64699 cutoff to 2**-25.
64700 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
64701 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
64702 small.
64703 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
64704 * math/libm-test.inc (y0_test): New tests.
64705 (y1_test): New tests.
64706 * sysdeps/i386/fpu/libm-test-ulps: Update.
64707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64709
64710 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
64711
64712 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
64713 64-bit targets.
64714 * configure: Regenerated.
64715
64716 2012-11-17 David S. Miller <davem@davemloft.net>
64717
64718 [BZ #14811]
64719 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
64720 nonzero exponents with absolute value below 0x1p-128 to +/-
64721 0x1p-128.
64722
64723 2012-11-17 Joseph Myers <joseph@codesourcery.com>
64724
64725 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
64726
64727 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
64728
64729 * posix/getconf-speclist.c: New file.
64730 * posix/posix-envs.def: Likewise.
64731 * posix/confstr.c (START_ENV_GROUP): New macro.
64732 (END_ENV_GROUP): Likewise.
64733 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64734 (KNOWN_PRESENT_ENV_STRING): Likewise.
64735 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64736 (UNKNOWN_ENVIRONMENT): Likewise.
64737 (confstr): Include posix-envs.def instead of handling
64738 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
64739 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
64740 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
64741 (END_ENV_GROUP): Likewise.
64742 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64743 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64744 (UNKNOWN_ENVIRONMENT): Likewise.
64745 (__sysconf): Include posix-envs.def instead of handling associated
64746 cases directly here.
64747 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
64748 preprocessing getconf-speclist.c rather than running getconf or
64749 generating empty file.
64750
64751 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
64752
64753 * scripts/check-local-headers.sh: Ignore 'mach' headers.
64754
64755 2012-11-16 Andrej Lajovic <natrij@gmail.com>
64756
64757 [BZ #14672]
64758 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
64759
64760 2012-11-16 David S. Miller <davem@davemloft.net>
64761
64762 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
64763 smaller than LDBL_EPSILON/2.0L, just return xm1.
64764
64765 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
64766
64767 * elf/tst-array1.c (init): Set constructor priority to 1000.
64768 (fini): Set destructor priority to 1000.
64769 * elf/tst-array2dep.c: Likewise.
64770
64771 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
64772
64773 [BZ #11741]
64774 * libio/fileops.c (_IO_new_file_write): Correctly return error.
64775 (_IO_new_file_xsputn): Also return EOF if none of the input
64776 data was written when overflow failed.
64777 * libio/iopadn.c (_IO_padn): Likewise.
64778 * libio/iowpadn.c (_IO_wpadn): Likewise.
64779 * stdio-common/tst-put-error.c: Add copyright notice.
64780 (do_test): Add case for printing padded string.
64781 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
64782 _IO_padn returned error.
64783 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
64784 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
64785 return EOF.
64786
64787 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
64788
64789 * libio/libioP.h: Add comment note that the references to C++
64790 bits are now obsolete.
64791
64792 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64793
64794 * math/libm-test.inc (check_complex): Use asprintf.
64795
64796 2012-11-14 Joseph Myers <joseph@codesourcery.com>
64797
64798 * debug/pcprofiledump.c (print_version): Update copyright year.
64799 * malloc/memusagestat.c (print_version): Likewise.
64800
64801 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
64802
64803 [BZ #14831]
64804 * elf/Makefile (tests): Add tst-audit8.
64805 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
64806 ($(objpfx)tst-audit8.out): New target.
64807 (tst-audit8-ENV): New variable.
64808 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
64809 audit if l_reloc_result is NULL.
64810 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
64811 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
64812 * elf/tst-audit8.c: New file.
64813
64814 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64815
64816 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
64817 * misc/Makefile (CFLAGS-select.c): Define.
64818 * posix/Makefile (CFLAGS-pause.c): Define.
64819
64820 2012-11-13 David S. Miller <davem@davemloft.net>
64821
64822 * crypt/Makefile: Move test targets after toplevel Rules
64823 inclusion. Grab any necessary sysdep routines when linking.
64824 * crypt/md5.c (md5_process_block): Remove define, we will always
64825 name it __md5_process_block.
64826 (md5_finish_ctx): Update md5_process_block call.
64827 (md5_stream): Likewise.
64828 (md5_process_bytes): Likewise.
64829 (md5_process_block): Rename to __md5_process_block and move to ...
64830 * crypt/md5-block.c: ... here.
64831 * crypt/sha256.c (sha256_process_block): Move to ...
64832 * crypt/sha256-block.c: ... here.
64833 * crypt/sha512.c (sha512_process_block): Move to ...
64834 * crypt/sha512-block.c: ... here.
64835 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
64836 path.
64837 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
64838 * sysdeps/sparc/sparc64/multiarch/Makefile
64839 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
64840 crypt subdir.
64841 (localedef-aux): Add md5 crypto assembler when in locale subdir.
64842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
64843 multiarch changes.
64844 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
64845 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
64846 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
64847 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
64848 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
64849 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
64850 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
64851 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
64852 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
64853 file.
64854 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
64855 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
64856 file.
64857 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
64858
64859 2012-11-13 Joseph Myers <joseph@codesourcery.com>
64860
64861 * timezone/tzselect.ksh: Update from tzcode git revision
64862 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
64863 * timezone/zdump.c: Likewise.
64864 * timezone/zic.c: Likewise.
64865 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
64866 in TZVERSION setting, not $(PKGVERSION).
64867 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
64868 REPORT_BUGS_TO settings.
64869
64870 [BZ #14838]
64871 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
64872 macro.
64873
64874 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64875
64876 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
64877 detection to immediately after _FP_ROUND().
64878 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
64879 bits are 0.
64880
64881 2012-11-11 David S. Miller <davem@davemloft.net>
64882
64883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
64884 inttypes.h
64885 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
64886 __close rather than their public counterparts.
64887
64888 2012-11-10 Joseph Myers <joseph@codesourcery.com>
64889
64890 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
64891 file.
64892 [UNIX98] (sem_timedwait): Do not expect.
64893 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
64894 [XPG4 || UNIX98] (sockatmark): Do not expect.
64895 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
64896 (clock_getcpuclockid): Do not expect.
64897 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
64898 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
64899 Do not expect.
64900 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
64901 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
64902 [UNIX98] (vwscanf): Likewise.
64903 [UNIX98] (vswscanf): Likewise.
64904
64905 2012-11-09 Joseph Myers <joseph@codesourcery.com>
64906
64907 * timezone/version.h: Remove file.
64908 * timezone/README: Do not refer to version.h.
64909 * timezone/Makefile ($(objpfx)zic.o): New dependency on
64910 $(objpfx)version.h.
64911 ($(objpfx)zdump.o): Likewise.
64912 ($(objpfx)version.h): New target.
64913
64914 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
64915 2012i.
64916 * timezone/README: Don't mention modification to tzselect.ksh.
64917 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
64918 work on unmodified tzselect.ksh. Substitute version numbers in
64919 tzselect.ksh.
64920
64921 * Makefile (format-me): Remove.
64922 (INSTALL): Adjust indentation. Use commands directly instead of
64923 using $(format-me).
64924
64925 * aclocal.m4 (ACX_PKGVERSION): New macro.
64926 (ACX_BUGURL): Likewise.
64927 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
64928 (PKGVERSION): New AC_DEFINE_UNQUOTED.
64929 (REPORT_BUGS_TO): Likewise.
64930 * configure: Regenerated.
64931 * config.h.in (PKGVERSION): New macro.
64932 (REPORT_BUGS_TO): Likewise.
64933 * config.make.in (PKGVERSION): New variable.
64934 (PKGVERSION_TEXI): Likewise.
64935 (REPORT_BUGS_TO): Likewise.
64936 (REPORT_BUGS_TEXI): Likewise.
64937 * Makefile (format-me): Use -I$(common-objpfx)manual.
64938 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
64939 ($(common-objpfx)manual/%): New target.
64940 (manual/%): Remove target.
64941 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
64942 (print_version): Use PKGVERSION.
64943 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64944 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
64945 and REPORT_BUGS_TO.
64946 ($(objpfx)xtrace): Likewise.
64947 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
64948 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
64949 (print_version): Use PKGVERSION.
64950 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
64951 (do_version): Use PKGVERSION.
64952 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
64953 REPORT_BUGS_TO.
64954 (common-ldd-rewrite): Likewise.
64955 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
64956 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
64957 (print_version): Use PKGVERSION.
64958 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
64959 * elf/pldd.c (argp_program_bug_address): Remove variable.
64960 (more_help): New function.
64961 (argp): Use more_help.
64962 (print_version): Use PKGVERSION.
64963 * elf/sln.c (main): Use PKGVERSION.
64964 (usage): Use REPORT_BUGS_TO.
64965 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
64966 (top level): Use PKGVERSION.
64967 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
64968 (print_version): Use PKGVERSION.
64969 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
64970 (print_version): Use PKGVERSION.
64971 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
64972 (print_version): Use PKGVERSION.
64973 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
64974 (print_version): Use PKGVERSION.
64975 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
64976 (print_version): Use PKGVERSION.
64977 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
64978 (print_version): Use PKGVERSION.
64979 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
64980 and BUGURL.
64981 ($(objpfx)memusage): Likewise.
64982 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
64983 (do_version): Use PKGVERSION.
64984 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
64985 (print_version): Use PKGVERSION.
64986 * malloc/mtrace.pl ($PACKAGE): Remove variable.
64987 ($PKGVERSION): New variable.
64988 ($REPORT_BUGS_TO): Likewise.
64989 (usage): Use $REPORT_BUGS_TO.
64990 (top level): Use $PKGVERSION.
64991 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
64992 ($(objpfx)pkgvers.texi): New rule.
64993 ($(objpfx)stamp-pkgvers): Likewise.
64994 * manual/install.texi: Include pkgvers.texi.
64995 (--with-pkgversion): Document new configure option.
64996 (--with-bugurl): Likewise.
64997 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
64998 than necessarily for this particular distribution. Use
64999 REPORT_BUGS_TO for where to report bugs.
65000 * INSTALL: Regenerated.
65001 * manual/libc.texinfo: Include pkgvers.texi.
65002 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65003 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65004 (print_version): Use PKGVERSION.
65005 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65006 (print_version): Use PKGVERSION.
65007 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65008 (print_version): Use PKGVERSION.
65009 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65010 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65011 macro.
65012 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65013 (print_version): Use PKGVERSION.
65014 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65015 (print_version): Use PKGVERSION.
65016 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65017 and PKGVERSION.
65018
65019 * timezone/checktab.awk: Update from tzcode 2012i.
65020 * timezone/ialloc.c: Likewise.
65021 * timezone/private.h: Likewise.
65022 * timezone/scheck.c: Likewise.
65023 * timezone/tzfile.h: Likewise.
65024 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65025 (TZVERSION): Hardcode tzcode version number.
65026 * timezone/zdump.c: Update from tzcode 2012i.
65027 * timezone/zic.c: Likewise.
65028 * timezone/version.h: New file.
65029 * timezone/README: Describe version.h. Update upstream location.
65030
65031 [BZ #14824]
65032 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65033 (mktemp): Enable declaration.
65034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65038 Likewise.
65039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65040 Likewise.
65041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65042 Likewise.
65043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65044 Likewise.
65045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65046 Likewise.
65047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65048 Likewise.
65049
65050 [BZ #14821]
65051 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65052 offset in buffer as u_int32_t not u_long. Consistently use memcpy
65053 for copies of such integer values.
65054 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65055 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65056
65057 2012-11-09 Andreas Jaeger <aj@suse.de>
65058
65059 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65060 definitions and declarations that are provided by
65061 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65062
65063 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65064
65065 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65066 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65067 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65068 definition.
65069
65070 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
65071
65072 * elf/elf.h: Update comment before AArch64 relocations.
65073
65074 2012-11-07 David S. Miller <davem@davemloft.net>
65075
65076 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65077 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65078 (__start_context): Declare.
65079 (__makecontext_ret): Delete.
65080 (__makecontext): Hook up __start_context instead of
65081 __makecontext_ret.
65082 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65083 (sysdep_routines): Add __start_context when in stdlib.
65084
65085 2012-11-07 Joseph Myers <joseph@codesourcery.com>
65086
65087 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65088 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65089 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
65090 hardcoded "nm".
65091 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
65092 (READELF): New variable. Use it instead of hardcoded "readelf".
65093
65094 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
65095
65096 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65097 * sysdeps/x86/Makefile: Here.
65098 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65099 * sysdeps/x86/tst-xmmymm.sh: This.
65100
65101 2012-11-07 Joseph Myers <joseph@codesourcery.com>
65102
65103 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65104 expectations.
65105 [UNIX98] (pthread_barrier_t): Do not expect.
65106 [UNIX98] (pthread_barrierattr_t): Likewise.
65107 [UNIX98] (pthread_spinlock_t): Likewise.
65108 [UNIX98] (pthread_barrier_destroy): Likewise.
65109 [UNIX98] (pthread_barrier_init): Likewise.
65110 [UNIX98] (pthread_barrier_wait): Likewise.
65111 [UNIX98] (pthread_barrierattr_destroy): Likewise.
65112 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65113 [UNIX98] (pthread_barrierattr_init): Likewise.
65114 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65115 [UNIX98] (pthread_getcpuclockid): Likewise.
65116 [UNIX98] (pthread_mutex_timedlock): Likewise.
65117 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65118 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65119 [UNIX98] (pthread_sigmask): Likewise.
65120 [UNIX98] (pthread_spin_destroy): Likewise.
65121 [UNIX98] (pthread_spin_init): Likewise.
65122 [UNIX98] (pthread_spin_lock): Likewise.
65123 [UNIX98] (pthread_spin_trylock): Likewise.
65124 [UNIX98] (pthread_spin_unlock): Likewise.
65125 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65126 Do not expect.
65127 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65128 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65129 [XPG3 || XPG4] (pthread_cond_t): Likewise.
65130 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65131 [XPG3 || XPG4] (pthread_key_t): Likewise.
65132 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65133 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65134 [XPG3 || XPG4] (pthread_once_t): Likewise.
65135 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65136 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65137 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65138 [XPG3 || XPG4] (pthread_t): Likewise.
65139
65140 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65141 not expect.
65142 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65143
65144 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65145 Change function return type to int.
65146
65147 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65148 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65149 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65150 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65151 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65152 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65153 [!POSIX] (posix_madvise): Likewise.
65154 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65155 && !UNIX98].
65156 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65157 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65158 (mode_t): Likewise.
65159 (posix_mem_offset): Likewise.
65160 (posix_typed_mem_get_info): Likewise.
65161 (posix_typed_mem_open): Likewise.
65162
65163 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65164 Change condition to [XOPEN2K8].
65165
65166 * conform/conformtest.pl: Preprocess allow-header data with -x c
65167 instead of from stdin.
65168 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65169 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65170 [C99-based standards] (cerfc): Likewise.
65171 [C99-based standards] (cexp2): Likewise.
65172 [C99-based standards] (cexpm1): Likewise.
65173 [C99-based standards] (clog10): Likewise.
65174 [C99-based standards] (clog1p): Likewise.
65175 [C99-based standards] (clog2): Likewise.
65176 [C99-based standards] (clgamma): Likewise.
65177 [C99-based standards] (ctgamma): Likewise.
65178 [C99-based standards] (cerff): Likewise.
65179 [C99-based standards] (cerfcf): Likewise.
65180 [C99-based standards] (cexp2f): Likewise.
65181 [C99-based standards] (cexpm1f): Likewise.
65182 [C99-based standards] (clog10f): Likewise.
65183 [C99-based standards] (clog1pf): Likewise.
65184 [C99-based standards] (clog2f): Likewise.
65185 [C99-based standards] (clgammaf): Likewise.
65186 [C99-based standards] (ctgammaf): Likewise.
65187 [C99-based standards] (cerfl): Likewise.
65188 [C99-based standards] (cerfcl): Likewise.
65189 [C99-based standards] (cexp2l): Likewise.
65190 [C99-based standards] (cexpm1l): Likewise.
65191 [C99-based standards] (clog10l): Likewise.
65192 [C99-based standards] (clog1pl): Likewise.
65193 [C99-based standards] (clog2l): Likewise.
65194 [C99-based standards] (clgammal): Likewise.
65195 [C99-based standards] (ctgammal): Likewise.
65196 * conform/data/inttypes.h-data [C99-based standards]: Include
65197 stdint.h-data. Remove all expectations for stdint.h contents.
65198 [C99-based standards] (PRI*): Do not allow.
65199 [C99-based standards] (SCN*): Likewise.
65200 [C99-based standards] (*_t): Likewise.
65201 [C99-based-standards] (PRId8): Expect macro.
65202 [C99-based-standards] (PRIi8): Likewise.
65203 [C99-based-standards] (PRIo8): Likewise.
65204 [C99-based-standards] (PRIu8): Likewise.
65205 [C99-based-standards] (PRIx8): Likewise.
65206 [C99-based-standards] (PRIX8): Likewise.
65207 [C99-based-standards] (SCNd8): Likewise.
65208 [C99-based-standards] (SCNi8): Likewise.
65209 [C99-based-standards] (SCNo8): Likewise.
65210 [C99-based-standards] (SCNu8): Likewise.
65211 [C99-based-standards] (SCNx8): Likewise.
65212 [C99-based-standards] (PRIdLEAST8): Likewise.
65213 [C99-based-standards] (PRIiLEAST8): Likewise.
65214 [C99-based-standards] (PRIoLEAST8): Likewise.
65215 [C99-based-standards] (PRIuLEAST8): Likewise.
65216 [C99-based-standards] (PRIxLEAST8): Likewise.
65217 [C99-based-standards] (PRIXLEAST8): Likewise.
65218 [C99-based-standards] (SCNdLEAST8): Likewise.
65219 [C99-based-standards] (SCNiLEAST8): Likewise.
65220 [C99-based-standards] (SCNoLEAST8): Likewise.
65221 [C99-based-standards] (SCNuLEAST8): Likewise.
65222 [C99-based-standards] (SCNxLEAST8): Likewise.
65223 [C99-based-standards] (PRIdFAST8): Likewise.
65224 [C99-based-standards] (PRIiFAST8): Likewise.
65225 [C99-based-standards] (PRIoFAST8): Likewise.
65226 [C99-based-standards] (PRIuFAST8): Likewise.
65227 [C99-based-standards] (PRIxFAST8): Likewise.
65228 [C99-based-standards] (PRIXFAST8): Likewise.
65229 [C99-based-standards] (SCNdFAST8): Likewise.
65230 [C99-based-standards] (SCNiFAST8): Likewise.
65231 [C99-based-standards] (SCNoFAST8): Likewise.
65232 [C99-based-standards] (SCNuFAST8): Likewise.
65233 [C99-based-standards] (SCNxFAST8): Likewise.
65234 [C99-based-standards] (PRId16): Likewise.
65235 [C99-based-standards] (PRIi16): Likewise.
65236 [C99-based-standards] (PRIo16): Likewise.
65237 [C99-based-standards] (PRIu16): Likewise.
65238 [C99-based-standards] (PRIx16): Likewise.
65239 [C99-based-standards] (PRIX16): Likewise.
65240 [C99-based-standards] (SCNd16): Likewise.
65241 [C99-based-standards] (SCNi16): Likewise.
65242 [C99-based-standards] (SCNo16): Likewise.
65243 [C99-based-standards] (SCNu16): Likewise.
65244 [C99-based-standards] (SCNx16): Likewise.
65245 [C99-based-standards] (PRIdLEAST16): Likewise.
65246 [C99-based-standards] (PRIiLEAST16): Likewise.
65247 [C99-based-standards] (PRIoLEAST16): Likewise.
65248 [C99-based-standards] (PRIuLEAST16): Likewise.
65249 [C99-based-standards] (PRIxLEAST16): Likewise.
65250 [C99-based-standards] (PRIXLEAST16): Likewise.
65251 [C99-based-standards] (SCNdLEAST16): Likewise.
65252 [C99-based-standards] (SCNiLEAST16): Likewise.
65253 [C99-based-standards] (SCNoLEAST16): Likewise.
65254 [C99-based-standards] (SCNuLEAST16): Likewise.
65255 [C99-based-standards] (SCNxLEAST16): Likewise.
65256 [C99-based-standards] (PRIdFAST16): Likewise.
65257 [C99-based-standards] (PRIiFAST16): Likewise.
65258 [C99-based-standards] (PRIoFAST16): Likewise.
65259 [C99-based-standards] (PRIuFAST16): Likewise.
65260 [C99-based-standards] (PRIxFAST16): Likewise.
65261 [C99-based-standards] (PRIXFAST16): Likewise.
65262 [C99-based-standards] (SCNdFAST16): Likewise.
65263 [C99-based-standards] (SCNiFAST16): Likewise.
65264 [C99-based-standards] (SCNoFAST16): Likewise.
65265 [C99-based-standards] (SCNuFAST16): Likewise.
65266 [C99-based-standards] (SCNxFAST16): Likewise.
65267 [C99-based-standards] (PRId32): Likewise.
65268 [C99-based-standards] (PRIi32): Likewise.
65269 [C99-based-standards] (PRIo32): Likewise.
65270 [C99-based-standards] (PRIu32): Likewise.
65271 [C99-based-standards] (PRIx32): Likewise.
65272 [C99-based-standards] (PRIX32): Likewise.
65273 [C99-based-standards] (SCNd32): Likewise.
65274 [C99-based-standards] (SCNi32): Likewise.
65275 [C99-based-standards] (SCNo32): Likewise.
65276 [C99-based-standards] (SCNu32): Likewise.
65277 [C99-based-standards] (SCNx32): Likewise.
65278 [C99-based-standards] (PRIdLEAST32): Likewise.
65279 [C99-based-standards] (PRIiLEAST32): Likewise.
65280 [C99-based-standards] (PRIoLEAST32): Likewise.
65281 [C99-based-standards] (PRIuLEAST32): Likewise.
65282 [C99-based-standards] (PRIxLEAST32): Likewise.
65283 [C99-based-standards] (PRIXLEAST32): Likewise.
65284 [C99-based-standards] (SCNdLEAST32): Likewise.
65285 [C99-based-standards] (SCNiLEAST32): Likewise.
65286 [C99-based-standards] (SCNoLEAST32): Likewise.
65287 [C99-based-standards] (SCNuLEAST32): Likewise.
65288 [C99-based-standards] (SCNxLEAST32): Likewise.
65289 [C99-based-standards] (PRIdFAST32): Likewise.
65290 [C99-based-standards] (PRIiFAST32): Likewise.
65291 [C99-based-standards] (PRIoFAST32): Likewise.
65292 [C99-based-standards] (PRIuFAST32): Likewise.
65293 [C99-based-standards] (PRIxFAST32): Likewise.
65294 [C99-based-standards] (PRIXFAST32): Likewise.
65295 [C99-based-standards] (SCNdFAST32): Likewise.
65296 [C99-based-standards] (SCNiFAST32): Likewise.
65297 [C99-based-standards] (SCNoFAST32): Likewise.
65298 [C99-based-standards] (SCNuFAST32): Likewise.
65299 [C99-based-standards] (SCNxFAST32): Likewise.
65300 [C99-based-standards] (PRId64): Likewise.
65301 [C99-based-standards] (PRIi64): Likewise.
65302 [C99-based-standards] (PRIo64): Likewise.
65303 [C99-based-standards] (PRIu64): Likewise.
65304 [C99-based-standards] (PRIx64): Likewise.
65305 [C99-based-standards] (PRIX64): Likewise.
65306 [C99-based-standards] (SCNd64): Likewise.
65307 [C99-based-standards] (SCNi64): Likewise.
65308 [C99-based-standards] (SCNo64): Likewise.
65309 [C99-based-standards] (SCNu64): Likewise.
65310 [C99-based-standards] (SCNx64): Likewise.
65311 [C99-based-standards] (PRIdLEAST64): Likewise.
65312 [C99-based-standards] (PRIiLEAST64): Likewise.
65313 [C99-based-standards] (PRIoLEAST64): Likewise.
65314 [C99-based-standards] (PRIuLEAST64): Likewise.
65315 [C99-based-standards] (PRIxLEAST64): Likewise.
65316 [C99-based-standards] (PRIXLEAST64): Likewise.
65317 [C99-based-standards] (SCNdLEAST64): Likewise.
65318 [C99-based-standards] (SCNiLEAST64): Likewise.
65319 [C99-based-standards] (SCNoLEAST64): Likewise.
65320 [C99-based-standards] (SCNuLEAST64): Likewise.
65321 [C99-based-standards] (SCNxLEAST64): Likewise.
65322 [C99-based-standards] (PRIdFAST64): Likewise.
65323 [C99-based-standards] (PRIiFAST64): Likewise.
65324 [C99-based-standards] (PRIoFAST64): Likewise.
65325 [C99-based-standards] (PRIuFAST64): Likewise.
65326 [C99-based-standards] (PRIxFAST64): Likewise.
65327 [C99-based-standards] (PRIXFAST64): Likewise.
65328 [C99-based-standards] (SCNdFAST64): Likewise.
65329 [C99-based-standards] (SCNiFAST64): Likewise.
65330 [C99-based-standards] (SCNoFAST64): Likewise.
65331 [C99-based-standards] (SCNuFAST64): Likewise.
65332 [C99-based-standards] (SCNxFAST64): Likewise.
65333 [C99-based-standards] (PRIdMAX): Likewise.
65334 [C99-based-standards] (PRIiMAX): Likewise.
65335 [C99-based-standards] (PRIoMAX): Likewise.
65336 [C99-based-standards] (PRIuMAX): Likewise.
65337 [C99-based-standards] (PRIxMAX): Likewise.
65338 [C99-based-standards] (PRIXMAX): Likewise.
65339 [C99-based-standards] (SCNdMAX): Likewise.
65340 [C99-based-standards] (SCNiMAX): Likewise.
65341 [C99-based-standards] (SCNoMAX): Likewise.
65342 [C99-based-standards] (SCNuMAX): Likewise.
65343 [C99-based-standards] (SCNxMAX): Likewise.
65344 [C99-based-standards] (PRIdPTR): Likewise.
65345 [C99-based-standards] (PRIiPTR): Likewise.
65346 [C99-based-standards] (PRIoPTR): Likewise.
65347 [C99-based-standards] (PRIuPTR): Likewise.
65348 [C99-based-standards] (PRIxPTR): Likewise.
65349 [C99-based-standards] (PRIXPTR): Likewise.
65350 [C99-based-standards] (SCNdPTR): Likewise.
65351 [C99-based-standards] (SCNiPTR): Likewise.
65352 [C99-based-standards] (SCNoPTR): Likewise.
65353 [C99-based-standards] (SCNuPTR): Likewise.
65354 [C99-based-standards] (SCNxPTR): Likewise.
65355 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65356 allow.
65357 * conform/data/stdint.h-data: Update comments to clarify
65358 requirements.
65359 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
65360 type.
65361 [C99-based standards] (INT8_MAX): Likewise.
65362 [C99-based standards] (INT16_MIN): Likewise.
65363 [C99-based standards] (INT16_MAX): Likewise.
65364 [C99-based standards] (INT32_MIN): Likewise.
65365 [C99-based standards] (INT32_MAX): Likewise.
65366 [C99-based standards] (INT64_MIN): Likewise.
65367 [C99-based standards] (INT64_MAX): Likewise.
65368 [C99-based standards] (UINT8_MAX): Likewise.
65369 [C99-based standards] (UINT16_MAX): Likewise.
65370 [C99-based standards] (UINT32_MAX): Likewise.
65371 [C99-based standards] (UINT64_MAX): Likewise.
65372 [C99-based standards] (INT_LEAST8_MIN): Likewise.
65373 [C99-based standards] (INT_LEAST8_MAX): Likewise.
65374 [C99-based standards] (INT_LEAST16_MIN): Likewise.
65375 [C99-based standards] (INT_LEAST16_MAX): Likewise.
65376 [C99-based standards] (INT_LEAST32_MIN): Likewise.
65377 [C99-based standards] (INT_LEAST32_MAX): Likewise.
65378 [C99-based standards] (INT_LEAST64_MIN): Likewise.
65379 [C99-based standards] (INT_LEAST64_MAX): Likewise.
65380 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
65381 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
65382 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
65383 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
65384 [C99-based standards] (INT_FAST8_MIN): Likewise.
65385 [C99-based standards] (INT_FAST8_MAX): Likewise.
65386 [C99-based standards] (INT_FAST16_MIN): Likewise.
65387 [C99-based standards] (INT_FAST16_MAX): Likewise.
65388 [C99-based standards] (INT_FAST32_MIN): Likewise.
65389 [C99-based standards] (INT_FAST32_MAX): Likewise.
65390 [C99-based standards] (INT_FAST64_MIN): Likewise.
65391 [C99-based standards] (INT_FAST64_MAX): Likewise.
65392 [C99-based standards] (UINT_FAST8_MAX): Likewise.
65393 [C99-based standards] (UINT_FAST16_MAX): Likewise.
65394 [C99-based standards] (UINT_FAST32_MAX): Likewise.
65395 [C99-based standards] (UINT_FAST64_MAX): Likewise.
65396 [C99-based standards] (INTPTR_MIN): Likewise.
65397 [C99-based standards] (INTPTR_MAX): Likewise.
65398 [C99-based standards] (UINTPTR_MAX): Likewise.
65399 [C99-based standards] (INTMAX_MIN): Likewise.
65400 [C99-based standards] (INTMAX_MAX): Likewise.
65401 [C99-based standards] (UINTMAX_MAX): Likewise.
65402 [C99-based standards] (PTRDIFF_MIN): Likewise.
65403 [C99-based standards] (PTRDIFF_MAX): Likewise.
65404 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
65405 [C99-based standards] (SIZE_MAX): Likewise.
65406 [C99-based standards] (WCHAR_MAX): Likewise.
65407 [C99-based standards] (WINT_MAX): Likewise.
65408 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
65409 constraint on value.
65410 [C99-based standards] (WCHAR_MIN): Likewise.
65411 [C99-based standards] (WINT_MIN): Likewise.
65412 [C99-based standards] (*_t): Allow.
65413 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
65414 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
65415 Include math.h-data and complex.h-data. Remove all expectations
65416 of math.h and complex.h contents.
65417 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
65418 at end of line.
65419 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
65420 (struct tm): Expect tag.
65421 [C99-based-standards] (wcstof): Expect function.
65422 [C99-based-standards] (wcstold): Likewise.
65423 [C99-based-standards] (wcstoll): Likewise.
65424 [C99-based-standards] (wcstoull): Likewise.
65425 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
65426 macro-int-constant. Specify type.
65427 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
65428 constraint on value.
65429 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65430 Specify type.
65431 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
65432 Specify value.
65433 [ISO C standards]: Do not allow headers.
65434 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
65435 wcs[abcdefghijklmnopqrstuvwxyz]*.
65436 [ISO C standards] (*_t): Do not allow.
65437 * conform/data/wctype.h-data [C99-based standards] (iswblank):
65438 Expect function.
65439 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
65440 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65441 Specify type.
65442 [ISO C standards]: Do not allow headers.
65443 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
65444 is[abcdefghijklmnopqrstuvwxyz]*.
65445 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
65446 to[abcdefghijklmnopqrstuvwxyz]*.
65447 [ISO C standards] (*_t): Do not allow.
65448 * conform/data/stdalign.h-data: New file.
65449 * conform/data/stdbool.h-data: Likewise.
65450 * conform/data/stdnoreturn.h-data: Likewise.
65451
65452 2012-11-07 Roland McGrath <roland@hack.frob.com>
65453
65454 [BZ #14815]
65455 * manual/filesys.texi (Directory Entries): Typo fix.
65456 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
65457
65458 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
65459
65460 * elf/elf.h (EM_AARCH64): New macro.
65461 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
65462 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
65463 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
65464 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
65465 (R_AARCH64_TLSDESC): Likewise.
65466 (NT_ARM_TLS): Likewise.
65467 (NT_ARM_HW_BREAK): Likewise.
65468 (NT_ARM_HW_WATCH): Likewise.
65469
65470 2012-11-07 Joseph Myers <joseph@codesourcery.com>
65471
65472 [BZ #14811]
65473 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
65474 (__ieee754_powl): Saturate nonzero exponents with absolute value
65475 below 0x1p-79 to +/- 0x1p-79.
65476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
65477 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
65478 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
65479 nonzero exponents with absolute value below 0x1p-32 to +/-
65480 0x1p-32.
65481 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
65482 (__ieee754_powl): Saturate nonzero exponents with absolute value
65483 below 0x1p-79 to +/- 0x1p-79.
65484 * math/libm-test.inc (pow_test): Add more tests.
65485
65486 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65487
65488 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
65489 _dl_s390_cap_flags with kernel. Increase string length.
65490 (_dl_s390_platforms): Add z196 and zEC12.
65491
65492 2012-11-07 Joseph Myers <joseph@codesourcery.com>
65493
65494 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
65495 Change XOPEN21K to XOPEN2K.
65496
65497 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
65498
65499 * string/memmove.c: Use memcpy when possible.
65500
65501 2012-11-06 Andreas Jaeger <aj@suse.de>
65502
65503 * po/eo.po: Update from translation team.
65504
65505 2012-11-06 Joseph Myers <joseph@codesourcery.com>
65506
65507 [BZ #14793]
65508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
65509 exponent and small x and y exponents, scale x or y up. Increase
65510 by 2 the exponent used in scaling up.
65511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65513 * math/libm-test.inc (fma_test): Add more tests.
65514 (fma_test_towardzero): Likewise.
65515 (fma_test_downward): Likewise.
65516 (fma_test_upward): Likewise.
65517
65518 2012-11-05 Joseph Myers <joseph@codesourcery.com>
65519
65520 [BZ #14805]
65521 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
65522 fenv_t *.
65523
65524 [BZ #14801]
65525 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
65526 namespace for names of struct fields.
65527 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
65528 fenv_t fields.
65529 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
65530 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
65531
65532 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
65533
65534 [BZ #3665]
65535 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
65536
65537 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
65538
65539 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
65540 PTR_DEMANGLE.
65541
65542 [BZ #5246]
65543 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
65544 PTR_DEMANGLE.
65545
65546 2012-11-04 Joseph Myers <joseph@codesourcery.com>
65547
65548 [BZ #14797]
65549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
65550 definitely overflow as x * y not x * y + z.
65551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65553 * math/libm-test.inc (fma_test): Add more tests.
65554 (fma_test_towardzero): Likewise.
65555 (fma_test_downward): Likewise.
65556 (fma_test_upward): Likewise.
65557
65558 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
65559
65560 [BZ #157]
65561
65562 * include/stub-tag.h: Remove file.
65563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
65564 '#include' of it.
65565 * manual/maint.texi (Porting): Don't reference it.
65566 * Makerules ($(objpfx)stubs): Likewise.
65567 * dirent/closedir.c: Don't include <stub-tag.h>.
65568 * dirent/dirfd.c: Likewise.
65569 * dirent/fdopendir.c: Likewise.
65570 * dirent/getdents.c: Likewise.
65571 * dirent/getdents64.c: Likewise.
65572 * dirent/opendir.c: Likewise.
65573 * dirent/readdir.c: Likewise.
65574 * dirent/readdir64.c: Likewise.
65575 * dirent/readdir64_r.c: Likewise.
65576 * dirent/readdir_r.c: Likewise.
65577 * dirent/rewinddir.c: Likewise.
65578 * dirent/seekdir.c: Likewise.
65579 * dirent/telldir.c: Likewise.
65580 * gmon/profil.c: Likewise.
65581 * grp/setgroups.c: Likewise.
65582 * inet/if_index.c: Likewise.
65583 * io/access.c: Likewise.
65584 * io/chdir.c: Likewise.
65585 * io/chmod.c: Likewise.
65586 * io/chown.c: Likewise.
65587 * io/close.c: Likewise.
65588 * io/dup.c: Likewise.
65589 * io/dup2.c: Likewise.
65590 * io/dup3.c: Likewise.
65591 * io/euidaccess.c: Likewise.
65592 * io/faccessat.c: Likewise.
65593 * io/fchdir.c: Likewise.
65594 * io/fchmod.c: Likewise.
65595 * io/fchmodat.c: Likewise.
65596 * io/fchown.c: Likewise.
65597 * io/fchownat.c: Likewise.
65598 * io/fcntl.c: Likewise.
65599 * io/flock.c: Likewise.
65600 * io/fstatfs.c: Likewise.
65601 * io/fstatfs64.c: Likewise.
65602 * io/fstatvfs.c: Likewise.
65603 * io/fstatvfs64.c: Likewise.
65604 * io/futimens.c: Likewise.
65605 * io/fxstat.c: Likewise.
65606 * io/fxstat64.c: Likewise.
65607 * io/fxstatat.c: Likewise.
65608 * io/fxstatat64.c: Likewise.
65609 * io/getcwd.c: Likewise.
65610 * io/isatty.c: Likewise.
65611 * io/lchmod.c: Likewise.
65612 * io/lchown.c: Likewise.
65613 * io/link.c: Likewise.
65614 * io/linkat.c: Likewise.
65615 * io/lseek.c: Likewise.
65616 * io/lseek64.c: Likewise.
65617 * io/lxstat64.c: Likewise.
65618 * io/mkdir.c: Likewise.
65619 * io/mkdirat.c: Likewise.
65620 * io/mkfifo.c: Likewise.
65621 * io/mkfifoat.c: Likewise.
65622 * io/open.c: Likewise.
65623 * io/open64.c: Likewise.
65624 * io/openat.c: Likewise.
65625 * io/openat64.c: Likewise.
65626 * io/pipe.c: Likewise.
65627 * io/pipe2.c: Likewise.
65628 * io/poll.c: Likewise.
65629 * io/posix_fadvise.c: Likewise.
65630 * io/posix_fadvise64.c: Likewise.
65631 * io/posix_fallocate.c: Likewise.
65632 * io/posix_fallocate64.c: Likewise.
65633 * io/read.c: Likewise.
65634 * io/readlink.c: Likewise.
65635 * io/readlinkat.c: Likewise.
65636 * io/rmdir.c: Likewise.
65637 * io/sendfile.c: Likewise.
65638 * io/sendfile64.c: Likewise.
65639 * io/statfs.c: Likewise.
65640 * io/statfs64.c: Likewise.
65641 * io/statvfs.c: Likewise.
65642 * io/statvfs64.c: Likewise.
65643 * io/symlink.c: Likewise.
65644 * io/symlinkat.c: Likewise.
65645 * io/ttyname.c: Likewise.
65646 * io/ttyname_r.c: Likewise.
65647 * io/umask.c: Likewise.
65648 * io/unlink.c: Likewise.
65649 * io/unlinkat.c: Likewise.
65650 * io/utime.c: Likewise.
65651 * io/utimensat.c: Likewise.
65652 * io/write.c: Likewise.
65653 * io/xmknod.c: Likewise.
65654 * io/xmknodat.c: Likewise.
65655 * io/xstat.c: Likewise.
65656 * io/xstat64.c: Likewise.
65657 * login/getpt.c: Likewise.
65658 * login/grantpt.c: Likewise.
65659 * login/unlockpt.c: Likewise.
65660 * math/e_acoshl.c: Likewise.
65661 * math/e_acosl.c: Likewise.
65662 * math/e_asinl.c: Likewise.
65663 * math/e_atan2l.c: Likewise.
65664 * math/e_atanhl.c: Likewise.
65665 * math/e_coshl.c: Likewise.
65666 * math/e_expl.c: Likewise.
65667 * math/e_fmodl.c: Likewise.
65668 * math/e_gammal_r.c: Likewise.
65669 * math/e_hypotl.c: Likewise.
65670 * math/e_j0l.c: Likewise.
65671 * math/e_j1l.c: Likewise.
65672 * math/e_jnl.c: Likewise.
65673 * math/e_lgammal_r.c: Likewise.
65674 * math/e_log10l.c: Likewise.
65675 * math/e_log2l.c: Likewise.
65676 * math/e_logl.c: Likewise.
65677 * math/e_powl.c: Likewise.
65678 * math/e_rem_pio2l.c: Likewise.
65679 * math/e_sinhl.c: Likewise.
65680 * math/e_sqrtl.c: Likewise.
65681 * math/fclrexcpt.c: Likewise.
65682 * math/fedisblxcpt.c: Likewise.
65683 * math/feenablxcpt.c: Likewise.
65684 * math/fegetenv.c: Likewise.
65685 * math/fegetexcept.c: Likewise.
65686 * math/fegetround.c: Likewise.
65687 * math/feholdexcpt.c: Likewise.
65688 * math/fesetenv.c: Likewise.
65689 * math/fesetround.c: Likewise.
65690 * math/feupdateenv.c: Likewise.
65691 * math/fgetexcptflg.c: Likewise.
65692 * math/fraiseexcpt.c: Likewise.
65693 * math/fsetexcptflg.c: Likewise.
65694 * math/ftestexcept.c: Likewise.
65695 * math/k_cosl.c: Likewise.
65696 * math/k_rem_pio2l.c: Likewise.
65697 * math/k_sinl.c: Likewise.
65698 * math/k_tanl.c: Likewise.
65699 * math/s_asinhl.c: Likewise.
65700 * math/s_atanl.c: Likewise.
65701 * math/s_cbrtl.c: Likewise.
65702 * math/s_erfl.c: Likewise.
65703 * math/s_expm1l.c: Likewise.
65704 * math/s_log1pl.c: Likewise.
65705 * math/s_tanhl.c: Likewise.
65706 * misc/acct.c: Likewise.
65707 * misc/brk.c: Likewise.
65708 * misc/chflags.c: Likewise.
65709 * misc/chroot.c: Likewise.
65710 * misc/fchflags.c: Likewise.
65711 * misc/fgetxattr.c: Likewise.
65712 * misc/flistxattr.c: Likewise.
65713 * misc/fremovexattr.c: Likewise.
65714 * misc/fsetxattr.c: Likewise.
65715 * misc/fsync.c: Likewise.
65716 * misc/ftruncate.c: Likewise.
65717 * misc/futimes.c: Likewise.
65718 * misc/futimesat.c: Likewise.
65719 * misc/getdomain.c: Likewise.
65720 * misc/getdtsz.c: Likewise.
65721 * misc/gethostid.c: Likewise.
65722 * misc/gethostname.c: Likewise.
65723 * misc/getloadavg.c: Likewise.
65724 * misc/getpagesize.c: Likewise.
65725 * misc/getsysstats.c: Likewise.
65726 * misc/getxattr.c: Likewise.
65727 * misc/gtty.c: Likewise.
65728 * misc/ioctl.c: Likewise.
65729 * misc/lgetxattr.c: Likewise.
65730 * misc/listxattr.c: Likewise.
65731 * misc/llistxattr.c: Likewise.
65732 * misc/lremovexattr.c: Likewise.
65733 * misc/lsetxattr.c: Likewise.
65734 * misc/lutimes.c: Likewise.
65735 * misc/madvise.c: Likewise.
65736 * misc/mincore.c: Likewise.
65737 * misc/mlock.c: Likewise.
65738 * misc/mlockall.c: Likewise.
65739 * misc/mmap.c: Likewise.
65740 * misc/mprotect.c: Likewise.
65741 * misc/msync.c: Likewise.
65742 * misc/munlock.c: Likewise.
65743 * misc/munlockall.c: Likewise.
65744 * misc/munmap.c: Likewise.
65745 * misc/preadv.c: Likewise.
65746 * misc/preadv64.c: Likewise.
65747 * misc/ptrace.c: Likewise.
65748 * misc/pwritev.c: Likewise.
65749 * misc/pwritev64.c: Likewise.
65750 * misc/readv.c: Likewise.
65751 * misc/reboot.c: Likewise.
65752 * misc/remap_file_pages.c: Likewise.
65753 * misc/removexattr.c: Likewise.
65754 * misc/revoke.c: Likewise.
65755 * misc/select.c: Likewise.
65756 * misc/setdomain.c: Likewise.
65757 * misc/setegid.c: Likewise.
65758 * misc/seteuid.c: Likewise.
65759 * misc/sethostid.c: Likewise.
65760 * misc/sethostname.c: Likewise.
65761 * misc/setregid.c: Likewise.
65762 * misc/setreuid.c: Likewise.
65763 * misc/setxattr.c: Likewise.
65764 * misc/sstk.c: Likewise.
65765 * misc/stty.c: Likewise.
65766 * misc/swapoff.c: Likewise.
65767 * misc/swapon.c: Likewise.
65768 * misc/sync.c: Likewise.
65769 * misc/syncfs.c: Likewise.
65770 * misc/syscall.c: Likewise.
65771 * misc/truncate.c: Likewise.
65772 * misc/ualarm.c: Likewise.
65773 * misc/usleep.c: Likewise.
65774 * misc/ustat.c: Likewise.
65775 * misc/utimes.c: Likewise.
65776 * misc/vhangup.c: Likewise.
65777 * misc/writev.c: Likewise.
65778 * posix/_exit.c: Likewise.
65779 * posix/alarm.c: Likewise.
65780 * posix/execve.c: Likewise.
65781 * posix/fexecve.c: Likewise.
65782 * posix/fork.c: Likewise.
65783 * posix/fpathconf.c: Likewise.
65784 * posix/getaddrinfo.c: Likewise.
65785 * posix/getegid.c: Likewise.
65786 * posix/geteuid.c: Likewise.
65787 * posix/getgid.c: Likewise.
65788 * posix/getgroups.c: Likewise.
65789 * posix/getlogin.c: Likewise.
65790 * posix/getlogin_r.c: Likewise.
65791 * posix/getpgid.c: Likewise.
65792 * posix/getpid.c: Likewise.
65793 * posix/getppid.c: Likewise.
65794 * posix/getresgid.c: Likewise.
65795 * posix/getresuid.c: Likewise.
65796 * posix/getsid.c: Likewise.
65797 * posix/getuid.c: Likewise.
65798 * posix/glob64.c: Likewise.
65799 * posix/nanosleep.c: Likewise.
65800 * posix/pathconf.c: Likewise.
65801 * posix/pause.c: Likewise.
65802 * posix/posix_madvise.c: Likewise.
65803 * posix/pread.c: Likewise.
65804 * posix/pread64.c: Likewise.
65805 * posix/pwrite.c: Likewise.
65806 * posix/pwrite64.c: Likewise.
65807 * posix/sched_getaffinity.c: Likewise.
65808 * posix/sched_getp.c: Likewise.
65809 * posix/sched_gets.c: Likewise.
65810 * posix/sched_primax.c: Likewise.
65811 * posix/sched_primin.c: Likewise.
65812 * posix/sched_rr_gi.c: Likewise.
65813 * posix/sched_setaffinity.c: Likewise.
65814 * posix/sched_setp.c: Likewise.
65815 * posix/sched_sets.c: Likewise.
65816 * posix/sched_yield.c: Likewise.
65817 * posix/setgid.c: Likewise.
65818 * posix/setlogin.c: Likewise.
65819 * posix/setpgid.c: Likewise.
65820 * posix/setresgid.c: Likewise.
65821 * posix/setresuid.c: Likewise.
65822 * posix/setsid.c: Likewise.
65823 * posix/setuid.c: Likewise.
65824 * posix/sleep.c: Likewise.
65825 * posix/spawni.c: Likewise.
65826 * posix/sysconf.c: Likewise.
65827 * posix/times.c: Likewise.
65828 * posix/wait.c: Likewise.
65829 * posix/wait3.c: Likewise.
65830 * posix/wait4.c: Likewise.
65831 * posix/waitpid.c: Likewise.
65832 * resolv/gai_sigqueue.c: Likewise.
65833 * resource/getpriority.c: Likewise.
65834 * resource/getrlimit.c: Likewise.
65835 * resource/getrusage.c: Likewise.
65836 * resource/nice.c: Likewise.
65837 * resource/setpriority.c: Likewise.
65838 * resource/setrlimit.c: Likewise.
65839 * resource/ulimit.c: Likewise.
65840 * rt/aio_cancel.c: Likewise.
65841 * rt/aio_fsync.c: Likewise.
65842 * rt/aio_read.c: Likewise.
65843 * rt/aio_sigqueue.c: Likewise.
65844 * rt/aio_suspend.c: Likewise.
65845 * rt/aio_write.c: Likewise.
65846 * rt/clock_getres.c: Likewise.
65847 * rt/clock_gettime.c: Likewise.
65848 * rt/clock_nanosleep.c: Likewise.
65849 * rt/clock_settime.c: Likewise.
65850 * rt/lio_listio.c: Likewise.
65851 * rt/mq_close.c: Likewise.
65852 * rt/mq_getattr.c: Likewise.
65853 * rt/mq_notify.c: Likewise.
65854 * rt/mq_open.c: Likewise.
65855 * rt/mq_receive.c: Likewise.
65856 * rt/mq_send.c: Likewise.
65857 * rt/mq_setattr.c: Likewise.
65858 * rt/mq_timedreceive.c: Likewise.
65859 * rt/mq_timedsend.c: Likewise.
65860 * rt/mq_unlink.c: Likewise.
65861 * rt/shm_open.c: Likewise.
65862 * rt/shm_unlink.c: Likewise.
65863 * rt/timer_create.c: Likewise.
65864 * rt/timer_delete.c: Likewise.
65865 * rt/timer_getoverr.c: Likewise.
65866 * rt/timer_gettime.c: Likewise.
65867 * rt/timer_settime.c: Likewise.
65868 * setjmp/__longjmp.c: Likewise.
65869 * setjmp/setjmp.c: Likewise.
65870 * signal/kill.c: Likewise.
65871 * signal/killpg.c: Likewise.
65872 * signal/raise.c: Likewise.
65873 * signal/sigaction.c: Likewise.
65874 * signal/sigaltstack.c: Likewise.
65875 * signal/sigblock.c: Likewise.
65876 * signal/sigignore.c: Likewise.
65877 * signal/sigintr.c: Likewise.
65878 * signal/signal.c: Likewise.
65879 * signal/sigpause.c: Likewise.
65880 * signal/sigpending.c: Likewise.
65881 * signal/sigqueue.c: Likewise.
65882 * signal/sigreturn.c: Likewise.
65883 * signal/sigset.c: Likewise.
65884 * signal/sigsetmask.c: Likewise.
65885 * signal/sigstack.c: Likewise.
65886 * signal/sigsuspend.c: Likewise.
65887 * signal/sigtimedwait.c: Likewise.
65888 * signal/sigvec.c: Likewise.
65889 * signal/sigwait.c: Likewise.
65890 * signal/sigwaitinfo.c: Likewise.
65891 * signal/sysv_signal.c: Likewise.
65892 * socket/accept.c: Likewise.
65893 * socket/accept4.c: Likewise.
65894 * socket/bind.c: Likewise.
65895 * socket/connect.c: Likewise.
65896 * socket/getpeername.c: Likewise.
65897 * socket/getsockname.c: Likewise.
65898 * socket/getsockopt.c: Likewise.
65899 * socket/isfdtype.c: Likewise.
65900 * socket/listen.c: Likewise.
65901 * socket/recv.c: Likewise.
65902 * socket/recvfrom.c: Likewise.
65903 * socket/recvmsg.c: Likewise.
65904 * socket/send.c: Likewise.
65905 * socket/sendmsg.c: Likewise.
65906 * socket/sendto.c: Likewise.
65907 * socket/setsockopt.c: Likewise.
65908 * socket/shutdown.c: Likewise.
65909 * socket/sockatmark.c: Likewise.
65910 * socket/socket.c: Likewise.
65911 * socket/socketpair.c: Likewise.
65912 * stdio-common/ctermid.c: Likewise.
65913 * stdio-common/cuserid.c: Likewise.
65914 * stdio-common/remove.c: Likewise.
65915 * stdio-common/rename.c: Likewise.
65916 * stdio-common/renameat.c: Likewise.
65917 * stdio-common/tempname.c: Likewise.
65918 * stdlib/getcontext.c: Likewise.
65919 * stdlib/makecontext.c: Likewise.
65920 * stdlib/setcontext.c: Likewise.
65921 * stdlib/swapcontext.c: Likewise.
65922 * stdlib/system.c: Likewise.
65923 * streams/fattach.c: Likewise.
65924 * streams/fdetach.c: Likewise.
65925 * streams/getmsg.c: Likewise.
65926 * streams/getpmsg.c: Likewise.
65927 * streams/putmsg.c: Likewise.
65928 * streams/putpmsg.c: Likewise.
65929 * sysdeps/unix/bsd/getpt.c: Likewise.
65930 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
65931 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
65932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65934 Likewise.
65935 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
65936 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65937 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
65938 * sysvipc/msgctl.c: Likewise.
65939 * sysvipc/msgget.c: Likewise.
65940 * sysvipc/msgrcv.c: Likewise.
65941 * sysvipc/msgsnd.c: Likewise.
65942 * sysvipc/semctl.c: Likewise.
65943 * sysvipc/semget.c: Likewise.
65944 * sysvipc/semop.c: Likewise.
65945 * sysvipc/semtimedop.c: Likewise.
65946 * sysvipc/shmat.c: Likewise.
65947 * sysvipc/shmctl.c: Likewise.
65948 * sysvipc/shmdt.c: Likewise.
65949 * sysvipc/shmget.c: Likewise.
65950 * termios/tcdrain.c: Likewise.
65951 * termios/tcflow.c: Likewise.
65952 * termios/tcflush.c: Likewise.
65953 * termios/tcgetattr.c: Likewise.
65954 * termios/tcgetpgrp.c: Likewise.
65955 * termios/tcsendbrk.c: Likewise.
65956 * termios/tcsetattr.c: Likewise.
65957 * termios/tcsetpgrp.c: Likewise.
65958 * time/adjtime.c: Likewise.
65959 * time/clock.c: Likewise.
65960 * time/getitimer.c: Likewise.
65961 * time/gettimeofday.c: Likewise.
65962 * time/setitimer.c: Likewise.
65963 * time/settimeofday.c: Likewise.
65964 * time/stime.c: Likewise.
65965 * time/time.c: Likewise.
65966
65967 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
65968
65969 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
65970 /usr/old/bin.
65971
65972 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
65973 instead of spaces.
65974 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
65975
65976 2012-11-03 Joseph Myers <joseph@codesourcery.com>
65977
65978 [BZ #14796]
65979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
65980 FE_TONEAREST before applying Dekker multiplication and Knuth
65981 addition. Clear inexact exceptions and check for exact zero
65982 results afterwards.
65983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65984 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65986 * math/libm-test.inc (fma_test): Add more tests.
65987 (fma_test_towardzero): Likewise.
65988 (fma_test_downward): Likewise.
65989 (fma_test_upward): Likewise.
65990 * sysdeps/generic/math_private.h (default_libc_fesetround): New
65991 function.
65992 (libc_fesetround): New macro.
65993 (libc_fesetroundf): Likewise.
65994 (libc_fesetroundl): Likewise.
65995 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
65996 function.
65997 (libc_fesetround_387): Likewise.
65998 (libc_fesetroundf): New macro.
65999 (libc_fesetround): Likewise.
66000 (libc_fesetroundl): Likewise.
66001 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66002 function.
66003 (libc_fesetroundf): New macro.
66004 (libc_fesetround): Likewise.
66005 (libc_fesetroundl): Likewise.
66006 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66007 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66008 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66009 libm_hidden_ver.
66010 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66011 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66012 libm_hidden_def.
66013 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66014 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66015 libm_hidden_ver.
66016 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66017 libm_hidden_def.
66018
66019 [BZ #3439]
66020 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66021 integer constant usable in #if and use that to give value to enum
66022 constant.
66023 (FE_DIVBYZERO): Likewise.
66024 (FE_UNDERFLOW): Likewise.
66025 (FE_OVERFLOW): Likewise.
66026 (FE_INVALID): Likewise.
66027 (FE_INVALID_SNAN): Likewise.
66028 (FE_INVALID_ISI): Likewise.
66029 (FE_INVALID_IDI): Likewise.
66030 (FE_INVALID_ZDZ): Likewise.
66031 (FE_INVALID_IMZ): Likewise.
66032 (FE_INVALID_COMPARE): Likewise.
66033 (FE_INVALID_SOFTWARE): Likewise.
66034 (FE_INVALID_SQRT): Likewise.
66035 (FE_INVALID_INTEGER_CONVERSION): Likewise.
66036 (FE_TONEAREST): Likewise.
66037 (FE_TOWARDZERO): Likewise.
66038 (FE_UPWARD): Likewise.
66039 (FE_DOWNWARD): Likewise.
66040 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66041 (FE_DIVBYZERO): Likewise.
66042 (FE_OVERFLOW): Likewise.
66043 (FE_UNDERFLOW): Likewise.
66044 (FE_INEXACT): Likewise.
66045 (FE_TONEAREST): Likewise.
66046 (FE_DOWNWARD): Likewise.
66047 (FE_UPWARD): Likewise.
66048 (FE_TOWARDZERO): Likewise.
66049 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66050 (FE_UNDERFLOW): Likewise.
66051 (FE_OVERFLOW): Likewise.
66052 (FE_DIVBYZERO): Likewise.
66053 (FE_INVALID): Likewise.
66054 (FE_TONEAREST): Likewise.
66055 (FE_TOWARDZERO): Likewise.
66056 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66057 (FE_OVERFLOW): Likewise.
66058 (FE_UNDERFLOW): Likewise.
66059 (FE_DIVBYZERO): Likewise.
66060 (FE_INEXACT): Likewise.
66061 (FE_TONEAREST): Likewise.
66062 (FE_TOWARDZERO): Likewise.
66063 (FE_UPWARD): Likewise.
66064 (FE_DOWNWARD): Likewise.
66065 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66066 (FE_DIVBYZERO): Likewise.
66067 (FE_OVERFLOW): Likewise.
66068 (FE_UNDERFLOW): Likewise.
66069 (FE_INEXACT): Likewise.
66070 (FE_TONEAREST): Likewise.
66071 (FE_DOWNWARD): Likewise.
66072 (FE_UPWARD): Likewise.
66073 (FE_TOWARDZERO): Likewise.
66074
66075 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
66076
66077 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66078
66079 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
66080
66081 * scripts/cross-test-ssh.sh (command): Use newlines to separate
66082 commands. Quote $PWD.
66083 (blacklist_exports): Don't use remove_newlines. Replace "declare
66084 -x" by "export".
66085 (remove_newlines): Remove.
66086
66087 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
66088
66089 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66090 * stdlib/stdlib.h (atof): Moved to ...
66091 * include/bits/stdlib-float.h: Here. New file.
66092 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66093 * stdlib/bits/stdlib-float.h: New file.
66094 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66095 -mno-sse -mno-mmx.
66096 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66097 <xmmintrin.h>.
66098
66099 2012-11-02 Joseph Myers <joseph@codesourcery.com>
66100
66101 * conform/conformtest.pl (@headers): Add fenv.h.
66102 * conform/data/fenv.h-data: New file.
66103 * include/fenv.h [_ISOMAC]: Disable all contents of file except
66104 include of <math/fenv.h>.
66105
66106 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66107 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66108 && !UNIX98]. Enables tests for XOPEN2K8.
66109 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66110 POSIX2008]: Likewise.
66111
66112 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66113 (struct rusage): Do not expect type or its members.
66114
66115 [BZ #3439]
66116 * math/math.h (FP_NAN): Define macro to integer constant usable in
66117 #if and use that to give value to enum constant.
66118 (FP_INFINITE): Likewise.
66119 (FP_ZERO): Likewise.
66120 (FP_SUBNORMAL): Likewise.
66121 (FP_NORMAL): Likewise.
66122
66123 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
66124
66125 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66126 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66127 arguments.
66128
66129 2012-11-02 Roland McGrath <roland@hack.frob.com>
66130
66131 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66132 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66133 autoconf-time if not.
66134 * configure.in: Remove AC_PREREQ.
66135
66136 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66137
66138 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66139 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66140 of the internal implementation.
66141
66142 2012-11-02 Joseph Myers <joseph@codesourcery.com>
66143
66144 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66145 except include of <misc/sys/syslog.h>.
66146
66147 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
66148
66149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66150 function returns with a NULL context exit with zero.
66151
66152 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66153
66154 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66155
66156 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
66157
66158 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66159 (run_program_cmd): This.
66160 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66161 (tst_langinfo): New variable. Use it.
66162
66163 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
66164
66165 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66166 floating point opcodes.
66167
66168 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
66169
66170 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66171 variable.
66172
66173 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66174
66175 * sysdeps/mach/hurd/powerpc: Remove directory.
66176 * sysdeps/mach/powerpc: Likewise.
66177
66178 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
66179
66180 * scripts/check-local-headers.sh: Ignore c++ headers.
66181
66182 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
66183
66184 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66185 __libc_cleanup_region_start argument.
66186
66187 2012-11-01 Joseph Myers <joseph@codesourcery.com>
66188
66189 [BZ #14784]
66190 [BZ #14785]
66191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66192 x * y using scaling, not as x * y + z.
66193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66195 * math/libm-test.inc (fma_test): Add more tests.
66196 (fma_test_towardzero): Likewise.
66197 (fma_test_downward): Likewise.
66198 (fma_test_upward): Likewise.
66199
66200 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
66201
66202 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66203
66204 2012-10-31 Joseph Myers <joseph@codesourcery.com>
66205
66206 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66207 New variable.
66208
66209 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
66210
66211 * rt/tst-shm.c (worker): Correct checking for mmap failure.
66212
66213 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
66214
66215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66216 Fix sort order.
66217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66218 Likewise.
66219
66220 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66221
66222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66223 Fix the order of the list for glibc 2.17.
66224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66225 Likewise.
66226
66227 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
66228
66229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66230
66231 2012-10-31 Joseph Myers <joseph@codesourcery.com>
66232
66233 [BZ #14610]
66234 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66235 for low part of x being zero before using __atanl (y).
66236 * math/libm-test.inc (atan2_test): Add another test.
66237
66238 * manual/install.texi (Configuring and compiling): Document
66239 general use of test-wrapper and test-wrapper-env.
66240 * INSTALL: Regenerated.
66241
66242 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66243 (__fma): Do not extract and scale down low bits on after-rounding
66244 systems when result rounded to normal precision would have normal
66245 exponent.
66246 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66247 (__fmal): Do not extract and scale down low bits on after-rounding
66248 systems when result rounded to normal precision would have normal
66249 exponent.
66250 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66251 (__fmal): Do not extract and scale down low bits on after-rounding
66252 systems when result rounded to normal precision would have normal
66253 exponent.
66254 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66255 macro.
66256 (fma_test): Add more tests.
66257 (fma_test_towardzero): Likewise.
66258 (fma_test_downward): Likewise.
66259 (fma_test_upward): Likewise.
66260
66261 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
66262
66263 * sysdeps/i386/tininess.h: Renamed to ...
66264 * sysdeps/x86/tininess.h: This.
66265 * sysdeps/x86_64/tininess.h: Removed.
66266
66267 2012-10-30 Joseph Myers <joseph@codesourcery.com>
66268
66269 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66270 input. Use $(build-program-cmd).
66271 ($(objpfx)tst-array1-static.out): Likewise.
66272 ($(objpfx)tst-array2.out): Likewise.
66273 ($(objpfx)tst-array3.out): Likewise.
66274 ($(objpfx)tst-array4.out): Likewise.
66275 ($(objpfx)tst-array5.out): Likewise.
66276 ($(objpfx)tst-array5-static.out): Likewise.
66277
66278 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
66279
66280 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66281 if defined.
66282
66283 * nss/nsswitch.h (nss_interface_function): Provide new
66284 macro for use with NSS functions.
66285 * grp/initgroups.c: Use new macro.
66286 * nss/getXXbyYY.c: Likewise.
66287 * nss/getXXbyYY_r.c: Likewise.
66288 * nss/getXXent.c: Likewise.
66289 * nss/getXXent_r.c: Likewise.
66290 * sysdeps/posix/getaddrinfo.c: Likewise.
66291
66292 2012-10-30 Andreas Jaeger <aj@suse.de>
66293
66294 * po/ru.po: Update Russion translation from translation project.
66295
66296 2012-10-30 Joseph Myers <joseph@codesourcery.com>
66297
66298 [BZ #14152]
66299 [BZ #14783]
66300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66301 result and shift together with sticky bit instead of replicating
66302 round-to-nearest rounding.
66303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66305 * math/libm-test.inc (fma_test): Add more tests. Do not permit
66306 missing underflow exceptions.
66307 (fma_test_towardzero): Add more tests.
66308 (fma_test_downward): Likewise.
66309 (fma_test_upward): Likewise.
66310
66311 [BZ #14047]
66312 * sysdeps/generic/tininess.h: New file.
66313 * sysdeps/i386/tininess.h: Likewise.
66314 * sysdeps/sh/tininess.h: Likewise.
66315 * sysdeps/x86_64/tininess.h: Likewise.
66316 * stdlib/tst-strtod-underflow.c: Likewise.
66317 * stdlib/tst-tininess.c: Likewise.
66318 * stdlib/strtod_l.c: Include <tininess.h>.
66319 (round_and_return): Do not set errno for exact underflow cases.
66320 Force an underflow exception when setting errno for underflow.
66321 Determine underflow based on rounding to normal precision if
66322 TININESS_AFTER_ROUNDING.
66323 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66324 ERANGE for exact underflow cases.
66325 * stdlib/Makefile (tests): Add tst-tininess and
66326 tst-strtod-underflow.
66327 ($(objpfx)tst-tininess): Use $(link-libm).
66328 ($(objpfx)tst-strtod-underflow): Likewise.
66329
66330 2012-10-30 Andreas Jaeger <aj@suse.de>
66331
66332 [BZ#14767]
66333 * elf/Makefile (tests): Remove conditional for have-initfini-array
66334 since this is now always required and the variable does not exist
66335 anymore.
66336 (tests-static): Likewise.
66337 (modules-names): Likewise.
66338
66339 * po/eo.po: Add Esperanto translation from translation project.
66340
66341 * elf/tst-array1.c (fini_array): Make writeable so that it can be
66342 merged with constructor/destructor.
66343 (init_array): Likewise.
66344 * elf/tst-array2dep.c (fini_array): Likewise.
66345 (init_array): Likewise.
66346
66347 2012-10-29 Mike Frysinger <vapier@gentoo.org>
66348
66349 * manual/message.texi: Delete @cartouche tags.
66350
66351 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
66352
66353 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66354 EOPNOTSUPP.
66355 * sysdeps/mach/hurd/fsync.c: Likewise.
66356
66357 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66358 [_POSIX_REALTIME_SIGNALS]: Change condition to
66359 [_POSIX_REALTIME_SIGNALS > 0].
66360
66361 2012-10-27 Andreas Jaeger <aj@suse.de>
66362
66363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66364 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66366 [__WORDSIZE != 64]: Likewise.
66367
66368 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
66369
66370 * iconvdata/tst-table.sh: Remove ${SHELL}.
66371 * iconvdata/tst-tables.sh: Likewise.
66372
66373 2012-10-25 David S. Miller <davem@davemloft.net>
66374
66375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66376 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
66377 of strtoull.
66378
66379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
66380 ifunc-impl-list.c
66381 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66382 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
66383 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
66384 file.
66385
66386 2012-10-25 Roland McGrath <roland@hack.frob.com>
66387
66388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66389 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
66390 __getdirentries.
66391
66392 2012-10-25 Joseph Myers <joseph@codesourcery.com>
66393 Jim Blandy <jimb@codesourcery.com>
66394
66395 * scripts/cross-test-ssh.sh: New file.
66396 * manual/install.texi (Configuring and compiling): Document use of
66397 cross-test-ssh.sh.
66398 * INSTALL: Regenerated.
66399
66400 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
66401
66402 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
66403 EOPNOTSUPP.
66404
66405 2012-10-25 Joseph Myers <joseph@codesourcery.com>
66406
66407 * Makeconfig (run-program-prefix): Fix comment.
66408
66409 2012-10-24 Joseph Myers <joseph@codesourcery.com>
66410 Jim Blandy <jimb@codesourcery.com>
66411
66412 * Makeconfig (test-wrapper): New variable,
66413 (test-wrapper-env): Likewise.
66414 [$(cross-compiling) = yes && $(test-wrapper) != ""]
66415 (run-built-tests): Define to yes.
66416 (run-program-prefix): Use $(test-wrapper).
66417 (built-program-cmd): Likewise.
66418 * Rules (make-test-out): Use $(test-wrapper-env) and
66419 $(host-built-program-cmd).
66420 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
66421 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
66422 tst-pathopt.sh.
66423 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
66424 $(test-wrapper-env) to tst-rtld-load-self.sh.
66425 ($(objpfx)order2.out): Use $(test-wrapper).
66426 ($(objpfx)tst-initorder.out): Likewise.
66427 ($(objpfx)tst-initorder2.out): Likewise.
66428 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
66429 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
66430 (test_wrapper_env): New variable. Use it to run ld.so.
66431 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
66432 Use it to run ld.so.
66433 (test_wrapper_env): Likewise.
66434 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
66435 $(test-wrapper) to run-iconv-test.sh.
66436 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
66437 (ICONV): Use $test_wrapper.
66438 * posix/Makefile ($(objpfx)globtest.out): Pass
66439 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
66440 globtest.sh, not $(run-program-prefix).
66441 * posix/globtest.sh (run_via_rtld_prefix): New variable.
66442 (test_wrapper): Likewise.
66443 (test_wrapper_env): Likewise. Use it to run globtest with HOME
66444 set together with run_via_rtld_prefix.
66445 (run_program_prefix): Define in terms of test_wrapper and
66446 run_via_rtld_prefix.
66447
66448 2012-10-24 Roland McGrath <roland@hack.frob.com>
66449
66450 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
66451 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
66452 Targets removed.
66453
66454 [BZ #14743]
66455 * include/time.h: Remove librt_hidden_proto (clock_gettime).
66456 Declare __clock_getres, __clock_gettime, __clock_settime,
66457 __clock_nanosleep, and __clock_getcpuclockid.
66458 * rt/clock_gettime.c: Define __clock_gettime as an alias.
66459 Remove librt_hidden_def (clock_gettime).
66460 * sysdeps/unix/clock_gettime.c: Likewise.
66461 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
66462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
66463 * rt/clock_getres.c: Define __clock_getres as an alias.
66464 * sysdeps/posix/clock_getres.c: Likewise.
66465 * rt/clock_settime.c: Define __clock_settime as an alias.
66466 * sysdeps/unix/clock_settime.c: Likewise.
66467 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
66468 * sysdeps/unix/clock_nanosleep.c: Likewise.
66469 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66470 * rt/clock-compat.c: New file.
66471 * rt/Makefile (librt-routines): Add clock-compat and move
66472 $(clock-routines) to ...
66473 (routines): ... here, new variable.
66474 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
66475 Don't add get_clockfreq here.
66476 * rt/Versions (libc: GLIBC_2.17): New version set.
66477 Add clock_* symbols here.
66478 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
66479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
66480 (GLIBC_2.17): Add clock_* symbols.
66481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66485 Likewise.
66486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66487 Likewise.
66488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66492 * NEWS: Mention the move.
66493
66494 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
66495 Use __open, __read, __close rather than their public counterparts.
66496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66497 (__get_clockfreq_via_cpuinfo): Likewise.
66498 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
66499 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
66500
66501 * config.h.in (HAVE_IFUNC): New #undef.
66502 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
66503 was successful.
66504 * configure: Regenerated.
66505
66506 2012-10-24 Mike Frysinger <vapier@gentoo.org>
66507
66508 * configure.in: Move READELF check to start of file.
66509 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
66510 libc_cv_asm_gnu_indirect_function in the process.
66511 * configure: Regenerated.
66512
66513 2012-10-24 Mike Frysinger <vapier@gentoo.org>
66514
66515 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
66516 send the output to /dev/null.
66517 (libc_cv_cc_with_libunwind): Likewise.
66518 (libc_cv_as_noexecstack): Likewise.
66519 * configure: Regenerate.
66520
66521 2012-10-24 Joseph Myers <joseph@codesourcery.com>
66522
66523 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
66524
66525 * posix/globtest.sh (TMPDIR): Do not set.
66526 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
66527 (testout): Likewise.
66528
66529 2012-10-24 Andreas Jaeger <aj@suse.de>
66530
66531 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
66532 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
66533 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
66534 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
66535 posix_fadvise64, posix_fallocate64.
66536
66537 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
66538 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
66539 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
66540 Likewise.
66541 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
66542 Likewise.
66543 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
66544
66545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
66546 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
66547 <bits/fcntl-linux.h>.
66548 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
66549
66550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
66551 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
66552 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
66553 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
66554 [__WORDSIZE != 64]: Likewise.
66555
66556 2012-10-23 Joseph Myers <joseph@codesourcery.com>
66557
66558 * Makeconfig (run-built-tests): New variable.
66559 * Rules [$(cross-compiling) = yes]: Change condition to
66560 [$(run-built-tests) = no].
66561 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
66562 to [$(run-built-tests) = yes].
66563 * elf/Makefile [$(cross-compiling) = no]: Likewise.
66564 * grp/Makefile [$(cross-compiling) = no]: Likewise.
66565 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
66566 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
66567 * intl/Makefile [$(cross-compiling) = no]: Likewise.
66568 * io/Makefile [$(cross-compiling) = no]: Likewise.
66569 * libio/Makefile [$(cross-compiling) = no]: Likewise.
66570 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
66571 * misc/Makefile [$(cross-compiling) = no]: Likewise.
66572 * posix/Makefile [$(cross-compiling) = no]: Likewise.
66573 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
66574 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
66575 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
66576 * string/Makefile [$(cross-compiling) = no]: Likewise.
66577
66578 * posix/Makefile ($(objpfx)globtest.out): Pass
66579 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
66580 $(rtld-installed-name).
66581 * posix/globtest.sh (elf_objpfx): Remove variable.
66582 (rtld_installed_name): Likewise.
66583 (library_path): Likewise.
66584 (run_program_prefix): New variable. Use for running globtest
66585 binary.
66586
66587 2012-10-23 Jim Blandy <jimb@codesourcery.com>
66588 Joseph Myers <joseph@codesourcery.com>
66589
66590 * Makeconfig (host-built-program-cmd): New variable.
66591 * elf/Makefile (tst-stackguard1-ARGS): Use
66592 $(host-built-program-cmd).
66593 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
66594 (tst-spawn-ARGS): Likewise.
66595 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
66596
66597 2012-10-23 Joseph Myers <joseph@codesourcery.com>
66598 Jim Blandy <jimb@codesourcery.com>
66599
66600 * Makeconfig (run-via-rtld-prefix): New variable.
66601 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
66602 (built-program-cmd): Likewise.
66603
66604 2012-10-22 Andreas Jaeger <aj@suse.de>
66605
66606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
66607 __O_RSYNC if it exists, otherwise to O_SYNC.
66608
66609 2012-10-22 Jim Blandy <jimb@codesourcery.com>
66610 Joseph Myers <joseph@codesourcery.com>
66611
66612 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
66613 /dev/null.
66614 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
66615 from /dev/null
66616 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
66617 /dev/null.
66618
66619 2012-10-22 Andreas Jaeger <aj@suse.de>
66620
66621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
66622 Define always.
66623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
66624
66625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66626 bits/fcntl-linux.h.
66627
66628 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
66629 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
66630
66631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
66632 to __O_LARGEFILE.
66633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
66634 to __O_LARGEFILE.
66635
66636 2012-10-21 Jim Blandy <jimb@codesourcery.com>
66637 Joseph Myers <joseph@codesourcery.com>
66638
66639 * config.make.in (NM): New variable.
66640
66641 2012-10-21 Andreas Jaeger <aj@suse.de>
66642
66643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
66644 definitions and declarations that are provided by
66645 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66646
66647 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
66648
66649 [BZ #14683]
66650 * elf/Makefile (tests-static): Add tst-leaks1-static.
66651 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
66652 ($(objpfx)tst-leaks1-static): New rule.
66653 ($(objpfx)tst-leaks1-static-mem): Likewise.
66654 (tst-leaks1-static-ENV): New macro.
66655 * elf/dl-open.c (dl_open_worker): Check the main application
66656 only if SHARED is defined.
66657 * elf/tst-leaks1-static.c: New file.
66658
66659 2012-10-20 Andreas Jaeger <aj@suse.de>
66660
66661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
66662 generic values for Linux.
66663 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
66664 and declarations that are provided by <bits/fcntl-linux.h> and
66665 include <bits/fcntl-linux.h>.
66666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66668
66669 2012-10-20 Roland McGrath <roland@hack.frob.com>
66670
66671 * io/fcntl.h: Move include of <bits/types.h> to the top and
66672 include it unconditionally.
66673
66674 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
66675
66676 * wcsmbs/Makefile (tests-ifunc): New variable.
66677 (tests): Add $(tests-ifunc).
66678 * wcsmbs/test-wcschr-ifunc.c: New file.
66679 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
66680 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
66681 * wcsmbs/test-wcslen-ifunc.c: Likewise.
66682 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
66683 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
66684
66685 * string/Makefile (tests-ifunc): New variable.
66686 (tests): Add $(tests-ifunc).
66687 * string/test-memccpy.c (TEST_NAME): New macro.
66688 * string/test-memchr.c (TEST_NAME): Likewise.
66689 * string/test-memcmp.c (TEST_NAME): Likewise.
66690 * string/test-memcpy.c (TEST_NAME): Likewise.
66691 * string/test-memmem.c (TEST_NAME): Likewise.
66692 * string/test-memmove.c (TEST_NAME): Likewise.
66693 * string/test-memset.c (TEST_NAME): Likewise.
66694 * string/test-rawmemchr.c (TEST_NAME): Likewise.
66695 * string/test-stpcpy.c (TEST_NAME): Likewise.
66696 * string/test-stpncpy.c (TEST_NAME): Likewise.
66697 * string/test-strcasecmp.c (TEST_NAME): Likewise.
66698 * string/test-strcasestr.c (TEST_NAME): Likewise.
66699 * string/test-strcat.c (TEST_NAME): Likewise.
66700 * string/test-strchr.c (TEST_NAME): Likewise.
66701 * string/test-strcmp.c(TEST_NAME): Likewise.
66702 * string/test-strcpy.c (TEST_NAME): Likewise.
66703 * string/test-strcspn.c (TEST_NAME): Likewise.
66704 * string/test-strlen.c (TEST_NAME): Likewise.
66705 * string/test-strncasecmp.c (TEST_NAME): Likewise.
66706 * string/test-strncmp.c (TEST_NAME): Likewise.
66707 * string/test-strncpy.c (TEST_NAME): Likewise.
66708 * string/test-strnlen.c (TEST_NAME): Likewise.
66709 * string/test-strpbrk.c (TEST_NAME): Likewise.
66710 * string/test-strrchr.c (TEST_NAME): Likewise.
66711 * string/test-strspn.c (TEST_NAME): Likewise.
66712 * string/test-strstr.c (TEST_NAME): Likewise.
66713 * string/test-bcopy-ifunc.c: New file.
66714 * string/test-bzero-ifunc.c: Likewise.
66715 * string/test-memccpy-ifunc.c: Likewise.
66716 * string/test-memchr-ifunc.c: Likewise.
66717 * string/test-memcmp-ifunc.c: Likewise.
66718 * string/test-memcpy-ifunc.c: Likewise.
66719 * string/test-memmem-ifunc.c: Likewise.
66720 * string/test-memmove-ifunc.c: Likewise.
66721 * string/test-mempcpy-ifunc.c: Likewise.
66722 * string/test-memset-ifunc.c: Likewise.
66723 * string/test-rawmemchr-ifunc.c: Likewise.
66724 * string/test-stpcpy-ifunc.c: Likewise.
66725 * string/test-stpncpy-ifunc.c: Likewise.
66726 * string/test-strcasecmp-ifunc.c: Likewise.
66727 * string/test-strcasestr-ifunc.c: Likewise.
66728 * string/test-strcat-ifunc.c: Likewise.
66729 * string/test-strchr-ifunc.c: Likewise.
66730 * string/test-strchrnul-ifunc.c: Likewise.
66731 * string/test-strcmp-ifunc.c: Likewise.
66732 * string/test-strcpy-ifunc.c: Likewise.
66733 * string/test-strcspn-ifunc.c: Likewise.
66734 * string/test-strlen-ifunc.c: Likewise.
66735 * string/test-strncasecmp-ifunc.c: Likewise.
66736 * string/test-strncat-ifunc.c: Likewise.
66737 * string/test-strncmp-ifunc.c: Likewise.
66738 * string/test-strncpy-ifunc.c: Likewise.
66739 * string/test-strnlen-ifunc.c: Likewise.
66740 * string/test-strpbrk-ifunc.c: Likewise.
66741 * string/test-strrchr-ifunc.c: Likewise.
66742 * string/test-strspn-ifunc.c: Likewise.
66743 * string/test-strstr-ifunc.c: Likewise.
66744
66745 * debug/Makefile (tests-ifunc): New variable.
66746 (tests): Add $(tests-ifunc).
66747 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
66748 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
66749 * debug/test-stpcpy_chk-ifunc.c: New file.
66750 * debug/test-strcpy_chk-ifunc.c: Likewise.
66751
66752 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
66753
66754 [BZ #13601]
66755 * elf/dl-load.c (open_verify): Retry read if the entire ELF
66756 header is not read in.
66757
66758 2012-10-19 Joseph Myers <joseph@codesourcery.com>
66759
66760 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
66761 script to $(SHELL) as $<. Pass $(common-objpfx) to script
66762 directly. Pass built executable to script as
66763 $(built-program-cmd).
66764 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
66765 $testprogram without using LD_LIBRARY_PATH and $ldso.
66766
66767 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
66768 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
66769 $(rtld-installed-name).
66770 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
66771 (rtld_installed_name): Likewise.
66772 (library_path): Likewise.
66773 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
66774 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
66775 $(run-program-prefix) to tst-tables.sh.
66776 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
66777 it to run tst-table-from and tst-table-to.
66778 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
66779 Pass it to tst-table.sh.
66780 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
66781 $(run-program-prefix) to tst-gettext.sh.
66782 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
66783 tst-translit.sh.
66784 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
66785 tst-gettext2.sh.
66786 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
66787 to run tst-gettext.
66788 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
66789 to run tst-gettext2.
66790 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
66791 to run tst-translit.
66792 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
66793 $(run-program-prefix) to tst-mtrace.sh.
66794 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
66795 to run tst-mtrace.
66796 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
66797 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
66798 $(rtld-installed-name).
66799 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
66800 (rtld_installed_name): Likewise.
66801 (run_program_prefix): New variable. Use it to run wordexp-test.
66802
66803 * Makeconfig (ARCH): Remove all definitions.
66804 (machine): Likewise.
66805 [ARCH]: Remove conditional code.
66806 [!objdir]: Give error.
66807 [!objdir] (objpfx): Remove.
66808 [!objdir] (common-objpfx): Likewise.
66809 [!objdir] (common-objdir): Likewise.
66810 * configure.in (config_makefile): Remove. Hardcode Makefile in
66811 AC_CONFIG_FILES call.
66812 * configure: Regenerated.
66813
66814 [BZ #13888]
66815 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
66816 or TMPDIR.
66817 (testout): Likewise.
66818
66819 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
66820 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
66821 $(rtld-installed-name).
66822 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
66823 (rtld_installed_name): Likewise.
66824 (runit): Remove function.
66825 (run_getconf): New variable, Use it for running getconf binary.
66826
66827 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
66828
66829 [BZ #14716]
66830 * string/test-memmem.c (check_result): New function.
66831 (do_one_test): Use it.
66832 (check1): New function.
66833 (test_main): Use it.
66834
66835 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
66836
66837 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
66838
66839 2012-10-18 Joseph Myers <joseph@codesourcery.com>
66840
66841 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
66842 (_G_LSEEK64): Likewise.
66843 (_G_MMAP64): Likewise.
66844 (_G_FSTAT64): Likewise.
66845 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
66846 (_G_LSEEK64): Likewise.
66847 (_G_MMAP64): Likewise.
66848 (_G_FSTAT64): Likewise.
66849 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
66850 unconditional. Call __mmap64 directly.
66851 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
66852 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
66853 __lseek64 directly.
66854 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
66855 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
66856 __mmap64 directly.
66857 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
66858 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
66859 __lseek64 directly.
66860 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
66861 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
66862 __lseek64 directly.
66863 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
66864 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
66865 __lseek64 directly.
66866 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
66867 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
66868 __fxstat64 directly.
66869 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
66870 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
66871 unconditional.
66872 (freopen64) [!_G_OPEN64]: Remove conditional code.
66873 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
66874 unconditional.
66875 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
66876 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
66877 unconditional.
66878 (ftello64) [!_G_LSEEK64]: Remove conditional code.
66879 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
66880 unconditional.
66881 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66882 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
66883 unconditional.
66884 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
66885 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
66886 unconditional.
66887 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66888 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
66889 unconditional.
66890 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66891 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
66892 unconditional.
66893 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66894
66895 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
66896
66897 [BZ #12140]
66898 * manual/memory.texi (Malloc Tunable Parameters): Add note
66899 about free list pointers overwriting some perturb bytes.
66900 Wording suggested by Roland McGrath.
66901
66902 2012-10-17 Joseph Myers <joseph@codesourcery.com>
66903
66904 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
66905 (lgamma_test): Likewise.
66906 (tgamma_test): Likewise.
66907
66908 2012-10-16 Florian Weimer <fweimer@redhat.com>
66909
66910 [BZ #14700]
66911 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
66912 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
66913
66914 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
66915
66916 * NEWS: Mention BZ #14716.
66917 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
66918 when removing AVAILABLE1_USES_J macro.
66919
66920 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
66921
66922 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
66923 (__bswap_64): __uint64_t for unsigned 64-bit int.
66924
66925 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
66926
66927 * include/string.h (memmem): Declare libc hidden alias.
66928 * string/memmem.c (memmem): Define libc hidden alias.
66929 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
66930 __read, __close instead of open, read, close.
66931
66932 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
66933
66934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
66935 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
66936 global and hidden.
66937 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
66938 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
66939 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
66940 Likewise.
66941 (__rawmemchr_sse2): Likewise.
66942 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
66943 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
66944 (__strchr_sse2): Likewise.
66945 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
66946 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
66947 (__strcasecmp_sse2): Likewise.
66948 (__strncasecmp_sse2): Likewise.
66949 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
66950 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
66951 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
66952 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
66953 (__strrchr_sse2): Likewise.
66954 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
66955 ifunc-impl-list.c.
66956 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
66957 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
66958 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
66959 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66960 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
66961 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
66962 * sysdeps/x86_64/multiarch/memset.S: Likewise.
66963 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66964 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
66965 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
66966 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
66967 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
66968 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
66969 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
66970 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
66971 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
66972 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
66973 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
66974 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
66975 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
66976 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
66977 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
66978 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
66979 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66980 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
66981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66982 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
66983 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66984 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
66985 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
66986
66987 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
66988 global and hidden.
66989 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
66990 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
66991 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
66992 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
66993 Likewise.
66994 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
66995 Likewise.
66996 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
66997 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
66998 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
66999 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67000 ifunc-impl-list.c.
67001 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67002 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67003 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67004 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67005 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67006 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67007 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67008 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67009 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67010 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67011 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67012 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67013 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67014 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67015 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67016 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67017 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67018 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67019 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67020 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67022 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67023 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67024 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67025 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67026 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67027 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67028 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67029 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67030 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67031 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67032 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67033 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67034 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67035 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67036 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67037 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67038 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67039 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67040 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67041 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67042
67043 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67044 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67045 * include/ifunc-impl-list.h: New file.
67046 * misc/ifunc-impl-list.c: Likewise.
67047 * misc/Makefile (routines): Add ifunc-impl-list.
67048 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67049 * string/test-string.h: Include <ifunc-impl-list.h>.
67050 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67051 TEST_NAME]: New variables.
67052 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67053 are defined.
67054 (test_init): Call __libc_ifunc_impl_list to initialize
67055 func_list if TEST_IFUNC and TEST_NAME are defined.
67056
67057 * string/Makefile (strop-tests): Add bcopy and bzero.
67058 * string/test-bcopy.c: New file.
67059 * string/test-bzero.c: Likewise.
67060 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67061 defined.
67062 * string/test-memset.c: Support bzero test if TEST_BZERO is
67063 defined.
67064 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67065 __libc_memmove.
67066 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67067 __libc_memset.
67068 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67069 of memset.
67070
67071 2012-10-10 Joseph Myers <joseph@codesourcery.com>
67072
67073 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67074 * configure: Regenerated.
67075
67076 * Makeconfig (+link-static-before-libc): Don't include
67077 $(link-static-libc).
67078
67079 * libio/libio.h (_IO_pos_t): Remove.
67080
67081 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
67082
67083 * NEWS: Add note about FIPS mode. Wording suggested by Roland
67084 McGrath.
67085
67086 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
67087
67088 * crypt/crypt-entry.c: Include fips-private.h.
67089 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67090 * crypt/md5c-test.c (main): Tolerate disabled MD5.
67091 * sysdeps/unix/sysv/linux/fips-private.h: New file.
67092 * sysdeps/generic/fips-private.h: New file, dummy fallback.
67093
67094 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
67095
67096 * crypt/crypt-private.h: Include stdbool.h.
67097 (_ufc_setup_salt_r): Return bool.
67098 * crypt/crypt-entry.c: Include errno.h.
67099 (__crypt_r): Return NULL with EINVAL for bad salt.
67100 * crypt/crypt_util.c (bad_for_salt): New.
67101 (_ufc_setup_salt_r): Check that salt is long enough and within
67102 the specified alphabet.
67103 * crypt/badsalttest.c: New file.
67104 * crypt/Makefile (tests): Add it.
67105 ($(objpfx)badsalttest): New.
67106
67107 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
67108
67109 * NEWS: Add entry for BZ #14602.
67110
67111 2012-10-09 Joseph Myers <joseph@codesourcery.com>
67112
67113 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67114 type-generic.
67115 * math/libm-test.inc: Update comment listing what functions and
67116 macros are tested.
67117 (isgreater_test): New function.
67118 (isgreaterequal_test): Likewise.
67119 (isless_test): Likewise.
67120 (islessequal_test): Likewise.
67121 (islessgreater_test): Likewise.
67122 (isunordered_test): Likewise.
67123 (main): Call the new functions.
67124
67125 2012-10-09 Roland McGrath <roland@hack.frob.com>
67126
67127 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67128 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67129 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67130 * sysdeps/i386/configure: Regenerated.
67131 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67132 * sysdeps/mach/configure: Regenerated.
67133 * sysdeps/mach/hurd/configure: Regenerated.
67134 * sysdeps/powerpc/configure: Regenerated.
67135 * sysdeps/powerpc/powerpc32/configure: Regenerated.
67136 * sysdeps/powerpc/powerpc64/configure: Regenerated.
67137 * sysdeps/s390/s390-32/configure: Regenerated.
67138 * sysdeps/s390/s390-64/configure: Regenerated.
67139 * sysdeps/sh/configure: Regenerated.
67140 * sysdeps/sparc/configure: Regenerated.
67141 * sysdeps/unix/sysv/linux/configure: Regenerated.
67142 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67143 * sysdeps/x86_64/configure: Regenerated.
67144
67145 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67146 defined. Don't check if MAP is NULL.
67147
67148 2012-10-09 Joseph Myers <joseph@codesourcery.com>
67149
67150 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67151 (_G_stat64): Likewise.
67152 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67153 (_G_stat64): Likewise.
67154 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67155 instead of struct _G_stat64.
67156 * libio/fileops.c (mmap_remap_check): Likewise.
67157 (decide_maybe_mmap): Likewise.
67158 (_IO_new_file_seekoff): Likewise.
67159 (_IO_file_stat): Likewise.
67160 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67161 _G_off64_t.
67162 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67163 instead of struct _G_stat64.
67164 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67165
67166 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
67167
67168 [BZ #14602]
67169 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67170 Replace with ...
67171 (CHECK_EOL): New macro.
67172 (two_way_short_needle): Check beginning of haystack for EOL. Use
67173 CHECK_EOL.
67174 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67175 Replace with CHECK_EOL.
67176 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67177 Replace with CHECK_EOL.
67178
67179 2012-10-08 Joseph Myers <joseph@codesourcery.com>
67180
67181 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67182 type-generic.
67183 * math/libm-test.inc: Update comment listing what functions and
67184 macros are tested.
67185 (finite_test): New function.
67186 (isinf_test): Likewise.
67187 (isnan_test): Likewise.
67188 (fpclassify_test): Test subnormal input.
67189 (isfinite_test): Likewise.
67190 (isnormal_test): Likewise.
67191 (main): Call the new functions.
67192
67193 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
67194
67195 [BZ #14660]
67196 * Makerules (%.dynsym): Force C locale when running
67197 $(OBJDUMP) --dynamic-syms.
67198
67199 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
67200
67201 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67202 <stdint.h>.
67203
67204 2012-10-06 David S. Miller <davem@davemloft.net>
67205
67206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67207 upper 32-bits of the length value in %o2 since we use branch-on-register
67208 tests which consider the entire 64-bit register.
67209
67210 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
67211
67212 * string/test-strstr.c (check2): Add a test for page boundary.
67213
67214 2012-10-05 David S. Miller <davem@davemloft.net>
67215
67216 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67217 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67218 file.
67219 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67220 sysdep_routines.
67221 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67222 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67223 and bzero when HWCAP_SPARC_CRYPTO is present.
67224
67225 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
67226
67227 [BZ #14602]
67228 * string/test-strstr.c (check2): New function.
67229 (test_main): Call check2.
67230
67231 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67232 and bug-strchr1.
67233 * string/bug-strcasestr1.c (do_test): Moved to ...
67234 * string/test-strcasestr.c (check1): Here. New function.
67235 (do_one_test): Break out result checking code into ...
67236 (check_result): This. New function.
67237 (do_one_test): Call check_result.
67238 (test_main): Call check1.
67239 * string/bug-strchr1.c (do_test): Moved to ...
67240 * string/test-strchr.c (check1): Here. New function.
67241 (do_one_test): Break out result checking code into ...
67242 (check_result): This. New function.
67243 (do_one_test): Call check_result.
67244 (test_main): Call check1.
67245 * string/bug-strstr1.c (main): Moved to ...
67246 * string/test-strstr.c (check1): Here. New function.
67247 (do_one_test): Break out result checking code into ...
67248 (check_result): This. New function.
67249 (do_one_test): Call check_result.
67250 (test_main): Call check1.
67251 * string/bug-strcasestr1.c: Removed.
67252 * string/bug-strchr1.c: Likewise.
67253 * string/bug-strstr1.c: Likewise.
67254
67255 * elf/Makefile (dl-routines): Add hwcaps.
67256 * elf/dl-support.c (_dl_important_hwcaps): Removed.
67257 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67258 (_dl_important_hwcaps): Moved to ...
67259 * elf/dl-hwcaps.c: Here. New file.
67260 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67261
67262 [BZ #14557]
67263 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67264 if IS_IN_rtld isn't defined.
67265
67266 * elf/dl-support.c (_dl_sysinfo_map): New.
67267 Include "get-dynamic-info.h" and "setup-vdso.h".
67268 (_dl_non_dynamic_init): Call setup_vdso.
67269 * elf/dynamic-link.h: Don't include <assert.h>.
67270 (elf_get_dynamic_info): Moved to ...
67271 * elf/get-dynamic-info.h: Here. New file.
67272 * elf/dynamic-link.h: Include "get-dynamic-info.h".
67273 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67274 * elf/setup-vdso.h: Here. New file.
67275 * elf/rtld.c: Include "setup-vdso.h".
67276 (dl_main): Call setup_vdso.
67277
67278 2012-10-05 Joseph Myers <joseph@codesourcery.com>
67279
67280 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67281 creal in comment listing functions tested. List finite, isinf,
67282 isnan, isless, islessequal, isgreater, isgreaterequal,
67283 islessgreater, isunordered, lgamma_r and pow10 as functions and
67284 macros not tested. Mention which functions not tested are aliases
67285 for other functions. Fix typo. Note that signs of NaNs are not
67286 tested.
67287
67288 * scripts/config.guess: Update from config.git.
67289 * scripts/config.sub: Likewise.
67290
67291 2012-10-04 Roland McGrath <roland@hack.frob.com>
67292
67293 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67294 * misc/madvise.c (madvise): Renamed to __madvise.
67295 Make madvise a weak alias.
67296 * include/sys/mman.h: Declare __madvise.
67297 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67298 * sysdeps/unix/syscalls.list
67299 (madvise): Make __madvise the strong name, and madvise a weak alias.
67300 * sysdeps/unix/sysv/linux/syscalls.list
67301 (madvise, mmap): Remove redundant entries.
67302 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67303 * malloc/malloc.c (mtrim): Likewise.
67304 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67305
67306 2012-10-03 Roland McGrath <roland@hack.frob.com>
67307
67308 * sysdeps/mach/hurd/dl-cache.c: File removed.
67309 * config.h.in (USE_LDCONFIG): New #undef.
67310 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67311 * configure: Regenerated.
67312 * elf/Makefile (dl-routines): Add dl-cache only under
67313 [$(use-ldconfig) = yes].
67314 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67315 cache on [USE_LDCONFIG].
67316 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67317 [USE_LDCONFIG].
67318 * elf/rtld.c (dl_main): Likewise.
67319
67320 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
67321
67322 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67323 _SC_LEVEL4_CACHE_LINESIZE.
67324
67325 2012-10-03 Roland McGrath <roland@hack.frob.com>
67326
67327 * sysdeps/unix/bsd/confstr.h: File removed.
67328
67329 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
67330
67331 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67332 sys/sdt-config.h.
67333
67334 2012-10-02 Roland McGrath <roland@hack.frob.com>
67335
67336 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67337 Make 'mapoff' field ElfW(Off) rather than off_t.
67338
67339 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
67340
67341 * nscd/Makefile: Remove nscd-cflags and all its users.
67342 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67343 (CFLAGS-nonlib): Add compiler flags for nscd modules.
67344
67345 [BZ #10631]
67346 * malloc.c (malloc_printerr): Clarify error message.
67347
67348 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
67349
67350 [BZ #14648]
67351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67352 Set bit_FMA_Usable if FMA is supported.
67353 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67354 macro.
67355 (bit_FMA4_Usable): Updated.
67356 (index_FMA_Usable): New macro.
67357 (CPUID_FMA): Likewise.
67358 (HAS_FMA): Defined with bit_FMA_Usable.
67359
67360 2012-10-01 Roland McGrath <roland@hack.frob.com>
67361
67362 * bits/types.h (__swblk_t): Type removed.
67363 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67364 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67366 (__SWBLK_T_TYPE): Likewise.
67367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67368 (__SWBLK_T_TYPE): Likewise.
67369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67370 (__SWBLK_T_TYPE): Likewise.
67371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67372 (__SWBLK_T_TYPE): Likewise.
67373
67374 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
67375 Honza Horak <hhorak@redhat.com>
67376
67377 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
67378 (xdr_mapname): Use YPMAXMAP as maxsize.
67379 (xdr_peername): Use YPMAXPEER as maxsize.
67380 (xdr_keydat): Use YPAXRECORD as maxsize.
67381 (xdr_valdat): Use YPMAXRECORD as maxsize.
67382
67383 2012-10-01 Roland McGrath <roland@hack.frob.com>
67384
67385 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
67386
67387 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
67388 * csu/init-first.c: ... here.
67389 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
67390 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67391 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
67392 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67393 * sysdeps/i386/init-first.c: File removed.
67394 * sysdeps/sh/init-first.c: File removed.
67395
67396 2012-10-01 Joseph Myers <joseph@codesourcery.com>
67397
67398 [BZ #14645]
67399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
67400 if x * y might underflow to zero and z is zero.
67401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67403 * math/libm-test.inc (min_subnorm_value): New variable.
67404 (fma_test): Add more tests.
67405 (fma_test_towardzero): Likewise.
67406 (fma_test_downward): Likewise.
67407 (fma_test_upward): Likewise.
67408 (initialize): Set min_subnorm_value.
67409
67410 2012-09-29 Joseph Myers <joseph@codesourcery.com>
67411
67412 [BZ #14638]
67413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
67414 0 + 0.
67415 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
67416 mode for addition resulting in exact zero.
67417 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
67418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
67419 exact 0 + 0.
67420 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67422 * math/libm-test.inc (fma_test): Add more tests.
67423 (fma_test_towardzero): New function.
67424 (fma_test_downward): Likewise.
67425 (fma_test_upward): Likewise.
67426 (main): Call the new functions.
67427
67428 2012-09-28 David S. Miller <davem@davemloft.net>
67429
67430 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
67431
67432 2012-09-28 Roland McGrath <roland@hack.frob.com>
67433
67434 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
67435 instead of SIGALRM.
67436
67437 * sysdeps/gnu/_G_config.h: Moved to ...
67438 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
67439 * sysdeps/mach/hurd/_G_config.h: Moved to ...
67440 * sysdeps/generic/_G_config.h: ... here.
67441
67442 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
67443
67444 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
67445
67446 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
67447 Conditionalize target on [libnss_test1.so-version].
67448
67449 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67450
67451 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
67452 (elfobjdir): Move out of conditionals.
67453
67454 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
67455 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
67456 (__nss_lookup_function): Conditionalize label remove_from_tree on
67457 [!DO_STATIC_NSS || SHARED], matching its only use.
67458
67459 2012-09-28 David S. Miller <davem@davemloft.net>
67460
67461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67462 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
67463 file.
67464 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67465 sysdep_routines.
67466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
67468 when HWCAP_SPARC_CRYPTO is present.
67469
67470 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
67471
67472 * io/tst-mknodat.c: Create a FIFO instead of a socket.
67473
67474 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
67475
67476 [BZ #6530]
67477 * stdio-common/vfprintf.c (process_string_arg): Revert
67478 2000-07-22 change.
67479
67480 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
67481
67482 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
67483 for testcase.
67484 * stdio-common/tst-sprintf.c: Include <locale.h>
67485 (main): Test sprintf's handling of incomplete multibyte
67486 characters.
67487
67488 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
67489
67490 * elf/dl-runtime.c (VERSYMIDX): Removed.
67491 * elf/dl-version.c (VERSYMIDX): Likewise.
67492 * elf/do-rel.h (VERSYMIDX): Likewise.
67493 (VALIDX): Likewise.
67494 * elf/dynamic-link.h (VERSYMIDX): Likewise.
67495 * elf/rtld.c (VALIDX): Likewise.
67496 (ADDRIDX): Likewise.
67497 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
67498 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
67499 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
67500 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
67501 (VALIDX): Likewise.
67502 (ADDRIDX): Likewise.
67503
67504 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
67505
67506 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
67507
67508 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
67509
67510 [BZ #11438]
67511 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
67512 to global scope.
67513 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
67514 addresses are in the same scope as 192.0.2/24.
67515 * posix/gai.conf: Document new scope table defaults.
67516
67517 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67518
67519 [BZ #5298]
67520 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
67521 for ftell. Compute offsets from write pointers instead.
67522 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67523
67524 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67525
67526 [BZ #14543]
67527 * libio/Makefile (tests): New test case tst-fseek.
67528 * libio/tst-fseek.c: New test case to verify that fseek/ftell
67529 combination works in wide mode.
67530 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
67531 state when the external buffer state changes.
67532
67533 2012-09-27 David S. Miller <davem@davemloft.net>
67534
67535 [BZ #14376]
67536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
67537 pass reloc->r_addend in as the 'high' argument to
67538 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
67539
67540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67541
67542 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
67543
67544 * rt/tst-aio2.c: Include <pthread.h>.
67545 * rt/tst-aio3.c: Likewise.
67546
67547 2012-09-27 Steve Ellcey <sellcey@mips.com>
67548
67549 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
67550
67551 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
67552
67553 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
67554 contents on [SHARED].
67555
67556 2012-09-26 Marek Polacek <polacek@redhat.com>
67557
67558 [BZ #14530]
67559 [BZ #13741]
67560 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
67561 for C++ and GCC <4.3 as well as for non GCC compilers.
67562
67563 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
67564
67565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67566
67567 2012-09-25 Roland McGrath <roland@hack.frob.com>
67568
67569 * Makefile.in (all, install): Declare with .PHONY.
67570 Reported by Michael Hope <michael.hope@linaro.org>.
67571
67572 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67573
67574 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
67575 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
67576 system header.
67577 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
67578 Likewise.
67579 (sydep_routines): Add the new and the internal functions.
67580 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
67581 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
67582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
67583 (GLIBC_2.17): Add the new function.
67584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67585 (GLIBC_2.17): Likewise.
67586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
67587 (GLIBC_2.17): Likewise.
67588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
67589 (GLIBC_2.17): Likewise.
67590 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
67591
67592 2012-09-25 Alan Modra <amodra@gmail.com>
67593
67594 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
67595 Add release barrier before setting once_control to say
67596 initialisation is done. Add hints on lwarx. Use macro in
67597 place of isync.
67598 (clear_once_control): Add release barrier.
67599
67600 2012-09-25 Joseph Myers <joseph@codesourcery.com>
67601
67602 [BZ #13629]
67603 * math/s_clog.c (__clog): Handle more values close to |z| = 1
67604 specially.
67605 * math/s_clog10.c (__clog10): Likewise.
67606 * math/s_clog10f.c (__clog10f): Likewise.
67607 * math/s_clog10l.c (__clog10l): Likewise.
67608 * math/s_clogf.c (__clogf): Likewise.
67609 * math/s_clogl.c (__clogl): Likewise.
67610 * math/Makefile (libm-calls): Add x2y2m1.
67611 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
67612 (__x2y2m1): Likewise.
67613 (__x2y2m1l): Likewise.
67614 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
67615 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
67616 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
67617 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
67618 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
67619 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
67620 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
67621 * sysdeps/i386/fpu/libm-test-ulps: Update.
67622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67623
67624 [BZ #14621]
67625 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
67626 int as type of variable DEPTH.
67627 (glob): Use size_t instead of int as type of variables NEWCOUNT
67628 and OLD_PATHC.
67629
67630 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67631
67632 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67633 Add s_sincosf-sse2.
67634 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
67635 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
67636 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
67637 macros for using routine as __sincosf_ia32.
67638 Use macro for function declaration and weak_alias.
67639 * sysdeps/i386/fpu/libm-test-ulps: Update.
67640
67641 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
67642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67643
67644 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
67645 subnormal argument.
67646 * math/s_cexpf.c (__cexpf): Likewise.
67647 * math/s_csinf.c (__csinf): Likewise.
67648 * math/s_csinhf.c (__csinhf): Likewise.
67649 * math/s_ctanf.c (__ctanf): Likewise.
67650 * math/s_ctanhf.c (__ctanhf): Likewise.
67651 * math/s_ccosh.c (__ccoshf): Likewise.
67652 * math/s_cexp.c (__cexpl): Likewise.
67653 * math/s_csin.c (__csin): Likewise.
67654 * math/s_csinh.c (__csinh): Likewise.
67655 * math/s_ctan.c (__ctan): Likewise.
67656 * math/s_ctanh.c (ctanh): Likewise.
67657 * math/s_ccoshl.c (__ccoshl): Likewise.
67658 * math/s_cexpl.c (__cexpl): Likewise.
67659 * math/s_csinl.c (__csinl): Likewise.
67660 * math/s_csinhl.c (__csinhl): Likewise.
67661 * math/s_ctanl.c (__ctanl): Likewise.
67662 * math/s_ctanhl.c (__ctanhl): Likewise.
67663
67664 2012-09-25 Joseph Myers <joseph@codesourcery.com>
67665
67666 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
67667 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
67668 (_IO_off_t): Define to __off_t, not _G_off_t.
67669 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
67670 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
67671 (_IO_wint_t): Define to wint_t, not _G_wint_t.
67672 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
67673 type of __dummy and __dummy2 fields.
67674 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
67675 (_G_ssize_t): Likewise.
67676 (_G_off_t): Likewise.
67677 (_G_pid_t): Likewise.
67678 (_G_uid_t): Likewise.
67679 (_G_wchar_t): Likewise.
67680 (_G_wint_t): Likewise.
67681 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
67682 (_G_ssize_t): Likewise.
67683 (_G_off_t): Likewise.
67684 (_G_pid_t): Likewise.
67685 (_G_uid_t): Likewise.
67686 (_G_wchar_t): Likewise.
67687 (_G_wint_t): Likewise.
67688 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
67689 (_G_ssize_t): Likewise.
67690 (_G_off_t): Likewise.
67691 (_G_pid_t): Likewise.
67692 (_G_uid_t): Likewise.
67693 (_G_wchar_t): Likewise.
67694 (_G_wint_t): Likewise.
67695
67696 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
67697
67698 * malloc/arena.c: Include malloc-sysdep.h.
67699 (shrink_heap): Use check_may_shrink_heap to decide if madvise
67700 is sufficient to shrink the heap or an unmap is needed.
67701 * sysdeps/generic/malloc-sysdep.h: New file. Define
67702 new function check_may_shrink_heap.
67703 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
67704 new function check_may_shrink_heap.
67705
67706 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
67707
67708 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
67709 comments.
67710
67711 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
67712
67713 * catgets/test-gencat.sh: Add "set -e".
67714 * elf/tst-pathopt.sh: Likewise.
67715 * grp/tst_fgetgrent.sh: Likewise.
67716 * iconvdata/run-iconv-test.sh: Likewise.
67717 * intl/tst-gettext.sh: Likewise.
67718 * intl/tst-gettext2.sh: Likewise.
67719 * intl/tst-gettext4.sh: Likewise.
67720 * intl/tst-gettext6.sh: Likewise.
67721 * intl/tst-translit.sh: Likewise.
67722 * io/ftwtest-sh: Likewise.
67723 * libio/test-freopen.sh: Likewise.
67724 * malloc/tst-mtrace.sh: Likewise.
67725 * posix/globtest.sh: Likewise.
67726 * posix/tst-getconf.sh: Likewise.
67727 * posix/wordexp-tst.sh: Likewise.
67728 * stdio-common/tst-printf.sh: Likewise.
67729 * stdio-common/tst-unbputc.sh: Likewise.
67730 * stdlib/tst-fmtmsg.sh: Likewise.
67731 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67732 * catgets/Makefile: Do not specify -e option when running
67733 testsuite shell scripts.
67734 * elf/Makefile: Likewise.
67735 * grp/Makefile: Likewise.
67736 * iconvdata/Makefile: Likewise.
67737 * intl/Makefile: Likewise.
67738 * io/Makefile: Likewise.
67739 * libio/Makefile: Likewise.
67740 * malloc/Makefile: Likewise.
67741 * posix/Makefile: Likewise.
67742 * stdio-common/Makefile: Likewise.
67743 * stdlib/Makefile: Likewise.
67744 * sysdeps/x86_64/Makefile: Likewise.
67745
67746 * io/ftwtest-sh: Add copyright header.
67747 * posix/globtest.sh: Likewise.
67748 * posix/tst-getconf.sh: Likewise.
67749 * posix/wordexp-tst.sh: Likewise.
67750 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67751
67752 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
67753
67754 [BZ #13679]
67755 * Makeconfig (+link): Defined as $(+link-static) if
67756 $(build-shared) isn't yes.
67757 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
67758 isn't yes.
67759 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
67760
67761 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
67762
67763 [BZ #14562]
67764 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
67765 new chunk size with MALLOC_ALIGN_MASK.
67766
67767 2012-09-24 Joseph Myers <joseph@codesourcery.com>
67768
67769 [BZ #5044]
67770 * stdio-common/printf_fphex.c: Include <stdbool.h> and
67771 <rounding-mode.h>.
67772 (__printf_fphex): Determine rounding using get_rounding_mode and
67773 round_away.
67774 * stdio-common/tst-printf-round.c (struct hex_test): New
67775 structure.
67776 (hex_tests): New variable.
67777 (test_hex_in_one_mode): New function.
67778 (do_test): Also run tests for hex float output.
67779
67780 2012-09-21 Joseph Myers <joseph@codesourcery.com>
67781
67782 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
67783 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
67784 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
67785 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
67786 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
67787 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
67788 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
67789 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
67790
67791 2012-09-20 Joseph Myers <joseph@codesourcery.com>
67792
67793 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
67794 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
67795 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
67796 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
67797
67798 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
67799
67800 [BZ #14579]
67801 * elf/rtld.c (dl_main): Limit the check for self loading to normal
67802 mode only.
67803 * elf/tst-rtld-load-self.sh: New test.
67804 * elf/Makefile: Run it.
67805
67806 2012-09-18 Joseph Myers <joseph@codesourcery.com>
67807
67808 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
67809 (tst-writev-ENV): Remove.
67810 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
67811
67812 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
67813
67814 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
67815
67816 2012-09-17 Joseph Myers <joseph@codesourcery.com>
67817
67818 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
67819 unconditional.
67820 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
67821 Likewise.
67822 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
67823 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
67824 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
67825 Likewise.
67826
67827 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
67828
67829 [BZ #14587]
67830 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
67831 * config.make.in (have-cpp-asm-debuginfo): Removed.
67832 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
67833 * configure: Regenerated.
67834
67835 2012-09-14 Joseph Myers <joseph@codesourcery.com>
67836
67837 [BZ #5044]
67838 * stdio-common/printf_fp.c: Include <stdbool.h> and
67839 <rounding-mode.h>.
67840 (___printf_fp): Determine rounding using get_rounding_mode and
67841 round_away.
67842 * stdio-common/tst-printf-round.c: New file.
67843 * stdio-common/Makefile (tests): Add tst-printf-round.
67844 (link-libm): New variable.
67845 ($(objpfx)tst-printf-round): Depend in $(link-libm).
67846
67847 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
67848
67849 [BZ #14576]
67850 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
67851 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
67852 Likewise.
67853 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
67854 Likewise.
67855
67856 2012-09-13 Joseph Myers <joseph@codesourcery.com>
67857
67858 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
67859 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67860 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67862
67863 2012-09-12 Joseph Myers <joseph@codesourcery.com>
67864
67865 [BZ #14518]
67866 * include/rounding-mode.h: New file.
67867 * sysdeps/generic/get-rounding-mode.h: Likewise.
67868 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
67869 * stdlib/strtod_l.c: Include <rounding-mode.h>.
67870 (MAX_VALUE): New macro.
67871 (MIN_VALUE): Likewise.
67872 (overflow_value): New function.
67873 (underflow_value): Likewise.
67874 (round_and_return): Use overflow_value and underflow_value to
67875 determine return values in overflow and underflow cases. Use
67876 round_away to determine rounding depending on rounding mode.
67877 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
67878 determine return values in overflow and underflow cases.
67879 * stdlib/tst-strtod-round.c: Include <fenv.h>.
67880 (struct test_results): New structure.
67881 (struct test): Use struct test_results to store expected results
67882 for all rounding modes.
67883 (TEST): Include expected results for all rounding modes.
67884 (test_in_one_mode): New function.
67885 (do_test): Use test_in_one_mode to compute and check results.
67886 Check results for all rounding modes.
67887 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
67888 $(link-libm).
67889
67890 2012-12-09 Allan McRae <allan@archlinux.org>
67891
67892 * sysdeps/i386/fpu/libm-test-ulps: Update
67893
67894 2012-09-11 Joseph Myers <joseph@codesourcery.com>
67895
67896 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
67897 (_G_int32_t): Likewise.
67898 (_G_uint16_t): Likewise.
67899 (_G_uint32_t): Likewise.
67900 (_G_HAVE_BOOL): Likewise.
67901 (_G_HAVE_ATEXIT): Likewise.
67902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67903 (_G_HAVE_IO_FILE_OPEN): Likewise.
67904 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
67905 (_G_int32_t): Likewise.
67906 (_G_uint16_t): Likewise.
67907 (_G_uint32_t): Likewise.
67908 (_G_HAVE_BOOL): Likewise.
67909 (_G_HAVE_ATEXIT): Likewise.
67910 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67911 (_G_HAVE_IO_FILE_OPEN): Likewise.
67912 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67913 (_G_int32_t): Likewise.
67914 (_G_uint16_t): Likewise.
67915 (_G_uint32_t): Likewise.
67916 (_G_HAVE_BOOL): Likewise.
67917 (_G_HAVE_ATEXIT): Likewise.
67918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67919 (_G_HAVE_IO_FILE_OPEN): Likewise.
67920
67921 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
67922
67923 * csu/libc-tls.c: Update copyright years.
67924
67925 2012-09-10 Joseph Myers <joseph@codesourcery.com>
67926
67927 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
67928 [!_G_USING_THUNKS]: Remove conditional code.
67929 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
67930 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
67931
67932 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
67933 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
67934 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67935 (_G_VTABLE_LABEL_PREFIX): Likewise.
67936 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67937 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67938 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67939 (_G_VTABLE_LABEL_PREFIX): Likewise.
67940 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67941 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67942 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67943 (_G_VTABLE_LABEL_PREFIX): Likewise.
67944 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67945
67946 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
67947
67948 * libio/Makefile: Include ../Makeconfig before tests.
67949 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
67950 only if $(build-shared) is yes.
67951
67952 * iconv/gconv_db.c: Update copyright years.
67953
67954 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67955
67956 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
67957 unwind info if defined PIC. Fix special cases description.
67958 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
67959
67960 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
67961 DP_HI_MASK entry.
67962 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
67963
67964 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
67965
67966 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
67967
67968 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
67969 is NULL.
67970
67971 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
67972 (LDLIBS-tst-chk4): This.
67973 (LDFLAGS-tst-chk5): Renamed to ...
67974 (LDLIBS-tst-chk5): This.
67975 (LDFLAGS-tst-chk6): Renamed to ...
67976 (LDLIBS-tst-chk6): This.
67977 (LDFLAGS-tst-lfschk4): Renamed to ...
67978 (LDLIBS-tst-lfschk4): This.
67979 (LDFLAGS-tst-lfschk5): Renamed to ...
67980 (LDLIBS-tst-lfschk5): This.
67981 (LDFLAGS-tst-lfschk6): Renamed to ...
67982 (LDLIBS-tst-lfschk6): This.
67983
67984 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
67985 on $(common-objpfx)soversions.mk.
67986
67987 2012-09-07 Joseph Myers <joseph@codesourcery.com>
67988
67989 [BZ #10014]
67990 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
67991 example host name.
67992
67993 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
67994
67995 * malloc/arena.c (arena_get_retry): New function that gets
67996 another arena for the caller to try its request on.
67997 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
67998 current arena cannot fulfill the request.
67999 (__libc_memalign): Likewise.
68000 (__libc_memalign): Likewise.
68001 (__libc_pvalloc): Likewise.
68002 (__libc_calloc): Likewise.
68003
68004 2012-09-05 John Tobey <john.tobey@gmail.com>
68005
68006 [BZ #13542]
68007 * manual/arith.texi (Operations on Complex): Fix description
68008 of carg branch cut.
68009
68010 2012-09-06 Joseph Myers <joseph@codesourcery.com>
68011
68012 [BZ #10014]
68013 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68014 host name.
68015
68016 [BZ #10038]
68017 * manual/memory.texi (Memory): Make order of menu items match
68018 order of sections.
68019
68020 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
68021
68022 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68023 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
68024 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68025
68026 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
68027
68028 * csu/libc-tls.c (static_dtv): Renamed to ...
68029 (_dl_static_dtv): This. Make it global.
68030 (_dl_initial_dtv): Removed.
68031 (__libc_setup_tls): Updated.
68032 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68033 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68034 DL_INITIAL_DTV.
68035
68036 2012-09-06 Petr Machata <pmachata@redhat.com>
68037
68038 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68039 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68040 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68041 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68042
68043 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
68044
68045 [BZ #14545]
68046 * csu/libc-tls.c (_dl_initial_dtv): New variable.
68047 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68048 freeing dtv[-1].
68049
68050 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
68051
68052 [BZ #14544]
68053 * Makeconfig (link-static-before-libc): Replace $(+prector)
68054 with $(+prectorT).
68055 (link-static-after-libc): Replace $(+postctor) with
68056 $(+postctorT).
68057 (link-bounded): Replace $(+prector)/$(+postctor) with
68058 $(+prectorT)/$(+postctorT).
68059 (+prectorT): New macro.
68060 (+postctorT): Likewise.
68061
68062 2012-09-06 Joseph Myers <joseph@codesourcery.com>
68063
68064 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68065 (round_str): Handle values above the maximum for IBM long double
68066 as inexact.
68067 * stdlib/tst-strtod-round.c (tests): Regenerated.
68068
68069 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68070
68071 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68072 assembler flag.
68073 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68074 zarch_nohighgprs around the zarch optimized routines.
68075 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68076 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68078 for zarch.
68079
68080 2012-09-05 David S. Miller <davem@davemloft.net>
68081
68082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68083
68084 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68085 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68086 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68087 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68088 entries.
68089
68090 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
68091
68092 * malloc/arena.c: Fold copyright years.
68093 * malloc/mcheck.c, malloc/memusage.c: Likewise.
68094
68095 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
68096
68097 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68098
68099 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
68100
68101 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
68102
68103 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
68104
68105 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68106 change internal state upon failure.
68107
68108 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
68109
68110 * malloc/mcheck.c (mcheck_check_all): Fix typo.
68111 * malloc/memusage.c (mmap): Likewise.
68112 (mmap64, mremap): Likewise. Adjust name in comment.
68113
68114 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
68115
68116 * libio/fileops.c: Fix typos in comments.
68117 * libio/oldfileops.c: Likewise.
68118 * libio/wfileops.c: Likewise.
68119
68120 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
68121
68122 [BZ #1349]
68123 * malloc/Makefile (tests): Add tst-malloc-usable test case.
68124 (tst-malloc-usable-ENV): Set environment for test case.
68125 * malloc/hooks.c (malloc_check_get_size): New function to get
68126 requested size.
68127 * malloc/malloc.c (musable): Use malloc_check_get_size.
68128 * malloc/tst-malloc-usable.c: New test case.
68129
68130 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
68131
68132 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68133
68134 2012-09-05 Allan McRae <allan@archlinux.org>
68135
68136 [BZ #13966]
68137 * configure.in (CXX_SYSINCLUDES): Use compiler output to
68138 determine header location.
68139 * configure: Regenerated.
68140
68141 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
68142
68143 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68144 float format.
68145 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68146 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68147 format.
68148 (test): Regenerate.
68149
68150 2012-09-04 David S. Miller <davem@davemloft.net>
68151
68152 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68153 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68155
68156 2012-09-04 Florian Weimer <fweimer@redhat.com>
68157
68158 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68159 failures.
68160
68161 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68162
68163 2012-09-04 Joseph Myers <joseph@codesourcery.com>
68164
68165 [BZ #9914]
68166 * libio/iogetdelim.c: Include <limits.h>.
68167 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68168 + len + 1 would overflow.
68169
68170 2012-09-03 Andreas Jaeger <aj@suse.de>
68171
68172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68173 * sysdeps/i386/fpu/libm-test-ulps: Update.
68174
68175 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68176
68177 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68178 Add s_sinf-sse2, s_conf-sse2.
68179
68180 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68181 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68182 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68183 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68184
68185 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68186 for using routine as __sinf_ia32.
68187 Use macro for function declaration and weak_alias.
68188 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68189 for using routine as __cosf_ia32.
68190 Use macro for function declaration and weak_alias.
68191
68192 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68193 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68194
68195 * sysdeps/x86_64/fpu/s_sinf.S: New file.
68196 * sysdeps/x86_64/fpu/s_cosf.S: New file.
68197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68198
68199 * math/libm-test.inc (cos_test): Add more test cases.
68200 (sin_test): Likewise.
68201 (sincos_test): Likewise.
68202
68203 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68204
68205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68206 (IFUNC_RESOLVE): Make pointers to the specialized implementations
68207 hidden.
68208 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68209
68210 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
68211
68212 [BZ #14538]
68213 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68214 first element of the GOT.
68215 (elf_machine_load_address): Return the difference between
68216 the runtime address of _DYNAMIC and elf_machine_dynamic ().
68217
68218 2012-09-01 Allan McRae <allan@archlinux.org>
68219
68220 [BZ #13412]
68221 * configure.in (AWK): Require gawk version 3.0 or later.
68222 * configure: Regenerated.
68223
68224 2012-09-01 Joseph Myers <joseph@codesourcery.com>
68225
68226 * sysdeps/unix/sysv/linux/kernel-features.h
68227 (__ASSUME_POSIX_CPU_TIMERS): Remove.
68228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68229 [__NR_clock_getres]: Make code unconditional.
68230 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68231 (clock_getcpuclockid): Remove code left unreachable by removal of
68232 conditionals.
68233 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68234 code unconditional.
68235 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68236 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68237 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68238 Make code unconditional.
68239 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68240 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68241 * sysdeps/unix/sysv/linux/clock_settime.c
68242 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68243 conditional code.
68244 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68245 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68246
68247 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
68248
68249 [BZ #14476]
68250 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68251 scripts/test-installation.pl.
68252
68253 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68254 and $ld_so_version if it is set.
68255
68256 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68257
68258 [BZ #14516]
68259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68260 failure if reading from procfs failed.
68261 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68262
68263 2012-08-27 Joseph Myers <joseph@codesourcery.com>
68264
68265 * sysdeps/unix/sysv/linux/kernel-features.h
68266 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68267 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68268 Remove conditional code.
68269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68270 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68271 Remove conditional code.
68272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68273 * sysdeps/unix/sysv/linux/i386/fxstat.c
68274 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68276 * sysdeps/unix/sysv/linux/i386/fxstatat.c
68277 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68279 * sysdeps/unix/sysv/linux/i386/lxstat.c
68280 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68282 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68283 Remove conditional code.
68284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68285 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68286 Remove conditional code.
68287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68288 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68289 <kernel-features.h>.
68290 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68291 Remove.
68292 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68293 Remove conditional code.
68294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68295 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68296 Remove conditional.
68297
68298 2012-08-27 Mike Frysinger <vapier@gentoo.org>
68299
68300 [BZ #5400]
68301 * NEWS: Add fixed bug number.
68302
68303 2012-08-27 Joseph Myers <joseph@codesourcery.com>
68304
68305 [BZ #14519]
68306 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68307 underflowing exponent in case of negative sign.
68308 * stdlib/tst-strtod-round-data: Add more tests.
68309 * stdlib/tst-strtod-round.c (tests): Regenerated.
68310
68311 [BZ #3479]
68312 * stdlib/strtod_l.c (NDIG): Remove.
68313 (HEXNDIG): Likewise.
68314 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68315 smallest representable value.
68316 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68317 lie within an exact representation of 1/2 ulp of the result.
68318 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68319 unconditionally.
68320 (TENS_P9_IDX): Define unconditionally.
68321 (TENS_P9_SIZE): Likewise.
68322 (TENS_P10_IDX): Likewise.
68323 (TENS_P10_SIZE): Likewise.
68324 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68325 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68326 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68327 entries for 10^2^13 and 10^2^14.
68328 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68329 (TENS_P13_IDX): Define.
68330 (TENS_P13_SIZE): Likewise.
68331 (TENS_P14_IDX): Likewise.
68332 (TENS_P14_SIZE): Likewise.
68333 (_fpioconst_pow10): Change array size to
68334 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
68335 unconditional.
68336 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68337 1024]: Add entries for 10^2^13 and 10^2^14.
68338 [LAST_POW10 > _LAST_POW10]: Remove #error.
68339 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68340 (_fpioconst_pow10): Change array size to
68341 FPIOCONST_POW10_ARRAY_SIZE.
68342 * stdlib/gen-fpioconst.c: New file.
68343 * stdlib/gen-tst-strtod-round.c: Likewise.
68344 * stdlib/tst-strtod-round-data: Likewise.
68345 * stdlib/tst-strtod-round.c: Likewise.
68346 * stdlib/Makefile (tests): Add tst-strtod-round.
68347
68348 [BZ #14459]
68349 * stdlib/strtod_l.c: Include <stdint.h>.
68350 (NDEBUG): Do not define.
68351 (round_and_return): Change EXPONENT parameter to type intmax_t.
68352 Rearrange calculations to avoid internal overflow possibilities.
68353 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68354 Rearrange calculations to avoid internal overflow possibilities.
68355 Assert that number fits inside MPNSIZE limbs.
68356 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68357 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
68358 calculations and add assertions to avoid internal overflow
68359 possibilities. Add casts to avoid signed/unsigned operations.
68360 * stdlib/tst-strtod-overflow.c: New file.
68361 * stdlib/Makefile (tests): Add tst-strtod-overflow.
68362
68363 2012-08-25 Marek Polacek <polacek@redhat.com>
68364
68365 * time/time.h: Fix some typos in comments.
68366
68367 2012-08-23 Roland McGrath <roland@hack.frob.com>
68368
68369 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68370 * posix/tst-rfc3484-2.c: Likewise.
68371 * posix/tst-rfc3484-3.c: Likewise.
68372
68373 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
68374
68375 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
68376 (EF_ARM_ABI_FLOAT_HARD): Likewise.
68377
68378 2012-08-23 Joseph Myers <joseph@codesourcery.com>
68379
68380 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
68381 #include of fxstatat64.c.
68382
68383 2012-08-22 Roland McGrath <roland@hack.frob.com>
68384
68385 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
68386 * shadow/getspent_r.c: Likewise.
68387 * shadow/getspnam.c: Likewise.
68388 * shadow/getspnam_r.c: Likewise.
68389 * gshadow/getsgent.c: Likewise.
68390 * gshadow/getsgent_r.c: Likewise.
68391 * gshadow/getsgnam.c: Likewise.
68392 * gshadow/getsgnam_r.c: Likewise.
68393 * inet/getnetbyad.c: Likewise.
68394 * inet/getnetbyad_r.c: Likewise.
68395 * inet/getnetbynm.c: Likewise.
68396 * inet/getnetbynm_r.c: Likewise.
68397 * inet/getnetent.c: Likewise.
68398 * inet/getnetent_r.c: Likewise.
68399 * inet/getproto.c: Likewise.
68400 * inet/getproto_r.c: Likewise.
68401 * inet/getprtent.c: Likewise.
68402 * inet/getprtent_r.c: Likewise.
68403 * inet/getprtname.c: Likewise.
68404 * inet/getprtname_r.c: Likewise.
68405 * inet/getrpcbyname.c: Likewise.
68406 * inet/getrpcbyname_r.c: Likewise.
68407 * inet/getrpcbynumber.c: Likewise.
68408 * inet/getrpcbynumber_r.c: Likewise.
68409 * inet/getrpcent.c: Likewise.
68410 * inet/getrpcent_r.c: Likewise.
68411 * inet/getaliasent.c: Likewise.
68412 * inet/getaliasent_r.c: Likewise.
68413 * inet/getaliasname.c: Likewise.
68414 * inet/getaliasname_r.c: Likewise.
68415 * nscd/getgrgid_r.c: Likewise.
68416 * nscd/getgrnam_r.c: Likewise.
68417 * nscd/gethstbyad_r.c: Likewise.
68418 * nscd/gethstbynm3_r.c: Likewise.
68419 * nscd/getpwnam_r.c: Likewise.
68420 * nscd/getpwuid_r.c: Likewise.
68421 * nscd/getsrvbynm_r.c: Likewise.
68422 * nscd/getsrvbypt_r.c: Likewise.
68423 * nscd/gai.c: Likewise.
68424
68425 * configure.in (build_nscd): New substituted variable, set
68426 by --disable-build-nscd and defaults to $use_nscd.
68427 * configure: Regenerated.
68428 * config.make.in (build-nscd): New substituted variable.
68429 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68430 Change conditional to require [$(build-nscd) = yes] as well.
68431 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
68432
68433 [BZ# 13696]
68434 * configure.in (use_nscd): New substituted variable, set by
68435 --disable-nscd. If enabled, define USE_NSCD.
68436 * configure: Regenerated.
68437 * config.h.in: Add USE_NSCD.
68438 * config.make.in (use-nscd): New substituted variable.
68439 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68440 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
68441 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
68442 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
68443 (CFLAGS-getgrnam_r.c): Likewise.
68444 (CFLAGS-initgroups.c): Likewise.
68445 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
68446 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
68447 Variables removed.
68448 * inet/getnetgrent_r.c
68449 (nscd_setnetgrent): New function, broken out of ...
68450 (setnetgrent): ... here. Call it.
68451 (innetgr): Conditionalize nscd bits on [USE_NSCD].
68452 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
68453 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
68454 * nscd/Makefile (routines, aux): Move definitions after include of
68455 Makeconfig. Conditionalize on [$(use-nscd) != no].
68456 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
68457 Conditionalize on [USE_NSCD].
68458 (is_nscd, nscd_init_cb): Likewise.
68459 (nss_load_library): Conditionalize init callback on [USE_NSCD].
68460 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
68461 * nss/nss_db/db-init.c: Likewise.
68462 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
68463 [USE_NSCD].
68464 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
68465 (make_request): Use it.
68466 (cache_valid_p): New function.
68467 (__check_pf): Use it.
68468 * NEWS: Add item for --disable-nscd.
68469
68470 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
68471
68472 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
68473 to support sed >= 4.2.1-20-ga9bf076.
68474 * configure: Regenerated.
68475
68476 2012-08-22 Roland McGrath <roland@hack.frob.com>
68477
68478 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
68479 Conditionalize whole body on [IREL].
68480
68481 2012-08-22 Jeff Law <law@redhat.com>
68482
68483 [BZ #14505]
68484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
68485 if the family is PF_UNSPEC.
68486
68487 2012-08-22 Mike Frysinger <vapier@gentoo.org>
68488
68489 * Makerules (lib-version): Rename from V.
68490 (install-lib-nosubdir): Change V to lib-version.
68491
68492 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
68493
68494 [BZ #14252]
68495 * powerpc32/power6/wcschr.c: New file.
68496 * powerpc32/power6/wcscpy.c: New file.
68497 * powerpc32/power6/wcsrchr.c: New file.
68498 * powerpc64/power6/wcschr.c: New file.
68499 * powerpc64/power6/wcscpy.c: New file.
68500 * powerpc64/power6/wcsrchr.c: New file.
68501
68502 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
68503
68504 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
68505 (two_way_short_needle): Use it.
68506 * string/strstr.c (AVAILABLE1_USES_J): Define.
68507 * string/strcasestr.c: Likewise.
68508
68509 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
68510 array references.
68511 * string/strcasestr.c (TOLOWER): Make side-effect safe.
68512
68513 [BZ #11607]
68514 * NEWS: Add an entry.
68515 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
68516 define their defaults.
68517 (two_way_short_needle): Detect end-of-string on-the-fly.
68518 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
68519 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
68520 * string/bug-strcasestr1.c: New test.
68521 * string/Makefile: Run it.
68522
68523 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
68524
68525 [BZ #11607]
68526 * string/str-two-way.h (two_way_short_needle): Optimize matching of
68527 the first character.
68528
68529 2012-08-21 Roland McGrath <roland@hack.frob.com>
68530
68531 * csu/elf-init.c (__libc_csu_irel): Function removed.
68532 * csu/libc-start.c (apply_irel): New function.
68533 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
68534
68535 2012-08-21 Joseph Myers <joseph@codesourcery.com>
68536
68537 * sysdeps/unix/sysv/linux/kernel-features.h
68538 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
68539 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68540 <kernel-features.h>.
68541 [__NR_fadvise64_64]: Make code unconditional.
68542 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
68543 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68544 !__NR_fadvise64_64)]: Likewise.
68545 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68546 !__NR_fadvise64_64))]: Likewise.
68547 [__NR_fadvise64]: Make code unconditional.
68548 [!__NR_fadvise64]: Remove conditional code.
68549 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
68550 <kernel-features.h>.
68551 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68552 unconditional.
68553 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68554 conditional code.
68555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
68556 not include <kernel-features.h>.
68557 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68558 unconditional.
68559 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68560 conditional code.
68561 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
68562 include <kernel-features.h>.
68563 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68564 unconditional.
68565 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68566 conditional code.
68567
68568 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
68569
68570 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
68571 slight instruction rearrangements per scrollpipe analysis.
68572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68573
68574 2012-08-20 Roland McGrath <roland@hack.frob.com>
68575
68576 * manual/syslog.texi (syslog; vsyslog, closelog):
68577 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
68578 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
68579
68580 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
68581 DSOCAPS to match condition on defining it.
68582
68583 2012-08-20 Joseph Myers <joseph@codesourcery.com>
68584
68585 * sysdeps/unix/sysv/linux/kernel-features.h
68586 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
68587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
68588 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68589 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
68591 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68592 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
68594 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68595 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68596
68597 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
68598 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
68599
68600 * sysdeps/unix/sysv/linux/kernel-features.h
68601 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
68602 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
68603 unconditional.
68604 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68605 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
68606 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68607 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68608 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
68609 Make code unconditional.
68610 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68611 (__mmap64) [!__NR_mmap2]: Likewise.
68612 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
68613 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68614 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68615 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
68616 [__NR_mmap2]: Make code unconditional.
68617 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68618 (__mmap64) [!__NR_mmap2]: Likewise.
68619
68620 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68621
68622 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
68623
68624 2012-08-18 Andreas Jaeger <aj@suse.de>
68625
68626 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
68627
68628 2012-08-18 Mike Frysinger <vapier@gentoo.org>
68629
68630 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
68631 * include/unistd.h (__have_sock_cloexec): Likewise.
68632 (__have_pipe2): Likewise.
68633 (__have_dup3): Likewise.
68634
68635 2012-08-18 Mike Frysinger <vapier@gentoo.org>
68636
68637 [BZ #9685]
68638 * include/unistd.h (__have_pipe2): Change define into an extern int.
68639 (__have_dup3): Likewise.
68640 * socket/have_sock_cloexec.c: Include fcntl.h.
68641 (__have_pipe2): New variable.
68642 (__have_dup3): Likewise.
68643
68644 2012-08-17 Mike Frysinger <vapier@gentoo.org>
68645
68646 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
68647
68648 2012-08-17 Marek Polacek <polacek@redhat.com>
68649
68650 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
68651 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
68652
68653 2012-08-17 Roland McGrath <roland@hack.frob.com>
68654
68655 * configure.in: Add AC_SUBST for sysheaders.
68656 * configure: Regenerated.
68657 * config.make.in (sysheaders): New substituted variable.
68658
68659 * sysdeps/unix/mkfifo.c: Moved ...
68660 * sysdeps/posix/mkfifo.c: ... here.
68661 * sysdeps/unix/mkfifoat.c: Moved ...
68662 * sysdeps/posix/mkfifoat.c: ... here.
68663
68664 * sysdeps/unix/utime.c: Moved ...
68665 * sysdeps/posix/utime.c: ... here.
68666
68667 * sysdeps/unix/time.c: Moved ...
68668 * sysdeps/posix/time.c: ... here.
68669 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
68670 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
68671
68672 * sysdeps/unix/nice.c: Moved ...
68673 * sysdeps/posix/nice.c: ... here.
68674
68675 * sysdeps/unix/alarm.c: Moved ...
68676 * sysdeps/posix/alarm.c: ... here.
68677
68678 * intl/Makefile ($(codeset_mo)): Depend on the input file.
68679
68680 2012-08-17 Jeff Law <law@redhat.com>
68681
68682 * intl/Makefile (codeset_mo): New variable.
68683 ($(codeset_mo)): New target.
68684 (tst-codeset.out): Depend on that. Remove explicit rule.
68685 (tst-gettext3.out, tst-gettext5.out): Likewise.
68686 (LOCPATH-ENV, tst-codeset-ENV): New variables.
68687 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
68688 * intl/tst-codeset.sh: Remove.
68689 * intl/tst-gettext3.sh: Likewise.
68690 * intl/tst-gettext5.sh: Likewise.
68691
68692 2012-08-17 Roland McGrath <roland@hack.frob.com>
68693
68694 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
68695 * sysdeps/unix/syscalls.list: ... here.
68696
68697 * sysdeps/posix/getaddrinfo.c
68698 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
68699 (gaiconf_init, gaiconf_reload): Use them.
68700 [!_STATBUF_ST_NSEC]
68701 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
68702 Define using time_t rather than struct timespec.
68703
68704 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
68705 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
68706 Macros removed.
68707 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
68708 [!NO_THREADS].
68709 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
68710 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
68711 Likewise.
68712
68713 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
68714 __libc_cleanup_push argument.
68715
68716 * bits/param.h: New file.
68717 * misc/sys/param.h: New file.
68718 * include/sys/param.h: New file.
68719 * misc/Makefile (headers): Add bits/param.h.
68720 * sysdeps/generic/sys/param.h: File removed.
68721 * sysdeps/unix/sysv/linux/bits/param.h: New file.
68722 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
68723 * sysdeps/mach/hurd/bits/param.h: New file.
68724 * sysdeps/mach/hurd/sys/param.h: File removed.
68725
68726 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
68727 last change.
68728
68729 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
68730 [_IO_MTSAFE_IO].
68731 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
68732 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
68733 New macros.
68734
68735 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
68736 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
68737 rather than -D_IO_MTSAFE_IO conditionally.
68738 * stdio-common/Makefile (CPPFLAGS): Likewise.
68739 * wcsmbs/Makefile (CPPFLAGS): Likewise.
68740 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
68741 Use $(libio-mtsafe).
68742 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
68743 of -D_IO_MTSAFE_IO.
68744 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
68745 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
68746 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
68747 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
68748 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
68749 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
68750 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
68751 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
68752 (CFLAGS-fread_u_chk.c): Likewise.
68753 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
68754 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
68755 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
68756 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
68757 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
68758 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
68759 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
68760 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
68761 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
68762
68763 * libio/Makefile: Test [$(libc-reentrant) = yes]
68764 instead of [$(filter %REENTRANT, $(defines)) nonempty].
68765
68766 * Makeconfig
68767 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
68768 * sysdeps/pthread/configure: File removed.
68769 * sysdeps/pthread/Makeconfig: New file.
68770 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
68771 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
68772
68773 2012-08-16 Gary Benson <gbenson@redhat.com>
68774
68775 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
68776 unmapping the first object in a namespace.
68777
68778 2012-08-16 Roland McGrath <roland@hack.frob.com>
68779
68780 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
68781 (__internal_setnetgrent): ... this. Add internal_function to
68782 definition. Add libc_hidden_def.
68783 (setnetgrent): Update caller.
68784 (internal_endnetgrent): Renamed to ...
68785 (__internal_endnetgrent): ... this. Add internal_function to
68786 definition. Add libc_hidden_def.
68787 (endnetgrent): Update caller.
68788 (internal_getnetgrent_r): Renamed to ...
68789 (__internal_getnetgrent_r): ... this. Add internal_function to
68790 definition. Add libc_hidden_def.
68791 (__getnetgrent_r): Update caller.
68792 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
68793
68794 2012-08-16 Joseph Myers <joseph@codesourcery.com>
68795
68796 * stdlib/longlong.h: Update from GCC.
68797
68798 2012-08-16 Roland McGrath <roland@hack.frob.com>
68799
68800 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
68801 on _QL, which is set by umul_ppmm but never used.
68802 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
68803 variables, which are set by GMP macros but never used.
68804 * stdio-common/_itowa.c (_itowa): Likewise.
68805 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
68806 * stdlib/mod_1.c (mpn_mod_1): Likewise.
68807
68808 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
68809
68810 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
68811 struct La_sh_regs is not constant.
68812 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
68813 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
68814 and struct La_sparc64_regs are not constant.
68815
68816 2012-08-16 Joseph Myers <joseph@codesourcery.com>
68817
68818 * sysdeps/unix/sysv/linux/kernel-features.h
68819 (__ASSUME_POSIX_TIMERS): Remove.
68820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68822 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
68823 Make code unconditional.
68824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68825 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
68826 Make code unconditional.
68827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68828 * sysdeps/unix/sysv/linux/clock_nanosleep.c
68829 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
68830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68831 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
68832 Make code unconditional.
68833 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68834 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
68835 (__libc_missing_posix_timers): Remove.
68836
68837 2012-08-15 Roland McGrath <roland@hack.frob.com>
68838
68839 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
68840 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
68841
68842 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
68843
68844 * elf/dl-sym.c: Include <stdlib.h>.
68845
68846 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
68847 constants, which avoids warnings in 32-bit builds.
68848
68849 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
68850 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
68851
68852 * misc/lseek.c: File moved to ...
68853 * io/lseek.c: ... here.
68854
68855 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
68856
68857 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
68858 shifting LEN more than 31 bits at once.
68859
68860 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68861
68862 [BZ #14195]
68863 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
68864 segmentation fault for a case of two empty input strings.
68865 * string/test-strncasecmp.c (check1): Renamed to...
68866 (bz12205): ...this.
68867 (bz14195): Add new testcase for two empty input strings and N > 0.
68868 (test_main): Call new testcase, adapt for renamed function.
68869
68870 2012-08-15 Andreas Jaeger <aj@suse.de>
68871
68872 [BZ #14090]
68873 * crypt/md5test2.c: New test, based on test supplied by Serge
68874 Belyshev <belyshev@depni.sinp.msu.ru>.
68875 * crypt/Makefile (xtests): Add md5test-giant..
68876 * crypt/Makefile ($(objpfx)md5test-giant): Add.
68877
68878 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
68879
68880 [BZ #14090]
68881 * crypt/md5.c (md5_process_block): Don't assume the buffer
68882 length is less than 2**32.
68883 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
68884 length is less than 2**64.
68885
68886 2012-08-15 Roland McGrath <roland@hack.frob.com>
68887
68888 * string/str-two-way.h: Include <sys/param.h>.
68889 (MAX): Macro removed.
68890
68891 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
68892 Move #define and #undef of memmove to just before and after
68893 including <string.h>.
68894
68895 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
68896 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
68897 and after including <string.h>. Move declarations of
68898 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
68899 to before #include "string/memmove.c".
68900
68901 * include/dirent.h: Declare __getdirentries.
68902
68903 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
68904 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
68905
68906 2012-08-14 Mike Frysinger <vapier@gentoo.org>
68907
68908 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
68909 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
68910 * sysdeps/i386/configure: Regenerated.
68911 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
68912 STABS_CURRENT_FILE, and STABS_FUN.
68913 (END): Remove call to STABS_FUN_END.
68914 (STABS_CURRENT_FILE1): Delete.
68915 (STABS_CURRENT_FILE): Likewise.
68916 (STABS_FUN): Likewise.
68917 (STABS_FUN_END): Likewise.
68918 (STABS_FUN2): Likewise.
68919 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
68920 * sysdeps/x86_64/configure: Regenerated.
68921
68922 2012-08-14 Roland McGrath <roland@hack.frob.com>
68923
68924 * elf/dl-open.c: Include <atomic.h>.
68925 * elf/dl-lookup.c: Likewise.
68926
68927 2012-08-14 Joseph Myers <joseph@codesourcery.com>
68928
68929 * sysdeps/unix/sysv/linux/kernel-features.h
68930 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
68931 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
68932 unconditionally.
68933 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
68934 unconditionally.
68935 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
68936 condition on __ASSUME_CLONE_THREAD_FLAGS.
68937
68938 2012-08-14 Andreas Jaeger <aj@suse.de>
68939
68940 * sysdeps/i386/fpu/libm-test-ulps: Update.
68941
68942 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
68943
68944 * include/atomic.h (atomic_exchange_and_add): Split into ...
68945 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
68946 New atomic macros.
68947
68948 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
68949
68950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68951
68952 2012-08-13 Jeff Law <law@redhat.com>
68953
68954 * manual/stdio.texi (snprintf): Clarify handling of the trailing
68955 null byte in the output string.
68956
68957 2012-08-10 Joseph Myers <joseph@codesourcery.com>
68958
68959 * sysdeps/unix/sysv/linux/kernel-features.h
68960 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
68961 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
68962 (__ASSUME_ARG_MAX_STACK_BASED): Define.
68963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
68964 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
68965 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
68966 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
68967
68968 2012-08-09 Jeff Law <law@redhat.com>
68969
68970 [BZ #13939]
68971 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
68972 When avoid_arena is set, don't retry in the that arena. Pick the
68973 next one, whatever it might be.
68974 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
68975 (arena_lock): Pass in new parameter to arena_get2.
68976 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
68977 arena_get2.
68978 (__libc_malloc): Unify retrying after main arena failure with
68979 __libc_memalign version.
68980 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
68981
68982 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
68983
68984 [BZ #14166]
68985 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
68986 to __redirect_strstr.
68987 (__strstr_sse42): Use typeof __redirect_strstr.
68988 (__strstr_ia32): Likewise.
68989 (__libc_strstr): New prototype.
68990 (strstr): Renamed to ...
68991 (__libc_strstr): This.
68992 (strstr): New strong alias of __libc_strstr.
68993 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68994 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
68995 __redirect_time.
68996 Include <time.h>.
68997 (__libc_time): New prototype.
68998 (time_ifunc): Replace time with __libc_time.
68999 (time): New strong alias and hidden definition of __libc_time.
69000 (__GI_time): Remove strong alias.
69001 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69002 Include <stddef.h>.
69003 (memmove): Redefined to __redirect_memmove.
69004 (__memmove_sse2): Use typeof __redirect_memmove.
69005 (__memmove_ssse3): Likewise.
69006 (__memmove_ssse3_back): Likewise.
69007 (__libc_memmove): New prototype.
69008 (memmove): Renamed to ...
69009 (__libc_memmove): This.
69010 (memmove): New strong alias of __libc_memmove.
69011
69012 2012-08-08 Mark Salter <msalter@redhat.com>
69013
69014 * elf/elf.h
69015 (R_MN10300_TLS_GD): Define.
69016 (R_MN10300_TLS_LD): Likewise.
69017 (R_MN10300_TLS_LDO): Likewise.
69018 (R_MN10300_TLS_GOTIE): Likewise.
69019 (R_MN10300_TLS_IE): Likewise.
69020 (R_MN10300_TLS_LE): Likewise.
69021 (R_MN10300_TLS_DTPMOD): Likewise.
69022 (R_MN10300_TLS_DTPOFF): Likewise.
69023 (R_MN10300_TLS_TPOFF): Likewise.
69024 (R_MN10300_SYM_DIFF): Likewise.
69025 (R_MN10300_ALIGN): Likewise.
69026 (R_MN10300_NUM): Update.
69027
69028 2012-08-08 Joseph Myers <joseph@codesourcery.com>
69029
69030 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69031 Remove.
69032
69033 2012-08-08 Roland McGrath <roland@hack.frob.com>
69034
69035 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69036
69037 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69038 sysdeps/unix -> sysdeps/posix move.
69039 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69040
69041 2012-08-07 Allan McRae <allan@archlinux.org>
69042
69043 [BZ #14303]
69044 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69045 (SUNOS_CPP): Likewise.
69046 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69047 not found.
69048 (open_input): Call CPP using execvp.
69049
69050 2012-08-07 Joseph Myers <joseph@codesourcery.com>
69051
69052 * sysdeps/unix/sysv/linux/kernel-features.h
69053 (__ASSUME_PROT_GROWSUPDOWN): Remove.
69054 (__ASSUME_NO_CLONE_DETACHED): Likewise.
69055 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69056 (__ASSUME_WAITID_SYSCALL): Likewise.
69057 * sysdeps/unix/sysv/linux/dl-execstack.c
69058 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69059 code unconditional.
69060 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69061 conditional code.
69062 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69063 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69064 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69065 code.
69066 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69067 unconditional.
69068 [__ASSUME_WAITID_SYSCALL]: Likewise.
69069 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69070
69071 2012-08-07 Roland McGrath <roland@hack.frob.com>
69072
69073 * sysdeps/unix/closedir.c: Renamed to ...
69074 * sysdeps/posix/closedir.c: ... here.
69075 * sysdeps/unix/dirfd.c: Renamed to ...
69076 * sysdeps/posix/dirfd.c: ... here.
69077 * sysdeps/unix/dirstream.h: Renamed to ...
69078 * sysdeps/posix/dirstream.h: ... here.
69079 * sysdeps/unix/fdopendir.c: Renamed to ...
69080 * sysdeps/posix/fdopendir.c: ... here.
69081 * sysdeps/unix/opendir.c: Renamed to ...
69082 * sysdeps/posix/opendir.c: ... here.
69083 * sysdeps/unix/readdir.c: Renamed to ...
69084 * sysdeps/posix/readdir.c: ... here.
69085 * sysdeps/unix/readdir_r.c: Renamed to ...
69086 * sysdeps/posix/readdir_r.c: ... here.
69087 * sysdeps/unix/rewinddir.c: Renamed to ...
69088 * sysdeps/posix/rewinddir.c: ... here.
69089 * sysdeps/unix/seekdir.c: Renamed to ...
69090 * sysdeps/posix/seekdir.c: ... here.
69091 * sysdeps/unix/telldir.c: Renamed to ...
69092 * sysdeps/posix/telldir.c: ... here.
69093 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69094 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69095 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69096 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69097
69098 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69099 * bits/fcntl.h: ... here.
69100
69101 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69102 not 0.
69103 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69104 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69105 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69106 (struct flock): Move l_start, l_len to the beginning.
69107 Use __pid_t for l_pid.
69108 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69109 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69110 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69111 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69112 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69113 [__USE_LARGEFILE64] (struct flock64): New type.
69114 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69115
69116 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69117 * bits/dirent.h: ... here.
69118
69119 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69120 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69121
69122 2012-08-07 Joseph Myers <joseph@codesourcery.com>
69123
69124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69125 Change from 2.6.0 to 2.6.16.
69126 * sysdeps/unix/sysv/linux/configure: Regenerated.
69127 * sysdeps/unix/sysv/linux/kernel-features.h
69128 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69129 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69130 version.
69131 (__ASSUME_UTIMES): Likewise.
69132 (__ASSUME_CLONE_STOPPED): Remove.
69133 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69134 architectures, not kernel version.
69135 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69136 (__ASSUME_NO_CLONE_DETACHED): Likewise.
69137 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69138 (__ASSUME_WAITID_SYSCALL): Likewise.
69139 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69140 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69141 * README: State 2.6.16 as minimum Linux kernel version. Do not
69142 refer to older versions.
69143
69144 2012-08-06 Roland McGrath <roland@hack.frob.com>
69145
69146 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69147 Define alphasort64 as an alias.
69148 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69149 Define versionsort64 as an alias.
69150 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69151 Define scandir64 as an alias.
69152 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69153 Define scandirat64 as an alias.
69154 * dirent/alphasort64.c (alphasort64):
69155 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69156 * dirent/versionsort64.c: Likewise.
69157 * dirent/scandir64.c: Likewise.
69158 * dirent/scandirat64.c: Likewise.
69159 * sysdeps/wordsize-64/alphasort.c: File removed.
69160 * sysdeps/wordsize-64/alphasort64.c: File removed.
69161 * sysdeps/wordsize-64/scandir.c: File removed.
69162 * sysdeps/wordsize-64/scandir64.c: File removed.
69163 * sysdeps/wordsize-64/scandirat.c: File removed.
69164 * sysdeps/wordsize-64/scandirat64.c: File removed.
69165 * sysdeps/wordsize-64/versionsort.c: File removed.
69166 * sysdeps/wordsize-64/versionsort64.c: File removed.
69167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69168 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69169 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69170 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69171 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69172 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69174 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69175
69176 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69178 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69180 [defined __arch64__ || defined __sparcv9]
69181 (__INO_T_MATCHES_INO64_T): New macro.
69182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69183 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69184 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69185 * sysdeps/unix/sysv/linux/bits/dirent.h
69186 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69187 (_DIRENT_MATCHES_DIRENT64): New macro.
69188
69189 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69190 Define lockf64 as an alias.
69191 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69192 Define fseeko64 as an alias.
69193 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69194 Define ftello64 as an alias.
69195 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69196 Define _IO_fgetpos64 and fgetpos64 as aliases.
69197 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69198 Define _IO_fsetpos64 and fsetpos64 as aliases.
69199 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69200 Conditionalize body on this.
69201 * libio/fseeko64.c: Likewise.
69202 * libio/ftello64.c: Likewise.
69203 * libio/iofgetpos64.c: Likewise.
69204 * libio/iofsetpos64.c: Likewise.
69205 * sysdeps/wordsize-64/lockf.c: File removed.
69206 * sysdeps/wordsize-64/lockf64.c: File removed.
69207 * sysdeps/wordsize-64/fseeko.c: File removed.
69208 * sysdeps/wordsize-64/fseeko64.c: File removed.
69209 * sysdeps/wordsize-64/ftello.c: File removed.
69210 * sysdeps/wordsize-64/ftello64.c: File removed.
69211 * sysdeps/wordsize-64/iofgetpos.c: File removed.
69212 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69213 * sysdeps/wordsize-64/iofsetpos.c: File removed.
69214 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69217 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69219 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69223 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69225
69226 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69228 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69230 [defined __arch64__ || defined __sparcv9]
69231 (__OFF_T_MATCHES_OFF64_T): New macro.
69232 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69233 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69235 (__OFF_T_MATCHES_OFF64_T): New macro.
69236
69237 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
69238
69239 * stdlib/secure-getenv.c (__secure_getenv): Replace
69240 GLIBC_2_16 with GLIBC_2_17.
69241
69242 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
69243
69244 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69245 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69246
69247 2012-08-03 David S. Miller <davem@davemloft.net>
69248
69249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69250
69251 2012-08-03 Joseph Myers <joseph@codesourcery.com>
69252
69253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69254 Remove.
69255 (__ASSUME_CORRECT_SI_PID): Likewise.
69256 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69257 (__ASSUME_TMPFS_NAME): Likewise.
69258 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69259 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69260 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69261 (HAVE_AUX_SECURE): Make definition unconditional.
69262 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69263 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69264
69265 2012-08-03 Roland McGrath <roland@hack.frob.com>
69266
69267 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69268 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69269 * sysdeps/mach/hurd/eloop-threshold.h: New file.
69270 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69271 __eloop_threshold instead of SYMLOOP_MAX.
69272
69273 * sysdeps/generic/eloop-threshold.h: New file.
69274 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69275 of MAXSYMLINKS.
69276 * elf/chroot_canon.c (chroot_canon): Likewise.
69277
69278 2012-08-03 Joseph Myers <joseph@codesourcery.com>
69279
69280 [BZ #13717]
69281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69282 Change to 2.6.0 everywhere.
69283 * sysdeps/unix/sysv/linux/configure: Regenerated.
69284 * sysdeps/unix/sysv/linux/kernel-features.h
69285 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69286 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69287 kernel versions.
69288 (__ASSUME_POSIX_TIMERS): Define unconditionally.
69289 (__ASSUME_FUTEX_REQUEUE): Remove.
69290 (__ASSUME_STATFS64): Define unconditionally.
69291 (__ASSUME_AT_SECURE): Likewise.
69292 (__ASSUME_CORRECT_SI_PID): Likewise.
69293 (__ASSUME_TGKILL): Define without depending on kernel version for
69294 i386.
69295 (__ASSUME_UTIMES): Likewise.
69296 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69297 kernel version.
69298 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69299 (__ASSUME_TMPFS_NAME): Likewise.
69300 * README: Update reference to Linux kernel versions.
69301
69302 2012-08-02 Marek Polacek <polacek@redhat.com>
69303
69304 [BZ# 14150]
69305 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
69306 libc_cv_asm_type_prefix with %.
69307 * configure: Regenerated.
69308 * include/libc-symbols.h: Remove comment about
69309 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69310 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69311 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69312 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69313 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69314 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69315 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69316 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69317 * elf/tst-unique2mod1.c: Likewise.
69318 * elf/tst-unique1mod2.c: Likewise.
69319 * elf/tst-unique1mod1.c: Likewise.
69320 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69321 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69322 Replace ASM_TYPE_DIRECTIVE with .type.
69323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69324 * sysdeps/i386/sysdep.h: Likewise.
69325 * sysdeps/x86_64/sysdep.h: Likewise.
69326 * sysdeps/sh/sysdep.h: Likewise.
69327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69328 Do not define ASM_TYPE_DIRECTIVE.
69329 * sysdeps/powerpc/sysdep.h: Likewise.
69330 * sysdeps/powerpc/powerpc32/sysdep.h:
69331 Replace ASM_TYPE_DIRECTIVE with .type.
69332 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69333 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69334 * sysdeps/i386/fpu/e_powf.S: Likewise.
69335 * sysdeps/i386/fpu/e_expl.S: Likewise.
69336 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69337 * sysdeps/i386/fpu/e_acosh.S: Likewise.
69338 * sysdeps/i386/fpu/e_pow.S: Likewise.
69339 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69340 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69341 * sysdeps/i386/fpu/s_expm1.S: Likewise.
69342 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69343 * sysdeps/i386/fpu/e_log2.S: Likewise.
69344 * sysdeps/i386/fpu/e_log2l.S: Likewise.
69345 * sysdeps/i386/fpu/e_scalb.S: Likewise.
69346 * sysdeps/i386/fpu/e_powl.S: Likewise.
69347 * sysdeps/i386/fpu/e_log10f.S: Likewise.
69348 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69349 * sysdeps/i386/fpu/e_logl.S: Likewise.
69350 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69351 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69352 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69353 * sysdeps/i386/fpu/e_log2f.S: Likewise.
69354 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69355 * sysdeps/i386/fpu/e_log.S: Likewise.
69356 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69357 * sysdeps/i386/fpu/e_logf.S: Likewise.
69358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
69359 * sysdeps/i386/fpu/e_atanh.S: Likewise.
69360 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69361 * sysdeps/i386/fpu/e_log10.S: Likewise.
69362 * sysdeps/i386/fpu/s_frexp.S: Likewise.
69363 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69364 * sysdeps/i386/fpu/s_asinh.S: Likewise.
69365 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69366 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69367 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69368 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69369 * sysdeps/i386/i686/strtok.S: Likewise.
69370 * sysdeps/i386/i386-mcount.S: Likewise.
69371 * sysdeps/i386/strtok.S: Likewise.
69372 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69373 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69374 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69375 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69376 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69377 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69378 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69379 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69380 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69381 * sysdeps/x86_64/_mcount.S: Likewise.
69382 * sysdeps/x86_64/strtok.S: Likewise.
69383 * sysdeps/sh/_mcount.S: Likewise.
69384
69385 2012-08-01 Roland McGrath <roland@hack.frob.com>
69386
69387 * libio/iofopen.c: Include <fcntl.h>.
69388 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
69389 (_IO_fopen64, fopen64): Define as aliases.
69390 * libio/iofopen64.c: Include <fcntl.h>.
69391 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
69392 Conditionalize body on this.
69393 * sysdeps/wordsize-64/iofopen.c: File removed.
69394 * sysdeps/wordsize-64/iofopen64.c: File removed.
69395
69396 2012-08-01 Marek Polacek <polacek@redhat.com>
69397
69398 * libc/Makeconfig: Use elf in place of binfmt-subdir.
69399 Use dlfcn directly instead of a variable.
69400 (binfmt-subdir): Do not define.
69401 (dlfcn): Likewise.
69402
69403 2012-08-01 Joseph Myers <joseph@codesourcery.com>
69404
69405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
69406 Remove all definitions.
69407 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
69408 <kernel-features.h>.
69409 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69410 (miss_F_GETOWN_EX): Remove all definitions.
69411 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
69412 macro definition.
69413 [!__ASSUME_FCNTL64]: Remove conditional code.
69414 [__ASSUME_FCNTL64]: Make code unconditional.
69415 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
69416 <kernel-features.h>.
69417 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69418 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
69419 (lockf64) [__NR_fcntl64]: Make code unconditional.
69420 (lockf64) [__ASSUME_FCNTL64]: Likewise.
69421
69422 * sysdeps/unix/sysv/linux/kernel-features.h
69423 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
69424 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
69425 Make code unconditional.
69426 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69427 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
69429 [__NR_vfork]: Make code unconditional.
69430 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69431 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
69433 [__NR_vfork]: Make code unconditional.
69434 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69435 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69436
69437 2012-08-01 Roland McGrath <roland@hack.frob.com>
69438
69439 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
69440 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
69441
69442 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69443 Define mkstemp64 as an alias.
69444 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69445 Define mkstemps64 as an alias.
69446 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69447 Define mkostemp64 as an alias.
69448 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69449 Define mkostemps64 as an alias.
69450 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
69451 Conditionalize body on this.
69452 * misc/mkostemp64.c: Likewise.
69453 * misc/mkostemps64.c: Likewise.
69454 * misc/mkstemps64.c: Likewise.
69455 * sysdeps/wordsize-64/mkstemp64.c: File removed.
69456 * sysdeps/wordsize-64/mkostemp64.c: File removed.
69457 * sysdeps/wordsize-64/mkostemp.c: File removed.
69458 * sysdeps/wordsize-64/mkstemp.c: File removed.
69459 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
69460 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
69461 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
69462 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
69463
69464 [BZ #14138]
69465 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
69466 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
69467 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
69468 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
69469
69470 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69471 compat_symbol macros from <shlib-compat.h> rather than the underlying
69472 default_symbol_version and symbol_version macros, so that DEFAULT
69473 lines in shlib-versions are respected.
69474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
69475
69476 2012-08-01 Florian Weimer <fweimer@redhat.com>
69477
69478 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
69479 Declare with warn_unused_result.
69480 (setgid, setregid, setegid, setresgid): Likewise.
69481 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
69482 Likewise.
69483 * WUR-REPORT: Remove set*id functions.
69484
69485 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
69486
69487 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
69488
69489 2012-07-31 Roland McGrath <roland@hack.frob.com>
69490
69491 [BZ #10191]
69492 * include/sys/socket.h (__libc_accept, __libc_accept4):
69493 Add attribute_hidden.
69494 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
69495
69496 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
69497 use of PTR_MANGLE.
69498 * inet/getnetgrent_r.c (setup): Likewise.
69499
69500 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
69501
69502 2012-07-31 David S. Miller <davem@davemloft.net>
69503
69504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69505
69506 2012-07-31 Joseph Myers <joseph@codesourcery.com>
69507
69508 [BZ #13629]
69509 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
69510 value between 1.0 and 2.0 and smaller part has absolute value less
69511 than 1.0.
69512 * math/s_clog10.c (__clog10): Likewise.
69513 * math/s_clog10f.c (__clog10f): Likewise.
69514 * math/s_clog10l.c (__clog10l): Likewise.
69515 * math/s_clogf.c (__clogf): Likewise.
69516 * math/s_clogl.c (__clogl): Likewise.
69517 * math/libm-test.inc (clog_test): Add more tests.
69518 (clog10_test): Likewise.
69519 * sysdeps/i386/fpu/libm-test-ulps: Update.
69520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69521
69522 2012-07-31 Florian Weimer <fweimer@redhat.com>
69523
69524 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
69525 Exit with zero in case no suitable GID is found, and write a
69526 message to standard error.
69527
69528 2012-07-30 Roland McGrath <roland@hack.frob.com>
69529
69530 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
69531 rather than to 1.
69532 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
69533 (MAXPATHLEN): Removed.
69534 (NOGROUP, NODEV): New macros.
69535 (setbit, clrbit, isset, isclr): New macros.
69536 (howmany, roundup, powerof2): New macros.
69537 (DEV_BSIZE): New macro.
69538
69539 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
69540 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
69541
69542 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
69543 definition on [!__NO_LONG_DOUBLE_MATH].
69544
69545 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
69546 PTR_MANGLE and PTR_DEMANGLE.
69547
69548 * socket/accept4.c (accept4): Rename to __libc_accept4.
69549 Define accept4 as a weak alias.
69550
69551 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
69552 on [_DIRENT_HAVE_D_TYPE].
69553 * io/ftw.c (ftw_dir): Likewise.
69554
69555 * io/xmknod.c (__xmknod): Don't check PATH for being null.
69556
69557 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
69558
69559 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
69560 Use the BSD numbers rather than the arbitrary ones we had.
69561 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
69562 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
69563 (SIGXCPU, SIGXFSZ): New macros.
69564 (_NSIG): Now 32.
69565
69566 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
69567 initializer on [_LIBC_REENTRANT].
69568
69569 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
69570 definitions inside [_POSIX_MAPPED_FILES].
69571
69572 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
69573
69574 * dirent/opendir.c: Include <fcntl.h>.
69575
69576 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
69577 (__libc_getspecific): Likewise.
69578 (__libc_key_create): Likewise.
69579
69580 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
69581 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
69582 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
69583 (tmpfile64): Define as alias.
69584 * sysdeps/wordsize-64/tmpfile.c: File removed.
69585 * sysdeps/wordsize-64/tmpfile64.c: File removed.
69586 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
69587 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
69588
69589 * stdio-common/vfscanf.c: Include <stdbool.h>.
69590 * nss/makedb.c: Likewise.
69591 * stdio-common/_i18n_number.h: Likewise.
69592 * argp/argp-help.c: Likewise.
69593 * posix/wordexp.c: Likewise.
69594 * sysdeps/posix/spawni.c: Likewise.
69595 * nss/nss_files/files-initgroups.c: Likewise.
69596 * stdio-common/reg-modifier.c: Include <stdlib.h>.
69597 * nss/nss_files/files-initgroups.c: Likewise.
69598 * nss/nss_db/db-netgrp.c: Likewise.
69599 * nss/nss_db/db-initgroups.c: Likewise.
69600 * io/fchmodat.c: Include <sys/stat.h>.
69601
69602 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
69603 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
69604
69605 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
69606 [HAVE_MMAP].
69607
69608 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
69609 Add multiple inclusion protection.
69610
69611 2012-07-27 David S. Miller <davem@davemloft.net>
69612
69613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69614
69615 2012-07-27 Gary Benson <gbenson@redhat.com>
69616
69617 [BZ #14298]
69618 * elf/rtld.c: Include <stap-probe.h>.
69619 (dl_main): Added static probes "init_start" and "init_complete".
69620 * elf/dl-load.c: Include <stap-probe.h>.
69621 (lose): Take new parameter "nsid".
69622 Added static probe "map_failed".
69623 (_dl_map_object_from_fd): Pass namespace id to lose.
69624 Added static probe "map_start".
69625 (open_verify): Pass namespace id to lose.
69626 * elf/dl-open.c: Include <stap-probe.h>.
69627 (dl_open_worker) Added static probes "map_complete", "reloc_start"
69628 and "reloc_complete".
69629 * elf/dl-close.c: Include <stap-probe.h>.
69630 (_dl_close_worker): Added static probes "unmap_start" and
69631 "unmap_complete".
69632 * elf/rtld-debugger-interface.txt: New file documenting the above.
69633
69634 2012-07-26 Roland McGrath <roland@hack.frob.com>
69635
69636 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
69637 rather than a string variable.
69638 * sunrpc/rpc_main.c (h_output): Likewise.
69639 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
69640
69641 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
69642
69643 * inet/check_native.c: New file.
69644
69645 2012-07-26 Joseph Myers <joseph@codesourcery.com>
69646
69647 [BZ #13629]
69648 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
69649 if larger part has absolute value 1.0.
69650 * math/s_clog10.c (__clog10): Likewise.
69651 * math/s_clog10f.c (__clog10f): Likewise.
69652 * math/s_clog10l.c (__clog10l): Likewise.
69653 * math/s_clogf.c (__clogf): Likewise.
69654 * math/s_clogl.c (__clogl): Likewise.
69655 * math/libm-test.inc (clog_test): Add more tests.
69656 (clog10_test): Likewise.
69657 * sysdeps/i386/fpu/libm-test-ulps: Update.
69658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69659
69660 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
69661 (pltexit): Likewise.
69662 (La_regs): Likewise.
69663 (La_retval): Likewise.
69664 (int_retval): Likewise.
69665 Update #error for removed macros to refer only to definitions in
69666 tst-audit.h.
69667 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
69668 macro.
69669 (pltexit): Likewise.
69670 (La_regs): Likewise.
69671 (La_retval): Likewise.
69672 (int_retval): Likewise.
69673 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
69674 macro.
69675 (pltexit): Likewise.
69676 (La_regs): Likewise.
69677 (La_retval): Likewise.
69678 (int_retval): Likewise.
69679 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
69680 macro.
69681 (pltexit): Likewise.
69682 (La_regs): Likewise.
69683 (La_retval): Likewise.
69684 (int_retval): Likewise.
69685 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
69686 macro.
69687 (pltexit): Likewise.
69688 (La_regs): Likewise.
69689 (La_retval): Likewise.
69690 (int_retval): Likewise.
69691 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
69692 macro.
69693 (pltexit): Likewise.
69694 (La_regs): Likewise.
69695 (La_retval): Likewise.
69696 (int_retval): Likewise.
69697 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
69698 macro.
69699 (pltexit): Likewise.
69700 (La_regs): Likewise.
69701 (La_retval): Likewise.
69702 (int_retval): Likewise.
69703 * sysdeps/generic/tst-audit.h: Update comment to refer only to
69704 macro definitions in tst-audit.h.
69705 * sysdeps/i386/tst-audit.h: New file.
69706 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
69707 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
69708 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
69709 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
69710 * sysdeps/sh/tst-audit.h: Likewise.
69711 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
69712 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
69713 * sysdeps/x86_64/tst-audit.h: Likewise.
69714
69715 2012-07-26 Andreas Jaeger <aj@suse.de>
69716
69717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
69718 ptrace.
69719
69720 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
69721 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
69722 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
69723 PTRACE_O_MASK.
69724 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
69725 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
69726 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
69727
69728 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
69729 value.
69730
69731 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
69732 _sigsys.
69733 (si_call_addr, si_syscall, si_arch): Define new macro.
69734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
69735 _sigsys.
69736 (si_call_addr, si_syscall, si_arch): Define new marcro.
69737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
69738 _sigsys.
69739 (si_call_addr, si_syscall, si_arch): Define new macro.
69740 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
69741 _sigsys.
69742 (si_call_addr, si_syscall, si_arch): Define new macro.
69743
69744 2012-07-25 Joseph Myers <joseph@codesourcery.com>
69745
69746 [BZ #13717]
69747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69748 Change to 2.4.21 where previously 2.4.1.
69749 * sysdeps/unix/sysv/linux/configure: Regenerated.
69750 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
69751 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
69752 Linux kernel version.
69753 (__ASSUME_STD_AUXV): Remove.
69754 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
69755 kernel version.
69756 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
69757 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
69758 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
69759 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
69760 (__ASSUME_NETLINK_SUPPORT): Likewise.
69761 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
69762 (__no_netlink_support): Remove conditional definition.
69763 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
69764 Remove.
69765 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
69766 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
69767 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
69768 (if_nameindex_ioctl): Remove.
69769 (if_nameindex_netlink): Do not handle __no_netlink_support.
69770 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
69771 code.
69772 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
69773 Remove conditional code.
69774 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
69775 code.
69776 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
69777 unconditional.
69778 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
69779 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
69780 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
69781 Remove.
69782 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
69783 [!__ASSUME_STD_AUXV]: Remove conditional code.
69784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
69785 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
69786 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
69787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
69788 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
69789 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
69790 code.
69791 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
69792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
69793 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
69794 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
69795 conditional code.
69796 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
69797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
69798 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
69799 code.
69800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
69801 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
69802 conditional code.
69803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
69804 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69805 code unconditional.
69806 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69807 conditional code.
69808 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69809 unconditional.
69810 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69811 conditional code.
69812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69813 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69814 unconditional.
69815 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69816 conditional code.
69817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
69818 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69819 code unconditional.
69820 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69821 conditional code.
69822 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69823 unconditional.
69824 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69825 conditional code.
69826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
69827 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69828 code unconditional.
69829 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69830 conditional code.
69831 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69832 unconditional.
69833 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69834 conditional code.
69835
69836 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
69837
69838 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
69839 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
69840 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
69841 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
69842 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
69843 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
69844 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
69845 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
69846 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
69847 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
69848 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
69849 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
69850 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
69851 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
69852 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
69853 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
69854 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
69855 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
69856 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
69857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
69858 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
69859 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
69860 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69861
69862 2012-07-25 Florian Weimer <fweimer@redhat.com>
69863
69864 * Versions.def: Add GLIBC_2.17.
69865 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
69866 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
69867 Introduce __libc_secure_getenv.
69868 * stdlib/Versions (2.17): Add secure_getenv
69869 (GLIBC_PRIVATE): Add __libc_secure_getenv.
69870 * stdlib/secure-getenv.c: Rename __secure_getenv to
69871 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
69872 symbol __secure_getenv for GLIBC_2.0.
69873 * stdlib/tst-secure-getenv.c: New.
69874 * stdlib/Makefile (tests): Add testcase.
69875 * manual/startup.texi (Environment Access): Document
69876 secure_getenv.
69877 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
69878 __libc_secure_getenv.
69879 * inet/ruserpass.c (ruserpass): Likewise.
69880 * malloc/mtrace.c (mtrace): Likewise.
69881 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
69882 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
69883 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
69884 * sysdeps/posix/tempname.c: Likewise. Evaluate
69885 HAVE_SECURE_GETENV.
69886 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
69887 __secure_getenv to __libc_secure_getenv.
69888 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
69889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69890 Likewise.
69891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69892 Likewise.
69893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69900
69901 2012-07-25 Joseph Myers <joseph@codesourcery.com>
69902
69903 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69904 (struct La_i86_retval): Likewise.
69905 (struct La_x86_64_regs): Likewise.
69906 (struct La_x86_64_retval): Likewise.
69907 (struct La_x32_regs): Likewise.
69908 (struct La_x32_retval): Likewise.
69909 (struct La_ppc32_regs): Likewise.
69910 (struct La_ppc32_retval): Likewise.
69911 (struct La_ppc64_regs): Likewise.
69912 (struct La_ppc64_retval): Likewise.
69913 (struct La_sh_regs): Likewise.
69914 (struct La_sh_retval): Likewise.
69915 (struct La_s390_32_regs): Likewise.
69916 (struct La_s390_32_retval): Likewise.
69917 (struct La_s390_64_regs): Likewise.
69918 (struct La_s390_64_retval): Likewise.
69919 (struct La_sparc32_regs): Likewise.
69920 (struct La_sparc32_retval): Likewise.
69921 (struct La_sparc64_regs): Likewise.
69922 (struct La_sparc64_retval): Likewise.
69923 (struct audit_ifaces): Remove architecture-specific pltenter and
69924 pltexit members.
69925 * sysdeps/i386/ldsodefs.h: New file.
69926 * sysdeps/powerpc/ldsodefs.h: Likewise.
69927 * sysdeps/s390/ldsodefs.h: Likewise.
69928 * sysdeps/sh/ldsodefs.h: Likewise.
69929 * sysdeps/sparc/ldsodefs.h: Likewise.
69930 * sysdeps/x86_64/ldsodefs.h: Likewise.
69931
69932 2012-07-25 Marek Polacek <polacek@redhat.com>
69933
69934 [BZ #6808]
69935 * math/libm-test.inc (yn_test): Add another test.
69936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
69937 to ERANGE when the result is +-Inf.
69938 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
69939 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
69940 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
69941 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
69942
69943 2012-07-24 Joseph Myers <joseph@codesourcery.com>
69944
69945 * conform/data/time.h-data (NULL): Use macro-constant. Require
69946 equal to 0.
69947 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
69948 clock_t.
69949 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
69950
69951 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
69952
69953 * configure.in <sysdeps resolving>: Correct printing
69954 Implies_before.
69955 * configure: Regenerate.
69956
69957 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
69958
69959 * math/w_ilogb.c: Include <limits.h>.
69960 * math/w_ilogbl.c: Likewise.
69961
69962 2012-07-20 Joseph Myers <joseph@codesourcery.com>
69963
69964 * manual/lang.texi (__va_copy): Document primarily as ISO C99
69965 va_copy. Document allowing for unavailable va_copy only as
69966 pre-C99 compatibility.
69967 * manual/string.texi (Copying and Concatenation): Use va_copy
69968 instead of __va_copy in concat example.
69969
69970 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
69971
69972 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
69973 (__sendto): Use create_address_port. Initialize APORT and deallocate
69974 it if not null.
69975
69976 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
69977 with O_NOLINK passed to __file_name_lookup.
69978
69979 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
69980 with O_NOLINK passed to __file_name_lookup.
69981
69982 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
69983 negative N or less than NGIDS.
69984
69985 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
69986 type to string_t. Set ERANGE as errno and return it if NAME is not big
69987 enough. Use memcpy instead of strncpy.
69988
69989 2012-07-20 Joseph Myers <joseph@codesourcery.com>
69990
69991 * elf/Makefile (check-data): Remove.
69992 (localplt.data): New vpath directive.
69993 ($(objpfx)check-localplt.out): Use localplt.data from vpath
69994 instead of $(check-data).
69995 * scripts/data/localplt-generic.data: Move to ...
69996 * sysdeps/generic/localplt.data: ... here.
69997 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
69998 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
69999 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70001 ... here.
70002 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70004 ... here.
70005 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70007 ... here.
70008 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70010 ... here.
70011 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70013 ... here.
70014 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70016 ... here.
70017
70018 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70019
70020 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70021 PPC32 and PPC64 files.
70022 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70023 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70024
70025 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70026
70027 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70028 __makecontext_ret to ...
70029 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70030 ... here and call exit if uc_link is NULL. New file.
70031 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70032 __makecontext_ret.S.
70033 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70034 __makecontext_ret to ...
70035 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70036 ... here and call exit if uc_link is NULL. New file.
70037 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70038 __makecontext_ret.S.
70039
70040 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70041
70042 * elf/elf.h (R_390_IRELATIVE): New definition.
70043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70044 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
70045 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70046 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70047 (elf_machine_lazy_rel): Likewise.
70048 * sysdeps/s390/dl-irel.h: New file.
70049 * sysdeps/s390/s390-64/memcpy.S: New asm code.
70050 * sysdeps/s390/s390-64/memset.S: New asm code.
70051 * sysdeps/s390/s390-64/memcmp.S: New asm code.
70052 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70053 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70054 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70055 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70056 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70057 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70058 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70059 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70060 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70061 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70062 * sysdeps/s390/s390-32/memcpy.S: New asm code.
70063 * sysdeps/s390/s390-32/memset.S: New asm code.
70064 * sysdeps/s390/s390-32/memcmp.S: New asm code.
70065
70066 2012-07-17 Marek Polacek <polacek@redhat.com>
70067
70068 [BZ #14349]
70069 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70070 * sysdeps/s390/s390-64/configure.in: Likewise.
70071 * sysdeps/sparc/configure.in: Likewise.
70072 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70073 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70074 * sysdeps/i386/configure.in: Likewise.
70075 * sysdeps/x86_64/configure.in: Likewise.
70076 * sysdeps/sh/configure.in: Likewise.
70077 * sysdeps/s390/s390-32/configure: Regenerated.
70078 * sysdeps/s390/s390-64/configure: Likewise.
70079 * sysdeps/x86_64/configure: Likewise.
70080 * sysdeps/sh/configure: Likewise.
70081 * sysdeps/powerpc/powerpc64/configure: Likewise.
70082 * sysdeps/powerpc/powerpc32/configure: Likewise.
70083 * sysdeps/sparc/configure: Likewise.
70084 * sysdeps/i386/configure: Likewise.
70085
70086 * elf/dl-open.c: Comment fixes.
70087
70088 2012-07-17 Joseph Myers <joseph@codesourcery.com>
70089
70090 * Makefile [CXX] (check-data): Remove.
70091 [CXX] (c++-types.data): New vpath directive.
70092 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70093 vpath. Do not allow for C++ type data being missing.
70094 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70095 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70096 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70097 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70098 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70099 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70100 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70102 ... here.
70103 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70105 ... here.
70106 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70108 ... here.
70109 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70111 ... here.
70112 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70114 ... here.
70115 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70117 ... here.
70118 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70120 ... here.
70121 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70123
70124 * elf/tls-macros.h (TLS_LE): Move architecture-specific
70125 definitions to architecture-specific files.
70126 (TLS_IE): Likewise.
70127 (TLS_LD): Likewise.
70128 (TLS_GD): Likewise.
70129 * sysdeps/i386/tls-macros.h: New file.
70130 * sysdeps/powerpc/tls-macros.h: Likewise.
70131 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70132 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70133 * sysdeps/sh/tls-macros.h: Likewise.
70134 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70135 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70136 * sysdeps/x86_64/tls-macros.h: Likewise.
70137
70138 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
70139
70140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70141 zero value for regular exit case.
70142
70143 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70144 (__start_context): Preserve zero value for regular exit case.
70145
70146 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
70147 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70148
70149 * manual/setjmp.texi (setcontext): Clarify normal process
70150 termination when uc_link is the null pointer.
70151 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70152 exit call.
70153
70154 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
70155
70156 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70157 preprocessor. Test for each exception mask separately.
70158
70159 2012-07-16 Andreas Jaeger <aj@suse.de>
70160
70161 * po/ru.po: Update from translation team.
70162
70163 2012-07-15 Joseph Myers <joseph@codesourcery.com>
70164
70165 * conform/data/string.h-data (NULL): Use macro-constant. Require
70166 equal to 0.
70167 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70168 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70169 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70170 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70172
70173 2012-07-13 Andreas Jaeger <aj@suse.de>
70174
70175 * po/fr.po: Update from translation team.
70176
70177 2012-07-12 Marek Polacek <polacek@redhat.com>
70178
70179 [BZ #14173]
70180 * math/libm-test.inc (yn_test): Add test for BZ #14173.
70181 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70182 loop condition.
70183
70184 2012-07-12 Joseph Myers <joseph@codesourcery.com>
70185
70186 [BZ #13717]
70187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70188 Change to 2.4.1 where previously 2.4.0.
70189 * sysdeps/unix/sysv/linux/configure: Regenerated.
70190 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70191 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70192 version.
70193 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70194 (__ASSUME_AT_CLKTCK): Remove.
70195 (__ASSUME_AT_PAGESIZE): Likewise.
70196 (__ASSUME_AT_XID): Likewise.
70197 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70198 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70199 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70200 unconditionally.
70201 (HAVE_AUX_PAGESIZE): Likewise.
70202 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70203 [__ASSUME_AT_CLKTCK]: Make code unconditional.
70204 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70205
70206 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
70207
70208 [BZ #14307]
70209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70210 the temporary buffer used to invoke __gethostbyname2_r,
70211 __gethostbyaddr_r and gethostbyname4_r to make room for struct
70212 host_data / struct gaih_addrtuple.
70213 * resolv/nss_dns/dns-host.c (global scope): Move definition of
70214 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70215 header file nss/nsswitch.h.
70216 * nss/nsswitch.h (global scope): Add definition of implementation
70217 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70218 resolv/nss_dns/dns-host.c).
70219
70220 2012-07-11 Andreas Jaeger <aj@suse.de>
70221
70222 * po/fr.po: Update from translation team.
70223
70224 * po/sv.po: Update from translation team
70225 * po/fr.po: Another update from translation team.
70226
70227 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70228
70229 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70230 for subnormals or multiply small sinh result by itself.
70231 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70233
70234 2012-07-11 David S. Miller <davem@davemloft.net>
70235
70236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70237
70238 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
70239
70240 [BZ #14347]
70241 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70242 (INTERNAL_MARK): Shift it here.
70243
70244 2012-07-10 Marek Polacek <polacek@redhat.com>
70245
70246 [BZ #14151]
70247 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
70248 libc_cv_asm_global_directive with .globl.
70249 * configure: Regenerated.
70250 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70251 with .globl.
70252 * sysdeps/i386/configure: Regenerated.
70253 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70254 with .globl.
70255 * sysdeps/x86_64/configure: Regenerated.
70256 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70257 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70258 * elf/tst-unique2mod2.c: Likewise.
70259 * elf/tst-unique2mod1.c: Likewise.
70260 * elf/tst-unique1mod2.c: Likewise.
70261 * elf/tst-unique1mod1.c: Likewise.
70262 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70263 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70265 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70266 * sysdeps/mach/sysdep.h: Likewise.
70267 * sysdeps/i386/sysdep.h: Likewise.
70268 * sysdeps/i386/i386-mcount.S: Likewise.
70269 * sysdeps/x86_64/_mcount.S: Likewise.
70270 * sysdeps/x86_64/sysdep.h: Likewise.
70271 * sysdeps/sh/_mcount.S: Likewise.
70272 * sysdeps/sh/sysdep.h: Likewise.
70273 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70274 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70275 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70276 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70277 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70278 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70279 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70280 * locale/localeinfo.h: Likewise.
70281 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70282 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70283
70284 2012-07-09 Roland McGrath <roland@hack.frob.com>
70285
70286 [BZ #14336]
70287 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70288 system".
70289 * manual/message.texi (The Uniforum approach): Likewise.
70290 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70291 (glibc iconv Implementation): Likewise.
70292
70293 2012-07-09 Joseph Myers <joseph@codesourcery.com>
70294
70295 [BZ #14337]
70296 * math/s_clog.c (__clog): Avoid scaling a value down where that
70297 could result in underflow.
70298 * math/s_clog10.c (__clog10): Likewise.
70299 * math/s_clog10f.c (__clog10f): Likewise.
70300 * math/s_clog10l.c (__clog10l): Likewise.
70301 * math/s_clogf.c (__clogf): Likewise.
70302 * math/s_clogl.c (__clogl): Likewise.
70303 * math/libm-test.inc (clog_test): Add more tests.
70304 (clog10_test): Likewise.
70305 * sysdeps/i386/fpu/libm-test-ulps: Update.
70306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70307
70308 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
70309
70310 [BZ #14283]
70311 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70312 by 7 not 8 to examine high bit of fractional part.
70313
70314 [BZ #14042]
70315 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70316 for call to __mcount_internal.
70317 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70318 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70319 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70320
70321 2012-07-06 Joseph Myers <joseph@codesourcery.com>
70322
70323 [BZ #14154]
70324 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70325 approximation for values within 0x1p-13f of an odd multiple of
70326 pi/4.
70327 * math/libm-test.inc (tan_test): Do not allow spurious underflow
70328 exception. Add more tests.
70329 * sysdeps/i386/fpu/libm-test-ulps: Update.
70330
70331 [BZ #6778]
70332 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70333 inputs and return -1 for them. Do not check for +Inf in case not
70334 reachable for +Inf.
70335 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70336 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70337 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70338 and return -1 for them. Do not check for +Inf in case not
70339 reachable for +Inf.
70340 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70341 define.
70342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70343 and return -1 for them. Do not check for +Inf in case not
70344 reachable for +Inf.
70345 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
70346 spurious underflow.
70347 * sysdeps/i386/fpu/libm-test-ulps: Update.
70348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70349
70350 2012-07-06 Mike Frysinger <vapier@gentoo.org>
70351
70352 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70353
70354 2012-07-05 Joseph Myers <joseph@codesourcery.com>
70355
70356 [BZ #14157]
70357 [BZ #14331]
70358 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70359 could result in spurious underflow. Scale down values above
70360 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70361 * math/s_csqrtf.c (__csqrtf): Likewise.
70362 * math/s_csqrtl.c (__csqrtl): Likewise.
70363 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
70364 spurious underflow.
70365 * sysdeps/i386/fpu/libm-test-ulps: Update.
70366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70367
70368 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
70369
70370 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70371 xopen-msg.sed.
70372 * catgets/xopen-msg.awk: New file.
70373 * catgets/xopen-msg.sed: Removed.
70374
70375 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
70376 po2text.sed.
70377 * intl/po2test.awk: New file.
70378 * intl/po2test.sed: Removed.
70379
70380 2012-07-04 Joseph Myers <joseph@codesourcery.com>
70381
70382 [BZ #14328]
70383 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
70384 or multiply small sinh result by itself.
70385 * math/s_ctanf.c (__ctanf): Likewise.
70386 * math/s_ctanh.c (__ctanh): Likewise.
70387 * math/s_ctanhf.c (__ctanhf): Likewise.
70388 * math/s_ctanhl.c (__ctanhl): Likewise.
70389 * math/s_ctanl.c (__ctanl): Likewise.
70390 * math/libm-test.inc (ctan_test_tonearest): New function.
70391 (ctan_test_towardzero): Likewise.
70392 (ctan_test_downward): Likewise.
70393 (ctan_test_upward): Likewise.
70394 (ctanh_test_tonearest): Likewise.
70395 (ctanh_test_towardzero): Likewise.
70396 (ctanh_test_downward): Likewise.
70397 (ctanh_test_upward): Likewise.
70398 (main): Call these new functions.
70399 * sysdeps/i386/fpu/libm-test-ulps: Update.
70400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70401
70402 2012-07-03 Mike Frysinger <vapier@gentoo.org>
70403
70404 * .gitignore: Delete /ports entry.
70405
70406 2012-07-03 Andreas Jaeger <aj@suse.de>
70407
70408 * po/bg.po: Update from translation team.
70409 * po/cs.po: Likewise.
70410 * po/de.po: Likewise.
70411 * po/hr.po: Likewise.
70412 * po/nl.pl: Likewise.
70413 * po/pl.po: Likewise.
70414 * po/vi.po: Likewise.
70415
70416 2012-07-03 Joseph Myers <joseph@codesourcery.com>
70417
70418 * Makeconfig [!+link] (+link-before-libc): New variable.
70419 [!+link] (+link-after-libc): Likewise.
70420 [!+link] (+link-tests): Likewise.
70421 [!+link] (+link): Define in terms of $(+link-before-libc) and
70422 $(+link-after-libc).
70423 [!+link-static] (+link-static-before-libc): New variable.
70424 [!+link-static] (+link-static-after-libc): Likewise.
70425 [!+link-static] (+link-static-tests): Likewise.
70426 [!+link-static] (+link-static): Define in terms of
70427 $(+link-static-before-libc) and $(+link-static-after-libc).
70428 [build-shared] (link-libc-before-gnulib): New variable.
70429 [build-shared] (link-libc-tests): Likewise.
70430 [build-shared] (link-libc): Define in terms of
70431 $(link-libc-before-gnulib).
70432 [!build-shared] (link-libc-tests): New variable.
70433 (link-libc-static-tests): New variable.
70434 [!gnulib] (gnulib-arch): New variable.
70435 [!gnulib] (gnulib-tests): Likewise.
70436 [!gnulib] (static-gnulib-arch): Likewise.
70437 [!gnulib] (static-gnulib-tests): Likewise.
70438 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
70439 Define with "=" instead of ":=".
70440 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
70441 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
70442 * Rules (binaries-all-notests): New variable.
70443 (binaries-all-tests): Likewise.
70444 (binaries-static-notests): Likewise.
70445 (binaries-static-tests): Likewise.
70446 (binaries-all): Define using $(binaries-all-notests) and
70447 $(binaries-all-tests).
70448 (binaries-static): Define using $(binaries-static-notests) and
70449 $(binaries-static-tests).
70450 (binaries-shared-tests): New variable.
70451 (binaries-shared-notests): Likewise.
70452 (binaries-shared): Remove variable.
70453 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
70454 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
70455 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
70456 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
70457 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
70458 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
70459 * elf/Makefile (sln-modules): New variable.
70460 (extra-objs): Add $(sln-modules:=.o).
70461 (ldconfig-modules): Add static-stubs.
70462 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
70463 * elf/static-stubs.c: New file.
70464
70465 [BZ #14283]
70466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
70467 by 7 not 8 to examine high bit of fractional part. Use volatile
70468 variables when splitting into final array of floats if
70469 __FLT_EVAL_METHOD__ != 0.
70470 * math/libm-test.inc (cos_test): Add another test.
70471 (sin_test): Likewise.
70472 * sysdeps/i386/fpu/libm-test-ulps: Update.
70473
70474 [BZ #14273]
70475 * math/libm-test.inc (cosh_test): Add more tests.
70476
70477 * version.h (RELEASE): Set to "development".
70478 (VERSION): Set to "2.16.90".
70479
70480 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
70481
70482 * NEWS: Update copyright. Remove last-updated date.
70483 Mention math library bug fixes and timezone data changes.
70484 * README: Mention GNU/Hurd, x32, and HPPA support status.
70485
70486 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
70487
70488 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
70489
70490 2012-06-27 Andreas Jaeger <aj@suse.de>
70491
70492 * manual/contrib.texi (Contributors): Add Samuel Thibault.
70493
70494 2012-06-25 Andreas Jaeger <aj@suse.de>
70495
70496 * sysdeps/s390/fpu/libm-test-ulps: Update.
70497
70498 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
70499 Thomas Schwinge <thomas@codesourcery.com>
70500
70501 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
70502 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
70503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
70504 fanotify_mark.
70505
70506 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
70507
70508 * sysdeps/mach/start.c: Remove file.
70509 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
70510 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
70511 * sysdeps/sh/init-first.c: Likewise.
70512
70513 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
70514 registers for frame unwinding purposes, add CFI directives.
70515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
70517 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
70518 Likewise.
70519
70520 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
70521 __fortify_fail returning.
70522 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70523
70524 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
70525 sysdeps/sh/____longjmp_chk.S.
70526 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
70527 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
70528 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
70529 (gen-as-const-headers): Append sigaltstack-offsets.sym.
70530
70531 * sysdeps/sh/abort-instr.h: New file.
70532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
70533 process in case exit returns.
70534
70535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
70536 initialize the GOT register before use.
70537
70538 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
70539 calculation of ARGC > 4.
70540
70541 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
70542 meaningful names to some local labels.
70543
70544 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
70545 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70546
70547 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
70548 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
70549 (__arch_compare_and_exchange_val_16_acq): Likewise.
70550 (__arch_compare_and_exchange_val_32_acq): Likewise.
70551 (atomic_exchange_and_add): Fix gUSA sequence.
70552 (atomic_add): Likewise.
70553 (atomic_add_negative): Likewise.
70554 (atomic_add_zero): Likewise.
70555 (atomic_bit_test_set): Likewise.
70556
70557 2012-06-22 Andreas Schwab <schwab@redhat.com>
70558
70559 [BZ #13579]
70560 * include/link.h (struct link_map): Add l_free_initfini.
70561 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
70562 l_initfini.
70563 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
70564 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
70565 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
70566 set.
70567
70568 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
70569
70570 * configure.in: Use AC_LANG_SOURCE.
70571 * configure: Regenerate.
70572
70573 2012-06-22 Roland McGrath <roland@hack.frob.com>
70574
70575 * configure.in (libc_cv_localstatedir): New substituted variable.
70576 * configure: Regenerated.
70577 * config.make.in (localstatedir): New variable, substituted from
70578 libc_cv_localstatedir.
70579 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
70580 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
70581 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
70582 * sysdeps/gnu/configure: Regenerated.
70583
70584 2012-06-21 Jeff Law <law@redhat.com>
70585
70586 [BZ #14277]
70587 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
70588 free. Simplify list management for _LIBC case.
70589
70590 2012-06-21 Joseph Myers <joseph@codesourcery.com>
70591
70592 [BZ #14273]
70593 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
70594 Clear sign bit of 64-bit integer value before comparing against
70595 overflow value.
70596
70597 * sysdeps/mach/configure: Regenerated.
70598
70599 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
70600
70601 [BZ #14278]
70602 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
70603
70604 2012-06-21 Jeff Law <law@redhat.com>
70605
70606 [BZ #13882]
70607 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
70608 uint16_t for elements in the "seen" array to avoid char overflows.
70609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
70610 * elf/dl-open.c (dl_open_worker): Likewise.
70611
70612 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
70613
70614 * scripts/list-sources.sh: Scan PORTS for translations.
70615 * po/libc.pot: Regenerated.
70616
70617 2012-06-21 Andreas Jaeger <aj@suse.de>
70618
70619 [BZ #12194]
70620 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
70621 warning.
70622 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
70623 * bits/byteswap-16.h (__bswap_16): Likewise.
70624 * bits/byteswap.h (__bswap_constant_16): Likewise.
70625
70626 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
70627
70628 [BZ #14117]
70629 * sysdeps/i386/fpu_control.h: Removed.
70630 * sysdeps/x86_64/fpu_control.h: Moved to ...
70631 * sysdeps/x86/fpu_control.h: Here.
70632
70633 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
70634 (_FPU_SETCW): Likewise.
70635
70636 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
70637
70638 [BZ #14117]
70639 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
70640 * sysdeps/x86/fpu/bits/mathinline.h: This.
70641 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
70642
70643 [BZ #14050]
70644 [BZ #14117]
70645 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
70646 functions if __x86_64__ is defined.
70647
70648 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
70649
70650 * string/endian.h: Add !__ASSEMBLER__ condition for including
70651 conversion interfaces.
70652
70653 2012-06-15 Joseph Myers <joseph@codesourcery.com>
70654
70655 [BZ #14241]
70656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
70657 of ABS(x) in calculating zero to negative powers other than odd
70658 integers.
70659 * math/libm-test.inc (pow_test): Add more tests.
70660
70661 2012-06-15 Andreas Jaeger <aj@suse.de>
70662
70663 * manual/contrib.texi (Contributors): Update entry of Liubov
70664 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
70665 Machado Filho.
70666
70667 2012-06-15 Cyril Hrubis <metan@ucw.cz>
70668
70669 * string/string.h: Add __wur to GNU version of strerror_r.
70670
70671 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
70672
70673 [BZ #14229]
70674 * string/Makefile (tests): Add tst-strtok_r.
70675 * string/tst-strtok_r.c: New file.
70676 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
70677 RAX_LP/RDX_LP on SAVE_PTR.
70678
70679 2012-06-14 Roland McGrath <roland@hack.frob.com>
70680
70681 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
70682
70683 2012-06-14 Joseph Myers <joseph@codesourcery.com>
70684
70685 * libm_test.inc (csqrt_test): Allow more spurious underflow
70686 exceptions.
70687 (j0_test): Likewise.
70688 (j1_test): Likewise.
70689 (y0_test): Likewise.
70690 (y1_test): Likewise.
70691
70692 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
70693
70694 * po/Makefile (libc.pot): Use UTF-8 charset.
70695
70696 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
70697
70698 [BZ #14210]
70699 Suppress sign-conversion warning from FD_SET.
70700 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
70701 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
70702 not unsigned long int.
70703 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
70704
70705 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
70706
70707 [BZ #14050]
70708 [BZ #14117]
70709 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
70710 __extern_always_inline instead of __extern_inline.
70711 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
70712 (__signbit): Likewise.
70713 (__signbitl): Support C++ namespace.
70714 (lrintf): New inline function.
70715 (lrint): Likewise.
70716 (llrintf): Likewise.
70717 (llrint): Likewise.
70718 (fmaxf): Likewise.
70719 (fmax): Likewise.
70720 (fminf): Likewise.
70721 (fmin): Likewise.
70722 (rint): Likewise.
70723 (rintf): Likewise.
70724 (ceil): Likewise.
70725 (ceilf): Likewise.
70726 (floor): Likewise.
70727 (floorf): Likewise.
70728 (nearbyint): Likewise.
70729 (nearbyintf): Likewise.
70730
70731 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
70732
70733 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
70734 non-default versions.
70735
70736 2012-06-11 Roland McGrath <roland@hack.frob.com>
70737
70738 [BZ #14218]
70739 * manual/argp.texi (Argp): Reword argp_parse description slightly.
70740
70741 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
70742
70743 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
70744 (FE_UPWARD, FE_DOWNWARD): Don't define.
70745 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
70746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70747
70748 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
70749 reading it.
70750 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70751 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70752
70753 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70754
70755 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
70757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
70758 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
70759
70760 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
70761
70762 [BZ #14117]
70763 * sysdeps/i386/fpu/bits/fenv.h: Removed.
70764 * sysdeps/i386/fpu/Implies: New file.
70765 * sysdeps/x86_64/fpu/Implies: Likewise.
70766 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
70767 * sysdeps/x86/fpu/bits/fenv.h: This.
70768
70769 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
70770 __SSE_MATH__.
70771
70772 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
70773
70774 [BZ #14134]
70775 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
70776 character 0xffff that matches the last element of the
70777 conversion table.
70778
70779 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70780
70781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
70782 fmodl commit.
70783
70784 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70785
70786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
70787 values higher than 25.6283.
70788
70789 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70790
70791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
70792 subnormal exponent extraction and add some __builtin_expect.
70793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
70794 Fix for subnormal mantissa calculation.
70795
70796 2012-06-04 Mike Frysinger <vapier@gentoo.org>
70797
70798 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
70799 cpu2 is -1 and errno is not ENOSYS.
70800
70801 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
70802
70803 [BZ #14117]
70804 * sysdeps/i386/i486/bits/string.h: Renamed to ...
70805 * sysdeps/x86/bits/string.h: This.
70806 * sysdeps/x86_64/bits/string.h: Removed.
70807
70808 * sysdeps/i386/i486/bits/string.h: Define inline functions only
70809 if not compiling for x86-64, but compiling for >= i486.
70810
70811 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
70812 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
70813
70814 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
70815 New macro from Linux kernel 3.4.0.
70816 (FP_XSTATE_MAGIC2): Likewise.
70817 (FP_XSTATE_MAGIC2_SIZE): Likewise.
70818 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
70819 (struct _fpx_sw_bytes): New struct.
70820 (struct _xsave_hdr): Likewise.
70821 (struct _ymmh_state): Likewise.
70822 (struct _xstate): Likewise.
70823
70824 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
70825 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
70826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
70827 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
70828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
70829 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
70830
70831 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
70832 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
70833 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
70834 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
70835 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
70836 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
70837
70838 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70839
70840 [BZ #13743]
70841 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
70842 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
70843 (sysdep_headers): Include sys/platform/ppc.h.
70844 * sysdeps/powerpc/test-gettimebase.c: Test for
70845 __ppc_get_timebase() to catch future ISA opcode/insn changes.
70846 * manual/Makefile (appendices): Include platform.texi.
70847 * manual/contrib.texi (Contributors): Update @node pointers.
70848 * manual/maint.texi (Maintenance): Likewise.
70849 (Platform): New node.
70850 * manual/platform.texi: New file. Document the new features.
70851
70852 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
70853 Jakub Jelinek <jakub@redhat.com>
70854
70855 [BZ #14188]
70856 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
70857 where __builtin_expect is unavailable.
70858
70859 2012-06-03 David S. Miller <davem@davemloft.net>
70860
70861 * stdlib/longlong.h: Updated from GCC.
70862
70863 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
70864
70865 [BZ #14042]
70866 * sysdeps/powerpc/powerpc32/mcount.c: New file.
70867 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
70868 __mcount_internal.
70869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70870 (GLIBC_2.16): Likewise.
70871
70872 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70873
70874 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
70875
70876 2012-06-01 Joseph Myers <joseph@codesourcery.com>
70877
70878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
70879 (default-abi): New variable.
70880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
70881 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
70882 variable.
70883 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
70884 Likewise.
70885 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
70886 Likewise.
70887 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
70888 Likewise.
70889
70890 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
70891 definition. Document in comment.
70892
70893 2012-06-01 David S. Miller <davem@davemloft.net>
70894
70895 * stdlib/longlong.h: Updated from GCC.
70896
70897 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70898
70899 [BZ #14117]
70900 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
70901 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
70902 sys/debugreg.h sys/io.h here.
70903 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
70904 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
70905 sys/io.h.
70906 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
70907 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
70908 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
70909 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
70910 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
70911 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
70912
70913 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
70914 Define only if __x86_64__ is defined.
70915
70916 2012-06-01 Joseph Myers <joseph@codesourcery.com>
70917
70918 [BZ #14048]
70919 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
70920 Use int64_t for variable i.
70921 * math/libm-test.inc (fmod_test): Add more tests.
70922
70923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
70924 z computation is not scheduled after fetestexcept.
70925 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
70926 Use math_force_eval instead of asm to ensure calculation scheduled
70927 before exception test.
70928 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
70929 Ensure a1 + u.d computation is not scheduled after fetestexcept.
70930
70931 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
70932
70933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
70934 computation is not scheduled after fetestexcept.
70935
70936 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70937
70938 [BZ #14117]
70939 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
70940 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
70941
70942 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70943
70944 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70945 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70946
70947 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
70948
70949 [BZ #14117]
70950 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
70951 <bits/wordsize.h>.
70952 (__WCHAR_MIN): Support __WORDSIZE == 64.
70953 (__WCHAR_MAX): Likewise.
70954
70955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
70956 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
70957
70958 [BZ #14183]
70959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
70960 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
70961
70962 [BZ #14117]
70963 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
70964 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
70965
70966 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
70967 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
70968
70969 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
70970 Defined to 1 if __x86_64__ isn't defined.
70971 (_STAT_VER_LINUX_OLD): New.
70972 (st_atime): Remove duplicate.
70973 (st_mtime): Likewise.
70974 (st_ctime): Likewise.
70975
70976 2012-05-31 David S. Miller <davem@davemloft.net>
70977
70978 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
70979 entries.
70980
70981 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
70982
70983 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
70984 gen-libm-test.pl.
70985
70986 [BZ #14132]
70987 * elf/dl-reloc.c: Include <_itoa.h>.
70988 (_dl_reloc_bad_type): Remove use of INTUSE.
70989 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
70990 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
70991 * stdio-common/psiginfo.c (psiginfo): Likewise.
70992 * stdio-common/psignal.c (psignal): Likewise.
70993 * string/strsignal.c (strsignal): Likewise.
70994 * include/signal.h (_sys_siglist): Declare hidden proto.
70995 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
70996 INTVARDEF with libc_hidden_data_def.
70997 * stdio-common/itoa-udigits.c: Likewise.
70998 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
70999 (_itoa_lower_digits_internal): Remove declaration.
71000 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71001 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71002 (_sys_sigabbrev_internal): Remove aliases.
71003 (_sys_siglist): Define hidden alias.
71004
71005 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
71006
71007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71008 bits/sysctl.h.
71009
71010 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
71011
71012 [BZ #14117]
71013 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71014 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71015
71016 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71017 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71018 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71019 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71021 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71022
71023 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71024 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71025 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71026
71027 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71028 with __addr.
71029 (insw): Likewise.
71030 (insl): Likewise.
71031 (outsb): Likewise.
71032 (outsw): Likewise.
71033 (outsl): Likewise.
71034
71035 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71036 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71037 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71038
71039 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71040 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71042 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71043 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71044 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71045
71046 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71047 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71048
71049 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71050 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71051
71052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71054 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71055
71056 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71057 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71058 to ...
71059 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71060
71061 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71062 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71063 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71064
71065 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71066 for x86-64.
71067 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71068
71069 2012-05-31 Joseph Myers <joseph@codesourcery.com>
71070
71071 * math/math.h (M_El): Use two more decimal places.
71072 (M_LOG2El): Likewise.
71073 (M_LOG10El): Likewise.
71074 (M_LN2l): Likewise.
71075 (M_LN10l): Likewise.
71076 (M_PIl): Likewise.
71077 (M_PI_2l): Likewise.
71078 (M_PI_4l): Likewise.
71079 (M_1_PIl): Likewise.
71080 (M_2_PIl): Likewise.
71081 (M_2_SQRTPIl): Likewise.
71082 (M_SQRT2l): Likewise.
71083 (M_SQRT1_2l): Likewise.
71084
71085 2012-05-31 David S. Miller <davem@davemloft.net>
71086
71087 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71088 values between float registers.
71089 * sysdeps/sparc/sparc64/memset.S: Likewise.
71090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71091
71092 2012-05-31 Mike Frysinger <vapier@gentoo.org>
71093
71094 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71095 -D_FORTIFY_SOURCE=1.
71096 (CPPFLAGS-tst-longjmp_chk.c): Define.
71097 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71098 (CPPFLAGS-tst-longjmp_chk2.c): Define.
71099 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71100 CFLAGS-tst-wchar-h.c.
71101
71102 2012-05-31 Marek Polacek <polacek@redhat.com>
71103
71104 [BZ #14132]
71105 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71106 __endmntent_internal): Remove declaration.
71107 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71108 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71109 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71110
71111 2012-05-30 David S. Miller <davem@davemloft.net>
71112
71113 * sysdeps/sparc/sparc32/soft-fp/q_util.c
71114 (___Q_simulate_exceptions): Use real FP ops rather than writing
71115 into the %fsr.
71116 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71117 Likewise.
71118
71119 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
71120
71121 [BZ #14117]
71122 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71123 * sysdeps/x86/bits/xtitypes.h: This.
71124
71125 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71126 * sysdeps/x86/bits/wordsize.h: This.
71127
71128 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71129 * sysdeps/x86/bits/huge_vall.h: This.
71130
71131 * sysdeps/i386/bits/select.h: Removed.
71132 * sysdeps/x86_64/bits/select.h: Renamed to ...
71133 * sysdeps/x86/bits/select.h: This.
71134
71135 * sysdeps/i386/bits/setjmp.h: Removed.
71136 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71137 * sysdeps/x86/bits/setjmp.h: This.
71138
71139 * sysdeps/i386/bits/mathdef.h: Removed.
71140 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71141 * sysdeps/x86/bits/mathdef.h: This.
71142
71143 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
71144
71145 [BZ #14132]
71146 * include/sys/socket.h (__connect_internal)
71147 (__libc_sa_len_internal): Remove declaration.
71148 (__connect, __libc_sa_len): Declare hidden_proto.
71149 (SA_LEN): Remove use of INTUSE.
71150 * socket/connect.c: Add libc_hidden_def.
71151 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71152 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71153 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71154 alias.
71155 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71156 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71157 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71158 of adding _internal alias.
71159
71160 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
71161
71162 [BZ #14117]
71163 * sysdeps/i386/bits/link.h: Removed.
71164 * sysdeps/i386/bits/linkmap.h: Likewise.
71165 * sysdeps/x86_64/bits/link.h: Renamed to ...
71166 * sysdeps/x86/bits/link.h: This.
71167 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71168 * sysdeps/x86/bits/linkmap.h: This.
71169
71170 * sysdeps/i386/bits/endian.h: Removed.
71171 * sysdeps/x86_64/bits/endian.h: Renamed to ...
71172 * sysdeps/x86/bits/endian.h: This.
71173
71174 * sysdeps/i386/bits/byteswap.h: Removed.
71175 * sysdeps/i386/bits/byteswap-16.h: Likewise.
71176 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71177 * sysdeps/x86/bits/byteswap.h: This.
71178 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71179 * sysdeps/x86/bits/byteswap-16.h: This.
71180 * sysdeps/i386/Implies: Add x86.
71181 * sysdeps/x86_64/Implies: Likewise.
71182
71183 2012-05-30 David S. Miller <davem@davemloft.net>
71184
71185 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71186 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71187 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71188 (FP_TRAPPING_EXCEPTIONS): Define.
71189 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71190 (FP_TRAPPING_EXCEPTIONS): Define.
71191 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71192 subnormals only when inexact has been signalled or underflow
71193 exceptions are enabled.
71194 (_FP_PACK_CANONICAL): Likewise.
71195
71196 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
71197
71198 [BZ #14183]
71199 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71200 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71201
71202 2012-05-30 Richard Henderson <rth@twiddle.net>
71203
71204 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71205 with #ifndef NOT_IN_libc.
71206
71207 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
71208 marked to avoid plt entry.
71209
71210 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
71211
71212 [BZ #14112]
71213 * Makeconfig (default-abi): New macro.
71214 (abi-includes): Likewise.
71215 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
71216 $(abi-$(default-abi)-lib-soname) for soname if defined.
71217 ($(common-objpfx)gnu/lib-names.stmp): Generate from
71218 abi-variants.
71219 * Makefile (installed-stubs): Likewise.
71220 * include/stubs-biarch.h: Removed.
71221 * scripts/lib-names.awk: Only handle one library at a time.
71222 * scripts/soversions.awk: Remove WORDSIZE support.
71223 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71224 entries.
71225 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71226 Removed.
71227 (syscall-list-default-condition): Likewise.
71228 (syscall-list-default-condition): Likewise.
71229 (syscall-list-includes): Likewise.
71230 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71231 syscall-list-* with abi-*. Handle undefined abi-variants.
71232 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71233 * sysdeps/unix/sysv/linux/i386/Implies: New file.
71234 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71235 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71236 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71237 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71238 Removed.
71239 (syscall-list-32-options): Likewise.
71240 (syscall-list-32-condition): Likewise.
71241 (syscall-list-64-options): Likewise.
71242 (syscall-list-64-condition): Likewise.
71243 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71244 macro.
71245 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71246 Renamed to ...
71247 (abi-*): This.
71248 (abi-64-ld-soname): New macro.
71249 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71250 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71251 Renamed to ...
71252 (abi-*): This.
71253 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71254 * sysdeps/x86_64/x32/shlib-versions: Likewise.
71255
71256 2012-05-30 Joseph Myers <joseph@codesourcery.com>
71257
71258 * sysdeps/unix/sysv/linux/kernel-features.h
71259 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71260 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71261 include <kernel-features.h>.
71262 [!__NR_ftruncate64]: Remove conditional code.
71263 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71264 [__NR_ftruncate64]: Make code unconditional.
71265 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71266 * sysdeps/unix/sysv/linux/truncate64.c: Do not
71267 include <kernel-features.h>.
71268 [!__NR_ftruncate64]: Remove conditional code.
71269 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71270 [__NR_ftruncate64]: Make code unconditional.
71271 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71273 include <kernel-features.h>.
71274 [!__NR_ftruncate64]: Remove conditional code.
71275 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71276 [__NR_ftruncate64]: Make code unconditional.
71277 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71279 include <kernel-features.h>.
71280 [!__NR_ftruncate64]: Remove conditional code.
71281 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71282 [__NR_ftruncate64]: Make code unconditional.
71283 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71284
71285 * configure.in (libc_cv_fpie): Weaken to a compile test using
71286 LIBC_TRY_CC_OPTION.
71287 * configure: Regenerated.
71288
71289 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71290
71291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71295 Refreshed.
71296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71302 Refreshed.
71303
71304 2012-05-27 David S. Miller <davem@davemloft.net>
71305
71306 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71307 (___Q_zero): New.
71308 (__Q_simulate_exceptions): Return void. Change to simulate
71309 exceptions by writing into the %fsr.
71310 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71311 (__Qp_handle_exceptions): Likewise.
71312 (numbers): Delete.
71313 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71314 __Qp_handle_exceptions.
71315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71316 __Qp_handle_exceptions.
71317 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71318 as unused and give dummy FP_RND_NEAREST initializer.
71319 (FP_INHIBIT_RESULTS): Define.
71320 (___Q_simulate_exceptions): Update declaration.
71321 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71322 formatting.
71323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71324 as unused and give dummy FP_RND_NEAREST initializer.
71325 (__Qp_handle_exceptions): Update declaration.
71326 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71327 formatting.
71328
71329 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
71330
71331 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71332 the temporary FPU control word.
71333 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71334 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71335 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71336 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71337 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71338 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71339 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71340 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71341 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71342 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71343 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71344
71345 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
71346
71347 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71348 fields.
71349
71350 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
71351
71352 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71353 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71354 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71355 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71356 Likewise.
71357 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71358 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71359 Likewise.
71360
71361 2012-05-27 Ulrich Drepper <drepper@gmail.com>
71362
71363 * po/h.po: Update from translation team.
71364
71365 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
71366
71367 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71368
71369 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71370 handling of denormals.
71371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71372 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71373 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71374 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
71377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
71378 Likewise.
71379
71380 2012-05-26 Marek Polacek <polacek@redhat.com>
71381
71382 [BZ #14152]
71383 * math/libm-test.inc (fma_test): Don't always expect underflow
71384 exception.
71385
71386 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
71387
71388 [BZ #12416]
71389 * elf/tst-execstack.c: Include stackinfo.h.
71390 (do_test): Adjust test case to ensure that pthread_getattr_np
71391 behaviour remains the same after marking stack executable.
71392
71393 2012-05-25 Joseph Myers <joseph@codesourcery.com>
71394
71395 * sysdeps/unix/sysv/linux/kernel-features.h
71396 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
71397 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71398 kernel-features.h.
71399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71401 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
71402 kernel-features.h.
71403 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71404 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71405
71406 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
71407
71408 * configure.in: Define the default includes to being none.
71409 * configure: Regenerated.
71410
71411 2012-05-25 Roland McGrath <roland@hack.frob.com>
71412
71413 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
71414 * sysdeps/x86_64/setjmp.S: Likewise.
71415 * sysdeps/i386/bsd-setjmp.S: Likewise.
71416 * sysdeps/i386/bsd-_setjmp.S: Likewise.
71417 * sysdeps/i386/setjmp.S: Likewise.
71418 * sysdeps/i386/__longjmp.S: Likewise.
71419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71420 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
71421
71422 * include/stap-probe.h: New file.
71423 * configure.in: Handle --enable-systemtap.
71424 * configure: Regenerated.
71425 * config.h.in (USE_STAP_PROBE): New #undef.
71426 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
71427 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
71428 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
71429
71430 2012-05-25 Joseph Myers <joseph@codesourcery.com>
71431
71432 [BZ #13717]
71433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71434 to 2.4.0 where earlier.
71435 * sysdeps/unix/sysv/linux/configure: Regenerated.
71436 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71437 <kernel-features.h>.
71438 [__ASSUME_32BITUIDS]: Make code unconditional.
71439 [!__ASSUME_32BITUIDS]: Remove conditional code.
71440 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
71441 <kernel-features.h>.
71442 [__ASSUME_32BITUIDS]: Make code unconditional.
71443 [!__ASSUME_32BITUIDS]: Remove conditional code.
71444 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
71445 [__ASSUME_32BITUIDS]: Make code unconditional.
71446 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
71447 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
71448 <kernel-features.h>.
71449 [__ASSUME_32BITUIDS]: Make code unconditional.
71450 [!__ASSUME_32BITUIDS]: Remove conditional code.
71451 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
71452 <kernel-features.h>.
71453 [__ASSUME_32BITUIDS]: Make code unconditional.
71454 [!__ASSUME_32BITUIDS]: Remove conditional code.
71455 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
71456 <kernel-features.h>.
71457 [__ASSUME_32BITUIDS]: Make code unconditional.
71458 [!__ASSUME_32BITUIDS]: Remove conditional code.
71459 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
71460 <kernel-features.h>.
71461 [__ASSUME_32BITUIDS]: Make code unconditional.
71462 [!__ASSUME_32BITUIDS]: Remove conditional code.
71463 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71464 <kernel-features.h>.
71465 [__ASSUME_32BITUIDS]: Make code unconditional.
71466 [!__ASSUME_32BITUIDS]: Remove conditional code.
71467 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71468 <kernel-features.h>.
71469 [__ASSUME_32BITUIDS]: Make code unconditional.
71470 [!__ASSUME_32BITUIDS]: Remove conditional code.
71471 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
71472 <kernel-features.h>.
71473 [__ASSUME_32BITUIDS]: Make code unconditional.
71474 [!__ASSUME_32BITUIDS]: Remove conditional code.
71475 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71476 <kernel-features.h>.
71477 [__ASSUME_32BITUIDS]: Make code unconditional.
71478 [!__ASSUME_32BITUIDS]: Remove conditional code.
71479 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71480 <kernel-features.h>.
71481 [__ASSUME_32BITUIDS]: Make code unconditional.
71482 [!__ASSUME_32BITUIDS]: Remove conditional code.
71483 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
71484 <kernel-features.h>.
71485 [__ASSUME_32BITUIDS]: Make code unconditional.
71486 [!__ASSUME_32BITUIDS]: Remove conditional code.
71487 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
71488 <kernel-features.h>.
71489 [__NR_setresgid] (__setresgid): Do not declare.
71490 [__ASSUME_32BITUIDS]: Make code unconditional.
71491 [!__ASSUME_32BITUIDS]: Remove conditional code.
71492 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
71493 <kernel-features.h>.
71494 [__NR_setresuid] (__setresuid): Do not declare.
71495 [__ASSUME_32BITUIDS]: Make code unconditional.
71496 [!__ASSUME_32BITUIDS]: Remove conditional code.
71497 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
71498 <kernel-features.h>.
71499 [__ASSUME_32BITUIDS]: Make code unconditional.
71500 [!__ASSUME_32BITUIDS]: Remove conditional code.
71501 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
71502 <kernel-features.h>.
71503 [__ASSUME_32BITUIDS]: Make code unconditional.
71504 [!__ASSUME_32BITUIDS]: Remove conditional code.
71505 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
71506 <kernel-features.h>.
71507 [__ASSUME_32BITUIDS]: Make code unconditional.
71508 [!__ASSUME_32BITUIDS]: Remove conditional code.
71509 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
71510 <kernel-features.h>.
71511 [__ASSUME_32BITUIDS]: Make code unconditional.
71512 [!__ASSUME_32BITUIDS]: Remove conditional code.
71513 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
71514 <kernel-features.h>.
71515 [__ASSUME_32BITUIDS]: Make code unconditional.
71516 [!__ASSUME_32BITUIDS]: Remove conditional code.
71517 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
71518 <kernel-features.h>.
71519 [__ASSUME_32BITUIDS]: Make code unconditional.
71520 [!__ASSUME_32BITUIDS]: Remove conditional code.
71521 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
71522 <kernel-features.h>.
71523 [__ASSUME_32BITUIDS]: Make code unconditional.
71524 [!__ASSUME_32BITUIDS]: Remove conditional code.
71525 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
71526 <kernel-features.h>.
71527 [__ASSUME_32BITUIDS]: Make code unconditional.
71528 [!__ASSUME_32BITUIDS]: Remove conditional code.
71529 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
71530 <kernel-features.h>.
71531 [__ASSUME_32BITUIDS]: Make code unconditional.
71532 [!__ASSUME_32BITUIDS]: Remove conditional code.
71533 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71534 <kernel-features.h>.
71535 [__ASSUME_32BITUIDS]: Make code unconditional.
71536 [!__ASSUME_32BITUIDS]: Remove conditional code.
71537 * sysdeps/unix/sysv/linux/kernel-features.h
71538 (__ASSUME_SETRESUID_SYSCALL): Remove.
71539 (__ASSUME_SETRESGID_SYSCALL): Likewise.
71540 (__ASSUME_32BITUIDS): Likewise.
71541 (__ASSUME_LDT_WORKS): Likewise.
71542 (__ASSUME_O_DIRECTORY): Likewise.
71543 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
71544 architecture but not kernel version.
71545 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
71546 (__ASSUME_MMAP2_SYSCALL): Likewise.
71547 (__ASSUME_STAT64_SYSCALL): Likewise.
71548 (__ASSUME_IPC64): Likewise.
71549 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
71550 <kernel-features.h>.
71551 [__ASSUME_32BITUIDS]: Make code unconditional.
71552 [!__ASSUME_32BITUIDS]: Remove conditional code.
71553 * sysdeps/unix/sysv/linux/opendir.c: Do not include
71554 <kernel-features.h>.
71555 [__ASSUME_O_DIRECTORY]: Make code unconditional.
71556 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
71557 132096]: Remove conditional code.
71558 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
71559 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71560 <kernel-features.h>.
71561 [__ASSUME_32BITUIDS]: Make code unconditional.
71562 [!__ASSUME_32BITUIDS]: Remove conditional code.
71563 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71564 <kernel-features.h>.
71565 [__ASSUME_32BITUIDS]: Make code unconditional.
71566 [!__ASSUME_32BITUIDS]: Remove conditional code.
71567 * sysdeps/unix/sysv/linux/setegid.c: Do not include
71568 <kernel-features.h>.
71569 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
71570 unconditional.
71571 (__setresgid): Do not declare.
71572 [__ASSUME_32BITUIDS]: Make code unconditional.
71573 [!__ASSUME_32BITUIDS]: Remove conditional code.
71574 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
71575 <kernel-features.h>.
71576 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
71577 unconditional.
71578 (__setresuid): Do not declare.
71579 [__ASSUME_32BITUIDS]: Make code unconditional.
71580 [!__ASSUME_32BITUIDS]: Remove conditional code.
71581 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71582 <kernel-features.h>.
71583 [__ASSUME_32BITUIDS]: Make code unconditional.
71584 [!__ASSUME_32BITUIDS]: Remove conditional code.
71585 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
71586 <kernel-features.h>.
71587 [__ASSUME_32BITUIDS]: Make code unconditional.
71588 [!__ASSUME_32BITUIDS]: Remove conditional code.
71589
71590 2012-05-25 Richard Henderson <rth@twiddle.net>
71591
71592 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
71593 dl_hwcap to ifunc resolver.
71594 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
71595 elf_ifunc_invoke.
71596 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
71597 dl_hwcap to ifunc resolver.
71598 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
71599
71600 2012-05-24 Joseph Myers <joseph@codesourcery.com>
71601
71602 [BZ #14153]
71603 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
71604 for |x| <= 2**-26, not 2**-57.
71605 * math/libm-test.inc (acos_test): Do not allow spurious underflow
71606 exception.
71607
71608 2012-05-24 Jeff Law <law@redhat.com>
71609
71610 * stdio-common/Makefile (tests): Add bug25.
71611 * stdio-common/bug25.c: New test.
71612
71613 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
71614
71615 [BZ #13576]
71616 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
71617 multiple of MALLOC_ALIGNMENT in size.
71618 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
71619
71620 2012-05-24 Joseph Myers <joseph@codesourcery.com>
71621
71622 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
71623 Require >= 256.
71624 (FILENAME_MAX): Use macro-int-constant.
71625 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
71626 (_IOFBF): Use macro-int-constant.
71627 (_IOLBF): Likewise.
71628 (_IONBF): Likewise.
71629 (SEEK_CUR): Likewise.
71630 (SEEK_END): Likewise.
71631 (SEEK_SET): Likewise.
71632 (TMP_MAX): Likewise.
71633 (EOF): Use macro-int-constant. Require < 0.
71634 (NULL): Use macro-constant. Require == 0.
71635 (stdin): Require type to be FILE *.
71636 (stdout): Likewise.
71637 (stderr): Likewise.
71638 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
71639 macro-int-constant.
71640 (EXIT_SUCCESS): Likewise.
71641 (NULL): Use macro-constant. Require == 0.
71642 (RAND_MAX): Use macro-int-constant.
71643 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
71644 [C99-based standards] (strtof): Require function.
71645 [C99-based standards] (strtold): Likewise.
71646 [C99-based standards] (strtoll): Likewise.
71647 [C99-based standards] (strtoull): Likewise.
71648 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71649 [ISO || ISO99 || ISO11] (limits.h): Likewise.
71650 [ISO || ISO99 || ISO11] (math.h): Likewise.
71651 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
71652 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71654
71655 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
71656
71657 [BZ #14132]
71658 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
71659 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
71660 * intl/dgettext.c (DCGETTEXT): Likewise.
71661 * intl/gettext.c (DCGETTEXT): Likewise.
71662 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
71663 * posix/regex_internal.h (gettext): Likewise.
71664 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
71665 Remove declaration.
71666 * include/argz.h (__argz_count_internal)
71667 (__argz_stringify_internal): Remove declaration.
71668 (__argz_count, __argz_stringify): Declare hidden proto.
71669 * intl/dcgettext.c: Remove use of INTDEF.
71670 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
71671 * string/argz-stringify.c: Likewise.
71672 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71673 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71674 Declare hidden proto.
71675 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71676 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71677 Declare hidden proto.
71678 * include/stdio.h (__asprintf_internal): Don't declare.
71679 (__asprintf): Don't define as macro. Declare hidden proto.
71680 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
71681 (__fsetlocking): Declare hidden proto.
71682 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
71683 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
71684 hidden proto.
71685 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
71686 (_IO_setlinebuf): Remove use of INTUSE.
71687 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
71688 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
71689 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
71690 Remove declaration.
71691 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
71692 (_IO_do_flush): Remove use of INTUSE.
71693 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
71694 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
71695 (_IO_adjust_column, _IO_least_wmarker)
71696 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
71697 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
71698 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
71699 (_IO_default_doallocate, _IO_wdefault_doallocate)
71700 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
71701 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
71702 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
71703 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
71704 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
71705 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
71706 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
71707 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
71708 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
71709 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
71710 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
71711 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
71712 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
71713 proto.
71714 (_IO_flush_all_internal, _IO_adjust_column_internal)
71715 (_IO_default_uflow_internal, _IO_default_finish_internal)
71716 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
71717 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
71718 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
71719 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
71720 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
71721 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
71722 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
71723 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
71724 (_IO_file_close_internal, _IO_file_close_it_internal)
71725 (_IO_file_underflow_internal, _IO_file_overflow_internal)
71726 (_IO_file_init_internal, _IO_file_attach_internal)
71727 (_IO_file_fopen_internal, _IO_file_read_internal)
71728 (_IO_file_sync_internal, _IO_file_seek_internal)
71729 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
71730 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
71731 (_IO_str_underflow_internal, _IO_str_overflow_internal)
71732 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
71733 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
71734 (_IO_list_all_internal, _IO_link_in_internal)
71735 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
71736 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
71737 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
71738 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
71739 (_IO_do_write_internal, _IO_padn_internal)
71740 (_IO_getline_info_internal, _IO_getline_internal)
71741 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
71742 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
71743 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
71744 (_IO_vfscanf_internal, _IO_vfprintf_internal)
71745 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
71746 (_IO_init_internal, _IO_un_link_internal): Don't declare.
71747 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
71748 with libc_hidden_ver, remove use of INTUSE.
71749 * libio/genops.c: Likewise.
71750 * libio/freopen.c: Likewise.
71751 * libio/freopen64.c: Likewise.
71752 * libio/iofclose.c: Likewise.
71753 * libio/iofdopen.c: Likewise.
71754 * libio/iofflush.c: Likewise.
71755 * libio/iofflush_u.c: Likewise.
71756 * libio/iofgets.c: Likewise.
71757 * libio/iofgets_u.c: Likewise.
71758 * libio/iofopen.c: Likewise.
71759 * libio/iofopncook.c: Likewise.
71760 * libio/iofread.c: Likewise.
71761 * libio/iofread_u.c: Likewise.
71762 * libio/ioftell.c: Likewise.
71763 * libio/iofwrite.c: Likewise.
71764 * libio/iogetline.c: Likewise.
71765 * libio/iogets.c: Likewise.
71766 * libio/iogetwline.c: Likewise.
71767 * libio/iopadn.c: Likewise.
71768 * libio/iopopen.c: Likewise.
71769 * libio/ioseekoff.c: Likewise.
71770 * libio/ioseekpos.c: Likewise.
71771 * libio/iosetbuffer.c: Likewise.
71772 * libio/iosetvbuf.c: Likewise.
71773 * libio/ioungetc.c: Likewise.
71774 * libio/ioungetwc.c: Likewise.
71775 * libio/iovdprintf.c: Likewise.
71776 * libio/iovsprintf.c: Likewise.
71777 * libio/iovsscanf.c: Likewise.
71778 * libio/memstream.c: Likewise.
71779 * libio/obprintf.c: Likewise.
71780 * libio/oldfileops.c: Likewise.
71781 * libio/oldiofclose.c: Likewise.
71782 * libio/oldiofdopen.c: Likewise.
71783 * libio/oldiofopen.c: Likewise.
71784 * libio/oldiopopen.c: Likewise.
71785 * libio/oldstdfiles.c: Likewise.
71786 * libio/putc.c: Likewise.
71787 * libio/setbuf.c: Likewise.
71788 * libio/setlinebuf.c: Likewise.
71789 * libio/stdfiles.c: Likewise.
71790 * libio/strops.c: Likewise.
71791 * libio/vasprintf.c: Likewise.
71792 * libio/vscanf.c: Likewise.
71793 * libio/vsnprintf.c: Likewise.
71794 * libio/vswprintf.c: Likewise.
71795 * libio/wfiledoalloc.c: Likewise.
71796 * libio/wfileops.c: Likewise.
71797 * libio/wgenops.c: Likewise.
71798 * libio/wmemstream.c: Likewise.
71799 * libio/wstrops.c: Likewise.
71800 * libio/__fpurge.c: Likewise.
71801 * libio/__fsetlocking.c: Likewise.
71802 * assert/assert.c: Likewise.
71803 * debug/fgets_chk.c: Likewise.
71804 * debug/fgets_u_chk.c: Likewise.
71805 * debug/fread_chk.c: Likewise.
71806 * debug/fread_u_chk.c: Likewise.
71807 * debug/gets_chk.c: Likewise.
71808 * debug/obprintf_chk.c: Likewise.
71809 * debug/vasprintf_chk.c: Likewise.
71810 * debug/vdprintf_chk.c: Likewise.
71811 * debug/vsnprintf_chk.c: Likewise.
71812 * debug/vsprintf_chk.c: Likewise.
71813 * malloc/mtrace.c: Likewise.
71814 * misc/error.c: Likewise.
71815 * misc/syslog.c: Likewise.
71816 * stdio-common/asprintf.c: Likewise.
71817 * stdio-common/fxprintf.c: Likewise.
71818 * stdio-common/getw.c: Likewise.
71819 * stdio-common/isoc99_fscanf.c: Likewise.
71820 * stdio-common/isoc99_scanf.c: Likewise.
71821 * stdio-common/isoc99_vfscanf.c: Likewise.
71822 * stdio-common/isoc99_vscanf.c: Likewise.
71823 * stdio-common/isoc99_vsscanf.c: Likewise.
71824 * stdio-common/printf-prs.c: Likewise.
71825 * stdio-common/printf_fp.c: Likewise.
71826 * stdio-common/printf_fphex.c: Likewise.
71827 * stdio-common/printf_size.c: Likewise.
71828 * stdio-common/putw.c: Likewise.
71829 * stdio-common/scanf.c: Likewise.
71830 * stdio-common/sprintf.c: Likewise.
71831 * stdio-common/tmpfile.c: Likewise.
71832 * stdio-common/vfprintf.c: Likewise.
71833 * stdio-common/vfscanf.c: Likewise.
71834 * stdlib/strfmon_l.c: Likewise.
71835 * sunrpc/openchild.c: Likewise.
71836 * sunrpc/xdr_stdio.c: Likewise.
71837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
71838 * sysdeps/mach/hurd/tmpfile.c: Likewise.
71839
71840 2012-05-24 Roland McGrath <roland@hack.frob.com>
71841
71842 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71843
71844 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
71845 in the third column, to generate for the shared library an IFUNC
71846 that uses _dl_vdso_vsym.
71847 * Makerules (COMPILE.c, compile-stdin.c): New variables.
71848 * Makeconfig (object-suffixes-noshared): New variable.
71849
71850 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
71851 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
71852 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
71853 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
71854
71855 [BZ #14132]
71856 * include/sys/time.h (__gettimeofday): Remove macro.
71857 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
71858 * time/gettimeofday.c (__gettimeofday): Remove #undef.
71859 Remove INTDEF.
71860 (__gettimeofday): Add libc_hidden_def.
71861 (gettimeofday): Add libc_hidden_weak.
71862 * sysdeps/mach/gettimeofday.c: Likewise.
71863 * sysdeps/posix/gettimeofday.c: Likewise.
71864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
71865 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
71866 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
71867 (__gettimeofday_internal): Remove strong_alias.
71868 (__gettimeofday): Add libc_hidden_def.
71869 (gettimeofday): Add libc_hidden_weak.
71870 * sysdeps/unix/syscalls.list (gettimeofday):
71871 Remove __gettimeofday_internal alias.
71872
71873 2012-05-24 Daniel Jacobowitz <drow@false.org>
71874 H.J. Lu <hongjiu.lu@intel.com>
71875
71876 [BZ #12495]
71877 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
71878 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
71879 (largebin_index_32_big): New.
71880 (largebin_index): Use it for 16-byte alignment.
71881 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
71882 correction with front_misalign.
71883
71884 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
71885
71886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
71887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
71888 Likewise.
71889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
71890 Likewise.
71891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71892 Likewise.
71893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
71894 Likewise.
71895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
71896 Likewise.
71897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
71898 Likewise.
71899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
71900 Likewise.
71901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
71902 Likewise.
71903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
71904 Likewise.
71905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
71906 Likewise.
71907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
71908 Likewise.
71909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71910 Likewise.
71911
71912 * scripts/data/c++-types-x32-linux-gnu.data: New file.
71913 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
71914
71915 2012-05-24 Joseph Myers <joseph@codesourcery.com>
71916
71917 [BZ #10846]
71918 [BZ #14036]
71919 * math/libm-test.inc (exp_test): Add test from bug 14036.
71920 (pow_test): Add test from bug 10846.
71921
71922 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71923 and other flags.
71924 (special_function): Do not include flags in test name.
71925 (parse_args): Likewise.
71926 * sysdeps/i386/fpu/libm-test-ulps: Update.
71927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71928 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
71929 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
71930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71931
71932 * math/gen-libm-test.pl (%beautify): Add entries for underflow
71933 exceptions.
71934 * math/libm-test.inc ("Philosophy"): Update comment about
71935 exception testing.
71936 (UNDERFLOW_EXCEPTION): New macro.
71937 (UNDERFLOW_EXCEPTION_OK): Likewise.
71938 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
71939 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
71940 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
71941 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
71942 (INVALID_EXCEPTION_OK): Update value.
71943 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71944 (OVERFLOW_EXCEPTION_OK): Likewise.
71945 (IGNORE_ZERO_INF_SIGN): Likewise.
71946 (test_exceptions): Handle underflow exceptions.
71947 (acos_test): Update for underflow exception expectations.
71948 (cexp_test): Likewise.
71949 (clog_test): Likewise.
71950 (clog10_test): Likewise.
71951 (csqrt_test): Likewise.
71952 (ctan_test): Likewise.
71953 (ctanh_test): Likewise.
71954 (exp_test): Likewise.
71955 (exp10_test): Likewise.
71956 (exp2_test): Likewise.
71957 (expm1_test): Likewise.
71958 (fma_test): Likewise.
71959 (j0_test): Likewise.
71960 (jn_test): Likewise.
71961 (nexttoward_test): Likewise.
71962 (pow_test): Likewise.
71963 (scalbn_test): Likewise.
71964 (scalbln_test): Likewise.
71965 (tan_test): Likewise.
71966 (y1_test): Likewise.
71967 * sysdeps/i386/fpu/libm-test-ulps: Update.
71968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71969
71970 2012-05-23 David S. Miller <davem@davemloft.net>
71971
71972 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71973 (__libc_sigaction): Remove unused local variables.
71974
71975 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71976
71977 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
71978
71979 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
71980
71981 mktime: avoid signed integer overflow
71982 * time/mktime.c (__mktime_internal): Do not mishandle the case
71983 where diff == INT_MIN.
71984
71985 mktime: simplify computation of average
71986 * time/mktime.c (ranged_convert): Use new time_t_avg function
71987 instead of rolling our own (probably-slower) code.
71988
71989 mktime: do not assume signed right shift propagates sign bit
71990 * time/mktime.c (isdst_differ): New static function.
71991 (__mktime_internal): No need to normalize tm_isdst now.
71992 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
71993 tm_isdst values.
71994
71995 mktime: merge another wrapv change from gnulib
71996 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
71997 from some compilers.
71998
71999 mktime: remove incorrect attempt at unusual arithmetics
72000 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72001 The code didn't really work on such machines anyway.
72002 (TYPE_MINIMUM): Assume two's complement.
72003 (twos_complement_arithmetic): Verify that long_int and time_t
72004 are two's complement (or unsigned, in the latter case).
72005
72006 mktime: check signed shifts on long_int and time_t, too
72007 * time/mktime.c (SHR): Check that shifts work as desired
72008 on the types long_int and time_t too, as SHR is used on
72009 such types.
72010
72011 mktime: do not assume 'long' is wide enough
72012 * time/mktime.c (verify): Move decl up.
72013 (long_int): New type.
72014 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72015 to remove assumption in the code that 'long' is wide enough to
72016 store year values. This assumption is not true on x32 and on
72017 some non-glibc platforms.
72018
72019 mktime: merge wrapv change from gnulib
72020 * time/mktime.c (WRAPV): New macro.
72021 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72022 (guess_time_tm, __mktime_internal): Do not assume that signed
72023 integer overflow wraps around; modern compilers generate code
72024 where this assumption is no longer valid.
72025
72026 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
72027
72028 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72029 Replace "jmp L(pseudo_end)" with "ret".
72030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72031 Likewise.
72032
72033 2012-05-23 Andreas Jaeger <aj@suse.de>
72034
72035 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72036 * sysdeps/unix/sysv/linux/poll.c: Remove file.
72037
72038 2012-05-23 Andreas Jaeger <aj@suse.de>
72039 Maximilian Attems <max@stro.at>
72040
72041 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72042 New macros.
72043
72044 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
72045
72046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72047 code so that pseudo_end is just ret and the stack pointer is
72048 correct also for static library in error case.
72049
72050 2012-05-23 Joseph Myers <joseph@codesourcery.com>
72051
72052 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72053 move to syscalls.list.
72054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72058
72059 * manual/install.texi (Running make install): Do not mention Linux
72060 kernel version for which pt_chown is not needed.
72061 (Linux): Do not mention problems with nscd with 2.0 kernels.
72062 * INSTALL: Regenerated.
72063
72064 2012-05-23 Andreas Jaeger <aj@suse.de>
72065
72066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72067 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72068 macro.
72069 * sysdeps/unix/sysv/linux/s390/bits/mman.h
72070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72071 * sysdeps/unix/sysv/linux/sh/bits/mman.h
72072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72073 * sysdeps/unix/sysv/linux/i386/bits/mman.h
72074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72075 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72076 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72077 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72078 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72079 * sysdeps/unix/sysv/linux/bits/in.h
72080 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72081
72082 2012-05-22 Roland McGrath <roland@hack.frob.com>
72083
72084 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72085 (PREPARE_VERSION): Just use assert instead, it will be elided
72086 under [NDEBUG] anyway.
72087
72088 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
72089
72090 * sysdeps/unix/sysv/linux/Makefile: Include
72091 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72092 (sysdep_routines): Remove sysctl.
72093 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72094 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72095 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72096 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72097 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72098
72099 2012-05-22 Andreas Jaeger <aj@suse.de>
72100
72101 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72102 that pseudo_end is just ret and the stack pointer is correct also
72103 for static library in error case.
72104
72105 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
72106
72107 [BZ #14122]
72108 * nss/nsswitch.c (defconfig_entries): New variable.
72109 (__nss_database_lookup): Don't leak defconfig entries.
72110 (nss_parse_service_list): Don't leak on error paths.
72111 (free_database_entries): New function.
72112 (free_defconfig): New function.
72113 (free_mem): Move common code to free_database_entries.
72114
72115 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
72116
72117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72118 Add arch_prctl.
72119 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72120
72121 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72122 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72124 New macro.
72125 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72126 (INTERNAL_SYSCALL_TYPES): Likewise.
72127 (LOAD_ARGS_TYPES_[1-6]): Likewise.
72128 (LOAD_REGS_TYPES_[1-6]): Likewise.
72129 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72130 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72131
72132 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72133
72134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72135 copysignl for GLIBC_2_0.
72136 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72137 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72139 logbl for GLIBC_2_0.
72140 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72141 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72142
72143 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
72144
72145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72146 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
72147
72148 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72149 Use "neg %eax".
72150
72151 * time/mktime.c: Update copyright years.
72152
72153 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
72154
72155 mktime: merge comment-quoting-style change from gnulib
72156 * time/mktime.c: Quote 'like this' in comments.
72157 The GNU coding standards suggest that we no longer quote `like this',
72158 as "`" and "'" are typically rendered asymmetrically nowadays.
72159 The typical gnulib style is to quote 'like this' when quoting
72160 code, and "like this" when quoting English.
72161
72162 * time/mktime.c (compile-command): Add "-I.".
72163
72164 mktime: merge mktime-internal.h change from gnulib
72165 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72166
72167 mktime: merge time_r change from gnulib
72168 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72169
72170 mktime: merge DEBUG change from gnulib
72171 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72172 case system <time.h> has a #define.
72173
72174 mktime: merge <sys/types.h> change from gnulib
72175 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72176 since <time.t> is now guaranteed to define time_t.
72177
72178 mktime: merge HAVE_CONFIG_H change from gnulib
72179 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72180
72181 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
72182
72183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72184 Use "neg %eax".
72185
72186 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72187 __rlim_t cast.
72188 (struct rusage): Use anonymous union to pad each field to
72189 __syscall_slong_t.
72190
72191 2012-05-21 David S. Miller <davem@davemloft.net>
72192
72193 * Makefules (o-iterator): Remove .s cases.
72194 (compile-command.s): Delete.
72195 (COMPILE.s): Delete.
72196 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72197
72198 2012-05-21 Joseph Myers <joseph@codesourcery.com>
72199
72200 * configure.in (libc_cv_predef_stack_protector): Only consider
72201 "foobar" and "__stack_chk_fail" lines in libc_undefs.
72202 * configure: Regenerated.
72203
72204 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
72205
72206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72207 New macro. Use R*LP on int and pointer.
72208 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72209 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72210 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72211 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72212
72213 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72214 [__WORDSIZE_TIME64_COMPAT32] instead of
72215 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72216 (struct utmp): Likewise.
72217 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72218 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72219 Renamed to ...
72220 (__WORDSIZE_TIME64_COMPAT32): This.
72221 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72222 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72223 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72224 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72225 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72226 (__WORDSIZE_TIME64_COMPAT32): New macro.
72227
72228 2012-05-21 Andreas Jaeger <aj@suse.de>
72229
72230 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72231 only if [SHARED]. Add prototype for __wcschr_ia32.
72232
72233 2012-05-21 Roland McGrath <roland@hack.frob.com>
72234
72235 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72236 of %rbp unmolested in the jmp_buf while mangling the low bits.
72237 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72238 unmolested high bits of %rbp while demangling the low bits.
72239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72240
72241 2012-05-21 Andreas Jaeger <aj@suse.de>
72242
72243 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72244 * sunrpc/svc_simple.c: Use it for registerrpc.
72245 * sunrpc/xcrypt.c: Use it for passwd2des.
72246
72247 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72248
72249 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
72250
72251 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72252 Don't define if [__SYSCALL_WORDSIZE != 32].
72253 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72254 New macro.
72255
72256 2012-05-21 Bruno Haible <bruno@clisp.org>
72257 Andreas Jaeger <aj@suse.de>
72258
72259 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72260 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72261 inptr and inend for must_buffer_ch.
72262 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72263 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72264 * stdio-common/Makefile (tests): Remove bug15.
72265 (bug15-ENV): Remove macro.
72266 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72267 anymore.
72268
72269 2012-05-19 Andreas Jaeger <aj@suse.de>
72270 Roland McGrath <roland@hack.frob.com>
72271
72272 * manual/contrib.texi: Completely rewritten. It contains now an
72273 alphabetical list of contributors and their contributions.
72274
72275 2012-05-21 Richard Henderson <rth@twiddle.net>
72276
72277 * misc/getauxval.c (__getauxval): Use unsigned long int.
72278 * misc/sys/auxv.h: Include <sys/cdefs.h>.
72279 (getauxval): Use unsigned long int.
72280
72281 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
72282
72283 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72284
72285 2012-05-21 Roland McGrath <roland@hack.frob.com>
72286
72287 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72288 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72289 __alignof__ (long double).
72290
72291 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72292
72293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72294
72295 2012-05-20 Richard Henderson <rth@twiddle.net>
72296
72297 * misc/getauxval.c: New file.
72298 * misc/sys/auxv.h: New file.
72299 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72300 (routines): Add getauxval.
72301 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72302 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72303 * elf/dl-sysdep.c (_dl_auxv): Remove.
72304 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72305 * elf/dl-support.c (_dl_auxv): New variable.
72306 (_dl_aux_init): Initialize it.
72307 * manual/startup.texi (Auxiliary Vector): New node.
72308 * sysdeps/generic/bits/hwcap.h: New file.
72309 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72310 * sysdeps/powerpc/sysdep.h: ... here. Include it.
72311 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72312 * sysdeps/sparc/sysdep.h: ... here. Include it.
72313 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72316 Update.
72317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72320 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72325
72326 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72327
72328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72329
72330 2012-05-19 David S. Miller <davem@davemloft.net>
72331
72332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72333
72334 2012-05-19 Joseph Myers <joseph@codesourcery.com>
72335
72336 [BZ #14123]
72337 * math/s_ccosh.c: Include <float.h>
72338 (__ccosh): Avoid internal overflow calculating sinh and cosh
72339 values before multiplying by sin and cos values.
72340 * math/s_ccoshf.c: Likewise.
72341 * math/s_ccoshl.c: Likewise.
72342 * math/s_csin.c: Likewise.
72343 * math/s_csinf.c: Likewise.
72344 * math/s_csinl.c: Likewise.
72345 * math/s_csinh.c: Likewise.
72346 * math/s_csinhf.c: Likewise.
72347 * math/s_csinhl.c: Likewise.
72348 * math/libm-test.inc (ccos_test): Add more tests.
72349 (ccosh_test): Likewise.
72350 (csin_test): Likewise.
72351 (csinh_test): Likewise.
72352 * sysdeps/i386/fpu/libm-test-ulps: Update.
72353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72354
72355 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
72356
72357 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72358 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72359
72360 * sysdeps/x86_64/x32/_itoa.h: Add comment.
72361
72362 2012-05-19 Joseph Myers <joseph@codesourcery.com>
72363
72364 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72365 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72366 * sysdeps/powerpc/soft-fp/Versions: Likewise.
72367 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72368 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72369 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72370 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72371 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72372 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72373 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72374 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72375 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
72376 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
72377 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
72378 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
72379 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
72380 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
72381 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
72382 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
72383 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
72384 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
72385 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
72386 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
72387 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
72388 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
72389 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
72390 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
72391 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
72392 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
72393 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
72394 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
72395
72396 2012-05-18 Andreas Jaeger <aj@suse.de>
72397
72398 * csu/.gitignore: Delete.
72399
72400 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
72401
72402 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
72403 (timex): Use __syscall_slong_t.
72404
72405 2012-05-18 Andreas Jaeger <aj@suse.de>
72406 Carlos O'Donell <carlos_odonell@mentor.com>
72407
72408 * manual/install.texi (Configuring and compiling): Update
72409 description about files modified in the source directory.
72410 * INSTALL: Regenerated.
72411
72412 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
72413
72414 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
72415 value. Use "or" to set return value to -1.
72416 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
72417 negate return value.
72418
72419 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72420
72421 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
72422 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
72423 failure if the compiler has Graphite support disabled.
72424 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
72425 Likewise.
72426 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
72427 (CFLAGS-memmove.c): Likewise.
72428 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
72429 Likewise.
72430
72431 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
72432
72433 * sysdeps/x86_64/x32/_itoa.h: New file.
72434
72435 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
72436 getdents system call only if kernel and user dirents have the
72437 same d_ino and d_off.
72438
72439 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72440 LLONG_MAX != LONG_MAX.
72441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
72442 (_fitoa_word): Likewise.
72443
72444 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
72445 years.
72446 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
72447 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
72448 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
72449
72450 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
72451 include <bits/wordsize.h>. Check __x86_64__ instead of
72452 __WORDSIZE.
72453 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
72454 if __x86_64__ is defined. Use anonymous union on fpstate.
72455
72456 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
72457 anonymous union.
72458
72459 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
72460
72461 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
72462 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
72463 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
72464 Refer to _rtld_local_ro instead of _rtld_global_ro.
72465 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
72466 Likewise.
72467 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
72468 Likewise.
72469 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
72470 Likewise.
72471 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
72472 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
72473 of _rtld_global, and rtld_progname instead of _dl_argv[0].
72474
72475 [BZ #10882]
72476 * sysdeps/powerpc/powerpc32/dl-machine.c
72477 (__elf_machine_runtime_setup) [PROF]: Don't reference
72478 _dl_prof_resolve.
72479
72480 2012-05-18 Andreas Jaeger <aj@suse.de>
72481
72482 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
72483 function only available for GCCs before 3.4 since GCC 3.4
72484 introduced a builtin.
72485 (lrint): Likewise.
72486 (llrintf): Likewise.
72487 (llrint): Likewise.
72488 (fmaxf): Likewise.
72489 (fmax): Likewise.
72490 (fminf): Likewise.
72491 (fmin): Likewise.
72492 (rint): Likewise.
72493 (rintf): Likewise.
72494 (nearbyint): Likewise.
72495 (nearbyintf): Likewise.
72496 (ceil): Likewise.
72497 (ceilf): Likewise.
72498 (floor): Likewise.
72499 (floorf): Likewise.
72500
72501 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
72502
72503 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
72504 on both fields and cast pointer to __syscall_ulong_t.
72505
72506 * bits/types.h (__fsword_t): New type.
72507 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
72508 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
72509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72510 (__FSWORD_T_TYPE): Likewise.
72511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72512 (__FSWORD_T_TYPE): Likewise.
72513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72514 (__FSWORD_T_TYPE): Likewise.
72515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
72516 (__FSWORD_T_TYPE): Likewise.
72517 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
72518 __SWORD_TYPE with __fsword_t.
72519 (statfs64): Likewise.
72520
72521 2012-05-17 David S. Miller <davem@davemloft.net>
72522
72523 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
72524
72525 2012-05-17 Andreas Jaeger <aj@suse.de>
72526
72527 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
72528 warning.
72529
72530 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
72531
72532 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
72533
72534 2012-05-17 Andreas Jaeger <aj@suse.de>
72535
72536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
72537 when it is used.
72538
72539 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
72540
72541 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
72542
72543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
72544
72545 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
72546 * sysdeps/x86_64/tst-mallocalign1.c: New file.
72547
72548 2012-05-17 Andreas Jaeger <aj@suse.de>
72549 Carlos O'Donell <carlos_odonell@mentor.com>
72550
72551 [BZ #14059]
72552 * sysdeps/x86_64/multiarch/init-arch.h
72553 (bit_YMM_Usable): Rename to...
72554 (bit_AVX_Usable): ... this.
72555 (bit_FMA4_Usable): New macro.
72556 (bit_XMM_state): New macro.
72557 (bit_YMM_state): New macro.
72558 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
72559 [__ASSEMBLER__] (index_AVX_Usable): ... this.
72560 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
72561 (CPUID_OSXSAVE): New macro.
72562 (CPUID_AVX): New macro.
72563 (CPUID_FMA4): New macro.
72564 (index_YMM_Usable): Rename to...
72565 (index_AVX_Usable): ... this.
72566 (HAS_AVX): Use HAS_ARCH_FEATURE.
72567 (HAS_FMA4): Likewise.
72568 (HAS_YMM_USABLE): Remove.
72569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72570 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
72571 are present.
72572 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
72573 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
72574 * sysdeps/x86_64/multiarch/Makefile: Likewise.
72575 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
72576 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
72577
72578 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
72579
72580 * math/libm-test.c: Support platforms without multiple rounding modes.
72581 * math/bug-nextafter.c: Support platforms without FP exceptions.
72582 * math/bug-nexttoward.c: Likewise.
72583 * math/test-fenv.c: Likewise.
72584 * math/test-misc.c: Likewise.
72585 * stdlib/bug-getcontext.c: Likewise.
72586
72587 2012-05-17 Andreas Jaeger <aj@suse.de>
72588
72589 * manual/examples/search.c (critter_cmp): Change signature to
72590 avoid warnings.
72591 * manual/string.texi (Collation Functions): Likewise.
72592
72593 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72594
72595 * bits/types.h: Fold copyright years.
72596 * bits/typesizes.h: Likewise.
72597 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
72598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
72599 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
72600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
72601 * time/time.h: Likewise.
72602
72603 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
72604
72605 [BZ #208]
72606 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
72607 in instead of returning them. Return void.
72608 (__libc_mallinfo): Accumulate over all arenas.
72609 (__malloc_stats): Adjust for change in int_mallinfo interface.
72610
72611 2012-05-16 Roland McGrath <roland@hack.frob.com>
72612
72613 [BZ #10375]
72614 * configure.in (NM): Add AC_CHECK_TOOL for it.
72615 (libc_extra_cflags): New substituted variable.
72616 Check for -fstack-protector being used implicitly.
72617 * configure: Regenerated.
72618 * config.make.in (config-extra-cflags): New variable,
72619 gets @libc_extra_cflags@.
72620 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
72621
72622 [BZ #10375]
72623 * configure.in: Check for _FORTIFY_SOURCE being predefined.
72624 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
72625 * configure: Regenerated.
72626 * config.make.in (CPPUNDEFS): New substituted variable.
72627 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
72628 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
72629 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
72630
72631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72632
72633 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
72634 (mq_attr): Use __syscall_slong_t.
72635
72636 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72637
72638 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
72639 Check __x86_64__ instead of __WORDSIZE.
72640 (_STAT_VER_LINUX): Likewise.
72641 (stat): Check __x86_64__ instead of __WORDSIZE. Use
72642 __syscall_ulong_t and __syscall_slong_t.
72643 (stat64): Likewise.
72644
72645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72646
72647 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
72648
72649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72650
72651 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
72652
72653 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72654
72655 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
72656 __syscall_ulong_t.
72657
72658 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
72659 include <bits/wordsize.h>. Check __x86_64__ instead of
72660 __WORDSIZE.
72661 (greg_t): Use "__extension__ long long int" if __x86_64__ is
72662 defined.
72663 (mcontext_t): Replace "unsigned long" with "unsigned long long".
72664
72665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
72666 include <bits/wordsize.h>. Check __x86_64__ instead of
72667 __WORDSIZE.
72668 (user_regs_struct): Use "__extension__ unsigned long long"
72669 instead of "unsigned long" if __x86_64__ is defined.
72670 (user): Likewise. Pad after pointer field if __ILP32__ is
72671 defined.
72672
72673 2012-05-16 Joseph Myers <joseph@codesourcery.com>
72674
72675 * configure.in (makeinfo): Require version 4.5 or later. Allow
72676 versions 5 to 9.
72677 * configure: Regenerated.
72678 * manual/install.texi (texinfo): Increase version requirement to
72679 4.5 or later.
72680 * INSTALL: Regenerated.
72681
72682 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
72683
72684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
72685
72686 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
72687
72688 * sysdeps/x86_64/x32/ffs.c: New file.
72689
72690 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
72691 __syscall_ulong_t.
72692 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
72693 defined. Use __syscall_ulong_t.
72694 (shminfo): Use __syscall_ulong_t.
72695 (shm_info): Likewise.
72696
72697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
72698 __syscall_ulong_t.
72699
72700 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
72701 <bits/wordsize.h>.
72702 (msgqnum_t): Use __syscall_ulong_t.
72703 (msglen_t): Likewise.
72704 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
72705 __syscall_ulong_t.
72706
72707 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
72708 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
72709
72710 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
72711
72712 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
72713 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
72714
72715 * sysvipc/sys/msg.h (msgbuf): Replace long int with
72716 __syscall_slong_t.
72717
72718 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
72719 include <bits/wordsize.h>. Check __x86_64__ instead of
72720 __WORDSIZE.
72721
72722 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
72723 "unsigned long long int" if __x86_64__ is defined.
72724 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
72725
72726 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
72727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
72728 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
72729
72730 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
72731 <stdint.h>.
72732 (GET_PC): Cast to uintptr_t first.
72733 (GET_FRAME): Likewise.
72734 (GET_STACK): Likewise.
72735
72736 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
72737 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
72738 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
72739 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
72740 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
72741 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
72742 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
72743 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
72744 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
72745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
72746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
72747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
72748 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72749 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
72750 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
72751 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
72752 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
72753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
72754 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
72755 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
72756 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
72757 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
72758 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
72759 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
72760 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
72761 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
72762 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
72763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
72764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
72765
72766 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
72767
72768 * Makerules (+depfiles): Also collect depfiles from .oS in
72769 $(extra-objs).
72770 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
72771 .oS, $(libnldbl-routines)).
72772
72773 * Makerules (native-compile-mkdep-flags): Define.
72774 * sunrpc/Makefile (extra-objs): Add $(addprefix
72775 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
72776 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
72777 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
72778 calling $(make-target-directory).
72779
72780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72781
72782 * bits/types.h (__snseconds_t): Removed.
72783 * time/time.h (struct timespec): Replace __snseconds_t with
72784 __syscall_slong_t.
72785 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
72786 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
72787 Likewise.
72788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72789 (__SNSECONDS_T_TYPE): Likewise.
72790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72791 (__SNSECONDS_T_TYPE): Likewise.
72792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72793 (__SNSECONDS_T_TYPE): Likewise.
72794
72795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72796
72797 * sysdeps/mach/hurd/bits/typesizes.h
72798 (__SYSCALL_SLONG_TYPE): New macro.
72799 (__SYSCALL_ULONG_TYPE): Likewise.
72800
72801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72802
72803 * bits/types.h (__syscall_slong_t): New type.
72804 (__syscall_ulong_t): Likewise.
72805
72806 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
72807 (__SYSCALL_ULONG_TYPE): Likewise.
72808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72809 (__SYSCALL_SLONG_TYPE): Likewise.
72810 (__SYSCALL_ULONG_TYPE): Likewise.
72811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72812 (__SYSCALL_SLONG_TYPE): Likewise.
72813 (__SYSCALL_ULONG_TYPE): Likewise.
72814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72815 (__SYSCALL_SLONG_TYPE): Likewise.
72816 (__SYSCALL_ULONG_TYPE): Likewise.
72817
72818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72819
72820 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
72821 Add sigaltstack-offsets.sym.
72822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
72823 <sigaltstack-offsets.h>.
72824 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
72825 longjmp_msg pointer.
72826 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
72827 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
72828 signal stack.
72829 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
72830
72831 2012-05-15 Joseph Myers <joseph@codesourcery.com>
72832
72833 * elf/stackguard-macros.h: Remove file.
72834 * sysdeps/generic/stackguard-macros.h: New file.
72835 * sysdeps/i386/stackguard-macros.h: Likewise.
72836 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
72837 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
72838 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
72839 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
72840 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
72841 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
72842 * sysdeps/x86_64/stackguard-macros.h: Likewise.
72843 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
72844 <elf/stackguard-macros.h>.
72845
72846 [BZ #14109]
72847 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
72848 __aligned__ in attribute.
72849 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
72850 (gregset_t): Likewise.
72851
72852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72853
72854 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
72855 * sysdeps/x86_64/64/Implies-after: Here. New file.
72856 * sysdeps/x86_64/x32/Implies-after: New file.
72857
72858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72859
72860 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
72861 and access return value for _dl_profile_fixup. Use R10_LP to
72862 load frame size.
72863
72864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72865
72866 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
72867
72868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72869
72870 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
72871 * sysdeps/x86_64/x32/sysdep.h: New file.
72872
72873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72874
72875 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
72876 * sysdeps/x86_64/setjmp.S: Likewise.
72877
72878 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72879
72880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
72881 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
72882 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
72883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
72884 remove unused global constant.
72885
72886 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
72887
72888 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72889 include of <not-cancel.h>.
72890
72891 2012-05-15 Roland McGrath <roland@hack.frob.com>
72892
72893 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
72894
72895 2012-05-15 Jeff Law <law@redhat.com>
72896 Andreas Jaeger <aj@suse.de>
72897
72898 [BZ #13594]
72899 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
72900 out from...
72901 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
72902 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
72903 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
72904 code changing __hst_map_handle.map.
72905
72906 2012-05-15 Roland McGrath <roland@hack.frob.com>
72907
72908 * configure.in (sysnames): Look for Implies-before and Implies-after
72909 files.
72910 * configure: Regenerated.
72911
72912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72913
72914 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
72915 8-byte data alignment with LP_SIZE alignment.
72916
72917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72918
72919 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
72920 into R10_LP.
72921
72922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72923
72924 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
72925
72926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72927
72928 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72929 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
72930 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
72931 Likewise.
72932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72933
72934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72935
72936 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
72937 (stackinfo_sub_sp): Likewise.
72938
72939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72940
72941 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
72942 RAX_LP.
72943
72944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72945
72946 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
72947 into R*_LP.
72948
72949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72950
72951 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
72952 sizes into R*_LP.
72953
72954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72955
72956 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
72957
72958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72959
72960 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
72961 into R11_LP and load __x86_64_shared_cache_size_half into
72962 R8_LP.
72963
72964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72965
72966 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
72967 R8_LP.
72968
72969 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72970
72971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
72972 logb for POWER7.
72973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
72974 logbf for POWER7.
72975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
72976 logbl for POWER7.
72977 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
72978 powerpc32/power7/fpu/s_logb.c via #include.
72979 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
72980 powerpc32/power7/fpu/s_logbf.c via #include.
72981 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
72982 powerpc32/power7/fpu/s_logbl.c via #include.
72983
72984 2012-05-15 Joseph Myers <joseph@codesourcery.com>
72985
72986 * README.libm: Remove file.
72987
72988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72989
72990 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
72991 count for x32. Use R*_LP and omit operand-size suffix.
72992
72993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72994
72995 * shlib-versions: Move x86_64-.*-linux.* entries to ...
72996 * sysdeps/x86_64/64/shlib-versions: Here. New file.
72997 * sysdeps/x86_64/x32/shlib-versions: New file.
72998
72999 2012-05-14 Roland McGrath <roland@hack.frob.com>
73000
73001 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73002 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73003 Use _dl_fatal_printf instead.
73004
73005 2012-05-14 Joseph Myers <joseph@codesourcery.com>
73006
73007 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73008 set if not set by the user. Do not allow for being unset.
73009 * sysdeps/unix/sysv/linux/configure: Regenerated.
73010
73011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73012
73013 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73014 the `q' suffix from lea and replace .quad with ASM_ADDR.
73015
73016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73017
73018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73019 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
73020 instead of $17.
73021 (PTR_DEMANGLE): Likewise.
73022
73023 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73024
73025 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73026 (LP_OP): Likewise.
73027 (ASM_ADDR): Likewise.
73028 (RAX_LP): Likewise.
73029 (RBP_LP): Likewise.
73030 (RBX_LP): Likewise.
73031 (RCX_LP): Likewise.
73032 (RDI_LP): Likewise.
73033 (RSI_LP): Likewise.
73034 (RSP_LP): Likewise.
73035 (R8_LP): Likewise.
73036 (R9_LP): Likewise.
73037 (R10_LP): Likewise.
73038 (R10_LP): Likewise.
73039 (R11_LP): Likewise.
73040 (R12_LP): Likewise.
73041 (R13_LP): Likewise.
73042 (R14_LP): Likewise.
73043 (R15_LP): Likewise.
73044
73045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73046
73047 * sysdeps/x86_64/x32/dl-machine.h: New file.
73048
73049 2012-05-14 Andreas Jaeger <aj@suse.de>
73050
73051 * manual/Makefile (subdir): Remove export of subdir.
73052 (all): Remove target.
73053 (.PHONY): Remove all from list.
73054 (mkinstalldirs): Remove.
73055 (.PHONY): Remove installdirs from list.
73056 ($(inst_infodir)/libc.info): Use make-target-directory.
73057 (installdirs): Remove.
73058 (subdir_%): Remove.
73059 (glibc-targets): Remove.
73060 (lib): Remove.
73061 (stubs): Remove.
73062 ($(objpfx)stubs ../po/manual.pot): Remove.
73063 ($(objpfx)stamp%): Remove.
73064 (make-target-directory): Remove.
73065 (subdir_install): Remove.
73066 (routines): Remove.
73067 (aux): Remove.
73068 (sources): Remove.
73069 (objects): Remove.
73070 (headers): Remove.
73071
73072 [BZ #13750]
73073 * manual/.gitignore: Remove, it's not needed anymore.
73074 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73075 all files in it.
73076 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73077 directory.
73078 (texis): Renamed to $(objpfx)texis.
73079 (texis-path): New, contains path to generated files.
73080 (chapters.%): Use texis-path for complete path, add extra argument
73081 libc-texinfo.sh.
73082 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73083 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73084 (summary,texi, stamp-summary): Use complete path of
73085 files. Generate files in build dir.
73086 (dir-add.texi): Build in build dir.
73087 (libm-err.texi,stamp-libm-err): Likewise.
73088 (version.texi, stamp-version): Likewise.
73089 (.%c.texi): Likewise.
73090 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73091 (mostlyclean): Remove target.
73092 (realclean): Remove target.
73093 (generated): Add new variable with contents from mostlyclean and
73094 realclean, remove entries duplicated in common-mostlyclean, add
73095 stamp-libm-err and stamp-version.
73096 (generated-dirs): Add libc directory.
73097 ($(inst_infodir)/libc.info): Install files from build dir.
73098
73099 * manual/install.texi (Configuring and compiling): Adjust since
73100 the info files are not part of the tar ball anymore.
73101
73102 2012-05-14 Andreas Jaeger <aj@suse.de>
73103
73104 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73105 variable.
73106
73107 2012-05-14 Joseph Myers <joseph@codesourcery.com>
73108
73109 [BZ #13717]
73110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73111 to 2.2.0 where earlier.
73112 * sysdeps/unix/sysv/linux/configure: Regenerated.
73113 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73114 Remove conditional code.
73115 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73116 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73117 Remove conditional code.
73118 [!__NR_lchown]: Likewise.
73119 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73120 [__NR_lchown]: Likewise.
73121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73122 comment referencing __ASSUME_LCHOWN_SYSCALL.
73123 * sysdeps/unix/sysv/linux/i386/sigaction.c
73124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73126 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73127 Remove conditional code.
73128 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73129 (__protocol_available): Remove #if 0 code.
73130 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73131 conditional code.
73132 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73133 * sysdeps/unix/sysv/linux/kernel-features.h
73134 (__ASSUME_GETCWD_SYSCALL): Don't define.
73135 (__ASSUME_REALTIME_SIGNALS): Likewise.
73136 (__ASSUME_PREAD_SYSCALL): Likewise.
73137 (__ASSUME_PWRITE_SYSCALL): Likewise.
73138 (__ASSUME_POLL_SYSCALL): Likewise.
73139 (__ASSUME_LCHOWN_SYSCALL): Likewise.
73140 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73141 non-SPARC.
73142 (__ASSUME_SIOCGIFNAME): Don't define.
73143 (__ASSUME_MSG_NOSIGNAL): Likewise.
73144 (__ASSUME_SENDFILE): Define unconditionally.
73145 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73146 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73147 conditional code.
73148 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73149 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73150 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73151 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73152 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73153 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73154 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73168 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73179 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73180 Remove conditional code.
73181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73182 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73183 Remove conditional code.
73184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73185 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73186 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73187 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73188 Remove conditional code.
73189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73190 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73191 Remove conditional code.
73192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73193 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73194 Remove conditional code.
73195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73196 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73197 Remove conditional code.
73198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73199 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73200 Remove conditional code.
73201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73202 * sysdeps/unix/sysv/linux/sh/pwrite64.c
73203 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73205 * sysdeps/unix/sysv/linux/sigaction.c
73206 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73207 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73208 * sysdeps/unix/sysv/linux/sigpending.c
73209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73211 * sysdeps/unix/sysv/linux/sigprocmask.c
73212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73214 * sysdeps/unix/sysv/linux/sigsuspend.c
73215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73218 (__libc_missing_rt_sigs): Remove.
73219 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73220 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73221 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73222 Remove conditional code.
73223 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73224 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73225 return 1.
73226 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73227 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73228 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73229 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73230
73231 2012-05-14 Andreas Jaeger <aj@suse.de>
73232
73233 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73234 it's not used in glibc.
73235 (__coshm1): Likewise.
73236 (__acosh1p): Likewise.
73237 (__sgn): Likewise.
73238
73239 * manual/string.texi (Copying and Concatenation): Add missing
73240 variable in concat example.
73241 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73242
73243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73244
73245 [BZ #14103]
73246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73247 __builtin_clzl with __builtin_clzll.
73248
73249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73250
73251 [BZ #14104]
73252 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73253 libc_freeres_ptr.
73254
73255 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73256
73257 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73258 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73259 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73260 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73261
73262 2012-05-14 Mike Frysinger <vapier@gentoo.org>
73263
73264 * NEWS: Update ia64 info.
73265
73266 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
73267
73268 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73269 used as bcopy.
73270
73271 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
73272
73273 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73274 * sysdeps/unix/syscalls.list (dup3): Likewise.
73275 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73276 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73277
73278 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
73279
73280 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73281 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73282
73283 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
73284
73285 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73286 thread pointer.
73287 (TLS_IE): Use mov/add instead of movq/addq to load thread
73288 pointer.
73289 (TLS_GD_PREFIX): New.
73290 (TLS_GD): Use it.
73291
73292 2012-05-11 David S. Miller <davem@davemloft.net>
73293
73294 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73295 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73296 (_FPU_SETCW): Likewise.
73297
73298 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
73299
73300 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73301 is 32-byte aligned.
73302
73303 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
73304
73305 [BZ #11837]
73306 * iconvdata/gb18030.c: Update tables.
73307 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
73308 characters specially.
73309 (BODY for TO_LOOP): Add encoding of missing ranges.
73310
73311 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
73312
73313 [BZ #13673]
73314 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73315 * sysdeps/mach/hurd/dup3.c: Likewise.
73316 * sysdeps/mach/hurd/readlinkat.c: Likewise.
73317 * sysdeps/powerpc/memmove.c:: Likewise.
73318
73319 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
73320
73321 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73322 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73323
73324 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
73325
73326 * elf/elf.h (R_X86_64_RELATIVE64): New.
73327 (R_X86_64_NUM): Updated.
73328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73329 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
73330 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73331 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73332 tst-quad1pie tst-quad2pie
73333 (modules-names): Add tst-quadmod1 tst-quadmod2.
73334 ($(objpfx)tst-quad1): New dependency.
73335 ($(objpfx)tst-quad2): Likewise.
73336 ($(objpfx)tst-quad1pie): Likewise.
73337 ($(objpfx)tst-quad2pie): Likewise.
73338 * sysdeps/x86_64/tst-quad1.c: New file.
73339 * sysdeps/x86_64/tst-quad1pie.c: New file.
73340 * sysdeps/x86_64/tst-quad2.c: Likewise.
73341 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73342 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73343 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73344 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73345 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73346
73347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73348
73349 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73350 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73351 * streams/stropts.h (t_scalar_t): Define type.
73352
73353 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73354 (_PATH_PRESERVE): Set to "/var/lib".
73355 (_PATH_RWHODIR): Set to "/var/spool/rwho".
73356
73357 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73358 instead of int.
73359
73360 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73361 if __dir_mkfile succeeded.
73362
73363 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73364 checking for _hurd_dtablesize. Unlock it right after having
73365 finished _hurd_dtable allocation.
73366
73367 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73368
73369 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73370 * sysdeps/mach/hurd/configure: Regenerated.
73371 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73372 special-casing to...
73373 * sysdeps/gnu/configure.in: ... this new file.
73374 * sysdeps/unix/sysv/linux/configure: Regenerated.
73375 * sysdeps/gnu/configure: New generated file.
73376
73377 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
73378 for Linux: use nsec instead of usec, as well as:
73379 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
73380 members of type struct timespec.
73381 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
73382 New macros.
73383 (struct stat64): Likewise.
73384 (_STATBUF_ST_NSEC): New macro.
73385 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
73386
73387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73388 __strtoul_internal rather than strtoul.
73389
73390 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
73391
73392 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
73393 and reject them.
73394
73395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73396
73397 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
73398 which preserves existing values.
73399 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
73400
73401 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
73402
73403 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
73404 TIMEOUT values. Return EINVAL for NFDS values either negative or
73405 greater than FD_SETSIZE.
73406
73407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73408
73409 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
73410 allocated, call __vm_protect to finish enabling the existing space, and
73411 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
73412 allocate the remainder.
73413
73414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
73415
73416 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
73417 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
73418
73419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73420
73421 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
73422 sysdeps/mach/hurd/readlink.c.
73423
73424 * posix/tst-sysconf.c (posix_options): Only use
73425 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
73426 _POSIX_SYNCHRONIZED_IO when they are defined
73427 * sysdeps/mach/hurd/bits/posix_opt.h:
73428 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
73429 (_XOPEN_REALTIME): Undefine macro.
73430 (_XOPEN_REALTIME_THREADS): Undefine macro.
73431 (_XOPEN_SHM): Undefine macro.
73432 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
73433 macro to -1.
73434 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
73435 macro to -1.
73436 (_POSIX_ASYNC_IO): Undefine macro.
73437 (_POSIX_PRIORITIZED_IO): Undefine macro.
73438 (_POSIX_SPIN_LOCKS): Define macro to -1.
73439
73440 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
73441 SA_NODEFER, SA_RESETHAND.
73442 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
73443 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
73444 F_DUPFD_CLOEXEC.
73445
73446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73447
73448 * elf/Makefile (pldd-modules): Define unconditionally.
73449
73450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73451
73452 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
73453
73454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73455
73456 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73457 Return ENOENT when name is empty.
73458 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
73459
73460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73461
73462 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
73463
73464 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
73465
73466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73467
73468 Fix mlock in all cases except non-readable pages.
73469 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
73470 instead of VM_PROT_ALL as parameter to __vm_wire function.
73471
73472 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73473 (__mkdir): When path is `/', just fail with EEXIST.
73474 * sysdeps/mach/hurd/mkdirat.c: Likewise.
73475
73476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73477
73478 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
73479 <sys/uio.h> (for writev).
73480 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
73481 and <sys/param.h> (for MIN).
73482
73483 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
73484
73485 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
73486 REQUESTED_TIME. Properly set the remaining time and return EINTR
73487 if interrupted.
73488
73489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73490
73491 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
73492 Depend on against $(link-rpcuserlibs).
73493
73494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73495
73496 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
73497 (__libc_stack_end): Do not use attribute_relro.
73498 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
73499 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
73500 to libthread-provided value.
73501 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
73502 attribute_relro.
73503
73504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73505
73506 [BZ #3748]
73507 * bits/libc-lock.h (__libc_once_get): New macro.
73508 * sysdeps/mach/bits/libc-lock.h: Likewise.
73509 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
73510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
73511 instead of using implementation details.
73512
73513 * libio/fileops.c: Unconditionally include <kernel-features.h>.
73514 * libio/freopen.c: Likewise.
73515 * libio/freopen64.c: Likewise.
73516 * misc/syslog.c: Likewise.
73517 * nscd/connections.c: Likewise.
73518 * nscd/netgroupcache.c: Likewise.
73519 * sysdeps/posix/getcwd.c: Likewise.
73520
73521 2012-05-10 Roland McGrath <roland@hack.frob.com>
73522
73523 * math/w_ilogbf.c: Add #include <limits.h>.
73524
73525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73526
73527 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
73528 path instead of returning without unlocking.
73529
73530 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
73531 immediate-write ioctls.
73532 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
73533
73534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73535
73536 * sysdeps/mach/hurd/i386/init-first.c (init): Use
73537 __builtin_frame_address instead of making assumptions about the
73538 location of the return address relative to DATA. Force early load of
73539 the return address.
73540 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
73541 __builtin_frame_address.
73542
73543 dup3 for GNU Hurd.
73544 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
73545 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
73546 implement dup3 and do some further code clean-ups.
73547 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
73548 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
73549
73550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73551
73552 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
73553
73554 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
73555 HURD_CRITICAL_END around holding _hurd_dtable_lock.
73556 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
73557 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
73558 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
73559 d->port.lock.
73560
73561 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
73562 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
73563 when handler == SIG_ERR, not when handler != SIG_ERR.
73564
73565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73566
73567 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
73568 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
73569 definitions.
73570
73571 accept4 for GNU Hurd.
73572 * include/sys/socket.h (__libc_accept4): New prototype.
73573 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
73574 to implement __libc_accept4.
73575 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
73576 __libc_accept4.
73577 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
73578
73579 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
73580 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
73581 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
73582 signal-defines.sym.
73583
73584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73585
73586 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
73587
73588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
73589
73590 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
73591 assertion on O_CLOEXEC flag.
73592 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
73593 * hurd/intern-fd.c: Likewise.
73594 * hurd/port2fd.c: Likewise.
73595
73596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
73597
73598 [BZ #3906]
73599 * bits/in.h (IPV6_PKTINFO): Define new macro.
73600 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
73601
73602 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73603
73604 [BZ #13954]
73605 [BZ #13955]
73606 [BZ #13956]
73607 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
73608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73609 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
73610 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73612 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73613 * math/libm-test.inc (logb_test) : Additional logb tests.
73614
73615 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
73616 Andreas Jaeger <aj@suse.de>
73617
73618 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
73619 * configure: Regenerated.
73620 * config.h.in (LINK_OBSOLETE_RPC): New macro.
73621 * config.make.in (link-obsolete-rpc): New substituted variable.
73622 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
73623 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
73624 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73625 (shared-only-routines): Don't set it under [link-obsolete-rpc],
73626 so that libc.a contains the symbols.
73627 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73628 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
73629 * sunrpc/auth_none.c: Likewise.
73630 * sunrpc/auth_unix.c: Likewise.
73631 * sunrpc/authdes_prot.c: Likewise.
73632 * sunrpc/authuxprot.c: Likewise.
73633 * sunrpc/clnt_gen.c: Likewise.
73634 * sunrpc/clnt_perr.c: Likewise.
73635 * sunrpc/clnt_raw.c: Likewise.
73636 * sunrpc/clnt_simp.c: Likewise.
73637 * sunrpc/clnt_tcp.c: Likewise.
73638 * sunrpc/clnt_udp.c: Likewise.
73639 * sunrpc/clnt_unix.c: Likewise.
73640 * sunrpc/des_crypt.c: Likewise.
73641 * sunrpc/des_soft.c: Likewise.
73642 * sunrpc/get_myaddr.c: Likewise.
73643 * sunrpc/key_call.c: Likewise.
73644 * sunrpc/key_prot.c: Likewise.
73645 * sunrpc/netname.c: Likewise.
73646 * sunrpc/pm_getmaps.c: Likewise.
73647 * sunrpc/pm_getport.c: Likewise.
73648 * sunrpc/pmap_clnt.c: Likewise.
73649 * sunrpc/pmap_prot.c: Likewise.
73650 * sunrpc/pmap_prot2.c: Likewise.
73651 * sunrpc/pmap_rmt.c: Likewise.
73652 * sunrpc/publickey.c: Likewise.
73653 * sunrpc/rpc_cmsg.c: Likewise.
73654 * sunrpc/rpc_common.c: Likewise.
73655 * sunrpc/rpc_dtable.c: Likewise.
73656 * sunrpc/rpc_prot.c: Likewise.
73657 * sunrpc/rpc_thread.c: Likewise.
73658 * sunrpc/rtime.c: Likewise.
73659 * sunrpc/svc.c: Likewise.
73660 * sunrpc/svc_auth.c: Likewise.
73661 * sunrpc/svc_raw.c: Likewise.
73662 * sunrpc/svc_run.c: Likewise.
73663 * sunrpc/svc_tcp.c: Likewise.
73664 * sunrpc/svc_udp.c: Likewise.
73665 * sunrpc/svc_unix.c: Likewise.
73666 * sunrpc/svcauth_des.c: Likewise.
73667 * sunrpc/xcrypt.c: Likewise.
73668 * sunrpc/xdr.c: Likewise.
73669 * sunrpc/xdr_array.c: Likewise.
73670 * sunrpc/xdr_float.c: Likewise.
73671 * sunrpc/xdr_intXX_t.c: Likewise.
73672 * sunrpc/xdr_mem.c: Likewise.
73673 * sunrpc/xdr_rec.c: Likewise.
73674 * sunrpc/xdr_ref.c: Likewise.
73675 * sunrpc/xdr_sizeof.c: Likewise.
73676 * sunrpc/xdr_stdio.c: Likewise.
73677
73678 2012-05-10 Roland McGrath <roland@hack.frob.com>
73679
73680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
73681 change. Update copyright years.
73682
73683 2012-05-10 Joseph Myers <joseph@codesourcery.com>
73684
73685 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
73686
73687 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
73688 Joseph Myers <joseph@codesourcery.com>
73689 Paul Pluzhnikov <ppluzhnikov@google.com>
73690
73691 [BZ #14012]
73692 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
73693 requiring rpcgen.
73694 [cross-compiling] (extra-libs): Likewise.
73695 [cross-compiling] (extra-libs-others): Likewise.
73696 [cross-compiling] (librpcsvc-routines): Likewise.
73697 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
73698 [cross-compiling] (omit-deps): Likewise.
73699 (sunrpc-CPPFLAGS): New variable.
73700 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
73701 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
73702 (cross-rpcgen-objs): New variable.
73703 (extra-objs): Append $(cross-rpcgen-objs).
73704 ($(cross-rpcgen-objs)): New rule.
73705 ($(objpfx)cross-rpcgen): Likewise.
73706 (rpcgen-cmd): Define to use $(built-program-file). Expand
73707 comment.
73708 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
73709 ($(objpfx)x%.stmp): Likewise.
73710 * sunrpc/proto.h [IS_IN_build] (_): Define.
73711 [IS_IN_build] (_libc_intl_domainname): Likewise.
73712
73713 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
73714
73715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
73716 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
73717 and R_X86_64_TPOFF64.
73718
73719 2012-05-10 Joseph Myers <joseph@codesourcery.com>
73720
73721 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
73722 sysdeps/unix/sysv/syscalls.list.
73723 (stime): Likewise.
73724 (utime): Likewise.
73725 * sysdeps/unix/sysv/syscalls.list: Remove file.
73726
73727 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
73728
73729 [BZ #3440]
73730 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
73731 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
73732 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
73733 (__LC_IDENTIFICATION): Make these macros useful in #if
73734 expressions, as required by C99.
73735
73736 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
73737
73738 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
73739 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
73740 after this.
73741
73742 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
73743
73744 * stdlib/longlong.h: Updated from GCC.
73745
73746 2012-05-09 Andreas Jaeger <aj@suse.de>
73747
73748 * nscd/nscd.c (run_modes): Make named enum, reorder so that
73749 default is first entry.
73750 (run_mode): Set type.
73751 (main): Remove informal message about syslog.
73752 (options): Fix typo.
73753
73754 [BZ #14053]
73755 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
73756 to asm.
73757 (lrint): Likewise.
73758 (llrintf): Likewise.
73759 (llrint): Likewise.
73760 (rint): Likewise.
73761 (rintf): Likewise.
73762 (nearbyint): Likewise.
73763 (nearbyintf): Likewise.
73764
73765 2012-05-09 Andreas Jaeger <aj@suse.de>
73766 Pedro Alves <palves@redhat.com>
73767
73768 * nscd/nscd.c (run_mode): Use enum.
73769 (main): Cleanup coding style issue.
73770
73771 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
73772 Andreas Jaeger <aj@suse.de>
73773
73774 * nscd/nscd.c (go_background): Replaced with...
73775 (run_mode): ... this.
73776 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
73777 (options): Add -F --foreground.
73778 (main): Implement it.
73779 (parse_opt): Parse it.
73780
73781 2012-05-09 Andreas Jaeger <aj@suse.de>
73782
73783 [BZ #14083]
73784 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
73785 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
73786 -Wconversion warning.
73787 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
73788 Likewise.
73789
73790 2012-05-09 Joseph Myers <joseph@codesourcery.com>
73791
73792 * conform/data/locale.h-data (NULL): Use macro-constant. Require
73793 == 0.
73794 (LC_ALL): Use macro-int-constant.
73795 (LC_COLLATE): Likewise.
73796 (LC_CTYPE): Likewise.
73797 (LC_MESSAGES): Likewise.
73798 (LC_MONETARY): Likewise.
73799 (LC_NUMERIC): Likewise.
73800 (LC_TIME): Likewise.
73801 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
73802 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73804 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
73805 Specify type.
73806 [C99-based standards] (float_t): Expect type.
73807 [C99-based standards] (double_t): Expect type.
73808 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
73809 type.
73810 [C99-based standards] (HUGE_VALL): Likewise.
73811 [C99-based standards] (INFINITY): Likewise.
73812 [C99-based standards] (NAN): Likewise.
73813 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
73814 [C99-based standards] (FP_NAN): Likewise.
73815 [C99-based standards] (FP_NORMAL): Likewise.
73816 [C99-based standards] (FP_SUBNORMAL): Likewise.
73817 [C99-based standards] (FP_ZERO): Likewise.
73818 [C99-based standards] (FP_FAST_FMA): Use
73819 optional-macro-int-constant. Specify type. Require == 1.
73820 [C99-based standards] (FP_FAST_FMAF): Likewise.
73821 [C99-based standards] (FP_FAST_FMAL): Likewise.
73822 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
73823 [C99-based standards] (FP_ILOGBNAN): Likewise.
73824 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
73825 Specify type.
73826 [C99-based standards] (MATH_ERREXCEPT): Likewise.
73827 [C99-based standards] (math_errhandling): Specify type.
73828 [ISO99 || ISO11] (signgam): Do not allow.
73829 [non-C99-based standards] (copysignf): Do not allow.
73830 [non-C99-based standards] (exp2f): Likewise.
73831 [non-C99-based standards] (log2f): Likewise.
73832 [non-C99-based standards] (modff): Allow.
73833 [non-C99-based standards] (erff): Do not allow.
73834 [non-C99-based standards] (erfcf): Likewise.
73835 [non-C99-based standards] (gammaf): Likewise.
73836 [non-C99-based standards] (hypotf): Likewise.
73837 [non-C99-based standards] (j0f): Likewise.
73838 [non-C99-based standards] (j1f): Likewise.
73839 [non-C99-based standards] (jnf): Likewise.
73840 [non-C99-based standards] (lgammaf): Likewise.
73841 [non-C99-based standards] (tgammaf): Likewise.
73842 [non-C99-based standards] (y0f): Likewise.
73843 [non-C99-based standards] (y1f): Likewise.
73844 [non-C99-based standards] (ynf): Likewise.
73845 [non-C99-based standards] (isnanf): Likewise.
73846 [non-C99-based standards] (acoshf): Likewise.
73847 [non-C99-based standards] (asinhf): Likewise.
73848 [non-C99-based standards] (atanhf): Likewise.
73849 [non-C99-based standards] (cbrtf): Likewise.
73850 [non-C99-based standards] (expm1f): Likewise.
73851 [non-C99-based standards] (ilogbf): Likewise.
73852 [non-C99-based standards] (log1pf): Likewise.
73853 [non-C99-based standards] (logbf): Likewise.
73854 [non-C99-based standards] (nextafterf): Likewise.
73855 [non-C99-based standards] (remainderf): Likewise.
73856 [non-C99-based standards] (rintf): Likewise.
73857 [non-C99-based standards] (scalbf): Likewise.
73858 [non-C99-based standards] (copysignl): Likewise.
73859 [non-C99-based standards] (exp2l): Likewise.
73860 [non-C99-based standards] (log2l): Likewise.
73861 [non-C99-based standards] (modfl): Allow.
73862 [non-C99-based standards] (erfl): Do not allow.
73863 [non-C99-based standards] (erfcl): Likewise.
73864 [non-C99-based standards] (gammal): Likewise.
73865 [non-C99-based standards] (hypotl): Likewise.
73866 [non-C99-based standards] (j0l): Likewise.
73867 [non-C99-based standards] (j1l): Likewise.
73868 [non-C99-based standards] (jnl): Likewise.
73869 [non-C99-based standards] (lgammal): Likewise.
73870 [non-C99-based standards] (tgammal): Likewise.
73871 [non-C99-based standards] (y0l): Likewise.
73872 [non-C99-based standards] (y1l): Likewise.
73873 [non-C99-based standards] (ynl): Likewise.
73874 [non-C99-based standards] (isnanl): Likewise.
73875 [non-C99-based standards] (acoshl): Likewise.
73876 [non-C99-based standards] (asinhl): Likewise.
73877 [non-C99-based standards] (atanhl): Likewise.
73878 [non-C99-based standards] (cbrtl): Likewise.
73879 [non-C99-based standards] (expm1l): Likewise.
73880 [non-C99-based standards] (ilogbl): Likewise.
73881 [non-C99-based standards] (log1pl): Likewise.
73882 [non-C99-based standards] (logbl): Likewise.
73883 [non-C99-based standards] (nextafterl): Likewise.
73884 [non-C99-based standards] (remainderl): Likewise.
73885 [non-C99-based standards] (rintl): Likewise.
73886 [non-C99-based standards] (scalbl): Likewise.
73887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73888 [non-C99-based standards] (FP_*): Do not allow.
73889 [C99-based standards] (FP_*): Change to
73890 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73891 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73892 allow.
73893 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
73894 (SIG_ERR): Likewise.
73895 [X/Open-based standards] (SIG_HOLD): Likewise.
73896 (SIG_IGN): Likewise.
73897 (SIGABRT): Use macro-int-constant. Specify type. Require
73898 positive value.
73899 (SIGFPE): Likewise.
73900 (SIGILL): Likewise.
73901 (SIGINT): Likewise.
73902 (SIGSEGV): Likewise.
73903 (SIGTER): Likewise.
73904 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
73905 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
73906 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
73907 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
73908 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
73909 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
73910 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
73911 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
73912 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
73913 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
73914 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
73915 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
73916 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
73917 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
73918 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
73919 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
73920 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
73921 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
73922 [X/Open-based standards] (SIGTRAP): Likewise.
73923 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
73924 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
73925 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
73926 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
73927 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73928 allow.
73929
73930 2012-05-08 Ian Wienand <ianw@vmware.com>
73931
73932 [BZ #14080]
73933 * time/tzset.c (__tzset_parse_tz): Update default rules for
73934 daylight time changes in the Energy Policy Act of 2005.
73935
73936 2012-05-09 Andreas Jaeger <aj@suse.de>
73937
73938 [BZ #13983]
73939 * elf/ldconfig.c (parse_conf): Change string to make clear that
73940 ldconfig only issued a warning if ld.so.conf does not exist.
73941
73942 2012-05-08 David S. Miller <davem@davemloft.net>
73943
73944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
73945 movxtod instead of popping the value on the stack.
73946
73947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73948
73949 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
73950
73951 * config.h.in: Add HAVE_ARM_PCS_VFP.
73952
73953 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
73954
73955 [BZ #13979]
73956 * include/features.h: Warn if user requests __FORTIFY_SOURCE
73957 checking but the checks are disabled for any reason.
73958
73959 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
73960
73961 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
73962 and ELF64_R_TYPE with ELFW(R_TYPE).
73963
73964 2012-05-08 Joseph Myers <joseph@codesourcery.com>
73965
73966 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
73967 (ulimit): Likewise.
73968
73969 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
73970 (settimeofday): Likewise.
73971
73972 2012-05-08 Mike Frysinger <vapier@gentoo.org>
73973
73974 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
73975 a struct th_u2 inside the union, and move tu_block/tu_code into
73976 a new th_u3 union of tu_block/tu_code inside of that. Move
73977 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
73978 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
73979 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
73980 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
73981 (th_stuff): Change to th_u1.tu_stuff.
73982 (th_data): Define.
73983 (th_msg): Change to th_u1.th_u2.tu_data.
73984
73985 2012-05-07 David S. Miller <davem@davemloft.net>
73986
73987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73988
73989 [BZ #14074]
73990 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
73991 (SETUP_PIC_REG): Use it.
73992 (SETUP_PIC_REG_LEAF): Use it.
73993
73994 2012-05-07 Joseph Myers <joseph@codesourcery.com>
73995
73996 [BZ #13885]
73997 [BZ #13923]
73998 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73999 USE_AS_EXPM1L.
74000 (EXPL_FINITE): Likewise.
74001 (FLDLOG): Likewise.
74002 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74003 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74004 e_expl.S.
74005 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74006 USE_AS_EXPM1L.
74007 (EXPL_FINITE): Likewise.
74008 (FLDLOG): Likewise.
74009 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74010 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74011 e_expl.S.
74012 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
74013 test of -max_value argument for long double.
74014 * sysdeps/i386/fpu/libm-test-ulps: Update.
74015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74016
74017 2012-05-06 David S. Miller <davem@davemloft.net>
74018
74019 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74020 quad soft-float symbols whose references which are compiler
74021 generated.
74022 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74023
74024 2012-05-06 Joseph Myers <joseph@codesourcery.com>
74025
74026 [BZ #13884]
74027 [BZ #13914]
74028 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74029 USE_AS_EXP10L.
74030 (EXPL_FINITE): Likewise.
74031 (FLDLOG): Likewise.
74032 (c0): Likewise.
74033 (c1): Likewise.
74034 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
74035 Adjust comments for base varying.
74036 (__expl_finite): Change alias to EXPL_FINITE.
74037 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74038 e_expl.S.
74039 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74040 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74041 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74042 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74043 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74044 USE_AS_EXP10L.
74045 (EXPL_FINITE): Likewise.
74046 (FLDLOG): Likewise.
74047 (c0): Likewise.
74048 (c1): Likewise.
74049 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
74050 Adjust comments for base varying.
74051 (__expl_finite): Change alias to EXPL_FINITE.
74052 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
74053 tests for bugs.
74054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74055
74056 [BZ #14064]
74057 * math/libm-test.inc (check_float_internal): Correct ulp
74058 calculation for subnormal expected results.
74059
74060 2012-05-06 Andreas Jaeger <aj@suse.de>
74061
74062 * Makeconfig (+math-flags): New, set to -frounding-math.
74063 (+cflags): Add +math-flags so that all of glibc gets compiled with
74064 it.
74065
74066 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74067
74068 2012-05-05 Joseph Myers <joseph@codesourcery.com>
74069
74070 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74071 Disable one test.
74072
74073 [BZ #13787]
74074 [BZ #13922]
74075 [BZ #14036]
74076 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74077 (__ieee754_expl): Allow for and saturate large arguments.
74078 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74079 (u_threshold): Likewise.
74080 (__exp): Call __ieee754_exp before checking for overflow and
74081 underflow.
74082 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74083 (u_threshold): Likewise.
74084 (__expf): Call __ieee754_expf before checking for overflow and
74085 underflow.
74086 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74087 (u_threshold): Likewise.
74088 (__expl): Call __ieee754_expl before checking for overflow and
74089 underflow.
74090 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74091 (__ieee754_expl): Allow for and saturate large arguments.
74092 * math/libm-test.inc (exp_test): Add another test. Do not allow
74093 missing overflow exception on overflow.
74094 (expm1_test): Do not allow missing overflow exception on overflow.
74095
74096 * sysdeps/i386/fpu/e_expl.c: Move to ...
74097 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
74098 rather than using inline asm.
74099 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74100 * sysdeps/x86_64/fpu/e_expl.S: Copy from
74101 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74102
74103 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74104 (nice): Likewise.
74105 (poll): Likewise.
74106 (signal): Likewise.
74107 (time): Likewise.
74108 (times): Likewise.
74109
74110 2012-05-04 Joseph Myers <joseph@codesourcery.com>
74111
74112 * sysdeps/unix/syscalls.list (adjtime): Add entry from
74113 sysdeps/unix/common/syscalls.list.
74114 (fchmod): Likewise.
74115 (fchown): Likewise.
74116 (ftruncate): Likewise.
74117 (getrusage): Likewise.
74118 (gettimeofday): Likewise.
74119 (setpgid): Likewise.
74120 (setregid): Likewise.
74121 (setreuid): Likewise.
74122 (sigaction): Likewise.
74123 (truncate): Likewise.
74124 (vhangup): Likewise.
74125 * sysdeps/unix/common/syscalls.list: Remove file.
74126 * sysdeps/unix/bsd/Implies: Don't include unix/common.
74127 * sysdeps/unix/sysv/linux/Implies: Likewise.
74128
74129 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
74130
74131 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74133 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74134 Moved to ...
74135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74136 Here.
74137 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74138 to ...
74139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74140 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74141 to ...
74142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74143 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74144 to ...
74145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74146 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74147 to ...
74148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74149 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74150 to ...
74151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74152 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74153 to ...
74154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74155 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74156 to ...
74157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74158 Here.
74159 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74160 to ...
74161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74162 Here.
74163 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74164 to ...
74165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74166 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74167 Moved to ...
74168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74169 Here.
74170 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74171 to ...
74172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74173
74174 2012-05-04 Joseph Myers <joseph@codesourcery.com>
74175
74176 * sysdeps/unix/common/bits/dirent.h: Remove file.
74177 * sysdeps/unix/common/bits/fcntl.h: Likewise.
74178
74179 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74180 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74181 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74182 * sysdeps/unix/bsd/isatty.c: Likewise.
74183 * sysdeps/unix/bsd/tcdrain.c: Likewise.
74184 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74185 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74186
74187 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74188
74189 [BZ #13563]
74190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74191 long double comparison inaccuracies.
74192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74194
74195 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
74196
74197 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74199
74200 2012-05-04 Joseph Myers <joseph@codesourcery.com>
74201
74202 [BZ #14049]
74203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74204 nonzero digits before rounding a hex value.
74205 * stdlib/tst-strtod.c (tests): Add another test.
74206
74207 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74208
74209 * sysdeps/s390/fpu/libm-test-ulps: Update.
74210
74211 2012-05-03 Andreas Jaeger <aj@suse.de>
74212
74213 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74214 does not get optimized out.
74215 (malloc_opt_barrier): New.
74216
74217 2012-05-03 Andreas Jaeger <aj@suse.de>
74218 Roland McGrath <roland@hack.frob.com>
74219
74220 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74221 intermediate file deletion.
74222 (generated): Add .symlist files.
74223
74224 2012-05-03 Joseph Myers <joseph@codesourcery.com>
74225
74226 [BZ #13775]
74227 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74228 Redirect under this condition.
74229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74230 [__USE_GNU] (__dprintf_chk): Not under this condition.
74231 [__USE_GNU] (__vdprintf_chk): Likewise.
74232 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74233 under this condition.
74234 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74235 [__USE_XOPEN2K8] (dprintf): Define under this condition.
74236 [__USE_XOPEN2K8] (vdprintf): Likewise.
74237 [__USE_GNU] (__dprintf_chk): Not under this condition.
74238 [__USE_GNU] (__vdprintf_chk): Likewise.
74239 [__USE_GNU] (dprintf): Likewise.
74240 [__USE_GNU] (vdprintf): Likewise.
74241
74242 2012-05-03 Roland McGrath <roland@hack.frob.com>
74243
74244 * elf/Makefile (common-generated): Set this instead of generated for
74245 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
74246 $(all-built-dso)-derived lists.
74247
74248 2012-05-03 Andreas Jaeger <aj@suse.de>
74249
74250 * sysdeps/i386/fpu/libm-test-ulps: Update.
74251
74252 * FAQ: Removed.
74253 * FAQ.in: Likewise.
74254 * scripts/gen-FAQ.pl: Likewise.
74255 * manual/install.texi (Installation): Point to online location of
74256 FAQ.
74257 * Makefile (files-for-dist): Remove FAQ.
74258 (FAQ): Remove.
74259
74260 2012-05-02 Allan McRae <allan@archlinux.org>
74261
74262 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74263 (LDFLAGS-reldepmod5.so): Likewise.
74264 (LDFLAGS-reldep6mod1.so): Likewise.
74265 (LDFLAGS-reldep6mod4.so): Likewise.
74266 (LDFLAGS-reldep8mod3.so): Likewise.
74267 (LDFLAGS-unload4mod1.so): Likewise.
74268 (LDFLAGS-unload4mod2.so): Likewise.
74269 (LDFLAGS-tst-initorder): Likewise.
74270 (LDFLAGS-tst-initordera2.so): Likewise.
74271 (LDFLAGS-tst-initordera3.so): Likewise.
74272 (LDFLAGS-tst-initordera4.so): Likewise.
74273 (LDFLAGS-tst-initorderb2.so): Likewise.
74274 (LDFLAGS-noload): Likewise.
74275 (LDFLAGS-next): Likewise.
74276 (LDFLAGS-order2mod1.so): Likewise.
74277 (LDFLAGS-order2mod2.so): Likewise.
74278 (LDFLAGS-tst-initorder2): Likewise.
74279 (LDFLAGS-tst-initorder2a.so): Likewise.
74280 (LDFLAGS-tst-initorder2b.so): Likewise.
74281 (LDFLAGS-tst-initorder2c.so): Likewise.
74282 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74283
74284 2012-05-02 David S. Miller <davem@davemloft.net>
74285
74286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74287
74288 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
74289
74290 [BZ #14055]
74291 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74292
74293 2012-05-02 Andreas Jaeger <aj@suse.de>
74294
74295 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74296 since we manipulate rounding mode.
74297 (CPPFLAGS-test-idouble.c): Likewise.
74298 (CPPFLAGS-test-ifloat.c): Likewise.
74299 (CFLAGS-test-ldouble.c): Likewise.
74300 (CFLAGS-test-double.c): Likewise.
74301 (CFLAGS-test-float.c): Likewise.
74302 (CFLAGS-test-misc.c): Likewise.
74303 (CFLAGS-test-test-fenv.c): Likewise.
74304
74305 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74306
74307 [BZ #2550]
74308 [BZ #2570]
74309 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74310 comparisons to determine direction to adjust input.
74311
74312 2012-05-01 Roland McGrath <roland@hack.frob.com>
74313
74314 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74315 output to the target.
74316
74317 * scripts/localplt.awk: New file.
74318 * elf/Makefile ($(objpfx)check-localplt): Target removed.
74319 (check-localplt-CFLAGS): Variable removed.
74320 ($(all-built-dso:=.jmprel)): New static pattern rule.
74321 (generated): Add those targets.
74322 (localplt-built-dso): New variable.
74323 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74324
74325 * elf/check-localplt.c: File removed.
74326
74327 * scripts/check-execstack.awk: New file.
74328 * elf/Makefile ($(objpfx)check-execstack): Target removed.
74329 (check-execstack-CFLAGS): Variable removed.
74330 ($(objpfx)check-execstack.h): Target removed.
74331 ($(objpfx)execstack-default): New target.
74332 (generated): Add that instead of check-execstack.h.
74333 ($(all-built-dso:=.phdr)): New static pattern rule.
74334 (generated): Add those targets.
74335 * elf/check-execstack.c: File removed.
74336
74337 * scripts/check-textrel.awk: New file.
74338 * elf/Makefile ($(objpfx)check-textrel): Target removed.
74339 (check-textrel-CFLAGS): Variable removed.
74340 (all-built-dso): Use := to define.o
74341 ($(all-built-dso:=.dyn)): New static pattern rule.
74342 (generated): Add those targets.
74343 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74344 * config.make.in (READELF): New substituted variable.
74345 * elf/check-textrel.c: File removed.
74346
74347 2012-05-01 Joseph Myers <joseph@codesourcery.com>
74348
74349 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74350 allow.
74351 * conform/data/ctype.h-data [C99-based standards] (isblank):
74352 Expect function.
74353 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74354 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
74356 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74357 Specify type. Require positive value.
74358 (EILSEQ): Likewise.
74359 (ERANGE): Likewise.
74360 [ISO || POSIX] (EILSEQ): Do not expect.
74361 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74362 Specify type. Require positive value.
74363 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74364 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74365 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74366 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74367 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74368 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74369 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74370 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74371 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74372 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74373 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74374 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74375 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
74376 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
74377 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74378 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
74379 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
74380 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
74381 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
74382 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
74383 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
74384 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
74385 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
74386 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
74387 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
74388 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
74389 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
74390 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
74391 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
74392 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
74393 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
74394 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
74395 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
74396 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
74397 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
74398 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
74399 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
74400 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
74401 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
74402 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
74403 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
74404 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
74405 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
74406 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
74407 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
74408 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
74409 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
74410 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
74411 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
74412 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
74413 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
74414 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
74415 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
74416 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
74417 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
74418 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
74419 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74420 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
74421 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
74422 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
74423 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
74424 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
74425 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
74426 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
74427 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
74428 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
74429 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
74430 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
74431 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
74432 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
74433 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
74434 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
74435 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
74436 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
74437 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
74438 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
74439 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
74440 Require >= 2.
74441 (FLT_ROUNDS): Expect as macro, not constant.
74442 (FLT_MANT_DIG): Use macro-int-constant.
74443 (DBL_MANT_DIG): Likewise.
74444 (LDBL_MANT_DIG): Likewise.
74445 (FLT_DIG): Likewise.
74446 (DBL_DIG): Likewise.
74447 (LDBL_DIG): Likewise.
74448 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
74449 (DBL_MIN_EXP): Likewise.
74450 (LDBL_MIN_EXP): Likewise.
74451 (FLT_MAX_EXP): Use macro-int-constant.
74452 (DBL_MAX_EXP): Likewise.
74453 (LDBL_MAX_EXP): Likewise.
74454 (FLT_MAX_10_EXP): Likewise.
74455 (DBL_MAX_10_EXP): Likewise.
74456 (LDBL_MAX_10_EXP): Likewise.
74457 (FLT_MAX): Use macro-constant.
74458 (DBL_MAX): Likewise.
74459 (LDBL_MAX): Likewise.
74460 (FLT_EPSILON): Use macro-constant. Give upper bound.
74461 (DBL_EPSILON): Likewise.
74462 (LDBL_EPSILON): Likewise.
74463 (FLT_MIN): Likewise.
74464 (DBL_MIN): Likewise.
74465 (LDBL_MIN): Likewise.
74466 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
74467 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
74468 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
74469 [ISO11] (FLT_HAS_SUBNORM): Likewise.
74470 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
74471 [ISO11] (DBL_DECIMAL_DIG): Likewise.
74472 [ISO11] (FLT_DECIMAL_DIG): Likewise.
74473 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
74474 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
74475 [ISO11] (FLT_TRUE_MIN): Likewise.
74476 [ISO11] (LDBL_TRUE_MIN): Likewise.
74477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
74478 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
74479 (SCHAR_MIN): Use macro-int-constant. Specify type.
74480 (SCHAR_MAX): Likewise.
74481 (UCHAR_MAX): Likewise.
74482 (CHAR_MIN): Likewise.
74483 (CHAR_MAX): Likewise.
74484 (MB_LEN_MAX): Use macro-int-constant.
74485 (SHRT_MIN): Use macro-int-constant. Specify type.
74486 (SHRT_MAX): Likewise.
74487 (USHRT_MAX): Likewise.
74488 (INT_MAX): Likewise.
74489 (INT_MIN): Use macro-int-constant. Specify type. Make upper
74490 bound negative.
74491 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
74492 bound with "U".
74493 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
74494 bound with "L".
74495 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
74496 bound negative. Suffix upper bound with "L".
74497 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
74498 bound with "UL".
74499 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
74500 Specify type.
74501 [C99-based standards] (LLONG_MAX): Likewise.
74502 [C99-based standards] (ULLONG_MAX): Likewise.
74503 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
74504 == 0.
74505 [ISO11] (max_align_t): Require type.
74506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
74507
74508 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
74509 from $CFLAGS, without defining away __attribute__ calls.
74510 (checknamespace): Use $CFLAGS_namespace.
74511
74512 * conform/conformtest.pl (@keywords): Only include C99 keywords
74513 for standards based on C99 or C11.
74514
74515 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
74516 Disable tests.
74517 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
74518 UNIX98]: Likewise.
74519
74520 * conform/conformtest.pl: Handle "macro-int-constant" and test for
74521 usability of symbols in #if.
74522
74523 * conform/conformtest.pl: If macro or constant types start
74524 "promoted:", expect the symbol to be of the following type
74525 promoted by the integer promotions.
74526
74527 * conform/conformtest.pl: Parse all "constant" and "macro" lines
74528 in one place. Also handle "macro-constant".
74529
74530 * conform/conformtest.pl: Only accept expected macro values with
74531 "==". Parse all "macro" lines in one place.
74532 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
74533
74534 * conform/conformtest.pl: Handle braced types on "constant" lines
74535 instead of handling "typed-constant".
74536 * conform/data/signal.h-data: Use "constant" instead of
74537 "typed-constant".
74538
74539 * conform/conformtest.pl: Handle "optional-" at start of lines in
74540 one place rather than duplicating several cases. Handle each
74541 format of "macro" line with initial "optional-".
74542
74543 * conform/conformtest.pl: Only accept expected constant or
74544 optional-constant values with "==". Parse all "constant" lines in
74545 one place. Parse all "optional-constant" lines in one place.
74546 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
74547 * conform/data/fmtmsg.h-data: Likewise.
74548 * conform/data/netinet/in.h-data: Likewise.
74549 * conform/data/tar.h-data: Likewise.
74550 * conform/data/limits.h-data: Use "==" form on "constant" and
74551 "optional-constant" lines.
74552
74553 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
74554 Use -std=c99 for XOPEN2K.
74555 (@knownproblems): Remove.
74556 (newtoken): Don't check %isknown.
74557
74558 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
74559 Do not expect macro.
74560 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
74561 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
74562 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
74563 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
74564 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
74565 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
74566 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
74567 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
74568 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
74569 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
74570 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
74571 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
74572 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
74573 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
74574 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
74575 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
74576 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
74577 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
74578 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
74579 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
74580 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
74581 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
74582 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
74583 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
74584 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
74585 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
74586 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
74587 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
74588 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
74589 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
74590 [XPG3] (acosh): Likewise.
74591 [XPG3] (asinh): Likewise.
74592 [XPG3] (atanh): Likewise.
74593 [XPG3] (cbrt): Likewise.
74594 [XPG3] (expm1): Likewise.
74595 [XPG3] (ilogb): Likewise.
74596 [XPG3] (log1p): Likewise.
74597 [XPG3] (logb): Likewise.
74598 [XPG3] (nextafter): Likewise.
74599 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
74600 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
74601 [XPG3] (remainder): Likewise.
74602 [XPG3] (rint): Likewise.
74603 [XPG3 || XPG4 || UNIX98] (round): Likewise.
74604 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
74605 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
74606 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
74607 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
74608 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
74609 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
74610 [UNIX98 || XOPEN2K] (scalb): Expect.
74611 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
74612 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
74613 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74614 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
74615 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
74616 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
74617 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
74618 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
74619 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
74620 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
74621 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
74622 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
74623 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
74624 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
74625 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
74626 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
74627 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
74628 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
74629 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
74630 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
74631 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
74632 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
74633 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
74634 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
74635 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
74636 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
74637 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
74638 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
74639 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
74640 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
74641 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
74642 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
74643 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
74644 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
74645 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
74646 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
74647 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
74648 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
74649 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
74650 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
74651 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
74652 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
74653 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
74654 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
74655 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
74656 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
74657 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
74658 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
74659 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
74660 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
74661 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
74662 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
74663 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
74664 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
74665 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
74666 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
74667 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
74668 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
74669 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
74670 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
74671 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
74672 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
74673 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
74674 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
74675 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
74676 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
74677 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
74678 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
74679 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
74680 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
74681 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
74682 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
74683 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
74684 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
74685 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
74686 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
74687 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
74688 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
74689 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
74690 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
74691 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
74692 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
74693 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
74694 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
74695 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
74696 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
74697 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
74698 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
74699 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
74700 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
74701 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
74702 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
74703 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
74704 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
74705 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
74706 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
74707 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
74708 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
74709 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
74710 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
74711 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
74712 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
74713 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
74714 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
74715 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
74716 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
74717 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
74718 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
74719 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
74720 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
74721 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
74722 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
74723 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
74724 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
74725 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
74726 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
74727 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
74728 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
74729 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
74730 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
74731 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
74732 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
74733 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
74734 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
74735 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
74736 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
74737 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
74738 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
74739 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
74740 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
74741 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
74742 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
74743 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
74744 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
74745 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
74746 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
74747 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
74748
74749 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
74750 _XOPEN_SOURCE_EXTENDED for XPG4.
74751
74752 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
74753
74754 * Makeconfig (localtime): Remove variable.
74755 (inst_localtime-file): Likewise.
74756
74757 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
74758
74759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
74760 Update.
74761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74762 Update.
74763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
74764 Update.
74765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
74766 Update.
74767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
74768 Update.
74769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
74770 Update.
74771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74772 Update.
74773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
74774 Update.
74775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74776 Update.
74777
74778 2012-05-01 Joseph Myers <joseph@codesourcery.com>
74779
74780 [BZ #2550]
74781 [BZ #2570]
74782 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
74783 comparisons to determine direction to adjust input.
74784 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
74785 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
74786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
74787 Likewise.
74788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
74789 Likewise.
74790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
74791 Likewise.
74792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
74793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
74794 Likewise.
74795 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
74796 Likewise.
74797 * math/libm-test.inc (nexttoward_test): Add more tests.
74798
74799 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
74800
74801 [BZ #14040]
74802 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
74803 in version GLIBC_2.1, not GLIBC_2.0.
74804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
74805 Likewise.
74806
74807 2012-04-30 Joseph Myers <joseph@codesourcery.com>
74808
74809 [BZ #13942]
74810 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
74811 (1 - x) * (1 + x).
74812 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74813 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
74814 * math/libm-test.inc (acos_test): Add more tests.
74815 (asin_test): Likewise.
74816 * sysdeps/i386/fpu/libm-test-ulps: Update.
74817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74818
74819 [BZ #14034]
74820 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
74821 of square root.
74822 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
74823 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74824 * math/libm-test.inc (acos_test_tonearest): New function.
74825 (acos_test_towardzero): Likewise.
74826 (acos_test_downward): Likewise.
74827 (acos_test_upward): Likewise.
74828 (asin_test_tonearest): Likewise.
74829 (asin_test_towardzero): Likewise.
74830 (asin_test_downward): Likewise.
74831 (asin_test_upward): Likewise.
74832 (main): Call the new functions.
74833 * sysdeps/i386/fpu/libm-test-ulps: Update.
74834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74835
74836 [BZ #13884]
74837 [BZ #13924]
74838 * math/e_exp10.c: Include <float.h>.
74839 (__ieee754_exp10): Handle underflow here rather than multiplying
74840 large negative argument by M_LN10.
74841 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
74842 of __ieee754_expf.
74843 * math/e_exp10l.c: Include <float.h>.
74844 (__ieee754_exp10l): Handle underflow here rather than multiplying
74845 large negative argument by M_LN10l.
74846 * math/libm-test.inc (exp10_test): Add another test. Do not allow
74847 spurious overflow exception on underflow.
74848
74849 2012-04-29 Marek Polacek <polacek@redhat.com>
74850
74851 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
74852 (__fortify_function): New macro.
74853 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
74854 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
74855 __extern_always_inline.
74856 * libio/bits/stdio2.h: Likewise.
74857 * libio/bits/stdio.h: Likewise.
74858 * string/string.h: Likewise.
74859 * string/bits/string3.h: Likewise.
74860 * include/stdio.h: Likewise.
74861 * stdlib/bits/stdlib.h: Likewise.
74862 * stdlib/stdlib.h: Likewise.
74863 * rt/bits/mqueue2.h: Likewise.
74864 * rt/mqueue.h: Likewise.
74865 * posix/bits/unistd.h: Likewise.
74866 * posix/unistd.h: Likewise.
74867 * io/bits/poll2.h: Likewise.
74868 * io/bits/fcntl2.h: Likewise.
74869 * io/fcntl.h: Likewise.
74870 * io/sys/poll.h: Likewise.
74871 * misc/bits/syslog.h: Likewise.
74872 * misc/bits/syslog-ldbl.h: Likewise.
74873 * misc/sys/syslog.h: Likewise.
74874 * socket/bits/socket2.h: Likewise.
74875 * socket/sys/socket.h: Likewise.
74876 * debug/tst-chk1.c: Likewise.
74877 * wcsmbs/bits/wchar2.h: Likewise.
74878 * wcsmbs/bits/wchar-ldbl.h: Likewise.
74879 * wcsmbs/wchar.h: Likewise.
74880
74881 2012-04-29 Andreas Jaeger <aj@suse.de>
74882
74883 * Makerules (tests): Remove enable-check-abi protection.
74884 (check-abi-warn): Remove.
74885 (check-abi-%): Remove check-abi-warn usage.
74886
74887 * configure.in: Remove check-abi configure option.
74888 * configure: Regenerated.
74889 * config.make.in (enable-check-abi): Remove.
74890
74891 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
74892
74893 [BZ #14033]
74894 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
74895 double functions to double *_finite functions.
74896
74897 [BZ #13941]
74898 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
74899 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
74900 LDBL_MIN_EXP.
74901 * stdio-common/Makefile (tests): Add tst-sprintf3.
74902 * stdio-common/tst-sprintf3.c: New file.
74903
74904 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
74905 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
74906
74907 2012-04-28 Joseph Myers <joseph@codesourcery.com>
74908
74909 * conform/conformtest.pl: Remove duplicate typed-constant
74910 handling.
74911
74912 2012-04-28 David S. Miller <davem@davemloft.net>
74913
74914 * Makerules (%.abilist): Add vpath on sysdep_dirs.
74915 (check-abi-%): Remove AWK script prerequisite and explicit
74916 abilist directory.
74917 (check-abi): Rewrite to just diff the symlist with the abilist.
74918 (config-tls, config-abi-config): Delete, no longer used.
74919 (update-abi-%): Remove AWK script and explicit abilist directory.
74920 (update-abi): Rewrite to simply compare and conditionally copy the
74921 symlist and the sysdep abilist file. Remove update-abi-config
74922 checks.
74923 * abilist/ld.abilist: Remove.
74924 * abilist/libBrokenLocale.abilist: Remove.
74925 * abilist/libanl.abilist: Remove.
74926 * abilist/libcrypt.abilist: Remove.
74927 * abilist/libdl.abilist: Remove.
74928 * abilist/librt.abilist: Remove.
74929 * abilist/libthread_db.abilist: Remove.
74930 * abilist/libutil.abilist: Remove.
74931 * scripts/extract-abilist.awk: Remove.
74932 * scripts/merge-abilist.awk: Remove.
74933 * sysdeps/generic/libcidn.abilist: New file.
74934 * sysdeps/generic/libnss_compat.abilist: New file.
74935 * sysdeps/generic/libnss_db.abilist: New file.
74936 * sysdeps/generic/libnss_dns.abilist: New file.
74937 * sysdeps/generic/libnss_files.abilist: New file.
74938 * sysdeps/generic/libnss_hesiod.abilist: New file.
74939 * sysdeps/generic/libnss_nis.abilist: New file.
74940 * sysdeps/generic/libnss_nisplus.abilist: New file.
74941 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
74942 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
74943 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
74944 file.
74945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
74946 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
74947 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
74948 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
74949 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
74950 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
74951 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
74952 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
74953 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
74954 file.
74955 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
74956 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
74957 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
74958 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
74959 file.
74960 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
74961 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
74962 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
74963 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
74964 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
74965 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
74966 file.
74967 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
74968 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
74969 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
74970 file.
74971 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
74972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
74973 New file.
74974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
74975 New file.
74976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
74977 New file.
74978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
74979 New file.
74980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
74981 New file.
74982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
74983 New file.
74984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
74985 New file.
74986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
74987 New file.
74988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
74989 New file.
74990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
74991 New file.
74992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
74993 New file.
74994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
74995 New file.
74996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
74997 New file.
74998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
74999 file.
75000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75001 New file.
75002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75003 New file.
75004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75005 file.
75006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75007 New file.
75008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75009 New file.
75010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75011 file.
75012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75013 New file.
75014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75015 New file.
75016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75017 New file.
75018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75019 New file.
75020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75021 New file.
75022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75023 New file.
75024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75026 file.
75027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75028 New file.
75029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75030 file.
75031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75032 file.
75033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75034 file.
75035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75036 file.
75037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75038 file.
75039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75040 New file.
75041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75042 file.
75043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75044 file.
75045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75046 New file.
75047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75048 file.
75049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75051 file.
75052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75053 New file.
75054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75055 file.
75056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75057 file.
75058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75059 file.
75060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75061 file.
75062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75063 file.
75064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75065 New file.
75066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75067 file.
75068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75069 file.
75070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75071 New file.
75072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75073 file.
75074 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75075 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75076 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75077 file.
75078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75079 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75080 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75081 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75082 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75083 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75084 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75085 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75086 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75087 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75090 file.
75091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75092 New file.
75093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75094 file.
75095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75096 file.
75097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75098 file.
75099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75100 file.
75101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75102 file.
75103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75104 New file.
75105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75106 New file.
75107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75108 file.
75109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75110 New file.
75111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75112 file.
75113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75115 file.
75116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75117 New file.
75118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75119 file.
75120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75121 file.
75122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75123 file.
75124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75125 file.
75126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75127 file.
75128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75129 New file.
75130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75131 New file.
75132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75133 file.
75134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75135 New file.
75136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75137 file.
75138
75139 2012-04-28 Joseph Myers <joseph@codesourcery.com>
75140
75141 * conform/conformtest.pl: Fix typo in handling typed-constant from
75142 allow-header.
75143
75144 2012-04-27 Joseph Myers <joseph@codesourcery.com>
75145
75146 * README: Cut down references to pre-2.6 Linux kernels and
75147 Linuxthreads. Update lists of configurations in libc and ports
75148 and sort alphabetically. Say "or newer" with Linux kernel version
75149 requirements.
75150
75151 * config.h.in [IS_IN_build]: Allow compiling without optimization.
75152
75153 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
75154
75155 [BZ #887]
75156 * math/libm-test.inc (logb_test_downward): New test to expose
75157 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75158 rounding mode.
75159
75160 2012-04-27 Joseph Myers <joseph@codesourcery.com>
75161
75162 [BZ #14027]
75163 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75164 to be done.
75165 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75166 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75167
75168 2012-04-26 Joseph Myers <joseph@codesourcery.com>
75169
75170 * sysdeps/unix/i386/brk.S: Remove file.
75171 * sysdeps/unix/i386/dl-brk.S: Likewise.
75172 * sysdeps/unix/i386/pipe.S: Likewise.
75173 * sysdeps/unix/i386/sigreturn.S: Likewise.
75174 * sysdeps/unix/i386/syscall.S: Likewise.
75175 * sysdeps/unix/i386/vfork.S: Likewise.
75176 * sysdeps/unix/i386/wait.S: Likewise.
75177
75178 * sysdeps/unix/common/tcsendbrk.c: Move to ...
75179 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75180
75181 * configure.in (arm*-none*): Do not allow without
75182 --enable-hacker-mode.
75183 (netbsd*): Remove case setting base_os.
75184 (386bsd*): Likewise.
75185 (freebsd*): Likewise.
75186 (bsdi*): Likewise.
75187 (osf*): Likewise.
75188 (sunos*): Likewise.
75189 (ultrix*): Likewise.
75190 (newsos*): Likewise.
75191 (dynix*): Likewise.
75192 (*bsd*): Likewise.
75193 (sysv*): Likewise.
75194 (isc*): Likewise.
75195 (esix*): Likewise.
75196 (sco*): Likewise.
75197 (minix*): Likewise.
75198 (irix4*): Likewise.
75199 (irix6*): Likewise.
75200 (solaris[2-9]*): Likewise.
75201 (none): Likewise.
75202 * configure: Regenerated.
75203
75204 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75205
75206 [BZ #11521]
75207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75208 overflow or cancellation in calculating denominator.
75209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75211 down expression to avoid unexpected rounding in newer GCCs.
75212 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75213
75214 2012-04-26 David S. Miller <davem@davemloft.net>
75215
75216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75217 long-double compat symbols.
75218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75231
75232 2012-04-25 David S. Miller <davem@davemloft.net>
75233
75234 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75235 HWCAP_* values only after the memory barriers have been defined.
75236 (atomic_full_barrier): Define.
75237 (atomic_read_barrier): Define.
75238 (atomic_write_barrier): Define.
75239
75240 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
75241
75242 * shlib-versions: Add libgcc_s version information.
75243 * sysdeps/generic/libgcc_s.h: Remove.
75244 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75245 libgcc_s.h.
75246 * sysdeps/gnu/unwind-resume.c: Likewise.
75247 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75248
75249 2012-04-25 David S. Miller <davem@davemloft.net>
75250
75251 * sysdeps/unix/sparc/brk.S: Delete.
75252 * sysdeps/unix/sparc/dl-brk.S: Delete.
75253 * sysdeps/unix/sparc/pipe.S: Delete.
75254 * sysdeps/unix/sparc/sysdep.S: Delete.
75255 * sysdeps/unix/sparc/sysdep.h: Delete.
75256 * sysdeps/unix/sparc/vfork.S: Delete.
75257 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75258 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75260 (ret_ERRVAL, r0, r1, MOVE): Define.
75261 (JUMPTARGET): Remove.
75262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75263 sysdeps/unix/sparc/sysdep.h
75264 (ENTRY, END): Remove.
75265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75266
75267 2012-04-25 Joseph Myers <joseph@codesourcery.com>
75268
75269 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75270 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75271 -DIS_IN_build.
75272
75273 * timezone/README: Update upstream location and email address for
75274 tzcode and tzdata.
75275 * timezone/zdump.c: Update from tzcode 2012b.
75276 * timezone/zic.c: Likewise.
75277
75278 * configure.in (libc_cv_as_needed): Remove test.
75279 * configure: Regenerated.
75280 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75281 conditional definition.
75282 [$(have-as-needed) != yes] (no-as-needed): Likewise.
75283 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75284 * config.make.in (have-as-needed): Remove variable.
75285
75286 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
75287 Paul Pluzhnikov <ppluzhnikov@google.com>
75288
75289 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75290 strings correctly.
75291
75292 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
75293
75294 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75295 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75296 * sysdeps/sh/strlen.S: Likewise.
75297
75298 2012-04-24 Joseph Myers <joseph@codesourcery.com>
75299
75300 * sysdeps/unix/fork.S: Remove file.
75301 * sysdeps/unix/i386/fork.S: Likewise.
75302 * sysdeps/unix/sparc/fork.S: Likewise.
75303
75304 * sysdeps/unix/system.c: Remove file.
75305 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75306
75307 * sysdeps/unix/getegid.S: Remove file.
75308 * sysdeps/unix/geteuid.S: Likewise.
75309
75310 2012-04-24 Roland McGrath <roland@hack.frob.com>
75311
75312 * scripts/check-localplt.awk: New file.
75313 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75314 of diff.
75315 * scripts/data/localplt-generic.data: Add a comment.
75316
75317 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75318 NODE when __dir_mkfile failed.
75319 * sysdeps/mach/hurd/symlinkat.c: Likewise.
75320 Reported by Ludovic Courtès <ludo@gnu.org>.
75321
75322 2012-04-24 Andreas Jaeger <aj@suse.de>
75323
75324 * Makerules (common-clean): Also remove gen-as-const-headers
75325 files.
75326
75327 2012-04-24 Joseph Myers <joseph@codesourcery.com>
75328
75329 * Makerules (native-compile): Do not change working directory for
75330 build. Use $(OUTPUT_OPTION) in command.
75331 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75332
75333 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75334
75335 [BZ #13886]
75336 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75337 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75338 * math/libm-test.inc (floor_test): Add more tests.
75339 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75340
75341 2012-04-24 Joseph Myers <joseph@codesourcery.com>
75342
75343 * sysdeps/unix/getdents.c: Remove file.
75344 * sysdeps/unix/sysv/getdents.c: Likewise.
75345 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75346
75347 * sysdeps/unix/syscalls.list (madvise): Add syscall from
75348 sysdeps/unix/mman/syscalls.list.
75349 (mmap): Likewise.
75350 (mprotect): Likewise.
75351 (msync): Likewise.
75352 (munmap): Likewise.
75353 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75354 * sysdeps/unix/mman/syscalls.list: Remove.
75355 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75356
75357 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75358 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75359 * configure: Regenerated.
75360 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75361 $(libgcc_s_suffix).
75362 * config.make.in (libgcc_s_suffix): Remove variable.
75363
75364 2012-04-23 Joseph Myers <joseph@codesourcery.com>
75365
75366 * sysdeps/unix/sysv/gethostname.c: Move to ...
75367 * sysdeps/posix/gethostname.c: ... here.
75368
75369 * sysdeps/unix/execve.S: Remove file.
75370
75371 * sysdeps/unix/_exit.S: Remove file.
75372
75373 2012-04-23 Andreas Jaeger <aj@suse.de>
75374
75375 [BZ #13739]
75376 * manual/Makefile: Remove make dist support, there's no
75377 need for a stand-alone documentation tar ball.
75378 (TEXI2DVI): Define always, it's not in Makeconfig.
75379 (dist): Removed.
75380 (tar-it): Removed.
75381 (edition): Removed.
75382 (glibc-doc-$(edition).tar): Removed
75383 (%.Z): Removed.
75384 (%.gz): Removed.
75385 (%.uu): Removed.
75386 (ETAGS): Remove, it's in Makeconfig.
75387 (move-if-change): Remove, it's in Makeconfig.
75388
75389 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
75390
75391 [BZ #13970]
75392 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
75393 (strtod, strtof, strtold, strtol, strtoul, strtoq)
75394 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
75395 (strtod_l, strtof_l, strtold_l): Remove __wur.
75396 It is not necessarily an error to ignore strtol's return value.
75397 One can reliably look at the stored endptr to decide whether
75398 the number had valid syntax.
75399
75400 2012-04-21 Andreas Jaeger <aj@suse.de>
75401
75402 [BZ #13739]
75403 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
75404
75405 2012-04-21 Joseph Myers <joseph@codesourcery.com>
75406
75407 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
75408 * sysdeps/unix/sysv/Versions: Remove file.
75409
75410 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
75411
75412 [BZ #13927]
75413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75414
75415 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
75416
75417 [BZ #7064]
75418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
75419 version from __vm86.
75420
75421 2012-04-20 Joseph Myers <joseph@codesourcery.com>
75422
75423 * sysdeps/unix/common/lxstat.c: Remove file.
75424 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
75425
75426 * sysdeps/unix/sysv/Makefile: Remove file.
75427
75428 * sysdeps/unix/sysv/direct.h: Remove file.
75429
75430 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
75431 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
75432 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
75433 * sysdeps/unix/sysv/bits/signum.h: Likewise.
75434 * sysdeps/unix/sysv/bits/stat.h: Likewise.
75435 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
75436 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
75437
75438 * sysdeps/unix/sysv/setrlimit.c: Remove file.
75439
75440 * sysdeps/unix/xmknod.c: Remove file.
75441 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75442
75443 * sysdeps/unix/sysv/settimeofday.c: Remove file.
75444
75445 * sysdeps/unix/sysv/i386/time.S: Remove file.
75446
75447 * sysdeps/unix/fxstat.c: Remove file.
75448 * sysdeps/unix/xstat.c: Likewise.
75449 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
75450
75451 * sysdeps/unix/sysv/sigaction.c: Remove file.
75452
75453 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
75454 (sysdep_headers): Remove variable.
75455 [termio.h not in sysdep_headers] (generated): Likewise.
75456 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
75457 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
75458 * sysdeps/unix/sysv/tcdrain.c: Likewise.
75459 * sysdeps/unix/sysv/tcflow.c: Likewise.
75460 * sysdeps/unix/sysv/tcflush.c: Likewise.
75461 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
75462 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75463 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
75464 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
75465 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
75466
75467 * sysdeps/unix/siglist.c: Remove file.
75468
75469 * sysdeps/unix/getppid.S: Remove file.
75470
75471 * sysdeps/unix/mkdir.c: Remove file.
75472 * sysdeps/unix/rmdir.c: Likewise.
75473
75474 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
75475
75476 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
75477 ERR_MAX value.
75478 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
75479 errlist-compat value.
75480
75481 2012-04-18 David S. Miller <davem@davemloft.net>
75482
75483 * sysdeps/generic/memcopy.h (reg_char): Delete.
75484 * debug/strcat_chk.c: Use char, not reg_char.
75485 * debug/strcpy_chk.c: Likewise.
75486 * debug/strncat_chk.c: Likewise.
75487 * debug/strncpy_chk.c: Likewise.
75488 * string/memchr.c: Likewise.
75489 * string/memrchr.c: Likewise.
75490 * string/rawmemchr.c: Likewise.
75491 * string/strcat.c: Likewise.
75492 * string/strchr.c: Likewise.
75493 * string/strchrnul.c: Likewise.
75494 * string/strcmp.c: Likewise.
75495 * string/strcpy.c: Likewise.
75496 * string/strncat.c: Likewise.
75497 * string/strncmp.c: Likewise.
75498 * string/strncpy.c: Likewise.
75499
75500 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
75501
75502 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
75503 __builtin_memcopy is called when src and dest ranges are known to not
75504 overlap.
75505
75506 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
75507
75508 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
75509 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
75510 fwd_align_merge macro call.
75511 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
75512 bwd_align_merge macro call.
75513 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75514
75515 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
75516
75517 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
75518 bwd_align_merge macros.
75519 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
75520 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
75521 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75522
75523 2012-04-18 David S. Miller <davem@davemloft.net>
75524
75525 * sysdeps/sparc/sparc64/memcopy.h: Delete.
75526
75527 2012-04-18 Andreas Jaeger <aj@suse.de>
75528
75529 [BZ# 6794]
75530 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
75531 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
75532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75533
75534 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
75535 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
75536 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75537
75538 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
75539 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
75540 Adjust for changed ldbl-128 files.
75541
75542 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
75543 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
75544 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75545
75546 2012-04-17 David S. Miller <davem@davemloft.net>
75547
75548 * sysdeps/sparc/sparc32/memcopy.h: Delete.
75549
75550 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
75551
75552 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
75553 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
75554 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
75555 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
75556 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
75557 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
75558
75559 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75560
75561 [BZ #6794]
75562 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
75563 * math/libm-test.inc: Add ilogb errno and exception tests.
75564 * math/w_ilogb.c: New file: ilogb wrapper.
75565 * math/w_ilogbf.c: New file: ilogbf wrapper.
75566 * math/w_ilogbl.c: New file: ilogbl wrapper.
75567 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
75568 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
75569 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
75570 exception being thrown with 0.0 as argument.
75571 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
75572 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
75573 exception being thrown with 0.0 as argument.
75574 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
75575 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75576 exception being thrown with 0.0 as argument.
75577 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
75578 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75579 exception being thrown with 0.0 as argument.
75580 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
75581 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
75582 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
75583 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
75584 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
75585 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
75586 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
75587 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
75588 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
75589
75590 2012-04-17 Petr Baudis <pasky@ucw.cz>
75591
75592 * include/sys/uio.h: Change __vector to __iovec to avoid clash
75593 with altivec.
75594
75595 2012-04-16 Marek Polacek <polacek@redhat.com>
75596
75597 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
75598
75599 2012-04-16 Marek Polacek <polacek@redhat.com>
75600
75601 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
75602 operands of fdivp instruction.
75603
75604 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
75605
75606 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
75607 * elf/tst-auditmod3b.c: Likewise.
75608 * elf/tst-auditmod4b.c: Likewise.
75609 * elf/tst-auditmod5b.c: Likewise.
75610 * elf/tst-auditmod6b.c: Likewise.
75611 * elf/tst-auditmod6c.c: Likewise.
75612 * elf/tst-auditmod7b.c: Likewise.
75613 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
75614 * sysdeps/x86_64/preconfigure.in: Likewise.
75615 * sysdeps/x86_64/preconfigure: Regenerated.
75616
75617 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
75618
75619 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
75620 __ILP32__.
75621
75622 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
75623
75624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75625 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
75626
75627 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
75628
75629 [BZ #13973]
75630 * locale/iso-639.def: Fix gl language name. Spotted by
75631 Yaron Shahrabani.
75632
75633 2012-04-12 Roland McGrath <roland@hack.frob.com>
75634
75635 [BZ #2074]
75636 * libio/libio.h (__io_write_fn): Update comment.
75637
75638 2012-04-12 Petr Baudis <pasky@ucw.cz>
75639
75640 [BZ #2074]
75641 * stdio.texi (Hook Functions): The user provided writer function
75642 is not allowed to return -1.
75643
75644 2012-04-11 David S. Miller <davem@davemloft.net>
75645
75646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75647
75648 2012-04-11 Mike Frysinger <vapier@gentoo.org>
75649
75650 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
75651 Add a leading slash to rtkaio.
75652
75653 2012-04-11 Jim Meyering <meyering@redhat.com>
75654
75655 [BZ #11959]
75656 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
75657 It is not necessarily an error to ignore fwrite's return
75658 value. One can reliably use ferror to test for errors after
75659 the fact.
75660
75661 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
75662
75663 * bits/types.h (__snseconds_t): New type.
75664 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
75665
75666 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
75667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75668 (__SNSECONDS_T_TYPE): Likewise.
75669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75670 (__SNSECONDS_T_TYPE): Likewise.
75671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75672 (__SNSECONDS_T_TYPE): Likewise.
75673
75674 2012-04-10 Andreas Jaeger <aj@suse.de>
75675
75676 [BZ #2636]
75677 * manual/time.texi (Processor Time): Return type of times is
75678 elapsed real time since an arbitrary point in the past.
75679 (CPU Time): Move CLK_TCK from here...
75680 (Processor Time): ...to here. Correct description.
75681 * manual/conf.texi (Constants for Sysconf): Correct description of
75682 _SC_CLK_TCK.
75683
75684 2012-04-10 David S. Miller <davem@davemloft.net>
75685
75686 [BZ #13967]
75687 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
75688 where the is a gap between DT_REL(A) and DT_JMPREL.
75689
75690 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
75691
75692 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
75693 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75694 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75695
75696 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
75697
75698 * elf/dl-support.c (_dl_inhibit_cache): New variable.
75699 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
75700 (dl_main): Handle --inhibit-cache.
75701 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
75702 _dl_inhibit_cache.
75703 * elf/dl-load.c (_dl_map_object): Use it.
75704 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
75705
75706 2012-04-09 Joseph Myers <joseph@codesourcery.com>
75707
75708 [BZ #13872]
75709 * sysdeps/i386/fpu/e_powl.S (p78): New object.
75710 (__ieee754_powl): Saturate large exponents rather than testing for
75711 overflow of y*log2(x).
75712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75713 * math/libm-test.inc (pow_test): Do not permit spurious overflow
75714 exceptions.
75715
75716 [BZ #11521]
75717 * math/s_ctan.c: Include <float.h>.
75718 (__ctan): Avoid internal overflow or cancellation in calculating
75719 denominator.
75720 * math/s_ctanf.c: Likewise.
75721 * math/s_ctanl.c: Likewise.
75722 * math/s_ctanh.c: Likewise.
75723 * math/s_ctanhf.c: Likewise.
75724 * math/s_ctanhl.c: Likewise.
75725 * math/libm-test.inc (ctan_test): Add more tests.
75726 (ctanh_test): Likewise.
75727 * sysdeps/i386/fpu/libm-test-ulps: Update.
75728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75729
75730 2012-04-09 Andreas Jaeger <aj@suse.de>
75731
75732 [BZ #6894]
75733 * manual/filesys.texi (Directory Entries): Mention that d_namlen
75734 is an optional BSD extension.
75735
75736 [BZ #10254]
75737 * manual/stdio.texi (Opening Streams): Document additional fopen
75738 parameters.
75739
75740 2012-04-09 Roland McGrath <roland@hack.frob.com>
75741
75742 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
75743 %eax without telling the compiler.
75744
75745 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
75746
75747 [BZ # 13963]
75748 * manual/install.texi: Use sourceware.org.
75749
75750 2012-04-09 Joseph Myers <joseph@codesourcery.com>
75751
75752 [BZ #13873]
75753 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
75754 (__ieee754_pow): Generate overflow and underflow using huge*huge
75755 and tiny*tiny rather than just returning constant infinity or zero
75756 for large exponents.
75757 * math/libm-test.inc (pow_test): Require overflow exceptions for
75758 applicable cases of large exponents.
75759
75760 [BZ #706]
75761 * sysdeps/i386/fpu/e_pow.S (p10): New object.
75762 (__ieee754_pow): Use iterative multiplication algorithm only for
75763 integer exponents with absolute value below 1024. Check for odd
75764 integer exponents when using algorithm for real exponents.
75765 * math/libm-test.inc (pow_test): Add more tests.
75766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75767
75768 2012-04-08 Joseph Myers <joseph@codesourcery.com>
75769
75770 [BZ #13705]
75771 * math/libm-test.inc (exp_test): Do not allow overflow exception
75772 on underflow test.
75773
75774 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
75775
75776 [BZ #13705]
75777 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
75778 instead of __kernel_standard_f.
75779
75780 2012-04-08 Mike Frysinger <vapier@gentoo.org>
75781
75782 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
75783 * sysdeps/x86_64/memset_chk.S: Likewise.
75784
75785 2012-04-08 Andreas Jaeger <aj@suse.de>
75786
75787 [BZ #10153]
75788 * manual/startup.texi (Environment Access): Describe return value
75789 for putenv and setenv.
75790
75791 [BZ #6895]
75792 * manual/filesys.texi (Directory Entries): Add description for
75793 DT_LNK.
75794
75795 [BZ #6890]
75796 * manual/filesys.texi (Directory Entries): Clarify that it's file
75797 system not operating system in the description of DT_UNKNOWN.
75798
75799 [BZ #6578]
75800 * manual/syslog.texi (closelog): Fix reference, it's openlog.
75801
75802 2012-04-08 Stephen Compall <s11@member.fsf.org>
75803
75804 [BZ #6649]
75805 * manual/llio.texi (Opening and Closing Files): Add cross
75806 reference to explain mode argument.
75807
75808 2012-04-07 Mike Frysinger <vapier@gentoo.org>
75809
75810 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
75811 * sysdeps/x86_64/memset_chk.S: Likewise.
75812
75813 2012-04-07 David S. Miller <davem@davemloft.net>
75814
75815 * elf/elf.h (R_SPARC_WDISP10): Define.
75816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
75817 R_SPARC_SIZE32.
75818 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
75819 R_SPARC_SIZE64 and R_SPARC_H34.
75820
75821 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
75822
75823 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
75824 conditions and remove no longer applicable assertion.
75825
75826 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
75827
75828 * bits/byteswap.h: Include <features.h>.
75829 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75830 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75831
75832 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
75833
75834 * bits/byteswap.h (__bswap_16): Removed.
75835 Include <bits/byteswap-16.h> to get __bswap_16.
75836 * sysdeps/i386/bits/byteswap.h: Likewise.
75837 * sysdeps/s390/bits/byteswap.h: Likewise.
75838 * sysdeps/x86_64/bits/byteswap.h: Likewise.
75839 * bits/byteswap-16.h: New file.
75840 * sysdeps/i386/bits/byteswap-16.h: Likewise.
75841 * sysdeps/s390/bits/byteswap-16.h: Likewise.
75842 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
75843 * string/Makefile (headers): Add bits/byteswap-16.h.
75844
75845 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
75846
75847 [BZ #13895]
75848 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
75849 extra indirection.
75850 * nss/Makefile (tests-static, tests): Add tst-nss-static.
75851 * nss/tst-nss-static.c: New.
75852
75853 2012-04-06 Robert Millan <rmh@gnu.org>
75854
75855 [BZ #6486]
75856 * manual/llio.texi (File Position Primitive): lseek
75857 refers to WHENCE when it really means OFFSET.
75858
75859 2012-04-06 Andreas Jaeger <aj@suse.de>
75860
75861 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
75862 strncmp declarations.
75863
75864 * abilist/libc.abilist: Add __poll and __ppoll.
75865
75866 2012-04-05 David S. Miller <davem@davemloft.net>
75867
75868 * scripts/check-local-headers.sh: Accept a host triplet in the
75869 path matched by the exclude regexp.
75870
75871 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
75872 definition.
75873 * sysdeps/powerpc/powerpc32/dl-machine.h
75874 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
75875 * sysdeps/s390/s390-32/dl-machine.h
75876 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75877 * sysdeps/sparc/sparc32/dl-machine.h
75878 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75879 * sysdeps/sparc/sparc64/dl-machine.h
75880 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75881
75882 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
75883 lazy binding.
75884 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
75885 undefined symbol errors.
75886
75887 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
75888 DT_NEEDED entries.
75889
75890 2012-04-05 Michael Matz <matz@suse.de>
75891
75892 [BZ #13592]
75893 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
75894
75895 2012-04-05 Andreas Jaeger <aj@suse.de>
75896
75897 [BZ #13908]
75898 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
75899 comment.
75900
75901 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75902
75903 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
75904 which ROUND is no valid rounding mode.
75905
75906 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75907
75908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
75909 read again.
75910 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
75911
75912 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75913
75914 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
75915 an exception using FPU order intentionally.
75916
75917 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75918
75919 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
75920 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
75921 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
75922 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
75923
75924 2012-04-05 Simon Josefsson <simon@josefsson.org>
75925
75926 [BZ #12340]
75927 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
75928 EINVAL when BUFLEN is too smal.
75929
75930 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
75931
75932 [BZ #13553]
75933 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
75934 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
75935
75936 2012-04-03 Andreas Jaeger <aj@suse.de>
75937
75938 [BZ #13938]
75939 * manual/setjmp.texi (System V contexts): Fix sentence.
75940
75941 [BZ #13926]
75942 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
75943 New macro for this case.
75944 [!__GNUC__] (__bswap_64): New inline function for this case.
75945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
75946 * bits/byteswap.h: Likewise.
75947 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
75948 ull, guard with __GLIBC_HAVE_LONG_LONG.
75949
75950 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
75951 __GLIBC_HAVE_LONG_LONG.
75952
75953 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
75954 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
75955
75956 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75957
75958 [BZ #13691]
75959 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
75960 inptr and inend, rather than using last_ch.
75961
75962 2012-04-02 David S. Miller <davem@davemloft.net>
75963
75964 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
75965 * stdio-common/printf-parse.h (read_int): Change return type to
75966 'int', return -1 on INT_MAX overflow.
75967 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
75968 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
75969 overflows INT_MAX. Check for overflow of in-format-string precision
75970 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
75971 SIZE_MAX not INT_MAX for integer overflow test.
75972 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
75973 skip the construct in the format string but do not record anything.
75974 * stdio-common/bug22.c: Adjust to test both width/prevision
75975 INT_MAX overflow as well as total length INT_MAX overflow. Check
75976 explicitly for proper errno values.
75977
75978 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
75979
75980 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
75981 CHAR_MAX.
75982 * string/test-strcmp.c [! WIDE]: Likewise.
75983 * time/tst-mktime2.c: Likewise for INT_MAX.
75984 * string/test-string.h: #include <sys/param.h> for MIN.
75985
75986 * csu/init-first.c (__libc_init_first): Call __ctype_init.
75987 * sysdeps/i386/init-first.c (init): Likewise.
75988 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
75989 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
75990 * sysdeps/sh/init-first.c (init): Likewise.
75991
75992 2012-04-01 Ulrich Drepper <drepper@gmail.com>
75993
75994 * po/ru.po: Update from translation team.
75995 * po/vi.po: Likewise.
75996
75997 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
75998
75999 * resolv/nss_dns/dns-host.c: Merge copyright years.
76000
76001 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76002
76003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76004 Optimize memcpy with prefetch if
76005 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
76006 src, dst pointers have unequal 16 byte alignments.
76007
76008 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
76009
76010 [BZ #13928]
76011 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76012 from a CNAME entry and return the minimum ttl for the query.
76013 (gaih_getanswer_slice): Likewise.
76014
76015 2012-03-30 Jeff Law <law@redhat.com>
76016
76017 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76018 due to long keys.
76019 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76020 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76021
76022 * resolv/nss_dns/dns-host.c: Update copyright year.
76023
76024 2012-03-30 Ulrich Drepper <drepper@gmail.com>
76025
76026 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76027 requests to save a system call. Fix check that all bytes are sent.
76028
76029 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76030 comments for sendmmsg.
76031
76032 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76033
76034 [BZ #13691]
76035 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76036 with only 1 character between 0x0041 and 0x01b0.
76037 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76038 * wcsmbs/tst-mbsnrtowcs.c: New file.
76039
76040 2012-03-29 David S. Miller <davem@davemloft.net>
76041
76042 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76043 small copies by hand.
76044
76045 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76046
76047 [BZ #13761]
76048 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76049 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76050 group memberships.
76051
76052 2012-03-28 David S. Miller <davem@davemloft.net>
76053
76054 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76055 that branches into memcpy.
76056 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76058 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76059 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76061 bits.
76062 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76063 implementation too.
76064 * sysdeps/sparc/mempcpy.S: New file.
76065
76066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76067 the IFUNC routine in the libc case.
76068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76069
76070 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76071 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76072 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76073 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76074 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76075 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76076 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76077 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76078
76079 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76080 loop to 256 bytes instead of 64 bytes and fix test signedness.
76081
76082 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76083 * sysdeps/sparc/sparc32/Makefile: rather than here...
76084 * sysdeps/sparc/sparc64/Makefile: and here.
76085
76086 2012-03-28 Ulrich Drepper <drepper@gmail.com>
76087
76088 * malloc/mallocbug.c: Avoid warnings about unused variables.
76089
76090 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
76091
76092 [BZ #13760]
76093 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76094 in the right place. Discard and retry query if response is
76095 larger than input buffer size.
76096
76097 2012-03-28 Joseph Myers <joseph@codesourcery.com>
76098
76099 [BZ #369]
76100 [BZ #2678]
76101 [BZ #3866]
76102 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76103 x for large integer exponent.
76104 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76105 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
76106 sign of result as needed afterwards.
76107 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76108 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76109 result for underflowing pow the same as for overflow.
76110 (__kernel_standard_l): Handle powl overflow and underflow here
76111 rather than calling __kernel_standard.
76112 * math/libm-test.inc (pow_test): Add more tests.
76113
76114 [BZ #3868]
76115 [BZ #13879]
76116 [BZ #13910]
76117 [BZ #13911]
76118 [BZ #13912]
76119 [BZ #13913]
76120 [BZ #13915]
76121 [BZ #13916]
76122 [BZ #13917]
76123 [BZ #13918]
76124 [BZ #13919]
76125 [BZ #13920]
76126 [BZ #13921]
76127 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76128 * sysdeps/ieee754/k_standard.c: Include <float.h>.
76129 (__kernel_standard_l): New function.
76130 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76131 __kernel_standard.
76132 * math/w_acosl.c (__acosl): Likewise.
76133 * math/w_asinl.c (__asinl): Likewise.
76134 * math/w_atan2l.c (__atan2l): Likewise.
76135 * math/w_atanhl.c (__atanhl): Likewise.
76136 * math/w_coshl.c (__coshl): Likewise.
76137 * math/w_exp10l.c (__exp10l): Likewise.
76138 * math/w_exp2l.c (__exp2l): Likewise.
76139 * math/w_fmodl.c (__fmodl): Likewise.
76140 * math/w_hypotl.c (__hypotl): Likewise.
76141 * math/w_j0l.c (__j0l, __y0l): Likewise.
76142 * math/w_j1l.c (__j1l, __y1l): Likewise.
76143 * math/w_jnl.c (__jnl, __ynl): Likewise.
76144 * math/w_lgammal.c (__lgammal): Likewise.
76145 * math/w_log10l.c (__log10l): Likewise.
76146 * math/w_log2l.c (__log2l): Likewise.
76147 * math/w_logl.c (__logl): Likewise.
76148 * math/w_powl.c (__powl): Likewise.
76149 * math/w_remainderl.c (__remainderl): Likewise.
76150 * math/w_scalbl.c (sysv_scalbl): Likewise.
76151 * math/w_sinhl.c (__sinhl): Likewise.
76152 * math/w_sqrtl.c (__sqrtl): Likewise.
76153 * math/w_tgammal.c (__tgammal): Likewise.
76154 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76155 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76156 * math/libm-test.inc (acos_test): Add more tests.
76157 (acosh_test): Likewise.
76158 (asin_test): Likewise.
76159 (atanh_test): Likewise.
76160 (exp_test): Likewise.
76161 (exp10_test): Likewise.
76162 (exp2_test): Likewise.
76163 (expm1_test): Likewise.
76164 (lgamma_test): Likewise.
76165 (log_test): Likewise.
76166 (log10_test): Likewise.
76167 (log1p_test): Likewise.
76168 (log2_test): Likewise.
76169 (pow_test): Do not allow some spurious overflow exceptions.
76170 (sqrt_test): Add more tests.
76171 (tgamma_test): Likewise.
76172 (y0_test): Likewise.
76173 (y1_test): Likewise.
76174 (yn_test): Likewise.
76175
76176 2012-03-27 Anton Blanchard <anton@samba.org>
76177
76178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76179 MAP_HUGETLB.
76180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76181 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76183
76184 2012-03-27 David S. Miller <davem@davemloft.net>
76185
76186 * conform/Makefile: Run run-conformtest.sh using $(BASH).
76187
76188 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76189 have-as-vis3 check.
76190
76191 2012-03-27 Andreas Jaeger <aj@suse.de>
76192
76193 * sysdeps/x86_64/elf/configure.in: Moved to ...
76194 * sysdeps/x86_64/configure.in: ... here.
76195 * sysdeps/x86_64/elf/start.S: Moved to ...
76196 * sysdeps/x86_64/start.S: ... here.
76197 * sysdeps/x86_64/elf/configure: Delete.
76198
76199 * sysdeps/x86_64/configure.in: Merge contents from
76200 sysdeps/i386/configure.in (without i686 check).
76201
76202 * sysdeps/i386/elf/Versions: Merge into ...
76203 * sysdeps/i386/Versions: ... this.
76204 * sysdeps/i386/elf/Versions: Delete file.
76205 * sysdeps/i386/elf/start.S: Moved to ...
76206 * sysdeps/i386/start.S: ...here.
76207 * sysdeps/i386/elf/configure.in: Merge into...
76208 * sysdeps/i386/configure.in: ...here.
76209 * sysdeps/i386/elf/configure.in: Delete file.
76210 * sysdeps/i386/elf/configure: Delete file.
76211
76212 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76213 * debug/backtracesyms.c: ... here.
76214 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76215 * debug/backtracesymsfd.c: ... here.
76216 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76217 * sysdeps/generic/ifunc-sel.h: ... here.
76218
76219 * sysdeps/unix/i386/start.c: Delete file.
76220 * sysdeps/unix/sparc/start.c: Delete file.
76221 * sysdeps/unix/start.c: Delete file.
76222
76223 * sysdeps/sh/elf/configure.in: Moved to ...
76224 * sysdeps/sh/configure.in: ... here.
76225 * sysdeps/sh/elf/start.S: Moved to ...
76226 * sysdeps/sh/start.S: ... here.
76227 * sysdeps/sh/elf/configure: Delete file.
76228
76229 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76230 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76231 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76232 * sysdeps/powerpc/powerpc64/entry.h: ... here.
76233 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76234 * sysdeps/powerpc/powerpc64/start.S: here.
76235 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76236 * sysdeps/powerpc/powerpc64/Makefile: ... this.
76237 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76238 * sysdeps/powerpc/powerpc64/configure.in: ... this.
76239 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76240
76241 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76242 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76243 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76244 * sysdeps/powerpc/powerpc32/start.S: ... here.
76245 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76246 * sysdeps/powerpc/powerpc32/configure.in: ... this.
76247 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76248
76249 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76250 * sysdeps/powerpc/ifunc-sel.h: ... here.
76251 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76252 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76253
76254 * sysdeps/sparc/elf/configure.in: Moved to ...
76255 * sysdeps/sparc/configure.in: ... here.
76256 * sysdeps/sparc/elf/configure: Delete file.
76257 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76258 * sysdeps/sparc/sparc32/start.S: ... here.
76259 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76260 * sysdeps/sparc/sparc64/start.S: ... here.
76261 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76262 * sysdeps/sparc/sparc32/Makefile: ... this.
76263 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76264 * sysdeps/sparc/sparc64/Makefile: ... this.
76265
76266 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76267 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76268 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76269 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76270 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76271 * sysdeps/s390/s390-32/setjmp.S: ... here.
76272 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76273 * sysdeps/s390/s390-32/configure.in: ... here.
76274 * sysdeps/s390/s390-32/elf/configure: Delete file.
76275 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76276 * sysdeps/s390/s390-32/start.S: ... here.
76277
76278 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76279 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76280 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76281 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76282 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76283 * sysdeps/s390/s390-64/setjmp.S: ... here.
76284 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76285 * sysdeps/s390/s390-64/configure.in: ... here
76286 * sysdeps/s390/s390-64/elf/configure: Delete file.
76287 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76288 * sysdeps/s390/s390-64/start.S: ... here.
76289 * sysdeps/s390/s390-64/elf/configure: Delete.
76290
76291 * configure.in: Remove support for elf directories in sysdeps.
76292
76293 * configure: Regenerated.
76294 * sysdeps/i386/configure: Regenerated.
76295 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76296 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76297 * sysdeps/s390/s390-32/configure: Regenerated.
76298 * sysdeps/s390/s390-64/configure: Regenerated.
76299 * sysdeps/sh/configure: Regenerated.
76300 * sysdeps/sparc/configure: Regenerated.
76301 * sysdeps/x86_64/configure: Regenerated.
76302
76303 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
76304
76305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76306
76307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76308 denormal result into account.
76309
76310 2012-03-25 Roland McGrath <roland@hack.frob.com>
76311
76312 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76313 Reported by Allan McRae <allan@archlinux.org>.
76314
76315 2012-03-23 Jeff Law <law@redhat.com>
76316
76317 * nss/getnssent.c (__nss_getent): Fix typo.
76318
76319 2012-03-23 David S. Miller <davem@davemloft.net>
76320
76321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76322
76323 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
76324
76325 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76326 to pad to uint64_t for each field.
76327 (dl_tls_index): Replace unsigned long with uint64_t.
76328
76329 2012-03-23 Daniel Jacobowitz <dmj@google.com>
76330 Paul Pluzhnikov <ppluzhnikov@google.com>
76331
76332 [BZ #6528]
76333 * grp/Makefile (otherlibs): Don't set it.
76334 * inet/Makefile (otherlibs): Likewise.
76335 * login/Makefile (otherlibs): Likewise.
76336 * nscd/Makefile (otherlibs): Likewise.
76337 * posix/Makefile (otherlibs): Likewise.
76338 * pwd/Makefile (otherlibs): Likewise.
76339 * rt/Makefile (otherlibs): Likewise.
76340 * sunrpc/Makefile (otherlibs): Likewise.
76341 * nss/Makefile (otherlibs): Likewise.
76342 Add libnss_files to routines and static-only-routines.
76343 ($(objpfx)getent): Remove rule.
76344 * resolv/Makefile: Add libnss_dns and libresolv to routines and
76345 static-only-routines.
76346
76347 2012-03-22 Joseph Myers <joseph@codesourcery.com>
76348
76349 [BZ #13892]
76350 * math/s_cexp.c: Include <float.h>.
76351 (__cexp): Handle exp result overflowing not necessarily
76352 overflowing both real and imaginary parts of result.
76353 * math/s_cexpf.c: Likewise.
76354 * math/s_cexpl.c: Likewise.
76355 * math/libm-test.inc (cexp_test): Add more tests.
76356 * sysdeps/i386/fpu/libm-test-ulps: Update.
76357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76358
76359 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
76360
76361 * include/link.h (ELFW): New macro.
76362 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76363 Replace ELF64_R_TYPE with ELFW(R_TYPE).
76364
76365 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
76366
76367 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76368 with uint64_t.
76369
76370 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
76371
76372 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76373 declaration.
76374 (struct La_x32_retval): Likewise.
76375
76376 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
76377
76378 * sysdeps/x86_64/preconfigure.in: New file.
76379 * sysdeps/x86_64/preconfigure: New generated file.
76380
76381 2012-03-22 Joseph Myers <joseph@codesourcery.com>
76382
76383 [BZ #13824]
76384 * math/e_exp2l.c: Include <float.h>.
76385 (__ieee754_exp2l): Handle overflow and underflow cases
76386 separately. Only pass fractional part of argument to
76387 __ieee754_expl.
76388 * math/libm-test.inc (exp2_test): Add more tests.
76389
76390 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
76391 negating x to take absolute value.
76392 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
76393 Likewise.
76394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
76395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
76396 Likewise.
76397 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
76398 computing low part if x was negated.
76399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
76400
76401 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
76402
76403 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76404 la_x32_gnu_pltexit.
76405 (pltexit): Cast int_retval to ptrdiff_t.
76406 * elf/tst-auditmod3b.c: Likewise.
76407 * elf/tst-auditmod4b.c: Likewise.
76408 * elf/tst-auditmod5b.c: Likewise.
76409 * elf/tst-auditmod6b.c: Likewise.
76410 * elf/tst-auditmod6c.c: Likewise.
76411 * elf/tst-auditmod7b.c: Likewise.
76412
76413 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
76414 and x32_gnu_pltexit.
76415
76416 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
76417 __ELF_NATIVE_CLASS.
76418 (La_x32_regs): New macro.
76419 (La_x32_retval): Likewise.
76420 (la_x32_gnu_pltenter): New function prototype.
76421 (la_x32_gnu_pltexit): Likewise.
76422
76423 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
76424
76425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
76426 exponent.
76427
76428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76429
76430 * configure.in (libc_cv_cc_nofma): Check for option to disable
76431 generation of FMA instructions.
76432 * configure: Regenerate.
76433 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76434 * sysdeps/ieee754/dbl-64/Makefile: New file.
76435 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
76436 Remove brandred-fma4.
76437 (CFLAGS-brandred-fma4.c): Remove.
76438 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
76439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76440 define.
76441 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
76442 define.
76443
76444 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
76445
76446 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76447 LLONG_MAX != LONG_MAX.
76448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
76449 (_fitoa_word): Likewise.
76450 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76451 LLONG_MAX != LONG_MAX.
76452 * stdio-common/_itowa.h: Include <_itoa.h>.
76453 (_itowa_word): Use _ITOA_WORD_TYPE on value.
76454 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
76455 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
76456 only if not defined.
76457 (_ITOA_WORD_TYPE): Likewise.
76458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
76459 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
76460
76461 2012-03-21 David S. Miller <davem@davemloft.net>
76462
76463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76464
76465 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
76466
76467 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
76468 of x86_64 when setting libc_cv_slibdir, libdir and
76469 libc_cv_localedir.
76470 * sysdeps/unix/sysv/linux/configure: Regenerated.
76471
76472 2012-03-21 Joseph Myers <joseph@codesourcery.com>
76473
76474 * manual/lang.texi (Old Varargs): Remove section.
76475 (How Variadic): Update menu.
76476 (va_start): Do not mention varargs.h.
76477
76478 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
76479 Joseph Myers <joseph@codesourcery.com>
76480
76481 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
76482 link test.
76483 * configure: Regenerated.
76484
76485 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
76486
76487 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
76488 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
76489 conformtest.pl
76490
76491 2012-03-21 Joseph Myers <joseph@codesourcery.com>
76492
76493 * NOTES: Remove.
76494 * Makefile (files-for-dist): Remove NOTES.
76495 (NOTES): Remove rule.
76496 * README: Don't refer to NOTES.
76497 * manual/creature.texi: Don't include macros.texi.
76498 * manual/intro.texi (creature.texi): Remove comment referring to
76499 NOTES.
76500
76501 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
76502 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
76503 * configure: Regenerated.
76504 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
76505 LIBC_TRY_CC_OPTION.
76506 (libc_cv_as_i686): Likewise.
76507 (libc_cv_cc_avx): Likewise.
76508 (libc_cv_cc_sse2avx): Likewise.
76509 (libc_cv_cc_fma4): Likewise.
76510 (libc_cv_cc_novzeroupper): Likewise.
76511 * sysdeps/i386/configure: Regenerated.
76512
76513 [BZ #13883]
76514 * sysdeps/i386/fpu/s_cexp.S: Remove.
76515 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76516 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76517 * math/libm-test.inc (cexp_test): Add more tests.
76518 * sysdeps/i386/fpu/libm-test-ulps: Update.
76519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76520
76521 2012-03-21 Allan McRae <allan@archlinux.org>
76522
76523 * timezone/Makefile: Do not install iso3166.tab and zone.tab
76524
76525 2012-03-21 Joseph Myers <joseph@codesourcery.com>
76526
76527 [BZ #13871]
76528 * math/w_exp2.c: Do not include <float.h>.
76529 (o_threshold, u_threshold): Remove.
76530 (__exp2): Calculate result before checking finiteness and calling
76531 __kernel_standard.
76532 * math/w_exp2f.c: Likewise.
76533 * math/w_exp2l.c: Likewise.
76534 * math/libm-test.inc (exp2_test): Require overflow exception for
76535 1e6 input.
76536
76537 [BZ #3866]
76538 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
76539 range of signed 64-bit integers before using fistpll. Remove
76540 checks for whether integers fit in mantissa bits.
76541 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
76542 the range of signed 32-bit integers before using fistpl. Remove
76543 checks for whether integers fit in mantissa bits.
76544 * sysdeps/i386/fpu/e_powl.S (p64): New object.
76545 (__ieee754_powl): Test for y outside the range of signed 64-bit
76546 integers before using fistpll. Reduce 64-bit values to 63-bit
76547 ones as needed.
76548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
76549 divide-by-zero is raised for zero to large negative powers.
76550 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
76551 (__ieee754_powl): Test for y outside the range of signed 64-bit
76552 integers before using fistpll. Reduce 64-bit values to 63-bit
76553 ones as needed.
76554 * math/libm-test.inc (pow_test): Add more tests.
76555
76556 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
76557
76558 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
76559 <stdio-common/_itoa.h>.
76560 * debug/segfault.c: Likewise.
76561 * elf/dl-cache.c: Likewise.
76562 * elf/dl-minimal.c: Likewise.
76563 * elf/dl-misc.c: Likewise.
76564 * elf/dl-sysdep.c: Likewise.
76565 * elf/dl-version.c: Likewise.
76566 * elf/rtld.c: Likewise.
76567 * hurd/hurdsock.c: Likewise.
76568 * hurd/lookup-retry.c: Likewise.
76569 * malloc/malloc.c: Likewise.
76570 * malloc/mtrace.c: Likewise.
76571 * nscd/nscd_getgr_r.c: Likewise.
76572 * nscd/nscd_getpw_r.c: Likewise.
76573 * nscd/nscd_getserv_r.c: Likewise.
76574 * posix/getopt_init.c: Likewise.
76575 * posix/wordexp.c: Likewise.
76576 * stdio-common/_itoa.c: Likewise.
76577 * stdio-common/printf_fphex.c: Likewise.
76578 * stdio-common/vfprintf.c: Likewise.
76579 * string/_strerror.c: Likewise.
76580 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
76581 * sysdeps/i386/i686/hp-timing.h: Likewise.
76582 * sysdeps/mach/_strerror.c: Likewise.
76583 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
76584 * sysdeps/mach/hurd/sethostid.c: Likewise.
76585 * sysdeps/mach/hurd/xmknodat.c: Likewise.
76586 * sysdeps/mach/xpg-strerror.c: Likewise.
76587 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
76588 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
76589 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
76590 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
76591 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
76592 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
76593 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
76594 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
76595 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
76596 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
76597 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
76598 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
76599 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
76600 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
76601 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
76602 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
76603 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
76604 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
76605 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
76606 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
76607 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
76608
76609 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
76610
76611 * stdio-common/_itoa.h: Moved to ...
76612 * sysdeps/generic/_itoa.h: Here.
76613
76614 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
76615
76616 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
76617 instead of "_itoa.h" and "_itowa.h".
76618 * stdio-common/vfprintf.: Likewise.
76619
76620 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
76621
76622 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
76623 <bits/wordsize.h>.
76624 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
76625 (__signbit): Likewise.
76626 (llrintf): Likewise.
76627 (llrint): Likewise.
76628
76629 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
76630
76631 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
76632 __WORDSIZE != 64.
76633
76634 2012-03-20 Joseph Myers <joseph@codesourcery.com>
76635
76636 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
76637 OVERFLOW_EXCEPTION_OK.
76638 * math/libm-test.inc ("Philosophy"): Update comment about
76639 exception testing.
76640 (OVERFLOW_EXCEPTION): Define.
76641 (OVERFLOW_EXCEPTION_OK): Likewise.
76642 (INVALID_EXCEPTION_OK): Renumber.
76643 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76644 (IGNORE_ZERO_INF_SIGN): Likewise.
76645 (test_exceptions): Handle FE_OVERFLOW.
76646 (exp10_test): Expect overflow exceptions.
76647 (exp2_test): Likewise.
76648 (expm1_test): Likewise.
76649 (nextafter_test): Likewise.
76650 (pow_test): Likewise.
76651 (scalbn_test): Likewise.
76652 (scalbln_test): Likewise.
76653
76654 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
76655
76656 * sysdeps/x86_64/bits/atomic.h
76657 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
76658 64bit integer.
76659 (atomic_exchange_acq): Likewise.
76660 (__arch_exchange_and_add_body): Likewise.
76661 (__arch_add_body): Likewise.
76662 (atomic_add_negative): Likewise.
76663 (atomic_add_zero): Likewise.
76664
76665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
76666
76667 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
76668 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
76669
76670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
76671
76672 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
76673 Check __x86_64__ instead of __WORDSIZE.
76674
76675 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
76676
76677 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
76678
76679 2012-03-19 David S. Miller <davem@davemloft.net>
76680
76681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76682
76683 * sysdeps/sparc/fpu/fenv_private.h: New file.
76684 * sysdeps/sparc/fpu/math_private.h: Use it.
76685 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
76686 Remove.
76687 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
76688 (libc_feholdexcept_setroundl): Remove.
76689 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
76690 Remove.
76691 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
76692 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
76693
76694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
76695
76696 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
76697 int64_t instead of long int.
76698 (INSERT_WORDS64): Likewise.
76699
76700 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
76701
76702 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
76703 _Unwind_GetCFA return to _Unwind_Ptr first.
76704
76705 2012-03-19 Joseph Myers <joseph@codesourcery.com>
76706
76707 [BZ #13629]
76708 * math/s_clog.c: Include <float.h>.
76709 (__clog): Scale large or subnormal inputs.
76710 * math/s_clogf.c: Likewise.
76711 * math/s_clogl.c: Likewise.
76712 * math/s_clog10.c: Include <float.h>.
76713 (M_LOG10_2): Define.
76714 (__clog10): Scale large or subnormal inputs.
76715 * math/s_clog10f.c: Likewise.
76716 * math/s_clog10l.c: Likewise.
76717 * math/libm-test.inc (clog_test): Add more tests.
76718 (clog10_test): Likewise.
76719 * sysdeps/i386/fpu/libm-test-ulps: Update.
76720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76721
76722 [BZ #11451]
76723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
76724 x and y.
76725 * math/libm-test.inc (atan2_test): Add another test.
76726
76727 * Makerules (common-objdir-compile): Remove.
76728 * sysdeps/unix/Makefile (config-generated): Do not add
76729 $(unix-generated) to variable.
76730 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
76731 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
76732 Remove rule.
76733 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
76734 Likewise.
76735 [generic bits/local_lim.h] (before-compile): Do not append to
76736 variable.
76737 [generic bits/local_lim.h] (common-generated): Likewise.
76738 [generic sys/param.h] (before-compile): Do not append to variable.
76739 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
76740 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
76741 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
76742 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
76743 include.
76744 [generic sys/param.h] (sys/param.h-includes): Remove variable.
76745 [generic sys/param.h] (sys/param.h-includes): Remove rule.
76746 [generic sys/param.h] ($(addprefix
76747 $(common-objpfx),$(sys/param.h-includes))): Likewise.
76748 [generic sys/param.h] (common-generated): Do not append to
76749 variable.
76750 [generic sys/param.h] (sysdep_headers): Likewise.
76751 [generic bits/errno.h] (before-compile): Do not append to
76752 variable.
76753 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
76754 rule.
76755 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
76756 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
76757 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
76758 [generic bits/errno.h] (common-generated): Do not append to
76759 variable.
76760 [generic bits/ioctls.h] (before-compile): Do not append to
76761 variable.
76762 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
76763 rule.
76764 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
76765 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
76766 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
76767 rule.
76768 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
76769 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
76770 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
76771 [generic bits/ioctls.h] (common-generated): Do not append to
76772 variable.
76773 [generic sys/syscall.h] (syscall.h): Remove variable.
76774 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
76775 rule.
76776 [generic sys/syscall.h] (before-compile): Do not append to
76777 variable.
76778 [generic sys/syscall.h] (common-generated): Likewise.
76779 * sysdeps/unix/errnos-tmpl.c: Remove file.
76780 * sysdeps/unix/errnos.awk: Likewise.
76781 * sysdeps/unix/ioctls-tmpl.c: Likewise.
76782 * sysdeps/unix/ioctls.awk: Likewise.
76783 * sysdeps/unix/mk-local_lim.c: Likewise.
76784 * sysdeps/unix/snarf-ioctls: Likewise.
76785
76786 2012-03-19 Richard Henderson <rth@twiddle.net>
76787
76788 * sysdeps/i386/fpu/fenv_private.h: New file.
76789 * sysdeps/i386/fpu/math_private.h: Use it.
76790 (math_opt_barrier, math_force_eval): Remove.
76791 (libc_feholdexcept_setround_53bit): Remove.
76792 (libc_feupdateenv_53bit): Remove.
76793 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76794 (math_opt_barrier, math_force_eval): Remove.
76795 (libc_feholdexcept): Remove.
76796 (libc_feholdexcept_setround): Remove.
76797 (libc_fetestexcept, libc_fesetenv): Remove.
76798 (libc_feupdateenv_test): Remove.
76799 (libc_feupdateenv, libc_feholdsetround): Remove.
76800 (libc_feresetround): Remove.
76801
76802 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
76803 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
76804
76805 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
76806 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
76807 (libc_feupdateenv_testl): New.
76808 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
76809 (libc_feupdateenv_testf): New.
76810 (libc_feupdateenv): Use libc_feupdateenv_test.
76811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
76812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
76813
76814 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
76815 (libc_feholdsetroundf, libc_feholdsetroundl): New.
76816 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
76817 (libc_feresetround_noex): New.
76818 (libc_feresetround_noexf): New.
76819 (libc_feresetround_noexl): New.
76820 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
76821 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
76822 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
76823 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
76824 SET_RESTORE_ROUND.
76825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
76826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
76827 (__cos): Likewise.
76828 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
76829 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
76830 SET_RESTORE_ROUND_NOEX.
76831 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
76832 SET_RESTORE_ROUND_NOEXF.
76833 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
76834 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
76835 (libc_feholdsetroundf): New.
76836 (libc_feresetround, libc_feresetroundf): New.
76837
76838 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
76839 (libc_feholdexcept_setround_53bit): Convert from macro to function.
76840 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
76841
76842 * sysdeps/generic/math_private.h: Include <fenv.h>.
76843 (default_libc_feholdexcept): New.
76844 (default_libc_feholdexcept_setround): New.
76845 (default_libc_fesetenv, default_libc_feupdateenv): New.
76846 (libc_feholdexcept): Only define if undefined.
76847 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
76848 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
76849 (libc_feholdexcept_setroundl): Likewise.
76850 (libc_feholdexcept_setround_53bit): Likewise.
76851 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
76852 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
76853 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
76854 (libc_feupdateenv_53bit): Likewise.
76855 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
76856 (libc_feholdexcept): Convert from macro to inline function.
76857 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
76858 (libc_fesetenv, libc_feupdateenv): Likewise.
76859
76860 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
76861 not previously defined.
76862 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
76863 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
76864 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
76865 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
76866 * sysdeps/ieee754/flt-32/math_private.h: New file.
76867 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
76868 math_private.h below SET_FLOAT_WORD.
76869 (__isnan, __isinf_ns, __finite): Remove.
76870 (__isnanf, __isinf_nsf, __finitef): Remove.
76871
76872 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
76873
76874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76875
76876 2012-03-17 David S. Miller <davem@davemloft.net>
76877
76878 [BZ #6471]
76879 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
76880 for 2.16.
76881
76882 2012-03-16 David S. Miller <davem@davemloft.net>
76883
76884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
76885 warnings.
76886
76887 [BZ #6471]
76888 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
76889 properly.
76890 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
76891 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
76892 sysdep_routines when subdir is sysvipc.
76893 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
76894 __getshmlba helper.
76895
76896 * sysdeps/sparc/fpu/libm-test/ulps: Update.
76897
76898 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76899
76900 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
76901 [__LP64__].
76902
76903 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76904
76905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
76906 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
76907 (__lround): Renamed to ...
76908 (__llround): This. Replace long int with long long int.
76909 Define lround functions as aliases of llround functions.
76910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76911
76912 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76913
76914 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
76915 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
76916 adresses to uintptr_t. Replace "long int" and "unsigned long
76917 int" with "greg_t" on va_arg.
76918
76919 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76920
76921 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
76922 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
76923
76924 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
76925 Move e_machine check before EI_CLASS check. Handle x32
76926 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
76927 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
76928 SKIP_EM_IA_64 and include
76929 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
76930
76931 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
76932 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
76933 (add_system_dir): New macro.
76934
76935 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
76936 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
76937
76938 2012-03-16 Joseph Myers <joseph@codesourcery.com>
76939
76940 [BZ #2551]
76941 [BZ #2552]
76942 [BZ #2553]
76943 [BZ #2554]
76944 [BZ #2562]
76945 [BZ #2563]
76946 [BZ #2565]
76947 [BZ #2566]
76948 [BZ #2576]
76949 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
76950 (y0): Likewise.
76951 * math/w_j0f.c (j0f): Likewise.
76952 (y0f): Likewise.
76953 * math/w_j0l.c (__j0l): Likewise.
76954 (__y0l): Likewise.
76955 * math/w_j1.c (j1): Likewise.
76956 (y1): Likewise.
76957 * math/w_j1f.c (j1f): Likewise.
76958 (y1f): Likewise.
76959 * math/w_j1l.c (__j1l): Likewise.
76960 (__y1l): Likewise.
76961 * math/w_jn.c (jn): Likewise.
76962 (yn): Likewise.
76963 * math/w_jnf.c (jnf): Likewise.
76964 (ynf): Likewise.
76965 * math/w_jnl.c (__jnl): Likewise.
76966 (__ynl): Likewise.
76967 * math/libm-test.inc (j0_test): Add more tests.
76968 (j1_test): Likewise.
76969 (jn_test): Likewise. Add trailing semicolon to existing test.
76970 (y0_test): Likewise.
76971 (y1_test): Likewise.
76972 * sysdeps/i386/fpu/libm-test-ulps: Update.
76973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76974
76975 [BZ #13851]
76976 [BZ #13854]
76977 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
76978 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
76979 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
76980 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
76981 (__tanl): Set errno for infinite argument.
76982 * sysdeps/i386/fpu/mptan.c: Remove.
76983 * sysdeps/i386/fpu/s_tan.S: Likewise.
76984 * sysdeps/i386/fpu/s_tanl.S: Likewise.
76985 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
76986 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
76987 * math/libm-test.inc (tan_test): Add more tests and enable more
76988 tests for double and long double.
76989 * sysdeps/i386/fpu/libm-test-ulps: Update.
76990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76991
76992 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
76993
76994 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
76995 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
76996
76997 2012-03-16 Roland McGrath <roland@hack.frob.com>
76998
76999 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77000 * configure.in: Use it for both main tree and add-ons.
77001 * configure: Regenerated.
77002
77003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
77004
77005 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77006
77007 2012-03-16 Joseph Myers <joseph@codesourcery.com>
77008
77009 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77010 in comment.
77011
77012 [BZ #13851]
77013 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77014 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77015 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77016 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77017 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77018 infinite argument.
77019 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77021 != 0 for prec == 2.
77022 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77023 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77024 * sysdeps/i386/fpu/s_cosl.S: Likewise.
77025 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77026 * sysdeps/i386/fpu/s_sinl.S: Likewise.
77027 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77028 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77029 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77030 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77031 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77032 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77033 * math/libm-test.inc (cos_test): Add more tests and enable more
77034 tests for long double.
77035 (sin_test): Likewise.
77036 (sincos_test): Likewise.
77037 * sysdeps/i386/fpu/libm-test-ulps: Update.
77038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77039
77040 2012-03-16 David S. Miller <davem@davemloft.net>
77041
77042 * sysdeps/sparc/fpu/math_private.h: New file.
77043
77044 2012-03-15 David S. Miller <davem@davemloft.net>
77045
77046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77047 file.
77048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77050 file.
77051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77057 sysdep routines.
77058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77059
77060 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77061 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77062
77063 * sysdeps/sparc/sparc-ifunc.h: New file.
77064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77065 sparc-ifunc.h
77066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77068 Likewise.
77069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77070 Likewise.
77071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77075 Likewise.
77076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77081 Likewise.
77082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77083 Likewise.
77084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77108
77109 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
77110
77111 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77112 scaling.
77113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77114
77115 2012-03-15 Andreas Jaeger <aj@suse.de>
77116
77117 [BZ #13852]
77118 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77119 ieee754/flt-32 implementation for sin, cos and sincos.
77120 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77121 * sysdeps/i386/fpu/s_cosf.S: Likewise.
77122 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77123 * sysdeps/i386/fpu/s_sinf.S: Likewise.
77124 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77125 ieee754/flt-32 implementation for tan.
77126
77127 * math/libm-test.inc (cos_test): Enable some large input tests for
77128 float as well
77129 (sin_test): Likewise.
77130 (sincos_test): Likewise.
77131 (tan_test): Add tests for large input.
77132
77133 * sysdeps/i386/fpu/libm-test-ulps: Update.
77134
77135 2012-03-15 Andreas Jaeger <aj@suse.de>
77136
77137 [BZ #13658]
77138 * math/libm-test.inc (cos_test): Add more test cases.
77139 (sin_test): Likewise.
77140 (sincos_test): Likewise.
77141
77142 2012-03-15 Andreas Jaeger <aj@suse.de>
77143
77144 [BZ #13837]
77145 * math/libm-test.inc (cos_test): Add a test case for large input
77146 value.
77147 (sin_test): Likewise.
77148 (sincos_test): Likewise.
77149
77150 2012-03-15 Andreas Jaeger <aj@suse.de>
77151 Joseph Myers <joseph@codesourcery.com>
77152
77153 [BZ #13658]
77154 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77155 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77156 * sysdeps/i386/fpu/branred.c: Likewise.
77157 * sysdeps/i386/fpu/dosincos.c: Likewise.
77158 * sysdeps/i386/fpu/mpa.c: Likewise.
77159 * sysdeps/i386/fpu/s_cos.S: Likewise.
77160 * sysdeps/i386/fpu/s_sin.S: Likewise.
77161 * sysdeps/i386/fpu/s_sincos.S: Likewise.
77162 * sysdeps/i386/fpu/sincos32.c: Likewise.
77163
77164 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77165 Define.
77166 (libc_feupdateenv_53bit): Define.
77167 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77168 Define.
77169 (libc_feupdateenv_53bit): Define.
77170
77171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77172 53 bit (without extend i386 double precision).
77173
77174 * math/libm-test.inc (sincos_test): Add tests for large input.
77175 (sin): Likewise.
77176 (cos): Likewise.
77177
77178 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77179
77180 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
77181
77182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77183
77184 2012-03-15 David S. Miller <davem@davemloft.net>
77185
77186 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77187 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77188 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77189 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77202 file.
77203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77205 file.
77206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77208 file.
77209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77211 file.
77212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77214 fmin/fmax sysdep routines.
77215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77216
77217 2012-03-14 David S. Miller <davem@davemloft.net>
77218
77219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77248 routines.
77249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77250 file.
77251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77253 file.
77254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77256 file.
77257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77259 file.
77260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77262 file.
77263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77265 file.
77266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77267 file.
77268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77269 file.
77270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77271 file.
77272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77273 New file.
77274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77275 file.
77276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77277 file.
77278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77280 file.
77281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77283 file.
77284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77286 file.
77287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77289 VIS3 routines.
77290
77291 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77292 New file.
77293
77294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77295
77296 * sysdeps/sparc/configure.in: New file.
77297 * sysdeps/sparc/configure: Generate.
77298 * configure.in (libc_cv_sparc_as_vis3): Substitute.
77299 * configure: Regenerate.
77300 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77301 * config.make.in (have-as-vis3): New.
77302 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77303 available use -Av9d instead of -Av9a.
77304 * sysdeps/sparc/sparc64/Makefile: Likewise.
77305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77307 New file.
77308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77309 file.
77310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77311 New file.
77312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77313 file.
77314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77319
77320 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77321 fzeros/fnegs to load 0x80000000 into a float register instead of
77322 using the stack.
77323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77324
77325 2012-03-14 Joseph Myers <joseph@codesourcery.com>
77326
77327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77328 bits/syscall.h.
77329 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77330 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77331 ($(inst_includedir)/bits/syscall.h): Remove rule.
77332 ($(objpfx)bits/syscall.d): Include instead of
77333 $(objpfx)syscall-list.d.
77334 (generated): Change syscall-list.h and syscall-list.d to
77335 bits/syscall.h and bits/syscall.d.
77336
77337 2012-03-14 Roland McGrath <roland@hack.frob.com>
77338
77339 [BZ #13846]
77340 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77341
77342 2012-03-14 Joseph Myers <joseph@codesourcery.com>
77343
77344 [BZ #13841]
77345 * math/s_csqrt.c: Include <float.h>.
77346 (__csqrt): Scale large or subnormal inputs.
77347 * math/s_csqrtf.c: Likewise.
77348 * math/s_csqrtl.c: Likewise.
77349 * math/libm-test.inc (csqrt_test): Add more tests.
77350 * sysdeps/i386/fpu/libm-test-ulps: Update.
77351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77352
77353 [BZ #13840]
77354 * math/libm-test.inc (hypot_test): Add more tests.
77355
77356 2012-03-13 David S. Miller <davem@davemloft.net>
77357
77358 [BZ #13840]
77359 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77360 double-precision for the calculation instead of scaling.
77361
77362 2012-03-13 Joseph Myers <joseph@codesourcery.com>
77363
77364 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77365 manipulate bits before adding and subtracting TWO52[sx].
77366 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77368 Likewise.
77369 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77370
77371 2012-03-13 David S. Miller <davem@davemloft.net>
77372
77373 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77374 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
77376 rtld-global-offsets.h
77377 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77378
77379 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
77380 large parameters.
77381
77382 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
77383
77384 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
77385 'err' in the ifdef scope in which it is actually used.
77386
77387 * nss/nss_db/db-init.c: Include string.h
77388
77389 2012-03-12 David S. Miller <davem@davemloft.net>
77390
77391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77392 masking out of the most significant byte of random value used.
77393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77394 Fix coding style in previous change.
77395
77396 * sysdeps/unix/sysv/linux/kernel-features.h
77397 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
77398 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
77399 expression.
77400 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
77401 later.
77402
77403 2012-03-11 David S. Miller <davem@davemloft.net>
77404
77405 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
77406 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
77407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
77408 for 'resultvar' otherwise things get truncated on 64-bit.
77409
77410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77411 Fix masking out of the most significant byte of random value used.
77412
77413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77414
77415 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
77416
77417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77418
77419 2012-03-09 David S. Miller <davem@davemloft.net>
77420
77421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
77422 variables with appropriate CPP guards.
77423 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
77424 from the frame pointer, not the stack pointer. Correct layout
77425 comments. Fix test on resulting framesize and the management of
77426 the outregs buffer for pltexit. Preserve floating point return
77427 values across _dl_call_pltexit call.
77428 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
77429 framesize and the management of the outregs buffer for pltexit.
77430 Preserve floating point return values across _dl_call_pltexit
77431 call.
77432 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
77433 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
77434 (la_sparc64_gnu_pltexit): New functions.
77435 (print_exit): Fix format string for return register value.
77436
77437 2012-03-10 Joseph Myers <joseph@codesourcery.com>
77438
77439 * sunrpc/Makefile (others): Add rpcgen.
77440 ($(objpfx)rpcgen): Remove special build rule and dependency on
77441 libc.
77442 * sunrpc/rpcgen.c: New file.
77443
77444 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
77445
77446 [BZ #13673]
77447 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
77448 * stdio-common/bug-vfprintf-nargs.c: Likewise.
77449 * sysdeps/i386/crti.S: Likewise.
77450 * sysdeps/i386/crtn.S: Likewise.
77451 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
77452 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
77453 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
77454 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
77455 * sysdeps/sh/crti.S: Likewise.
77456 * sysdeps/sh/crtn.S: Likewise.
77457 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77458
77459 [BZ #13673]
77460 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
77461 with URL.
77462 * locale/programs/locfile-kw.gperf: Likewise.
77463 * locale/programs/charmap-kw.h: Regenerated.
77464 * locale/programs/locfile-kw.h: Likewise.
77465
77466 [BZ #13673]
77467 * intl/plural.y: Replace FSF snail mail address with URL.
77468 * intl/plural.c: Regenerated.
77469
77470 2012-03-09 Richard Henderson <rth@twiddle.net>
77471
77472 * include/math_private.h: Remove file.
77473 * math/math_private.h: Move file ...
77474 * sysdeps/generic/math_private.h: ... here.
77475
77476 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
77477 * sysdeps/powerpc/fpu/math_private.h: Likewise.
77478 * sysdeps/x86_64/fpu/math_private.h: Likewise.
77479
77480 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
77481 and <math_private.h>.
77482 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77483 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77484 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77485 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77486 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77487 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
77488 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77490 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77491 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77493 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77494 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77496 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77497 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77498 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77499 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77500 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77501 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77504 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77506 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
77507 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77508 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77509 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77512 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77514 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
77515 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77516 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77519 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77520 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77521 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77522 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
77523 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77524 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77525 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
77526 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
77527 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77528 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
77529 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
77530 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77531 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77532 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
77533 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
77534 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
77535 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77536 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
77537 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77539 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
77540 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
77541 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
77542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77543 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
77544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77545 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77546 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
77547 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77548 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77549 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77550 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
77551 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
77552 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
77553 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77554 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
77555 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77556 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
77557 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
77558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
77559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
77561 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
77562 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
77563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
77564 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
77565 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77566 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
77568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
77569 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
77570 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77571 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77572 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77573 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77575 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77576 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77577 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77579 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77582 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77583 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77584 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77585 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77586 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77587 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77588 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77589 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77590 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77592 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77593 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77594 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77595 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77596 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
77597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77598 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77599 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77600 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77601 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77602 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77603 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77604 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77605 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
77606 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77607 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77608 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77609 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
77610 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77611 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
77612 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
77613 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77614 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77615 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
77616 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
77617 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77618 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77619 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77620 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
77621 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77622 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77623 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77624 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77625 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
77626 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
77627 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77628 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77629 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77630 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
77631 * sysdeps/ieee754/k_standard.c: Likewise.
77632 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77633 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77634 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77635 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77636 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77637 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77638 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77639 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77640 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77641 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77642 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77643 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77644 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77645 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77646 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77647 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77648 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
77649 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77650 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77651 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
77652 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
77653 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
77654 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77655 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77656 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
77657 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
77658 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77659 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77660 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77661 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77662 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
77663 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77664 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77665 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
77667 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77668 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77669 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
77670 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
77671 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77672 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
77673 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
77674 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
77675 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77676 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
77677 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
77678 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77679 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77683 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
77684 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77685 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
77686 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77687 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77688 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
77689 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
77690 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77691 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77692 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77693 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
77694 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77696 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77697 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77698 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77700 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77701 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77704 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77705 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77706 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77708 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
77709 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77710 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77711 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
77712 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
77713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
77714 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
77717 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77718 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77719 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
77720 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
77723 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77724 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
77725 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
77726 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77727 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77728 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
77729 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
77730 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
77731 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
77732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77733 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77734 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77736 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
77737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77739 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
77740 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
77741 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77742 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77743 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77745 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77746 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77747 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77748 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77749 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77750 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77751 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77753 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77754 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77755 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77756 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77757 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
77758 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77759 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77760 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77761 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77762 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77763 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77764 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77765 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
77766 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77767 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77768 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
77769 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
77770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77771 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
77772 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
77773 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77774 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
77775 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
77776 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77778 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77781 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
77782 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77783 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77785 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77786 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
77787 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
77788 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77789 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77791 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
77792 * sysdeps/ieee754/s_lib_version.c: Likewise.
77793 * sysdeps/ieee754/s_matherr.c: Likewise.
77794 * sysdeps/ieee754/s_signgam.c: Likewise.
77795 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77796 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77797 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
77798 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
77799 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
77800 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77801 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
77802 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
77803 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
77804 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
77805 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
77806 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
77807 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77808 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77809 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
77810 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
77811 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
77812 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
77813 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
77814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77816
77817 2012-03-09 Joseph Myers <joseph@codesourcery.com>
77818
77819 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
77820 * sunrpc/rpc_main.c: Likewise.
77821 * sunrpc/rpc_svcout.c: Likewise.
77822
77823 2012-03-09 David S. Miller <davem@davemloft.net>
77824
77825 * include/math_private.h: New file.
77826
77827 2012-03-09 Joseph Myers <joseph@codesourcery.com>
77828
77829 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
77830 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
77831 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
77832 from <bits/socket_type.h>.
77833 (enum __socket_type): Don't define here.
77834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
77835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77836 bits/socket_type.h.
77837
77838 [BZ #13566]
77839 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
77840 checking __USE_GNU.
77841
77842 * Makerules ($(inst_includedir)/%.h): New rule.
77843 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
77844 (install-others): Remove variable setting.
77845 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
77846
77847 2012-03-08 Richard Henderson <rth@twiddle.net>
77848
77849 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
77850 from macro to inline function; merge with the
77851 !__LIBC_INTERNAL_MATH_INLINES version.
77852 (__ieee754_sqrtf): Likewise.
77853
77854 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
77855 to inline function.
77856 (__rintf, __floor, __floorf): Likewise.
77857
77858 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
77859 macro to inline function.
77860 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
77861
77862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
77863 not <math/math_private.h>.
77864
77865 2012-03-08 David S. Miller <davem@davemloft.net>
77866
77867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
77868 copyright year.
77869 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
77870
77871 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
77872
77873 * resolv/gai_misc.c (handle_requests): Fix struct timespec
77874 normalization.
77875 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
77876 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
77877
77878 2012-03-08 Ulrich Drepper <drepper@gmail.com>
77879
77880 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
77881 be defined individually, they must be defined as a block. Define
77882 S for printing a string instead of hidint the different by using a
77883 macro for adding the 'l'.
77884 * stdio-common/tst-fphex-wide.c: Adjust.
77885
77886 2012-03-07 Marek Polacek <polacek@redhat.com>
77887
77888 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
77889
77890 2012-03-08 Marek Polacek <polacek@redhat.com>
77891
77892 [BZ #13806]
77893 * stdio-common/Makefile (tests): Add tst-fphex-wide.
77894 * stdio-common/tst-fphex.c: Define a few macros to make the
77895 test reusable. Use them.
77896 * stdio-common/tst-fphex-wide.c: New file.
77897
77898 2012-03-08 Joseph Myers <joseph@codesourcery.com>
77899
77900 [BZ #6911]
77901 * manual/macros.texi (gnusystems): New macro.
77902 (nongnusystems): Likewise.
77903 (gnulinuxhurdsystems): Likewise.
77904 (gnuhurdsystems): Likewise..
77905 (gnulinuxsystems): Likewise.
77906 * manual/charset.texi: Use new macros or @theglibc{} to refer to
77907 variants of the GNU system, not "GNU system".
77908 * manual/conf.texi: Likewise.
77909 * manual/errno.texi: Likewise. Update example of errno macro
77910 expansion.
77911 * manual/filesys.texi: Likewise.
77912 (getumask): Document as specific to GNU/Hurd.
77913 * manual/install.texi: Likewise. Reword some references to
77914 GNU/Linux.
77915 * manual/intro.texi: Likewise.
77916 * manual/io.texi: Likewise.
77917 (File Name Portability): Detail which constraints are inapplicable
77918 to all GNU systems and which are only inapplicable to GNU/Hurd.
77919 * manual/job.texi: Likewise.
77920 * manual/llio.texi: Likewise.
77921 (O_NOCTTY): Document as present on GNU/Linux.
77922 * manual/maint.texi: Likewise.
77923 * manual/memory.texi: Likewise.
77924 * manual/pattern.texi: Likewise.
77925 * manual/pipe.texi: Likewise.
77926 * manual/process.texi: Likewise.
77927 * manual/resource.texi: Likewise.
77928 (RUSAGE_CHILDREN): Remove statement about specifying a particular
77929 child on GNU/Hurd.
77930 * manual/setjmp.texi: Likewise.
77931 * manual/signal.texi: Likewise.
77932 * manual/startup.texi: Likewise.
77933 * manual/stdio.texi: Likewise.
77934 * manual/terminal.texi: Likewise.
77935 (ONLCR): Document as POSIX.
77936 (OXTABS): Document availability on GNU/Linux as XTABS.
77937 (ONOEOT): Document availability separately from other bits.
77938 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
77939 * manual/time.texi: Likewise.
77940 * manual/users.texi: Likewise.
77941 * INSTALL: Regenerated.
77942 * sysdeps/gnu/errlist.c: Regenerated.
77943
77944 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
77945 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
77946 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
77947 puts.
77948 * configure: Regenerated.
77949
77950 2012-03-07 Joseph Myers <joseph@codesourcery.com>
77951
77952 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
77953 default includes instead of AC_HEADER_CHECK.
77954 * sysdeps/i386/configure: Regenerated.
77955
77956 [BZ #10716]
77957 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
77958 * math/s_cacoshf.c (__cacoshf): Likewise.
77959 * math/s_cacoshl.c (__cacoshl): Likewise.
77960 * math/s_casinh.c (__casinh): Set signs of result from argument.
77961 * math/s_casinhf.c (__casinhf): Likewise.
77962 * math/s_casinhl.c (__casinhl): Likewise.
77963 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
77964 (casinh_test): Add more tests.
77965 * sysdeps/i386/fpu/libm-test-ulps: Update.
77966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77967
77968 2012-03-07 Ulrich Drepper <drepper@gmail.com>
77969
77970 * po/zh_TW.po: Update from translation team.
77971
77972 * login/Makefile (distribute): Remove variable.
77973 * catgets/Makefile: Likewise.
77974 * mach/Makefile: Likewise.
77975 * malloc/Makefile: Likewise.
77976 * misc/Makefile: Likewise.
77977 * iconv/Makefile: Likewise.
77978 * nscd/Makefile: Likewise.
77979 * hurd/Makefile: Likewise.
77980 * manual/Makefile: Likewise.
77981 * locale/Makefile: Likewise.
77982 * intl/Makefile: Likewise.
77983 * conform/Makefile: Likewise.
77984 * nss/Makefile: Likewise.
77985 * time/Makefile: Likewise.
77986 * soft-fp/Makefile: Likewise.
77987 * dirent/Makefile: Likewise.
77988 * gmon/Makefile: Likewise.
77989 * po/Makefile: Likewise.
77990 * rt/Makefile: Likewise.
77991 * socket/Makefile: Likewise.
77992 * math/Makefile: Likewise.
77993 * signal/Makefile: Likewise.
77994 * debug/Makefile: Likewise.
77995 * elf/Makefile: Likewise.
77996 * timezone/Makefile: Likewise.
77997 * stdlib/Makefile: Likewise.
77998 * iconvdata/Makefile: Likewise.
77999 * sunrpc/Makefile: Likewise.
78000 * io/Makefile: Likewise.
78001 * argp/Makefile: Likewise.
78002 * inet/Makefile: Likewise.
78003 * hesiod/Makefile: Likewise.
78004 * grp/Makefile: Likewise.
78005 * csu/Makefile: Likewise.
78006 * wctype/Makefile: Likewise.
78007 * crypt/Makefile: Likewise.
78008 * libio/Makefile: Likewise.
78009 * string/Makefile: Likewise.
78010 * nis/Makefile: Likewise.
78011 * resolv/Makefile: Likewise.
78012 * stdio-common/Makefile: Likewise.
78013 * wcsmbs/Makefile: Likewise.
78014 * dlfcn/Makefile: Likewise.
78015 * posix/Makefile: Likewise.
78016
78017 [BZ #6959]
78018 * timezone/Makefile: Don't install timezone files, just the programs
78019 and scripts.
78020
78021 2012-03-06 Ulrich Drepper <drepper@gmail.com>
78022
78023 * nss/databases.def: Add missing gshadow entry.
78024
78025 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
78026
78027 2012-03-06 Marek Polacek <polacek@redhat.com>
78028
78029 [BZ #13726]
78030 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78031 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78032 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78033 * stdio-common/tst-long-dbl-fphex.c: New file.
78034
78035 2012-03-06 David S. Miller <davem@davemloft.net>
78036
78037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78038 (set_obp_int): New function.
78039 (get_obp_int): New function.
78040 (__get_clockfreq_via_dev_openprom): Likewise.
78041 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78042 Avoid unused variable warnings on 'val' and use builtin_expect.
78043 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78044 __builtin_expect.
78045 (INLINE_CLONE_SYSCALL): Likewise.
78046
78047 2012-03-05 David S. Miller <davem@davemloft.net>
78048
78049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78050
78051 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
78052
78053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78054
78055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78056 only for |x| >= 40.
78057 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78058
78059 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
78060
78061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78062 Replace gettimeofday with __vdso_gettimeofday.
78063
78064 * sysdeps/unix/sysv/linux/x86_64/init-first.c
78065 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78066 __vdso_clock_gettime and __vdso_getcpu.
78067
78068 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78069 time with __vdso_time.
78070
78071 2012-03-05 Joseph Myers <joseph@codesourcery.com>
78072
78073 * manual/lang.texi (size_t): Note types to which size_t may be
78074 equivalent with the GNU C Library, but do not describe when
78075 differences between them are significant.
78076
78077 2012-03-05 Andreas Jaeger <aj@suse.de>
78078
78079 * sysdeps/i386/fpu/libm-test-ulps: Update.
78080
78081 2012-03-05 Joseph Myers <joseph@codesourcery.com>
78082
78083 [BZ #3976]
78084 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78085 (__ieee754_pow): Save and restore rounding mode and use
78086 round-to-nearest for main computations.
78087 * math/libm-test.inc (pow_test_tonearest): New function.
78088 (pow_test_towardzero): Likewise.
78089 (pow_test_downward): Likewise.
78090 (pow_test_upward): Likewise.
78091 (main): Call the new functions.
78092 * sysdeps/i386/fpu/libm-test-ulps: Update.
78093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78094
78095 [BZ #3976]
78096 * math/libm-test.inc (cosh_test_tonearest): New function.
78097 (cosh_test_towardzero): Likewise.
78098 (cosh_test_downward): Likewise.
78099 (cosh_test_upward): Likewise.
78100 (sinh_test_tonearest): Likewise.
78101 (sinh_test_towardzero): Likewise.
78102 (sinh_test_downward): Likewise.
78103 (sinh_test_upward): Likewise.
78104 (main): Call the new functions.
78105 * sysdeps/i386/fpu/libm-test-ulps: Update.
78106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78107
78108 2012-03-05 Tom de Vries <tom@codesourcery.com>
78109
78110 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78111 default stack guard is set in last bytes.
78112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78113
78114 2012-03-05 Kees Cook <keescook@chromium.org>
78115
78116 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78117
78118 [BZ #13656]
78119 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78120 possibly allocate from heap instead of stack.
78121 * stdio-common/bug-vfprintf-nargs.c: New file.
78122 * stdio-common/Makefile (tests): Add nargs overflow test.
78123
78124 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
78125
78126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78127
78128 2012-03-03 Marek Polacek <polacek@redhat.com>
78129
78130 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78131 * math/math_private.h: Likewise.
78132 * stdlib/tst-strtod.c: Likewise.
78133 * sysdeps/i386/i486/bits/atomic.h: Likewise.
78134 * sysdeps/x86_64/bits/atomic.h: Likewise.
78135
78136 2012-03-02 David S. Miller <davem@davemloft.net>
78137
78138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78142 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78143 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78144 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78145 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78146
78147 2012-03-02 Roland McGrath <roland@hack.frob.com>
78148
78149 [BZ #13792]
78150 * manual/examples/README: New file, says the example source files
78151 can be used under GPL>=2.
78152 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78153 line containing just "*/".
78154 * manual/examples/add.c: Add copyright header (GPL>=2).
78155 * manual/examples/argp-ex1.c: Likewise.
78156 * manual/examples/argp-ex2.c: Likewise.
78157 * manual/examples/argp-ex3.c: Likewise.
78158 * manual/examples/argp-ex4.c: Likewise.
78159 * manual/examples/atexit.c: Likewise.
78160 * manual/examples/db.c: Likewise.
78161 * manual/examples/dir.c: Likewise.
78162 * manual/examples/dir2.c: Likewise.
78163 * manual/examples/execinfo.c: Likewise.
78164 * manual/examples/filecli.c: Likewise.
78165 * manual/examples/filesrv.c: Likewise.
78166 * manual/examples/fmtmsgexpl.c: Likewise.
78167 * manual/examples/genpass.c: Likewise.
78168 * manual/examples/inetcli.c: Likewise.
78169 * manual/examples/inetsrv.c: Likewise.
78170 * manual/examples/isockad.c: Likewise.
78171 * manual/examples/longopt.c: Likewise.
78172 * manual/examples/memopen.c: Likewise.
78173 * manual/examples/memstrm.c: Likewise.
78174 * manual/examples/mkfsock.c: Likewise.
78175 * manual/examples/mkisock.c: Likewise.
78176 * manual/examples/mygetpass.c: Likewise.
78177 * manual/examples/pipe.c: Likewise.
78178 * manual/examples/popen.c: Likewise.
78179 * manual/examples/rprintf.c: Likewise.
78180 * manual/examples/search.c: Likewise.
78181 * manual/examples/select.c: Likewise.
78182 * manual/examples/setjmp.c: Likewise.
78183 * manual/examples/sigh1.c: Likewise.
78184 * manual/examples/sigusr.c: Likewise.
78185 * manual/examples/stpcpy.c: Likewise.
78186 * manual/examples/strdupa.c: Likewise.
78187 * manual/examples/strftim.c: Likewise.
78188 * manual/examples/strncat.c: Likewise.
78189 * manual/examples/subopt.c: Likewise.
78190 * manual/examples/swapcontext.c: Likewise.
78191 * manual/examples/termios.c: Likewise.
78192 * manual/examples/testopt.c: Likewise.
78193 * manual/examples/testpass.c: Likewise.
78194 * manual/examples/timeval_subtract.c: Likewise.
78195
78196 [BZ #13792]
78197 * manual/time.texi (Elapsed Time): Move timeval_subtract example
78198 function to ...
78199 * manual/timeval_subtract.c.texi: ... here, new file.
78200
78201 2012-03-02 David S. Miller <davem@davemloft.net>
78202
78203 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78204
78205 2012-03-02 Joseph Myers <joseph@codesourcery.com>
78206
78207 [BZ #3976]
78208 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78209 (__sin): Save and restore rounding mode and use round-to-nearest
78210 for all computations.
78211 (__cos): Save and restore rounding mode and use round-to-nearest
78212 for all computations.
78213 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78214 <fenv.h>.
78215 (tan): Save and restore rounding mode and use round-to-nearest for
78216 all computations.
78217 * math/libm-test.inc (cos_test_tonearest): New function.
78218 (cos_test_towardzero): Likewise.
78219 (cos_test_downward): Likewise.
78220 (cos_test_upward): Likewise.
78221 (sin_test_tonearest): Likewise.
78222 (sin_test_towardzero): Likewise.
78223 (sin_test_downward): Likewise.
78224 (sin_test_upward): Likewise.
78225 (tan_test_tonearest): Likewise.
78226 (tan_test_towardzero): Likewise.
78227 (tan_test_downward): Likewise.
78228 (tan_test_upward): Likewise.
78229 (main): Call the new functions.
78230 * sysdeps/i386/fpu/libm-test-ulps: Update.
78231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78232
78233 [BZ #10135]
78234 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78235 small n, then large n, before computing and testing k+n.
78236 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78238 Likewise.
78239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78240 Likewise.
78241 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78242 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78247 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78248 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78249 * math/libm-test.inc (scalbn_test): Add more tests.
78250 (scalbln_test): Likewise.
78251
78252 * manual/filesys.texi (mode_t): Describe constraints on size and
78253 signedness, not exact equivalence to a particular type.
78254 (ino_t): Likewise.
78255 (ino64_t): Likewise.
78256 (dev_t): Likewise.
78257 (nlink_t): Likewise.
78258 (blkcnt_t): Likewise.
78259 (blkcnt64_t): Likewise.
78260 * manual/llio.texi (off_t): Likewise.
78261
78262 [BZ #3976]
78263 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78264 (__ieee754_exp): Save and restore rounding mode and use
78265 round-to-nearest for all computations.
78266 * math/libm-test.inc (exp_test_tonearest): New function.
78267 (exp_test_towardzero): Likewise.
78268 (exp_test_downward): Likewise.
78269 (exp_test_upward): Likewise.
78270 (main): Call the new functions.
78271 * sysdeps/i386/fpu/libm-test-ulps: Update.
78272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78273
78274 2012-03-01 Chris Demetriou <cgd@google.com>
78275
78276 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78277 have predictable order.
78278
78279 2012-03-01 David S. Miller <davem@davemloft.net>
78280
78281 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78282
78283 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78284 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78285 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78286 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78287
78288 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78289 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78290 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78292 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78293 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78294 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78295 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78296 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78297
78298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78299
78300 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78301 * sysdeps/sparc/fpu/libm-test-ulps: to here.
78302 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78303
78304 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78305 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78306 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78307 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78308 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78311 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78312 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78313 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78314 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78315 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78317 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78318 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78320 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78321 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78322 * sysdeps/sparc/elf/configure: Regenerated.
78323
78324 2012-03-01 Joseph Myers <joseph@codesourcery.com>
78325
78326 * configure.in (AS, LD): Require binutils 2.20 or later.
78327 * configure: Regenerated.
78328 * manual/install.texi (Tools for Compilation): Give binutils 2.20
78329 as required minimum version.
78330 * INSTALL: Regenerated.
78331
78332 [BZ #2541]
78333 [BZ #4108]
78334 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78335 before squaring exponent.
78336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78337 bottom long double and 27 bits of top long double before squaring
78338 exponent.
78339 * math/libm-test.inc (erfc_test): Add more tests.
78340 * sysdeps/i386/fpu/libm-test-ulps: Update.
78341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78343
78344 2012-03-01 Kai Tietz <ktietz@redhat.com>
78345
78346 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78347 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78348 containing bit-fields.
78349 * soft-fp/extended.h (_FP_UNION_E): Likewise.
78350 * soft-fp/single.h (_FP_UNION_S): Likewise.
78351 * soft-fp/double.h (_FP_UNION_D): Likewise.
78352
78353 2012-02-29 Joseph Myers <joseph@codesourcery.com>
78354
78355 [BZ #13786]
78356 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78357 not include ../strcmp.S.
78358 [USE_AS_STRNCASECMP_L]: Likewise.
78359 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78360 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78361 * sysdeps/i386/i686/multiarch/strncase_l-c.c
78362 (__strncasecmp_l_ia32): Define as alias to
78363 __strncasecmp_l_nonascii.
78364
78365 [BZ #5794]
78366 * math/libm-test.inc (expm1_test): Add test for bug 5794.
78367 * sysdeps/i386/fpu/libm-test-ulps: Update.
78368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78369
78370 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78372
78373 2012-02-29 Jeff Law <law@redhat.com>
78374
78375 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
78376 out of bounds read.
78377
78378 2012-02-29 Marek Polacek <polacek@redhat.com>
78379
78380 [BZ #13706]
78381 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
78382 * elf/Makefile: Add rules to run tst-unused-dep.out.
78383
78384 2012-02-28 David S. Miller <davem@davemloft.net>
78385
78386 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
78387 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
78388 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
78389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
78390 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
78391 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
78392
78393 2012-02-29 Joseph Myers <joseph@codesourcery.com>
78394
78395 * math/libm-test.inc (llround_test): Move one test from
78396 lround_test. Use TEST_f_L in moved test.
78397 (lround_test): Move misplaced test to llround_test. Add testcase
78398 from bug 2561.
78399
78400 2012-02-28 Ulrich Drepper <drepper@gmail.com>
78401
78402 * sysdeps/x86_64/fpu/e_expf.S: New file.
78403 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
78404
78405 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
78406
78407 [BZ #13637]
78408 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
78409 of remain_len that may cause incomplete multi-byte character and
78410 false match.
78411 * posix/bug-regex33.c: New file.
78412 * posix/Makefile (tests): Add bug-regex33.
78413
78414 2012-02-28 Joseph Myers <joseph@codesourcery.com>
78415
78416 * manual/macros.texi: New file.
78417 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
78418 * manual/libc.texinfo: Include macros.texi.
78419 * manual/creatute.texi: Likewise.
78420 * manual/install.texi: Likewise.
78421 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
78422 @glibcadj{} in references to the GNU C Library.
78423 * manual/charset.texi: Likewise.
78424 * manual/conf.texi: Likewise.
78425 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
78426 when not using those macros.
78427 * manual/creature.texi: Likewise.
78428 * manual/crypt.texi: Likewise.
78429 * manual/errno.texi: Likewise.
78430 * manual/filesys.texi: Likewise.
78431 * manual/header.texi: Likewise.
78432 * manual/install.texi: Likewise.
78433 * manual/intro.texi: Likewise.
78434 * manual/io.texi: Likewise.
78435 * manual/job.texi: Likewise.
78436 * manual/lang.texi: Likewise.
78437 * manual/libc.texiinfo: Likewise.
78438 * manual/llio.texi: Likewise.
78439 * manual/locale.texi: Likewise.
78440 * manual/maint.texi: Likewise.
78441 * manual/math.texi: Likewise.
78442 * manual/memory.texi: Likewise.
78443 * manual/message.texi: Likewise.
78444 * manual/nss.texi: Likewise.
78445 * manual/pattern.texi: Likewise.
78446 * manual/process.texi: Likewise.
78447 * manual/resource.texi: Likewise.
78448 * manual/search.texi: Likewise.
78449 * manual/setjmp.texi: Likewise.
78450 * manual/signal.texi: Likewise.
78451 * manual/socket.texi: Likewise.
78452 * manual/startup.texi: Likewise.
78453 * manual/stdio.texi: Likewise.
78454 * manual/string.texi: Likewise.
78455 * manual/sysinfo.texi: Likewise.
78456 * manual/syslog.texi: Likewise.
78457 * manual/terminal.texi: Likewise.
78458 * manual/time.texi: Likewise.
78459 * manual/users.texi: Likewise.
78460 * INSTALL: Regenerated.
78461 * NOTES: Regenerated.
78462 * sysdeps/gnu/errlist.c: Regenerated.
78463
78464 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
78465
78466 * include/dirent.h: Include <dirstream.h> before
78467 <dirent/dirent.h>.
78468
78469 2012-02-28 David S. Miller <davem@davemloft.net>
78470
78471 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
78472 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
78473 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
78474 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
78475
78476 2012-02-27 David S. Miller <davem@davemloft.net>
78477
78478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
78479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
78480 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
78481 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
78482
78483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
78484 frame pointer instead of stack pointer relative arg slot.
78485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78486 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78487 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78488
78489 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
78490
78491 [BZ #3992]
78492 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
78493
78494 2012-02-27 David S. Miller <davem@davemloft.net>
78495
78496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
78497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
78500 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78501 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78502 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
78503 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
78504
78505 2012-02-27 Joseph Myers <joseph@codesourcery.com>
78506
78507 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
78508 later. Allow versions 5-9.
78509 * configure: Regenerated.
78510 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
78511 required minimum version and 4.6 as recommended version. Do not
78512 mention bugs in GCC 2.7 and 2.8.
78513 * INSTALL: Regenerated.
78514
78515 2012-02-27 David S. Miller <davem@davemloft.net>
78516
78517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
78518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
78519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
78520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
78521 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
78522 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
78523 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
78524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
78525
78526 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
78527 manipulate bits before adding and subtracting TWO112[sx].
78528 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
78529
78530 2012-02-27 Roland McGrath <roland@hack.frob.com>
78531
78532 [BZ #13775]
78533 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
78534 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
78535 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
78536 being in POSIX, because they are in 1003.1-2008.
78537
78538 * rt/tst-aio.c: Include <fcntl.h>.
78539 * rt/tst-aio7.c: Likewise.
78540 * rt/tst-aio64.c: Likewise.
78541
78542 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
78543
78544 2012-02-27 Joseph Myers <joseph@codesourcery.com>
78545
78546 * manual/install.texi (--with-headers): Describe headers as
78547 interface headers, not private headers.
78548 (Specific advice for GNU/Linux systems): Describe use of headers
78549 from "make headers_install", not private headers from older
78550 kernels.
78551 * INSTALL: Regenerated.
78552 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
78553 Change to 2.6.19.
78554 * sysdeps/unix/sysv/linux/configure: Regenerated.
78555
78556 * manual/llio.texi (fclean): Remove documentation.
78557
78558 * manual/Makefile (libc-texi-generated): New variable. Include
78559 version.texi.
78560 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
78561 $(libc-texi-generated), not duplicated list of files.
78562 (version.texi, stamp-version): New rules.
78563 (realclean): Remove $(libc-texi-generated), not individual files
78564 from that list. Do not remove dir-add.texinfo.
78565 * manual/libc.texinfo: Comment out uses of edition numbers and
78566 references to printed manual. Remove last-updated dates.
78567 (EDITION): Comment out.
78568 (ISBN): Likewise.
78569 (VERSION, UPDATED): Remove.
78570 (version.texi): Include.
78571
78572 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
78573
78574 * sysdeps/posix/spawni.c: Include <signal.h>.
78575 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
78576 * sysdeps/pthread/aio_fsync.c: Likewise.
78577
78578 2012-02-26 Ulrich Drepper <drepper@gmail.com>
78579
78580 * conform/Makefile (tests): Run only when not cross-compiling and
78581 when fast-check is not defined.
78582
78583 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
78584 * conform/data/limits.h-data: Fixes for POSIX2008.
78585 * conform/run-conformtest.sh: Run all tests.
78586 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
78587 headers.
78588 * include/bits/dlfcn.h: Likewise.
78589 * include/langinfo.h: Likewise.
78590 * include/monetary.h: Likewise.
78591 * include/sys/poll.h: Likewise.
78592
78593 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
78594 for __USE_GNU.
78595 * posix/spawn.h: Define __need_sigset_t.
78596 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
78597 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
78598 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
78599 to get sigevent_t only.
78600 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
78601 only for __USE_GNU.
78602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78603 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78604 process_vm_writev only for __USE_GNU.
78605 * termios/termios.h: Declare tcgetsid also for POSIX2008.
78606
78607 * conform/Makefile: For now ignore errors from run-conformtest.
78608 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
78609 POSIX to avoid namespace pollution. Don't prepend headers.
78610 * conform/data/aio.h-data: Fixes for POSIX testing.
78611 * conform/data/fcntl.h-data: Likewise.
78612 * conform/data/glob.h-data: Likewise.
78613 * conform/data/grp.h-data: Likewise.
78614 * conform/data/pthread.h-data: Likewise.
78615 * conform/data/pwd.h-data: Likewise.
78616 * conform/data/signal.h-data: Likewise.
78617 * conform/data/spawn.h-data: Likewise.
78618 * conform/data/stdio.h-data: Likewise.
78619 * conform/data/stdlib.h-data: Likewise.
78620 * conform/data/stropts.h-data: Likewise.
78621 * conform/data/sys/mman.h-data: Likewise.
78622 * conform/data/sys/stat.h-data: Likewise.
78623 * conform/data/sys/types.h-data: Likewise.
78624 * conform/data/sys/wait.h-data: Likewise.
78625 * conform/data/time.h-data: Likewise.
78626 * conform/data/unistd.h-data: Likewise.
78627 * conform/data/utime.h-data: Likewise.
78628
78629 * io/sys/stat.h: fchmod was always in POSIX.
78630 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
78631 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
78632 * rt/aio.h: Define __need_timespec before including <time.h>.
78633 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
78634 struct. Add forward declaration of pthread_attr_t and use it in
78635 sigevent.
78636 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78637 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78638 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
78639 always remove CLK_TCK definition.
78640
78641 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
78642
78643 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
78644
78645 2012-02-25 Ulrich Drepper <drepper@gmail.com>
78646
78647 * conform/run-conformtest.sh: New file.
78648 * conform/Makefile: Run run-conformtest for tests.
78649 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
78650 support.
78651
78652 * conform/data/uchar.h-data: New file.
78653 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
78654 * conform/data/arpa/inet.h-data: Likewise.
78655 * conform/data/assert.h-data: Likewise.
78656 * conform/data/complex.h-data: Likewise.
78657 * conform/data/cpio.h-data: Likewise.
78658 * conform/data/ctype.h-data: Likewise.
78659 * conform/data/dirent.h-data: Likewise.
78660 * conform/data/dlfcn.h-data: Likewise.
78661 * conform/data/errno.h-data: Likewise.
78662 * conform/data/fcntl.h-data: Likewise.
78663 * conform/data/float.h-data: Likewise.
78664 * conform/data/fmtmsg.h-data: Likewise.
78665 * conform/data/fnmatch.h-data: Likewise.
78666 * conform/data/ftw.h-data: Likewise.
78667 * conform/data/glob.h-data: Likewise.
78668 * conform/data/grp.h-data: Likewise.
78669 * conform/data/iconv.h-data: Likewise.
78670 * conform/data/inttypes.h-data: Likewise.
78671 * conform/data/langinfo.h-data: Likewise.
78672 * conform/data/libgen.h-data: Likewise.
78673 * conform/data/limits.h-data: Likewise.
78674 * conform/data/locale.h-data: Likewise.
78675 * conform/data/math.h-data: Likewise.
78676 * conform/data/monetary.h-data: Likewise.
78677 * conform/data/mqueue.h-data: Likewise.
78678 * conform/data/ndbm.h-data: Likewise.
78679 * conform/data/net/if.h-data: Likewise.
78680 * conform/data/netdb.h-data: Likewise.
78681 * conform/data/netinet/in.h-data: Likewise.
78682 * conform/data/nl_types.h-data: Likewise.
78683 * conform/data/poll.h-data: Likewise.
78684 * conform/data/pthread.h-data: Likewise.
78685 * conform/data/pwd.h-data: Likewise.
78686 * conform/data/regex.h-data: Likewise.
78687 * conform/data/sched.h-data: Likewise.
78688 * conform/data/search.h-data: Likewise.
78689 * conform/data/semaphore.h-data: Likewise.
78690 * conform/data/setjmp.h-data: Likewise.
78691 * conform/data/signal.h-data: Likewise.
78692 * conform/data/spawn.h-data: Likewise.
78693 * conform/data/stdarg.h-data: Likewise.
78694 * conform/data/stdio.h-data: Likewise.
78695 * conform/data/stdlib.h-data: Likewise.
78696 * conform/data/string.h-data: Likewise.
78697 * conform/data/strings.h-data: Likewise.
78698 * conform/data/stropts.h-data: Likewise.
78699 * conform/data/sys/ipc.h-data: Likewise.
78700 * conform/data/sys/mman.h-data: Likewise.
78701 * conform/data/sys/msg.h-data: Likewise.
78702 * conform/data/sys/resource.h-data: Likewise.
78703 * conform/data/sys/select.h-data: Likewise.
78704 * conform/data/sys/sem.h-data: Likewise.
78705 * conform/data/sys/shm.h-data: Likewise.
78706 * conform/data/sys/socket.h-data: Likewise.
78707 * conform/data/sys/stat.h-data: Likewise.
78708 * conform/data/sys/statvfs.h-data: Likewise.
78709 * conform/data/sys/time.h-data: Likewise.
78710 * conform/data/sys/timeb.h-data: Likewise.
78711 * conform/data/sys/times.h-data: Likewise.
78712 * conform/data/sys/types.h-data: Likewise.
78713 * conform/data/sys/uio.h-data: Likewise.
78714 * conform/data/sys/un.h-data: Likewise.
78715 * conform/data/sys/utsname.h-data: Likewise.
78716 * conform/data/sys/wait.h-data: Likewise.
78717 * conform/data/syslog.h-data: Likewise.
78718 * conform/data/tar.h-data: Likewise.
78719 * conform/data/termios.h-data: Likewise.
78720 * conform/data/utime.h-data: Likewise.
78721 * conform/data/utmpx.h-data: Likewise.
78722 * conform/data/varargs.h-data: Likewise.
78723 * conform/data/wchar.h-data: Likewise.
78724 * conform/data/wctype.h-data: Likewise.
78725 * conform/data/wordexp.h-data: Likewise.
78726
78727 * include/stropts.h: New file.
78728 * include/uchar.h: New file.
78729 * include/aio.h: Changes to allow conformtest.pl to use the headers.
78730 * include/assert.h: Likewise.
78731 * include/ctype.h: Likewise.
78732 * include/dirent.h: Likewise.
78733 * include/dlfcn.h: Likewise.
78734 * include/fcntl.h: Likewise.
78735 * include/fnmatch.h: Likewise.
78736 * include/glob.h: Likewise.
78737 * include/grp.h: Likewise.
78738 * include/libio.h: Likewise.
78739 * include/locale.h: Likewise.
78740 * include/math.h: Likewise.
78741 * include/net/if.h: Likewise.
78742 * include/netdb.h: Likewise.
78743 * include/netinet/in.h: Likewise.
78744 * include/pthread.h: Likewise.
78745 * include/pwd.h: Likewise.
78746 * include/regex.h: Likewise.
78747 * include/sched.h: Likewise.
78748 * include/search.h: Likewise.
78749 * include/setjmp.h: Likewise.
78750 * include/signal.h: Likewise.
78751 * include/stdio.h: Likewise.
78752 * include/stdlib.h: Likewise.
78753 * include/string.h: Likewise.
78754 * include/sys/cdefs.h: Likewise.
78755 * include/sys/mman.h: Likewise.
78756 * include/sys/msg.h: Likewise.
78757 * include/sys/resource.h: Likewise.
78758 * include/sys/select.h: Likewise.
78759 * include/sys/socket.h: Likewise.
78760 * include/sys/stat.h: Likewise.
78761 * include/sys/statvfs.h: Likewise.
78762 * include/sys/time.h: Likewise.
78763 * include/sys/times.h: Likewise.
78764 * include/sys/uio.h: Likewise.
78765 * include/sys/utsname.h: Likewise.
78766 * include/sys/wait.h: Likewise.
78767 * include/termios.h: Likewise.
78768 * include/time.h: Likewise.
78769 * include/ulimit.h: Likewise.
78770 * include/unistd.h: Likewise.
78771 * include/utime.h: Likewise.
78772 * include/wchar.h: Likewise.
78773 * include/wctype.h: Likewise.
78774 * include/wordexp.h: Likewise.
78775
78776 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
78777
78778 * time/time.h: TIME_UTC must be a macro.
78779 Make timespec_get available for ISO C11 only as well.
78780
78781 2012-02-24 Ulrich Drepper <drepper@gmail.com>
78782
78783 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
78784 Reported by Peng Haitao <penght@cn.fujitsu.com>.
78785
78786 2012-02-24 Joseph Myers <joseph@codesourcery.com>
78787
78788 * configure.in: Use -o not -a in test for unsupported multi-arch.
78789
78790 2012-02-24 Joseph Myers <joseph@codesourcery.com>
78791
78792 * manual/texinfo.tex: Update to version 2012-01-19.16.
78793
78794 2012-02-24 Joseph Myers <joseph@codesourcery.com>
78795
78796 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
78797
78798 2012-02-24 Roland McGrath <roland@hack.frob.com>
78799
78800 [BZ #13738]
78801 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
78802 * manual/fdl-1.3.texi: New file.
78803 * manual/fdl-1.1.texi: File removed.
78804
78805 [BZ #13738]
78806 * manual/libc.texinfo (FDL_VERSION): New @set.
78807 Use it for mention of FDL in cover text.
78808 (Documentation License): Use it in @include file name.
78809
78810 2012-02-22 Joseph Myers <joseph@codesourcery.com>
78811 Roland McGrath <roland@hack.frob.com>
78812
78813 [BZ #5461]
78814 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
78815 (not LONG_LONG_MAX and LONG_LONG_MIN.
78816 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
78817 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
78818 name.
78819 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
78820
78821 2012-02-22 Joseph Myers <joseph@codesourcery.com>
78822
78823 [BZ #2547]
78824 [BZ #11365]
78825 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
78826 manipulate bits before adding and subtracting TWO23[sx].
78827 * math/libm-test.inc (nearbyint_test): Add more tests.
78828
78829 2012-02-22 Joseph Myers <joseph@codesourcery.com>
78830
78831 [BZ #2548]
78832 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
78833 bits before adding and subtracting TWO23[sx].
78834 * math/libm-test.inc (rint_test): Add more tests.
78835 (rint_test_tonearest): Likewise.
78836 (rint_test_towardzero): Likewise.
78837 (rint_test_downward): Likewise.
78838 (rint_test_upward: Likewise.
78839
78840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
78841
78842 [BZ #10110]
78843 * include/stdc-predef.h: New file. Extracted from features.h.
78844 * include/features.h: Include stdc-predef.h.
78845 * Makefile (headers): Add stdc-predef.h.
78846 * CONFORMANCE (Compiler limitations): Update.
78847
78848 2012-02-22 Joseph Myers <joseph@codesourcery.com>
78849
78850 * manual/libc.texinfo (VERSION, UPDATED): Revert.
78851
78852 2012-02-21 David S. Miller <davem@davemloft.net>
78853
78854 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
78855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78856
78857 2012-02-20 David S. Miller <davem@davemloft.net>
78858
78859 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
78860 using a normal save/restore sequence, rather than allocating a
78861 dummy stack frame just to store a frame pointer and restore.
78862 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78863
78864 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78865
78866 * manual/install.texi: Fix stray word in line-wrapped comment.
78867
78868 2012-02-20 David S. Miller <davem@davemloft.net>
78869
78870 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
78871 both binutils and gcc support GOTDATA.
78872
78873 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
78874 "rd %pc" in the PIC register setup sequences.
78875
78876 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
78877 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
78878 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78879 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
78880 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78882 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
78885 (SYSCALL_ERROR_HANDLER): Likewise.
78886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78887 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
78889 (SYSCALL_ERROR_HANDLER): Likewise.
78890
78891 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
78892 (HAVE_GCC_GOTDATA): New.
78893 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
78894 relocation support in both binutils and gcc.
78895 * sysdeps/sparc/elf/configure: Regenerate.
78896
78897 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
78898 * sysdeps/sparc/sparc32/elf/configure: Delete.
78899 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
78900 * sysdeps/sparc/sparc64/elf/configure: Delete.
78901 * sysdeps/sparc/elf/configure.in: New file.
78902 * sysdeps/sparc/elf/configure: Generate.
78903
78904 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
78905 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
78906 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78907 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
78908 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
78909
78910 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78911
78912 * manual/install.texi: Do not mention specific glibc version
78913 numbers.
78914 * manual/libc.texinfo (VERSION, UPDATED): Update.
78915 (@copying): Use @copyright{} and range of years.
78916
78917 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78918
78919 [BZ #13695]
78920 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
78921 [crti.S not in sysdirs] (generated): Do not append.
78922 [crti.S not in sysdirs] (omit-deps): Likewise.
78923 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
78924 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
78925 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
78926 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
78927 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
78928 Likewise.
78929 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
78930 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
78931 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
78932 * csu/defs.awk: Remove file.
78933 * sysdeps/generic/initfini.c: Likewise.
78934 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
78935 variable.
78936 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
78937 Likewise.
78938
78939 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78940
78941 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
78942 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
78943 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
78944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
78945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78946 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
78947 <bits/epoll.h>.
78948 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
78949 (__EPOLL_PACKED): Define to empty if not defined by
78950 <bits/epoll.h>.
78951 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
78952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78953 bits/epoll.h.
78954
78955 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78956
78957 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
78958 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
78959 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
78960 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
78961 <bits/timerfd.h>.
78962 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
78963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78964 bits/timerfd.h.
78965
78966 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78967
78968 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
78969 in C locale.
78970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78971 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
78972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
78973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78974
78975 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
78976
78977 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78978 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78979
78980 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
78981
78982 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
78983 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
78984 defined.
78985 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
78986 Likewise.
78987 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
78988 entry for 2.16.
78989
78990 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
78991
78992 * math/w_acos.c: Use non-signaling floating-point comparisons.
78993 * math/w_acosf.c: Likewise.
78994 * math/w_acosh.c: Likewise.
78995 * math/w_acoshf.c: Likewise.
78996 * math/w_acoshl.c: Likewise.
78997 * math/w_acosl.c: Likewise.
78998 * math/w_asin.c: Likewise.
78999 * math/w_asinf.c: Likewise.
79000 * math/w_asinl.c: Likewise.
79001 * math/w_atanh.c: Likewise.
79002 * math/w_atanhf.c: Likewise.
79003 * math/w_atanhl.c: Likewise.
79004 * math/w_exp2.c: Likewise.
79005 * math/w_exp2f.c: Likewise.
79006 * math/w_exp2l.c: Likewise.
79007 * math/w_j0.c: Likewise.
79008 * math/w_j0f.c: Likewise.
79009 * math/w_j0l.c: Likewise.
79010 * math/w_j1.c: Likewise.
79011 * math/w_j1f.c: Likewise.
79012 * math/w_j1l.c: Likewise.
79013 * math/w_jn.c: Likewise.
79014 * math/w_jnf.c: Likewise.
79015 * math/w_log.c: Likewise.
79016 * math/w_log10.c: Likewise.
79017 * math/w_log10f.c: Likewise.
79018 * math/w_log10l.c: Likewise.
79019 * math/w_log2.c: Likewise.
79020 * math/w_log2f.c: Likewise.
79021 * math/w_log2l.c: Likewise.
79022 * math/w_logf.c: Likewise.
79023 * math/w_logl.c: Likewise.
79024 * math/w_sqrt.c: Likewise.
79025 * math/w_sqrtf.c: Likewise.
79026 * math/w_sqrtl.c: Likewise.
79027 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79028 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79029 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79032
79033 2012-02-19 Joseph Myers <joseph@codesourcery.com>
79034
79035 [BZ #9739]
79036 * manual/string.texi (strnlen): Use correct parameter name in
79037 equivalent expression.
79038
79039 2012-02-19 Joseph Myers <joseph@codesourcery.com>
79040
79041 [BZ #11174]
79042 * manual/users.texi (seteuid): Consistently use neweuid for
79043 argument name.
79044
79045 2012-02-19 Joseph Myers <joseph@codesourcery.com>
79046
79047 [BZ #13704]
79048 * manual/nss.texi (Services in the NSS configuration): Correct
79049 list of services in example configuration file.
79050
79051 2012-02-19 Nick Bowler <nbowler@draconx.ca>
79052
79053 [BZ #11322]
79054 * manual/arith.texi: Remove statements about negative zero
79055 behaving identically to zero.
79056
79057 2012-02-18 Joseph Myers <joseph@codesourcery.com>
79058
79059 [BZ #5993]
79060 * manual/install.texi: Do not document upgrading from libc5.
79061
79062 2012-02-18 Joseph Myers <joseph@codesourcery.com>
79063
79064 [BZ #4596]
79065 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79066
79067 2012-02-18 David S. Miller <davem@davemloft.net>
79068
79069 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79070 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79071 %o7 across the call.
79072 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79073 instead.
79074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79075 SETUP_PIC_REG_LEAF.
79076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79077 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79078 * sysdeps/sparc/crtn.S: Likewise.
79079
79080 2012-02-17 Ulrich Drepper <drepper@gmail.com>
79081
79082 * aout/Makefile: Remove.
79083
79084 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
79085
79086 [BZ #13058]
79087 * manual/examples/argp-ex1.c (main): Format definition in GNU
79088 style.
79089 * manual/examples/argp-ex2.c (main): Likewise.
79090 * manual/examples/argp-ex3.c (main): Likewise.
79091 * manual/examples/argp-ex4.c (main): Likewise.
79092 * manual/examples/longopt.c (main): Use new-style prototype
79093 definition.
79094 * manual/examples/strncat.c (main): Specify return type and use
79095 (void) for arguments.
79096 * manual/examples/subopt.c (main): Use char **argv argument.
79097
79098 2012-02-17 Joseph Myers <joseph@codesourcery.com>
79099
79100 [BZ #5077]
79101 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79102 rounding modes.
79103
79104 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
79105
79106 [BZ #6907]
79107 * manual/string.texi (strchr): Change when strchrnul is
79108 recommended.
79109
79110 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
79111
79112 [BZ #174]
79113 * manual/locale.texi (setlocale): Document LOCPATH.
79114
79115 2012-02-17 Joseph Myers <joseph@codesourcery.com>
79116
79117 [BZ #10210]
79118 * manual/process.texi (execle): Move @dots{} before last argument.
79119
79120 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
79121
79122 [BZ #12047]
79123 * manual/charset.texi (Generic Charset Conversion): Fix typo
79124 (LC_TYPE -> LC_CTYPE).
79125
79126 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
79127
79128 [BZ #5805]
79129 * manual/arith.texi (scalbn): Use @var{} on parameter names.
79130 (scalbnf): Likewise.
79131 (scalbnl): Likewise.
79132 (scalbln): Likewise.
79133 (scalblnf): Likewise.
79134 (scalblnl): Likewise.
79135 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79136 (vwarnx): Likewise.
79137 (verr): Likewise.
79138 (verrx): Likewise.
79139 * manual/filesys.texi (telldir): Use braces around return type.
79140 * manual/llio.texi (mmap): Add space after comma.
79141 (mmap64): Likewise.
79142 * manual/math.texi (jn): Use @var{} on parameter names.
79143 (jnf): Likewise.
79144 (jnl): Likewise.
79145 (yn): Likewise.
79146 (ynf): Likewise.
79147 (ynl): Likewise.
79148 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79149 line.
79150 * manual/resource.texi (ulimit): Use @dots{} instead of literal
79151 "...".
79152 (sched_get_priority_min): Remove semicolon on @deftypefun line.
79153 (sched_get_priority_max): Likewise.
79154 * manual/signal.texi (sigvec): Add space after comma.
79155 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79156 names.
79157 (if_indextoname): Likewise.
79158 (if_freenameindex): Likewise.
79159 (sendto): Use ',' instead of '.' in prototype.
79160 * manual/startup.texi (syscall): Use @dots{} instead of literal
79161 "...".
79162 * manual/stdio.texi (__fpending): Separate initial words of
79163 paragraph from @deftypefun line.
79164 * manual/syslog.texi (syslog): Use @dots{} instead of literal
79165 "...".
79166 (vsyslog): Use @var{} on parameter names.
79167 * manual/terminal.texi (stty): Use @var{} on parameter names.
79168 * manual/users.texi (getutmp): Use @var{} on parameter names.
79169 (getutmpx): Likewise.
79170
79171 2012-02-17 Joseph Myers <joseph@codesourcery.com>
79172
79173 [BZ #6884]
79174 * manual/stdio.texi (fopen): Fix typos in description of
79175 ",ccs=STRING".
79176
79177 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
79178
79179 [BZ #4026]
79180 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79181 get clock_id definition.
79182
79183 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
79184
79185 [BZ #4822]
79186 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79187 (madvise): Cast every argument to void on its own.
79188
79189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
79190
79191 [BZ #9902]
79192 * manual/startup.texi (Exit Status): Fix typo.
79193
79194 2012-02-17 Joseph Myers <joseph@codesourcery.com>
79195
79196 [BZ #10140]
79197 * manual/examples/argp-ex1.c: Include <stdlib.h>.
79198 * manual/examples/argp-ex2.c: Likewise.
79199 * manual/examples/argp-ex3.c: Likewise.
79200
79201 2012-02-16 Richard Henderson <rth@redhat.com>
79202
79203 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79204 * sysdeps/s390/s390-32/initfini.c: Remove.
79205 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79206 * sysdeps/s390/s390-64/initfini.c: Remove.
79207
79208 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79209
79210 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79211 compiler output for sysdeps/generic/initfini.c.
79212 * sysdeps/sh/elf/initfini.c: Remove file.
79213
79214 2012-02-16 David S. Miller <davem@davemloft.net>
79215
79216 [BZ #11494]
79217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79218
79219 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79220 * sysdeps/sparc/crti.S: New file.
79221 * sysdeps/sparc/crtn.S: New file.
79222 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79223 * sysdeps/sparc/sparc64/Makefile: Likewise.
79224
79225 2012-02-15 Mike Frysinger <vapier@gentoo.org>
79226
79227 [BZ #3335]
79228 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79229
79230 2012-02-15 Roland McGrath <roland@hack.frob.com>
79231
79232 [BZ #4822]
79233 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79234
79235 * mach/devstream.c (cookie_io_functions_t): Macro removed.
79236 (write, read, close): Likewise.
79237 Patch by Aurelien Jarno <aurelien@aurel32.net>.
79238
79239 2012-02-15 Joseph Myers <joseph@codesourcery.com>
79240
79241 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79242 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79243 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79244 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79245 <bits/signalfd.h>.
79246 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79248 bits/signalfd.h.
79249
79250 2012-02-14 Marek Polacek <polacek@redhat.com>
79251
79252 * sysdeps/x86_64/crti.S: New file.
79253 * sysdeps/x86_64/crtn.S: New file.
79254 * sysdeps/x86_64/elf/initfini.c: Remove file.
79255
79256 2012-02-13 Joseph Myers <joseph@codesourcery.com>
79257
79258 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79259 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79260 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79261 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79262 <bits/inotify.h>.
79263 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79265 bits/inotify.h.
79266
79267 2012-02-13 Joseph Myers <joseph@codesourcery.com>
79268
79269 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79270 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79271 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79272 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79273 <bits/eventfd.h>.
79274 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79276 bits/eventfd.h.
79277
79278 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
79279
79280 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79281 __feraiseexcept instead of feraiseexcept.
79282
79283 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79284 nanosleep invocations.
79285 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79286 strings, and add error checking for a nanosleep invocations.
79287
79288 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
79289
79290 Replace FSF snail mail address with URLs, as per GNU coding standards.
79291 Most of the snail mail addresses were wrong anyway, and omitting
79292 them makes the source code easier to maintain. Almost all of the
79293 changes are to license notices and to locale LC_IDENTIFICATION
79294 addresses, except for this one:
79295 * manual/libc.texinfo: In "Published by", give the FSF's URL,
79296 not its snail mail address.
79297
79298 2012-02-09 Richard Henderson <rth@twiddle.net>
79299
79300 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79301 of kernel-features.h.
79302
79303 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79304
79305 2012-02-08 Marek Polacek <polacek@redhat.com>
79306
79307 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79308 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79309 * sysdeps/gnu/_G_config.h: Likewise.
79310 * sysdeps/generic/_G_config.h: Likewise.
79311
79312 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
79313
79314 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79315 tests.
79316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79317
79318 * sysdeps/powerpc/powerpc32/crti.S: New file.
79319 * sysdeps/powerpc/powerpc32/crtn.S: New file.
79320 * sysdeps/powerpc/powerpc64/crti.S: New file.
79321 * sysdeps/powerpc/powerpc64/crtn.S: New file.
79322
79323 * Makeconfig (have-initfini): Don't set.
79324 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79325 * configure.in (nopic_initfini): Don't substitute.
79326 * config.h.in (HAVE_INITFINI): Don't #undef.
79327 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79328 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79329
79330 2012-02-08 Joseph Myers <joseph@codesourcery.com>
79331
79332 Support crti.S and crtn.S provided directly by architectures.
79333 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79334 [crti.S in sysdirs] (omit-deps): Likewise.
79335 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79336 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79337 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79338 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79339 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79340 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79341 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79342 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79343 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79344 compiler output for sysdeps/generic/initfini.c.
79345 * sysdeps/i386/elf/Makefile: Remove file.
79346 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79347
79348 2012-02-07 Marek Polacek <polacek@redhat.com>
79349
79350 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79351 * sysdeps/gnu/_G_config.h: Likewise.
79352 * sysdeps/mach/hurd/_G_config.h: Likewise.
79353
79354 2012-02-07 Marek Polacek <polacek@redhat.com>
79355
79356 * math/Makefile (tests): Add tst-CMPLX2.
79357 * math/tst-CMPLX2.c: New file.
79358
79359 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
79360
79361 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79362
79363 * math/libm-test.inc (jn_test): Add missing L suffix.
79364
79365 2012-02-06 Marek Polacek <polacek@redhat.com>
79366
79367 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79368 * sysdeps/i386/fpu/e_powf.S: Likewise.
79369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79370 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
79372 * sysdeps/i386/fpu/e_pow.S: Likewise.
79373 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79374 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79375 * sysdeps/i386/fpu/s_expm1.S: Likewise.
79376 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
79377 * sysdeps/i386/fpu/e_log2.S: Likewise.
79378 * sysdeps/i386/fpu/e_log2l.S: Likewise.
79379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
79380 * sysdeps/i386/fpu/e_powl.S: Likewise.
79381 * sysdeps/i386/fpu/s_log1p.S: Likewise.
79382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
79383 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
79384 * sysdeps/i386/fpu/e_logl.S: Likewise.
79385 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
79386 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
79387 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
79388 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
79389 * sysdeps/i386/fpu/e_log2f.S: Likewise.
79390 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79391 * sysdeps/i386/fpu/e_log.S: Likewise.
79392 * sysdeps/i386/fpu/s_cexp.S: Likewise.
79393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79394 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
79395 * sysdeps/i386/fpu/e_logf.S: Likewise.
79396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
79397 * sysdeps/i386/fpu/e_atanh.S: Likewise.
79398 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
79399 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
79400 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79401 * sysdeps/i386/fpu/e_log10.S: Likewise.
79402 * sysdeps/i386/fpu/s_frexp.S: Likewise.
79403 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79404 * sysdeps/i386/fpu/s_asinh.S: Likewise.
79405 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
79406 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79407 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
79408 * sysdeps/i386/asm-syntax.h: Likewise.
79409 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79410 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79411 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79412 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
79413 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
79414 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79415 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
79416 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79417 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79418 * sysdeps/powerpc/sysdep.h: Likewise.
79419 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
79420 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79421
79422 2012-02-06 Joseph Myers <joseph@codesourcery.com>
79423
79424 [BZ #411]
79425 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
79426
79427 2012-02-06 Joseph Myers <joseph@codesourcery.com>
79428
79429 * sysdeps/i386/sysdep.h: Include <features.h>.
79430 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
79431 version.
79432
79433 2012-02-05 Joseph Myers <joseph@codesourcery.com>
79434
79435 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
79436 Define.
79437 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
79438 LOAD_PIC_REG_STR.
79439
79440 2012-02-03 Joseph Myers <joseph@codesourcery.com>
79441
79442 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
79443 (SETUP_PIC_REG): Use GET_PC_THUNK.
79444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
79445 macro.
79446
79447 2012-02-03 Joseph Myers <joseph@codesourcery.com>
79448
79449 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
79450 for non-PIC compilation.
79451 (SETUP_PIC_REG): Add .p2align directive.
79452 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
79453 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
79454 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
79455 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
79456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
79457 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
79458 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
79459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79460 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
79461 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
79462 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
79463 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
79464 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
79465 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79466 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
79467 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
79468 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
79469 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
79470 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
79471 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
79472 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
79473 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
79474 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
79475 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
79476 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
79477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
79478 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
79480 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
79481 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
79482 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
79483 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79484 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
79485 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
79486 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
79487 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
79488 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
79489 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
79490 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
79491 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
79492 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
79493
79494 2012-02-03 Joseph Myers <joseph@codesourcery.com>
79495
79496 * math/tst-CMPLX.c: Include <stdio.h>.
79497
79498 2012-01-31 Joseph Myers <joseph@codesourcery.com>
79499
79500 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
79501 float.
79502 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79503 * sysdeps/sparc/bits/mathdef.h: Likewise.
79504
79505 2012-01-31 Marek Polacek <polacek@redhat.com>
79506
79507 * libio/libio.h: Don't define _PARAMS.
79508 * locale/programs/config.h: Don't define PARAMS.
79509 * stdlib/strtol_l.c: Likewise.
79510 (__strtol_l): Remove PARAMS from the prototype.
79511
79512 2012-01-31 Ulrich Drepper <drepper@gmail.com>
79513
79514 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
79515 names. Just use the correct names. Remove unnecessary wrapper
79516 functions.
79517 * malloc/arena.c: Likewise.
79518 * malloc/hooks.c: Likewise.
79519
79520 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
79521 ARENA_TEST says not to. Simplify test for creation of a new arena.
79522 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
79523
79524 2012-01-30 Ulrich Drepper <drepper@gmail.com>
79525
79526 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
79527 into tail calls.
79528 (update_get_addr): New function.
79529 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
79530 GET_ADDR_MODULE parameter.
79531
79532 2012-01-30 Joseph Myers <joseph@codesourcery.com>
79533
79534 * crypt/cert.c: Remove __STDC__ conditionals.
79535 * crypt/crypt-entry.c: Likewise.
79536 * crypt/crypt_util.c: Likewise.
79537 * libio/filedoalloc.c: Likewise.
79538 * libio/fileops.c: Likewise.
79539 * libio/genops.c: Likewise.
79540 * libio/iofclose.c: Likewise.
79541 * libio/iofdopen.c: Likewise.
79542 * libio/iofopen.c: Likewise.
79543 * libio/iofopen64.c: Likewise.
79544 * libio/iogetdelim.c: Likewise.
79545 * libio/iopopen.c: Likewise.
79546 * libio/obprintf.c: Likewise.
79547 * libio/oldfileops.c: Likewise.
79548 * libio/oldiofclose.c: Likewise.
79549 * libio/oldiofdopen.c: Likewise.
79550 * libio/oldiofopen.c: Likewise.
79551 * libio/oldiopopen.c: Likewise.
79552 * libio/wfiledoalloc.c: Likewise.
79553 * libio/wgenops.c: Likewise.
79554 * locale/programs/xmalloc.c: Likewise.
79555 * misc/syslog.c: Likewise.
79556 * stdio-common/xbug.c: Likewise.
79557 * string/memchr.c: Likewise.
79558 * string/memcmp.c: Likewise.
79559 * string/memrchr.c: Likewise.
79560 * string/rawmemchr.c: Likewise.
79561 * sysdeps/posix/getcwd.c: Likewise.
79562 * time/strftime_l.c: Likewise.
79563
79564 2012-01-30 Joseph Myers <joseph@codesourcery.com>
79565
79566 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
79567 * config.make.in (config-cflags-sse2avx): Define.
79568 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
79569 Fix typo.
79570
79571 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
79572
79573 * scripts/config.guess: Update from upstream config git repository.
79574 * scripts/config.sub: Likewise.
79575
79576 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
79577
79578 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
79579 (EM_NUM): Update.
79580 (R_TILEPRO_*, R_TILEGX_*): New macros.
79581
79582 * scripts/firstversions.awk: Fix bug in version range handling.
79583
79584 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
79585
79586 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
79587
79588 * include/sys/epoll.h: New file.
79589 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
79590 libc_hidden_def.
79591
79592 2012-01-28 Ulrich Drepper <drepper@gmail.com>
79593
79594 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
79595 Avoid unnecessary __WORDSIZE == 64 test.
79596 (fmaxf): Use VEX format if possible.
79597 (fmax): Likewise.
79598 (fminf): Likewise.
79599 (fmin): Likewise.
79600
79601 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
79602 * math/math_private.h: Remove libc_fegetround* and
79603 libc_fesetround*.
79604 * sysdeps/i386/configure.in: Check for -msse2avx.
79605 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
79606 also if SSE2AVX is defined.
79607 Remove libc_fegetround* and libc_fesetround*.
79608 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
79609 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
79610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
79611 of HAS_YMM_USABLE.
79612 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79613 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79614 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79615 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79616 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79617
79618 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
79619
79620 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79621
79622 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
79623 size is not set.
79624 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79625
79626 2012-01-27 Ulrich Drepper <drepper@gmail.com>
79627
79628 [BZ #13618]
79629 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
79630 relocation.
79631 * Makeconfig (libm): Define.
79632 * elf/Makefile: Add rules to build and run tst-relsort1.
79633 * elf/tst-relsort1.c: New file.
79634 * elf/tst-relsort1mod1.c: New file.
79635 * elf/tst-relsort1mod2.c: New file.
79636
79637 2012-01-27 Joseph Myers <joseph@codesourcery.com>
79638
79639 * math/s_ldexp.c: Remove __STDC__ conditionals.
79640 * math/s_ldexpf.c: Likewise.
79641 * math/s_ldexpl.c: Likewise.
79642 * math/s_nextafter.c: Likewise.
79643 * math/s_nexttowardf.c: Likewise.
79644 * math/s_significand.c: Likewise.
79645 * math/s_significandf.c: Likewise.
79646 * math/s_significandl.c: Likewise.
79647 * math/w_jnl.c: Likewise.
79648 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79649 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79650 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79651 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79652 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79654 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
79655 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79656 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79657 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79658 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79659 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79663 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79664 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79665 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79667 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79668 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79670 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79672 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79673 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79674 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79675 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79676 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79678 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79679 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79680 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79682 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79683 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79684 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79685 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79686 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79687 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79688 * sysdeps/ieee754/k_standard.c: Likewise.
79689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79690 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79691 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79692 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79693 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79694 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79695 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79696 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79697 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79698 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79699 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79700 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79702 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79703 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79704 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79705 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79706 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79707 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79708 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79711 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79712 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79713 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79714 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79718 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79720 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
79721 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79722 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79724 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79725 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
79726 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79727 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79728 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
79729 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
79730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79731 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
79732 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
79733 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
79735 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
79736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79737 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79738 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
79739 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
79740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79742 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79743 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79744 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79745 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
79746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79747 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79748 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79749 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79750 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79751 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79753 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79754 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79755 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79756 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79757 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79758 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79759 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79764 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79765 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79766 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79767 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79768 * sysdeps/ieee754/s_matherr.c: Likewise.
79769 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79770 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79773
79774 2012-01-26 Joseph Myers <joseph@codesourcery.com>
79775
79776 * crypt/md5.h: Remove __STDC__ conditionals.
79777 * libio/libioP.h: Likewise.
79778 * locale/programs/config.h: Likewise.
79779 * sysdeps/generic/sysdep.h: Likewise.
79780 * sysdeps/i386/asm-syntax.h: Likewise.
79781 * sysdeps/s390/asm-syntax.h: Likewise.
79782 * sysdeps/unix/sysdep.h: Likewise.
79783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
79784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
79785
79786 2012-01-26 Joseph Myers <joseph@codesourcery.com>
79787
79788 * libio/libio.h: Remove __STDC__ conditionals.
79789 * malloc/obstack.h: Likewise.
79790 * math/complex.h: Likewise.
79791 * math/math.h: Likewise.
79792 * sysdeps/generic/_G_config.h: Likewise.
79793 * sysdeps/gnu/_G_config.h: Likewise.
79794 * sysdeps/mach/hurd/_G_config.h: Likewise.
79795 * sysdeps/powerpc/bits/mathdef.h: Likewise.
79796 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79797 * sysdeps/sparc/bits/mathdef.h: Likewise.
79798
79799 2012-01-26 Ulrich Drepper <drepper@gmail.com>
79800
79801 [BZ #13583]
79802 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
79803 Clean up HAS_* macros.
79804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
79805 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
79806 possible.
79807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
79808 HAS_AVX.
79809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79810 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79814
79815 2012-01-25 Joseph Myers <joseph@codesourcery.com>
79816
79817 * elf/tst-unique3.cc (gets): Remove declaration.
79818 * elf/tst-unique3lib.cc (gets): Likewise.
79819 * elf/tst-unique3lib2.cc (gets): Likewise.
79820 * elf/tst-unique4.cc (gets): Likewise.
79821
79822 2012-01-24 Ulrich Drepper <drepper@gmail.com>
79823
79824 * include/stdio.h: Add C++ protection. Add gets declarations and
79825 definitions.
79826 * debug/tst-chk1.c: Don't declare gets here.
79827 * stdio-common/tst-gets.c: Likewise.
79828
79829 2012-01-24 Joseph Myers <joseph@codesourcery.com>
79830
79831 * posix/glob: Remove directory.
79832
79833 2012-01-24 Joseph Myers <joseph@codesourcery.com>
79834
79835 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
79836
79837 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
79838
79839 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
79840 of the non-standard EPFNOSUPPORT.
79841
79842 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
79843
79844 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
79845 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
79846 ANYWHERE set to 1 only on KERN_NO_SPACE error.
79847
79848 2012-01-21 Ulrich Drepper <drepper@gmail.com>
79849
79850 * wcsmbs/uchar.h: Test __STDC_VERSION__.
79851
79852 2012-01-20 Ulrich Drepper <drepper@gmail.com>
79853
79854 * nscd/aicache.c (addhstaiX): Do not cache negative results of
79855 transient errors.
79856 * nscd/grpcache.c (cache_addgr): Likewise.
79857 * nscd/hstcache.c (cache_addhst): Likewise.
79858 * nscd/initgrcache.c (addinitgroupsX): Likewise.
79859 * nscd/pwdcache.c (cache_addpw): Likewise.
79860 * nscd/servicescache.c (cache_addserv): Likewise.
79861
79862 2012-01-16 Ulrich Drepper <drepper@gmail.com>
79863
79864 * malloc/malloc.c: Various cleanups.
79865 * malloc/hooks.c: Likewise.
79866
79867 * stdlib/Makefile (tests): Add bug-fmtmsg1.
79868 * stdlib/bug-fmtmsg1.c: New file.
79869
79870 * stdlib/fmtmsg.c (init): Add missing unlock.
79871 Patch by Peng Haitao <penght@cn.fujitsu.com>.
79872
79873 2012-01-12 Marek Polacek <polacek@redhat.com>
79874
79875 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
79876 and _GNU_SOURCE.
79877
79878 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
79879
79880 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
79881 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
79882 macro to ensure uniqueness of label name.
79883 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79884 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79885
79886 2012-01-11 Ulrich Drepper <drepper@gmail.com>
79887
79888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
79889
79890 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
79891 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79892 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
79894
79895 2012-01-10 Ulrich Drepper <drepper@gmail.com>
79896
79897 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
79898
79899 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
79900 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79901 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79902
79903 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
79904
79905 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
79906 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
79909
79910 * math/bits/math-finite.h: Add ldexp support.
79911
79912 2012-01-10 Marek Polacek <polacek@redhat.com>
79913
79914 * locale/programs/localedef.h (show_archive_content): Add noreturn
79915 attribute.
79916
79917 2012-01-09 Ulrich Drepper <drepper@gmail.com>
79918
79919 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
79920
79921 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79922
79923 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
79924
79925 * io/Makefile (headers): Add bits/poll2.h.
79926
79927 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
79928
79929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
79930 typo #include statement.
79931
79932 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79933
79934 * include/sys/cdefs.h: Define __attribute_alloc_size.
79935 * catgets/gencat.c: Add alloc_size attribute and apply consistently
79936 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
79937 * elf/pldd.c: Likewise.
79938 * iconv/iconv_charmap.c: Likewise.
79939 * iconv/iconvconfig.c: Likewise.
79940 * iconv/strtab.c: Likewise.
79941 * locale/programs/locale.c: Likewise.
79942 * locale/programs/localedef.h: Likewise.
79943 * locale/programs/simple-hash.c: Likewise.
79944 * nscd/nscd.h: Likewise.
79945 * nss/makedb.c: Likewise.
79946 * sysdeps/generic/ldconfig.h: Likewise.
79947 * locale/programs/localedef.c: Remove xmalloc prototype.
79948 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
79949
79950 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
79951
79952 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
79953 appropriate.
79954
79955 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79956
79957 * math/Makefile (tests): Add tst-CMPLX.
79958 * math/tst-CMPLX.c: New file.
79959
79960 * math/complex.h (CMPLXL): Fix typo.
79961
79962 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
79963 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
79964 GLIBC_2.16.
79965 * debug/tst-chk1.c: Add poll and ppoll tests.
79966 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
79967 * include/sys/poll.h: Add hidden proto for ppoll.
79968 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
79969 * sysdeps/mach/hurd/ppoll.c: Likewise.
79970 * io/ppoll.c: Likewise.
79971 * debug/poll_chk.c: New file.
79972 * debug/ppoll_chk.c: New file.
79973 * include/bits/poll2.h: New file.
79974 * io/bits/poll2.h: New file.
79975
79976 [BZ #1350]
79977 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
79978
79979 * configure.in: static is always set to yes. Remove.
79980 * config.make.in: Don't set build-static.
79981 * Makeconfig: Remove use of build-static.
79982 * dlfcn/Makefile: Likewise.
79983 * elf/Makefile: Likewise.
79984 * math/Makefile: Likewise.
79985 * misc/Makefile: Likewise.
79986 * nptl/Makefile: Likewise.
79987 * sysdeps/mach/hurd/Makefile: Likewise.
79988
79989 * configure.in: PWD_P is not used anymore.
79990 * config.make.in: Remove PWD_P entry.
79991
79992 * configure.in: Remove last remnants of RANLIB.
79993 No need to check for signed size_t anymore.
79994 Don't set libc_commonpagesize and libc_relro_required here for Alpha
79995 and IA-64.
79996 Remove __builtin_expect test because we require at least gcc 3.4.
79997 * aclocal.m4: Likewise.
79998
79999 * wcsmbs/mbrtoc16.c: Implement using towc function.
80000 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80001 * wcsmbs/wcsmbsload.c: Likewise.
80002 * iconv/gconv_simple.c: Likewise.
80003 * iconv/gconv_int.h: Likewise.
80004 * iconv/gconv_builtin.h: Likewise.
80005 * iconv/iconv_prog.c: Remove CHAR16 handling.
80006
80007 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80008
80009 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80010
80011 * configure.in: Remove --with-elf and --enable-bounded options.
80012 Dont set base_machine for ia64. More non-ELF conditions removed.
80013 Remove testing and setting of leading underscore information.
80014 * config.make.in (build-bounded): Set to no.
80015 * config.h.in: Remove NO_UNDERSCORES entry.
80016 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
80017 them.
80018 * csu/start.c: Remove !NO_UNDERSCORE code.
80019 * locale/localeinfo.h: Likewise.
80020 * sysdeps/generic/machine-gmon.h: Likewise.
80021 * sysdeps/generic/sysdep.h: Likewise.
80022 * sysdeps/i386/sysdep.h: Likewise.
80023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80024 * sysdeps/mach/sysdep.h: Likewise.
80025 * sysdeps/s390/s390-32/sysdep.h: Likewise.
80026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
80027 * sysdeps/sh/sysdep.h: Likewise.
80028 * sysdeps/sparc/sparc32/alloca.S: Likewise.
80029 * sysdeps/unix/i386/sysdep.S: Likewise.
80030 * sysdeps/unix/sparc/start.c: Likewise.
80031 * sysdeps/unix/sparc/sysdep.S: Likewise.
80032 * sysdeps/unix/sparc/sysdep.h: Likewise.
80033 * sysdeps/unix/start.c: Likewise.
80034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80035 * sysdeps/x86_64/sysdep.h: Likewise.
80036
80037 2012-01-07 Ulrich Drepper <drepper@gmail.com>
80038
80039 [BZ #13553]
80040 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80041 for non-gcc.
80042 * argp/argp-fmtstream.h: Use const instead __const.
80043 * argp/argp.h: Likewise.
80044 * assert/assert.h: Likewise.
80045 * bits/fenv.h: Likewise.
80046 * bits/sched.h: Likewise.
80047 * bits/sigset.h: Likewise.
80048 * bits/sigthread.h: Likewise.
80049 * catgets/nl_types.h: Likewise.
80050 * conform/data/pthread.h-data: Likewise.
80051 * crypt/crypt-private.h: Likewise.
80052 * crypt/crypt.h: Likewise.
80053 * crypt/crypt_util.c: Likewise.
80054 * ctype/ctype.h: Likewise.
80055 * debug/execinfo.h: Likewise.
80056 * debug/mbsnrtowcs_chk.c: Likewise.
80057 * debug/mbsrtowcs_chk.c: Likewise.
80058 * debug/wcsnrtombs_chk.c: Likewise.
80059 * debug/wcsrtombs_chk.c: Likewise.
80060 * debug/wcstombs_chk.c: Likewise.
80061 * dirent/dirent.h: Likewise.
80062 * dlfcn/dlfcn.h: Likewise.
80063 * elf/neededtest4.c: Likewise.
80064 * grp/grp.h: Likewise.
80065 * gshadow/gshadow.h: Likewise.
80066 * iconv/gconv.h: Likewise.
80067 * iconv/gconv_int.h: Likewise.
80068 * iconv/gconv_simple.c: Likewise.
80069 * iconv/iconv.h: Likewise.
80070 * iconv/loop.c: Likewise.
80071 * iconv/skeleton.c: Likewise.
80072 * include/aio.h: Likewise.
80073 * include/aliases.h: Likewise.
80074 * include/argz.h: Likewise.
80075 * include/arpa/inet.h: Likewise.
80076 * include/assert.h: Likewise.
80077 * include/dirent.h: Likewise.
80078 * include/dlfcn.h: Likewise.
80079 * include/execinfo.h: Likewise.
80080 * include/fcntl.h: Likewise.
80081 * include/fenv.h: Likewise.
80082 * include/glob.h: Likewise.
80083 * include/grp.h: Likewise.
80084 * include/libintl.h: Likewise.
80085 * include/mntent.h: Likewise.
80086 * include/netdb.h: Likewise.
80087 * include/pwd.h: Likewise.
80088 * include/rpc/netdb.h: Likewise.
80089 * include/sched.h: Likewise.
80090 * include/search.h: Likewise.
80091 * include/shadow.h: Likewise.
80092 * include/signal.h: Likewise.
80093 * include/stdio.h: Likewise.
80094 * include/stdlib.h: Likewise.
80095 * include/string.h: Likewise.
80096 * include/sys/socket.h: Likewise.
80097 * include/sys/stat.h: Likewise.
80098 * include/sys/statfs.h: Likewise.
80099 * include/sys/statvfs.h: Likewise.
80100 * include/sys/syslog.h: Likewise.
80101 * include/sys/time.h: Likewise.
80102 * include/sys/uio.h: Likewise.
80103 * include/time.h: Likewise.
80104 * include/unistd.h: Likewise.
80105 * include/utmp.h: Likewise.
80106 * include/wchar.h: Likewise.
80107 * include/wctype.h: Likewise.
80108 * inet/aliases.h: Likewise.
80109 * inet/arpa/inet.h: Likewise.
80110 * inet/netinet/ether.h: Likewise.
80111 * inet/netinet/in.h: Likewise.
80112 * intl/libintl.h: Likewise.
80113 * io/bits/fcntl2.h: Likewise.
80114 * io/fcntl.h: Likewise.
80115 * io/ftw.h: Likewise.
80116 * io/sys/poll.h: Likewise.
80117 * io/sys/stat.h: Likewise.
80118 * io/sys/statfs.h: Likewise.
80119 * io/sys/statvfs.h: Likewise.
80120 * io/utime.h: Likewise.
80121 * libio/bits/stdio.h: Likewise.
80122 * libio/bits/stdio2.h: Likewise.
80123 * libio/libio.h: Likewise.
80124 * libio/libioP.h: Likewise.
80125 * libio/stdio.h: Likewise.
80126 * locale/lc-ctype.c: Likewise.
80127 * locale/locale.h: Likewise.
80128 * login/utmp.h: Likewise.
80129 * malloc/arena.c: Likewise.
80130 * malloc/malloc.c: Likewise.
80131 * malloc/malloc.h: Likewise.
80132 * malloc/mcheck.c: Likewise.
80133 * malloc/mtrace.c: Likewise.
80134 * math/bits/mathcalls.h: Likewise.
80135 * math/fenv.h: Likewise.
80136 * math/math_private.h: Likewise.
80137 * misc/bits/error.h: Likewise.
80138 * misc/bits/syslog.h: Likewise.
80139 * misc/err.h: Likewise.
80140 * misc/error.h: Likewise.
80141 * misc/fstab.h: Likewise.
80142 * misc/mntent.h: Likewise.
80143 * misc/regexp.h: Likewise.
80144 * misc/search.h: Likewise.
80145 * misc/sgtty.h: Likewise.
80146 * misc/sys/mman.h: Likewise.
80147 * misc/sys/syslog.h: Likewise.
80148 * misc/sys/uio.h: Likewise.
80149 * misc/sys/xattr.h: Likewise.
80150 * misc/ttyent.h: Likewise.
80151 * nis/rpcsvc/ypclnt.h: Likewise.
80152 * nss/nss.h: Likewise.
80153 * posix/bits/unistd.h: Likewise.
80154 * posix/fnmatch.h: Likewise.
80155 * posix/glob.h: Likewise.
80156 * posix/sched.h: Likewise.
80157 * posix/spawn.h: Likewise.
80158 * posix/sys/wait.h: Likewise.
80159 * posix/unistd.h: Likewise.
80160 * posix/wordexp.h: Likewise.
80161 * pwd/pwd.h: Likewise.
80162 * resolv/netdb.h: Likewise.
80163 * resource/sys/resource.h: Likewise.
80164 * rt/aio.h: Likewise.
80165 * rt/bits/mqueue2.h: Likewise.
80166 * rt/mqueue.h: Likewise.
80167 * shadow/shadow.h: Likewise.
80168 * signal/signal.h: Likewise.
80169 * socket/send.c: Likewise.
80170 * socket/sendto.c: Likewise.
80171 * socket/sys/socket.h: Likewise.
80172 * stdio-common/printf.h: Likewise.
80173 * stdlib/bits/stdlib.h: Likewise.
80174 * stdlib/fmtmsg.h: Likewise.
80175 * stdlib/monetary.h: Likewise.
80176 * stdlib/stdlib.h: Likewise.
80177 * stdlib/ucontext.h: Likewise.
80178 * streams/stropts.h: Likewise.
80179 * string/argz.h: Likewise.
80180 * string/bits/string2.h: Likewise.
80181 * string/string.h: Likewise.
80182 * string/strings.h: Likewise.
80183 * sunrpc/rpc/auth.h: Likewise.
80184 * sunrpc/rpc/auth_des.h: Likewise.
80185 * sunrpc/rpc/clnt.h: Likewise.
80186 * sunrpc/rpc/netdb.h: Likewise.
80187 * sunrpc/rpc/pmap_clnt.h: Likewise.
80188 * sunrpc/rpc/xdr.h: Likewise.
80189 * sysdeps/generic/inttypes.h: Likewise.
80190 * sysdeps/generic/net/if.h: Likewise.
80191 * sysdeps/generic/sys/swap.h: Likewise.
80192 * sysdeps/gnu/net/if.h: Likewise.
80193 * sysdeps/gnu/utmpx.h: Likewise.
80194 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80195 * sysdeps/i386/i486/bits/string.h: Likewise.
80196 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80197 * sysdeps/s390/bits/string.h: Likewise.
80198 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80199 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80200 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80201 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80202 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80203 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80204 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80205 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80206 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80207 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80208 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80209 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80210 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80211 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80212 * sysdeps/unix/sysv/linux/readv.c: Likewise.
80213 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80214 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80216 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80219 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80220 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80221 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80222 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80223 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80224 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80226 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80227 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80228 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80229 * sysvipc/sys/ipc.h: Likewise.
80230 * sysvipc/sys/msg.h: Likewise.
80231 * sysvipc/sys/sem.h: Likewise.
80232 * sysvipc/sys/shm.h: Likewise.
80233 * termios/termios.h: Likewise.
80234 * time/sys/time.h: Likewise.
80235 * time/time.h: Likewise.
80236 * wcsmbs/bits/wchar2.h: Likewise.
80237 * wcsmbs/uchar.h: Likewise.
80238 * wcsmbs/wchar.h: Likewise.
80239 * wctype/wctype.h: Likewise.
80240
80241 [BZ #13551]
80242 * Makeconfig: Remove all but ELF support including AIX support.
80243 * Makerules: Likewise.
80244 * config.h.in: Likewise.
80245 * config.make.in: Likewise.
80246 * configure: Likewise.
80247 * configure.in: Likewise.
80248 * csu/Makefile: Likewise.
80249 * csu/version.c: Likewise.
80250 * debug/Makefile: Likewise.
80251 * dlfcn/Makefile: Likewise.
80252 * elf/Makefile: Likewise.
80253 * extra-lib.mk: Likewise.
80254 * iconv/Makefile: Likewise.
80255 * include/libc-symbols.h: Likewise.
80256 * include/shlib-compat.h: Likewise.
80257 * resolv/Makefile: Likewise.
80258 * resolv/res_libc.c: Likewise.
80259 * rt/Makefile: Likewise.
80260 * sysdeps/i386/asm-syntax.h: Likewise.
80261 * sysdeps/i386/sysdep.h: Likewise.
80262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80263 * sysdeps/mach/sysdep.h: Likewise.
80264 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80265 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80266 * sysdeps/s390/asm-syntax.h: Likewise.
80267 * sysdeps/s390/s390-32/sysdep.h: Likewise.
80268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
80269 * sysdeps/sh/sysdep.h: Likewise.
80270 * sysdeps/unix/sparc/sysdep.h: Likewise.
80271 * sysdeps/wordsize-32/divdi3.c: Likewise.
80272 * sysdeps/x86_64/sysdep.h: Likewise.
80273
80274 * argp/Versions: Remove _argp_unlock_xxx.
80275
80276 [BZ #13559]
80277 * abilist/ld.abilist: Update. Adjust for removal of tls option.
80278 * abilist/libBrokenLocale.abilist: Likewise.
80279 * abilist/libanl.abilist: Likewise.
80280 * abilist/libc.abilist: Likewise.
80281 * abilist/libcrypt.abilist: Likewise.
80282 * abilist/libdl.abilist: Likewise.
80283 * abilist/libm.abilist: Likewise.
80284 * abilist/libnsl.abilist: Likewise.
80285 * abilist/libpthread.abilist: Likewise.
80286 * abilist/libresolv.abilist: Likewise.
80287 * abilist/librt.abilist: Likewise.
80288 * abilist/libthread_db.abilist: Likewise.
80289 * abilist/libutil.abilist: Likewise.
80290 * abilist/libnss_db.abilist: New file.
80291
80292 * scripts/abilist.awk: Add support for indirect functions.
80293
80294 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80295
80296 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80297
80298 * shlib-versions: Remove entries for ports architectures.
80299
80300 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
80301 files in ports.
80302 * elf/stackguard-macros.h: Remove support for IA-64.
80303 * elf/tst-auditmod1.c: Likewise.
80304 * sysdeps/generic/ldsodefs.h: Likewise.
80305
80306 * sysdeps/unix/sysv/linux/configure.in: Ports should define
80307 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80308 configure files.
80309
80310 [BZ #13552]
80311 * configure.in: Remove --enable-omitfp support.
80312 * FAQ.in: Adjust.
80313 * config.make.in: Likewise.
80314 * Makeconfig: Likewise.
80315 * manual/install.texi: Likewise.
80316
80317 In case anyone cares, the IA-64 architecture could move to ports.
80318 * sysdeps/ia64/*: Removed.
80319 * sysdeps/unix/sysv/linux/ia64/*: Removed.
80320 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80321
80322 [BZ #13555]
80323 * configure.in: Remove entries for unsupported architectures.
80324
80325 [BZ #13533]
80326 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80327 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
80328 routines.
80329 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80330 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80331 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
80332 fall back to using wcrtomb.
80333 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80334 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
80335 renaming.
80336 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80337 * wcsmbs/tst-c16c32-1.c: New file.
80338
80339 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80340 local variable.
80341
80342 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80343
80344 * elf/tst-unique3.cc: Add explicit declaration of gets.
80345 * elf/tst-unique3lib.cc: Likewise.
80346 * elf/tst-unique3lib2.cc: Likewise.
80347 * elf/tst-unique4.cc: Likewise.
80348
80349 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80350
80351 2012-01-06 Joseph Myers <joseph@codesourcery.com>
80352
80353 [BZ #13566]
80354 * assert/assert.h (static_assert): Don't define for C++.
80355 * libio/stdio.h (gets): Do declare for C++ <= C++11.
80356 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80357
80358 2012-01-03 Ulrich Drepper <drepper@gmail.com>
80359
80360 * iconv/loop.c (single loop): Fix assertion in storing of
80361 remaining bytes.
80362
80363 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80364
80365 2012-01-01 Ulrich Drepper <drepper@gmail.com>
80366
80367 * posix/getconf.c: Update copyright year.
80368 * nss/getent.c: Likewise.
80369 * nss/makedb.c: Likewise.
80370 * iconv/iconvconfig.c: Likewise.
80371 * iconv/iconv_prog.c: Likewise.
80372 * elf/ldconfig.c: Likewise.
80373 * elf/pldd.c: Likewise.
80374 * elf/sotruss.ksh: Likewise.
80375 * catgets/gencat.c: Likewise.
80376 * csu/version.c: Likewise.
80377 * elf/ldd.bash.in: Likewise.
80378 * elf/sprof.c (print_version): Likewise.
80379 * locale/programs/locale.c: Likewise.
80380 * locale/programs/localedef.c: Likewise.
80381 * login/programs/pt_chown.c: Likewise.
80382 * nscd/nscd.c (print_version): Likewise.
80383 * debug/xtrace.sh: Likewise.
80384 * malloc/memusage.sh: Likewise.
80385 * malloc/mtrace.pl: Likewise.
80386 * debug/catchsegv.sh: Likewise.
80387
80388 2011-12-30 Jakub Jelinek <jakub@redhat.com>
80389
80390 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
80391 pure attribute.
80392
80393 2011-12-24 Ulrich Drepper <drepper@gmail.com>
80394
80395 [BZ #13533]
80396 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
80397 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
80398 transformations.
80399 * iconv/gconv_int.h: Likewise.
80400 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
80401 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
80402 from libc for GLIBC_2.16.
80403 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
80404 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
80405 * wcsmbs/uchar.h: Really define mbstate_t.
80406 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
80407 * wcsmbs/c16rtomb.c: New file.
80408 * wcsmbs/mbrtoc16.c: New file.
80409 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
80410 for C/POSIX locale.
80411 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
80412 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
80413
80414 * wcsmbs/wchar.h: Add missing __restrict.
80415
80416 2011-12-23 Ulrich Drepper <drepper@gmail.com>
80417
80418 [BZ #13532]
80419 * time/Makefile (routines): Add timespec_get.
80420 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
80421 * time/time.h: Define TIME_UTC and declare timespec_get. Define
80422 timespec for ISO C11.
80423 * time/timespec_get.c: New file.
80424 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
80425 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
80426
80427 [BZ #13531]
80428 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
80429 * stdlib/stdlib.h: Declare aligned_alloc.
80430 * Versions.def: Add GLIBC_2.16 for libc.
80431 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
80432
80433 [BZ 13527]
80434 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
80435 ISO C11.
80436
80437 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
80438 code.
80439
80440 [BZ #13528]
80441 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
80442
80443 [BZ #13529]
80444 * assert/assert.h (static_assert): Define.
80445
80446 * version.h: Update for 2.16 development version.
80447
80448 [BZ #13526]
80449 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
80450 _ISOC11_SOURCE.
80451
80452 * version.h (RELEASE): Bump for 2.15 release.
80453 * include/features.h (__GLIBC_MINOR__): Bump to 15.
80454
80455 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
80456 Patch by Marek Polacek <mpolacek@redhat.com>.
80457
80458 * bits/byteswap.h: Protect long long constants with __extension__.
80459 * sysdeps/i386/bits/byteswap.h: Likewise.
80460 * sysdeps/ia64/bits/byteswap.h: Likewise.
80461 * sysdeps/s390/bits/byteswap.h: Likewise.
80462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
80463
80464 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80465
80466 [BZ #13540]
80467 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
80468 destination buffer.
80469 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
80470
80471 2011-12-23 Marek Polacek <polacek@redhat.com>
80472
80473 * elf/dl-addr.c (determine_info): Add inline keyword.
80474 * elf/tst-auditmod4b.c (check_avx): Likewise.
80475 * elf/tst-auditmod6b.c (check_avx): Likewise.
80476 * elf/tst-auditmod6c.c (check_avx): Likewise.
80477 * elf/tst-auditmod7b.c (check_avx): Likewise.
80478
80479 2011-12-23 Ulrich Drepper <drepper@gmail.com>
80480
80481 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
80482 !__SSE_MATH__.
80483
80484 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80485
80486 [BZ #13540]
80487 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
80488 processing for last bytes.
80489
80490 2011-08-06 Bruno Haible <bruno@clisp.org>
80491
80492 [BZ #13061]
80493 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
80494 U+0385, not to U+1FEE.
80495
80496 [BZ #13062]
80497 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
80498 entry for U+00A5 U+0301.
80499
80500 2011-12-22 Ulrich Drepper <drepper@gmail.com>
80501
80502 [BZ #13166]
80503 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
80504 buffer for the output is too small.
80505
80506 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
80507 optimization.
80508
80509 [BZ #13185]
80510 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
80511 SSE flags if possible.
80512
80513 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80514
80515 [BZ #13540]
80516 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
80517 processing for last bytes.
80518
80519 2011-12-22 Joseph Myers <joseph@codesourcery.com>
80520
80521 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
80522 (syscall-list-default-options, syscall-list-default-condition)
80523 (syscall-list-includes): Define.
80524 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
80525 list of ABIs and options and #if conditions for each ABI. Do not
80526 handle common syscalls between ABIs specially.
80527 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
80528 Remove.
80529 (syscall-list-variants, syscall-list-32bit-options)
80530 (syscall-list-32bit-condition, syscall-list-64bit-options)
80531 (syscall-list-64bit-condition): Define.
80532 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
80533 (syscall-list-variants, syscall-list-32bit-options)
80534 (syscall-list-32bit-condition, syscall-list-64bit-options)
80535 (syscall-list-64bit-condition): Define.
80536 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
80537 Remove.
80538 (syscall-list-variants, syscall-list-32bit-options)
80539 (syscall-list-32bit-condition, syscall-list-64bit-options)
80540 (syscall-list-64bit-condition): Define.
80541 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
80542 Remove.
80543 (syscall-list-variants, syscall-list-32bit-options)
80544 (syscall-list-32bit-condition, syscall-list-64bit-options)
80545 (syscall-list-64bit-condition): Define.
80546
80547 2011-12-22 Ulrich Drepper <drepper@gmail.com>
80548
80549 * locale/iso-639.def: Add brx entry.
80550
80551 [BZ #13328]
80552 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
80553 Proposed by Mariusz_Cukr <marcukr@op.pl>.
80554
80555 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
80556 __feraiseexcept_renamed.
80557
80558 2011-12-21 Ulrich Drepper <drepper@gmail.com>
80559
80560 [BZ #13538]
80561 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
80562 EPOLLET with unsigned values.
80563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80564 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80565
80566 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
80567 to large cancellation.
80568 * math/s_cacoshf.c: Likewise.
80569 * math/s_cacoshl.c: Likewise.
80570
80571 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
80572
80573 [BZ #13305]
80574 [BZ #12786]
80575 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
80576 * math/s_cacoshf.c: Likewise.
80577 * math/s_cacoshl.c: Likewise.
80578
80579 2011-12-21 Ulrich Drepper <drepper@gmail.com>
80580
80581 [BZ #13439]
80582 * iconv/gconv.h: Define __GCONV_SWAP.
80583 * iconvdata/unicode.c: The swap bit must be stored in __flags.
80584 * iconvdata/utf-16.c: Likewise.
80585 * iconvdata/utf-32.c: Likewise.
80586
80587 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
80588
80589 [BZ #13524]
80590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
80591 numerator after shifting it by one limb.
80592
80593 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
80594
80595 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
80596 under [__USE_EXTERN_INLINES].
80597
80598 2011-12-17 Ulrich Drepper <drepper@gmail.com>
80599
80600 [BZ #13446]
80601 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
80602
80603 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80604
80605 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
80606 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
80607 optimized code.
80608 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
80609 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
80610 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
80611 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
80612 for strncasecmp/strncasecmp_l compilation.
80613 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
80614 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
80615
80616 2011-12-08 Marek Polacek <mpolacek@redhat.com>
80617
80618 [BZ #13484]
80619 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
80620 of __asm__.
80621
80622 2011-12-17 Ulrich Drepper <drepper@gmail.com>
80623
80624 [BZ #13506]
80625 * time/tzfile.c (__tzfile_read): Check values from file header.
80626
80627 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
80628
80629 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
80630 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
80631 * powerpc/powerpc32/dl-start.S: Likewise.
80632 * powerpc/powerpc32/elf/start.S: Likewise.
80633 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
80634 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
80635 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
80636 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
80637 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
80638 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
80639 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
80640 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
80641 * powerpc/powerpc32/fpu/s_round.S: Likewise.
80642 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
80643 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
80644 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
80645 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
80646 * powerpc/powerpc32/memset.S: Likewise.
80647 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
80648 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
80649 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
80650 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
80651 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
80652 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
80653 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
80654 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
80655 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
80656 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
80657 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
80658 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80659 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80660
80661 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80662
80663 * math/libm-test.inc: Added more nearbyint tests.
80664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
80665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
80666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
80667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
80668
80669 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
80670
80671 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
80672 FD_CLOEXEC.
80673
80674 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80675
80676 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
80677 Add wcscpy-ssse3 wcscpy-c.
80678 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
80679 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
80680 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
80681 * sysdeps/x86_64/wcschr.S: New file.
80682 * sysdeps/x86_64/wcsrchr.S: New file.
80683 * string/test-strcmp.c: Remove checking of wcscmp function for
80684 wrong alignments.
80685 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
80686 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
80687 wcsrchr-sse2 wcsrchr-c.
80688 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
80689 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
80690 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
80691 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
80692 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
80693 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
80694 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
80695 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
80696 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
80697 * wcsmbc/wcschr.c (WCSCHR): New macro.
80698
80699 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80700
80701 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
80702 * wcsmbs/test-wcsrchr.c: New file.
80703 * string/test-strrchr.c: Add wcsrchr support.
80704 (WIDE): New macro.
80705 * wcsmbs/test-wcscpy.c: New file.
80706 * string/test-strcpy.c: Add wcscpy support.
80707 (WIDE): New macro.
80708
80709 2011-12-10 Ulrich Drepper <drepper@gmail.com>
80710
80711 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
80712 the inner loop.
80713
80714 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
80715
80716 [BZ #13472]
80717 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
80718
80719 2011-12-04 Ulrich Drepper <drepper@gmail.com>
80720
80721 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
80722 Minor optimizations.
80723
80724 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
80725 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
80726 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
80727
80728 2011-12-03 Ulrich Drepper <drepper@gmail.com>
80729
80730 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
80731 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
80732 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
80733 for gcc to avoid warnings.
80734 * inet/Makefile (tests): Add tst-checks.
80735 * inet/tst-checks.c: New file.
80736
80737 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
80738 warning.
80739
80740 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
80741 __wmemcmp_sse2.
80742
80743 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
80744 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
80745
80746 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
80747
80748 2011-12-02 Ulrich Drepper <drepper@gmail.com>
80749
80750 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
80751 problem.
80752
80753 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
80754
80755 2011-11-29 Joseph Myers <joseph@codesourcery.com>
80756
80757 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
80758 conditional on GCC version.
80759 (__arch_compare_and_exchange_val_8_acq)
80760 (__arch_compare_and_exchange_val_16_acq)
80761 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
80762 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
80763 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
80764
80765 2011-12-02 Joseph Myers <joseph@codesourcery.com>
80766
80767 * sysdeps/sh/backtrace.c: New file.
80768
80769 2011-12-02 Andreas Schwab <schwab@redhat.com>
80770
80771 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
80772 parenthesis.
80773
80774 2011-12-01 Andreas Schwab <schwab@redhat.com>
80775
80776 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
80777 falling back to utime.
80778
80779 2011-11-30 Andreas Schwab <schwab@redhat.com>
80780
80781 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
80782 expectations for float.
80783
80784 2011-11-29 Andreas Schwab <schwab@redhat.com>
80785
80786 * locale/weight.h (findidx): Add parameter len.
80787 * locale/weightwc.h (findidx): Likewise.
80788 * posix/fnmatch_loop.c (FCT): Adjust caller.
80789 * posix/regcomp.c (build_equiv_class): Likewise.
80790 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
80791 * posix/regexec.c (check_node_accept_bytes): Likewise.
80792 * string/strcoll_l.c (STRCOLL): Likewise.
80793 * string/strxfrm_l.c (STRXFRM): Likewise.
80794
80795 2011-11-17 Ulrich Drepper <drepper@gmail.com>
80796
80797 * Makefile.in: Remove CVSOPT handling.
80798 * configure.in: Remove use of AC_REVISION.
80799 * iconvdata/Makefile (distribute): No need to filter out CVS.
80800 * scripts/list-sources.sh: Remove CVS, subversion and monotone
80801 handling.
80802
80803 2011-11-16 Andreas Schwab <schwab@redhat.com>
80804
80805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
80806 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
80807 [USE_AS_STRNCASECMP_L]: Likewise.
80808 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
80809 NO_TLS_DIRECT_SEG_REFS.
80810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
80811 Fix argument offsets for non-PIC.
80812 [USE_AS_STRNCASECMP_L]: Likewise.
80813 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
80814 NO_TLS_DIRECT_SEG_REFS.
80815
80816 2011-11-15 Ulrich Drepper <drepper@gmail.com>
80817
80818 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
80819 O_CLOEXEC.
80820 * locale/loadlocale.c (_nl_load_locale): Likewise.
80821
80822 2011-11-15 Andreas Schwab <schwab@redhat.com>
80823
80824 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
80825 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
80826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
80827 (SYSCALL_GETTIME): Set errno on error.
80828
80829 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
80830 count references to noai6ai_cached.
80831
80832 2011-11-15 Ulrich Drepper <drepper@gmail.com>
80833
80834 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
80835
80836 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
80837 FD_CLOEXEC for /proc/self/maps.
80838
80839 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
80840 FD_CLOEXEC for /proc/meminfo.
80841
80842 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
80843 gai.conf.
80844
80845 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
80846 FD_CLOEXEC for given file.
80847
80848 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
80849
80850 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
80851 FD_CLOEXEC for /etc/hosts.
80852 (_gethtent): Likewise.
80853
80854 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
80855
80856 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
80857 cancellation and set FD_CLOEXEC for /etc/netgroup.
80858
80859 * nss/nss_files/files-key.c (search): Don't allow cancellation when
80860 reading /etc/publickey.
80861
80862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
80863 allow cancellation when reading /etc/group.
80864
80865 * nss/nss_files/files-alias.c (internal_setent): Don't allow
80866 cancellation.
80867 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
80868
80869 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
80870 when using data file.
80871
80872 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
80873
80874 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
80875 (write_nis_obj): Use "c" and "e" in fopen.
80876
80877 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
80878
80879 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
80880
80881 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
80882
80883 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
80884
80885 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
80886 locale.alias.
80887
80888 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
80889
80890 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
80891
80892 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
80893
80894 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
80895 file parsing and set FD_CLOEXEC.
80896
80897 2011-11-14 Ulrich Drepper <drepper@gmail.com>
80898
80899 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
80900
80901 2011-11-14 Andreas Schwab <schwab@redhat.com>
80902
80903 * malloc/arena.c (arena_get2): Don't call reused_arena when
80904 _int_new_arena failed.
80905
80906 2011-11-14 Ulrich Drepper <drepper@gmail.com>
80907
80908 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
80909 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
80910 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
80911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
80914 to compile strcasecmp and strncasecmp.
80915 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
80916 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
80917
80918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
80919
80920 2011-11-13 Ulrich Drepper <drepper@gmail.com>
80921
80922 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
80923 locale-defines.sym to gen-as-const-headers.
80924 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
80925 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
80926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
80927 to compile strcasecmp and strncasecmp.
80928 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
80929 strcasecmp_l and strncasecmp_l.
80930 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
80931 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
80932 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
80933 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
80934 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
80935 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
80936 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
80937 * sysdeps/i386/i686/multiarch/strncase.S: New file.
80938 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
80939 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
80940 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
80941
80942 2011-11-12 Ulrich Drepper <drepper@gmail.com>
80943
80944 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
80945 result of SYSDEP_GETTIME_CPU to retval.
80946 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
80947 parameter list to macro. Remove trailing semicolon. Adjust users.
80948
80949 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
80950 variable.
80951
80952 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
80953 mantissa words.
80954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
80955
80956 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
80957 from unused variable.
80958
80959 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
80960 DWARF definitions.
80961 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
80962 for assembling.
80963
80964 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
80965 over namespaces.
80966
80967 * sunrpc/rpc_prot.c (rejected): Fix case value.
80968
80969 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
80970 unsigned long long int to avoid warnings in shift.
80971
80972 * posix/regex_internal.c (re_string_reconstruct): Actually use result
80973 of use of trans.
80974 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
80975 variable tmp.
80976
80977 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
80978 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
80979 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
80980
80981 * nis/nis_table.c (nis_list): Use variable of correct type for
80982 result of __follow_path call.
80983
80984 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80985
80986 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
80987 of math functions ceil, trunc, floor, round, and sqrt, when
80988 avaliable on the platform.
80989 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
80990 name clash.
80991 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80992 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80993 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80994
80995 2011-10-30 Marek Polacek <mpolacek@redhat.com>
80996
80997 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
80998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
80999
81000 2011-11-11 Roland McGrath <roland@hack.frob.com>
81001
81002 * include/unistd.h: Fix __readlink return type.
81003 Reported by Chris Metcalf <cmetcalf@tilera.com>.
81004
81005 2011-11-11 Ulrich Drepper <drepper@gmail.com>
81006
81007 * stdlib/ucontext.h: Undo last change for makecontext.
81008
81009 2011-11-11 Andreas Schwab <schwab@redhat.com>
81010
81011 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81012
81013 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81014 * setjmp/setjmp.h: Mark functions as non-leaf.
81015 * setjmp/bits/setjmp2.h: Likewise.
81016 * stdlib/ucontext.h: Likewise.
81017
81018 2011-11-10 Andreas Schwab <schwab@redhat.com>
81019
81020 * malloc/arena.c (_int_new_arena): Don't increment narenas.
81021 (reused_arena): Don't check arena limit.
81022 (arena_get2): Atomically check arena limit.
81023
81024 2011-11-08 Ulrich Drepper <drepper@gmail.com>
81025
81026 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81027 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81028
81029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81030 instructions.
81031
81032 2011-11-07 Andreas Schwab <schwab@redhat.com>
81033
81034 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81035 handler when locking.
81036
81037 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81038 Fix size of allocated buffer.
81039
81040 2011-11-04 Andreas Schwab <schwab@redhat.com>
81041
81042 [BZ #10103]
81043 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81044 declarations for long double functions.
81045 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81046
81047 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81048
81049 2011-11-03 Andreas Schwab <schwab@redhat.com>
81050
81051 * nscd/nscd.c (main): Don't start AVC thread until credentials are
81052 installed.
81053
81054 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81055 is disabled.
81056
81057 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
81058
81059 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81060
81061 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
81062
81063 * include/alloca.h (stackinfo_alloca_round): Define.
81064 (extend_alloca): Use it.
81065 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81066 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81067 here.
81068
81069 * scripts/check-local-headers.sh: Ignore libaudit.h.
81070
81071 * nscd/Makefile (extra-objs): Make recursively expanded.
81072
81073 2011-11-01 Ulrich Drepper <drepper@gmail.com>
81074
81075 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81076 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81077
81078 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81079 * posix/tst-rfc3484-2.c: Likewise.
81080 * posix/tst-rfc3484-3.c: Likewise.
81081
81082 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81083 process_vm_writev.
81084 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81085 process_vm_writev.
81086 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81087 process_vm_writev from libc using GLIBC_2.15 version.
81088
81089 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81090
81091 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
81092
81093 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81094 stack usage.
81095
81096 2011-10-31 Ulrich Drepper <drepper@gmail.com>
81097
81098 [BZ #13367]
81099 * nss/getent.c (initgroups_keys): Show error message in case no group
81100 names are given.
81101
81102 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81103 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81104 __bump_nl_timestamp.
81105 * nscd/connections (nscd_init): When host database is served open
81106 netlink socket and request notification about configuration changes.
81107 (main_loop_poll): Track netlink file descriptor and bump timestamp
81108 in case data becomes available.
81109 (main_loop_epoll): Likewise.
81110 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81111 (database_pers_head): Add extra_data fileds.
81112 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81113 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81114 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81115 Adjust caller.
81116 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81117 in6ai data, call __free_in6ai.
81118 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81119 Add -DHAVE_NETLINK.
81120 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
81121 interface information. Reuse previous data if netlink timestamp
81122 is not changed.
81123 (__bump_nl_timestamp): New function.
81124 (__free_in6ai): New function.
81125
81126 2011-10-30 Ulrich Drepper <drepper@gmail.com>
81127
81128 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81129 close_not_cancel_no_status here.
81130 (__check_pf): Reorganize code a bit to not call close twice if OOM.
81131
81132 2011-10-29 Ulrich Drepper <drepper@gmail.com>
81133
81134 [BZ #13276]
81135 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81136 return value.
81137
81138 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81139 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81140 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81141
81142 2011-07-03 Andreas Jaeger <aj@suse.de>
81143
81144 [BZ #10709]
81145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81146 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81147 * math/libm-test.inc (sin_test): Add test case.
81148
81149 2011-10-29 Ulrich Drepper <drepper@gmail.com>
81150
81151 [BZ #13337]
81152 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81153 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81154
81155 * elf/chroot_canon.c (chroot_canon): Cleanups.
81156
81157 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81158
81159 [BZ #13335]
81160 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81161 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81162
81163 * string/test-strchr.c: Make usable for strchrnul testing.
81164 * string/test-strchrnul.c: New file.
81165 * string/Makefile (strop-tests): Add strchrnul.
81166
81167 * po/it.po: Update from translation team.
81168 * po/es.po: Likewise.
81169
81170 2011-10-28 Ulrich Drepper <drepper@gmail.com>
81171
81172 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81173 the three constants needed as parameters. Drop the others.
81174 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81175 __m128i_strloadu_tolower.
81176 Create and initialize variable zero and use it in all the places
81177 where _mm_setzero_si128 was used.
81178
81179 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81180 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81181 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81182 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81183 anymore.
81184 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81185 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81186 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81187 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81188 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81189 __mpranred, __mptan.
81190 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81191 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81192 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81193 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81194 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81195 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81196 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81197 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81199
81200 2011-10-28 Andreas Schwab <schwab@redhat.com>
81201
81202 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81203 redefine if SHARED.
81204 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81205
81206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81207 wide char related routines to wcsmbs subdir.
81208
81209 2011-10-27 Andreas Schwab <schwab@redhat.com>
81210
81211 [BZ #13344]
81212 * misc/sys/cdefs.h (__THROWNL): Define.
81213 * posix/unistd.h: Use __THREADNL instead of __THREAD
81214 for memory synchronization functions.
81215
81216 2011-10-26 Roland McGrath <roland@hack.frob.com>
81217
81218 [BZ #13349]
81219 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81220 doesn't exist.
81221 * manual/stdio.texi (Obstack Streams): Node removed.
81222
81223 2011-10-26 Andreas Schwab <schwab@redhat.com>
81224
81225 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81226 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81227 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81228
81229 * math/math_private.h (math_force_eval): Allow non-addressable
81230 arguments.
81231 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81232
81233 2011-10-25 Ulrich Drepper <drepper@gmail.com>
81234
81235 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81236 file is not needed.
81237
81238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81239 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81241 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81242 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81245 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81246 Add AVX variants.
81247 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81248 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81249 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81250 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81251 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81252 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81253 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81254 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81257 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81258 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81259 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81260 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81261 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81262 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81263 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81264 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81265 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81266
81267 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81268 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
81269
81270 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81271 place. Use VEX encoding when compiling for AVX.
81272
81273 2011-10-25 Andreas Schwab <schwab@redhat.com>
81274
81275 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81276 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81277
81278 * string/test-strchr.c (do_test): Don't generate NUL bytes.
81279
81280 2011-10-25 Ulrich Drepper <drepper@gmail.com>
81281
81282 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81283 useless if() expression.
81284 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81285 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81286 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81288 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81289 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81292 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81293 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81295 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81296 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81297 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81298 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81299 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81301 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81302 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81303
81304 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81305
81306 2011-10-25 Andreas Schwab <schwab@redhat.com>
81307
81308 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81309 condition.
81310 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81311
81312 2011-10-25 Ulrich Drepper <drepper@gmail.com>
81313
81314 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81315 .text section. Avoid duplicate constants.
81316 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81318 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81323 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81324 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81325 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81326 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81327 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81328 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81329 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81330 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81331 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81333 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81336 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81337 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81338 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81339 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81340 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81341 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81342 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81343 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81344 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81345 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81346 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81347 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81349 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81350 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81351 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81352 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81354 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81355 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81356 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81357 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81358 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81359 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81360 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81361
81362 2011-10-24 Ulrich Drepper <drepper@gmail.com>
81363
81364 * sysdeps/x86_64/dla.h: Move to ...
81365 * sysdeps/x86_64/fpu/dla.h: ...here.
81366 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81367 situations. Use __builtin_fma only for gcc 4.6 and up.
81368
81369 * config.make.in: Add have-mfma4 entry.
81370 * configure.in: Substitute libc_cv_cc_fma4.
81371 * math/Makefile (dbl-only-routines): Add sincostab.
81372 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81373 Use __sincostab not sincos.
81374 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81375 name is a macro.
81376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
81380 using __copysign.
81381 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
81382 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
81383 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
81384 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
81385 and __inv.
81386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
81387 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
81388 __copysign.
81389 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
81390 define aliases when function name is a macro.
81391 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
81392 sysdeps/ieee754/dbl-64/sincos.tbl.
81393 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
81394 fma4-enabled routines.
81395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
81396 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
81397 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
81398 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
81399 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
81400 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
81401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
81402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
81403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
81404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
81405 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
81406 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
81407 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
81408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
81409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
81410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
81411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
81412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
81413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
81414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
81415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
81416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
81417 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
81418 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
81419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
81420 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
81421 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
81422 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
81423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
81424 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
81425
81426 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
81427 rename.
81428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81436
81437 2011-10-24 Andreas Schwab <schwab@redhat.com>
81438
81439 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
81440
81441 2011-10-23 Ulrich Drepper <drepper@gmail.com>
81442
81443 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
81444
81445 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
81446 prediction.
81447 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
81448
81449 * string/strnlen.c: Don't define STRNLEN, reverse logic.
81450 Remove unused variable magic_bits.
81451 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
81452
81453 * string/strnlen.c: Define and use STRNLEN macro.
81454 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
81455 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
81456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
81457 * wcsmbs/wcslen.c: Define and use WCSLEN.
81458 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
81459 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
81460 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
81461 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
81462 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
81463 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
81464 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81465
81466 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81467
81468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81469 strnlen-sse2-no-bsf.
81470 Rename strlen-no-bsf to strlen-sse2-no-bsf.
81471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
81472 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
81473 Add strnlen support.
81474 (USE_AS_STRNLEN): New macro.
81475 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
81476 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
81477 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
81478 * sysdeps/x86_64/wcslen.S: New file.
81479
81480 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
81481
81482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81483 XMM-moves are used for copying on small sizes.
81484
81485 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81486
81487 * wcsmbs/Makefile (strop-tests): Add wcschr.
81488 * wcsmbs/test-wcschr.c: New file.
81489 * string/test-strchr.c: Update.
81490 Add wcschr support.
81491 (WIDE): New macro.
81492
81493 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81494
81495 * wcsmbs/Makefile (strop-tests): Add wcslen.
81496 * wcsmbs/test-wcslen.c: New file.
81497 * string/test-strlen.c: Update.
81498 Add wcslen support.
81499 (WIDE): New macro.
81500
81501 2011-10-23 Ulrich Drepper <drepper@gmail.com>
81502
81503 * po/it.po: Update from translation team.
81504
81505 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81506
81507 * sysdeps/x86_64/wcscmp.S: Update.
81508 Fix wrong comparison semantics.
81509 wcscmp shall use signed comparison not unsigned.
81510 Don't use substraction to avoid overflow bug.
81511 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
81512 * wcsmbc/wcscmp.c: Likewise.
81513 * string/test-strcmp.c: Likewise.
81514 Add new tests to check cases with negative values.
81515
81516 2011-10-23 Ulrich Drepper <drepper@gmail.com>
81517
81518 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
81519 * sysdeps/x86_64/dla.h: ...here. New file.
81520 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
81521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81525 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81529
81530 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
81531
81532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
81533 __ynl_finite aliases.
81534
81535 2011-10-22 Ulrich Drepper <drepper@gmail.com>
81536
81537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81538
81539 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
81540 define DLA_FMA.
81541 [DLA_FMA] (EMULV): Use DLA_FMA.
81542 [DLA_FMA] (MUL12): Use EMULV.
81543 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
81544 that are not needed.
81545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81552
81553 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
81554
81555 * math/s_nan.c: Undef __nan.
81556 * math/s_nanf.c: Undef __nanf.
81557 * math/s_nanl.c: Undef __nanl.
81558 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
81559 "math_private.h".
81560
81561 2011-10-22 Ulrich Drepper <drepper@gmail.com>
81562
81563 * math/s_catan.c: Add branch predictions.
81564 * math/s_catanf.c: Likewise.
81565 * math/s_catanh.c: Likewise.
81566 * math/s_catanhf.c: Likewise.
81567 * math/s_catanhl.c: Likewise.
81568 * math/s_catanl.c: Likewise.
81569 * math/s_cexp.c: Likewise.
81570 * math/s_cexpf.c: Likewise.
81571 * math/s_cexpl.c: Likewise.
81572 * math/s_clog.c: Likewise.
81573 * math/s_clog10.c: Likewise.
81574 * math/s_clog10f.c: Likewise.
81575 * math/s_clog10l.c: Likewise.
81576 * math/s_clogf.c: Likewise.
81577 * math/s_clogl.c: Likewise.
81578 * math/s_csqrt.c: Likewise.
81579 * math/s_csqrtf.c: Likewise.
81580 * math/s_csqrtl.c: Likewise.
81581 * math/s_ctanf.c: Likewise.
81582 * math/s_ctanh.c: Likewise.
81583 * math/s_ctanhf.c: Likewise.
81584 * math/s_ctanhl.c: Likewise.
81585 * math/s_ctanl.c: Likewise.
81586
81587 * math/math_private.h: Define __nan, __nanf, __nanl.
81588 * math/s_cacosh.c: Include <math_private.h>.
81589 * math/s_cacoshl.c: Likewise.
81590 * math/s_casinh.c: Likewise.
81591 * math/s_casinhf.c: Likewise.
81592 * math/s_casinhl.c: Likewise.
81593 * math/s_ccos.c: Rely entire on ccosh.
81594 * math/s_ccosf.c: Rely entire on ccoshf.
81595 * math/s_ccosl.c: Rely entirely on ccoshl.
81596 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
81597 Remove tests for FE_INVALID.
81598 * math/s_ccoshf.c: Likewise.
81599 * math/s_ccoshl.c: Likewise.
81600 * math/s_csin.c: Likewise.
81601 * math/s_csinf.c: Likewise.
81602 * math/s_csinh.c Likewise.
81603 * math/s_csinhf.c: Likewise.
81604 * math/s_csinhl.c: Likewise.
81605 * math/s_csinl.c: Likewise.
81606 * math/s_ctan.c: Likewise.
81607 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
81608 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
81609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
81610
81611 2011-10-21 Ulrich Drepper <drepper@gmail.com>
81612
81613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
81614 compilation problems.
81615
81616 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
81617 __builtin_expect.
81618
81619 2011-10-20 Ulrich Drepper <drepper@gmail.com>
81620
81621 * sysdeps/i386/configure.in: Test for -mfma4 option.
81622 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
81623 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
81624 COMMON_CPUID_INDEX_80000001.
81625 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
81626 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
81627 use it if FMA3 is not supported.
81628 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
81629
81630 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
81631 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81632
81633 2011-10-20 Andreas Schwab <schwab@redhat.com>
81634
81635 [BZ #12892]
81636 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
81637 it would create a cycle with a link time dependency.
81638
81639 2011-10-19 Ulrich Drepper <drepper@gmail.com>
81640
81641 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
81642 instruction.
81643 * string/Makefile (strop-tests): Add rawmemchr.
81644 * string/test-rawmemchr.c: New file.
81645
81646 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
81647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
81648 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
81649 when compiling str{,n}casecmp and when AVX is available. Hook up
81650 new optimized code in initializers.
81651
81652 2011-10-19 Andreas Schwab <schwab@redhat.com>
81653
81654 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
81655 __feraiseexcept instead of feraiseexcept.
81656
81657 2011-10-18 Ulrich Drepper <drepper@gmail.com>
81658
81659 * math/math_private.h: Define defaults for libc_fetestexcept and
81660 libc_feupdateenv.
81661 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
81662 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
81663 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81664 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81665 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81666 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81667 libc_fetestexcept and libc_feupdateenv.
81668
81669 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
81670 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
81671 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
81672 * sysdeps/x86_64/fpu/math_private.h: Define special version of
81673 libc_feholdexcept_setround.
81674
81675 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
81676 Add s_nearbyint-c and s_nearbyintf-c.
81677 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
81678 nearbyintf inlines.
81679 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
81680 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
81681 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
81682 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
81683
81684 * math/math_private.h: Define defaults for libc_fegetround,
81685 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
81686 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
81687 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
81688 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
81689 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
81690 standard functions.
81691 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81692 Remove comments and hacks for old compiler versions.
81693 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81694 libc_fegetround, libc_fesetround, libc_feholdexcept, and
81695 libc_feholdexceptl.
81696
81697 2011-10-18 Andreas Schwab <schwab@redhat.com>
81698
81699 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
81700 (__feraiseexcept_renamed): Add __NTH.
81701 (feraiseexcept): Add __NTH. Rename local variables to fix
81702 namespace violations.
81703
81704 2011-10-17 Ulrich Drepper <drepper@gmail.com>
81705
81706 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
81707
81708 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
81709
81710 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
81711 recently added interfaces.
81712 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
81713
81714 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
81715 about macro parameter expansion.
81716
81717 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
81718 __NO_MATH_INLINES is defined. Cleanups.
81719
81720 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
81721 and __floorf is target has SSE4.1.
81722 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
81723 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
81724 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
81725 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
81726
81727 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
81728 name.
81729 (floorf): Likewise.
81730
81731 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
81732
81733 2011-10-17 Andreas Schwab <schwab@redhat.com>
81734
81735 * misc/sys/cdefs.h: Fix last change.
81736
81737 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
81738 database lookup.
81739
81740 2011-10-16 Ulrich Drepper <drepper@gmail.com>
81741
81742 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
81743
81744 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
81745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81746 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81747 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81748 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81749 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81750 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81752 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81753 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
81754 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
81755 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
81756 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
81757 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
81758 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
81759 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
81760 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
81761 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
81762 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
81763 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
81764 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
81765 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
81766
81767 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
81768 ceil, ceilf, floor, floorf.
81769
81770 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
81771 Perform IRELATIVE relocations last.
81772
81773 * elf/do-rel.h: Add another parameter nrelative, replacing the
81774 local variable with the same name. Change name of the function
81775 to end in Rel or Rela (uppercase).
81776 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
81777 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
81778 elf_dynamic_do_##reloc function.
81779
81780 2011-10-15 Ulrich Drepper <drepper@gmail.com>
81781
81782 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
81783 is sufficient, at least on modern CPUs.
81784
81785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
81786
81787 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
81788 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
81789
81790 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
81791 __expl_finite.
81792 * math/bits/math-finite.h: Add entries for exp.
81793 * math/e_expl.c: Add __*_finite alias.
81794 * sysdeps/i386/fpu/e_exp.S: Likewise.
81795 * sysdeps/i386/fpu/e_expf.S: Likewise.
81796 * sysdeps/i386/fpu/e_expl.c: Likewise.
81797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81798 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81799 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
81800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
81801 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
81802 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81803 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81804
81805 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
81806 is sufficient, at least on modern CPUs.
81807
81808 * ctype/ctype-info.c (__ctype_init): Define.
81809 * include/ctype.h (__ctype_init): Declare.
81810 (__ctype_b_loc): The variable is always initialized.
81811 (__ctype_toupper_loc): Likewise.
81812 (__ctype_tolower_loc): Likewise.
81813 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
81814 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
81815
81816 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
81817
81818 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
81819
81820 * configure.in: Also look in $cxxmachine/include for C++ system
81821 headers.
81822
81823 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81824
81825 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
81826 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
81827 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
81828 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
81829 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
81830 (USE_AS_WMEMCMP): New macro.
81831 Fixing indents.
81832 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
81833 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
81834 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
81835 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
81836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81837 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
81838 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
81839 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
81840 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
81841 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
81842 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
81843 (USE_AS_WMEMCMP): New macro.
81844 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
81845 * sysdeps/string/test-memcmp.c: Update.
81846 Fix simple_wmemcmp.
81847 Add new tests.
81848 * wcsmbs/wmemcmp.c: Update.
81849 (WMEMCMP): New macro.
81850 Fix overflow bug.
81851
81852 2011-10-12 Andreas Jaeger <aj@suse.de>
81853
81854 [BZ #13268]
81855 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
81856
81857 2011-10-15 Ulrich Drepper <drepper@gmail.com>
81858
81859 * libio/iofwide.c (do_length): Avoid warning.
81860
81861 * ctype/ctype.h (__isctype_f): Add missing __THROW.
81862
81863 2011-10-14 Ulrich Drepper <drepper@gmail.com>
81864
81865 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
81866
81867 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
81868 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
81869 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
81870 * sysdeps/i386/i686/fpu/e_log.S: New file.
81871 * sysdeps/i386/i686/fpu/e_logf.S: New file.
81872 * sysdeps/i386/i686/fpu/e_logl.S: New file.
81873
81874 * ctype/ctype.h: Add support for inlined isXXX functions when
81875 compiling C++ code.
81876
81877 2011-10-14 Andreas Schwab <schwab@redhat.com>
81878
81879 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81880
81881 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
81882
81883 2011-10-13 Roland McGrath <roland@hack.frob.com>
81884
81885 [BZ #13291]
81886 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
81887
81888 2011-10-13 Andreas Schwab <schwab@redhat.com>
81889
81890 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
81891 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
81892 feraiseexcept.
81893
81894 * sysdeps/x86_64/memrchr.S: Check for zero size.
81895
81896 * string/stratcliff.c: Add memrchr tests.
81897
81898 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81899
81900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81901 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
81902 rawmemchr-sse2 rawmemchr-sse2-bsf.
81903 * sysdeps/i386/i686/multiarch/memchr.S: New file.
81904 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
81905 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
81906 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
81907 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
81908 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
81909 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
81910 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
81911 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
81912 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
81913 * string/memrchr.c (MEMRCHR): New macro.
81914
81915 2011-10-12 Ulrich Drepper <drepper@gmail.com>
81916
81917 Add integration with gcc's -ffinite-math-only and optimize wrapper
81918 functions in libm.
81919 * Versions.def: Define GLIBC_2.15 version for libm.
81920 * math/Makefile (headers): Add bits/math-finite.h.
81921 * math/bits/math-finite.h: New file.
81922 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
81923 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
81924 * math/e_acoshl.c: Add __*_finite alias.
81925 * math/e_acosl.c: Likewise.
81926 * math/e_asinl.c: Likewise.
81927 * math/e_atan2l.c: Likewise.
81928 * math/e_atanhl.c: Likewise.
81929 * math/e_coshl.c: Likewise.
81930 * math/e_exp10.c: Likewise.
81931 * math/e_exp10f.c: Likewise.
81932 * math/e_exp10l.c: Likewise.
81933 * math/e_exp2l.c: Likewise.
81934 * math/e_fmodl.c: Likewise.
81935 * math/e_gammal_r.c: Likewise.
81936 * math/e_hypotl.c: Likewise.
81937 * math/e_j0l.c: Likewise.
81938 * math/e_j1l.c: Likewise.
81939 * math/e_jnl.c: Likewise.
81940 * math/e_lgammal_r.c: Likewise.
81941 * math/e_log10l.c: Likewise.
81942 * math/e_log2l.c: Likewise.
81943 * math/e_logl.c: Likewise.
81944 * math/e_powl.c: Likewise.
81945 * math/e_sinhl.c: Likewise.
81946 * math/e_sqrtl.c: Likewise.
81947 * math/e_scalb.c: Completely rewritten and optimized.
81948 * math/e_scalbf.c: Likewise.
81949 * math/e_scalbl.c: Likewise.
81950 * math/w_acos.c: Likewise.
81951 * math/w_acosf.c: Likewise.
81952 * math/w_acosl.c: Likewise.
81953 * math/w_acosh.c: Likewise.
81954 * math/w_acoshf.c: Likewise.
81955 * math/w_acoshl.c: Likewise.
81956 * math/w_asin.c: Likewise.
81957 * math/w_asinf.c: Likewise.
81958 * math/w_asinl.c: Likewise.
81959 * math/w_atan2.c: Likewise.
81960 * math/w_atan2f.c: Likewise.
81961 * math/w_atan2l.c: Likewise.
81962 * math/w_atanh.c: Likewise.
81963 * math/w_atanhf.c: Likewise.
81964 * math/w_atanhl.c: Likewise.
81965 * math/w_exp10.c: Likewise.
81966 * math/w_exp10f.c: Likewise.
81967 * math/w_exp10l.c: Likewise.
81968 * math/w_fmod.c: Likewise.
81969 * math/w_fmodf.c: Likewise.
81970 * math/w_fmodl.c: Likewise.
81971 * math/w_j0.c: Likewise.
81972 * math/w_j0f.c: Likewise.
81973 * math/w_j0l.c: Likewise.
81974 * math/w_j1.c: Likewise.
81975 * math/w_j1f.c: Likewise.
81976 * math/w_j1l.c: Likewise.
81977 * math/w_jn.c: Likewise.
81978 * math/w_jnf.c: Likewise.
81979 * math/w_log.c: Likewise.
81980 * math/w_logf.c: Likewise.
81981 * math/w_logl.c: Likewise.
81982 * math/w_log10.c: Likewise.
81983 * math/w_log10f.c: Likewise.
81984 * math/w_log10l.c: Likewise.
81985 * math/w_log2.c: Likewise.
81986 * math/w_log2f.c: Likewise.
81987 * math/w_log2l.c: Likewise.
81988 * math/w_pow.c: Likewise.
81989 * math/w_powf.c: Likewise.
81990 * math/w_powl.c: Likewise.
81991 * math/w_remainder.c: Likewise.
81992 * math/w_remainderf.c: Likewise.
81993 * math/w_remainderl.c: Likewise.
81994 * math/w_scalb.c: Likewise.
81995 * math/w_scalbf.c: Likewise.
81996 * math/w_scalbl.c: Likewise.
81997 * math/w_sqrt.c: Likewise.
81998 * math/w_sqrtf.c: Likewise.
81999 * math/w_sqrtl.c: Likewise.
82000 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82001 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
82002 used.
82003 * math/math_private.h: Declare __kernel_standard_f.
82004 * math/w_cosh.c: Remove cruft and optimize a bit.
82005 * math/w_coshf.c: Likewise.
82006 * math/w_coshl.c: Likewise.
82007 * math/w_exp2.c: Likewise.
82008 * math/w_exp2f.c: Likewise.
82009 * math/w_exp2l.c: Likewise.
82010 * math/w_hypot.c: Likewise.
82011 * math/w_hypotf.c: Likewise.
82012 * math/w_hypotl.c: Likewise.
82013 * math/w_lgamma.c: Likewise.
82014 * math/w_lgamma_r.c: Likewise.
82015 * math/w_lgammaf.c: Likewise.
82016 * math/w_lgammaf_r.c: Likewise.
82017 * math/w_lgammal.c: Likewise.
82018 * math/w_lgammal_r.c: Likewise.
82019 * math/w_sinh.c: Likewise.
82020 * math/w_sinhf.c: Likewise.
82021 * math/w_sinhl.c: Likewise.
82022 * math/w_tgamma.c: Likewise.
82023 * math/w_tgammaf.c: Likewise.
82024 * math/w_tgammal.c: Likewise.
82025 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82027 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82028 Minor optimizations. Pretty printing. Remove cruft.
82029 * sysdeps/i386/fpu/e_acosf.S: Likewise.
82030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
82031 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82032 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82033 * sysdeps/i386/fpu/e_acosl.c: Likewise.
82034 * sysdeps/i386/fpu/e_asin.S: Likewise.
82035 * sysdeps/i386/fpu/e_asinf.S: Likewise.
82036 * sysdeps/i386/fpu/e_atan2.S: Likewise.
82037 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82038 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82039 * sysdeps/i386/fpu/e_atanh.S: Likewise.
82040 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82042 * sysdeps/i386/fpu/e_exp10.S: Likewise.
82043 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82044 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82045 * sysdeps/i386/fpu/e_exp2.S: Likewise.
82046 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82047 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82048 * sysdeps/i386/fpu/e_fmod.S: Likewise.
82049 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82050 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82051 * sysdeps/i386/fpu/e_hypot.S: Likewise.
82052 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82053 * sysdeps/i386/fpu/e_log.S: Likewise.
82054 * sysdeps/i386/fpu/e_log10.S: Likewise.
82055 * sysdeps/i386/fpu/e_log10f.S: Likewise.
82056 * sysdeps/i386/fpu/e_log10l.S: Likewise.
82057 * sysdeps/i386/fpu/e_log2.S: Likewise.
82058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
82059 * sysdeps/i386/fpu/e_log2l.S: Likewise.
82060 * sysdeps/i386/fpu/e_logf.S: Likewise.
82061 * sysdeps/i386/fpu/e_logl.S: Likewise.
82062 * sysdeps/i386/fpu/e_pow.S: Likewise.
82063 * sysdeps/i386/fpu/e_powf.S: Likewise.
82064 * sysdeps/i386/fpu/e_powl.S: Likewise.
82065 * sysdeps/i386/fpu/e_remainder.S: Likewise.
82066 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82067 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82068 * sysdeps/i386/fpu/e_scalb.S: Likewise.
82069 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82070 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82071 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82072 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82073 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82074 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82077 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82078 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82079 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82081 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82082 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82083 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82084 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82085 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82088 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82091 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82094 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82095 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82098 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82099 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82100 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82101 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82102 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82103 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82105 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82107 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82108 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82109 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82110 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82111 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82112 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82113 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82114 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82115 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82123 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82124 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82125 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82128 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82129 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82130 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82131 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82132 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82142 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82143 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82151 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82152 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82153 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82155 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82158 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82159 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82161 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82162 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82163 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82164 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82165 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82166 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82167 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82168 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82169 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82170 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82171 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82172 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82173 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82174 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82175 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82176 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82177 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82178 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82179 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82180 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82181 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82182 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82183 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82184 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
82185 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82186 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82187 (__isnanf): Likewise.
82188 (__isinf_ns): Likewise.
82189 (__isinf_nsf): Likewise.
82190 (__finite): Likewise.
82191 (__finitef): Likewise.
82192 (__ieee754_sqrt): Define as macro.
82193 (__ieee754_sqrtf): Define as macro.
82194 (__ieee754_sqrtl): Define as macro.
82195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82196 inlined copy.
82197 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82198 __FINITE_MATH_ONLY__ consistent.
82199 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82200
82201 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
82202
82203 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82204 of rawmemchr.
82205
82206 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82207
82208 2011-10-09 Ulrich Drepper <drepper@gmail.com>
82209
82210 * po/ja.po: Update from translation team.
82211
82212 2011-10-08 Roland McGrath <roland@hack.frob.com>
82213
82214 * locale/programs/locarchive.c (prepare_address_space): New function.
82215 (create_archive, enlarge_archive, open_archive): Use it.
82216
82217 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82218 inside [SHARED], where it is used.
82219
82220 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82221
82222 * nss/getent.c (netgroup_keys): Remove unused variable.
82223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82224
82225 2011-10-08 Ulrich Drepper <drepper@gmail.com>
82226
82227 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82228 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82231 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82232 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82233 * math/Makefile (libm-calls): Add s_isinf_ns.
82234 * math/divtc3.c: Use __isinf_nsl instead of isinf.
82235 * math/multc3.c: Likewise.
82236 * math/s_casin.c: Likewise.
82237 * math/s_casinf.c: Likewise.
82238 * math/s_casinl.c: Likewise.
82239 * math/s_ccos.c: Likewise.
82240 * math/s_ccosf.c: Likewise.
82241 * math/s_ccosl.c: Likewise.
82242 * math/s_ctan.c: Likewise.
82243 * math/s_ctanf.c: Likewise.
82244 * math/s_ctanh.c: Likewise.
82245 * math/s_ctanhf.c: Likewise.
82246 * math/s_ctanhl.c: Likewise.
82247 * math/s_ctanl.c: Likewise.
82248 * math/w_fmod.c: Likewise.
82249 * math/w_fmodf.c: Likewise.
82250 * math/w_fmodl.c: Likewise.
82251 * math/w_remainder.c: Likewise.
82252 * math/w_remainderf.c: Likewise.
82253 * math/w_remainderl.c: Likewise.
82254 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82255 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82256 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82258 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82259 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82260 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82261 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82262
82263 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82264 of the number.
82265 * stdio-common/printf_fphex.c: Likewise.
82266 * stdio-common/printf_size.c: Likewise.
82267
82268 * math/e_exp10.c: Include math_private.h using <...> not "...".
82269 * math/e_exp10f.c: Likewise.
82270 * math/e_exp10l.c: Likewise.
82271 * math/e_exp2l.c: Likewise.
82272 * math/e_j0l.c: Likewise.
82273 * math/e_j1l.c: Likewise.
82274 * math/e_jnl.c: Likewise.
82275 * math/e_lgammal_r.c: Likewise.
82276 * math/e_rem_pio2l.c: Likewise.
82277 * math/e_scalb.c: Likewise.
82278 * math/e_scalbf.c: Likewise.
82279 * math/e_scalbl.c: Likewise.
82280 * math/k_cosl.c: Likewise.
82281 * math/k_sinl.c: Likewise.
82282 * math/k_tanl.c: Likewise.
82283 * math/s_cacoshf.c: Likewise.
82284 * math/s_catan.c: Likewise.
82285 * math/s_catanf.c: Likewise.
82286 * math/s_catanh.c: Likewise.
82287 * math/s_catanhf.c: Likewise.
82288 * math/s_catanhl.c: Likewise.
82289 * math/s_catanl.c: Likewise.
82290 * math/s_ccosh.c: Likewise.
82291 * math/s_ccoshf.c: Likewise.
82292 * math/s_ccoshl.c: Likewise.
82293 * math/s_cexp.c: Likewise.
82294 * math/s_cexpf.c: Likewise.
82295 * math/s_cexpl.c: Likewise.
82296 * math/s_clog.c: Likewise.
82297 * math/s_clog10.c: Likewise.
82298 * math/s_clog10f.c: Likewise.
82299 * math/s_clog10l.c: Likewise.
82300 * math/s_clogf.c: Likewise.
82301 * math/s_clogl.c: Likewise.
82302 * math/s_csin.c: Likewise.
82303 * math/s_csinf.c: Likewise.
82304 * math/s_csinh.c: Likewise.
82305 * math/s_csinhf.c: Likewise.
82306 * math/s_csinhl.c: Likewise.
82307 * math/s_csinl.c: Likewise.
82308 * math/s_csqrt.c: Likewise.
82309 * math/s_csqrtf.c: Likewise.
82310 * math/s_csqrtl.c: Likewise.
82311 * math/s_ctan.c: Likewise.
82312 * math/s_ctanf.c: Likewise.
82313 * math/s_ctanh.c: Likewise.
82314 * math/s_ctanhf.c: Likewise.
82315 * math/s_ctanhl.c: Likewise.
82316 * math/s_ctanl.c: Likewise.
82317 * math/s_ldexp.c: Likewise.
82318 * math/s_ldexpf.c: Likewise.
82319 * math/s_ldexpl.c: Likewise.
82320 * math/s_significand.c: Likewise.
82321 * math/s_significandf.c: Likewise.
82322 * math/s_significandl.c: Likewise.
82323 * math/w_acos.c: Likewise.
82324 * math/w_acosf.c: Likewise.
82325 * math/w_acosh.c: Likewise.
82326 * math/w_acoshf.c: Likewise.
82327 * math/w_acoshl.c: Likewise.
82328 * math/w_acosl.c: Likewise.
82329 * math/w_asin.c: Likewise.
82330 * math/w_asinf.c: Likewise.
82331 * math/w_asinl.c: Likewise.
82332 * math/w_atan2.c: Likewise.
82333 * math/w_atan2f.c: Likewise.
82334 * math/w_atan2l.c: Likewise.
82335 * math/w_atanh.c: Likewise.
82336 * math/w_atanhf.c: Likewise.
82337 * math/w_atanhl.c: Likewise.
82338 * math/w_cosh.c: Likewise.
82339 * math/w_coshf.c: Likewise.
82340 * math/w_coshl.c: Likewise.
82341 * math/w_dremf.c: Likewise.
82342 * math/w_exp10.c: Likewise.
82343 * math/w_exp10f.c: Likewise.
82344 * math/w_exp10l.c: Likewise.
82345 * math/w_exp2.c: Likewise.
82346 * math/w_exp2f.c: Likewise.
82347 * math/w_fmod.c: Likewise.
82348 * math/w_fmodf.c: Likewise.
82349 * math/w_fmodl.c: Likewise.
82350 * math/w_hypot.c: Likewise.
82351 * math/w_hypotf.c: Likewise.
82352 * math/w_hypotl.c: Likewise.
82353 * math/w_j0.c: Likewise.
82354 * math/w_j0f.c: Likewise.
82355 * math/w_j0l.c: Likewise.
82356 * math/w_j1.c: Likewise.
82357 * math/w_j1f.c: Likewise.
82358 * math/w_j1l.c: Likewise.
82359 * math/w_jn.c: Likewise.
82360 * math/w_jnf.c: Likewise.
82361 * math/w_jnl.c: Likewise.
82362 * math/w_lgamma.c: Likewise.
82363 * math/w_lgamma_r.c: Likewise.
82364 * math/w_lgammaf.c: Likewise.
82365 * math/w_lgammaf_r.c: Likewise.
82366 * math/w_lgammal.c: Likewise.
82367 * math/w_lgammal_r.c: Likewise.
82368 * math/w_log.c: Likewise.
82369 * math/w_log10.c: Likewise.
82370 * math/w_log10f.c: Likewise.
82371 * math/w_log10l.c: Likewise.
82372 * math/w_log2.c: Likewise.
82373 * math/w_log2f.c: Likewise.
82374 * math/w_log2l.c: Likewise.
82375 * math/w_logf.c: Likewise.
82376 * math/w_logl.c: Likewise.
82377 * math/w_pow.c: Likewise.
82378 * math/w_powf.c: Likewise.
82379 * math/w_powl.c: Likewise.
82380 * math/w_remainder.c: Likewise.
82381 * math/w_remainderf.c: Likewise.
82382 * math/w_remainderl.c: Likewise.
82383 * math/w_scalb.c: Likewise.
82384 * math/w_scalbf.c: Likewise.
82385 * math/w_scalbl.c: Likewise.
82386 * math/w_sinh.c: Likewise.
82387 * math/w_sinhf.c: Likewise.
82388 * math/w_sinhl.c: Likewise.
82389 * math/w_sqrt.c: Likewise.
82390 * math/w_sqrtf.c: Likewise.
82391 * math/w_sqrtl.c: Likewise.
82392 * math/w_tgamma.c: Likewise.
82393 * math/w_tgammaf.c: Likewise.
82394 * math/w_tgammal.c: Likewise.
82395
82396 * po/ja.po: Update from translation team.
82397
82398 2011-09-29 Andreas Jaeger <aj@suse.de>
82399
82400 [BZ #13179]
82401 * sunrpc/netname.c (netname2host): Fix logic.
82402
82403 [BZ #6779]
82404 [BZ #6783]
82405 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
82406 correctly.
82407 * math/w_remainder.c (__remainder): Likewise.
82408 * math/w_remainderf.c (__remainderf): Likewise.
82409 * math/libm-test.inc (remainder_test): Add test cases.
82410
82411 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82412
82413 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
82414 sdiv_qrnnd.
82415
82416 2011-10-07 Ulrich Drepper <drepper@gmail.com>
82417
82418 * string/test-memcmp.c: Avoid unncessary #defines.
82419 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82420
82421 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82422
82423 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
82424 Use new sse2 version for core i3 - i7 as it's faster
82425 than sse42 version.
82426 (bit_Prefer_PMINUB_for_stringop): New.
82427 * sysdeps/x86_64/rawmemchr.S: Update.
82428 Replace with faster SSE2 version.
82429 * sysdeps/x86_64/memrchr.S: New file.
82430 * sysdeps/x86_64/memchr.S: Update.
82431 Replace with faster SSE2 version.
82432
82433 2011-09-12 Marek Polacek <mpolacek@redhat.com>
82434
82435 * elf/dl-load.c (lose): Add cast to avoid warning.
82436
82437 2011-10-07 Ulrich Drepper <drepper@gmail.com>
82438
82439 * po/ca.po: Update from translation team.
82440
82441 * inet/getnetgrent_r.c: Hook up nscd.
82442 * nscd/Makefile (routines): Add nscd_netgroup.
82443 (nscd-modules): Add netgroupcache.
82444 (CFLAGS-netgroupcache.c): Define.
82445 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
82446 (cache_search): Add const to second parameter.
82447 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
82448 INNETGR.
82449 (dbs): Add netgrdb entry.
82450 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
82451 (verify_persistent_db): Handle netgrdb.
82452 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
82453 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
82454 GETFDNETGR.
82455 (netgroup_response_header): Define.
82456 (innetgroup_response_header): Define.
82457 (datahead): Add netgroup_response_header and innetgroup_response_header
82458 elements.
82459 * nscd/nscd.conf: Add entries for netgroup cache.
82460 * nscd/nscd.h (dbtype): Add netgrdb.
82461 (_PATH_NSCD_NETGROUP_DB): Define.
82462 (netgroup_iov_disabled): Declare.
82463 (xmalloc, xcalloc, xrealloc): Move declarations here.
82464 (cache_search): Adjust prototype.
82465 Add netgroup-related prototypes.
82466 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
82467 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
82468 (__nscd_innetgr): Declare.
82469 * nscd/selinux.c (perms): Use access_vector_t as element type and
82470 add netgroup-related initializers.
82471 * nscd/netgroupcache.c: New file.
82472 * nscd/nscd_netgroup.c: New file.
82473 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
82474 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
82475 For four parameters use innetgr.
82476 * nss/nss_files/files-init.c: Add definition and callback for netgr.
82477 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
82478 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
82479 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
82480
82481 * nscd/connections.c (register_traced_file): Don't register file
82482 for disabled databases.
82483
82484 2011-10-06 Ulrich Drepper <drepper@gmail.com>
82485
82486 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
82487
82488 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
82489 from tree and freeing node.
82490
82491 2011-09-25 Jiri Olsa <jolsa@redhat.com>
82492
82493 * nss/nsswitch.c (__nss_database_lookup): Handle
82494 nss_parse_service_list out of memory case.
82495
82496 2011-09-15 Jiri Olsa <jolsa@redhat.com>
82497
82498 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
82499 out of memory case.
82500
82501 2011-10-04 Andreas Schwab <schwab@redhat.com>
82502
82503 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
82504 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
82505 pass it down.
82506 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
82507 elf_machine_rela, elf_machine_lazy_rel.
82508 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
82509 (ELF_DYNAMIC_DO_REL): Likewise.
82510 (ELF_DYNAMIC_DO_RELA): Likewise.
82511 (ELF_DYNAMIC_RELOCATE): Likewise.
82512 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
82513 to ELF_DYNAMIC_DO_REL.
82514 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
82515 (dl_main): In trace mode always set __RTLD_NOIFUNC.
82516 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
82517 elf_machine_rela.
82518 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
82519 skip_ifunc, don't call ifunc function if non-zero.
82520 (elf_machine_rela): Likewise.
82521 (elf_machine_lazy_rel): Likewise.
82522 (elf_machine_lazy_rela): Likewise.
82523 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
82524 (elf_machine_lazy_rel): Likewise.
82525 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
82526 Likewise.
82527 (elf_machine_lazy_rel): Likewise.
82528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82529 Likewise.
82530 (elf_machine_lazy_rel): Likewise.
82531 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
82532 (elf_machine_lazy_rel): Likewise.
82533 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
82534 (elf_machine_lazy_rel): Likewise.
82535 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
82536 (elf_machine_lazy_rel): Likewise.
82537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
82538 (elf_machine_lazy_rel): Likewise.
82539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
82540 (elf_machine_lazy_rel): Likewise.
82541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
82542 (elf_machine_lazy_rel): Likewise.
82543
82544 2011-09-28 Ulrich Drepper <drepper@gmail.com>
82545
82546 * nss/nss_files/files-init.c (_nss_files_init): Use static
82547 initialization for all the *_traced_file variables.
82548
82549 2011-09-28 Andreas Schwab <schwab@redhat.com>
82550
82551 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82552
82553 2011-09-27 Roland McGrath <roland@hack.frob.com>
82554
82555 [BZ #13226]
82556 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
82557
82558 2011-09-27 Andreas Schwab <schwab@redhat.com>
82559
82560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82561 Reread the line before reparsing it.
82562
82563 2011-09-26 Andreas Schwab <schwab@redhat.com>
82564
82565 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
82566
82567 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
82568 Maxim Kuvyrkov <maxim@codesourcery.com>
82569 Joseph Myers <joseph@codesourcery.com>
82570
82571 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
82572 if needed for __stack_chk_guard.
82573
82574 2011-09-19 Roland McGrath <roland@hack.frob.com>
82575
82576 * sysdeps/posix/spawni.c (script_execute): Always define it.
82577 It will be optimized away if unused.
82578 (maybe_script_execute): New function.
82579 (__spawni): Call it.
82580
82581 * Makerules: Don't include tls.make.
82582 (config-tls): Always set to thread.
82583 * tls.make.c: File removed.
82584
82585 2011-09-19 Mike Frysinger <vapier@gentoo.org>
82586
82587 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
82588 * config.make.in (CPPFLAGS-config): New substituted variable.
82589
82590 2011-09-15 Ulrich Drepper <drepper@gmail.com>
82591
82592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
82593
82594 [BZ #13192]
82595 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
82596 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
82597
82598 2011-09-15 Roland McGrath <roland@hack.frob.com>
82599
82600 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
82601 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
82602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82603 (CALL_FAIL): Likewise.
82604 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
82605 (CALL_FAIL): Macro removed.
82606 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
82607
82608 2011-09-15 Ulrich Drepper <drepper@gmail.com>
82609
82610 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
82611 for __FINITE_MATH_ONLY__ == 1.
82612
82613 2011-09-15 Andreas Schwab <schwab@redhat.com>
82614
82615 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
82616 __ieee754_sqrt instead of sqrt.
82617 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
82618 __ieee754_sqrtf instead of sqrtf.
82619 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
82620 __floorf instead of floorf.
82621 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
82622 __floorf, __truncf instead of floorf, truncf.
82623
82624 2011-09-14 Ulrich Drepper <drepper@gmail.com>
82625
82626 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
82627
82628 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
82629 __extern_always_inline.
82630 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
82631 32-bit.
82632
82633 2011-09-14 Andreas Schwab <schwab@redhat.com>
82634
82635 * elf/rtld.c (dl_main): Also relocate in dependency order when
82636 doing symbol dependency testing.
82637
82638 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
82639
82640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82641 Always define `refsym'.
82642
82643 2011-09-13 Andreas Schwab <schwab@redhat.com>
82644
82645 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
82646 (__FD_ELT): Renamed from __FDELT.
82647 * misc/bits/select2.h (__FD_ELT): Likewise.
82648 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
82649 __FD_MASK instead of __FDELT, __FDMASK.
82650 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82651 Likewise.
82652 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82653 Likewise.
82654
82655 * elf/Makefile (gen-ldd): Fix pattern.
82656
82657 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
82658 (init_tls): Likewise.
82659
82660 2011-09-12 Ulrich Drepper <drepper@gmail.com>
82661
82662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
82663
82664 2011-09-12 Andreas Schwab <schwab@redhat.com>
82665
82666 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
82667 `struct cmsghdr *' instead of `void *'.
82668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
82669 Likewise.
82670
82671 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
82672
82673 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
82674 if non-absolute.
82675 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
82676 ldd_rewrite_script.
82677
82678 2011-09-11 Ulrich Drepper <drepper@gmail.com>
82679
82680 * configure.in: Remove --with-tls option.
82681 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
82682 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
82683 out in case it is missing.
82684 * sysdeps/ia64/elf/configure.in: Likewise.
82685 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
82686 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
82687 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
82688 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
82689 * sysdeps/sh/elf/configure.in: Likewise.
82690 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
82691 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82692 * sysdeps/x86_64/elf/configure.in: Likewise.
82693 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
82694 * sysdeps/mach/hurd/tls.h: Likewise.
82695
82696 [BZ #13067]
82697 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
82698
82699 [BZ #13090]
82700 * configure.in: Fix use of AC_INIT.
82701
82702 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
82703
82704 2011-09-10 Ulrich Drepper <drepper@gmail.com>
82705
82706 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
82707 __set_errno.
82708 * malloc/hooks.c: Likewise.
82709
82710 [BZ #11929]
82711 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
82712 variables statically.
82713 (narenas): Initialize.
82714 (list_lock): Initialize.
82715 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
82716 initializtion of main_arena and list_lock. Small cleanups.
82717 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
82718 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
82719 Add initializers to main_arena and mp_.
82720 (malloc_state): Remove pagesize member. Change all users to use
82721 GLRO(dl_pagesize).
82722
82723 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
82724 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
82725 is always initialized.
82726
82727 * malloc/malloc.c: Removed unused configurations and dead code.
82728 * malloc/arena.c: Likewise.
82729 * malloc/hooks.c: Likewise.
82730 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
82731
82732 * include/tls.h: Removed. USE___THREAD must always be defined.
82733 * bits/libc-tsd.h: Don't handle !USE___THREAD.
82734 * elf/dl-libc.c: Likewise.
82735 * elf/dl-tsd.c: Likewise.
82736 * include/errno.h: Likewise.
82737 * include/netdb.h: Likewise.
82738 * include/resolv.h: Likewise.
82739 * inet/herrno-loc.c: Likewise.
82740 * inet/herrno.c: Likewise.
82741 * malloc/arena.c: Likewise.
82742 * malloc/hooks.c: Likewise.
82743 * malloc/malloc.c: Likewise.
82744 * resolv/res-state.c: Likewise.
82745 * resolv/res_libc.c: Likewise.
82746 * sysdeps/i386/dl-machine.h: Likewise.
82747 * sysdeps/ia64/dl-machine.h: Likewise.
82748 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
82749 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
82750 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
82751 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
82752 * sysdeps/sh/dl-machine.h: Likewise.
82753 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82754 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82755 * sysdeps/unix/i386/sysdep.S: Likewise.
82756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
82757 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
82758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
82759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
82760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
82761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
82762 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
82763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
82766 * sysdeps/unix/x86_64/sysdep.S: Likewise.
82767 * sysdeps/x86_64/dl-machine.h: Likewise.
82768 * tls.make.c: Likewise.
82769
82770 * configure.in: Remove --with-__thread option. Make tests for
82771 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
82772 tls_model attribute fail if no support is available. Remove
82773 USE_IN_LIBIO.
82774 * Makeconfig: Adjust for dropped configure option. All features are
82775 now mandatory.
82776 * Makerules: Likewise.
82777 * Versions.def: Likewise.
82778 * argp/argp-fmtstream.c: Likewise.
82779 * argp/argp-fmtstream.h: Likewise.
82780 * argp/argp-help.c: Likewise.
82781 * assert/assert.c: Likewise.
82782 * config.h.in: Likewise.
82783 * config.make.in: Likewise.
82784 * configure: Likewise.
82785 * configure.in: Likewise.
82786 * csu/Versions: Likewise.
82787 * csu/init.c: Likewise.
82788 * elf/tst-audit2.c: Likewise.
82789 * elf/tst-tls10.c: Likewise.
82790 * elf/tst-tls10.h: Likewise.
82791 * elf/tst-tls11.c: Likewise.
82792 * elf/tst-tls12.c: Likewise.
82793 * elf/tst-tls14.c: Likewise.
82794 * elf/tst-tlsmod11.c: Likewise.
82795 * elf/tst-tlsmod12.c: Likewise.
82796 * elf/tst-tlsmod13.c: Likewise.
82797 * elf/tst-tlsmod13a.c: Likewise.
82798 * elf/tst-tlsmod14a.c: Likewise.
82799 * elf/tst-tlsmod15b.c: Likewise.
82800 * elf/tst-tlsmod16a.c: Likewise.
82801 * elf/tst-tlsmod16b.c: Likewise.
82802 * elf/tst-tlsmod7.c: Likewise.
82803 * elf/tst-tlsmod8.c: Likewise.
82804 * elf/tst-tlsmod9.c: Likewise.
82805 * gmon/gmon.c: Likewise.
82806 * grp/fgetgrent_r.c: Likewise.
82807 * grp/putgrent.c: Likewise.
82808 * hurd/fopenport.c: Likewise.
82809 * include/libc-symbols.h: Likewise.
82810 * include/tls.h: Likewise.
82811 * intl/gettextP.h: Likewise.
82812 * intl/loadinfo.h: Likewise.
82813 * locale/global-locale.c: Likewise.
82814 * locale/localeinfo.h: Likewise.
82815 * mach/devstream.c: Likewise.
82816 * malloc/arena.c: Likewise.
82817 * malloc/set-freeres.c: Likewise.
82818 * misc/err.c: Likewise.
82819 * misc/getttyent.c: Likewise.
82820 * misc/mntent_r.c: Likewise.
82821 * posix/getopt.c: Likewise.
82822 * posix/wordexp.c: Likewise.
82823 * pwd/fgetpwent_r.c: Likewise.
82824 * resolv/Versions: Likewise.
82825 * resolv/res_hconf.c: Likewise.
82826 * shadow/fgetspent_r.c: Likewise.
82827 * shadow/putspent.c: Likewise.
82828 * stdio-common/printf_fphex.c: Likewise.
82829 * stdio-common/tmpfile.c: Likewise.
82830 * stdlib/abort.c: Likewise.
82831 * stdlib/fmtmsg.c: Likewise.
82832 * sunrpc/auth_unix.c: Likewise.
82833 * sunrpc/clnt_perr.c: Likewise.
82834 * sunrpc/clnt_tcp.c: Likewise.
82835 * sunrpc/clnt_udp.c: Likewise.
82836 * sunrpc/clnt_unix.c: Likewise.
82837 * sunrpc/openchild.c: Likewise.
82838 * sunrpc/svc_simple.c: Likewise.
82839 * sunrpc/svc_tcp.c: Likewise.
82840 * sunrpc/svc_udp.c: Likewise.
82841 * sunrpc/svc_unix.c: Likewise.
82842 * sunrpc/xdr.c: Likewise.
82843 * sunrpc/xdr_array.c: Likewise.
82844 * sunrpc/xdr_rec.c: Likewise.
82845 * sunrpc/xdr_ref.c: Likewise.
82846 * sunrpc/xdr_stdio.c: Likewise.
82847
82848 2011-09-09 Ulrich Drepper <drepper@gmail.com>
82849
82850 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82851
82852 2011-07-03 Andreas Jaeger <aj@suse.de>
82853
82854 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
82855 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
82856 regenerate with gen-libm-tests.pl.
82857
82858 2010-05-12 Petr Baudis <pasky@suse.cz>
82859
82860 [BZ #11589]
82861 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
82862 around j0() zero points by switching to j1().
82863 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82864 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82867
82868 2011-09-09 Ulrich Drepper <drepper@gmail.com>
82869
82870 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
82871 instead of 0.
82872 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
82873 instead of 0.
82874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82875 Patch in part by Pavel Roskin <proski@gnu.org>.
82876
82877 [BZ #13138]
82878 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
82879 realloc.
82880 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
82881 Free memory block if necessary.
82882
82883 [BZ #12847]
82884 * libio/genops.c (INTDEF): For string streams the _lock pointer can
82885 be NULL. Don't lock in this case.
82886
82887 2011-09-09 Roland McGrath <roland@hack.frob.com>
82888
82889 * elf/elf.h (ELFOSABI_GNU): New macro.
82890 (ELFOSABI_LINUX): Define to that.
82891
82892 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
82893
82894 * string/strncat.c (strncat): Undef the symbol in case it has been
82895 defined in bits/string.h.
82896
82897 2011-09-09 Ulrich Drepper <drepper@gmail.com>
82898
82899 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
82900
82901 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
82902 link map.
82903
82904 2011-08-17 Andreas Jaeger <aj@suse.de>
82905
82906 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
82907
82908 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
82909 Ian Lance Taylor <iant@google.com>
82910
82911 * math/libm-test.inc (lround_test): New testcase.
82912 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
82913
82914 2011-09-08 Ulrich Drepper <drepper@gmail.com>
82915
82916 * Makefile: Remove support for automatic cvs check-ins.
82917 * Makerules: Likewise.
82918 * config.make.in: Likewise.
82919 * configure.in: Likewise.
82920 * intl/Makefile: Likewise.
82921 * locale/Makefile: Likewise.
82922 * po/Makefile: Likewise.
82923 * posix/Makefile: Likewise.
82924 * sysdeps/gnu/Makefile: Likewise.
82925 * sysdeps/mach/hurd/Makefile: Likewise.
82926 * sysdeps/sparc/sparc32/Makefile: Likewise.
82927
82928 [BZ #13118]
82929 * posix/Makefile (bug-regex32-ENV): Define.
82930 Patch by John Stanley <jpsinthemix@verizon.net>.
82931
82932 * misc/Makefile (headers): Add bits/select2.h.
82933 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
82934 * misc/bits/select2.h: New file.
82935 * include/bits/select2.h: New file.
82936 * debug/Makefile (routines): Add fdelt_chk.
82937 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
82938 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
82939 FD_ISSET.
82940 * debug/fdelt_chk.c: New file.
82941
82942 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
82943 * wcsmbs/test-wmemcmp.c: Likewise.
82944 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
82945 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
82946
82947 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82948
82949 * string/Makefile (strop-tests): Add memcmp.
82950 * string/test-wmemcmp.c: New file.
82951 * string/test-memcmp.c: Add wmemcmp support.
82952
82953 2011-09-08 Roland McGrath <roland@hack.frob.com>
82954
82955 [BZ #13153]
82956 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
82957 2011-07-19 change.
82958
82959 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
82960 garbage value in a __mach_port_mod_refs call in the cases of the
82961 task-self and thread-self ports.
82962
82963 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
82964
82965 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
82966
82967 2011-09-08 Andreas Schwab <schwab@redhat.com>
82968
82969 * elf/dl-load.c (lose): Check for non-null L.
82970
82971 2011-09-07 Ulrich Drepper <drepper@gmail.com>
82972
82973 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
82974
82975 * elf/dl-libc.c (dlerror_run): Pass back error code from
82976 dl_catch_error.
82977
82978 [BZ #13123]
82979 * elf/dl-load.c (lose): Free l_origin if it is valid.
82980
82981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
82982 names.
82983 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
82984 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82986 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82987 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
82988 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
82989
82990 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82991
82992 * sysdeps/powerpc/fpu/e_hypot.c: New file.
82993 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
82994 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
82995 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
82996 * sysdeps/powerpc/fpu/k_cosf.c: New file.
82997 * sysdeps/powerpc/fpu/k_sinf.c: New file.
82998 * sysdeps/powerpc/fpu/s_cosf.c: New file.
82999 * sysdeps/powerpc/fpu/s_sinf.c: New file.
83000 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83001 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83002
83003 2011-08-15 Alan Modra <amodra@gmail.com>
83004
83005 [BZ #13092]
83006 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83007 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83008 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
83009 ppc_mcount to static-only-routines.
83010 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83011 __mcount_internal.
83012 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83013 __mcount_internal with usual JUMPTARGET. Remove useless nop.
83014
83015 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
83016
83017 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83018 for finite and infinity parameters.
83019
83020 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
83021
83022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83023 and add nop instructions for throughput optimization.
83024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83025
83026 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
83027
83028 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83029 aligned copy for power7 with vector-scalar instructions.
83030 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83031
83032 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
83033
83034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83035 AVX check.
83036
83037 2011-09-07 Andreas Schwab <schwab@redhat.com>
83038
83039 [BZ #13144]
83040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83041 last change.
83042
83043 2011-09-07 Ulrich Drepper <drepper@gmail.com>
83044
83045 * sysdeps/unix/sysv/linux/x86_64/init-first.c
83046 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83047 syscall wrapper around clock_gettime in __vdso_clock_gettime.
83048 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83049 clock_gettime.
83050
83051 2011-09-06 Ulrich Drepper <drepper@gmail.com>
83052
83053 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83054 Forgot to demangle the pointer.
83055
83056 * sysdeps/i386/sysdep.h: Define atom_text_section.
83057 * sysdeps/x86_64/sysdep.h: Likewise.
83058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83059 section with atom_text_section.
83060 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83061 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83062 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83064 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83065
83066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83067 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83068 already be defined. Change to take two parameters and don't assign
83069 result to variable. Adjust all users.
83070 Define INTERNAL_GETTIME if not already defined.
83071 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83072 call.
83073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83074 HAVE_CLOCK_GETTIME_VSYSCALL.
83075 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83076
83077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83078 gettimeofday vsyscall, just use time.
83079
83080 2011-09-06 Andreas Schwab <schwab@redhat.com>
83081
83082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83083 <errno.h>.
83084
83085 2011-09-06 Ulrich Drepper <drepper@gmail.com>
83086
83087 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83088 syscall on x86-64.
83089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83090 syscall.
83091 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83093 syscall if possible.
83094
83095 2011-09-05 Ulrich Drepper <drepper@gmail.com>
83096
83097 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83098 e_ident. Don't pass to find_mapsXX.
83099 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83100
83101 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
83102
83103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83104 strchr-sse2-no-bsf strrchr-sse2-no-bsf
83105 * sysdeps/x86_64/multiarch/strchr.S: Update.
83106 Check bit_slow_BSF bit.
83107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83108 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83109 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83110
83111 2011-09-05 Ulrich Drepper <drepper@gmail.com>
83112
83113 [BZ #13134]
83114 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83115 before glibc 2.15.
83116 (tryshell): Define.
83117 (__spawni): Change last parameter to be flag. Test
83118 SPAWN_XFLAGS_USE_PATH flag to use path or not.
83119 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83120 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83121 * posix/spawni.c: Likewise.
83122 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83123 * posix/spawnp.c: Likewise. Change normal version to use
83124 SPAWN_XFLAGS_USE_PATH.
83125 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83126 SPAWN_XFLAGS_TRY_SHELL.
83127
83128 [BZ #13150]
83129 * posix/glob.h: Remove gcc 1.x support.
83130
83131 [BZ #13068]
83132 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83133
83134 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
83135
83136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83137 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83138 strrchr-sse2-bsf
83139 * sysdeps/i386/i686/multiarch/strchr.S: New file.
83140 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83141 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83142 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83143 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83145
83146 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83147
83148 * sysdeps/x86_64/wcscmp.S: New file.
83149
83150 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83151 wcscmp-c wcscmp-sse2
83152 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83153 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83154 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83155 * wcsmbs/wcscmp.c: Allow renaming.
83156
83157 2011-09-05 David S. Miller <davem@davemloft.net>
83158
83159 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83160 stack slot, rather than the struct return pointer slot.
83161 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83162 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83164 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83165
83166 2011-09-05 Ulrich Drepper <drepper@gmail.com>
83167
83168 * po/ja.po: Update from translation team.
83169
83170 [BZ #13144]
83171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83172 kernel in 64-bit binaries.
83173
83174 2011-09-01 David S. Miller <davem@davemloft.net>
83175
83176 * elf/elf.h (HWCAP_SPARC_*): Move to..
83177 * sysdeps/sparc/sysdep.h: this new file and add new values.
83178 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83179 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83180 _DL_HWCAP_COUNT to 24.
83181 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83182 entries.
83183 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83184 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83185 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83187 instead of magic constants.
83188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83189
83190 2011-08-31 David S. Miller <davem@davemloft.net>
83191
83192 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83194 Reimplement to do errno handling inline.
83195 (SYSCALL_ERROR_HANDLER): New macro.
83196 (__SYSCALL_STRING): Do not do errno handling in asm.
83197 (__CLONE_SYSCALL_STRING): Delete.
83198 (__INTERNAL_SYSCALL_STRING): Delete.
83199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83200 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83201 (PSEUDO): Reimplement to do errno handling inline.
83202 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83203 (SYSCALL_ERROR_HANDLER): New macro.
83204 (__SYSCALL_STRING): Do not do errno handling in asm.
83205 (__CLONE_SYSCALL_STRING): Delete.
83206 (__INTERNAL_SYSCALL_STRING): Delete.
83207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83208 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83209 i386.
83210 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83211 (inline_syscall*): Add 'err' argument.
83212 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83213 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83214 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83215 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83216
83217 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83218 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83219
83220 2011-08-30 Andreas Schwab <schwab@redhat.com>
83221
83222 * elf/rtld.c (dl_main): Relocate objects in dependency order.
83223
83224 2011-08-29 Jiri Olsa <jolsa@redhat.com>
83225
83226 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83227 directive.
83228
83229 2011-08-24 David S. Miller <davem@davemloft.net>
83230
83231 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83232
83233 2011-08-24 Andreas Schwab <schwab@redhat.com>
83234
83235 * elf/Makefile: Add rules to build and run unload8 test.
83236 * elf/unload8.c: New file.
83237 * elf/unload8mod1.c: New file.
83238 * elf/unload8mod1x.c: New file.
83239 * elf/unload8mod2.c: New file.
83240 * elf/unload8mod3.c: New file.
83241
83242 * elf/dl-close.c (_dl_close_worker): Reset private search list if
83243 it wasn't used.
83244
83245 2011-08-23 David S. Miller <davem@davemloft.net>
83246
83247 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83248 subtract stack bias.
83249 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83250 %sp not %fp in calculations.
83251 (_JMPBUF_UNWINDS_ADJ): Likewise.
83252
83253 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83254 (aio_suspend): Call it to force an exception region around the
83255 AIO_MISC_WAIT() invocation.
83256
83257 2011-08-23 Andreas Schwab <schwab@redhat.com>
83258
83259 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83260 backslash.
83261
83262 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
83263
83264 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83265 protection macro.
83266 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83267 and <dl-machine.h>.
83268 (Elf64_FuncDesc): Remove.
83269
83270 2011-08-22 David S. Miller <davem@davemloft.net>
83271
83272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83273 sigaltstack check, add missing cfi directives.
83274 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83275 missing cfi directives, and sigaltstack handling.
83276
83277 2011-08-16 Andreas Schwab <schwab@redhat.com>
83278
83279 [BZ #11724]
83280 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83281 object is seen twice.
83282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
83283
83284 * elf/Makefile (distribute): Add tst-initorder2.c.
83285 (tests): Add tst-initorder2.
83286 (modules-names): Add tst-initorder2a tst-initorder2b
83287 tst-initorder2c tst-initorder2d. Add rules to build them.
83288 ($(objpfx)tst-initorder2.out): New rule.
83289 * elf/tst-initorder2.c: New file.
83290 * elf/tst-initorder2.exp: New file.
83291
83292 2011-08-22 Andreas Schwab <schwab@redhat.com>
83293
83294 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83295
83296 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83297 dependencies back to end of function.
83298
83299 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83300 $(elfobjdir)/ld.so.
83301
83302 2011-08-21 Ulrich Drepper <drepper@gmail.com>
83303
83304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83305 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83307 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83308 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83309 of __vdso_gettimeofday.
83310 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83311 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
83312 attribute_hidden.
83313 (_libc_vdso_platform_setup): Remove initialization of
83314 __vdso_gettimeofday and __vdso_time.
83315
83316 2011-08-20 Ulrich Drepper <drepper@gmail.com>
83317
83318 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83319 and fgetc_unlocked.
83320 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83321 getc_unlocked.
83322
83323 * elf/dl-open.c (add_to_global): Report additions to the global scope
83324 for LD_DEBUG=scopes.
83325 (dl_open_worker): Also print scope of newly loaded dependencies.
83326 (_dl_show_scope): Indicate if there is no scope.
83327
83328 [BZ #13114]
83329 * stdio-common/Makefile (tests): Add bug24.
83330 * stdio-common/bug24.c: New file.
83331
83332 2011-08-19 Andreas Jaeger <aj@suse.de>
83333
83334 [BZ #13114]
83335 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83336 non-existant file when using close-on-exec mode.
83337
83338 2011-08-20 Ulrich Drepper <drepper@gmail.com>
83339
83340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83341 the very first instruction.
83342
83343 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83344 the CFI state in the end.
83345 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83346 inclusion of dl-trampoline.h.
83347 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83348
83349 2011-08-19 Andreas Schwab <schwab@redhat.com>
83350
83351 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83352 expectations for long double.
83353
83354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83355 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83356
83357 2011-08-14 David S. Miller <davem@davemloft.net>
83358
83359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83360 artificual limit depends upon the system page size.
83361
83362 2011-08-17 Ulrich Drepper <drepper@gmail.com>
83363
83364 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83365 * resolv/Makefile: Define CFLAGS-libresolv.
83366
83367 2011-08-17 Andreas Schwab <schwab@redhat.com>
83368
83369 * nss/makedb.c (compute_tables): Make variables used in nested
83370 function static.
83371
83372 2011-08-17 Ulrich Drepper <drepper@gmail.com>
83373
83374 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83375 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
83376 if buffer was too small.
83377
83378 * elf/pldd.c (main): Attach to all threads in the process.
83379 Rewrite /proc handling to use *at functions.
83380
83381 2011-08-16 Ulrich Drepper <drepper@gmail.com>
83382
83383 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
83384 specifies first scope to show.
83385 (dl_open_worker): Update callers. Move printing scope of new
83386 object to before the relocation.
83387 * elf/rtld.c (dl_main): Update _dl_show_scope call.
83388 * sysdeps/generic/ldsodefs.h: Update declaration.
83389
83390 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
83391 string for the scope number.
83392
83393 2011-08-14 Ulrich Drepper <drepper@gmail.com>
83394
83395 * nscd/servicescache.c (cache_addserv): Make sure written is always
83396 initialized.
83397
83398 2011-08-14 Roland McGrath <roland@hack.frob.com>
83399
83400 * sysdeps/i386/i486/bits/atomic.h
83401 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
83402 statement expression, so as to suppress "set but not used" warning.
83403 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
83404
83405 * string/strncat.c (STRNCAT): Use prototype definition.
83406
83407 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
83408 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
83409 -Iprograms here.
83410 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
83411 (localedef-modules): Add localedef.
83412 (locale-modules): Add locale.
83413
83414 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
83415 * elf/rtld.c (dl_main): Invert order of assignment in last change,
83416 to avoid a warning.
83417
83418 2011-08-14 David S. Miller <davem@davemloft.net>
83419
83420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
83421 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
83422
83423 2011-08-13 Ulrich Drepper <drepper@gmail.com>
83424
83425 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
83426 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
83427 * elf/rtld.c (dl_main): Set l_name of vDSO.
83428 Call _dl_show_scope when DL_DEBUG_SCOPES.
83429 (process_dl_debug): Recognize scopes flag and also set it for all.
83430 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
83431 Declare _dl_show_scope.
83432
83433 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
83434 (do_dlopen): Pass caller_dlopen to dl_open.
83435 (__libc_dlopen_mode): Initialize caller_dlopen.
83436
83437 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
83438 of libc. Make tolower call locale-independent. Optimize a bit by
83439 using isdigit instead of isalnum.
83440 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
83441
83442 2011-08-12 Ulrich Drepper <drepper@gmail.com>
83443
83444 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
83445 was a dependency or dynamically loaded.
83446
83447 2011-08-11 Ulrich Drepper <drepper@gmail.com>
83448
83449 * intl/l10nflist.c: Allow architecture-specific pop function.
83450 * sysdeps/x86_64/l10nflist.c: New file.
83451
83452 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
83453 classification.
83454
83455 2011-08-10 Andreas Schwab <schwab@redhat.com>
83456
83457 * include/dirent.h: Add libc_hidden_proto for scandirat and
83458 scandirat64. Don't declare __scandirat64.
83459 * dirent/scandirat.c: Add libc_hidden_def.
83460 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
83461 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
83462
83463 2011-08-10 David S. Miller <davem@davemloft.net>
83464
83465 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
83466 enum.
83467 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83470
83471 2011-08-09 Ulrich Drepper <drepper@gmail.com>
83472
83473 * Versions.def [libc]: Add GLIBC_2.15.
83474 * dirent/Makefile (routines): Add scandirat and scandirat64.
83475 * dirent/Versions [libc]: Export scandirat and scandirat64 for
83476 GLIBC_2.15.
83477 * dirent/dirent.h: Declare scandirat and scandirat64.
83478 * dirent/scandirat.c: New file.
83479 * dirent/scandirat64.c: New file.
83480 * sysdeps/wordsize-64/scandirat.c: New file.
83481 * sysdeps/wordsize-64/scandirat64.c: New file.
83482 * dirent/opendir.c: Define opendirat.
83483 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
83484 using scandirat.
83485 * dirent/scandir64.c: Adjust for scandir.c change.
83486 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
83487 __scandirat64, and __scandir_cancel_handler.
83488 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
83489 additional parameter and use openat instead of open (outside of ld.so).
83490 Add new __opendir as wrapper around __opendirat.
83491 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
83492 here without requiring old scandirat implementation.
83493
83494 2011-08-08 Ulrich Drepper <drepper@gmail.com>
83495
83496 * dirent/scandir.c (cancel_handler): Renamed to
83497 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
83498 defined. Adjust users.
83499 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
83500 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
83501
83502 2011-08-04 Ulrich Drepper <drepper@gmail.com>
83503
83504 * string/test-string.h (IMPL): Use __STRING to expand name and then
83505 stringify it.
83506
83507 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
83508 of cleanups.
83509
83510 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83511
83512 * string/Makefile: Update.
83513 (strop-tests): Append strncat.
83514 * string/test-wcscmp.c: New file.
83515 New comprehensive test for wcscmp.
83516 * string/test-strcmp.c: Update.
83517 (WIDE): New define.
83518
83519 2011-07-22 Andreas Schwab <schwab@redhat.com>
83520
83521 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
83522 line.
83523
83524 2011-07-26 Andreas Schwab <schwab@redhat.com>
83525
83526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83527 encoding to ACE if AI_IDN.
83528
83529 2011-08-01 Jakub Jelinek <jakub@redhat.com>
83530
83531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
83532 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
83533
83534 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
83535
83536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
83537 Fix overflow bug in strncat.
83538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
83539
83540 * string/test-strncat.c: Update.
83541 Add new tests for checking overflow bugs.
83542
83543 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
83544
83545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83546 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
83547 * sysdeps/i386/i686/multiarch/strcat.S: New file.
83548 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
83549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
83550 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
83551 * sysdeps/i386/i686/multiarch/strncat.S: New file.
83552 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
83553 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
83554
83555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
83556 (USE_AS_STRCAT): Define.
83557 Add strcat and strncat support.
83558 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83559
83560 2011-07-25 Andreas Schwab <schwab@redhat.com>
83561
83562 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
83563 __n bigger than INT_MAX+1.
83564 (__strncmp_g): Likewise.
83565
83566 2011-07-23 Ulrich Drepper <drepper@gmail.com>
83567
83568 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
83569 * libio/stido.h: Likewise.
83570
83571 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
83572 (AF_NFC): Define.
83573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
83574 (AF_NFC): Define.
83575
83576 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
83577 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83579 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
83580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83581
83582 [BZ #13021]
83583 * scripts/test-installation.pl: Don't expect libnss_test1 to be
83584 installed.
83585
83586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
83587 typo.
83588 (_dl_x86_64_save_sse): Likewise.
83589
83590 2011-07-22 Ulrich Drepper <drepper@gmail.com>
83591
83592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
83593 OSXSAVE.
83594 (_dl_x86_64_save_sse): Likewise.
83595
83596 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
83597
83598 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
83599
83600 2011-07-21 Andreas Schwab <schwab@redhat.com>
83601
83602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
83603 change.
83604 (_dl_x86_64_save_sse): Use correct AVX check.
83605
83606 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83607
83608 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
83609 bug in strncpy/strncat.
83610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
83611
83612 2011-07-21 Ulrich Drepper <drepper@gmail.com>
83613
83614 * string/tester.c (test_strcat): Add tests for different alignments
83615 of source and destination.
83616 (test_strncat): Likewise.
83617
83618 2011-07-20 Ulrich Drepper <drepper@gmail.com>
83619
83620 [BZ #12852]
83621 * posix/glob.c (glob): Check passed in values before using them in
83622 expressions to avoid some overflows.
83623 (glob_in_dir): Likewise.
83624
83625 [BZ #13007]
83626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
83627 check for AVX enablement so that we don't crash with old kernels and
83628 new hardware.
83629 * elf/tst-audit4.c: Add same checks here.
83630 * elf/tst-audit6.c: Likewise.
83631
83632 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
83633
83634 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
83635
83636 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
83637
83638 2011-07-20 Ulrich Drepper <drepper@gmail.com>
83639
83640 * po/cs.po: Update from translation team.
83641 * po/bg.po: Likewise.
83642
83643 2011-07-12 Marek Polacek <mpolacek@redhat.com>
83644
83645 * misc/sys/cdefs.h: Add support for const attribute.
83646 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
83647 to gnu_dev_{major,minor,makedev} functions.
83648
83649 2011-07-20 Marek Polacek <mpolacek@redhat.com>
83650
83651 * intl/dcigettext.c (get_output_charset): Add missing bracket.
83652
83653 2011-07-20 Andreas Schwab <schwab@redhat.com>
83654
83655 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
83656 strlen results.
83657
83658 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83659
83660 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
83661 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
83662 register in order to avoid conflicts with the soft frame pointer
83663 being held in r11 when necessary.
83664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
83665 (INTERNAL_VSYSCALL_NCS): Likewise.
83666
83667 2011-07-14 Marek Polacek <mpolacek@redhat.com>
83668
83669 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
83670 * elf/dl-fini.c (_dl_fini): Adjust caller.
83671 * elf/dl-close.c (_dl_close_worker): Likewise.
83672 * sysdeps/generic/ldsodefs.h: Adjust declaration.
83673
83674 2011-07-15 Marek Polacek <mpolacek@redhat.com>
83675
83676 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
83677 "aux_cache->nlibs < 0".
83678
83679 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
83680 in the reload-count case.
83681
83682 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
83683
83684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83685 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
83686 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
83687 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
83688 * sysdeps/x86_64/multiarch/strcat.S: New file.
83689 * sysdeps/x86_64/multiarch/strncat.S: New file.
83690 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
83691 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
83692 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
83693 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
83694 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
83695 (USE_AS_STRCAT): Define.
83696 Add strcat and strncat support.
83697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
83699 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
83700 * string/strncat.c: Update.
83701 (USE_AS_STRNCAT): Define.
83702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83703 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
83704 and i7.
83705 * sysdeps/x86_64/multiarch/init-arch.h
83706 (bit_Prefer_PMINUB_for_stringop): New.
83707 (index_Prefer_PMINUB_for_stringop): Likewise.
83708 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
83709 bit_Prefer_PMINUB_for_stringop.
83710
83711 2011-07-19 Ulrich Drepper <drepper@gmail.com>
83712
83713 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
83714 buffer64.
83715 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
83716 of casting of buffer.
83717 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
83718 buffer32 and buffer64.
83719 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
83720 writes instead of casting of buffer.
83721 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
83722 buffer32.
83723 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
83724 casting of buffer.
83725
83726 2011-07-19 Andreas Schwab <schwab@redhat.com>
83727
83728 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
83729
83730 2011-07-19 Ulrich Drepper <drepper@gmail.com>
83731
83732 * nscd/nscd.c (termination_handler): Don't do anything for a database
83733 if it has not yet been initialized.
83734
83735 2011-07-18 Ulrich Drepper <drepper@gmail.com>
83736
83737 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
83738
83739 2011-07-15 Marek Polacek <mpolacek@redhat.com>
83740
83741 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
83742
83743 2011-07-18 Ulrich Drepper <drepper@gmail.com>
83744
83745 * po/nl.po: Update from translation team.
83746 * po/sv.po: Likewise.
83747
83748 2011-07-16 Roland McGrath <roland@hack.frob.com>
83749
83750 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
83751 now disallowed by GCC.
83752
83753 * configure.in (use-default-link): Default to yes if a test -shared
83754 link meets our qualifications.
83755 * configure: Regenerated.
83756
83757 * config.make.in (output-format): New variable.
83758 * configure.in: Check for ld --print-output-format support.
83759 * configure: Regenerated.
83760 * Makerules ($(common-objpfx)format.lds)
83761 [$(output-format) != unknown]: Just use $(output-format),
83762 instead of the linker-script munging.
83763
83764 2011-07-14 Roland McGrath <roland@hack.frob.com>
83765
83766 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
83767 of $(common-objpfx)shlib.lds.
83768 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
83769
83770 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
83771 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
83772
83773 * configure.in (-z relro check): Adjust test code to add a large
83774 writable data section after it.
83775 * configure: Regenerated.
83776
83777 2011-07-11 Roland McGrath <roland@hack.frob.com>
83778
83779 * configure.in (-z relro check): Fix test code to make the variable
83780 truly const.
83781 * configure: Regenerated.
83782
83783 2011-07-11 Ulrich Drepper <drepper@gmail.com>
83784
83785 * nscd/nscd.h (struct traced_file): Define.
83786 (struct database_dyn): Remove inotify_descr, reset_res, and filename
83787 elements. Add traced_files.
83788 (inotify_fd): Declare.
83789 (register_traced_file): Declare.
83790 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
83791 (inotify_fd): Export.
83792 (resolv_conf_descr): Remove.
83793 (nscd_init): Move inotify descriptor creation to main.
83794 Don't register files for notification here.
83795 (register_traced_file): New function.
83796 (invalidate_cache): Don't use reset_res to determine whether to call
83797 res_init, go through the list of registered files.
83798 (main_loop_poll): The inotify descriptors are now stored in the
83799 structures for the traced files.
83800 (main_loop_epoll): Likewise.
83801 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
83802 to __nss_disable_nscd.
83803 * nscd/cache.c (prune_cache): There is no single inotify descriptor
83804 for a database anymore. Check the records for all the registered
83805 files instead.
83806 * nss/Makefile (libnss_files-routines): Add files-init.
83807 (libnss_db-routines): Add db-init.
83808 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
83809 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
83810 * nss/nss_db/db-init.c: New file.
83811 * nss/nss_files/files-init.c: New file.
83812 * nss/nsswitch.c (nss_load_library): New function. Broken out of
83813 __nss_lookup_function.
83814 (__nss_lookup_function): Call nss_load_library.
83815 (nss_load_all_libraries): New function.
83816 (__nss_disable_nscd): Take parameter with callback function for files
83817 to register. Set is_nscd. Load all the DSOs for the NSS modules
83818 used for the cached services.
83819 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
83820 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
83821 options for features to all the files in nscd.
83822
83823 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
83824
83825 2011-07-10 Roland McGrath <roland@hack.frob.com>
83826
83827 * csu/elf-init.c (__libc_csu_init): Comment typo.
83828
83829 2011-07-09 Ulrich Drepper <drepper@gmail.com>
83830
83831 * po/pl.po: Update from translation team.
83832 * po/ja.po: Likewise.
83833 * po/ru.po: Likewise.
83834 * po/ko.po: Likewise.
83835 * po/fr.po: Likewise.
83836
83837 2011-07-09 Roland McGrath <roland@hack.frob.com>
83838
83839 * configure.in (.ctors/.dtors header and trailer check):
83840 Use an empirical test on a built program.
83841 * configure: Regenerated.
83842
83843 * configure.in (-z relro check): Use an empirical test on a built DSO.
83844 Detect, but do not require, on ia64.
83845 * configure: Regenerated.
83846
83847 * configure.in (READELF): Find it with AC_CHECK_TOOL.
83848 Update tests that use readelf to use $READELF instead.
83849 * configure: Regenerated.
83850
83851 2011-07-08 Ulrich Drepper <drepper@gmail.com>
83852
83853 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
83854 if the result is not used.
83855
83856 2011-07-05 Andreas Jaeger <aj@suse.de>
83857
83858 [BZ#9696]
83859 * stdlib/tst-strtod.c: Add testcase.
83860
83861 2011-07-07 Ulrich Drepper <drepper@gmail.com>
83862
83863 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
83864 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
83865 The latter has a higher limit. Take additional parameter to pass to
83866 the new function.
83867 (__pathconf): Pass file to __statfs_link_max.
83868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
83869 __statfs_link_max.
83870 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
83871 __statfs_link_max.
83872
83873 [BZ #12868]
83874 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
83875 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83876 Handle Lustre.
83877 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
83878 (__statfs_filesize_max): Likewise.
83879 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
83880
83881 2011-07-05 Andreas Jaeger <aj@suse.de>
83882
83883 * resolv/res_comp.c (dn_skipname): Remove unused variable.
83884
83885 2011-07-06 Marek Polacek <mpolacek@redhat.com>
83886
83887 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
83888 `status' variable.
83889 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
83890 Likewise.
83891
83892 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
83893
83894 * Makefile (strop-tests): Add strncat.
83895 * string/test-strncat.c: New file.
83896
83897 2011-06-30 Marek Polacek <mpolacek@redhat.com>
83898
83899 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
83900
83901 2011-06-21 Andreas Jaeger <aj@suse.de>
83902
83903 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
83904 Copy rule from iconvdata/Makefile.
83905
83906 2011-07-06 Ulrich Drepper <drepper@gmail.com>
83907
83908 [BZ #12922]
83909 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
83910 but no long options are defined, just return 'W'.
83911
83912 2011-06-22 Marek Polacek <mpolacek@redhat.com>
83913
83914 [BZ #9696]
83915 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
83916
83917 2011-07-06 Ulrich Drepper <drepper@gmail.com>
83918
83919 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
83920 netgroups to read.
83921 (innetgr): Likewise.
83922
83923 2011-07-05 Roland McGrath <roland@hack.frob.com>
83924
83925 * config.make.in (install_root): Default to $(DESTDIR).
83926
83927 2011-07-05 Ulrich Drepper <drepper@gmail.com>
83928
83929 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
83930
83931 2011-07-02 Roland McGrath <roland@hack.frob.com>
83932
83933 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
83934
83935 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
83936 containing directory rather than embedding absolute directory names.
83937
83938 * scripts/check-local-headers.sh: Rewritten using awk.
83939 Match by word, not by line. Print error messages for matches.
83940 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
83941
83942 * Makerules [shlib-lds-flags empty]:
83943 ($(common-objpfx)libc_pic.opts): New target.
83944 ($(common-objpfx)libc_pic.os.clean): New target.
83945 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
83946
83947 * config.make.in (OBJCOPY): New variable.
83948 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
83949 * configure: Regenerated.
83950
83951 * config.make.in (use-default-link): New variable.
83952 * configure.in (use_default_link): Grok --with-default-link to set it.
83953 * configure: Regenerated.
83954 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
83955 (shlib-lds, shlib-lds-flags): Define to empty.
83956
83957 * Makerules (shlib-lds): New variable.
83958 (shlib-lds-flags): New variable.
83959 (build-shlib, build-moduile, build-module-asneeded): Use it.
83960 ($(common-objpfx)libc.so): Use $(shlib-lds).
83961 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
83962 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
83963
83964 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
83965 DT_FLAGS/DT_FLAGS_1 with zero flags.
83966
83967 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
83968 linker script munging.
83969
83970 2011-07-02 Ulrich Drepper <drepper@gmail.com>
83971
83972 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
83973 as 128-bit value.
83974 * crypt/sha512.c (sha512_process_block): Perform total addition using
83975 128-bit if possible.
83976 (__sha512_finish_ctx): Likewise.
83977 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
83978 as 64-bit value.
83979 * crypt/sha256.c (SWAP64): Define.
83980 (sha256_process_block): Perform total addition using 64-bit if
83981 possible.
83982 (__sha256_finish_ctx): Likewise.
83983
83984 2011-07-01 Ulrich Drepper <drepper@gmail.com>
83985
83986 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
83987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
83988 * nscd/hstcache.c (cache_addhst): Likewise.
83989 * nscd/grpcache.c (cache_addgr): Likewise.
83990 * nscd/aicache.c (addhstaiX): Likewise.
83991 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
83992
83993 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
83994
83995 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
83996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
83997 * nscd/hstcache.c (cache_addhst): Likewise.
83998 * nscd/grpcache.c (cache_addgr): Likewise.
83999 * nscd/aicache.c (addhstaiX): Likewise.
84000
84001 2011-07-01 Andreas Schwab <schwab@redhat.com>
84002
84003 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84004 domain only when needed.
84005
84006 2011-06-30 Andreas Schwab <schwab@redhat.com>
84007
84008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84009 is always restored.
84010
84011 2011-06-29 Ulrich Drepper <drepper@gmail.com>
84012
84013 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84014 are re-adding the entry.
84015 * nscd/servicescache.c (cache_addserv): Likewise.
84016
84017 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
84018
84019 * sysdeps/generic/dl-irel.h: fix protection against multiple
84020 inclusions.
84021 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84022
84023 2011-06-28 Ulrich Drepper <drepper@gmail.com>
84024
84025 [BZ #12935]
84026 * malloc/memusage.sh: Fix quoting in message.
84027 * debug/xtrace.sh: Likewise.
84028
84029 * configure.in: Remove support for --experimental-malloc option, make
84030 it the default.
84031 * config.make.in: Likewise.
84032 * malloc/Makefile: Likewise.
84033
84034 2011-06-27 Andreas Schwab <schwab@redhat.com>
84035
84036 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84037 two-byte characters.
84038
84039 2011-06-27 Roland McGrath <roland@hack.frob.com>
84040
84041 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84042 AC_CACHE_CHECK invocation.
84043 * configure: Regenerated.
84044
84045 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84046
84047 2011-06-27 Ulrich Drepper <drepper@gmail.com>
84048
84049 [BZ #12350]
84050 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
84051 bit from old_res_options.
84052
84053 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84054
84055 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84056 value type for setfct.
84057
84058 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
84059
84060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84061 __gettimeofday instead of gettimeofday.
84062
84063 2011-06-26 Ulrich Drepper <drepper@gmail.com>
84064
84065 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84066
84067 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
84068
84069 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84070
84071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84072 info.
84073
84074 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
84075
84076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84077 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84078 strcpy-sse2-unaligned strncpy-sse2-unaligned
84079 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84080 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84081 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84082 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84083 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84084 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84086 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84087 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84088 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84089 (STRCPY): Support SSE2 and SSSE3 versions.
84090
84091 2011-06-24 Ulrich Drepper <drepper@gmail.com>
84092
84093 [BZ #12874]
84094 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84095 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84096 kernels which artificially limit size of requests.
84097
84098 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
84099
84100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84101 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84102 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84103 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84104 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84105 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84106 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84107 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84110 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84111 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84112 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84113 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84114 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84116 Enable unaligned load optimization for Intel Core i3, i5 and i7
84117 processors.
84118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84119 Define.
84120 (index_Fast_Unaligned_Load): Define.
84121 (HAS_FAST_UNALIGNED_LOAD): Define.
84122
84123 2011-06-23 Marek Polacek <mpolacek@redhat.com>
84124
84125 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84126
84127 2011-06-22 Ulrich Drepper <drepper@gmail.com>
84128
84129 [BZ #12907]
84130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84131 until it is clear that the information is realy needed.
84132 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84133
84134 2011-06-22 Andreas Schwab <schwab@redhat.com>
84135
84136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84137
84138 2011-06-22 Ulrich Drepper <drepper@gmail.com>
84139
84140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84141 /sys/devices/system/cpu/online if it is usable.
84142
84143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84144 reading the information from the /proc filesystem to once a second.
84145
84146 2011-06-21 Andreas Jaeger <aj@suse.de>
84147
84148 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84149 NULL after inclusion of kernel headers.
84150
84151 2011-06-21 Ulrich Drepper <drepper@gmail.com>
84152
84153 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84154 calls to internal_setent.
84155
84156 [BZ #12885]
84157 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84158 addresses using gethostbyname4_r ignore IPv4 addresses.
84159
84160 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84161 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
84162
84163 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84164
84165 2011-06-20 David S. Miller <davem@davemloft.net>
84166
84167 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84168 inclusions.
84169 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84170
84171 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84172 (elf_irel): Use it.
84173 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84174 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84175 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84176 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84177 * sysdeps/x86_64/dl-irel.h: Likewise.
84178
84179 * elf/dl-runtime.c: Use elf_ifunc_invoke.
84180 * elf/dl-sym.c: Likewise.
84181
84182 2011-06-15 Ulrich Drepper <drepper@gmail.com>
84183
84184 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
84185 need to dereference resplen2.
84186
84187 2011-06-14 Andreas Schwab <schwab@redhat.com>
84188
84189 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84190
84191 2011-06-15 Ulrich Drepper <drepper@gmail.com>
84192
84193 * Makeconfig: Define vardbdir and inst_vardbdir.
84194 * nss/Makefile: Add rules to install db-Makefile.
84195
84196 * nss/nss_db/db-XXX.c: Cleanup.
84197
84198 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84199 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84200 GLIBC_PRIVATE.
84201 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84202 * nss/makedb.c: Implement -g option to specify that value strings
84203 are generated and should not be added to table iterated over for
84204 get*ent calls.
84205 * nss/nss_db/db-initgroups.c: New file.
84206
84207 * nss/getent.c: Add support for initgroups lookups through getgrouplist
84208 interface.
84209
84210 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84211 (internal_getgrouplist): Adjust to name change.
84212 Update use_initgroups_entry if this is not the first call.
84213 * nss/databases.def: Add initgroups entry.
84214
84215 * nss/makedb.c (compute_tables): Check result of multiple hash table
84216 sizes to minimize maximum chain length.
84217
84218 2011-06-14 Ulrich Drepper <drepper@gmail.com>
84219
84220 * Versions.def: Add entry for libnss_db.
84221 * shlib-versions: Likewise.
84222 * nss/Makefile: Add rules to build libnss_db.
84223 * nss/Versions: Add libnss_db information. Organize libnss_files
84224 entries better.
84225 * nss/db-Makefile: Add gshadow support. Change rules for the new
84226 makedb progra. Some minor improvements to generate smaller files.
84227 * nss/nss_db/nss_db.h: Move NSS database header data structures to
84228 here from...
84229 * nss/makedb.c: ...here.
84230 Improve database format to be smaller and require less memory at
84231 runtime.
84232 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
84233 db anymore.
84234 * nss/nss_db/db-netgrp.c: Likewise.
84235 * nss/nss_db/db-open.c: Likewise.
84236 * nss/nss_files/flies-XXX.x: Adjust comments.
84237 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84238 * nss/nss_files/files-grp.c: Likewise.
84239 * nss/nss_files/files-hosts.c: Likewise.
84240 * nss/nss_files/files-network.c: Likewise.
84241 * nss/nss_files/files-proto.c: Likewise.
84242 * nss/nss_files/files-pwd.c: Likewise.
84243 * nss/nss_files/files-rpc.c: Likewise.
84244 * nss/nss_files/files-service.c: Likewise.
84245 * nss/nss_files/files-sgrp.c: Likewise.
84246 * nss/nss_files/files-spwd.c: Likewise.
84247 * nss/nss_db/db-alias.c: Removed.
84248 * nss/nss_db/dummy-db.h: Removed.
84249
84250 2011-06-02 Ulrich Drepper <drepper@gmail.com>
84251
84252 * nss/makedb.c: Rewritten to not use database library.
84253 * nss/Makefile: Update to build new makedb program.
84254
84255 2011-06-14 Andreas Jaeger <aj@suse.de>
84256
84257 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84258 memset declaration.
84259
84260 2011-06-10 Andreas Schwab <schwab@redhat.com>
84261
84262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84263 tmpbuf.
84264
84265 2011-06-10 Roland McGrath <roland@hack.frob.com>
84266
84267 * Makerules (shlib.lds): Fail if the linker script comes out empty.
84268 * elf/Makefile ($(objpfx)ld.so): Likewise.
84269
84270 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84271 Don't list ld.so twice in dependencies.
84272
84273 * posix/bug-regex31.c: Include <stdlib.h>.
84274
84275 * nscd/hstcache.c (cache_addhst): Remove unused variable.
84276
84277 * nis/nss_compat/compat-spwd.c
84278 (getspent_next_nss_netgr): Remove unused variable.
84279 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84280
84281 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84282 nonmembers" output to use the right array.
84283
84284 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84285
84286 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84287
84288 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84289 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84290 * catgets/gencat.c (read_input_file): Likewise.
84291 * locale/programs/locarchive.c (enlarge_archive): Likewise.
84292
84293 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84294 variable definition inside #if's controlling its use.
84295
84296 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84297
84298 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84299
84300 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84301
84302 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84303 unreachable code.
84304
84305 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84306
84307 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84308 * configure: Regenerated.
84309
84310 * Makerules: Revert last change.
84311 * elf/Makefile: Likewise.
84312
84313 2011-06-09 Roland McGrath <roland@hack.frob.com>
84314
84315 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84316 * elf/Makefile ($(objpfx)librtld.os): Likewise.
84317 (reloc-link): Likewise.
84318
84319 2011-06-09 Ulrich Drepper <drepper@gmail.com>
84320
84321 * elf/Makefile: Add rules to build pldd.
84322 * elf/pldd.c: New file.
84323 * elf/pldd-xx.c: New file.
84324
84325 2011-06-07 Ulrich Drepper <drepper@gmail.com>
84326
84327 * version.h: Update for 2.15 development version.
84328
84329 2011-06-07 David S. Miller <davem@davemloft.net>
84330
84331 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84332 ifuncs.
84333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84334 elf_machine_lazy_rel): Likewise.
84335 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84336 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84337 elf_machine_lazy_rel): Likewise.
84338 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84339 dl_hwcap via passed in argument.
84340 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84341 Likewise.
84342
84343 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84344
84345 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
84346
84347 2011-06-06 Roland McGrath <roland@hack.frob.com>
84348
84349 [BZ #12849]
84350 * manual/fdl-1.1.texi: New file, verbatim from:
84351 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84352 * manual/lgpl-2.1.texi: New file, verbatim from:
84353 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84354 * manual/Makefile (licenses): New variable, list those new file names.
84355 (texis): Use it.
84356 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84357
84358 * manual/fdl.texi: File removed.
84359 * manual/lesser.texi: File removed.
84360 * manual/libc.texinfo (Copying, Documentation License):
84361 Use new @include file names, put @appendix directive before @include.
84362
84363 2011-06-04 Jakub Jelinek <jakub@redhat.com>
84364
84365 [BZ #12841]
84366 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84367 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84368 (mq_open): Add __NTH.
84369
84370 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
84371
84372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84373 Assume Intel Core i3/i5/i7 processor if AVX is available.
84374
84375 2011-05-31 Ulrich Drepper <drepper@gmail.com>
84376
84377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84378 typo.
84379
84380 2011-05-31 Andreas Schwab <schwab@redhat.com>
84381
84382 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
84383 memory. Use alloca_account. Fix memory leak when retrying.
84384
84385 2011-05-31 Ulrich Drepper <drepper@gmail.com>
84386
84387 * version.h (RELEASE): Bump for 2.14 release.
84388 * include/features.h (__GLIBC_MINOR__): Bump to 14.
84389
84390 * config.make.in (RANLIB): Remove entry.
84391
84392 2011-05-30 Ulrich Drepper <drepper@gmail.com>
84393
84394 * po/Makefile (po-sed-cmd): Add ksh to extensions.
84395 (libc.pot): Work around missing support for .ksh extension in xgettext.
84396
84397 [BZ #12684]
84398 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
84399 if both request failed.
84400 (send_dg): In case of server errors clear resplen or *resplen2.
84401
84402 [BZ #12454]
84403 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
84404 when there are multiple maps.
84405 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
84406 (_dl_fini): Remove test here.
84407
84408 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
84409
84410 2011-05-29 Ulrich Drepper <drepper@gmail.com>
84411
84412 [BZ #12350]
84413 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
84414 bit from old_res_options.
84415 (gaih_inet): Likewise.
84416
84417 [BZ #11099]
84418 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
84419 as signed.
84420
84421 * resolv/res_init.c (res_setoptions): Make the code more compact.
84422
84423 [BZ #11558]
84424 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
84425 set RES_USEVC.
84426
84427 [BZ #11634]
84428 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
84429
84430 * malloc/malloc.h: Mark malloc hook variables as deprecated.
84431
84432 [BZ #11781]
84433 * malloc/malloc.h: Declare malloc hook variables as volatile.
84434
84435 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
84436 in last patch.
84437
84438 [BZ #11799]
84439 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
84440 raise in the comment.
84441 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84442 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84443 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
84444
84445 2011-05-28 Ulrich Drepper <drepper@gmail.com>
84446
84447 [BZ #12811]
84448 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
84449 grow the buffers more if it already has to be sufficient.
84450 (build_wcs_upper_buffer): Likewise.
84451 * posix/regexec.c (check_matching): Likewise.
84452 (clean_state_log_if_needed): Likewise.
84453 (extend_buffers): Don't enlarge buffers beyond size of the input
84454 buffer.
84455 Patches mostly by Emil Wojak <emil@wojak.eu>.
84456 * posix/bug-regex32.c: New file.
84457 * posix/Makefile (tests): Add bug-regex32.
84458
84459 * locale/findlocale.c (_nl_find_locale): Return right away if
84460 _nl_explode_name failed.
84461 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
84462
84463 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
84464
84465 * debug/xtrace.sh: Unify messages.
84466 * malloc/memusage.sh: Likewise.
84467
84468 [BZ #12813]
84469 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
84470 time symbol from vDSO. Substitute with vsyscall if not available.
84471 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
84472 __vdso_time.
84473
84474 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
84475 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
84476 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
84477 Add sendmmsg and internal_sendmmsg.
84478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
84479 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
84480 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
84481
84482 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
84483 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
84484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
84485
84486 2011-05-27 Ulrich Drepper <drepper@gmail.com>
84487
84488 [BZ #12813]
84489 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
84490 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
84491 available.
84492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
84493 __vdso_getcpu.
84494
84495 [BZ #12814]
84496 * iconvdata/Makefile (tests): Add bug-iconv9.
84497 * iconvdata/bug-iconv9.c: New file.
84498
84499 2011-05-27 Andreas Schwab <schwab@redhat.com>
84500
84501 [BZ #12814]
84502 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
84503
84504 2011-05-25 Jakub Jelinek <jakub@redhat.com>
84505
84506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84507 (struct user_regs_struct): Change intcs field back to cs.
84508
84509 2011-05-25 Ulrich Drepper <drepper@gmail.com>
84510
84511 * po/ja.po: Update from translation team.
84512
84513 2011-05-23 Ulrich Drepper <drepper@gmail.com>
84514
84515 [BZ #12795]
84516 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
84517 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
84518
84519 2011-05-20 Andreas Schwab <schwab@redhat.com>
84520
84521 * stdlib/longlong.h: Update from GCC.
84522
84523 2011-05-23 Andreas Schwab <schwab@redhat.com>
84524
84525 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
84526 parameter name.
84527 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
84528 Add parameter name.
84529 (__sysconf): Pass it down.
84530
84531 2011-05-22 Ulrich Drepper <drepper@gmail.com>
84532
84533 [BZ #12671]
84534 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
84535 some situations.
84536 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
84537 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
84538 add in in __libc_use_alloca calls. Adjust callers.
84539 (glob): Use malloc in some situations.
84540
84541 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
84542 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
84543 pltexit.
84544
84545 2011-05-21 Ulrich Drepper <drepper@gmail.com>
84546
84547 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
84548 and CLOCK_BOOTTIME_ALARM.
84549
84550 [BZ #12782]
84551 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
84552 is returned.
84553
84554 * string/_strerror.c (__strerror_r): Print negative errors as signed
84555 numbers.
84556
84557 [BZ #12777]
84558 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
84559 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
84560 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
84561
84562 * configure.in: Fix typo in redirection and correct removal of test
84563 files in two cases.
84564
84565 [BZ #12788]
84566 * locale/setlocale.c (new_composite_name): Fix test to check for
84567 identical name of all categories.
84568
84569 [BZ #12792]
84570 * libio/filedoalloc.c (local_isatty): New function.
84571 (_IO_file_doallocate): Use local_isatty.
84572 * stdio-common/perror.c (perror): In case a new stream is used
84573 forward the stream error.
84574 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
84575 error flag.
84576
84577 2011-05-20 Ulrich Drepper <drepper@gmail.com>
84578
84579 [BZ #11884]
84580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
84581 alloca.
84582 * include/alloca.h (extend_alloca_account): Define.
84583
84584 [BZ #11857]
84585 * posix/regex.h: Fix comments with documentation of user-accessible
84586 fields after compilation and describe correct free'ing of pattern
84587 after re_compile_pattern.
84588 Patch by Reuben Thomas <rrt@sc3d.org>.
84589
84590 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
84591
84592 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
84593 and -mno-altivec to prevent the compiler from using Altivec and/or
84594 VSX instructions when the corresponding registers are not available.
84595
84596 2011-05-19 Andreas Schwab <schwab@redhat.com>
84597
84598 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
84599
84600 2011-05-19 Ulrich Drepper <drepper@gmail.com>
84601
84602 * libio/freopen.c (freopen): Use __dup2, not dup2.
84603 * libio/freopen64.c (freopen64): Likewise.
84604
84605 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
84606
84607 [BZ #12775]
84608 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
84609 * math/Makefile (tests): Add test-powl.
84610 (CFLAGS-test-powl.c): Define.
84611 * math/test-powl.c: New file.
84612
84613 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
84614
84615 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
84616
84617 2011-05-17 Ulrich Drepper <drepper@gmail.com>
84618
84619 [BZ #11837]
84620 * iconvdata/gb18030.c: Update to GB18020-2005.
84621
84622 2011-05-16 Ulrich Drepper <drepper@gmail.com>
84623
84624 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
84625 RE_SYNTAX_POSIX_AWK): Update to match recent development.
84626 Patch by Aharon Robbins <arnold@skeeve.com>.
84627
84628 [BZ #11892]
84629 * stdlib/putenv.c (putenv): Don't always create copy of the variable
84630 on the stack.
84631
84632 [BZ #11895]
84633 * misc/pselect.c (__pselect): Handle timeout value errors hidden
84634 through underflows.
84635
84636 [BZ #12766]
84637 * misc/error.c (error_at_line): Ensure file_name and old_file_name
84638 point to strings before performing equality test for error_one_per_line
84639 mode.
84640
84641 [BZ #11697]
84642 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
84643
84644 [BZ #11820]
84645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84646 (struct user_fpregs_struct): Avoid __uint*_t types.
84647
84648 [BZ #6420]
84649 * malloc/mtrace.c (tr_where): Add additional parameter to point to
84650 symbol info. Use it instead of calling _dl_addr locally.
84651 (lock_and_info): New function.
84652 (tr_freehook): Call lock_and_info and pass symbol info as additional
84653 parameter to tr_where.
84654 (tr_mallochook): Likewise.
84655 (tr_reallochook): Likewise.
84656 (tr_memalignhook): Likewise.
84657
84658 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
84659 used and couldn't be at all thread-safe.
84660
84661 2011-05-15 Ulrich Drepper <drepper@gmail.com>
84662
84663 * libio/freopen.c (freopen): Don't close old file descriptor
84664 before the new one is opened. Instead dup the new file descriptor
84665 to the old one after the new stream is created.
84666 * libio/freopen64.c (freopen64): Likewise.
84667 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
84668 * libio/fileops.c (_IO_new_file_close_it): Handle new
84669 _IO_FLAGS2_NOCLOSE flag.
84670 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
84671 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
84672 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
84673 _IO_FLAGS2_NOCLOSE flag.
84674 * include/unistd.h: Add hidden_proto for dup3.
84675 Define __have_dup3.
84676 * io/dup3.c: Define hidden symbol.
84677 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
84678
84679 [BZ #7101]
84680 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
84681 when an incomplete long option is used.
84682 * posix/tst-getopt_long1.c: New file.
84683 * posix/Makefile (tests): Add tst-getopt_long1.
84684
84685 [BZ #10138]
84686 * scripts/config.guess: Update from autoconf-2.68.
84687 * scripts/config.sub: Likewise.
84688
84689 [BZ #10157]
84690 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
84691 tests into ...
84692 (has_cpuclock): ...this. New function.
84693 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
84694 macro here based on has_cpuclock code.
84695
84696 [BZ #10149]
84697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84698 First byte (not low byte) is now always NUL.
84699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
84700
84701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84702 Use non-cancelable interfaces.
84703
84704 [BZ #9809]
84705 * locale/iso-639.def: Add entry for Sorani.
84706
84707 [BZ #11901]
84708 * include/stdlib.h: Move include protection to the right place.
84709 Define abort_msg_s. Declare __abort_msg with it.
84710 * stdlib/abort.c (__abort_msg): Adjust type.
84711 * assert/assert.c (__assert_fail_base): New function. Majority
84712 of code from __assert_fail. Allocate memory for __abort_msg with
84713 mmap.
84714 (__assert_fail): Now call __assert_fail_base.
84715 * assert/assert-perr.c: Remove bulk of implementation. Use
84716 __assert_fail_base.
84717 * include/assert.hL Declare __assert_fail_base.
84718 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
84719 mmap.
84720 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
84721
84722 2011-05-14 Ulrich Drepper <drepper@gmail.com>
84723
84724 [BZ #11952]
84725 [BZ #12453]
84726 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
84727 until all modules are registered in the DTV.
84728 * elf/Makefile: Add rules to build and run tst-tls19.
84729 * elf/tst-tls19.c: New file.
84730 * elf/tst-tls19mod1.c: New file.
84731 * elf/tst-tls19mod2.c: New file.
84732 * elf/tst-tls19mod3.c: New file.
84733 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
84734
84735 [BZ #12083]
84736 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
84737 correctly.
84738
84739 [BZ #12601]
84740 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
84741 two-byte sequence errors.
84742 * iconvdata/Makefile (tests): Add bug-iconv8.
84743 * iconvdata/bug-iconv8.c: New file.
84744
84745 [BZ #12626]
84746 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
84747 buf2 definition.
84748
84749 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
84750
84751 [BZ #12432]
84752 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
84753 (dummy_getcfa): New function.
84754 (init): Get _Unwind_GetCFA address, use dummy if not found.
84755 (backtrace_helper): In recursion check, also check whether CFA changes.
84756 (__backtrace): Completely initialize arg.
84757
84758 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
84759 storing incomplete byte sequence in state object. Avoid testing for
84760 guaranteed too small input if we know there is enough data available.
84761
84762 2011-05-11 Andreas Schwab <schwab@redhat.com>
84763
84764 * Makeconfig (+link-pie): Indent.
84765 * Rules (binaries-pie): Define if $(have-fpie) and
84766 $(build-shared).
84767 (binaries-shared): Also filter out $(binaries-pie).
84768 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
84769 * nscd/Makefile (others-pie): Add nscd.
84770 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
84771 ($(objpfx)nscd): Remove command override.
84772 * login/Makefile (others-pie): Add pt_chown.
84773 ($(objpfx)pt_chown): Remove command override.
84774 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
84775 remove command overrides.
84776
84777 2011-05-13 Ulrich Drepper <drepper@gmail.com>
84778
84779 * libio/tst_putwc.c: Fix error messages.
84780
84781 [BZ #12724]
84782 * libio/fileops.c (_IO_new_file_close_it): Always flush when
84783 currently writing and seek to current position when not.
84784 * libio/Makefile (tests): Add bug-fclose1.
84785 * libio/bug-fclose1.c: New file.
84786
84787 2011-05-12 Ulrich Drepper <drepper@gmail.com>
84788
84789 [BZ #12511]
84790 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
84791 don't set DF_1_NODELETE here.
84792 (do_lookup_x): When entering new entry test for copy relocation
84793 and if necessary set DF_1_NODELETE flag.
84794 * elf/tst-unique4.cc: New file.
84795 * elf/tst-unique4.h: New file.
84796 * elf/tst-unique4lib.cc: New file.
84797 * elf/Makefile: Add rules to build and run tst-unique4.
84798 Patch by Piotr Bury <pbury@goahead.com>.
84799
84800 2011-05-11 Ulrich Drepper <drepper@gmail.com>
84801
84802 [BZ #12052]
84803 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
84804
84805 [BZ #12625]
84806 * misc/mntent_r.c (addmntent): Flush the stream after the output
84807
84808 [BZ #12393]
84809 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
84810 (is_trusted_path_normalize): Skip initial colon. Append slash
84811 to empty buffer. Duplicate is_trusted_path code but allow
84812 constructed patch to be prefix.
84813 (is_dst): Allow $ORIGIN followed by /.
84814 (_dl_dst_substitute): Correct clearing of check_for_trusted.
84815 Correct testing of result of is_trusted_path_normalize
84816 (decompose_rpath): Fix warning.
84817
84818 2011-05-10 Ulrich Drepper <drepper@gmail.com>
84819
84820 [BZ #11257]
84821 * grp/initgroups.c (internal_getgrouplist): When we found the service
84822 list through the initgroups entry in nsswitch.conf do not always
84823 continue on a successful lookup. Don't always use the
84824 __nss_group_database value if it is set.
84825 * nss/nsswitch.conf (initgroups): Change action for successful db
84826 lookup to continue for compatibility.
84827
84828 2011-05-09 Ulrich Drepper <drepper@gmail.com>
84829
84830 [BZ #11532]
84831 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
84832 and CP774 modules.
84833 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
84834 and CP774 modules.
84835 * iconvdata/tst-tables.sh: Likewise.
84836 * iconvdata/cp770.c: New file.
84837 * iconvdata/cp771.c: New file.
84838 * iconvdata/cp772.c: New file.
84839 * iconvdata/cp773.c: New file.
84840 * iconvdata/cp774.c: New file.
84841 * iconvdata/testdata/CP770: New file.
84842 * iconvdata/testdata/CP770..UTF8: New file.
84843 * iconvdata/testdata/CP771: New file.
84844 * iconvdata/testdata/CP771..UTF8: New file.
84845 * iconvdata/testdata/CP772: New file.
84846 * iconvdata/testdata/CP772..UTF8: New file.
84847 * iconvdata/testdata/CP773: New file.
84848 * iconvdata/testdata/CP773..UTF8: New file.
84849 * iconvdata/testdata/CP774: New file.
84850 * iconvdata/testdata/CP774..UTF8: New file.
84851
84852 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
84853 END CHARMAP line.
84854 * iconvdata/gen-8bit-gap.sh: Likewise.
84855 * iconvdata/gen-8bit.sh: Likewise.
84856
84857 * locale/iso-639.def: Add ary entry.
84858
84859 [BZ #11258]
84860 * locale/C-translit.h.in: Add U20A1 transliteration.
84861
84862 [BZ #12178]
84863 * locale/iso-639.def: Add wae entry.
84864 Patch by Kevin Bortis <bortis@translate-wae.ch>.
84865
84866 [BZ #12545]
84867 * locale/programs/localedef.c (construct_output_path): Use ssize_t
84868 for n.
84869
84870 [BZ #12711]
84871 * locale/C-translit.h.in: Add entry for U20B9.
84872 Patch by pravin.d.s@gmail.com.
84873
84874 2011-05-08 Ulrich Drepper <drepper@gmail.com>
84875
84876 [BZ #12713]
84877 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
84878 ENAMETOOLONG use generic getcwd.
84879 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
84880 in rtld. Use *stat64.
84881 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
84882 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
84883 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
84884 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
84885 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
84886 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
84887 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
84888 __fstatat64 macros.
84889 * include/dirent.h: Add libc_hidden_proto for rewinddir.
84890 * dirent/rewinddir.c: Add libc_hidden_def.
84891 * sysdeps/mach/hurd/rewinddir.c: Likewise.
84892 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
84893
84894 * include/dirent.h (__alloc_dir): Add flags parameter.
84895 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
84896 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
84897 __alloc_dir.
84898 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
84899 from fdopendir if O_CLOEXEC is already set.
84900
84901 2011-03-15 Alan Modra <amodra@gmail.com>
84902
84903 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
84904 l_tls_firstbyte_offset non-zero. Save padding offset in
84905 l_tls_firstbyte_offset for later use.
84906 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
84907 freeing static tls block.
84908
84909 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
84910
84911 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84912 where #ifdef was intended. The intent is to prevent ARG_MAX from
84913 being defined by the kernel headers.
84914
84915 2011-05-07 Ulrich Drepper <drepper@gmail.com>
84916
84917 [BZ #12734]
84918 * resolv/resolv.h: Define RES_NOTLDQUERY.
84919 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
84920 no-tld-query and set RES_NOTLDQUERY.
84921 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
84922 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
84923 modern BIND to search name as TLD unless forbidden.
84924
84925 2011-05-07 Petr Baudis <pasky@suse.cz>
84926 Ulrich Drepper <drepper@gmail.com>
84927
84928 [BZ #12393]
84929 * elf/dl-load.c (fillin_rpath): Move trusted path check...
84930 (is_trusted_path): ...to here.
84931 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
84932 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
84933 using is_trusted_path_normalize() in setuid scripts.
84934
84935 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84936
84937 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
84938 __BEGIN/__END_DECLS.
84939
84940 2011-05-06 Ulrich Drepper <drepper@gmail.com>
84941
84942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
84943 NSS_STATUS_NOTFOUND if no record was found.
84944
84945 2011-05-05 Andreas Schwab <schwab@redhat.com>
84946
84947 * sunrpc/Makefile (headers): Add rpc/netdb.h.
84948 (headers-not-in-tirpc): Remove rpc/netdb.h
84949 * resolv/netdb.h: Revert last change.
84950
84951 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
84952
84953 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
84954 circular dependency between libgcc.a and libc.a.
84955
84956 2011-05-05 Andreas Schwab <schwab@redhat.com>
84957
84958 * resolv/netdb.h: Don't include <rpc/netdb.h>.
84959 * nis/Makefile: Don't install rpcsvc/*.
84960 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
84961 instead of <rpc/types.h>.
84962 (MAXHOSTNAMELEN): Define.
84963
84964 2011-05-03 Andreas Schwab <schwab@redhat.com>
84965
84966 * elf/ldconfig.c (add_dir): Don't crash on empty path.
84967
84968 2011-04-28 Maciej Babinski <mbabinski@google.com>
84969
84970 [BZ #12714]
84971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
84972 gethostbyname4_r when IPv6 results are possible.
84973
84974 2011-05-02 Ulrich Drepper <drepper@gmail.com>
84975
84976 [BZ #12723]
84977 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
84978 _PC_PIPE_BUF handling.
84979
84980 2011-04-30 Bruno Haible <bruno@clisp.org>
84981
84982 [BZ #12717]
84983 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
84984 * resolv/netdb.h (getnameinfo): Change type of flags parameter
84985 to 'int'.
84986 * inet/getnameinfo.c (getnameinfo): Likewise.
84987
84988 2011-04-29 Ulrich Drepper <drepper@gmail.com>
84989
84990 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
84991 to groups setting in database lookup.
84992 * nss/nsswitch.conf: Add initgroups entry.
84993
84994 2011-04-22 Ulrich Drepper <drepper@gmail.com>
84995
84996 [BZ #12685]
84997 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
84998 mode string.
84999 Patch by Eric Blake <eblake@redhat.com>.
85000
85001 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
85002
85003 * sunrpc/Makefile (need-export-routines): Add svc_run.
85004 (routines): Remove svc_run.
85005 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85006 * sunrpc/clnt_perr.c (clnt_perrno): Export.
85007 * sunrpc/svc_run.c (svc_run): Likewise.
85008 * sunrpc/svc_udp.c (svcudp_create): Likewise.
85009
85010 2011-04-21 Ulrich Drepper <drepper@gmail.com>
85011
85012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85013 problem in reallocation in last patch.
85014
85015 2011-04-20 Ulrich Drepper <drepper@gmail.com>
85016
85017 * sunrpc/Makefile: Move inclusion of Rules.
85018
85019 2011-04-19 Ulrich Drepper <drepper@gmail.com>
85020
85021 * nss/nss_files/files-initgroups.c: New file.
85022 * nss/Makefile (libnss_files-routines): Add files-initgroups.
85023 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85024 _nss_files_initgroups_dyn.
85025
85026 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
85027
85028 * elf/elf.h (R_ARM_IRELATIVE): Define.
85029
85030 2011-04-19 Ulrich Drepper <drepper@gmail.com>
85031
85032 * po/ru.po: Update from translation team.
85033
85034 2011-04-17 Ulrich Drepper <drepper@gmail.com>
85035
85036 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85037 dependencies.
85038
85039 2011-02-06 Mike Frysinger <vapier@gentoo.org>
85040
85041 [BZ #12653]
85042 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85043 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85044 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85046 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85047
85048 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
85049
85050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85051 differing bytes.
85052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85055
85056 2011-04-17 Ulrich Drepper <drepper@gmail.com>
85057
85058 [BZ #12420]
85059 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85060 storing it.
85061 * stdlib/bug-getcontext.c: New file.
85062 * stdlib/Makefile: Add rules to build and run bug-getcontext.
85063
85064 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85065
85066 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85067 instructions into .machine "z9-109".
85068 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85069 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85070
85071 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85072
85073 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85074 between environment variables and auxiliary vector.
85075
85076 2011-04-16 Ulrich Drepper <drepper@gmail.com>
85077
85078 * Makefile: Add rules to build linkobj/libc.so.
85079 * include/libc-symbols.h: Define libc_hidden_nolink.
85080 * include/rpc/auth.h: Mark functions which are to be hidden.
85081 * include/rpc/auth_des.h: Likewise.
85082 * include/rpc/auth_unix.h: Likewise.
85083 * include/rpc/clnt.h: Likewise.
85084 * include/rpc/des_crypt.h: Likewise.
85085 * include/rpc/key_prot.h: Likewise.
85086 * include/rpc/pmap_clnt.h: Likewise.
85087 * include/rpc/pmap_prot.h: Likewise.
85088 * include/rpc/pmap_rmt.h: Likewise.
85089 * include/rpc/rpc_msg.h: Likewise.
85090 * include/rpc/svc.h: Likewise.
85091 * include/rpc/svc_auth.h: Likewise.
85092 * include/rpc/xdr.h: Likewise.
85093 * nis/Makefile: Link all DSOs against linkobj/libc.so.
85094 * nss/Makefile: Likewise.
85095 * sunrpc/Makefile: Don't install headers. Build library with normal
85096 entry points. Don't build rpcinfo. Link RPC tests appropriately.
85097 * sunrpc/auth_des.c: Hide exported symbols by default, export some
85098 for the compat linking library. Remove use of INTDEF/INTUSE.
85099 * sunrpc/auth_none.c: Likewise.
85100 * sunrpc/auth_unix.c: Likewise.
85101 * sunrpc/authdes_prot.c: Likewise.
85102 * sunrpc/authuxprot.c: Likewise.
85103 * sunrpc/clnt_gen.c: Likewise.
85104 * sunrpc/clnt_perr.c: Likewise.
85105 * sunrpc/clnt_raw.c: Likewise.
85106 * sunrpc/clnt_simp.c: Likewise.
85107 * sunrpc/clnt_tcp.c: Likewise.
85108 * sunrpc/clnt_udp.c: Likewise.
85109 * sunrpc/clnt_unix.c: Likewise.
85110 * sunrpc/des_crypt.c: Likewise.
85111 * sunrpc/des_soft.c: Likewise.
85112 * sunrpc/get_myaddr.c: Likewise.
85113 * sunrpc/key_call.c: Likewise.
85114 * sunrpc/key_prot.c: Likewise.
85115 * sunrpc/netname.c: Likewise.
85116 * sunrpc/pm_getmaps.c: Likewise.
85117 * sunrpc/pm_getport.c: Likewise.
85118 * sunrpc/pmap_clnt.c: Likewise.
85119 * sunrpc/pmap_prot.c: Likewise.
85120 * sunrpc/pmap_prot2.c: Likewise.
85121 * sunrpc/pmap_rmt.c: Likewise.
85122 * sunrpc/publickey.c: Likewise.
85123 * sunrpc/rpc_cmsg.c: Likewise.
85124 * sunrpc/rpc_common.c: Likewise.
85125 * sunrpc/rpc_dtable.c: Likewise.
85126 * sunrpc/rpc_prot.c: Likewise.
85127 * sunrpc/rpc_thread.c: Likewise.
85128 * sunrpc/rtime.c: Likewise.
85129 * sunrpc/svc.c: Likewise.
85130 * sunrpc/svc_auth.c: Likewise.
85131 * sunrpc/svc_authux.c: Likewise.
85132 * sunrpc/svc_raw.c: Likewise.
85133 * sunrpc/svc_run.c: Likewise.
85134 * sunrpc/svc_simple.c: Likewise.
85135 * sunrpc/svc_tcp.c: Likewise.
85136 * sunrpc/svc_udp.c: Likewise.
85137 * sunrpc/svc_unix.c: Likewise.
85138 * sunrpc/svcauth_des.c: Likewise.
85139 * sunrpc/xcrypt.c: Likewise.
85140 * sunrpc/xdr.c: Likewise.
85141 * sunrpc/xdr_array.c: Likewise.
85142 * sunrpc/xdr_float.c: Likewise.
85143 * sunrpc/xdr_intXX_t.c: Likewise.
85144 * sunrpc/xdr_mem.c: Likewise.
85145 * sunrpc/xdr_rec.c: Likewise.
85146 * sunrpc/xdr_ref.c: Likewise.
85147 * sunrpc/xdr_sizeof.c: Likewise.
85148 * sunrpc/xdr_stdio.c: Likewise.
85149
85150 2011-04-10 Ulrich Drepper <drepper@gmail.com>
85151
85152 [BZ #12650]
85153 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85154 * sysdeps/ia64/dl-tls.h: Likewise.
85155 * sysdeps/powerpc/dl-tls.h: Likewise.
85156 * sysdeps/s390/dl-tls.h: Likewise.
85157 * sysdeps/sh/dl-tls.h: Likewise.
85158 * sysdeps/sparc/dl-tls.h: Likewise.
85159 * sysdeps/x86_64/dl-tls.h: Likewise.
85160 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85161
85162 2011-03-14 Andreas Schwab <schwab@redhat.com>
85163
85164 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85165 rpath element also skip the following colon.
85166 (expand_dynamic_string_token): Add is_path parameter and pass
85167 down to DL_DST_REQUIRED and _dl_dst_substitute.
85168 (decompose_rpath): Call expand_dynamic_string_token with
85169 non-zero is_path. Ignore empty rpaths.
85170 (_dl_map_object_from_fd): Call expand_dynamic_string_token
85171 with zero is_path.
85172
85173 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
85174
85175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85176 Make cancelable.
85177
85178 2011-04-09 Ulrich Drepper <drepper@gmail.com>
85179
85180 [BZ #12655]
85181 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85182 Patch by Filipe David Manana <fdmanana@apache.org>.
85183
85184 2011-04-07 Andreas Schwab <schwab@redhat.com>
85185
85186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85187 Maintain aligned stack.
85188 (CHECK_RSP): Remove unused macro.
85189
85190 2011-04-03 Ulrich Drepper <drepper@gmail.com>
85191
85192 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85194
85195 2011-04-02 Ulrich Drepper <drepper@gmail.com>
85196
85197 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85198
85199 * include/features.h: Mention __USE_XOPEN2K8 in comment.
85200
85201 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
85202
85203 [BZ #12518]
85204 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85205 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85206 * sysdeps/x86_64/memmove.c: New file.
85207 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85208 (memcpy): Renamed to ...
85209 (__new_memcpy): This.
85210 (memcpy): Provide GLIBC_2_14 memcpy.
85211 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85212 (memcpy): Provide GLIBC_2_2_5 memcpy.
85213
85214 2011-04-01 Ulrich Drepper <drepper@gmail.com>
85215
85216 [BZ #12631]
85217 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85218
85219 2011-03-30 Andreas Schwab <schwab@redhat.com>
85220
85221 * misc/syncfs.c: New file.
85222 * misc/Makefile (routines): Add syncfs.
85223 * posix/unistd.h: Declare syncfs.
85224 * sysdeps/unix/syscalls.list: Add syncfs.
85225
85226 2011-04-01 Andreas Schwab <schwab@redhat.com>
85227
85228 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85229 open_by_handle_at.
85230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85231 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85235 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85237
85238 2011-04-01 Ulrich Drepper <drepper@gmail.com>
85239
85240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85242 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85247
85248 * io/Makefile: Compile fallocate.c, fallocate64.c, and
85249 sync_file_range.c with -fexceptions.
85250 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85251 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85252 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85253 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85254 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85255 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85257 sync_file_range as cancellation point
85258 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
85259 now a wrapper around __call_sync_file_range with cancellation handling.
85260 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85261 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
85262 function name to __call_sync_file_range.
85263 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85264 Add call_sync_file_range.
85265
85266 2011-04-01 Andreas Schwab <schwab@redhat.com>
85267
85268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85269 bits/timex.h.
85270
85271 2011-04-01 Ulrich Drepper <drepper@gmail.com>
85272
85273 * iconv/iconv.h: Fix typo in comment.
85274 * io/fcntl.h: Likewise.
85275 * libio/stdio.h: Likewise.
85276 * posix/spawn.h: Likewise.
85277 * posix/unistd.h: Likewise.
85278 * stdlib/stdlib.h: Likewise.
85279 * time/time.h: Likewise.
85280 * wcsmbs/wchar.h: Likewise.
85281
85282 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85283 open_by_handle): Add.
85284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85285 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
85286 Augment a few comments.
85287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85292 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85293 open_by_handle.
85294
85295 * io/fcntl.h (AT_EMPTY_PATH): Define.
85296
85297 2011-03-30 Ulrich Drepper <drepper@gmail.com>
85298
85299 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85300 * sysdeps/unix/sysv/linux/bits/time.h: New file.
85301 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85302 to...
85303 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
85304 * Versions.def: Add GLIBC_2.14.
85305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85306 Export.
85307
85308 2011-03-22 Ulrich Drepper <drepper@gmail.com>
85309
85310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85311 round counter.
85312 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85313
85314 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
85315
85316 [BZ #12597]
85317 * string/test-strncmp.c (do_page_test): New function.
85318 (check2): Likewise.
85319 (test_main): Call check2.
85320 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85321
85322 2011-03-20 Ulrich Drepper <drepper@gmail.com>
85323
85324 [BZ #12587]
85325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85326 Handle cache information in CPU leaf 4.
85327 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85328
85329 2011-03-18 Ulrich Drepper <drepper@gmail.com>
85330
85331 [BZ #12583]
85332 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85333 character representation.
85334 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85335
85336 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
85337
85338 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85339 END(__isnan) to END(__isnanf) to match function entry point/label
85340 EALIGN(__isnanf,...).
85341
85342 2011-03-10 Jakub Jelinek <jakub@redhat.com>
85343
85344 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85345
85346 2011-03-10 Ulrich Drepper <drepper@gmail.com>
85347
85348 [BZ #12510]
85349 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85350 copy from the symbol referenced in the relocation to initialize the
85351 used variable.
85352 Patch by Piotr Bury <pbury@goahead.com>.
85353 * elf/Makefile: Add rules to build and tst-unique3.
85354 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85355 * elf/tst-unique3.cc: New file.
85356 * elf/tst-unique3.h: New file.
85357 * elf/tst-unique3lib.cc: New file.
85358 * elf/tst-unique3lib2.cc: New file.
85359
85360 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85361
85362 2011-03-10 Mike Frysinger <vapier@gentoo.org>
85363
85364 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85365 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
85366 to _start.
85367
85368 2011-03-06 Ulrich Drepper <drepper@gmail.com>
85369
85370 * elf/dl-load.c (_dl_map_object): If we are looking for the first
85371 to-be-loaded object along a path to loader is ld.so.
85372
85373 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
85374 Ulrich Drepper <drepper@gmail.com>
85375
85376 * sysdeps/x86_64/memset.S: After aligning destination, code
85377 branches to different locations depending on the value of
85378 misalignment, when multiarch is enabled. Fix this.
85379
85380 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
85381
85382 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
85383 Set _x86_64_preferred_memory_instruction for AMD processsors.
85384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85385 Set bit_Prefer_SSE_for_memop for AMD processors.
85386
85387 2011-03-04 Ulrich Drepper <drepper@gmail.com>
85388
85389 * libio/fmemopen.c (fmemopen): Optimize a bit.
85390
85391 2011-03-03 Andreas Schwab <schwab@redhat.com>
85392
85393 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
85394
85395 2011-03-03 Roland McGrath <roland@redhat.com>
85396
85397 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
85398
85399 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
85400
85401 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
85402 __bzero_ultra1 instead of __memset_ultra1.
85403
85404 2011-02-23 Andreas Schwab <schwab@redhat.com>
85405 Ulrich Drepper <drepper@gmail.com>
85406
85407 [BZ #12509]
85408 * include/link.h (struct link_map): Add l_orig_initfini.
85409 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
85410 returning unsuccessfully.
85411 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
85412 close of a file loaded at startup, restore the original l_initfini
85413 list.
85414 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
85415 list, store the pointer.
85416 * elf/Makefile ($(objpfx)noload-mem): New rule.
85417 (noload-ENV): Define.
85418 (tests): Add $(objpfx)noload-mem.
85419 * elf/noload.c: Include <memcheck.h>.
85420 (main): Call mtrace. Close all opened handles.
85421
85422 2011-02-17 Andreas Schwab <schwab@redhat.com>
85423
85424 [BZ #12454]
85425 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
85426 dependencies are missing.
85427
85428 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
85429
85430 Fix __if_freereq crash: Unlike the generic version which uses free,
85431 Hurd needs munmap.
85432 * sysdeps/mach/hurd/ifreq.h: New file.
85433
85434 2011-01-27 Petr Baudis <pasky@suse.cz>
85435 Ulrich Drepper <drepper@gmail.com>
85436
85437 [BZ 12445]#
85438 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
85439 to extend_alloca().
85440 * stdio-common/bug23.c: New file.
85441 * stdio-common/Makefile (tests): Add bug23.
85442
85443 2010-09-28 Andreas Schwab <schwab@redhat.com>
85444 Ulrich Drepper <drepper@gmail.com>
85445
85446 [BZ #12489]
85447 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
85448 before performing relro protection. At old place add assertion
85449 to make sure nothing changed.
85450
85451 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
85452 Glauber de Oliveira Costa <glommer@gmail.com>
85453
85454 * elf/elf.h: Add new ARM TLS relocs.
85455
85456 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
85457
85458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
85459 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
85460 cast from r3.
85461 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
85462 'tests' variable.
85463 * sysdeps/wordsize-64/tst-writev.c: New file.
85464
85465 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
85466
85467 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
85468 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
85469 insns in _dl_start to prevent a TOC reference before relocs are
85470 resolved.
85471
85472 2011-02-15 Ulrich Drepper <drepper@gmail.com>
85473
85474 [BZ #12469]
85475 * Makeconfig: Remove RANLIB definition.
85476 * Makerules: Don't use RANLIB.
85477 * aclocal.m4: Remove ranlib test.
85478 * configure.in: No need to check for ranlib.
85479 * elf/rtld-Rules: Don't use RANLIB.
85480
85481 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
85482
85483 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
85484 protection macro.
85485 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
85486 inclusion protection macro.
85487
85488 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
85489 SIGRTMIN and SIGRTMAX and print information in that case only when
85490 SIGRTMIN is defined.
85491
85492 2011-02-11 Jakub Jelinek <jakub@redhat.com>
85493
85494 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
85495 arginfo fn returning -1.
85496
85497 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
85498 and thousands string is zero terminated.
85499
85500 2011-02-03 Andreas Schwab <schwab@redhat.com>
85501
85502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
85503 sysdeps/unix/sysv/linux/bits/socket.h.
85504
85505 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
85506
85507 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
85508 (__CPU_COUNT): Remove old macros.
85509 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
85510 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
85511 (__CPU_ALLOC, __CPU_FREE): Add macros.
85512 (__sched_cpualloc, __sched_cpufree): Add declarations.
85513
85514 2011-02-05 Ulrich Drepper <drepper@gmail.com>
85515
85516 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
85517 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
85518 * nscd/aicache.c (addhstaiX): Return timeout of added value.
85519 (readdhstai): Return value of addhstaiX call.
85520 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
85521 (addgrbyX): Return value returned by cache_addgr.
85522 (readdgrbyname): Return value returned by addgrbyX.
85523 (readdgrbygid): Likewise.
85524 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
85525 (addpwbyX): Return value returned by cache_addpw.
85526 (readdpwbyname): Return value returned by addhstbyX.
85527 (readdpwbyuid): Likewise.
85528 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
85529 (addservbyX): Return value returned by cache_addserv.
85530 (readdservbyname): Return value returned by addservbyX:
85531 (readdservbyport): Likewise.
85532 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
85533 (addhstbyX): Return value returned by cache_addhst.
85534 (readdhstbyname): Return value returned by addhstbyX.
85535 (readdhstbyaddr): Likewise.
85536 (readdhstbynamev6): Likewise.
85537 (readdhstbyaddrv6): Likewise.
85538 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
85539 (readdinitgroups): Return value returned by addinitgroupsX.
85540 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
85541 (prune_cache): Keep track of timeout value of re-added entries.
85542 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
85543 * nscd/nscd.h: Adjust prototypes of readd* functions.
85544
85545 2011-02-04 Roland McGrath <roland@redhat.com>
85546
85547 * nis/nis_server.c (nis_servstate): Use the right name for 0.
85548 (nis_stats): Likewise.
85549 * nis/nis_modify.c (nis_modify): Likewise.
85550 * nis/nis_remove.c (nis_remove): Likewise.
85551 * nis/nis_add.c (nis_add): Likewise.
85552
85553 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
85554
85555 * posix/fnmatch_loop.c: Add some consts.
85556
85557 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
85558
85559 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
85560
85561 [BZ #12460]
85562 * config.make.in (config-cflags-novzeroupper): Define.
85563 * configure.in: Substitute libc_cv_cc_novzeroupper.
85564 * elf/Makefile (AVX-CFLAGS): Define.
85565 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
85566 (CFLAGS-tst-auditmod4a.c): Likewise.
85567 (CFLAGS-tst-auditmod4b.c): Likewise.
85568 (CFLAGS-tst-auditmod6b.c): Likewise.
85569 (CFLAGS-tst-auditmod6c.c): Likewise.
85570 (CFLAGS-tst-auditmod7b.c): Likewise.
85571 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
85572
85573 2011-02-02 Ulrich Drepper <drepper@gmail.com>
85574
85575 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
85576 function to the callback.
85577 Patch partly by Jiri Olsa <jolsa@redhat.com>.
85578
85579 2011-02-02 Andreas Schwab <schwab@redhat.com>
85580
85581 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
85582 of errno.
85583
85584 2011-01-19 Ulrich Drepper <drepper@gmail.com>
85585
85586 [BZ #11724]
85587 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
85588 of constructors.
85589 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
85590 of destructors.
85591 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
85592
85593 [BZ #11724]
85594 * elf/Makefile: Add rules to build and run new test.
85595 * elf/tst-initorder.c: New file.
85596 * elf/tst-initorder.exp: New file.
85597 * elf/tst-initordera1.c: New file.
85598 * elf/tst-initordera2.c: New file.
85599 * elf/tst-initordera3.c: New file.
85600 * elf/tst-initordera4.c: New file.
85601 * elf/tst-initorderb1.c: New file.
85602 * elf/tst-initorderb2.c: New file.
85603 * elf/tst-order-a1.c: New file.
85604 * elf/tst-order-a2.c: New file.
85605 * elf/tst-order-a3.c: New file.
85606 * elf/tst-order-a4.c: New file.
85607 * elf/tst-order-b1.c: New file.
85608 * elf/tst-order-b2.c: New file.
85609 * elf/tst-order-main.c: New file.
85610 New test case by George Gensure <werkt0@gmail.com>.
85611
85612 2010-10-01 Andreas Schwab <schwab@redhat.com>
85613
85614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85615 decoding ACE if AI_CANONIDN.
85616
85617 2011-01-18 Ulrich Drepper <drepper@gmail.com>
85618
85619 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
85620
85621 2011-01-17 Ulrich Drepper <drepper@gmail.com>
85622
85623 * version.h (RELEASE): Bump for 2.13 release.
85624 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
85625
85626 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
85627
85628 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
85629 MADV_NOHUGEPAGE.
85630 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
85631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
85632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85633 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85636
85637 * posix/getconf.c: Update copyright year.
85638 * catgets/gencat.c: Likewise.
85639 * csu/version.c: Likewise.
85640 * debug/catchsegv.sh: Likewise.
85641 * debug/xtrace.sh: Likewise.
85642 * elf/ldconfig.c: Likewise.
85643 * elf/ldd.bash.in: Likewise.
85644 * elf/sprof.c (print_version): Likewise.
85645 * iconv/iconv_prog.c: Likewise.
85646 * iconv/iconvconfig.c: Likewise.
85647 * locale/programs/locale.c: Likewise.
85648 * locale/programs/localedef.c: Likewise.
85649 * malloc/memusage.sh: Likewise.
85650 * malloc/mtrace.pl: Likewise.
85651 * nscd/nscd.c (print_version): Likewise.
85652 * nss/getent.c: Likewise.
85653
85654 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
85655 PF_CAIF, and PF_ALG.
85656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85657
85658 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
85659
85660 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
85661 (modules-names): Use them.
85662 (ifunc-test-modules, ifunc-pie-tests): Define.
85663 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
85664 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
85665 (test-extras): Likewise.
85666 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
85667 $(compile-command.c).
85668 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
85669 (all-built-dso): Define.
85670 (check-textrel.out, check-execstack.out): Depend on it.
85671
85672 * configure.in: Don't override --enable-multi-arch.
85673
85674 2011-01-15 Ulrich Drepper <drepper@gmail.com>
85675
85676 [BZ #6812]
85677 * nscd/hstcache.c (tryagain): Define.
85678 (cache_addhst): Return tryagain not notfound for temporary errors.
85679 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
85680 failed.
85681
85682 2011-01-14 Ulrich Drepper <drepper@gmail.com>
85683
85684 [BZ #10563]
85685 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
85686 to make the syscall.
85687 * sysdeps/unix/sysv/linux/setgroups.c: New file.
85688
85689 [BZ #12378]
85690 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
85691 and fall back to matching as normal character if the string ends before
85692 the matching ']' is found. This is what POSIX requires.
85693 * posix/testfnm.c: Adjust test result.
85694 * posix/globtest.sh: Adjust test result. Add new test.
85695 * posix/tst-fnmatch.input: Likewise.
85696 * posix/tst-fnmatch2.c: Add new test.
85697
85698 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
85699
85700 * elf/Makefile (check-execstack): Revert last change. Depend on
85701 check-execstack.h.
85702 (check-execstack.h): New target.
85703 (generated): Add check-execstack.h.
85704 * elf/check-execstack.c: Include "check-execstack.h".
85705 (main): Revert last change.
85706 (handle_file): Return zero if GNU_STACK is absent and
85707 DEFAULT_STACK_PERMS doesn't include PF_X.
85708
85709 2011-01-13 Ulrich Drepper <drepper@gmail.com>
85710
85711 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
85712 in child fails because the descriptor is already closed.
85713 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
85714 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
85715 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
85716
85717 [BZ #12397]
85718 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
85719 syscall.
85720
85721 [BZ #10484]
85722 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
85723 temporary buffer used to handle multi lookups locally.
85724 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
85725
85726 2011-01-12 Ulrich Drepper <drepper@gmail.com>
85727
85728 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
85729 loader is ld.so.
85730
85731 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
85732
85733 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
85734 alignment for SSE2.
85735
85736 2011-01-12 Ulrich Drepper <drepper@gmail.com>
85737
85738 [BZ #12394]
85739 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
85740 characters. When rounding increased number of integer digits recompute
85741 number of groups.
85742 * stdio-common/tst-grouping.c: New file.
85743 * stdio-common/Makefile: Add rules to build and run tst-grouping.
85744
85745 2011-01-09 Ulrich Drepper <drepper@gmail.com>
85746
85747 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
85748 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
85749
85750 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
85751 void.
85752 * bits/select.h: Likewise.
85753
85754 2011-01-08 Ulrich Drepper <drepper@gmail.com>
85755
85756 * po/ja.po: Update from translation team.
85757
85758 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
85759
85760 [BZ #11155]
85761 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
85762 implementation just like for lxstat, fxstatat, et al.
85763
85764 2010-12-27 Jim Meyering <meyering@redhat.com>
85765
85766 [BZ #12348]
85767 * posix/regexec.c (build_trtable): Return failure indication upon
85768 calloc failure. Otherwise, re_search_internal could infloop on OOM.
85769
85770 2010-12-25 Ulrich Drepper <drepper@gmail.com>
85771
85772 [BZ #12201]
85773 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
85774 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
85775 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
85776 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
85777
85778 [BZ #12207]
85779 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
85780
85781 [BZ #12204]
85782 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
85783 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
85784
85785 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
85786
85787 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
85788 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
85789 script has SORT_BY_INIT_PRIORITY.
85790 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
85791 NO_CTORS_DTORS_SECTIONS is defined.
85792 * elf/soinit.c: Likewise.
85793 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
85794 NO_CTORS_DTORS_SECTIONS is defined.
85795 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
85796 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
85797 * sysdeps/sh/init-first.c: Likewise.
85798 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
85799
85800 2010-12-24 Ulrich Drepper <drepper@gmail.com>
85801
85802 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
85803 always use the slow path.
85804
85805 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
85806
85807 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
85808 similar rule which adds the sysdep directories to the header search in
85809 order to pick up the correct platform stackinfo.h.
85810 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
85811 perform test if it is, otherwise return successfully without testing.
85812 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
85813 DEFAULT_STACK_PERMS define in stackinfo.h.
85814 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
85815 defined in stackinfo.h.
85816 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
85817 DEFAULT_STACK_PERMS defined in stackinfo.h.
85818 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
85819 * sysdeps/ia64/stackinfo.h: Likewise.
85820 * sysdeps/s390/stackinfo.h: Likewise.
85821 * sysdeps/sh/stackinfo.h: Likewise.
85822 * sysdeps/sparc/stackinfo.h: Likewise.
85823 * sysdeps/x86_64/stackinfo.h: Likewise.
85824 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
85825 PF_X for powerpc64. Retain PF_X for powerpc32.
85826
85827 2010-12-19 Ulrich Drepper <drepper@gmail.com>
85828
85829 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
85830 accurately.
85831 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
85832 GETDENTS_64BIT_ALIGNED.
85833
85834 2010-12-14 Ulrich Drepper <dreper@gmail.com>
85835
85836 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
85837
85838 2010-12-10 Andreas Schwab <schwab@redhat.com>
85839
85840 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
85841 _GNU_SOURCE.
85842
85843 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
85844 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
85845 Remove __restrict.
85846 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
85847 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
85848
85849 2010-12-09 Ulrich Drepper <drepper@gmail.com>
85850
85851 [BZ #11655]
85852 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
85853 are initialized.
85854
85855 2010-12-09 Jakub Jelinek <jakub@redhat.com>
85856
85857 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
85858
85859 2010-12-03 Ulrich Drepper <drepper@gmail.com>
85860
85861 * po/it.po: Update from translation team.
85862
85863 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
85864
85865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
85866 unused codes.
85867
85868 2010-11-30 Ulrich Drepper <drepper@gmail.com>
85869
85870 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
85871
85872 2010-11-24 Andreas Schwab <schwab@redhat.com>
85873
85874 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
85875 specially.
85876 (gaih_getanswer_slice): Likewise.
85877
85878 2010-10-20 Jakub Jelinek <jakub@redhat.com>
85879
85880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
85881
85882 2010-05-31 Petr Baudis <pasky@suse.cz>
85883
85884 [BZ #11149]
85885 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
85886 silently even in the chroot mode.
85887
85888 2010-11-22 Ulrich Drepper <drepper@gmail.com>
85889
85890 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
85891 last patch a bit. Pretty printing
85892
85893 2010-05-31 Petr Baudis <pasky@suse.cz>
85894
85895 [BZ #10085]
85896 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
85897 initialization of skip_initgroups_dyn.
85898
85899 2010-11-19 Ulrich Drepper <drepper@gmail.com>
85900
85901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
85902 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85903
85904 2010-11-16 Ulrich Drepper <drepper@gmail.com>
85905
85906 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
85907
85908 2010-11-11 Andreas Schwab <schwab@redhat.com>
85909
85910 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
85911 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
85912 (tst-fnmatch-ENV): Set MALLOC_TRACE.
85913 ($(objpfx)tst-fnmatch-mem): New rule.
85914 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
85915 * posix/tst-fnmatch.c (main): Call mtrace.
85916
85917 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
85918
85919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85920 Support Intel processor model 6 and model 0x2c.
85921
85922 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
85923
85924 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
85925 signed comparison.
85926
85927 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
85928
85929 [BZ #12205]
85930 * string/test-strncasecmp.c (check_result): New function.
85931 (do_one_test): Use it.
85932 (check1): New function.
85933 (test_main): Use it.
85934 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
85935 Support strcasecmp and strncasecmp.
85936
85937 2010-11-08 Ulrich Drepper <drepper@gmail.com>
85938
85939 [BZ #12194]
85940 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
85941 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85942
85943 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
85944
85945 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
85946 IFUNC support.
85947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85948 memset-x86-64.
85949 * sysdeps/x86_64/multiarch/bzero.S: New file.
85950 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
85951 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
85952 * sysdeps/x86_64/multiarch/memset.S: New file.
85953 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
85954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85955 Set bit_Prefer_SSE_for_memop for Intel processors.
85956 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
85957 Define.
85958 (index_Prefer_SSE_for_memop): Define.
85959 (HAS_PREFER_SSE_FOR_MEMOP): Define.
85960
85961 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
85962
85963 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
85964 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
85965
85966 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
85967
85968 [BZ #12191]
85969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85970 (__x86_64_raw_data_cache_size_half): Likewise.
85971 (__x86_64_raw_shared_cache_size): Likewise.
85972 (__x86_64_raw_shared_cache_size_half): Likewise.
85973
85974 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85975 (__x86_64_raw_data_cache_size_half): Likewise.
85976 (__x86_64_raw_shared_cache_size): Likewise.
85977 (__x86_64_raw_shared_cache_size_half): Likewise.
85978 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
85979 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
85980 and __x86_64_raw_shared_cache_size_half. Round
85981 __x86_64_data_cache_size_half, __x86_64_data_cache_size
85982 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
85983 to multiple of 256 bytes.
85984
85985 2010-11-03 Ulrich Drepper <drepper@gmail.com>
85986
85987 [BZ #12167]
85988 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
85989 of inacessible symlinks. Verify result of symlink before returning it.
85990 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
85991 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
85992
85993 2010-10-28 Erich Ritz <erichritz@gmail.com>
85994
85995 * math/math.h (isinf): Fix typo in comment.
85996
85997 2010-11-01 Ulrich Drepper <drepper@gmail.com>
85998
85999 * po/da.po: Update from translation team.
86000
86001 2010-10-26 Ulrich Drepper <drepper@gmail.com>
86002
86003 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86004 is added to the list.
86005
86006 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
86007 Ulrich Drepper <drepper@gmail.com>
86008
86009 * elf/dl-object.c (_dl_new_object): Don't append the new object to
86010 the global list here. Move code to...
86011 (_dl_add_to_namespace_list): ...here. New function.
86012 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86013 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86014 * elf/dl-load.c (lose): Don't remove the element from the list.
86015 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86016 (_dl_map_object): Likewise.
86017
86018 2010-10-25 Ulrich Drepper <drepper@gmail.com>
86019
86020 [BZ #12159]
86021 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86022 into all bytes of SSE register.
86023 Patch by Richard Li <richardpku@gmail.com>.
86024
86025 2010-10-24 Ulrich Drepper <drepper@gmail.com>
86026
86027 [BZ #12140]
86028 * malloc/malloc.c (_int_free): Fill correct number of bytes when
86029 perturbing.
86030
86031 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
86032
86033 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86034 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86035 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86036 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86038 submachine.
86039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86040
86041 2010-10-22 Andreas Schwab <schwab@redhat.com>
86042
86043 * include/dlfcn.h (__RTLD_SECURE): Define.
86044 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
86045 mode & __RTLD_SECURE instead.
86046 (open_path): Rename preloaded parameter to secure.
86047 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86048 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86049 * elf/dl-deps.c (openaux): Likewise.
86050 * elf/rtld.c (struct map_args): Remove is_preloaded.
86051 (map_doit): Don't use it.
86052 (dl_main): Likewise.
86053 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86054 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86055
86056 2010-09-09 Andreas Schwab <schwab@redhat.com>
86057
86058 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86059 (sysd-rules-targets): Remove duplicates.
86060 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86061 rtld-%.$o dependency.
86062
86063 2010-10-18 Andreas Schwab <schwab@redhat.com>
86064
86065 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86066 _dl_map_object do it.
86067
86068 2010-10-19 Ulrich Drepper <drepper@gmail.com>
86069
86070 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86071 fast fma builtins, define the macros in the C99 standard.
86072 (FP_FAST_FMAF): Likewise.
86073 (FP_FAST_FMAL): Likewise.
86074 * sysdeps/x86_64/bits/mathdef.h: Likewise.
86075
86076 * bits/mathdef.h: Update copyright year.
86077 * sysdeps/powerpc/bits/mathdef.h: Likewise.
86078
86079 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
86080
86081 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86082 builtins, define the macros in the C99 standard.
86083 (FP_FAST_FMAF): Likewise.
86084 (FP_FAST_FMAL): Likewise.
86085 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86086 multiply/add.
86087 (FP_FAST_FMAF): Likewise.
86088
86089 2010-10-15 Jakub Jelinek <jakub@redhat.com>
86090
86091 [BZ #3268]
86092 * math/libm-test.inc (fma_test): Some new testcases.
86093 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86094 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86095 y and infinite z. Do multiplication by C already in long double.
86096 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86098 y and infinite z. Do bitwise or of inexact bit into u.d.
86099 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86100 * sysdeps/i386/fpu/s_fmaf.S: Removed.
86101 * sysdeps/i386/fpu/s_fma.S: Removed.
86102 * sysdeps/i386/fpu/s_fmal.S: Removed.
86103
86104 2010-10-16 Jakub Jelinek <jakub@redhat.com>
86105
86106 [BZ #3268]
86107 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86109 computation is not scheduled after fetestexcept. Fix value
86110 of minimum denormal long double.
86111
86112 2010-10-14 Jakub Jelinek <jakub@redhat.com>
86113
86114 [BZ #3268]
86115 * math/libm-test.inc (fma_test): Add some more tests.
86116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86117 correctly.
86118
86119 2010-10-15 Andreas Schwab <schwab@redhat.com>
86120
86121 * scripts/data/localplt-s390-linux-gnu.data: New file.
86122 * scripts/data/localplt-s390x-linux-gnu.data: New file.
86123
86124 2010-10-13 Jakub Jelinek <jakub@redhat.com>
86125
86126 [BZ #3268]
86127 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86128 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86129 instead of dbl-64.
86130 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86131 inlines.
86132 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86134 if one of x and y is very large and the other is subnormal.
86135 * sysdeps/s390/fpu/s_fmaf.c: New file.
86136 * sysdeps/s390/fpu/s_fma.c: New file.
86137 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86138 * sysdeps/powerpc/fpu/s_fma.S: New file.
86139 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86140 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86141 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86142
86143 2010-10-12 Jakub Jelinek <jakub@redhat.com>
86144
86145 [BZ #3268]
86146 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86147 fma tests.
86148 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86149 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86150 * sysdeps/i386/i686/multiarch/s_fma.c: Include
86151 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86152 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86153 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86154 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86155
86156 2010-10-12 Ulrich Drepper <drepper@redhat.com>
86157
86158 [BZ #12078]
86159 * posix/regcomp.c (parse_branch): One more memory leak plugged.
86160 * posix/bug-regex31.input: Add test case.
86161
86162 2010-10-11 Ulrich Drepper <drepper@gmail.com>
86163
86164 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86165 * posix/bug-regex31.input: New file.
86166
86167 [BZ #12078]
86168 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86169 (parse_sub_exp): Fix last change, use postorder.
86170
86171 * posix/bug-regex31.c: New file.
86172 * posix/Makefile: Add rules to build and run bug-regex31.
86173
86174 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86175
86176 [BZ #12078]
86177 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86178
86179 [BZ #12108]
86180 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86181 to have entries in sys_siglist.
86182
86183 [BZ #12093]
86184 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86185 be NULL.
86186
86187 2010-10-07 Jakub Jelinek <jakub@redhat.com>
86188
86189 [BZ #3268]
86190 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86191 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86192 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86193 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86194 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86195 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86196 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86197 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86198 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86199 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86200 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86201 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86202 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86203 * math/ftestexcept.c (fetestexcept): Likewise.
86204 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86205 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86206 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86207 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86208 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86209 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86210 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86211
86212 2010-10-11 Ulrich Drepper <drepper@gmail.com>
86213
86214 [BZ #12107]
86215 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86216 newline.
86217
86218 2010-10-06 Ulrich Drepper <drepper@gmail.com>
86219
86220 * string/bug-strstr1.c: New file.
86221 * string/Makefile: Add rules to build and run bug-strstr1.
86222
86223 2010-10-05 Eric Blake <eblake@redhat.com>
86224
86225 [BZ #12092]
86226 * string/str-two-way.h (two_way_long_needle): Always clear memory
86227 when skipping input due to the shift table.
86228
86229 2010-10-03 Ulrich Drepper <drepper@gmail.com>
86230
86231 [BZ #12005]
86232 * malloc/mcheck.c: Handle large requests.
86233
86234 [BZ #12077]
86235 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86236 for strncmp and strncasecmp.
86237 * string/stratcliff.c: Add tests for strcmp and strncmp.
86238 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86239
86240 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
86241
86242 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86243 __set_fpscr.
86244
86245 2010-09-30 Andreas Jaeger <aj@suse.de>
86246
86247 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86248 (CGROUP_SUPER_MAGIC): Define.
86249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86250 Handle btrfs and cgroup file systems.
86251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86252 Likewise.
86253
86254 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
86255
86256 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86257 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86258
86259 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
86260
86261 [BZ #12067]
86262 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86263 trying to locate the ELF header.
86264
86265 2010-09-27 Andreas Schwab <schwab@redhat.com>
86266
86267 [BZ #11611]
86268 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86269 Mask out sign-bit copies when constructing f_fsid.
86270
86271 2010-09-24 Petr Baudis <pasky@suse.cz>
86272
86273 * debug/stack_chk_fail_local.c: Add missing licence exception.
86274 * debug/warning-nop.c: Likewise.
86275
86276 2010-09-15 Joseph Myers <joseph@codesourcery.com>
86277
86278 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86279 implementing getdents64 using getdents syscall, set d_type if
86280 __ASSUME_GETDENTS32_D_TYPE.
86281
86282 2010-09-16 Andreas Schwab <schwab@redhat.com>
86283
86284 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86285 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86286
86287 2010-09-21 Ulrich Drepper <drepper@redhat.com>
86288
86289 [BZ #12037]
86290 * posix/unistd.h: Undo change of feature selection for ftruncate from
86291 2010-01-11.
86292
86293 2010-09-20 Ulrich Drepper <drepper@redhat.com>
86294
86295 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86296 detection.
86297
86298 2010-09-20 Andreas Schwab <schwab@redhat.com>
86299
86300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86301 fanotify_mark.
86302 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86303
86304 2010-09-14 Andreas Schwab <schwab@redhat.com>
86305
86306 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86307 variables after CHECK_SP call.
86308 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86309
86310 2010-09-13 Andreas Schwab <schwab@redhat.com>
86311 Ulrich Drepper <drepper@redhat.com>
86312
86313 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86314 re-relocationg ld.so.
86315 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86316 _dl_init_paths call.
86317 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
86318 here anymore.
86319
86320 2010-09-14 Ulrich Drepper <drepper@redhat.com>
86321
86322 * resolv/res_init.c (__res_vinit): Count the default server we added.
86323
86324 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
86325 Ulrich Drepper <drepper@redhat.com>
86326
86327 [BZ #11968]
86328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86329 (____longjmp_chk): Use %ebx for saving value across system call.
86330 Add unwind info.
86331
86332 2010-09-06 Andreas Schwab <schwab@redhat.com>
86333
86334 * manual/Makefile: Don't mix pattern rules with normal rules.
86335
86336 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
86337
86338 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86339 operation.
86340 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86341 * libio/iofopncook.c (_IO_cookie_init): Likewise.
86342 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86343 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86345 Likewise.
86346
86347 2010-09-04 Ulrich Drepper <drepper@redhat.com>
86348
86349 [BZ #11979]
86350 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86351 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86352
86353 2010-09-02 Ulrich Drepper <drepper@redhat.com>
86354
86355 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86356 * sysdeps/x86_64/addmul_1.S: Likewise.
86357 * sysdeps/x86_64/lshift.S: Likewise.
86358 * sysdeps/x86_64/mul_1.S: Likewise.
86359 * sysdeps/x86_64/rshift.S: Likewise.
86360 * sysdeps/x86_64/sub_n.S: Likewise.
86361 * sysdeps/x86_64/submul_1.S: Likewise.
86362
86363 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
86364
86365 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86366 Define __sched_param instead of SCHED_* and sched_param when
86367 <bits/sched.h> is included with __need_schedparam defined.
86368 * bits/sched.h [__need_schedparam]
86369 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86370 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86371 (__defined_schedparam): Define to 1.
86372 (__sched_param): New structure, identical to sched_param.
86373 (__need_schedparam): Undefine.
86374
86375 2010-08-31 Mike Frysinger <vapier@gentoo.org>
86376
86377 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
86378 (epoll_create1): Declare.
86379
86380 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
86381
86382 2010-08-31 Andreas Schwab <schwab@redhat.com>
86383
86384 [BZ #7066]
86385 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
86386 shifting retval into place.
86387
86388 2010-09-01 Ulrich Drepper <drepper@redhat.com>
86389
86390 * nis/rpcsvc/nis.h: Update copyright notice.
86391 * nis/rpcsvc/nis.x: Likewise.
86392 * nis/rpcsvc/nis_callback.h: Likewise.
86393 * nis/rpcsvc/nis_callback.x: Likewise.
86394 * nis/rpcsvc/nis_object.x: Likewise.
86395 * nis/rpcsvc/nis_tags.h: Likewise.
86396 * nis/rpcsvc/yp.h: Likewise.
86397 * nis/rpcsvc/yp.x: Likewise.
86398 * nis/rpcsvc/ypupd.h: Likewise.
86399 * nis/yp_xdr.c: Likewise.
86400 * nis/ypupdate_xdr.c: Likewise.
86401
86402 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
86403 mainly the body of pmap_getport. Add parameters to specify timeouts.
86404 (pmap_getport): Use __libc_rpc_getport.
86405 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
86406 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
86407 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86408
86409 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
86410
86411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
86412 fanotify_mark.
86413
86414 2010-08-27 Roland McGrath <roland@redhat.com>
86415
86416 * sysdeps/i386/i686/multiarch/Makefile
86417 (CFLAGS-varshift.c): New variable.
86418
86419 2010-08-27 Ulrich Drepper <drepper@redhat.com>
86420
86421 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
86422 * sysdeps/i386/i686/multiarch/varshift.c: New file.
86423
86424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
86425
86426 * sysdeps/x86_64/strlen.S: Minimal code improvement.
86427
86428 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
86429
86430 * sysdeps/x86_64/strlen.S: Unroll the loop.
86431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86432 strlen-sse2 strlen-sse2-bsf.
86433 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
86434 __strlen_no_bsf if bit_Slow_BSF is set.
86435 (__strlen_sse42): Removed.
86436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
86437 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
86438
86439 2010-08-25 Roland McGrath <roland@redhat.com>
86440
86441 * sysdeps/x86_64/multiarch/varshift.S: File removed.
86442 * sysdeps/x86_64/multiarch/varshift.c: New file.
86443 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
86444 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
86445 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
86446 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
86447
86448 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
86449
86450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86451 strlen-sse2 strlen-sse2-bsf.
86452 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
86453 __strlen_sse2_bsf if bit_Slow_BSF is unset.
86454 (__strlen_sse2): Removed.
86455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
86456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
86457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86458 bit_Slow_BSF for Atom.
86459 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
86460 (index_Slow_BSF): Define.
86461 (HAS_SLOW_BSF): Define.
86462
86463 2010-08-25 Ulrich Drepper <drepper@redhat.com>
86464
86465 [BZ #10851]
86466 * resolv/res_init.c (__res_vinit): When no server address at all
86467 is given default to loopback.
86468
86469 2010-08-24 Roland McGrath <roland@redhat.com>
86470
86471 * configure.in: Remove config-name.h generation.
86472 * configure: Regenerated.
86473 * config-name.in: File removed.
86474 * scripts/config-uname.sh: New file.
86475 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
86476 ($(objdir)config-name.h): New target.
86477
86478 * sunrpc/rpc_parse.h: Avoid nested comment.
86479
86480 2010-08-24 Richard Henderson <rth@redhat.com>
86481 Ulrich Drepper <drepper@redhat.com>
86482 H.J. Lu <hongjiu.lu@intel.com>
86483
86484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
86485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
86486 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
86487 Replace _mm_srli_si128 with __m128i_shift_right. Replace
86488 _mm_alignr_epi8 with _mm_loadu_si128.
86489 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
86490 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
86491 (__m128i_shift_right): Removed.
86492 * sysdeps/i386/i686/multiarch/varshift.h: New file.
86493 * sysdeps/i386/i686/multiarch/varshift.S: New file.
86494 * sysdeps/x86_64/multiarch/varshift.h: New file.
86495 * sysdeps/x86_64/multiarch/varshift.S: New file.
86496
86497 2010-08-21 Mike Frysinger <vapier@gentoo.org>
86498
86499 * configure.in: Move assembler checks to before sysdep dir checking.
86500
86501 2010-08-20 Petr Baudis <pasky@suse.cz>
86502
86503 * LICENSES: Sync the sunrpc license.
86504
86505 2010-08-19 Ulrich Drepper <drepper@redhat.com>
86506
86507 * sunrpc/auth_des.c: Update copyright notice once again.
86508 * sunrpc/auth_none.c: Likewise.
86509 * sunrpc/auth_unix.c: Likewise.
86510 * sunrpc/authdes_prot.c: Likewise.
86511 * sunrpc/authuxprot.c: Likewise.
86512 * sunrpc/bindrsvprt.c: Likewise.
86513 * sunrpc/clnt_gen.c: Likewise.
86514 * sunrpc/clnt_perr.c: Likewise.
86515 * sunrpc/clnt_raw.c: Likewise.
86516 * sunrpc/clnt_simp.c: Likewise.
86517 * sunrpc/clnt_tcp.c: Likewise.
86518 * sunrpc/clnt_udp.c: Likewise.
86519 * sunrpc/clnt_unix.c: Likewise.
86520 * sunrpc/des_crypt.c: Likewise.
86521 * sunrpc/des_soft.c: Likewise.
86522 * sunrpc/get_myaddr.c: Likewise.
86523 * sunrpc/getrpcport.c: Likewise.
86524 * sunrpc/key_call.c: Likewise.
86525 * sunrpc/key_prot.c: Likewise.
86526 * sunrpc/openchild.c: Likewise.
86527 * sunrpc/pm_getmaps.c: Likewise.
86528 * sunrpc/pm_getport.c: Likewise.
86529 * sunrpc/pmap_clnt.c: Likewise.
86530 * sunrpc/pmap_prot.c: Likewise.
86531 * sunrpc/pmap_prot2.c: Likewise.
86532 * sunrpc/pmap_rmt.c: Likewise.
86533 * sunrpc/rpc/auth.h: Likewise.
86534 * sunrpc/rpc/auth_unix.h: Likewise.
86535 * sunrpc/rpc/clnt.h: Likewise.
86536 * sunrpc/rpc/des_crypt.h: Likewise.
86537 * sunrpc/rpc/key_prot.h: Likewise.
86538 * sunrpc/rpc/netdb.h: Likewise.
86539 * sunrpc/rpc/pmap_clnt.h: Likewise.
86540 * sunrpc/rpc/pmap_prot.h: Likewise.
86541 * sunrpc/rpc/pmap_rmt.h: Likewise.
86542 * sunrpc/rpc/rpc.h: Likewise.
86543 * sunrpc/rpc/rpc_des.h: Likewise.
86544 * sunrpc/rpc/rpc_msg.h: Likewise.
86545 * sunrpc/rpc/svc.h: Likewise.
86546 * sunrpc/rpc/svc_auth.h: Likewise.
86547 * sunrpc/rpc/types.h: Likewise.
86548 * sunrpc/rpc/xdr.h: Likewise.
86549 * sunrpc/rpc_clntout.c: Likewise.
86550 * sunrpc/rpc_cmsg.c: Likewise.
86551 * sunrpc/rpc_common.c: Likewise.
86552 * sunrpc/rpc_cout.c: Likewise.
86553 * sunrpc/rpc_dtable.c: Likewise.
86554 * sunrpc/rpc_hout.c: Likewise.
86555 * sunrpc/rpc_main.c: Likewise.
86556 * sunrpc/rpc_parse.c: Likewise.
86557 * sunrpc/rpc_parse.h: Likewise.
86558 * sunrpc/rpc_prot.c: Likewise.
86559 * sunrpc/rpc_sample.c: Likewise.
86560 * sunrpc/rpc_scan.c: Likewise.
86561 * sunrpc/rpc_scan.h: Likewise.
86562 * sunrpc/rpc_svcout.c: Likewise.
86563 * sunrpc/rpc_tblout.c: Likewise.
86564 * sunrpc/rpc_util.c: Likewise.
86565 * sunrpc/rpc_util.h: Likewise.
86566 * sunrpc/rpcinfo.c: Likewise.
86567 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
86568 * sunrpc/rpcsvc/key_prot.x: Likewise.
86569 * sunrpc/rpcsvc/klm_prot.x: Likewise.
86570 * sunrpc/rpcsvc/mount.x: Likewise.
86571 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
86572 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
86573 * sunrpc/rpcsvc/rex.x: Likewise.
86574 * sunrpc/rpcsvc/rstat.x: Likewise.
86575 * sunrpc/rpcsvc/rusers.x: Likewise.
86576 * sunrpc/rpcsvc/sm_inter.x: Likewise.
86577 * sunrpc/rpcsvc/spray.x: Likewise.
86578 * sunrpc/rpcsvc/yppasswd.x: Likewise.
86579 * sunrpc/rtime.c: Likewise.
86580 * sunrpc/svc.c: Likewise.
86581 * sunrpc/svc_auth.c: Likewise.
86582 * sunrpc/svc_authux.c: Likewise.
86583 * sunrpc/svc_raw.c: Likewise.
86584 * sunrpc/svc_run.c: Likewise.
86585 * sunrpc/svc_simple.c: Likewise.
86586 * sunrpc/svc_tcp.c: Likewise.
86587 * sunrpc/svc_udp.c: Likewise.
86588 * sunrpc/svc_unix.c: Likewise.
86589 * sunrpc/svcauth_des.c: Likewise.
86590 * sunrpc/xcrypt.c: Likewise.
86591 * sunrpc/xdr.c: Likewise.
86592 * sunrpc/xdr_array.c: Likewise.
86593 * sunrpc/xdr_float.c: Likewise.
86594 * sunrpc/xdr_mem.c: Likewise.
86595 * sunrpc/xdr_rec.c: Likewise.
86596 * sunrpc/xdr_ref.c: Likewise.
86597 * sunrpc/xdr_sizeof.c: Likewise.
86598 * sunrpc/xdr_stdio.c: Likewise.
86599
86600 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
86601 handling.
86602
86603 2010-08-19 Andreas Schwab <schwab@redhat.com>
86604
86605 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
86606
86607 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
86608
86609 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
86610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
86611 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
86612 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
86613 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
86614 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
86615 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
86616 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
86617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
86618 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
86619 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
86620 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
86621 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
86622 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
86623
86624 2010-07-26 Anton Blanchard <anton@samba.org>
86625
86626 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
86627 * malloc/arena.c (heap_trim): Likewise.
86628
86629 2010-08-16 Ulrich Drepper <drepper@redhat.com>
86630
86631 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
86632 here. Not...
86633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
86634 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
86635
86636 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
86637
86638 * sysdeps/i386/elf/Makefile: New file.
86639
86640 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
86641
86642 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
86643 from fanotify_init.
86644 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
86645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86646
86647 2010-08-15 Ulrich Drepper <drepper@redhat.com>
86648
86649 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
86650 of strncasecmp_l.
86651 * sysdeps/multiarch/strcmp.S: Likewise.
86652
86653 2010-08-14 Ulrich Drepper <drepper@redhat.com>
86654
86655 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86656 strncase_l-nonascii.
86657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86658 Add strncase_l-ssse3.
86659 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
86660 * sysdeps/x86_64/strcmp.S: Likewise.
86661 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
86662 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
86663 * sysdeps/x86_64/strncase.S: New file.
86664 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
86665 * sysdeps/x86_64/strncase_l.S: New file.
86666 * string/Makefile (strop-tests): Add strncasecmp.
86667 * string/test-strncasecmp.c: New file.
86668
86669 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
86670 warning.
86671
86672 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
86673 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
86674
86675 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
86676
86677 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
86678
86679 2010-08-12 Ulrich Drepper <drepper@redhat.com>
86680
86681 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
86682 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
86683 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
86684
86685 2010-05-01 Alan Modra <amodra@gmail.com>
86686
86687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
86688 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
86689 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
86690 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
86691 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
86692 tidying. Don't tail-call __sigjmp_save for static lib.
86693 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
86694 save location.
86695 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
86696 (CALL_MCOUNT): Add eh info, and nop after bl.
86697 (TAIL_CALL_SYSCALL_ERROR): New macro.
86698 (PSEUDO_RET): Use it.
86699 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
86700 Correct save location of integer regs and cr.
86701 (_dl_profile_resolve): Correct cr save location. Delete nops
86702 after bl when SHARED. Reduce cfi size a little by better
86703 placement of cfi directives.
86704 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
86705 make a stack frame. Instead use parm save area as a temp.
86706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
86707 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
86708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
86709 Don't make a stack frame for parent, use parm save area.
86710 Increase child stack frame to 112 bytes. Don't save unused reg,
86711 and adjust reg usage. Set up cfi on error recovery and
86712 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
86713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
86714 (__makecontext): Add dummy nop after jump to exit.
86715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
86716 Use correct parm save area and cr save, reduce stack frame.
86717 Correct cfi for possible PSEUDO_RET frame setup.
86718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
86719 Branch to local label emitted by PSEUDO_RET rather than
86720 __syscall_error.
86721
86722 2010-08-12 Andreas Schwab <schwab@redhat.com>
86723
86724 [BZ #11904]
86725 * locale/programs/locale.c (print_assignment): New function.
86726 (show_locale_vars): Use it.
86727
86728 2010-08-11 Ulrich Drepper <drepper@redhat.com>
86729
86730 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
86731 field.
86732 (struct statfs64): Likewise.
86733 (_STATFS_F_FLAGS): Define.
86734 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
86735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86736 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
86737 (ST_VALID): Define locally.
86738 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
86739 __statvfs_getflags, use the provided value.
86740 * sysdeps/unix/sysv/linux/kernel-features.h: Define
86741 __ASSUME_STATFS_F_FLAGS.
86742
86743 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
86744
86745 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
86746 Add sys/fanotify.h.
86747 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
86748 fanotify_mask for GLIBC_2.13.
86749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
86750 fanotify_init and fanotify_mark.
86751 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86752 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
86753
86754 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
86755 Add prlimit.
86756 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
86757 prlimit64 for GLIBC_2.13.
86758 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
86759 prlimit64.
86760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
86761 syscall.
86762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
86763 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86764 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
86765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
86766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
86767 add prlimit alias.
86768 * sysdeps/unix/sysv/linux/prlimit.c: New file.
86769
86770 [BZ #11903]
86771 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
86772 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
86773
86774 * nss/Makefile: Add rules to build and run tst-nss-test1.
86775 * shlib-versions: Add entry for libnss_test1.
86776 * nss/nss_test1.c: New file.
86777 * nss/tst-nss-test1.c: New file.
86778
86779 * nss/nsswitch.c (__nss_database_custom): Define new variable.
86780 (__nss_configure_lookup): Set appropriate entry in
86781 __nss_configure_lookup to true.
86782 * nss/nsswitch.h: Define enum with indeces of databases in
86783 databases and __nss_database_custom arrays. Declare
86784 __nss_database_custom.
86785 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
86786 to avoid using nscd when custom rules are installed.
86787 * nss/getXXbyYY_r.c: Likewise.
86788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
86789
86790 * nss/nss_files/files-parse.c: Whitespace fixes.
86791
86792 2010-08-09 Ulrich Drepper <drepper@redhat.com>
86793
86794 [BZ #11883]
86795 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
86796 * posix/fnmatch_loop.c: Likewise.
86797
86798 2010-07-17 Andi Kleen <ak@linux.intel.com>
86799
86800 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
86801 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
86802 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
86803 * Versions.def [GLIBC_2.13]: Add.
86804
86805 2010-08-06 Ulrich Drepper <drepper@redhat.com>
86806
86807 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
86808 Also fail if tpwd after pwuid call is NULL.
86809
86810 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
86811
86812 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
86813 when converting to ms.
86814
86815 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
86816
86817 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
86818 EOPNOTSUPP errors with ENOTTY.
86819 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
86820 EOPNOTSUPP errors with ENOTTY.
86821
86822 2010-07-31 Ulrich Drepper <drepper@redhat.com>
86823
86824 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86825 Add strcasecmp_l-ssse3.
86826 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
86827 strcasecmp.
86828 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
86829 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
86830 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
86831
86832 2010-07-30 Ulrich Drepper <drepper@redhat.com>
86833
86834 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
86835
86836 * string/Makefile (strop-tests): Add strcasecmp.
86837 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86838 strcasecmp_l-nonascii.
86839 (gen-as-const-headers): Add locale-defines.sym.
86840 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
86841 * sysdeps/x86_64/strcasecmp.S: New file.
86842 * sysdeps/x86_64/strcasecmp_l.S: New file.
86843 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
86844 * sysdeps/x86_64/locale-defines.sym: New file.
86845 * string/test-strcasecmp.c: New file.
86846
86847 * string/test-strcasestr.c: Test both ends of the range of characters.
86848 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
86849
86850 2010-07-29 Roland McGrath <roland@redhat.com>
86851
86852 [BZ #11856]
86853 * manual/locale.texi (Yes-or-No Questions): Fix example code.
86854
86855 2010-07-27 Ulrich Drepper <drepper@redhat.com>
86856
86857 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
86858 for ld.so.
86859
86860 2010-07-27 Andreas Schwab <schwab@redhat.com>
86861
86862 * manual/memory.texi (Malloc Tunable Parameters): Document
86863 M_PERTURB.
86864
86865 2010-07-26 Roland McGrath <roland@redhat.com>
86866
86867 [BZ #11840]
86868 * configure.in (-fgnu89-inline check): Set and substitute
86869 gnu89_inline, not libc_cv_gnu89_inline.
86870 * configure: Regenerated.
86871 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
86872
86873 2010-07-26 Ulrich Drepper <drepper@redhat.com>
86874
86875 * string/test-strnlen.c: New file.
86876 * string/Makefile (strop-tests): Add strnlen.
86877 * string/tester.c (test_strnlen): Add a few more test cases.
86878 * string/tst-strlen.c: Better error reporting.
86879
86880 * sysdeps/x86_64/strnlen.S: New file.
86881
86882 2010-07-24 Ulrich Drepper <drepper@redhat.com>
86883
86884 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
86885 lower-latency instructions.
86886
86887 2010-07-23 Ulrich Drepper <drepper@redhat.com>
86888
86889 * string/test-strcasestr.c: New file.
86890 * string/test-strstr.c: New file.
86891 * string/Makefile (strop-tests): Add strstr and strcasestr.
86892 * string/str-two-way.h: Don't undefine MAX.
86893 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
86894
86895 2010-07-21 Andreas Schwab <schwab@redhat.com>
86896
86897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86898 strcasestr-nonascii.
86899 (CFLAGS-strcasestr-nonascii.c): Define.
86900 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
86901 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
86902 Remove unused attribute.
86903
86904 2010-07-20 Roland McGrath <roland@redhat.com>
86905
86906 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
86907 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
86908 ld.so.cache was broken. With it, there is no way to disable dsocaps
86909 like LD_HWCAP_MASK can disable hwcaps.
86910
86911 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
86912
86913 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
86914
86915 2010-07-16 Ulrich Drepper <drepper@redhat.com>
86916
86917 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
86918 call in strcasestr.
86919 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
86920 __strcasestr_sse42_nonascii.
86921 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
86922 strcasestr-nonascii.c.
86923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
86924
86925 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
86926
86927 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
86928 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
86929 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
86930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
86931
86932 2010-07-09 Ulrich Drepper <drepper@redhat.com>
86933
86934 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
86935 fcntl.
86936
86937 2010-07-06 Andreas Schwab <schwab@redhat.com>
86938
86939 [BZ #11577]
86940 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86941 dl_signal_cerror.
86942
86943 2010-07-06 Ulrich Drepper <drepper@redhat.com>
86944
86945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
86946 _PC_PIPE_BUF using F_GETPIPE_SZ.
86947
86948 2010-07-05 Roland McGrath <roland@redhat.com>
86949
86950 * manual/arith.texi (Rounding Functions): Fix rint description
86951 implicit in round description.
86952
86953 2010-07-02 Ulrich Drepper <drepper@redhat.com>
86954
86955 * elf/Makefile: Fix linking for a few tests to make recent linker
86956 happy.
86957
86958 2010-06-30 Andreas Schwab <schwab@redhat.com>
86959
86960 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86961 $(common-objpfx)libc_nonshared.a.
86962
86963 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
86964
86965 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
86966 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
86967 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86968 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86969 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
86970 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
86971 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86972 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
86974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
86975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
86976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
86978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
86980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
86981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
86982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
86983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
86985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
86987 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
86988 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
86989 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
86990 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
86991 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
86992 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
86993 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
86994 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
86995 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
86996 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
86997 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
86998 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
86999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87013
87014 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
87015
87016 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87017 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
87018 * string/memmove.c (memmove): Renamed to ...
87019 (MEMMOVE): ...this. Default to memmove.
87020 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87021 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87022 (END_CHK): Define.
87023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87024 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87025 mempcpy-ssse3-back memmove-ssse3-back.
87026 * sysdeps/x86_64/multiarch/bcopy.S: New file .
87027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87029 * sysdeps/x86_64/multiarch/memcpy.S: New file.
87030 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87031 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87032 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87033 * sysdeps/x86_64/multiarch/memmove.c: New file.
87034 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87035 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87036 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87037 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87038 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87040 Define.
87041 (index_Fast_Copy_Backward): Define.
87042 (HAS_ARCH_FEATURE): Define.
87043 (HAS_FAST_REP_STRING): Define.
87044 (HAS_FAST_COPY_BACKWARD): Define.
87045
87046 2010-06-21 Andreas Schwab <schwab@redhat.com>
87047
87048 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87049 Restore proper fallback handling.
87050
87051 2010-06-19 Ulrich Drepper <drepper@redhat.com>
87052
87053 [BZ #11701]
87054 * posix/group_member.c (__group_member): Correct checking loop.
87055
87056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87057 OOM in getpwuid_r correctly. Return error number when the caller
87058 should return, otherwise -1.
87059 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87060 call returning > 0 value.
87061 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87062
87063 2010-06-07 Andreas Schwab <schwab@redhat.com>
87064
87065 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87066 libc_nonshared.a from targets in modules-names.
87067
87068 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
87069
87070 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87071 requires it.
87072
87073 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
87074
87075 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87076 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87079
87080 2010-06-02 Andreas Schwab <schwab@redhat.com>
87081
87082 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87083
87084 2010-06-14 Ulrich Drepper <drepper@redhat.com>
87085
87086 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87087 and F_GETPIPE_SZ.
87088 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87089 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87090 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87092 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87093 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87094
87095 2010-06-14 Roland McGrath <roland@redhat.com>
87096
87097 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87098
87099 2010-06-07 Jakub Jelinek <jakub@redhat.com>
87100
87101 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87102 __REDIRECT followed by __THROW.
87103 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87104 * posix/getopt.h (getopt): Likewise.
87105
87106 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
87107
87108 * hurd/lookup-at.c (__file_name_lookup_at): Accept
87109 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
87110 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87111 in AT_FLAGS.
87112 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87113 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87114
87115 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
87116
87117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87118
87119 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
87120
87121 [BZ #11640]
87122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87123 Properly check family and model.
87124
87125 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
87126
87127 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87128
87129 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
87130
87131 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87132
87133 2010-05-21 Ulrich Drepper <drepper@redhat.com>
87134
87135 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87136 symbol reference.
87137
87138 2010-05-19 Andreas Schwab <schwab@redhat.com>
87139
87140 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87141 symbol reference.
87142
87143 2010-05-21 Andreas Schwab <schwab@redhat.com>
87144
87145 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87146 and internal_recvmmsg.
87147 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87148 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87149 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87150 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87151
87152 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87153 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87154 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87155
87156 2010-05-20 Andreas Schwab <schwab@redhat.com>
87157
87158 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87159
87160 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
87161
87162 POWER7 optimizations.
87163 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87164 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87165
87166 2010-05-19 Ulrich Drepper <drepper@redhat.com>
87167
87168 * version.h: Update for 2.13 development version.
87169
87170 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
87171
87172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87173 exceptions. Return 0.
87174
87175 2010-05-07 Roland McGrath <roland@redhat.com>
87176
87177 * elf/ldconfig.c (main): Add a const.
87178
87179 2010-05-06 Ulrich Drepper <drepper@redhat.com>
87180
87181 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87182 (args_options): Add no-idn option.
87183 (ahosts_keys_int): Add idn_flags to ai_flags.
87184 (parse_option): Handle 'i' option to clear idn_flags.
87185
87186 * malloc/malloc.c (_int_free): Possible race in the most recently
87187 added check. Only act on the data if no current modification
87188 happened.
87189
87190 See ChangeLog.17 for earlier changes.