powerpc: Improve strcmp performance for shorter strings
[glibc.git] / ChangeLog
blob769e73819b023c0b940b11b01c95c9b051fca974
1 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
4         unaligned load for shorter strings.
5         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9         * math/libm-test-driver.c (flag_test_errno): New variable.
10         (flag_test_exceptions): Likewise.
11         (flag_test_finite): Likewise.
12         (flag_test_inline): Likewise.
13         (flag_test_mathvec): Likewise.
14         (test_msg): Likewise.
15         (ulp_idx): Likewise.
16         (qtype_str): Likewise.
17         (ULP_IDX): Remove macro.
18         (QTYPE_STR): Likewise.
19         (find_ulps): Use ulp_idx not ULP_IDX.
20         (print_function_ulps): Use qtype_str, printed with %s, not
21         QTYPE_STR, printed with concatentation to format string.
22         (print_complex_function_ulps): Likewise.
23         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
24         (test_errno): Use flag_test_errno not TEST_ERRNO.
25         (enable_test): Use flag_test_inline, flag_test_finite and
26         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
27         TEST_MATHVEC.
28         (libm_test_init): New function.  Factored out of main.
29         (libm_test_finish): Likewise.
30         (main): Call libm_test_init and libm_test_finish and move most
31         code to those functions.
33         * math/libm-test-driver.c (STRX): New macro.
34         (STR): Likewise.
35         (STR_FLOAT): Likewise.
36         (STR_VEC_LEN): Likewise.
37         (TEST_MSG): Likewise.  Define here instead of expecting to be
38         defined by including file.
39         * math/test-double-finite.c (TEST_MSG): Remove macro.
40         * math/test-double-vlen2.h (TEST_MSG): Likewise.
41         * math/test-double-vlen4.h (TEST_MSG): Likewise.
42         * math/test-double-vlen8.h (TEST_MSG): Likewise.
43         * math/test-double.c (TEST_MSG): Likewise.
44         * math/test-float-finite.c (TEST_MSG): Likewise.
45         * math/test-float-vlen16.h (TEST_MSG): Likewise.
46         * math/test-float-vlen4.h (TEST_MSG): Likewise.
47         * math/test-float-vlen8.h (TEST_MSG): Likewise.
48         * math/test-float.c (TEST_MSG): Likewise.
49         * math/test-idouble.c (TEST_MSG): Likewise.
50         * math/test-ifloat.c (TEST_MSG): Likewise.
51         * math/test-ildouble.c (TEST_MSG): Likewise.
52         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
53         * math/test-ldouble.c (TEST_MSG): Likewise.
55         * math/libm-test.inc: Move all tests of individual functions to
56         libm-test-*.inc and #include libm-test-*.c files.
57         (acos_test_data): Remove.
58         (acos_test): Likewise.
59         (acosh_test_data): Likewise.
60         (acosh_test): Likewise.
61         (asin_test_data): Likewise.
62         (asin_test): Likewise.
63         (asinh_test_data): Likewise.
64         (asinh_test): Likewise.
65         (atan_test_data): Likewise.
66         (atan_test): Likewise.
67         (atanh_test_data): Likewise.
68         (atanh_test): Likewise.
69         (atan2_test_data): Likewise.
70         (atan2_test): Likewise.
71         (cabs_test_data): Likewise.
72         (cabs_test): Likewise.
73         (cacos_test_data): Likewise.
74         (cacos_test): Likewise.
75         (cacosh_test_data): Likewise.
76         (cacosh_test): Likewise.
77         (canonicalize_test_data): Likewise.
78         (canonicalize_test): Likewise.
79         (carg_test_data): Likewise.
80         (carg_test): Likewise.
81         (casin_test_data): Likewise.
82         (casin_test): Likewise.
83         (casinh_test_data): Likewise.
84         (casinh_test): Likewise.
85         (catan_test_data): Likewise.
86         (catan_test): Likewise.
87         (catanh_test_data): Likewise.
88         (catanh_test): Likewise.
89         (cbrt_test_data): Likewise.
90         (cbrt_test): Likewise.
91         (ccos_test_data): Likewise.
92         (ccos_test): Likewise.
93         (ccosh_test_data): Likewise.
94         (ccosh_test): Likewise.
95         (ceil_test_data): Likewise.
96         (ceil_test): Likewise.
97         (cexp_test_data): Likewise.
98         (cexp_test): Likewise.
99         (cimag_test_data): Likewise.
100         (cimag_test): Likewise.
101         (clog_test_data): Likewise.
102         (clog_test): Likewise.
103         (clog10_test_data): Likewise.
104         (clog10_test): Likewise.
105         (conj_test_data): Likewise.
106         (conj_test): Likewise.
107         (copysign_test_data): Likewise.
108         (copysign_test): Likewise.
109         (cos_test_data): Likewise.
110         (cos_test): Likewise.
111         (cosh_test_data): Likewise.
112         (cosh_test): Likewise.
113         (cpow_test_data): Likewise.
114         (cpow_test): Likewise.
115         (cproj_test_data): Likewise.
116         (cproj_test): Likewise.
117         (creal_test_data): Likewise.
118         (creal_test): Likewise.
119         (csin_test_data): Likewise.
120         (csin_test): Likewise.
121         (csinh_test_data): Likewise.
122         (csinh_test): Likewise.
123         (csqrt_test_data): Likewise.
124         (csqrt_test): Likewise.
125         (ctan_test_data): Likewise.
126         (ctan_test): Likewise.
127         (ctanh_test_data): Likewise.
128         (ctanh_test): Likewise.
129         (erf_test_data): Likewise.
130         (erf_test): Likewise.
131         (erfc_test_data): Likewise.
132         (erfc_test): Likewise.
133         (exp_test_data): Likewise.
134         (exp_test): Likewise.
135         (exp10_test_data): Likewise.
136         (exp10_test): Likewise.
137         (pow10_test): Likewise.
138         (exp2_test_data): Likewise.
139         (exp2_test): Likewise.
140         (expm1_test_data): Likewise.
141         (expm1_test): Likewise.
142         (fabs_test_data): Likewise.
143         (fabs_test): Likewise.
144         (fdim_test_data): Likewise.
145         (fdim_test): Likewise.
146         (floor_test_data): Likewise.
147         (floor_test): Likewise.
148         (fma_test_data): Likewise.
149         (fma_test): Likewise.
150         (fmax_test_data): Likewise.
151         (fmax_test): Likewise.
152         (fmaxmag_test_data): Likewise.
153         (fmaxmag_test): Likewise.
154         (fmin_test_data): Likewise.
155         (fmin_test): Likewise.
156         (fminmag_test_data): Likewise.
157         (fminmag_test): Likewise.
158         (fmod_test_data): Likewise.
159         (fmod_test): Likewise.
160         (fpclassify_test_data): Likewise.
161         (fpclassify_test): Likewise.
162         (frexp_test_data): Likewise.
163         (frexp_test): Likewise.
164         (fromfp_test_data): Likewise.
165         (fromfp_test): Likewise.
166         (fromfpx_test_data): Likewise.
167         (fromfpx_test): Likewise.
168         (getpayload_test_data): Likewise.
169         (getpayload_test): Likewise.
170         (hypot_test_data): Likewise.
171         (hypot_test): Likewise.
172         (ilogb_test_data): Likewise.
173         (ilogb_test): Likewise.
174         (iscanonical_test_data): Likewise.
175         (iscanonical_test): Likewise.
176         (iseqsig_test_data): Likewise.
177         (iseqsig_test): Likewise.
178         (isfinite_test_data): Likewise.
179         (isfinite_test): Likewise.
180         (finite_test): Likewise.
181         (isgreater_test_data): Likewise.
182         (isgreater_test): Likewise.
183         (isgreaterequal_test_data): Likewise.
184         (isgreaterequal_test): Likewise.
185         (isinf_test_data): Likewise.
186         (isinf_test): Likewise.
187         (isless_test_data): Likewise.
188         (isless_test): Likewise.
189         (islessequal_test_data): Likewise.
190         (islessequal_test): Likewise.
191         (islessgreater_test_data): Likewise.
192         (islessgreater_test): Likewise.
193         (isnan_test_data): Likewise.
194         (isnan_test): Likewise.
195         (isnormal_test_data): Likewise.
196         (isnormal_test): Likewise.
197         (issignaling_test_data): Likewise.
198         (issignaling_test): Likewise.
199         (issubnormal_test_data): Likewise.
200         (issubnormal_test): Likewise.
201         (isunordered_test_data): Likewise.
202         (isunordered_test): Likewise.
203         (iszero_test_data): Likewise.
204         (iszero_test): Likewise.
205         (j0_test_data): Likewise.
206         (j0_test): Likewise.
207         (j1_test_data): Likewise.
208         (j1_test): Likewise.
209         (jn_test_data): Likewise.
210         (jn_test): Likewise.
211         (lgamma_test_data): Likewise.
212         (lgamma_test): Likewise.
213         (gamma_test): Likewise.
214         (llogb_test_data): Likewise.
215         (llogb_test): Likewise.
216         (lrint_test_data): Likewise.
217         (lrint_test): Likewise.
218         (llrint_test_data): Likewise.
219         (llrint_test): Likewise.
220         (log_test_data): Likewise.
221         (log_test): Likewise.
222         (log10_test_data): Likewise.
223         (log10_test): Likewise.
224         (log1p_test_data): Likewise.
225         (log1p_test): Likewise.
226         (log2_test_data): Likewise.
227         (log2_test): Likewise.
228         (logb_test_data): Likewise.
229         (logb_test): Likewise.
230         (lround_test_data): Likewise.
231         (lround_test): Likewise.
232         (llround_test_data): Likewise.
233         (llround_test): Likewise.
234         (modf_test_data): Likewise.
235         (modf_test): Likewise.
236         (nearbyint_test_data): Likewise.
237         (nearbyint_test): Likewise.
238         (nextafter_test_data): Likewise.
239         (nextafter_test): Likewise.
240         (nextup_test_data): Likewise.
241         (nextup_test): Likewise.
242         (nextdown_test_data): Likewise.
243         (nextdown_test): Likewise.
244         (nexttoward_test_data): Likewise.
245         (nexttoward_test): Likewise.
246         (pow_test_data): Likewise.
247         (pow_test): Likewise.
248         (remainder_test_data): Likewise.
249         (remainder_test): Likewise.
250         (drem_test): Likewise.
251         (remquo_test_data): Likewise.
252         (remquo_test): Likewise.
253         (rint_test_data): Likewise.
254         (rint_test): Likewise.
255         (round_test_data): Likewise.
256         (round_test): Likewise.
257         (roundeven_test_data): Likewise.
258         (roundeven_test): Likewise.
259         (scalb_test_data): Likewise.
260         (scalb_test): Likewise.
261         (scalbn_test_data): Likewise.
262         (scalbn_test): Likewise.
263         (ldexp_test): Likewise.
264         (scalbln_test_data): Likewise.
265         (scalbln_test): Likewise.
266         (setpayload_test_data): Likewise.
267         (setpayload_test): Likewise.
268         (setpayloadsig_test_data): Likewise.
269         (setpayloadsig_test): Likewise.
270         (signbit_test_data): Likewise.
271         (signbit_test): Likewise.
272         (sin_test_data): Likewise.
273         (sin_test): Likewise.
274         (sincos_test_data): Likewise.
275         (sincos_test): Likewise.
276         (sinh_test_data): Likewise.
277         (sinh_test): Likewise.
278         (sqrt_test_data): Likewise.
279         (sqrt_test): Likewise.
280         (tan_test_data): Likewise.
281         (tan_test): Likewise.
282         (tanh_test_data): Likewise.
283         (tanh_test): Likewise.
284         (tgamma_test_data): Likewise.
285         (tgamma_test): Likewise.
286         (totalorder_test_data): Likewise.
287         (totalorder_test): Likewise.
288         (totalordermag_test_data): Likewise.
289         (totalordermag_test): Likewise.
290         (trunc_test_data): Likewise.
291         (trunc_test): Likewise.
292         (ufromfp_test_data): Likewise.
293         (ufromfp_test): Likewise.
294         (ufromfpx_test_data): Likewise.
295         (ufromfpx_test): Likewise.
296         (y0_test_data): Likewise.
297         (y0_test): Likewise.
298         (y1_test_data): Likewise.
299         (y1_test): Likewise.
300         (yn_test_data): Likewise.
301         (yn_test): Likewise.
302         (significand_test_data): Likewise.
303         (significand_test): Likewise.
304         * math/Makefile (auto-libm-test-out-files): Remove variable.
305         (libm-test-funcs-noauto): New variable.
306         (libm-test-funcs-all): Likewise.
307         (libm-test-c-auto): Likewise.
308         (libm-test-c-noauto): Likewise.
309         (libm-tests-generated): Add $(libm-test-c-auto) and
310         $(libm-test-c-noauto).
311         (generated): Do not add auto-libm-test-out.
312         (libm-test-c-auto-obj): New variable.
313         (libm-test-c-noauto-obj): Likewise.
314         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
315         ($(libm-test-c-noauto-obj)): New static pattern rule.
316         ($(libm-test-c-auto-obj)): Likewise.
317         (libm-test-incs): New variable.
318         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
319         and pass it to gen-libm-have-vector-test.sh.
320         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
321         be passed on command line.
322         * math/libm-test-acos.inc: New file.  Content from
323         math/libm-test.inc.
324         * math/libm-test-acosh.inc: Likewise.
325         * math/libm-test-asin.inc: Likewise.
326         * math/libm-test-asinh.inc: Likewise.
327         * math/libm-test-atan.inc: Likewise.
328         * math/libm-test-atan2.inc: Likewise.
329         * math/libm-test-atanh.inc: Likewise.
330         * math/libm-test-cabs.inc: Likewise.
331         * math/libm-test-cacos.inc: Likewise.
332         * math/libm-test-cacosh.inc: Likewise.
333         * math/libm-test-canonicalize.inc: Likewise.
334         * math/libm-test-carg.inc: Likewise.
335         * math/libm-test-casin.inc: Likewise.
336         * math/libm-test-casinh.inc: Likewise.
337         * math/libm-test-catan.inc: Likewise.
338         * math/libm-test-catanh.inc: Likewise.
339         * math/libm-test-cbrt.inc: Likewise.
340         * math/libm-test-ccos.inc: Likewise.
341         * math/libm-test-ccosh.inc: Likewise.
342         * math/libm-test-ceil.inc: Likewise.
343         * math/libm-test-cexp.inc: Likewise.
344         * math/libm-test-cimag.inc: Likewise.
345         * math/libm-test-clog.inc: Likewise.
346         * math/libm-test-clog10.inc: Likewise.
347         * math/libm-test-conj.inc: Likewise.
348         * math/libm-test-copysign.inc: Likewise.
349         * math/libm-test-cos.inc: Likewise.
350         * math/libm-test-cosh.inc: Likewise.
351         * math/libm-test-cpow.inc: Likewise.
352         * math/libm-test-cproj.inc: Likewise.
353         * math/libm-test-creal.inc: Likewise.
354         * math/libm-test-csin.inc: Likewise.
355         * math/libm-test-csinh.inc: Likewise.
356         * math/libm-test-csqrt.inc: Likewise.
357         * math/libm-test-ctan.inc: Likewise.
358         * math/libm-test-ctanh.inc: Likewise.
359         * math/libm-test-erf.inc: Likewise.
360         * math/libm-test-erfc.inc: Likewise.
361         * math/libm-test-exp.inc: Likewise.
362         * math/libm-test-exp10.inc: Likewise.
363         * math/libm-test-exp2.inc: Likewise.
364         * math/libm-test-expm1.inc: Likewise.
365         * math/libm-test-fabs.inc: Likewise.
366         * math/libm-test-fdim.inc: Likewise.
367         * math/libm-test-floor.inc: Likewise.
368         * math/libm-test-fma.inc: Likewise.
369         * math/libm-test-fmax.inc: Likewise.
370         * math/libm-test-fmaxmag.inc: Likewise.
371         * math/libm-test-fmin.inc: Likewise.
372         * math/libm-test-fminmag.inc: Likewise.
373         * math/libm-test-fmod.inc: Likewise.
374         * math/libm-test-fpclassify.inc: Likewise.
375         * math/libm-test-frexp.inc: Likewise.
376         * math/libm-test-fromfp.inc: Likewise.
377         * math/libm-test-fromfpx.inc: Likewise.
378         * math/libm-test-getpayload.inc: Likewise.
379         * math/libm-test-hypot.inc: Likewise.
380         * math/libm-test-ilogb.inc: Likewise.
381         * math/libm-test-iscanonical.inc: Likewise.
382         * math/libm-test-iseqsig.inc: Likewise.
383         * math/libm-test-isfinite.inc: Likewise.
384         * math/libm-test-isgreater.inc: Likewise.
385         * math/libm-test-isgreaterequal.inc: Likewise.
386         * math/libm-test-isinf.inc: Likewise.
387         * math/libm-test-isless.inc: Likewise.
388         * math/libm-test-islessequal.inc: Likewise.
389         * math/libm-test-islessgreater.inc: Likewise.
390         * math/libm-test-isnan.inc: Likewise.
391         * math/libm-test-isnormal.inc: Likewise.
392         * math/libm-test-issignaling.inc: Likewise.
393         * math/libm-test-issubnormal.inc: Likewise.
394         * math/libm-test-isunordered.inc: Likewise.
395         * math/libm-test-iszero.inc: Likewise.
396         * math/libm-test-j0.inc: Likewise.
397         * math/libm-test-j1.inc: Likewise.
398         * math/libm-test-jn.inc: Likewise.
399         * math/libm-test-lgamma.inc: Likewise.
400         * math/libm-test-llogb.inc: Likewise.
401         * math/libm-test-llrint.inc: Likewise.
402         * math/libm-test-llround.inc: Likewise.
403         * math/libm-test-log.inc: Likewise.
404         * math/libm-test-log10.inc: Likewise.
405         * math/libm-test-log1p.inc: Likewise.
406         * math/libm-test-log2.inc: Likewise.
407         * math/libm-test-logb.inc: Likewise.
408         * math/libm-test-lrint.inc: Likewise.
409         * math/libm-test-lround.inc: Likewise.
410         * math/libm-test-modf.inc: Likewise.
411         * math/libm-test-nearbyint.inc: Likewise.
412         * math/libm-test-nextafter.inc: Likewise.
413         * math/libm-test-nextdown.inc: Likewise.
414         * math/libm-test-nexttoward.inc: Likewise.
415         * math/libm-test-nextup.inc: Likewise.
416         * math/libm-test-pow.inc: Likewise.
417         * math/libm-test-remainder.inc: Likewise.
418         * math/libm-test-remquo.inc: Likewise.
419         * math/libm-test-rint.inc: Likewise.
420         * math/libm-test-round.inc: Likewise.
421         * math/libm-test-roundeven.inc: Likewise.
422         * math/libm-test-scalb.inc: Likewise.
423         * math/libm-test-scalbln.inc: Likewise.
424         * math/libm-test-scalbn.inc: Likewise.
425         * math/libm-test-setpayload.inc: Likewise.
426         * math/libm-test-setpayloadsig.inc: Likewise.
427         * math/libm-test-signbit.inc: Likewise.
428         * math/libm-test-significand.inc: Likewise.
429         * math/libm-test-sin.inc: Likewise.
430         * math/libm-test-sincos.inc: Likewise.
431         * math/libm-test-sinh.inc: Likewise.
432         * math/libm-test-sqrt.inc: Likewise.
433         * math/libm-test-tan.inc: Likewise.
434         * math/libm-test-tanh.inc: Likewise.
435         * math/libm-test-tgamma.inc: Likewise.
436         * math/libm-test-totalorder.inc: Likewise.
437         * math/libm-test-totalordermag.inc: Likewise.
438         * math/libm-test-trunc.inc: Likewise.
439         * math/libm-test-ufromfp.inc: Likewise.
440         * math/libm-test-ufromfpx.inc: Likewise.
441         * math/libm-test-y0.inc: Likewise.
442         * math/libm-test-y1.inc: Likewise.
443         * math/libm-test-yn.inc: Likewise.
444         * math/README.libm-test: Update.
446         * math/gen-auto-libm-tests.c: Update comment about use of program.
447         (generate_output): Add argument FUNCTION.
448         (main): Require extra argument.  Pass function name to
449         generate_output.
450         * math/Makefile (generated): Add auto-libm-test-out.
451         (libm-test-funcs-auto): New variable.
452         (auto-libm-test-out-files): New variable.
453         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
454         Concatenate those files to form $(objpfx)auto-libm-test-out and
455         use it as input to gen-libm-test.pl.
456         * math/README.libm-test: Update.
457         * math/auto-libm-test-out: Remove.
458         * math/auto-libm-test-out-acos: New generated file.
459         * math/auto-libm-test-out-acosh: Likewise.
460         * math/auto-libm-test-out-asin: Likewise.
461         * math/auto-libm-test-out-asinh: Likewise.
462         * math/auto-libm-test-out-atan: Likewise.
463         * math/auto-libm-test-out-atan2: Likewise.
464         * math/auto-libm-test-out-atanh: Likewise.
465         * math/auto-libm-test-out-cabs: Likewise.
466         * math/auto-libm-test-out-carg: Likewise.
467         * math/auto-libm-test-out-cbrt: Likewise.
468         * math/auto-libm-test-out-ccos: Likewise.
469         * math/auto-libm-test-out-ccosh: Likewise.
470         * math/auto-libm-test-out-cexp: Likewise.
471         * math/auto-libm-test-out-clog: Likewise.
472         * math/auto-libm-test-out-clog10: Likewise.
473         * math/auto-libm-test-out-cos: Likewise.
474         * math/auto-libm-test-out-cosh: Likewise.
475         * math/auto-libm-test-out-cpow: Likewise.
476         * math/auto-libm-test-out-csin: Likewise.
477         * math/auto-libm-test-out-csinh: Likewise.
478         * math/auto-libm-test-out-csqrt: Likewise.
479         * math/auto-libm-test-out-ctan: Likewise.
480         * math/auto-libm-test-out-ctanh: Likewise.
481         * math/auto-libm-test-out-erf: Likewise.
482         * math/auto-libm-test-out-erfc: Likewise.
483         * math/auto-libm-test-out-exp: Likewise.
484         * math/auto-libm-test-out-exp10: Likewise.
485         * math/auto-libm-test-out-exp2: Likewise.
486         * math/auto-libm-test-out-expm1: Likewise.
487         * math/auto-libm-test-out-fma: Likewise.
488         * math/auto-libm-test-out-hypot: Likewise.
489         * math/auto-libm-test-out-j0: Likewise.
490         * math/auto-libm-test-out-j1: Likewise.
491         * math/auto-libm-test-out-jn: Likewise.
492         * math/auto-libm-test-out-lgamma: Likewise.
493         * math/auto-libm-test-out-log: Likewise.
494         * math/auto-libm-test-out-log10: Likewise.
495         * math/auto-libm-test-out-log1p: Likewise.
496         * math/auto-libm-test-out-log2: Likewise.
497         * math/auto-libm-test-out-pow: Likewise.
498         * math/auto-libm-test-out-sin: Likewise.
499         * math/auto-libm-test-out-sincos: Likewise.
500         * math/auto-libm-test-out-sinh: Likewise.
501         * math/auto-libm-test-out-sqrt: Likewise.
502         * math/auto-libm-test-out-tan: Likewise.
503         * math/auto-libm-test-out-tanh: Likewise.
504         * math/auto-libm-test-out-tgamma: Likewise.
505         * math/auto-libm-test-out-y0: Likewise.
506         * math/auto-libm-test-out-y1: Likewise.
507         * math/auto-libm-test-out-yn: Likewise.
509         * math/Makefile (generated): Do not include libm-test.stmp.
510         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
511         on $(objpfx)libm-test.stmp.
512         ($(objpfx)libm-test.stmp): Remove rule.
513         ($(objpfx)libm-test-ulps.h): New rule.
514         ($(objpfx)libm-test.c): Likewise.
515         ($(objpfx)libm-have-vector-test.h): Likewise.
516         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
517         individual generated files, not libm-test.stmp.
519         * math/gen-libm-test.pl ($output_dir): Remove variable.
520         ($srcdir): Likewise.
521         ($opt_a): New variable.
522         ($opt_c): Likewise.
523         ($opt_C): Likewise.
524         ($opt_H): Likewise.
525         (-n): Make option take argument and use it as NewUlps output.
526         (-a): New option.  Use its argument for auto-libm-test-out input.
527         (-c): New option.  Use its argument for libm-test.inc input.
528         (-C): New option.  Use its argument for libm-test.c output.
529         (-H): New option.  Use its argument for libm-test-ulps.h output.
530         (top level): Only process inputs needed to generate outputs
531         specified by command-line options.  Only generate outputs
532         specified by command-line options.
533         * math/README.libm-test: Update example gen-libm-test.pl command.
534         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
535         commands.
536         (regen-ulps): Likewise.
538 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
540         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
541         * include/string.h (index): Remove define.
542         (rindex): Likewise.
543         * misc/getttyent.c (__getttyent): Rename index to strchr.
544         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
545         * sunrpc/rpc_main.c (mkfile_output): Likewise.
547 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
549         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
550         * math/libm-test.inc: Move all contents, other than tests of
551         individual functions, to libm-test-driver.c.
552         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
553         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
554         [!FE_UPWARD] (FE_UPWARD): Likewise.
555         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
556         (NO_EXCEPTION): Likewise.
557         (INVALID_EXCEPTION): Likewise.
558         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
559         (OVERFLOW_EXCEPTION): Likewise.
560         (UNDERFLOW_EXCEPTION): Likewise.
561         (INEXACT_EXCEPTION): Likewise.
562         (INVALID_EXCEPTION_OK): Likewise.
563         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
564         (OVERFLOW_EXCEPTION_OK): Likewise.
565         (UNDERFLOW_EXCEPTION_OK): Likewise.
566         (NO_INEXACT_EXCEPTION): Likewise.
567         (EXCEPTIONS_OK): Likewise.
568         (IGNORE_ZERO_INF_SIGN): Likewise.
569         (TEST_NAN_SIGN): Likewise.
570         (TEST_NAN_PAYLOAD): Likewise.
571         (NO_TEST_INLINE): Likewise.
572         (XFAIL_TEST): Likewise.
573         (ERRNO_UNCHANGED): Likewise.
574         (ERRNO_EDOM): Likewise.
575         (ERRNO_ERANGE): Likewise.
576         (IGNORE_RESULT): Likewise.
577         (NON_FINITE): Likewise.
578         (TEST_SNAN): Likewise.
579         (NO_TEST_MATHVEC): Likewise.
580         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
581         (__CONCATX): Likewise.
582         (TYPE_MIN): Likewise.
583         (TYPE_TRUE_MIN): Likewise.
584         (TYPE_MAX): Likewise.
585         (MIN_EXP): Likewise.
586         (MAX_EXP): Likewise.
587         (MANT_DIG): Likewise.
588         (FSTR_MAX): Likewise.
589         (ULP_IDX): Likewise.
590         (QTYPE_STR): Likewise.
591         (TEST_COND_binary32): Likewise.
592         (TEST_COND_binary64): Likewise.
593         (TEST_COND_binary128): Likewise.
594         (TEST_COND_ibm128): Likewise.
595         (TEST_COND_intel96): Likewise.
596         (TEST_COND_m68k96): Likewise.
597         (TEST_COND_ibm128_libgcc): Likewise.
598         (XFAIL_IBM128_LIBGCC): Likewise.
599         (PAYLOAD_DIG): Likewise.
600         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
601         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
602         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
603         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
604         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
605         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
606         (TEST_COND_long32): Likewise.
607         (TEST_COND_long64): Likewise.
608         (TEST_COND_before_rounding): Likewise.
609         (TEST_COND_after_rounding): Likewise.
610         (lit_pi_3_m_4_d): Likewise.
611         (lit_pi_3_m_4_ln10_m_d): Likewise.
612         (lit_pi_2_ln10_m_d): Likewise.
613         (lit_pi_4_ln10_m_d): Likewise.
614         (lit_pi_ln10_d): Likewise.
615         (lit_pi_2_d): Likewise.
616         (lit_pi_4_d): Likewise.
617         (lit_pi): Likewise.
618         (lit_e): Likewise.
619         (ulps_file_name): Likewise.
620         (ulps_file): Likewise.
621         (output_ulps): Likewise.
622         (output_dir): Likewise.
623         (noErrors): Likewise.
624         (noTests): Likewise.
625         (noExcTests): Likewise.
626         (noErrnoTests): Likewise.
627         (verbose): Likewise.
628         (output_max_error): Likewise.
629         (output_points): Likewise.
630         (ignore_max_ulp): Likewise.
631         (plus_zero): Likewise.
632         (minus_zero): Likewise.
633         (plus_infty): Likewise.
634         (minus_infty): Likewise.
635         (qnan_value_pl): Likewise.
636         (qnan_value): Likewise.
637         (snan_value_pl): Likewise.
638         (snan_value): Likewise.
639         (max_value): Likewise.
640         (min_value): Likewise.
641         (min_subnorm_value): Likewise.
642         (snan_value_ld): Likewise.
643         (max_error): Likewise.
644         (real_max_error): Likewise.
645         (imag_max_error): Likewise.
646         (prev_max_error): Likewise.
647         (prev_real_max_error): Likewise.
648         (prev_imag_max_error): Likewise.
649         (max_valid_error): Likewise.
650         (TYPE_DECIMAL_DIG): Likewise.
651         (TYPE_HEX_DIG): Likewise.
652         (fmt_ftostr): Likewise.
653         (compare_ulp_data): Likewise.
654         (find_ulps): Likewise.
655         (init_max_error): Likewise.
656         (set_max_error): Likewise.
657         (print_float): Likewise.
658         (print_screen): Likewise.
659         (print_screen_max_error): Likewise.
660         (update_stats): Likewise.
661         (print_function_ulps): Likewise.
662         (print_complex_function_ulps): Likewise.
663         (fpstack_test): Likewise.
664         (print_max_error): Likewise.
665         (print_complex_max_error): Likewise.
666         (test_single_exception): Likewise.
667         (test_exceptions): Likewise.
668         (test_single_errno): Likewise.
669         (test_errno): Likewise.
670         (ULPDIFF): Likewise.
671         (ulp): Likewise.
672         (check_float_internal): Likewise.
673         (check_float): Likewise.
674         (check_complex): Likewise.
675         (check_int): Likewise.
676         (check_long): Likewise.
677         (check_bool): Likewise.
678         (check_longlong): Likewise.
679         (check_intmax_t): Likewise.
680         (check_uintmax_t): Likewise.
681         (enable_test): Likewise.
682         (struct test_f_f_data): Likewise.
683         (struct test_ff_f_data): Likewise.
684         (struct test_fj_f_data): Likewise.
685         (struct test_fi_f_data): Likewise.
686         (struct test_fl_f_data): Likewise.
687         (struct test_if_f_data): Likewise.
688         (struct test_fff_f_data): Likewise.
689         (struct test_fiu_M_data): Likewise.
690         (struct test_fiu_U_data): Likewise.
691         (struct test_c_f_data): Likewise.
692         (struct test_f_f1_data): Likewise.
693         (struct test_fF_f1_data): Likewise.
694         (struct test_ffI_f1_data): Likewise.
695         (struct test_c_c_data): Likewise.
696         (struct test_cc_c_data): Likewise.
697         (struct test_f_i_data): Likewise.
698         (struct test_ff_i_data): Likewise.
699         (struct test_f_l_data): Likewise.
700         (struct test_f_L_data): Likewise.
701         (struct test_fFF_11_data): Likewise.
702         (struct test_Ff_b1_data): Likewise.
703         (IF_ROUND_INIT_): Likewise.
704         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
705         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
706         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
707         (IF_ROUND_INIT_FE_UPWARD): Likewise.
708         (ROUND_RESTORE_): Likewise.
709         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
710         (ROUND_RESTORE_FE_TONEAREST): Likewise.
711         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
712         (ROUND_RESTORE_FE_UPWARD): Likewise.
713         (RM_): Likewise.
714         (RM_FE_DOWNWARD): Likewise.
715         (RM_FE_TONEAREST): Likewise.
716         (RM_FE_TOWARDZERO): Likewise.
717         (RM_FE_UPWARD): Likewise.
718         (COMMON_TEST_SETUP): Likewise.
719         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
720         (COMMON_TEST_CLEANUP): Likewise.
721         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
722         (RUN_TEST_f_f): Likewise.
723         (RUN_TEST_LOOP_f_f): Likewise.
724         (RUN_TEST_fp_f): Likewise.
725         (RUN_TEST_LOOP_fp_f): Likewise.
726         (RUN_TEST_2_f): Likewise.
727         (RUN_TEST_LOOP_2_f): Likewise.
728         (RUN_TEST_ff_f): Likewise.
729         (RUN_TEST_LOOP_ff_f): Likewise.
730         (RUN_TEST_LOOP_fj_f): Likewise.
731         (RUN_TEST_fi_f): Likewise.
732         (RUN_TEST_LOOP_fi_f): Likewise.
733         (RUN_TEST_fl_f): Likewise.
734         (RUN_TEST_LOOP_fl_f): Likewise.
735         (RUN_TEST_if_f): Likewise.
736         (RUN_TEST_LOOP_if_f): Likewise.
737         (RUN_TEST_fff_f): Likewise.
738         (RUN_TEST_LOOP_fff_f): Likewise.
739         (RUN_TEST_fiu_M): Likewise.
740         (RUN_TEST_LOOP_fiu_M): Likewise.
741         (RUN_TEST_fiu_U): Likewise.
742         (RUN_TEST_LOOP_fiu_U): Likewise.
743         (RUN_TEST_c_f): Likewise.
744         (RUN_TEST_LOOP_c_f): Likewise.
745         (RUN_TEST_f_f1): Likewise.
746         (RUN_TEST_LOOP_f_f1): Likewise.
747         (RUN_TEST_fF_f1): Likewise.
748         (RUN_TEST_LOOP_fF_f1): Likewise.
749         (RUN_TEST_fI_f1): Likewise.
750         (RUN_TEST_LOOP_fI_f1): Likewise.
751         (RUN_TEST_ffI_f1_mod8): Likewise.
752         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
753         (RUN_TEST_Ff_b1): Likewise.
754         (RUN_TEST_LOOP_Ff_b1): Likewise.
755         (RUN_TEST_Ffp_b1): Likewise.
756         (RUN_TEST_LOOP_Ffp_b1): Likewise.
757         (RUN_TEST_c_c): Likewise.
758         (RUN_TEST_LOOP_c_c): Likewise.
759         (RUN_TEST_cc_c): Likewise.
760         (RUN_TEST_LOOP_cc_c): Likewise.
761         (RUN_TEST_f_i): Likewise.
762         (RUN_TEST_LOOP_f_i): Likewise.
763         (RUN_TEST_f_i_tg): Likewise.
764         (RUN_TEST_LOOP_f_i_tg): Likewise.
765         (RUN_TEST_ff_b): Likewise.
766         (RUN_TEST_LOOP_ff_b): Likewise.
767         (RUN_TEST_ff_i_tg): Likewise.
768         (RUN_TEST_LOOP_ff_i_tg): Likewise.
769         (RUN_TEST_f_b): Likewise.
770         (RUN_TEST_LOOP_f_b): Likewise.
771         (RUN_TEST_f_b_tg): Likewise.
772         (RUN_TEST_LOOP_f_b_tg): Likewise.
773         (RUN_TEST_f_l): Likewise.
774         (RUN_TEST_LOOP_f_l): Likewise.
775         (RUN_TEST_f_L): Likewise.
776         (RUN_TEST_LOOP_f_L): Likewise.
777         (RUN_TEST_fFF_11): Likewise.
778         (RUN_TEST_LOOP_fFF_11): Likewise.
779         (VEC_SUFF): Likewise.
780         (STR_CONCAT): Likewise.
781         (STR_CON3): Likewise.
782         (HAVE_VECTOR): Likewise.
783         (START): Likewise.
784         (END): Likewise.
785         (END_COMPLEX): Likewise.
786         (ALL_RM_TEST): Likewise.
787         (matherr): Likewise.
788         (initialize): Likewise.
789         (options): Likewise.
790         (doc): Likewise.
791         (parse_opt): Likewise.
792         (argp): Likewise.
793         (check_ulp): Likewise.
794         (main): Likewise.
795         (do_test): New function.  Call tests of individual functions
796         previously called from main.
798         * math/libm-test.inc: Remove comment listing functions tested and
799         not tested.
801 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
803         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
804         (allocate_stack): Remove COLORING_INCREMENT usage.
805         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
806         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
808 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
810         * manual/libm-err-tab.pl (@all_functions): Change to
811         %all_functions.  Initialize as empty.
812         (parse_ulps): Add to %all_functions based on functions found in
813         ulps files.  Ignore results for non-default rounding modes and
814         vector functions.
815         (print_platforms): Use %all_platforms.
816         * manual/math.texi (Errors in Math Functions): Document omissions
817         from the table.
819         * math/Makefile (before-compile): Remove.
821 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
823         [BZ #21075]
824         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
825         unused assignment.
826         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
828 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
830         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
831         Add __glibc_unlikely hint.
833 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
835         [BZ #16640]
836         * sysdeps/i386/i686/strtok.S: Remove file.
837         * sysdeps/i386/i686/strtok_r.S: Likewise.
838         * sysdeps/i386/strtok.S: Likewise.
839         * sysdeps/i386/strtok_r.S: Likewise.
840         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
841         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
842         * sysdeps/x86_64/strtok.S: Likewise.
843         * sysdeps/x86_64/strtok_r.S: Likewise.
845         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
846         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
847         * sysdeps/unix/sysv/linux/mips/kernel-features.h
848         (__ASSUME_FADVISE64_AS_64_64): Define.
849         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
850         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
851         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
852         __ALIGNMENT_ARG usage.
853         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
854         __NR_fadvise64_64 if it is not defined.
856 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
858         * version.h (RELEASE): Set to "development"
859         (VERSION): Set to 2.25.90.
860         * NEWS: Add 2.26 section.
862         * version.h (RELEASE): Set to "stable"
863         (VERSION): Set to 2.25.
864         * include/features.h (__GLIBC_MINOR__): Set to 25.
866         * manual/contrib.texi: Add more contributors from this release
867         and past releases.
869         * NEWS (2.25): Add list of bugs fixed.
871         * NEWS: Add missing news items.
873 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
875         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
876         parent if child exited in that manner.  Print WEXITSTATUS
877         instead of the raw status.
878         (do_test_prep): Rename to do_test.
879         (do_test): Return the result of run_executable_sgid.
880         (TEST_FUNCTION_ARGV): Adjust.
882 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
883             Florian Weimer  <fweimer@redhat.com>
884             Carlos O'Donell  <carlos@redhat.com>
886         [BZ #20915]
887         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
888         Do not initialize DTV.
889         * nptl/allocatestack.c (init_one_static_tls): Likewise.
891 2017-02-03  David S. Miller  <davem@davemloft.net>
893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
901         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
902         (libm-sysdep_routines): Update.
903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
908         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
909         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
910         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
911         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
913         Likewise.
914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
916         Likewise.
917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
919         Likewise.
920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
922         Likewise.
923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
925         (libm-sysdep_routines): Update.
927 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
929         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
930         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
931         against unrelocated shared library.
932         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
934 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
936         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
937         * elf/tst-env-setuid-tunables.c
938         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
939         GLIBC_TUNABLES is removed in a setgid process.
941         [BZ #21073]
942         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
943         * elf/dl-tunables.c (tunables_strdup): Remove.
944         (get_next_env): Also return the previous envp.
945         (parse_tunables): Erase tunables of category
946         TUNABLES_SECLEVEL_SXID_ERASE.
947         (maybe_enable_malloc_check): Make MALLOC_CHECK_
948         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
949         (__tunables_init)[TUNABLES_FRONTEND ==
950         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
951         after parsing.
952         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
953         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
954         * elf/dl-tunables.h (struct _tunable): Change member is_secure
955         to security_level.
956         * elf/dl-tunables.list: Add security_level annotations for all
957         tunables.
958         * scripts/gen-tunables.awk: Recognize and generate enum values
959         for security_level.
960         * elf/tst-env-setuid.c: New test case.
961         * elf/tst-env-setuid-tunables: new test case.
962         * elf/Makefile (tests-static): Add them.
964 2017-02-01  Richard Henderson  <rth@twiddle.net>
966         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
967         adjusting the byte count.
969 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
971         * conform/Makefile (linknamespace-libs): Define.
973         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
974         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
975         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
976         operands.
978 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
980         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
982 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
984         [BZ #21081]
985         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
986         (L(stosb)): Add VZEROUPPER before ret.
988 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
989             Alexey Makhalov <amakhalov@vmware.com>
990             Florian Weimer <fweimer@redhat.com>
992         [BZ #20116]
993         * nptl/pthread_create.c: Document concurrency notes.
994         Enhance thread creation notes.
995         (create_thread): Use bool *stopped_start.
996         (START_THREAD_DEFN): Comment ownership of PD.
997         (__pthread_create_2_1): Add local bool stopped_start and use
998         that instead of pd->stopped_start where appropriate.
999         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1000         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1001         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1002         * nptl/tst-create-detached.c: New file.
1003         * nptl/Makefile (tests): Add tst-create-detached.
1004         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1005         Reference the enhanced thread creation notes.
1006         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1007         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1008         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1009         (__pthread_current_priority): Likewise.
1010         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1011         xpthread_attr_init, xpthread_attr_setdetachstate, and
1012         xpthread_attr_setstacksize.
1013         * support/xpthread_attr_destroy.c: New file.
1014         * support/xpthread_attr_init.c: New file.
1015         * support/xpthread_attr_setdetachstate.c: New file.
1016         * support/xpthread_attr_setstacksize.c: New file.
1017         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1018         xpthread_attr_init, xpthread_attr_setdetachstate, and
1019         xpthread_attr_setstacksize.
1021 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1023         * nptl/Makefile (tests): Add tst-robust-fork.
1024         * nptl/tst-robust-fork.c: New file.
1025         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1026         xpthread_mutex_consistent, xpthread_mutex_destroy,
1027         xpthread_mutex_init, xpthread_mutexattr_destroy,
1028         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1029         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1030         xpthread_mutexattr_settype.
1031         * support/xmmap.c: New file.
1032         * support/xmunmap.c: Likewise.
1033         * support/xpthread_mutex_consistent.c: Likewise.
1034         * support/xpthread_mutex_destroy.c: Likewise.
1035         * support/xpthread_mutex_init.c: Likewise.
1036         * support/xpthread_mutexattr_destroy.c: Likewise.
1037         * support/xpthread_mutexattr_init.c: Likewise.
1038         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1039         * support/xpthread_mutexattr_setpshared.c: Likewise.
1040         * support/xpthread_mutexattr_setrobust.c: Likewise.
1041         * support/xpthread_mutexattr_settype.c: Likewise.
1042         * support/xthread.h (xpthread_mutexattr_destroy)
1043         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1044         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1045         (xpthread_mutexattr_settype, xpthread_mutex_init)
1046         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1047         * support/xunistd.h (xmmap, xmunmap): Likewise.
1049 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1051         * string/Makefile (xtests): Add comment.
1052         (LOCALES): Add en_GB.UTF-8.
1053         (tst-strcoll-overflow.out): Depend on generated locales.
1054         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1055         (SIZE, TIMEOUT): Update comments.
1056         (do_test): Define as static.  Fail test if setlocale fails.
1057         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1058         messages.
1059         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1060         TIMEOUT at 300 seconds should be enough to run this test
1061         successfully.
1063 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1065         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1066         /* FALLTHRU */ comments.
1068 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1070         [BZ #21053]
1071         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1072         constants instead of the old R* ones.
1073         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1074         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1075         (NGREG): ... to this, to fit in with other architectures.
1076         (gpregset_t): Use new NGREG macro.
1077         [__USE_GNU]: Remove condition; all architectures other than tile
1078         are unconditional.
1079         (R*): Rename to REG_R*.
1081 2017-01-20  DJ Delorie  <dj@redhat.com>
1083         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1084         (tunable_set_val_if_valid_range_signed) ... this, and ...
1085         (tunable_set_val_if_valid_range_unsigned) ... this.
1086         (tunable_initialize): Call the correct one of the above based on type.
1088 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1090         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1091         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1092         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1093         * sysdeps/microblaze/libm-test-ulps: Likewise.
1094         * sysdeps/sh/libm-test-ulps: Likewise.
1096         * math/README.libm-test: Update list of characters for input and
1097         output types.
1099 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1101         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1102         (__lll_unlock_elision): Fix adapt_count decrement.
1104 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1106         * README.pretty-printers (Known issues): Warn about printers not
1107         always covering everything.
1108         * nptl/nptl-printers.py (MutexPrinter): Change output.
1109         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1111 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1113         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1114         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1115         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1116         (__lll_lock_elision): Do not test futex before starting a
1117         transaction.  Use __glibc_likely instead of __builtin_expect.
1118         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1119         (__lll_trylock_elision): Do not test futex before starting a
1120         transaction.  Use __glibc_likely instead of __builtin_expect.
1122 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1124         * po/Makefile (update-translations): New target.
1126 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1128         [BZ #21061]
1129         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1131 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1133         * elf/dl-tunables (get_next_env): Always advance envp.
1134         * stdlib/tst-empty-env.c: New test case.
1135         * stdlib/Makefile (tests): Use it.
1137 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1139         [BZ #21047]
1140         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1141         name for instruction.
1142         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1144 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1146         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1147         for make install.
1149 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1151         * po/bg.po: Merge from Translation Project.
1152         * po/fr.po: Likewise.
1153         * po/ko.po: Likewise.
1154         * po/nl.po: Likewise.
1155         * po/sv.po: Likewise.
1157 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1159         * manual/install.texi (Tools for Compilation): Update GCC version
1160         known to work to build glibc.
1161         * INSTALL: Regenerated.
1163 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1165         [BZ #21006]
1166         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1168 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1170         [BZ #21045]
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1172         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1173         to __sigprocmask.
1175 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1177         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1178         wrap-around.
1179         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1181         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1183 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1185         * NEWS: Fix typo.
1187 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1189         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1190         barriers and comments.
1191         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1192         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1193         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1195 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1197         [BZ #19402]
1198         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1199         mutexes.
1201 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1203         [BZ #20985]
1204         * nptl/Makefile: Adapt.
1205         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1206         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1207         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1208         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1209         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1210         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1211         lll_robust* functions and adapt.
1212         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1213         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1214         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1215         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1216         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1217         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1218         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1219         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1220         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1221         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1222         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1223         * nptl/lowlevelrobustlock.c: Remove file.
1224         * nptl/lowlevelrobustlock.sym: Likewise.
1225         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1226         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1228 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1230         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1232 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1234         * po/cs.po: Merge translations from the Translation Project.
1235         * po/de.po: Likewise.
1236         * po/pl.po: Likewise.
1237         * po/ru.po: Likewise.
1238         * po/tr.po: Likewise.
1239         * po/uk.po: Likewise.
1240         * po/vi.po: Likewise.
1241         * po/zh_CN.po: Likewise.
1243 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1245         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1247         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1248         object.
1250 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1252         [BZ #16458]
1253         * bits/uintn-identity.h: New file.
1254         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1255         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1256         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1257         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1258         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1259         * string/endian.h: Include <bits/uintn-identity.h>.
1260         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1261         __uint16_identity.
1262         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1263         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1264         __uint32_identity.
1265         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1266         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1267         __uint64_identity.
1268         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1269         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1270         __uint16_identity.
1271         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1272         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1273         __uint32_identity.
1274         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1275         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1276         __uint64_identity.
1277         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1278         * string/Makefile (headers): Add bits/uintn-identity.h.
1279         (tests): Add test-endian-types.
1280         * string/test-endian-types.c: New file.
1281         * inet/Makefile (tests): Add test-hnto-types.
1282         * inet/test-hnto-types.c: New file.
1284 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1286         * po/be.po: Update from Translation Project.
1287         * po/bg.po: Likewise.
1288         * po/ca.po: Likewise.
1289         * po/cs.po: Likewise.
1290         * po/da.po: Likewise.
1291         * po/de.po: Likewise.
1292         * po/el.po: Likewise.
1293         * po/eo.po: Likewise.
1294         * po/es.po: Likewise.
1295         * po/fi.po: Likewise.
1296         * po/fr.po: Likewise.
1297         * po/gl.po: Likewise.
1298         * po/hr.po: Likewise.
1299         * po/hu.po: Likewise.
1300         * po/ia.po: Likewise.
1301         * po/id.po: Likewise.
1302         * po/it.po: Likewise.
1303         * po/ja.po: Likewise.
1304         * po/ko.po: Likewise.
1305         * po/lt.po: Likewise.
1306         * po/nb.po: Likewise.
1307         * po/nl.po: Likewise.
1308         * po/pl.po: Likewise.
1309         * po/pt_BR.po: Likewise.
1310         * po/ru.po: Likewise.
1311         * po/rw.po: Likewise.
1312         * po/sk.po: Likewise.
1313         * po/sl.po: Likewise.
1314         * po/sv.po: Likewise.
1315         * po/tr.po: Likewise.
1316         * po/uk.po: Likewise.
1317         * po/vi.po: Likewise.
1318         * po/zh_CN.po: Likewise.
1319         * po/zh_TW.po: Likewise.
1321 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1323         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1324         -Wformat-truncation instead of -Wformat-length.
1325         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1326         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1327         GCC 7.
1328         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1329         (do_test): Ignore -Wformat-truncation for GCC 7.
1331         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1332         buffer used to print long int value.
1334         * elf/sotruss-lib.c (init): Increase space allocated for pid by
1335         one byte.  Print it with %ld, cast to long int.
1337 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1339         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1340         (re.fullmatch, subprocess.run): Likewise.
1342 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1344         * po/libc.pot: Regenerate.
1346 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1348         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1349         (min_strlen): Likewise.
1350         (disable_tunable): Likewise.
1351         (maybe_disable_malloc_check): Rename to
1352         maybe_enable_malloc_check.
1353         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1354         if /etc/suid-debug file exists.
1355         (__tunables_init): Update caller.
1356         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1357         secure.
1359 2016-01-10  Torvald Riegel  <triegel@redhat.com>
1361         * nptl/DESIGN-rwlock.txt: Remove.
1362         * nptl/lowlevelrwlock.sym: Remove.
1363         * nptl/Makefile: Add new tests.
1364         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
1365         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
1366         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
1367         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
1368         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
1369         PTHREAD_RWLOCK_FUTEX_USED): New.
1370         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
1371         implementation.
1372         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
1373         (__pthread_rwlock_rdlock): Adapt.
1374         * nptl/pthread_rwlock_timedrdlock.c
1375         (pthread_rwlock_timedrdlock): Adapt.
1376         * nptl/pthread_rwlock_timedwrlock.c
1377         (pthread_rwlock_timedwrlock): Adapt.
1378         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
1379         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
1380         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
1381         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
1382         (__pthread_rwlock_wrlock): Adapt.
1383         * nptl/tst-rwlock10.c: Adapt.
1384         * nptl/tst-rwlock11.c: Adapt.
1385         * nptl/tst-rwlock17.c: New file.
1386         * nptl/tst-rwlock18.c: New file.
1387         * nptl/tst-rwlock19.c: New file.
1388         * nptl/tst-rwlock2b.c: New file.
1389         * nptl/tst-rwlock8.c: Adapt.
1390         * nptl/tst-rwlock9.c: Adapt.
1391         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1392         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1393         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1394         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1395         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1396         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1397         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1398         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1399         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1400         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1401         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1402         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1403         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1404         (pthread_rwlock_t): Adapt.
1405         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1406         (pthread_rwlock_t): Adapt.
1407         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1408         * nptl/nptl-printers.py (): Adapt.
1409         * nptl/nptl_lock_constants.pysym: Adapt.
1410         * nptl/test-rwlock-printers.py: Adapt.
1411         * nptl/test-rwlockattr-printers.c: Adapt.
1412         * nptl/test-rwlockattr-printers.py: Adapt.
1414 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
1416         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
1417         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
1418         (fma_test_data): Likewise.
1419         (hypot_test_data): Likewise.
1420         (log1p_test_data): Likewise.
1421         (modf_test_data): Likewise.
1422         (pow_test_data): Likewise.
1423         (remainder_test_data): Likewise.
1424         (remquo_test_data): Likewise.
1425         (scalb_test_data): Likewise.
1426         (scalbn_test_data): Likewise.
1427         (scalbln_test_data): Likewise.
1428         * math/gen-libm-test.pl (parse_args): Transform
1429         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
1430         on the rounding mode.
1432 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
1434         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
1435         xfail-rounding:ibm128-libgcc automatically to tests overflowing
1436         and those that can underflow to zero.
1437         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
1438         add others.
1439         * math/auto-libm-test-out: Regenerated.
1441         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
1442         supported.
1443         (feholdexcept_tests): Skip tests requiring exceptions or rounding
1444         modes support if not supported.
1446         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
1447         Add libc.so PLT entry.
1448         (__tls_get_addr): Make ld.so PLT entry optional.
1450 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1452         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
1453         * string/bits/string3.h: ... here.
1455 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1457         [BZ #21028]
1458         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
1459         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
1460         if EXCEPTION_TESTS returns false.
1462 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1464         [BZ #20558]
1465         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
1466         strings_fortified.h.
1467         [__USE_MISC] (bzero): Likewise.
1468         [__USE_MISC] (explicit_bzero): Likewise.
1469         * string/strings.h: Include strings_fortified.h.
1470         * string/Makefile (headers): Add strings_fortified.h.
1471         * string/bits/strings_fortified.h: New file.
1472         * include/bits/strings_fortified.h: Likewise.
1474 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1476         * elf/tst-tls13.c (TIMEOUT): Remove.
1477         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
1478         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
1479         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
1480         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
1481         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
1483         [BZ #21026]
1484         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
1485         (readahead): New syscall entry.
1487 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1489         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
1490         around tests of strncat with large sizes.
1492         * malloc/tst-malloc.c: Include <libc-internal.h>.
1493         (do_test): Disable -Walloc-size-larger-than= around tests of
1494         malloc with negative sizes.
1495         * malloc/tst-mcheck.c: Include <libc-internal.h>.
1496         (do_test): Disable -Walloc-size-larger-than= around tests of
1497         malloc and realloc with negative sizes.
1498         * malloc/tst-realloc.c: Include <libc-internal.h>.
1499         (do_test): Disable -Walloc-size-larger-than= around tests of
1500         realloc with negative sizes.
1502         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
1503         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
1504         allowed to 16 ulps.
1505         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
1506         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
1507         * math/auto-libm-test-out: Regenerated.
1509 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1511         * math/Makefile (libm-calls): Move wrappers...
1512         (libm-compat-call-auto): Here.
1513         (libm-routines): Add items in libm-compat-calls-auto.
1514         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
1515         the filenames of the wrappers that have been renamed.
1516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
1517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1519         * math/w_acos.c: Add _compat suffix to filename.
1520         * math/w_acosf.c: Likewise.
1521         * math/w_acosh.c: Likewise.
1522         * math/w_acoshf.c: Likewise.
1523         * math/w_acoshl.c: Likewise.
1524         * math/w_acosl.c: Likewise.
1525         * math/w_asin.c: Likewise.
1526         * math/w_asinf.c: Likewise.
1527         * math/w_asinl.c: Likewise.
1528         * math/w_atan2.c: Likewise.
1529         * math/w_atan2f.c: Likewise.
1530         * math/w_atan2l.c: Likewise.
1531         * math/w_atanh.c: Likewise.
1532         * math/w_atanhf.c: Likewise.
1533         * math/w_atanhl.c: Likewise.
1534         * math/w_cosh.c: Likewise.
1535         * math/w_coshf.c: Likewise.
1536         * math/w_coshl.c: Likewise.
1537         * math/w_exp10.c: Likewise.
1538         * math/w_exp10f.c: Likewise.
1539         * math/w_exp10l.c: Likewise.
1540         * math/w_exp2.c: Likewise.
1541         * math/w_exp2f.c: Likewise.
1542         * math/w_exp2l.c: Likewise.
1543         * math/w_fmod.c: Likewise.
1544         * math/w_fmodf.c: Likewise.
1545         * math/w_fmodl.c: Likewise.
1546         * math/w_hypot.c: Likewise.
1547         * math/w_hypotf.c: Likewise.
1548         * math/w_hypotl.c: Likewise.
1549         * math/w_j0.c: Likewise.
1550         * math/w_j0f.c: Likewise.
1551         * math/w_j0l.c: Likewise.
1552         * math/w_j1.c: Likewise.
1553         * math/w_j1f.c: Likewise.
1554         * math/w_j1l.c: Likewise.
1555         * math/w_jn.c: Likewise.
1556         * math/w_jnf.c: Likewise.
1557         * math/w_jnl.c: Likewise.
1558         * math/w_log10.c: Likewise.
1559         * math/w_log10f.c: Likewise.
1560         * math/w_log10l.c: Likewise.
1561         * math/w_log2.c: Likewise.
1562         * math/w_log2f.c: Likewise.
1563         * math/w_log2l.c: Likewise.
1564         * math/w_log.c: Likewise.
1565         * math/w_logf.c: Likewise.
1566         * math/w_logl.c: Likewise.
1567         * math/w_pow.c: Likewise.
1568         * math/w_powf.c: Likewise.
1569         * math/w_powl.c: Likewise.
1570         * math/w_remainder.c: Likewise.
1571         * math/w_remainderf.c: Likewise.
1572         * math/w_remainderl.c: Likewise.
1573         * math/w_scalb.c: Likewise.
1574         * math/w_scalbf.c: Likewise.
1575         * math/w_scalbl.c: Likewise.
1576         * math/w_sinh.c: Likewise.
1577         * math/w_sinhf.c: Likewise.
1578         * math/w_sinhl.c: Likewise.
1579         * math/w_sqrt.c: Likewise.
1580         * math/w_sqrtf.c: Likewise.
1581         * math/w_sqrtl.c: Likewise.
1582         * math/w_tgamma.c: Likewise.
1583         * math/w_tgammaf.c: Likewise.
1584         * math/w_tgammal.c: Likewise.
1586         * math/w_acos_compat.c: New file copied from above and
1587         adjusted for new #includes path
1588         * math/w_acosf_compat.c: Likewise.
1589         * math/w_acosh_compat.c: Likewise.
1590         * math/w_acoshf_compat.c: Likewise.
1591         * math/w_acoshl_compat.c: Likewise.
1592         * math/w_acosl_compat.c: Likewise.
1593         * math/w_asin_compat.c: Likewise.
1594         * math/w_asinf_compat.c: Likewise.
1595         * math/w_asinl_compat.c: Likewise.
1596         * math/w_atan2_compat.c: Likewise.
1597         * math/w_atan2f_compat.c: Likewise.
1598         * math/w_atan2l_compat.c: Likewise.
1599         * math/w_atanh_compat.c: Likewise.
1600         * math/w_atanhf_compat.c: Likewise.
1601         * math/w_atanhl_compat.c: Likewise.
1602         * math/w_cosh_compat.c: Likewise.
1603         * math/w_coshf_compat.c: Likewise.
1604         * math/w_coshl_compat.c: Likewise.
1605         * math/w_exp10_compat.c: Likewise.
1606         * math/w_exp10f_compat.c: Likewise.
1607         * math/w_exp10l_compat.c: Likewise.
1608         * math/w_exp2_compat.c: Likewise.
1609         * math/w_exp2f_compat.c: Likewise.
1610         * math/w_exp2l_compat.c: Likewise.
1611         * math/w_fmod_compat.c: Likewise.
1612         * math/w_fmodf_compat.c: Likewise.
1613         * math/w_fmodl_compat.c: Likewise.
1614         * math/w_hypot_compat.c: Likewise.
1615         * math/w_hypotf_compat.c: Likewise.
1616         * math/w_hypotl_compat.c: Likewise.
1617         * math/w_j0_compat.c: Likewise.
1618         * math/w_j0f_compat.c: Likewise.
1619         * math/w_j0l_compat.c: Likewise.
1620         * math/w_j1_compat.c: Likewise.
1621         * math/w_j1f_compat.c: Likewise.
1622         * math/w_j1l_compat.c: Likewise.
1623         * math/w_jn_compat.c: Likewise.
1624         * math/w_jnf_compat.c: Likewise.
1625         * math/w_jnl_compat.c: Likewise.
1626         * math/w_log10_compat.c: Likewise.
1627         * math/w_log10f_compat.c: Likewise.
1628         * math/w_log10l_compat.c: Likewise.
1629         * math/w_log2_compat.c: Likewise.
1630         * math/w_log2f_compat.c: Likewise.
1631         * math/w_log2l_compat.c: Likewise.
1632         * math/w_log_compat.c: Likewise.
1633         * math/w_logf_compat.c: Likewise.
1634         * math/w_logl_compat.c: Likewise.
1635         * math/w_pow_compat.c: Likewise.
1636         * math/w_powf_compat.c: Likewise.
1637         * math/w_powl_compat.c: Likewise.
1638         * math/w_remainder_compat.c: Likewise.
1639         * math/w_remainderf_compat.c: Likewise.
1640         * math/w_remainderl_compat.c: Likewise.
1641         * math/w_scalb_compat.c: Likewise.
1642         * math/w_scalbf_compat.c: Likewise.
1643         * math/w_scalbl_compat.c: Likewise.
1644         * math/w_sinh_compat.c: Likewise.
1645         * math/w_sinhf_compat.c: Likewise.
1646         * math/w_sinhl_compat.c: Likewise.
1647         * math/w_sqrt_compat.c: Likewise.
1648         * math/w_sqrtf_compat.c: Likewise.
1649         * math/w_sqrtl_compat.c: Likewise.
1650         * math/w_tgamma_compat.c: Likewise.
1651         * math/w_tgammaf_compat.c: Likewise.
1652         * math/w_tgammal_compat.c: Likewise.
1654         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
1655         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1656         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1657         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1658         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1659         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1660         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1661         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1662         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1663         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
1664         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
1665         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
1666         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1667         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1668         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1669         * sysdeps/ia64/fpu/w_powl.c: Likewise.
1670         * sysdeps/ia64/fpu/w_powf.c: Likewise.
1671         * sysdeps/ia64/fpu/w_pow.c: Likewise.
1672         * sysdeps/ia64/fpu/w_logl.c: Likewise.
1673         * sysdeps/ia64/fpu/w_logf.c: Likewise.
1674         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1675         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1676         * sysdeps/ia64/fpu/w_log2.c: Likewise.
1677         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1678         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1679         * sysdeps/ia64/fpu/w_log10.c: Likewise.
1680         * sysdeps/ia64/fpu/w_log.c: Likewise.
1681         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1682         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1683         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1684         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1685         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1686         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1687         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1688         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1689         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1690         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1691         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1692         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1693         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1694         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1695         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1696         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1697         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1698         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1699         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1700         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1701         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1702         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1703         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1704         * sysdeps/ia64/fpu/w_asin.c: Likewise.
1705         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1706         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1707         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1708         * sysdeps/ia64/fpu/w_acos.c: Likewise.
1709         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1710         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1711         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1712         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
1713         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
1714         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
1715         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
1716         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
1717         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
1718         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
1719         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
1720         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
1721         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
1722         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
1723         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
1724         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
1725         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
1726         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
1727         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
1728         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
1729         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
1730         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
1731         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
1732         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
1733         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
1734         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
1735         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
1736         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
1737         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
1738         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
1739         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
1740         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
1741         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
1742         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
1743         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
1744         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
1745         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
1746         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
1747         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
1748         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
1749         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
1750         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
1751         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
1752         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
1753         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
1754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
1755         Likewise.
1756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
1757         Likewise.
1758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
1759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
1760         Likewise.
1761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
1762         Likewise.
1763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
1764         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1765         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1766         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1767         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1768         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1769         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
1771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
1773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1776         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1777         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1779         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
1780         and adjusted for new #includes path
1781         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
1782         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
1783         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
1784         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
1785         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
1786         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
1787         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
1788         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
1789         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
1790         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
1791         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
1792         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
1793         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
1794         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
1795         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
1796         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
1797         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
1798         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
1799         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
1800         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
1801         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
1802         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
1803         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
1804         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
1805         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
1806         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
1807         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
1808         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
1809         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
1810         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
1811         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
1812         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
1813         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
1814         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
1815         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
1816         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
1817         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
1818         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
1819         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
1820         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
1821         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
1822         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
1823         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
1824         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
1825         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
1826         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
1827         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
1828         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
1829         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
1830         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
1831         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
1832         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
1833         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
1834         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
1835         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
1836         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
1837         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
1838         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
1839         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
1840         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1841         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1842         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
1843         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1844         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
1845         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1846         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
1847         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1848         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
1849         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1850         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
1851         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
1852         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
1853         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1854         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
1855         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1856         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
1857         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1858         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
1859         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1860         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
1861         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1862         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
1863         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1864         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
1865         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1866         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
1867         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1868         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
1869         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1870         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
1871         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1872         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
1873         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
1874         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1875         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1876         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1877         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1878         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1879         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1881         Likewise.
1882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1883         Likewise.
1884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1885         Likewise.
1886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1887         Likewise.
1888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1889         Likewise.
1890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1891         Likewise.
1892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1893         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1895         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1896         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1897         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1899         Likewise.
1900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1901         Likewise.
1902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1903         Likewise.
1904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1905         Likewise.
1906         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1907         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1908         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1909         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1911 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1913         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
1914         __jmp_buf_internal_tag.
1916         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
1917         preserve NaN payload if [__mips_nan2008].
1918         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1920         [BZ #21022]
1921         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
1923 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1925         * sysdeps/i386/fpu/libm-test-ulps: Update.
1927 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1929         * sysdeps/ia64/strcat.c: Remove file.
1930         * sysdeps/powerpc/strcat.c: Likewise.
1931         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
1932         C implementation.
1933         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
1934         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
1936 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1937             Steven Munroe  <sjmunroe@us.ibm.com>
1938             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1940         [BZ #20822]
1941         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1942         (__lll_lock_elision): Access adapt_count via C11 atomics.
1943         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1944         (__lll_trylock_elision): Likewise.
1945         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1946         (__lll_unlock_elision):  Update adapt_count variable inside the
1947         critical section using C11 atomics.
1949 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1951         * math/test-fenvinline.c (do_test): Disable tests of raised
1952         exceptions if !EXCEPTION_TESTS (FLOAT).
1954 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1956         [BZ #19390]
1957         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
1958         maximum string size.
1959         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
1960         in pointer addition.
1961         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
1962         Likewise.
1964 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1966         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
1967         passed to tst-ldconfig-X.sh.
1969 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
1971         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
1973 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
1975         [BZ #21019]
1976         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
1977         New syscall entry.
1978         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
1979         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
1980         lseek.
1982         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1983         power4 glibc for powerpc-linux-gnu.
1985 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1987         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
1988         semctl.
1990 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
1992         * math/test-nearbyint-except.c: Include <stdbool.h>.
1993         (any_supported): New variable.
1994         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
1995         set any_supported.
1996         (do_test): Return 77 if no floating-point type supported
1997         exceptions.
1999         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2000         condition on [__mips_hard_float].
2002 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2004         [BZ #21014]
2005         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2006         in pointer addition.
2007         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2009 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2011         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2012         new condvar.
2014 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2016         * scripts/build-many-glibcs.py (Context.checkout): Default
2017         binutils version to 2.28 branch.
2019 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2021         * support/support_format_netent.c (support_format_netent): Work
2022         around alpha struct netent definition difference.
2024 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2026         * support/xwrite.c (xwrite): Use %td for pointer difference.
2028 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2030         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2031         have-tunables only.
2032         (tests-static): Add tst-malloc-usable-static-tunables for
2033         have-tunables only.
2035 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2037         * scripts/config.guess: Update to version 2017-01-01.
2038         * scripts/config.sub: Update to version 2017-01-01.
2040         * NEWS: Update copyright dates.
2041         * catgets/gencat.c (print_version): Likewise.
2042         * csu/version.c (banner): Likewise.
2043         * debug/catchsegv.sh: Likewise.
2044         * debug/pcprofiledump.c (print_version): Likewise.
2045         * debug/xtrace.sh (do_version): Likewise.
2046         * elf/ldconfig.c (print_version): Likewise.
2047         * elf/ldd.bash.in: Likewise.
2048         * elf/pldd.c (print_version): Likewise.
2049         * elf/sotruss.sh: Likewise.
2050         * elf/sprof.c (print_version): Likewise.
2051         * iconv/iconv_prog.c (print_version): Likewise.
2052         * iconv/iconvconfig.c (print_version): Likewise.
2053         * locale/programs/locale.c (print_version): Likewise.
2054         * locale/programs/localedef.c (print_version): Likewise.
2055         * login/programs/pt_chown.c (print_version): Likewise.
2056         * malloc/memusage.sh (do_version): Likewise.
2057         * malloc/memusagestat.c (print_version): Likewise.
2058         * malloc/mtrace.pl: Likewise.
2059         * manual/libc.texinfo: Likewise.
2060         * nptl/version.c (banner): Likewise.
2061         * nscd/nscd.c (print_version): Likewise.
2062         * nss/getent.c (print_version): Likewise.
2063         * nss/makedb.c (print_version): Likewise.
2064         * posix/getconf.c (main): Likewise.
2065         * scripts/test-installation.pl: Likewise.
2066         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2068         * All files with FSF copyright notices: Update copyright dates
2069         using scripts/update-copyrights.
2070         * intl/plural.c: Regenerated.
2071         * locale/programs/charmap-kw.h: Likewise.
2072         * locale/programs/locfile-kw.h: Likewise.
2074 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2076         [BZ #20593]
2077         Update DNS RR type definitions.
2078         * scripts/gen-rrtypes.py: New file.
2079         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2080         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2081         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2082         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2083         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2084         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2085         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2086         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2087         ns_t_ta, ns_t_dlv.
2088         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2089         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2090         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2091         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2092         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2093         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2094         Define.
2095         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2096         entry for ns_t_zxfr.
2098 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2100         [BZ #18784]
2101         CVE-2015-5180
2102         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2103         T_UNSPEC.  Adjust value.
2104         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2105         * resolv/res_query.c (__libc_res_nquery): Likewise.
2106         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2107         QTYPEs.
2108         * resolv/tst-resolv-qtypes.c: New file.
2109         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2110         (tst-resolv-qtypes): Link against libresolv and libpthread.
2112 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2114         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2116 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2118         * manual/tunables.texi: New chapter.
2119         * manual/Makefile (chapters): Add it.
2120         * manual/probes.texi (@node): Point to the Tunables chapter.
2122         * Makeconfig (have-tunables): Check for non-negative instead
2123         of positive.
2124         * configure.ac: Add 'valstring' as a valid value for
2125         --enable-tunables.
2126         * configure: Regenerate.
2127         * elf/Makefile (have-tunables): Check for non-negative instead
2128         of positive.
2129         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2130         dl-tunables.c.
2131         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2132         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2133         (tunables_strdup): Likewise.
2134         (disable_tunables): Likewise.
2135         (parse_tunables): Likewise.
2136         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2137         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2138         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2139         (TUNABLES_FRONTEND_yes): New macro, define as
2140         TUNABLES_FRONTEND_valstring by default.
2141         * manual/install.texi: Document new acceptable values for
2142         --enable-tunables.
2143         * INSTALL: Regenerate.
2145         * config.make.in (have-loop-to-function): Define.
2146         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2147         -fno-tree-loop-distribute-patterns.
2148         * elf/dl-tunables.c: Include libc-internals.h.
2149         (GLIBC_TUNABLES): New macro.
2150         (tunables_strdup): New function.
2151         (parse_tunables): New function.
2152         (min_strlen): New function.
2153         (__tunables_init): Use the new functions and macro.
2154         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2155         * malloc/tst-malloc-usable-tunables.c: New test case.
2156         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2157         * malloc/Makefile (tests, tests-static): Add tests.
2159         * manual/install.texi: Add --enable-tunables option.
2160         * INSTALL: Regenerate.
2161         * README.tunables: New file.
2162         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2163         (before-compile): Generate dl-tunable-list.h early.
2164         * config.h.in: Add HAVE_TUNABLES.
2165         * config.make.in: Add have-tunables.
2166         * configure.ac: Add --enable-tunables option.
2167         * configure: Regenerate.
2168         * csu/init-first.c (__libc_init_first): Move
2169         __libc_init_secure earlier...
2170         * csu/init-first.c (LIBC_START_MAIN):... to here.
2171         Include dl-tunables.h, libc-internal.h.
2172         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2173         binaries.
2174         * elf/Makefile (dl-routines): Add dl-tunables.
2175         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2176         namespace.
2177         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2178         only when !HAVE_TUNABLES.
2179         * elf/rtld.c (process_envvars): Likewise.
2180         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2181         (_dl_sysdep_start): Call __tunables_init.
2182         * elf/dl-tunable-types.h: New file.
2183         * elf/dl-tunables.c: New file.
2184         * elf/dl-tunables.h: New file.
2185         * elf/dl-tunables.list: New file.
2186         * malloc/tst-malloc-usable-static.c: New test case.
2187         * malloc/Makefile (tests-static): Add it.
2188         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2189         Define TUNABLE_NAMESPACE.
2190         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2191         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2192         callback functions.
2193         (ptmalloc_init): Set tunable values.
2194         * scripts/gen-tunables.awk: New file.
2195         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2196         (_dl_sysdep_start): Call __tunables_init.
2198 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2200         * resolv/resolv.h (RES_BLAST): Deprecate.
2201         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2202         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2203         to RES_BLAST.
2205 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2207         [BZ #19582]
2208         Deprecate RES_USE_INET6.
2209         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2210         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2211         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2212         RES_USE_INET6.
2213         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2214         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2215         (_nss_nisplus_gethostbyaddr_r): Likewise.
2216         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2217         of res_use_inet6.
2218         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2219         instead of RES_USE_INET6.
2220         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2221         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2222         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2223         Likewise.
2224         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2225         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2226         Likewise.
2227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2228         (_nss_dns_gethostbyname_r): Likewise.
2229         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2230         alternate RES_USE_INET6 handling.
2231         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2232         instead of RES_USE_INET6.
2233         * resolv/res_init.c (res_setoptions): Likewise.
2234         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2235         * resolv/resolv-internal.h: New file.
2236         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2237         make the deprecation warning non-fatal.
2238         * resolv/README (Using the resolver in multi-threaded code): Drop
2239         reference to RES_USE_INET6.
2240         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2241         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2243 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2245         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2246         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2247         tst-resolv-search.
2248         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2249         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2250         with libresolv and libpthread.
2251         * resolv/tst-bug18665.c: New file.
2252         * resolv/tst-bug18665-tcp: Likewise.
2253         * resolv/tst-res_use_inet6: Likewise.
2254         * resolv/tst-resolv-basic: Likewise.
2255         * resolv/tst-resolv-network: Likewise.
2256         * resolv/tst-resolv-search: Likewise.
2257         * support/Makefile (libsupport-routines): Add check_addrinfo,
2258         check_dns_packet, check_hostent, check_netent, resolv_test,
2259         support_format_address_family, support_format_addrinfo,
2260         support_format_dns_packet, support_format_herrno,
2261         support_format_hostent, support_format_netent, support_run_diff,
2262         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2263         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2264         xstrdup, xwrite.
2265         * support/check_addrinfo.c: New file.
2266         * support/check_dns_packet.c: Likewise.
2267         * support/check_hostent.c: Likewise.
2268         * support/check_netent.c: Likewise.
2269         * support/check_nss.h: Likewise.
2270         * support/format_nss.h: Likewise.
2271         * support/resolv_test.c: Likewise.
2272         * support/resolv_test.h: Likewise.
2273         * support/run_diff.h: Likewise.
2274         * support/support_format_address_family.c: Likewise.
2275         * support/support_format_addrinfo.c: Likewise.
2276         * support/support_format_dns_packet.c: Likewise.
2277         * support/support_format_herrno.c: Likewise.
2278         * support/support_format_hostent.c: Likewise.
2279         * support/support_format_netent.c: Likewise.
2280         * support/support_run_diff.c: Likewise.
2281         * support/xaccept.c: Likewise.
2282         * support/xbind.c: Likewise.
2283         * support/xconnect.c: Likewise.
2284         * support/xfclose.c: Likewise.
2285         * support/xfopen.c: Likewise.
2286         * support/xgetsockname.c: Likewise.
2287         * support/xlisten.c: Likewise.
2288         * support/xmemstream.c: Likewise.
2289         * support/xmemstream.h: Likewise.
2290         * support/xpoll.c: Likewise.
2291         * support/xpthread_once.c: Likewise.
2292         * support/xrecvfrom.c: Likewise.
2293         * support/xsendto.c: Likewise.
2294         * support/xsetsockopt.c: Likewise.
2295         * support/xstdio.h: Likewise.
2296         * support/xstrdup.c: Likewise.
2297         * support/support.h (xstrdup): Declare.
2298         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2299         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2300         * support/xthread.h (xpthread_once): Likwise.
2301         * support/xunistd.h (xwrite): Declare.
2303 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2305         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2306         (test_verbose): Declare.
2307         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2308         * support/support_test_main.c (default_options): Likewise.
2309         (usage, support_test_main): Handle 'v'.
2310         (test_verbose): Define.
2311         * support/tst-support_record_failure.c (do_test): Use
2312         test_verbose.
2313         * support/tst-support_record_failure-2.sh (different_status): Add
2314         --verbose test.
2316 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2318         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2319         test failures are recorded.
2320         * support/check.c (support_print_failure_impl): Call
2321         support_record_failure.
2322         (support_exit_failure_impl): Call support_record_failure if status
2323         indicates failure.
2324         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2325         * support/xasprintf.c (xasprintf): Likewise.
2326         * support/xfork.c (xfork): Likewise.
2327         * support/xpthread_check_return.c (xpthread_check_return):
2328         Likewise.
2329         * support/xsocket.c (xsocket): Likeweise.
2330         * support/xwaitpid.c (xwaitpid): Likewise.
2331         * support/support_record_failure.c (struct test_failures): Adjust
2332         to coding style.
2333         * support/support_test_verify_impl.c (support_test_verify_impl):
2334         Adjust error messages.
2335         * support/tst-support_record_failure-2.sh (different_status):
2336         Adjust error messages.
2338 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2340         * support/namespace.h: New file.
2341         * support/support_become_root.c: Likewise.
2342         * support/support_enter_network_namespace.c: Likewise.
2343         * support/tst-support-namespace.c: Likewise.
2344         * support/xsocket.c: Likewise.
2345         * support/xsocket.h: Likewise.
2346         * support/Makefile (libsupport-routines): Add support_become_root,
2347         support_enter_network_namespace, xsocket.
2348         (tests): Add tst-support-namespace.
2350 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2352         [BZ #17252]
2353         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2354         __USE_GNU.
2356 2016-12-31  Torvald Riegel  <triegel@redhat.com>
2358         [BZ #13165]
2359         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
2360         use new algorithm.
2361         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2362         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2363         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2364         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2365         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
2366         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
2367         __condvar_cleanup_waiting, __condvar_dec_grefs,
2368         __pthread_cond_wait_common): New.
2369         (__condvar_cleanup): Remove.
2370         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
2371         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
2372         Likewise.
2373         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
2374         Likewise.
2375         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
2376         * nptl/tst-cond1.c: Add comment.
2377         * nptl/tst-cond20.c (do_test): Adapt.
2378         * nptl/tst-cond22.c (do_test): Likewise.
2379         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
2380         structure.
2381         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2382         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2383         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2384         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
2385         Likewise.
2386         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2387         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2388         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2389         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2390         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2391         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
2392         Likewise.
2393         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
2394         Likewise.
2395         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2396         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
2397         (COND_CLOCK_BITS): Adapt.
2398         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
2399         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
2400         __PTHREAD_COND_SHARED_MASK): New.
2401         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
2402         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
2403         * nptl/nptl_lock_constants.pysym: Adapt.
2404         * nptl/test-cond-printers.py: Adapt.
2405         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
2406         cond_compat_check_and_clear): Adapt.
2407         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
2408         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2409         (__pthread_cond_timedwait): ... and move here.
2410         * nptl/DESIGN-condvar.txt: Remove file.
2411         * nptl/lowlevelcond.sym: Likewise.
2412         * nptl/pthread_cond_timedwait.c: Likewise.
2413         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2414         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
2415         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2416         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2417         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
2418         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
2419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
2420         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
2421         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
2422         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
2423         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
2424         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
2425         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
2426         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
2427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
2430 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
2432         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2433         (fromfp): New declaration.
2434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2437         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
2438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
2439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2442         * math/math.h: Include <bits/types.h>.
2443         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
2444         constant and macro.
2445         (FP_INT_DOWNWARD): Likewise.
2446         (FP_INT_TOWARDZERO): Likewise.
2447         (FP_INT_TONEARESTFROMZERO): Likewise.
2448         (FP_INT_TONEAREST): Likewise.
2449         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
2450         (fromfpf): Likewise.
2451         (fromfpl): Likewise.
2452         (ufromfp): Likewise.
2453         (ufromfpf): Likewise.
2454         (ufromfpl): Likewise.
2455         (fromfpx): Likewise.
2456         (fromfpxf): Likewise.
2457         (fromfpxl): Likewise.
2458         (ufromfpx): Likewise.
2459         (ufromfpxf): Likewise.
2460         (ufromfpxl): Likewise.
2461         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
2462         s_fromfpxF and s_ufromfpxF.
2463         * math/gen-fromfp-tests.py: New file.
2464         * math/gen-fromfp-tests-inputs: Likewise.
2465         * math/libm-test.inc: Include <stdint.h>
2466         (check_intmax_t): New function.
2467         (check_uintmax_t): Likewise.
2468         (struct test_fiu_M_data): New type.
2469         (struct test_fiu_U_data): Likewise.
2470         (RUN_TEST_fiu_M): New macro.
2471         (RUN_TEST_LOOP_fiu_M): Likewise.
2472         (RUN_TEST_fiu_U): Likewise.
2473         (RUN_TEST_LOOP_fiu_U): Likewise.
2474         (fromfp_test_data): New array.
2475         (fromfp_test): New function.
2476         (fromfpx_test_data): New array.
2477         (fromfpx_test): New function.
2478         (ufromfp_test_data): New array.
2479         (ufromfp_test): New function.
2480         (ufromfpx_test_data): New array.
2481         (ufromfpx_test): New function.
2482         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
2483         ufromfpx_test.
2484         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
2485         characters.
2486         * math/test-tgmath-ret.c: Include <stdint.h>.
2487         (rm): New variable.
2488         (width): Likewise.
2489         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
2490         called function.
2491         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
2492         CHECK_RET_CONST_TYPE.
2493         (CHECK_RET_CONST_DOUBLE): Likewise.
2494         (CHECK_RET_CONST_LDOUBLE): Likewise.
2495         (CHECK_RET_CONST): Take extra arguments and pass them to calls
2496         macros.
2497         (fromfp): New CHECK_RET_CONST call.
2498         (ufromfp): Likewise.
2499         (fromfpx): Likewise.
2500         (ufromfpx): Likewise.
2501         (do_test): Call check_return_fromfp, check_return_ufromfp,
2502         check_return_fromfpx and check_return_ufromfpx.
2503         * math/test-tgmath.c: Include <stdint.h>
2504         (NCALLS): Increase to 138.
2505         (F(compile_test)): Initialize i.  Call fromfp functions.
2506         (F(fromfp)): New function.
2507         (F(fromfpx)): Likewise.
2508         (F(ufromfp)): Likewise.
2509         (F(ufromfpx)): Likewise.
2510         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
2511         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
2512         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
2513         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
2514         ufromfpxl.
2515         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
2516         ufromfp and ufromfpx.
2517         * math/fromfp.h: New file.
2518         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
2519         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
2520         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
2521         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
2522         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
2523         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
2524         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
2525         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
2526         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
2527         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
2528         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
2529         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
2530         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
2531         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
2532         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
2533         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
2534         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
2535         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
2536         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
2537         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
2538         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
2539         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
2540         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
2541         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
2542         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
2543         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
2544         ufromfp, fromfpx and ufromfpx.
2545         (CFLAGS-nldbl-fromfp.c): New variable.
2546         (CFLAGS-nldbl-fromfpx.c): Likewise.
2547         (CFLAGS-nldbl-ufromfp.c): Likewise.
2548         (CFLAGS-nldbl-ufromfpx.c): Likewise.
2549         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
2550         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
2551         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
2552         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
2553         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
2554         * sysdeps/nacl/libm.abilist: Update.
2555         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2556         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2557         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2558         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2559         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2568         Likewise.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2570         Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2572         Likewise.
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2574         Likewise.
2575         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2576         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2577         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2578         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2579         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2588 2016-12-30  Florian Weimer  <fweimer@redhat.com>
2590         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
2591         compat-gethnamaddr.
2592         (CPPFLAGS): Remove.
2593         * resolv/gethnamaddr.c: Rename ...
2594         * resolv/compat-gethnamaddr.c: ... to this file.
2595         (_endhtent): Make static.
2596         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
2597         symbol.
2598         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
2599         compat symbol.
2600         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
2601         symbol.
2602         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
2603         Turn into compat symbol.
2604         * include/resolv.h (_endhtent): Remove declaration.
2606 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
2608         * bits/types.h (__intmax_t): New typedef.
2609         (__uintmax_t): Likewise.
2610         * sysdeps/generic/stdint.h: Include <bits/types.h>.
2611         (intmax_t): Define using __intmax_t.
2612         (uintmax_t): Define using __uintmax_t.
2614         * support/Makefile (tests-special): Make definition conditional on
2615         [$(run-built-tests) = yes].
2616         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
2617         on [$(run-built-tests) = yes].
2619 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2621         * Rules (tests): Add tests-printers-programs to tests to be
2622         built.
2624 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2626         * sysvipc/Makefile (tests): Add test-sysvshm.
2627         * sysvipc/test-sysvshm.c: New file.
2629         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
2630         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
2631         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
2632         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
2633         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
2634         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
2635         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
2636         Likewise.
2637         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
2638         Likewise.
2639         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
2640         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
2641         is defined.
2643         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
2644         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
2645         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
2646         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
2647         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
2648         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
2649         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
2650         Likewise.
2651         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
2652         Likewise.
2653         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
2654         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
2655         defined.
2657         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2658         oldshmctl.
2659         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
2660         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
2661         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
2662         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
2663         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
2664         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
2665         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
2666         Likewise.
2667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
2668         Likewise.
2669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
2670         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
2671         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
2672         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
2673         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
2674         implementation.
2675         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
2676         if it is defined.
2678         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
2679         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
2680         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
2681         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
2682         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
2683         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
2684         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
2685         Likewise.
2686         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
2687         Likewise.
2688         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
2689         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2690         Define to __NR_osf_shmat.
2691         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
2692         defined.
2694         * sysvipc/Makefile (tests): Add test-sysvsem.
2695         * sysvipc/test-sysvsem.c: New file.
2697         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
2698         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
2699         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
2700         Likewise.
2701         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
2702         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
2703         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
2706         Likewise.
2707         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
2708         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
2709         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
2710         add a comment about s390 syscall difference from default one.
2711         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
2712         syscall if it is defined.
2714         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
2715         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
2716         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
2717         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
2718         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
2719         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
2720         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
2723         Likewise.
2724         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
2725         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
2726         defined.
2728         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
2729         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
2730         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
2731         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
2732         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
2733         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
2734         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
2739         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
2740         if it is defined.
2742         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2743         oldsemctl.
2744         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
2745         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
2746         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
2747         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2748         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
2749         implementation.
2750         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
2751         syscall if it is defined.
2752         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
2753         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
2754         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
2755         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
2756         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
2757         Likewise.
2758         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
2760         * sysvipc/Makefile (tests): Add test-sysvmsg.
2761         * sysvipc/test-sysvmsg.c: New file.
2762         * support/check.h (FAIL_UNSUPPORTED): New define.
2764         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
2765         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
2766         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
2767         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
2768         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
2769         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
2770         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
2771         Likewise.
2772         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
2773         Likewise.
2774         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
2775         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
2776         define.
2778         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
2779         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
2780         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
2781         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
2782         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
2783         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
2784         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
2787         Likewise.
2788         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
2789         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
2790         if defined.
2792         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
2793         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
2794         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2795         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2796         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2797         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
2798         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2799         Likewise.
2800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
2801         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
2802         Likewise.
2803         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
2804         if defined.
2805         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
2807         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2808         oldmsgctl.
2809         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
2810         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
2811         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
2812         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
2813         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2814         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2815         * sysdeps/unix/sysv/linux/ia64/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/msgctl.c: Use default
2820         implementation.
2821         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
2822         if defined.
2824         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
2825         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
2826         definition and define its own.
2827         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
2828         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
2829         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
2830         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
2831         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
2832         definitions to common header.
2833         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
2834         operation from ipc_ops.h.
2836         * sysdeps/unix/sysv/linux/kernel-features.h
2837         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
2838         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2839         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
2840         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2841         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2842         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2843         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2844         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2845         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2846         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2847         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2848         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2849         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2850         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2851         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2853 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2855         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
2856         overflow in pointer addition.
2858 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2860         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2861         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
2862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2863         (strchr): Add __strchr_power8 to list of strchr functions.
2864         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
2865         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
2866         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
2867         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
2868         (strchr): Add __strchr_power8 to ifunc list.
2869         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
2870         (__strchrnul): Add __strchrnul_power8 to ifunc list.
2871         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
2872         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
2874 2016-12-28  Florian Weimer  <fweimer@redhat.com>
2876         * support/Makefile (libsupport-routines): Add
2877         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
2878         (tests): Add tst-support_record_failure.
2879         (tests-special): tst-support_record_failure-2.
2880         (tst-support_record_failure-2.out): Depend on
2881         tst-support_record_failure-2.sh and tst-support_record_failure.
2882         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
2883         (support_test_verify_impl, support_record_failure)
2884         (support_report_failure, support_report_failure_reset): Declare.
2885         * support/support_test_main.c (adjust_exit_status): New function.
2886         (support_test_main): Call it to incorporate record test failures.
2887         * support/support_test_verify_impl.c: New file.
2888         * support/support_record_failure.c: Likewise.
2889         * support/tst-support_record_failure.c: Likewise.
2890         * support/tst-support_record_failure-2.sh: Likewise.
2891         * support/xunistd.h: Likewise.
2892         * support/xfork.c: Likewise.
2893         * support/xwaitpid.c: Likewise.
2895 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
2897         * scripts/check-c++-types.sh: Add comments.
2899 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
2901         [BZ #19514]
2902         * resolv/res_send.c: Fix typo in comment.
2903         * sysdeps/i386/i386-mcount.S: Likewise.
2904         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2905         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2906         * sysdeps/sparc/sparc-mcount.S: Likewise.
2908 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2910         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
2911         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
2912         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2913         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2914         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
2915         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
2916         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
2917         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
2919 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2921         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
2923 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2925         [BZ #17252]
2926         * posix/unistd.h (getentropy): Declare.
2928 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2930         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
2931         Remove.
2932         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
2933         (cmd): Remove spoof, nospoof, spoofalert.
2934         (parse_line): Ignore spoof-related lines.
2935         (do_init): Do not process RESOLV_SPOOF_CHECK.
2937 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2939         [BZ #20964]
2940         sunrpc: Always obtain AF_INET addresses from NSS.
2941         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
2942         * sunrpc/rpc_gethostbyname.c: New file.
2943         * sunrpc/Makefile (routines): Add it.
2944         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
2945         * sunrpc/clnt_simp.c (callrpc): Likewise.
2946         * sunrpc/getrpcport.c (getrpcport): Likewise.
2948 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2950         * sunrpc/rpcinfo.c: Remove.
2951         * sunrpc/Makefile: Remove comments referring to rpcinfo.
2953 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2955         [BZ# 19387]
2956         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
2957         addition.
2958         * string/test-memchr.c (do_test): Remove alignment limitation.
2959         (test_main): Add test that trigger BZ# 19387.
2961 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2963         [BZ #7065]
2964         Enable stack protectore if requested by ./configure.
2965         * Makeconfig (+stack-protector): New variable.
2966         (+cflags): Use it.
2968 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2970         [BZ #7065]
2971         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
2972         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
2973         (__rt_sigreturn_stub): Use inhibit_stack_protector.
2974         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2975         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
2977 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2979         [BZ #7065]
2980         * login/Makefile (pt_chown-cflags): Remove.
2981         * nscd/Makefile (CFLAGS-nscd): Likewise.
2982         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2984 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2986         [BZ #7065]
2987         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
2988         non-libc-linking testcase.
2990 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2991             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2992             Florian Weimer  <fweimer@redhat.com>
2994         [BZ #7065]
2995         PLT avoidance for __stack_chk_fail*.
2996         * debug/Makefile (CFLAGS-stack_chk_fail.c)
2997         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
2998         * debug/stack_chk_fail.c (__stack_chk_fail): Add
2999         __stack_chk_fail_local alias.
3000         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3001         (__stack_chk_fail): Turn into hidden reference to
3002         __stack_chk_fail_local.
3004 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3006         [BZ #7065]
3007         * configure.ac: Add check for unsupported stack-protection level.
3008         (libc_cv_predef_stack_protector): Remove.
3009         (no_ssp): New variable.
3010         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3011         (stack_protector): Set to -fno-stack-protector similarly.
3012         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3013         (libc_cv_asm_set_directive): Likewise.
3014         (libc_cv_protected_data): Likewise.
3015         (libc_cv_z_combreloc): Likewise.
3016         (libc_cv_hashstyle): Likewise.
3017         (libc_cv_has_glob_dat): Likewise.
3018         (libc_cv_output_format): Likewise.
3019         (libc_cv_output_format): Likewise.
3020         (libc_cv_ehdr_start): Likewise.
3021         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3022         (LIBC_LINKER_FEATURE): Likewise.
3023         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3025 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3027         [BZ #7065]
3028         * elf/Makefile (dummy-stack-chk-fail): New.
3029         (librtld.map): Use it.
3031 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3033         [BZ #7065]
3034         Compile the dynamic linker without stack protection.
3035         * elf/Makefile (elide-stack-protector): New.
3036         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3037         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3038         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3039         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3041 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3043         [BZ #7065]
3044         * config.make.in (have-ssp, no-stack-protector): New.
3045         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3046         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3047         (CFLAGS-sbrk.op): Likewise.
3048         (CFLAGS-brk.o): Likewise.
3049         (CFLAGS-brk.op): Likewise.
3050         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3051         (CFLAGS-wordcopy.c): Likewise.
3053 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3055         [BZ #7065]
3056         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3057         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3058         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3059         (__ifunc_resolver): Use it.
3060         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3061         inhibit_stack_protector.
3062         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3063         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3064         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3065         (foo_protected_ifunc): Likewise.
3066         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3067         (foo_protected_ifunc): Likewise.
3068         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3069         * sysdeps/nacl/nacl_interface_query.c
3070         (nacl_interface_query_ifunc): Likewise.
3071         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3072         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3073         Likewise.
3074         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3075         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3076         the generated vDSO syscall resolver.
3078 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3079             Florian Weimer  <fweimer@redhat.com>
3081         [BZ #7065]
3082         Initialize the stack guard earlier when linking statically.
3083         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3084         (__pthread_initialize_minimal): Declare.
3085         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3086         declaration.
3087         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3088         stack canary and apply_irel initialization up.  Call
3089         __pthread_initialize_minimal only if linked in.
3090         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3091         constant values.
3092         (__pthread_initialize_minimal): Remove.
3093         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3094         (__pthread_initialize_minimal_internal): Do not call
3095         __libc_setup_tls.
3097 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3099         [BZ #7065]
3100         * configure.ac (libc_cv_ssp): Move up.
3101         (libc_cv_ssp_strong): Likewise.
3102         (libc_cv_ssp_all): New.
3103         (stack_protector): Augment, adding -fstack-protector-all.
3104         (no_stack_protector): New.
3105         (STACK_PROTECTOR_LEVEL): New.
3106         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3107         * manual/install.texi (--enable-stack-protector): Document it.
3108         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3110 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3112         * README.pretty-printers: Must specify CPPFLAGS-* also.
3113         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3114         (CPPFLAGS-test-mutex-printers.c): Define.
3115         (CPPFLAGS-test-condattr-printers.c): Define.
3116         (CPPFLAGS-test-cond-printers.c): Define.
3117         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3118         (CPPFLAGS-test-rwlock-printers.c): Define.
3120         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3121         (tests): Add tst-cancel-getpwuid_r.
3122         * nss/tst-cancel-getpwuid_r.c: New file.
3124         [BZ #11941]
3125         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3126         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3127         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3128         tst-nodelete-dlclose.
3129         (modules-names): Add tst-nodelete-dlclose-dso and
3130         tst-nodelete-dlclose-plugin.
3131         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3132         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3133         ($(objpfx)tst-nodelete-dlclose): Define.
3134         ($(objpfx)tst-nodelete-dlclose.out): Define.
3136 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3138         * scripts/test_printers_common.py: Log GDB output in case of
3139         Python detection failure.
3141 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3143         * configure.ac: Check for python3 or python.
3144         * configure: Regenerated.
3145         * config.make.in (PYTHON): New variable.
3146         * benchtests/Makefile: Don't define PYTHON.
3147         (bench): Define target only if PYTHON was defined.
3148         * Rules: Don't define PYTHON.
3149         Define pretty printer targets only if PYTHON was defined.
3150         (tests-printers): Add to tests-unsupported if PYTHON is not
3151         found.
3152         (python-flags, python-invoke): Remove.
3153         (tests-printers-out): Use PYTHON instead of python-invoke.
3155 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3157         [BZ #20978]
3158         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3159         Compare name == NULL, not name != NULL.
3161         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3162         trailing whitespace removed.
3163         * scripts/config.guess: Update to version 2016-10-02.
3164         * scripts/config.sub: Update to version 2016-11-19.
3165         * scripts/install-sh: Update to version 2016-01-11.22.
3166         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3167         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3169 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3171         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3172         (do_one_test) Restore original string so iteration works.
3173         * string/string-inlines.c (do_test): Create better input strings.
3174         (test_main) Reduce number of testruns.
3175         * string/string-inlines.c (__old_strsep_1c): New function.
3176         (__old_strsep_2c): Likewise.
3177         (__old_strsep_3c): Likewise.
3178         * string/strsep.c (__strsep): Remove case of small delim string.
3179         Call strcspn directly rather than strpbrk.
3180         * string/bits/string2.h (__strsep): Remove define.
3181         (__strsep_1c): Remove.
3182         (__strsep_2c): Remove.
3183         (__strsep_3c): Remove.
3184         (strsep): Remove.
3185         * sysdeps/unix/sysv/linux/internal_statvfs.c
3186         (__statvfs_getflags): Rename to __strsep.
3188 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3190         * csu/libc-tls.c (_dl_tls_setup): Remove.
3191         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3192         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3193         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3195 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3197         [BZ #7065]
3198         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3199         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3201 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3202             Florian Weimer  <fweimer@redhat.com>
3204         [BZ #7065]
3205         * csu/Makefile (tests): Empty assignment and document it.
3206         (tests-static): Remove.
3207         * csu/tst-empty.c: Move to...
3208         * misc/tst-empty.c: ... here.  Switch to new test driver.
3209         * csu/tst-atomic.c: Move to...
3210         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3211         * csu/tst-atomic-long.c: Move to...
3212         * misc/tst-atomic-long.c: ... here.
3213         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3214         tst-atomic-long.
3215         (tests-static): Add tst-empty.
3217 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3219         * manual/nss.texi: Change incorrect @vtable to @table.
3220         * manual/arith.texi: Convert @tables of variables to @vtables
3221         and remove unnecessary indexing.
3222         * manual/filesys.texi: Likewise.
3223         * manual/llio.texi: Likewise.
3224         * manual/memory.texi: Likewise.
3225         * manual/process.texi: Likewise.
3226         * manual/resource.texi: Likewise.
3227         * manual/search.texi: Likewise.
3228         * manual/signal.texi: Likewise.
3229         * manual/socket.texi: Likewise.
3230         * manual/stdio.texi: Likewise.
3231         * manual/sysinfo.texi: Likewise.
3232         * manual/syslog.texi: Likewise.
3233         * manual/terminal.texi: Likewise.
3234         * manual/time.texi: Likewise.
3235         * manual/users.texi: Likewise.
3237 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3239         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3240         (roundeven): New declaration.
3241         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3242         macro.
3243         * math/Versions (roundeven): New libm symbol at version
3244         GLIBC_2.25.
3245         (roundevenf): Likewise.
3246         (roundevenl): Likewise.
3247         * math/Makefile (libm-calls): Add s_roundevenF.
3248         * math/libm-test.inc (roundeven_test_data): New array.
3249         (roundeven_test): New function.
3250         (main): Call roundeven_test.
3251         * math/test-tgmath.c (NCALLS): Increase to 134.
3252         (F(compile_test)): Call roundeven.
3253         (F(roundeven)): New function.
3254         * manual/arith.texi (Rounding Functions): Document roundeven,
3255         roundevenf and roundevenl.
3256         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3257         * include/math.h (roundeven): Use libm_hidden_proto.
3258         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3259         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3260         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3261         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3262         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3263         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3264         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3265         roundeven.
3266         (CFLAGS-nldbl-roundeven.c): New variable.
3267         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3268         * sysdeps/nacl/libm.abilist: Update.
3269         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3272         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3274         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3275         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3276         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3277         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3278         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3282         Likewise.
3283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3284         Likewise.
3285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3286         Likewise.
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3288         Likewise.
3289         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3290         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3291         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3292         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3295         Likewise.
3296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3297         Likewise.
3298         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3299         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3300         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3302 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3304         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3305         preprocessor indentation inside #if.
3307 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3309         * math/libm-test.inc (fmt_ftostr): New function.
3310         (print_float, check_float_internal): Replace some uses of
3311         FTOSTR with uses of fmt_ftostr.
3312         (print_max_error, print_complex_max_error, print_function_ulps)
3313         (print_complex_function_ulps): Remove uses of the macros
3314         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3315         * math/test-double.h (FTOSTR): Define to strfromd.
3316         (PRINTF_EXPR): Delete.
3317         (PRINTF_XEXPR): Likewise.
3318         (PRINTF_NEXPR): Likewise.
3319         * math/test-float.h (FTOSTR): Define to strfromf.
3320         (PRINTF_EXPR): Delete.
3321         (PRINTF_XEXPR): Likewise.
3322         (PRINTF_NEXPR): Likewise.
3323         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3324         (PRINTF_EXPR): Delete.
3325         (PRINTF_XEXPR): Likewise.
3326         (PRINTF_NEXPR): Likewise.
3328 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3330         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3331         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3332         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3333         (__lll_lock_elision): Decrement adapt_count while unlocking
3334         instead of before locking.
3335         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3336         (__lll_trylock_elision): Likewise.
3337         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3338         (__lll_unlock_elision): Likewise.
3340 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3342         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3343         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3344         Use __libc_tbegin_retry macro.
3346 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3348         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3349         Add -msoft-float.
3350         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3351         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3352         Use __libc_t* transaction macros instead of __builtin_t*.
3353         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3354         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3356 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3358         * sysdeps/unix/sysv/linux/s390/elision-lock.c
3359         (__lll_lock_elision): Use atomics to load / store adapt_count.
3360         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3361         (__lll_trylock_elision): Likewise.
3363 2016-12-20  Florian Weimer  <fweimer@redhat.com>
3365         Do not require memset elimination in explicit_bzero test.
3366         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
3367         (enum test_expectation): Add NO_EXPECTATIONS.
3368         (subtests): NO_EXPECTATIONS for ordinary clear.
3369         (check_test_buffer): Handle NO_EXPECTATIONS.
3370         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
3372 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3374         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3375         (fmaxmag): New declaration.
3376         (fminmag): Likewise.
3377         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
3378         macro.
3379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
3380         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
3381         (fmaxmagf): Likewise.
3382         (fmaxmagl): Likewise.
3383         (fminmag): Likewise.
3384         (fminmagf): Likewise.
3385         (fminmagl): Likewise.
3386         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
3387         * math/s_fmaxmag_template.c: New file.
3388         * math/s_fminmag_template.c: Likewise.
3389         * math/libm-test.inc (fmaxmag_test_data): New array.
3390         (fmaxmag_test): New function.
3391         (fminmag_test_data): New array.
3392         (fminmag_test): New function.
3393         (main): Call fmaxmag_test and fminmag_test.
3394         * math/test-tgmath.c (NCALLS): Increase to 132.
3395         (F(compile_test)): Call fmaxmag and fminmag.
3396         (F(fminmag)): New function.
3397         (F(fmaxmag)): Likewise.
3398         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
3399         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
3400         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
3401         fminmag.
3402         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
3403         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
3404         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3405         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3406         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
3407         and fminmag.
3408         (CFLAGS-nldbl-fmaxmag.c): New variable.
3409         (CFLAGS-nldbl-fminmag.c): Likewise.
3410         * sysdeps/nacl/libm.abilist: Update.
3411         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3412         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3413         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3414         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3415         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3416         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3417         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3418         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3419         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3420         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3421         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3422         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3424         Likewise.
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3426         Likewise.
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3428         Likewise.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3430         Likewise.
3431         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3432         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3433         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3434         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3435         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3437         Likewise.
3438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3439         Likewise.
3440         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3441         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3442         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3444 2016-12-19  Torvald Riegel  <triegel@redhat.com>
3446         [BZ #20973]
3447         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
3448         wake-up in robust mutexes.
3449         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3451 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3453         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
3454         (CFLAGS-bench-fmaxf.c): New rule.
3455         (CFLAGS-bench-fminf.c): Likewise.
3456         * benchtests/fmaxf-inputs: New file.
3457         * benchtests/fminf-inputs: Likewise.
3459         * benchtests/Makefile (bench-math): Add fmin and fmax.
3460         (CFLAGS-bench-fmax.c): New rule.
3461         (CFLAGS-bench-fmin.c): Likewise.
3462         * benchtests/fmax-inputs: New file.
3463         * benchtests/fmin-inputs: Likewise.
3465         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
3466         parenthesis.
3467         (CMDLINE_PROCESS): Define using function instead of macro.
3468         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
3469         of test-skeleton.
3470         * benchtests/bench-memchr.c: Likewise.
3471         * benchtests/bench-memcmp.c: Likewise.
3472         * benchtests/bench-memcpy-large.c: Likewise.
3473         * benchtests/bench-memcpy.c: Likewise.
3474         * benchtests/bench-memmem.c: Likewise.
3475         * benchtests/bench-memmove-large.c: Likewise.
3476         * benchtests/bench-memmove.c: Likewise.
3477         * benchtests/bench-memset-large.c: Likewise.
3478         * benchtests/bench-memset.c: Likewise.
3479         * benchtests/bench-rawmemchr.c: Likewise.
3480         * benchtests/bench-strcasecmp.c: Likewise.
3481         * benchtests/bench-strcasestr.c: Likewise.
3482         * benchtests/bench-strcat.c: Likewise.
3483         * benchtests/bench-strchr.c: Likewise.
3484         * benchtests/bench-strcmp.c: Likewise.
3485         * benchtests/bench-strcpy.c: Likewise.
3486         * benchtests/bench-strcpy_chk.c: Likewise.
3487         * benchtests/bench-strlen.c: Likewise.
3488         * benchtests/bench-strncasecmp.c: Likewise.
3489         * benchtests/bench-strncmp.c: Likewise.
3490         * benchtests/bench-strncpy.c: Likewise.
3491         * benchtests/bench-strnlen.c: Likewise.
3492         * benchtests/bench-strpbrk.c: Likewise.
3493         * benchtests/bench-strrchr.c: Likewise.
3494         * benchtests/bench-strsep.c: Likewise.
3495         * benchtests/bench-strspn.c: Likewise.
3496         * benchtests/bench-strstr.c: Likewise.
3497         * benchtests/bench-strtok.c: Likewise.
3499 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3501         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
3502         stepping identification.
3503         (init_cpu_features): Add handle of Haswell.
3505 2016-11-25  Jim Meyering  <meyering@fb.com>
3507         [BZ #20386]
3508         Let gcc detect assert(a = 1) errors.
3509         * assert/assert.h (assert): Rewrite, retaining the old definintion
3510         when required, but otherwise putting the expression as-is in an "if"
3511         expression (hence, with no added parentheses) within a statement
3512         expression.
3514 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3516         * benchtests/Makefile (binaries-benchset): Depend on libsupport
3517         DSO.
3519 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
3521         * Rules (python-flags, python-invoke): New.
3522         ($(test-printers-out)): Use $(python-flags).
3524 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3526         * manual/arith.texi (Math Error Reporting): Document that sNaN
3527         arguments are not considered domain errors.
3529 2016-12-16  Zack Weinberg <zackw@panix.com>
3530             Florian Weimer <fweimer@redhat.com>
3531             Nick Mathewson <nickm@torproject.org>
3533         * string/explicit_bzero.c: New routine.
3534         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
3535         * string/Makefile (routines, strop-tests, tests): Add them.
3536         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
3537         * string/string.h [__USE_MISC]: Declare explicit_bzero.
3539         * debug/explicit_bzero_chk.c: New routine.
3540         * debug/Makefile (routines): Add it.
3541         * debug/tst-chk1.c: Test fortification of explicit_bzero.
3542         * string/bits/string3.h: Fortify explicit_bzero.
3544         * manual/string.texi: Document explicit_bzero.
3545         * NEWS: Mention addition of explicit_bzero.
3547         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
3548         data before returning, using explicit_bzero.
3549         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
3550         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3551         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3553         * include/string.h: Redirect internal uses of explicit_bzero
3554         to __explicit_bzero_chk[_internal].
3555         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
3556         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
3557         * sysdeps/arm/nacl/libc.abilist
3558         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3559         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3560         * sysdeps/unix/sysv/linux/arm/libc.abilist
3561         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3562         * sysdeps/unix/sysv/linux/i386/libc.abilist
3563         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3564         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3565         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3566         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3567         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3568         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3569         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3570         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3571         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3576         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3577         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3578         * sysdeps/unix/sysv/linux/sh/libc.abilist
3579         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3580         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3583         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3584         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3585         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3586         Add entries for explicit_bzero and __explicit_bzero_chk.
3588 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3590         * math/fenv.h
3591         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
3592         (FE_SNANS_ALWAYS_SIGNAL): New macro.
3593         * math/test-fe-snans-always-signal.c: New file.
3594         * math/Makefile (tests): Add test-fe-snans-always-signal.
3595         (CFLAGS-test-fe-snans-always-signal.c): New variable.
3596         * manual/arith.texi (Infinity and NaN): Document
3597         FE_SNANS_ALWAYS_SIGNAL.
3599 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3601         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
3602         bracket.
3604 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3606         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
3607         before calling execv.
3609 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3611         [BZ# 20971]
3612         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
3613         overflow in pointer addition.
3614         * string/test-memchr.c (do_test): Add an argument to pass as
3615         the size on memchr.
3616         (test_main): Add check for SIZE_MAX.
3618 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3620         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
3621         (libm-calls): Add w_scalblnF.
3622         * math/w_scalbln.c: Remove.
3623         * math/w_scalblnf.c: Likewise.
3624         * math/w_scalblnl.c: Likewise.
3625         * math/w_scalbln_template.c: New file with type-generic
3626         implementation based on math/w_scalbln.c.
3627         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
3628         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
3630 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3632         [BZ #20947]
3633         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
3634         either is a signaling NaN.
3635         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
3636         follow fmaxl more closely.
3637         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
3638         when either is a signaling NaN.
3639         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
3640         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
3641         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
3642         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
3643         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
3644         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
3645         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
3646         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
3647         (fmin_test_data): Likewise.
3649 2016-12-15  Andreas Schwab  <schwab@suse.de>
3651         * support/support_test_main.c (support_test_main): Don't shadow
3652         file-local variable test_pid.
3654 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3656         [BZ #20947]
3657         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
3658         either is a signaling NaN.
3659         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
3661 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3663         [BZ #20947]
3664         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
3665         when either is a signaling NaN.
3666         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
3668         * bits/long-double.h: New file.
3669         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
3670         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
3671         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
3672         * sysdeps/mips/bits/long-double.h: Likewise.
3673         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
3674         * math/Makefile (headers): Add bits/long-double.h.
3675         * misc/sys/cdefs.h: Include <bits/long-double.h>.
3676         * stdlib/strtold.c: Include <bits/long-double.h> instead of
3677         <bits/wordsize.h>.
3678         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
3679         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
3680         * math/math.h: Do not include <bits/mathdef.h>.
3681         * sysdeps/aarch64/bits/mathdef.h: Remove file.
3682         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
3683         inclusion.
3684         * sysdeps/ia64/bits/mathdef.h: Remove file.
3685         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
3686         * sysdeps/mips/bits/mathdef.h: Likewise.
3687         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3688         * sysdeps/s390/bits/mathdef.h: Likewise.
3689         * sysdeps/sparc/bits/mathdef.h: Likewise.
3690         * sysdeps/x86/bits/mathdef.h: Likewise.
3691         * sysdeps/s390/s390-32/bits/wordsize.h
3692         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
3693         conditional code.
3694         * sysdeps/s390/s390-64/bits/wordsize.h
3695         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
3698         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3699         Likewise.
3700         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
3701         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3702         Likewise.
3703         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3704         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3705         Likewise.
3707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
3708         <linux/falloc.h>.
3709         (FALLOC_FL_KEEP_SIZE): Remove.
3710         (FALLOC_FL_PUNCH_HOLE): Likewise.
3711         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
3712         (FALLOC_FL_ZERO_RANGE): Likewise.
3714 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3716         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
3718 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3720         * sysdeps/unix/sysv/linux/renameat.c: New file.
3721         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
3723         * sysdeps/unix/sysv/linux/rename.c: New file.
3724         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
3726 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
3728         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
3729         * string/strtok.c (strtok): Change to tailcall __strtok_r.
3730         * string/strtok_r.c (__strtok_r): Optimize for performance.
3731         * string/string-inlines.c (__old_strtok_r_1c): New function.
3732         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
3734 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3736         * math/Makefile (gen-libm-calls): Add w_log1pF.
3737         (libm-calls): Remove w_log1pF.
3738         * math/w_log1p.c: Remove.
3739         * math/w_log1pf.c: Likewise.
3740         * math/w_log1pl.c: Likewise.
3741         * math/w_log1p_template.c: New file with type-generic
3742         implementation based on math/w_log1p.c.
3743         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
3744         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
3746 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
3748         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
3750 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3752         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3753         kernel version to 4.9.
3755 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
3757         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
3758         ($(inst_libdir)/libm.a): Fix rule to create the target only.
3760 2016-12-13  Andreas Schwab  <schwab@suse.de>
3762         * sysdeps/powerpc/dl-procinfo.c: Don't define
3763         _dl_powerpc_platforms.
3764         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
3765         constants instead of referencing _dl_powerpc_platforms.
3766         (_dl_platform_string): Remove.
3768 2016-12-13  Florian Weimer  <fweimer@redhat.com>
3770         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
3772 2016-12-13  Florian Weimer  <fweimer@redhat.com>
3774         * Rules (binaries-shared-tests, binaries-pie-tests)
3775         (binaries-static-tests): Link with $(link-extra-libs-tests).
3776         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
3777         Remove $(link-extra-libs-tests).
3779 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3781         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3782         (sysdep_routines): Add strncmp_power9.
3783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3784         (strncmp): Add __strncmp_power9 to list of strncmp functions.
3785         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
3786         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
3787         (strncmp): Add __strncmp_power9 to ifunc list.
3788         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
3790 2016-12-12  Florian Weimer  <fweimer@redhat.com>
3792         [BZ #17252]
3793         Add getentropy, getrandom.
3794         * stdlib/sys/random.h: New file.
3795         (headers): Add it.
3796         * stdlib/Makefile (routines): Add getentropy, getrandom.
3797         (tests): Add tst-getrandom.
3798         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
3799         * stdlib/getentropy.c: New file.
3800         * stdlib/getrandom.c: Likewise.
3801         * stdlib/tst-getrandom.c: Likewise.
3802         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
3803         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
3804         * manual/crypt.texi (Unpredictable Bytes): New section.
3805         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
3806         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
3807         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3808         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3809         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3810         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3811         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3812         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3813         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3814         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3815         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3816         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3817         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3818         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3819         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3820         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3822         Likewise.
3823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3824         Likewise.
3825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3827         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3828         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3829         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3830         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3831         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3838 2016-12-10  Florian Weimer  <fweimer@redhat.com>
3840         [BZ #20956]
3841         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
3842         as additional compiler barriers.
3843         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
3844         (fn2, do_test): Declare with external linkage.
3845         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
3846         (do_test): Declare with external linkage.
3847         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
3848         (do_test): Declare with external linkage.
3849         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
3850         (do_test): Declare with external linkage.
3852 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
3854         * support/support_test_main.c (support_test_main): Use correct
3855         timeout.
3857 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
3858             Florian Weimer  <fweimer@redhat.com>
3860         [BZ #16421]
3861         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
3862         and __u6_addr32 members.
3863         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
3864         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
3865         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
3866         Use __u6_addr32.
3867         * inet/tst-checks.c: Use <support/test-driver.c>
3868         * inet/tst-checks-posix.c: New file.
3869         * inet/Makefile (tests): Add it.
3870         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
3872 2016-12-09  Florian Weimer  <fweimer@redhat.com>
3874         New subdirectory support for build and test infrastructure.
3875         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
3876         setting install-lib.
3877         * Makeconfig (link-extra-libs-tests): Define.
3878         (+link-pie-tests, +link-static-tests, +link-tests): Use
3879         link-extra-libs-tests.
3880         (rpath-dirs, all-subdirs): Add support.
3881         (built-modules): Add libsupport.
3882         (libsupport): Define.
3883         * support: New directory.
3884         * support/Makefile: New file.
3885         * support/check.c: Likewise.
3886         * support/check.h: Likewise.
3887         * support/delayed_exit.c: Likewise.
3888         * support/ignore_stderr.c: Likewise.
3889         * support/oom_error.c: Likewise.
3890         * support/set_fortify_handler.c: Likewise.
3891         * support/support.h: Likewise.
3892         * support/temp_file-internal.h: Likewise.
3893         * support/temp_file.c: Likewise.
3894         * support/test-driver.c: Likewise.
3895         * support/test-driver.h: Likewise.
3896         * support/test_main.c: Likewise.
3897         * support/write_message.c: Likewise.
3898         * support/xasprintf.c: Likewise.
3899         * support/xcalloc.c: Likewise.
3900         * support/xmalloc.c: Likewise.
3901         * support/xpthread_barrier_destroy.c: Likewise.
3902         * support/xpthread_barrier_init.c: Likewise.
3903         * support/xpthread_barrier_wait.c: Likewise.
3904         * support/xpthread_cancel.c: Likewise.
3905         * support/xpthread_check_return.c: Likewise.
3906         * support/xpthread_cond_wait.c: Likewise.
3907         * support/xpthread_create.c: Likewise.
3908         * support/xpthread_detach.c: Likewise.
3909         * support/xpthread_join.c: Likewise.
3910         * support/xpthread_mutex_lock.c: Likewise.
3911         * support/xpthread_mutex_unlock.c: Likewise.
3912         * support/xpthread_sigmask.c: Likewise.
3913         * support/xpthread_spin_lock.c: Likewise.
3914         * support/xpthread_spin_unlock.c: Likewise.
3915         * support/xrealloc.c: Likewise.
3916         * support/xsignal.h: Likewise.
3917         * support/xthread.h: Likewise.
3918         * support_tempfile.h: Likewise.
3919         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
3920         (TEST_DATA_LIMIT): Remove unused macro.
3921         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
3922         <support/check.h>.
3923         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
3924         (ignore_stderr, set_fortify_handler): Remove.  Now in
3925         <support/support.h>.
3926         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
3927         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
3928         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
3929         (xpthread_join): Remove.  Now in <support/xthread.h>.
3930         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
3931         Introduce legacy wrappers.
3932         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
3933         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
3934         (write_message): Remove.
3935         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
3936         test-skeleton.c.
3937         * io/test-open-tmpfile: Likewise.
3938         * io/tst-posix_fallocate-common.c: Likewise.
3939         * libio/tst-fseek.c: Likewise.
3940         * malloc/tst-malloc-backtrace.c: Likewise.
3941         * malloc/tst-malloc-fork-deadlock.c: Likewise.
3942         * malloc/tst-malloc-thread-exit.c: Likewise.
3943         * nptl/tst-cancel7.c: Likewise.
3944         * nptl/tst-cleanup0.c: Likewise.
3945         * posix/tst-posix_fadvise-common.c: Likewise.
3946         * rt/tst-shm.c: Likewise.
3947         * time/bug-getdate1.c: Likewise.
3948         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3949         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
3950         * elf/Makefile (tst-piemod1.so): Link against libsupport.
3952 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
3954         * Rules [$(run-built-tests) != no] (tests-expected): Add
3955         $(tests-printers).
3956         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
3958 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3960         [BZ #20539]
3961         * math/Makefile (install-lib-ldscripts): Add libm.a.
3962         (install_subdir): Remove.
3963         (install-others): Add.
3964         ($(inst_libdir)/libm.a): Add rule for installation as
3965         linker script.
3966         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
3968 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
3970         * INSTALL: Regenerated.
3971         * Makeconfig: Add comments and whitespace to make the control flow
3972         clearer.
3973         (+link-printers-tests, +link-pie-printers-tests,
3974         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
3975         built-rtld-LDFLAGS, link-libc-rpath,
3976         link-libc-tests-after-rpath-link,
3977         link-libc-printers-tests): New.
3978         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
3979         link-libc-tests): Use the new variables as required.
3980         * Makerules ($(py-const)): New rule.
3981         generated: Add $(py-const).
3982         * README.pretty-printers: New file.
3983         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
3984         (others): Depend on $(py-const).
3985         (tests): Depend on $(tests-printers-programs) or
3986         $(tests-printers-out),
3987         as required.  Pass $(tests-printers) to merge-test-results.sh.
3988         * manual/install.texi: Add requirements for testing the pretty
3989         printers.
3990         * nptl/Makefile (gen-py-const-headers, pretty-printers,
3991         tests-printers, CFLAGS-test-mutexattr-printers.c
3992         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
3993         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
3994         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
3995         * nptl/nptl-printers.py: New file.
3996         * nptl/nptl_lock_constants.pysym: Likewise.
3997         * nptl/test-cond-printers.c: Likewise.
3998         * nptl/test-cond-printers.py: Likewise.
3999         * nptl/test-condattr-printers.c: Likewise.
4000         * nptl/test-condattr-printers.py: Likewise.
4001         * nptl/test-mutex-printers.c: Likewise.
4002         * nptl/test-mutex-printers.py: Likewise.
4003         * nptl/test-mutexattr-printers.c: Likewise.
4004         * nptl/test-mutexattr-printers.py: Likewise.
4005         * nptl/test-rwlock-printers.c: Likewise.
4006         * nptl/test-rwlock-printers.py: Likewise.
4007         * nptl/test-rwlockattr-printers.c: Likewise.
4008         * nptl/test-rwlockattr-printers.py: Likewise.
4009         * scripts/gen-py-const.awk: Likewise.
4010         * scripts/test_printers_common.py: Likewise.
4011         * scripts/test_printers_exceptions.py: Likewise.
4013 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4015         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4016         argument.
4017         (Glibc.build_glibc): Strip installed shared libraries if
4018         requested.
4019         (get_parser): Add --strip option.
4020         (main): Update Context call.
4022 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4023             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4025         [BZ #20847]
4026         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4027         array bounds for else branch.
4028         (__execvpe): Style fixes.
4029         * posix/tst-vfork3.c (run_script): New function.
4030         (create_script): Likewise.
4031         (do_test): Use run_script internal function.
4032         (do_prepare): Use create_script internal function.
4034 2016-12-07  Andreas Schwab  <schwab@suse.de>
4036         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4037         (__elision_available): Don't declare.
4038         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4039         (__elision_available): Don't define.
4040         (elision_init): Don't set __elision_available.
4042 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4044         [BZ #20940]
4045         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4046         return Inf for arguments Inf and sNaN.
4047         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4048         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4049         Likewise.
4050         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4051         Likewise.
4052         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4053         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4054         for arguments Inf and sNaN.  When returning a NaN, compute it by
4055         arithmetic on the arguments.
4056         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4057         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4058         arguments.
4060 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4062         [BZ #20916]
4063         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4064         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4065         to compute result.
4066         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4067         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4069 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4071         * include/atomic.h (__atomic_check_size_ls): New.
4072         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4073         atomic_store_release): Use it.
4074         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4075         (elision_adapt, ELIDE_LOCK): Use atomics.
4076         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4077         atomics and improve code comments.
4078         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4079         (__lll_trylock_elision): Likewise.
4081 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4083         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4084         programs.
4086 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4088         [BZ #20916]
4089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4090         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4091         arguments to compute result.
4092         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4093         1 for arguments (sNaN, 0) or (1, sNaN).
4094         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4097         [BZ #20919]
4098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4099         NaN first argument when raised to power 0.
4100         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4101         raising to power zero.
4102         * math/w_powf.c (__powf): Likewise.
4103         * math/w_powl.c (__powl): Likewise.
4104         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4105         pow (0, 0) or pow (NaN, 0).
4107 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4109         [BZ #20918]
4110         * configure.ac: Test for static NSS cryptographic libraries and set
4111         libc_cv_static_nss_crypt.
4112         * configure: Regenerate.
4113         * config.make.in (static-nss-crypt): Define.
4114         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4115         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4116         (CFLAGS-tst-linkall-static.c): Define.
4117         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4118         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4119         ($(objpfx)tst-linkall-static): Define.
4120         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4121         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4123 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4125         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4126         (one-hundred, tst-tls-many-dynamic-modules): Define.
4127         (modules-names): Add $(tst-tls-many-dynamic-modules).
4128         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4129         macros.
4130         (tst-tls-manydynamic): Link against libdl, libpthread.
4131         (tst-tls-manydynamic.out): The test needs the test modules at run
4132         time.
4133         * elf/tst-tls-manydynamic.c: New file.
4134         * elf/tst-tls-manydynamic.h: Likewise.
4135         * elf/tst-tls-manydynamicmod.c: Likewise.
4137 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4139         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4140         (TLS_DTV_UNALLOCATED): Add.
4141         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4142         offsets.
4144 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4146         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4148 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4150         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4151         Add -fno-optimize-sibling-calls.
4153 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4155         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4156         New declaration.
4157         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4158         macro.
4159         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4160         New macro.
4161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4163         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4164         (llogbf): Likewise.
4165         (llogbl): Likewise.
4166         * math/Makefile (gen-libm-calls): Add w_llogbF.
4167         (tests): Add test-fp-llogb-constants.
4168         * math/w_llogb_template.c: New file.  Based on
4169         math/w_ilogb_template.c.
4170         * math/libm-test.inc (llogb_test_data): New array.
4171         (llogb_test): New function.
4172         (main): Call llogb_test.
4173         * math/test-fp-llogb-constants.c: New file.  Based on
4174         math/test-fp-ilogb-constants.c.
4175         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4176         (do_test): Call check_return_llogb.
4177         * math/test-tgmath.c (NCALLS): Increase to 126.
4178         (F(compile_test)): Call llogb.
4179         (F(llogb)): New function.
4180         * manual/math.texi (Exponents and Logarithms): Document llogb,
4181         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4182         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4183         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4184         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4185         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4186         (CFLAGS-nldbl-llogb.c): New variable.
4187         * sysdeps/nacl/libm.abilist: Update.
4188         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4189         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4190         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4191         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4192         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4193         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4194         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4195         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4196         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4197         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4198         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4199         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4201         Likewise.
4202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4203         Likewise.
4204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4205         Likewise.
4206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4207         Likewise.
4208         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4209         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4212         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4214         Likewise.
4215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4216         Likewise.
4217         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4218         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4221 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4223         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4224         _Float128 instead of long double.
4225         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4227         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4228         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4229         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4230         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4231         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4232         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4233         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4234         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4235         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4236         Likewise.
4238 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4240         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4241         Remove redirection to __strrchr_ppc.
4243 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4245         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4246         (sysdep_routines): Add strcmp_power9.
4247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4248         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4249         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4250         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4251         (strcmp): Add __strcmp_power9 to ifunc list.
4252         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4254 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4256         * bits/fp-logb.h: New file.
4257         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4258         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4259         * sysdeps/x86/bits/fp-logb.h: Likewise.
4260         * math/Makefile (headers): Add bits/fp-logb.h.
4261         * math/math.h: Include <bits/fp-logb.h>.
4262         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4263         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4264         * bits/mathdef.h (FP_ILOGB0): Remove.
4265         (FP_ILOGBNAN): Likewise.
4266         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4267         (FP_ILOGBNAN): Likewise.
4268         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4269         (FP_ILOGBNAN): Likewise.
4270         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4271         (FP_ILOGBNAN): Likewise.
4272         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4273         (FP_ILOGBNAN): Likewise.
4274         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4275         (FP_ILOGBNAN): Likewise.
4276         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4277         (FP_ILOGBNAN): Likewise.
4278         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4279         (FP_ILOGBNAN): Likewise.
4280         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4281         (FP_ILOGBNAN): Likewise.
4282         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4283         (FP_ILOGBNAN): Likewise.
4285         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4286         time module.
4287         (Context.__init__): Initialize self.logsdir_old.
4288         (Context.run_builds): Handle bot action.
4289         (Context.bot_cycle): Copy logs directory before running builds.
4290         (Context.bot_run_self): Take argument for whether to check
4291         subprocess result.  Flush stdout before running subprocess.
4292         (Context.bot): New function.
4293         (get_parser): Allow bot action.
4295 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4297         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4298         Import email.mime.text, email.utils and smtplib modules.
4299         (Context.__init__): Initialize self.bot_config_json.
4300         (Context.run_builds): Handle bot-cycle action.
4301         (Context.load_bot_config_json): New function.
4302         (Context.part_build_old): Likewise.
4303         (Context.bot_cycle): Likewise.
4304         (Context.bot_build_mail): Likewise.
4305         (Context.bot_run_self): Likewise.
4306         (get_parser): Allow bot-cycle action.
4308 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4311         Remove redirection to __stpcpy_ppc.
4313 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4315         Remove __libc_memalign from ld.so because it is unused.
4316         * elf/dl-minimal.c: Update comment on the malloc implementation.
4317         (malloc): Renamed from __libc_memalign, replacing the original
4318         malloc implementation.  Replace the align parameter with
4319         MALLOC_ALIGNMENT.
4320         * elf/Versions (ld): Update comment and remove __libc_memalign.
4321         * sysdeps/nacl/ld.abilist: Likewise.
4322         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4323         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4324         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4325         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4326         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4327         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4328         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4329         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4330         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4331         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4332         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4333         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4334         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4348         * sysdeps/generic/localplt.data (ld.so): Likewise.
4349         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4350         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4351         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4352         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4353         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4354         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4355         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4356         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4357         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4359         (ld.so): Likewise.
4360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4361         (ld.so): Likewise.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4365         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
4367         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
4368         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4370 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4372         [BZ #16628]
4373         Implement _dl_catch_error, _dl_signal_error in libc.so.
4374         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
4375         (catch_hook): Define as thread-local or regular variable,
4376         depending on DL_ERROR_BOOTSTRAP.
4377         (CATCH_HOOK): Remove.
4378         (dl_signal_error, _dl_catch_error): Use
4379         catch_hook.  Add hidden definition for libc.
4380         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
4381         for DL_ERROR_BOOTSTRAP only.
4382         * elf/dl-error.c: New file.
4383         * elf/dl-error-minimal.c: Likewise.
4384         * elf/tst-latepthread.c: Likewise.
4385         * elf/tst-latepthreadmod.c: Likewise.
4386         * elf/Makefile (routines): Add dl-error.
4387         (dl-routines): Remove dl-error.
4388         (rtld-routines): Add dl-error-minimal.
4389         [build-shared] (tests): Add tst-latepthread.
4390         (module-names): Add tst-latepthreadmod.
4391         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
4392         symbol.
4393         (tst-latepthreadmod.so): Link against libpthread.
4394         (tst-latepthread): Link against libdbl.
4395         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
4396         _dl_catch_error.
4397         [ld] (GLIBC_PRIVATE): Likewise.
4398         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
4399         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
4400         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
4401         directly.
4402         * elf/dl-tsd.c: Remove file.
4403         * elf/rtld.c (_rtld_global_ro): Remove initializers for
4404         _dl_catch_error, _dl_signal_error.
4405         (_dl_initial_error_catch_tsd): Remove definition.
4406         (do_preload): Remove initialization of dl_error_catch_tsd.
4407         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
4408         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
4409         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4410         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4411         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
4412         set dl_error_catch_tsd.
4413         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
4414         _dl_error_catch_tsd member.
4415         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
4416         members.
4417         (_dl_initial_error_catch_tsd): Remove declaration.
4418         (_dl_dprintf): Provide definition for use outside of ld.so.
4419         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
4420         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
4421         prototype for libc.
4422         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
4423         _dl_catch_error.
4424         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4425         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4426         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4427         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4428         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4429         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4430         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4431         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4432         Likewise.
4433         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4435         (ld.so): Likewise.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4437         (ld.so): Likewise.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4439         Likewise.
4440         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4441         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4442         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4443         Likewise.
4444         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4445         Likewise.
4446         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4448 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4450         [BZ #4099]
4451         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
4452         _IO_BUFSIZ (8192).
4454 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
4456         * PROJECTS: Remove file.
4458 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4460         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
4462 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
4463             Steve Ellcey  <sellcey@caviumnetworks.com>
4465         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
4466         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
4467         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
4468         fxstatat.
4469         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
4470         lxstat.
4471         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
4472         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
4473         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
4474         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
4475         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
4476         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
4477         __xstat.
4479 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4481         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
4482         Define.
4483         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
4484         definition.
4486 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4488         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
4489         version and turn into strong alias.  Remove compat symbol.
4491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4492         (__longjmp): Remove.
4494 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
4496         * bits/fp-fast.h: New file.
4497         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
4498         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
4499         * math/Makefile (headers): Add bits/fp-fast.h.
4500         * math/math.h: Include <bits/fp-fast.h>.
4501         * bits/mathdef.h (FP_FAST_FMA): Remove.
4502         (FP_FAST_FMAF): Likewise.
4503         (FP_FAST_FMAL): Likewise.
4504         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
4505         (FP_FAST_FMAF): Likewise.
4506         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
4507         (FP_FAST_FMAF): Likewise.
4508         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
4509         (FP_FAST_FMAF): Likewise.
4510         (FP_FAST_FMAL): Likewise.
4511         * sysdeps/arm/bits/mathdef.h: Remove file.
4512         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
4513         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4514         * sysdeps/tile/bits/mathdef.h: Likewise.
4516 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4518         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
4519         * math/w_ilogb.c: Remove.
4520         * math/w_ilogbf.c: Likewise.
4521         * math/w_ilogbl.c: Likewise.
4522         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
4523         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
4524         * math/Makefile (gen-libm-calls): Add w_ilogbF.
4525         (libm-calls): Remove w_ilogbF.
4526         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
4527         (LDOUBLE_ilogbl_libm_version): New macro.
4529         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
4531         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
4532         [!__STRICT_ANSI__ && !__cplusplus].
4534 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4536         [BZ #20750]
4537         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
4538         of PIC.
4540 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4541             Yury Norov  <ynorov@caviumnetworks.com>
4542             Steve Ellcey  <sellcey@caviumnetworks.com>
4544         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
4545         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
4546         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
4547         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
4548         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
4549         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
4550         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
4551         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
4552         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
4553         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
4554         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
4555         to get correct reg name for ILP32.
4556         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
4557         (RELA_SIZE): New Macro.
4558         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
4559         to support ILP32.
4560         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
4561         cast for ILP32 mode.
4562         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
4563         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
4564         * sysdeps/aarch64/memset.S (__memset): Ditto.
4565         * sysdeps/aarch64/strchr.S (strchr): Ditto.
4566         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
4567         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
4568         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
4569         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
4570         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
4571         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
4572         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
4573         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
4574         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
4575         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
4576         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
4577         change PTR_MANGLE call to use register numbers instead of names.
4578         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
4579         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
4580         ILP32 mode, change PTR_MANGLE calls to use register numbers.
4581         * sysdeps/aarch64/start.S (_start): Ditto.
4582         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
4583         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
4584         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
4585         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
4586         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
4587         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
4588         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
4589         Make defined values dependent on __ILP32__.
4590         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
4591         (sem_t): Change __align type.
4592         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
4593         PTR_SIZE): New Macros.
4594         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
4595         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
4596         Set when in ILP32 mode.
4597         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
4598         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
4599         Set elf flags for ILP32.
4600         (add_system_dir): Set ILP32 library directories.
4601         * sysdeps/unix/sysv/linux/aarch64/init-first.c
4602         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
4603         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
4604         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
4605         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
4606         New Macros.
4607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
4609 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4611         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
4612         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
4613         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
4615 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4617         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
4618         <asm/cachectl.h>.
4620 2016-11-27  Zack Weinberg  <zackw@panix.com>
4622         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
4623         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
4625 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4627         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
4628         error_t to fix usage in C++ programs.
4630 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
4632         * scripts/build-many-glibcs.py: Import datetime module.
4633         (Context.__init__): Load JSON build state.  Initialize list of
4634         status logs.
4635         (Context.run_builds): Update saved build state.
4636         (Context.add_makefile_cmdlist): Update list of status logs.
4637         (Context.load_build_state_json): New function.
4638         (Context.store_build_state_json): Likewise.
4639         (Context.clear_last_build_state): Likewise.
4640         (Context.update_build_state): Likewise.
4641         (CommandList.status_logs): Likewise.
4643 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
4645         * scripts/build-many-glibcs.py (Context.__init__): Save text of
4646         script being executed.
4647         (Context.get_script_text): New function.
4648         (Context.exec_self): Likewise.
4649         (Context.checkout): Re-exec script if changed by checkout process.
4651 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
4653         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4654         (setpayloadsig): New declaration.
4655         * math/Versions (setpayloadsig): New libm symbol at version
4656         GLIBC_2.25.
4657         (setpayloadsigf): Likewise.
4658         (setpayloadsigl): Likewise.
4659         * math/Makefile (libm-calls): Add s_setpayloadsigF.
4660         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
4661         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
4662         (setpayloadsig_test_data): New array.
4663         (setpayloadsig_test): New function.
4664         (main): Call setpayloadsig_test.
4665         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
4666         setpayloadsigf and setpayloadsigl.
4667         * manual/libm-err-tab.pl: Update comment on interfaces without
4668         ulps tabulated.
4669         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
4670         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
4674         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
4675         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4676         setpayloadsig.
4677         (CFLAGS-nldbl-setpayloadsig.c): New variable.
4678         * sysdeps/nacl/libm.abilist: Update.
4679         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4680         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4681         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4682         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4683         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4684         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4685         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4686         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4689         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4690         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4692         Likewise.
4693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4694         Likewise.
4695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4696         Likewise.
4697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4698         Likewise.
4699         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4701         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4702         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4703         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4705         Likewise.
4706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4707         Likewise.
4708         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4709         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4712         * scripts/build-many-glibcs.py: Import json module.
4713         (Context.__init__): Take replace_sources argument.  Load
4714         versions.json.
4715         (Context.load_versions_json): New function.
4716         (Context.store_json): Likewise.
4717         (Context.store_versions_json): Likewise.
4718         (Context.set_component_version): Likewise.
4719         (Context.checkout): Update versions.json.  Check for and handle
4720         changes of version.  Prefer previously explicitly specified
4721         version to default version.
4722         (Context.checkout_vcs): Return a revision identifier.
4723         (Context.git_checkout): Likewise.
4724         (Context.gcc_checkout): Likewise.
4725         (get_parser): Add --replace-sources option.
4726         (main): Pass replace_sources argument to Context call.
4728 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4730         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
4731         * nptl/allocatestack.c (allocate_stack): Likewise.
4732         (__reclaim_stacks): Likewise.
4733         (setxid_signal_thread): Obtain pid through syscall.
4734         * nptl/nptl-init.c (sigcancel_handler): Likewise.
4735         (sighandle_setxid): Likewise.
4736         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
4737         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4738         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4739         Likewise.
4740         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4741         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
4742         comment.
4743         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
4744         * nptl/descr.h (struct pthread): Change comment about pid value.
4745         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
4746         pid assert.
4747         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
4748         Do not set pid value.
4749         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
4750         pid cache check.
4751         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
4752         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
4753         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
4754         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
4755         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
4756         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4757         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
4758         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
4759         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
4760         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
4761         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
4762         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4763         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
4764         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4765         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
4766         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
4767         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4768         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
4769         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
4770         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
4771         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
4772         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4773         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
4774         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4775         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
4776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4778         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4779         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4780         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4781         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
4782         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4783         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
4784         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4785         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
4786         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4787         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
4788         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4789         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
4790         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4791         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4792         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
4793         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
4794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4796         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4797         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4798         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4799         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4800         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4801         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
4802         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4803         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
4804         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
4805         struct access.
4806         (clone_test): Remove function.
4807         (do_test): Rewrite to take in consideration pid is not cached anymore.
4809 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
4811         * bits/flt-eval-method.h: New file.
4812         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
4813         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
4814         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
4815         * math/Makefile (headers): Add bits/flt-eval-method.h.
4816         * math/math.h: Include <bits/flt-eval-method.h>.
4817         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
4818         [__USE_ISOC99] (double_t): Likewise.
4819         * bits/mathdef.h (float_t): Remove.
4820         (double_t): Likewise.
4821         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
4822         (double_t): Likewise.
4823         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
4824         (double_t): Likewise.
4825         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
4826         (double_t): Likewise.
4827         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
4828         (double_t): Likewise.
4829         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
4830         (double_t): Likewise.
4831         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
4832         (double_t): Likewise.
4833         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
4834         (double_t): Likewise.
4835         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
4836         (double_t): Likewise.
4837         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
4838         (double_t): Likewise.
4839         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
4840         (double_t): Likewise.
4841         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
4842         (double_t): Likewise.
4843         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
4844         (double_t): Likewise.
4845         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
4846         (double_t): Likewise.
4848 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
4850         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
4851         instead of PIC.
4853 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4855         [BZ #20859]
4856         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
4857         (-0x7fffffff) instead of 0x80000001.
4858         * math/test-fp-ilogb-constants.c: New file.
4859         * math/Makefile (tests): Add test-fp-ilogb-constants.
4861 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
4863         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
4864         (_init): Use it in place of hardcoded R_MIPS_JALR.
4865         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
4866         (_init): Use it in place of hardcoded R_MIPS_JALR.
4867         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
4868         (_init): Use it in place of hardcoded R_MIPS_JALR.
4870 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4872         [BZ #20787]
4873         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
4874         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
4875         (double_t): Do not define to double if [__x86_64__] when
4876         __FLT_EVAL_METHOD__ is nonzero.
4877         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
4878         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
4879         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4880         test-flt-eval-method-387 and test-flt-eval-method-sse.
4881         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
4882         variable.
4883         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
4885 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
4887         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
4888         use of -fno-isolate-erroneous-paths options for tilepro.
4890 2016-11-23  Florian Weimer  <fweimer@redhat.com>
4892         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
4893         structure initialization is no longer needed.
4895 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4897         [BZ #20855]
4898         * bits/mathdef.h (float_t): Define to float.
4899         * math/test-flt-eval-method.c: New file.
4900         * math/Makefile (tests): Add test-flt-eval-method.
4901         (CFLAGS-test-flt-eval-method.c): New variable.
4903 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
4905         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
4906         and __fstatfs.  Make them aliases of __fstatfs64 if
4907         STATFS_IS_STATFS64 is set to non-zero.
4908         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
4909         and __statfs64.
4910         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
4911         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
4912         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
4913         for __statfs and statfs.
4914         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
4915         to 0.
4916         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
4917         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
4918         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
4919         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4920         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4921         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
4924         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
4925         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4926         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
4927         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
4929 2016-11-22  Andreas Schwab  <schwab@suse.de>
4931         * misc/mkstemp.c: Include <fcntl.h>.
4932         * misc/mkstemps.c: Likewise.
4933         * misc/mkostemp.c: Likewise.
4934         * misc/mkostemps.c: Likewise.
4936 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
4938         [BZ #20847]
4939         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4940         array bounds.
4941         (__execvpe): Likewise.
4943 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
4945         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
4946         -fno-isolate-erroneous-paths options for tilepro.
4948 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
4950         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
4951         to 0 when in 32 bit mode.
4952         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
4953         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4954         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4955         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4957         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4958         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
4959         XSTAT_IS_XSTAT64 test.
4960         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
4961         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
4962         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
4963         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
4964         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
4965         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
4966         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
4967         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
4968         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
4969         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
4970         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
4972 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
4974         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4975         (setpayload): New declaration.
4976         * math/Versions (setpayload): New libm symbol at version
4977         GLIBC_2.25.
4978         (setpayloadf): Likewise.
4979         (setpayloadl): Likewise.
4980         * math/Makefile (libm-calls): Add s_setpayloadF.
4981         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
4982         test_Ff_b1_data.
4983         (RUN_TEST_Ff_b1): New macro.
4984         (RUN_TEST_LOOP_Ff_b1): Likewise.
4985         (canonicalize_test_data): Update type.
4986         (setpayload_test_data): New array.
4987         (setpayload_test): New function.
4988         (main): Call setpayload_test.
4989         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
4990         setpayloadf and setpayloadl.
4991         * manual/libm-err-tab.pl: Update comment on interfaces without
4992         ulps tabulated.
4993         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
4994         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
4995         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
4996         Likewise.
4997         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
4998         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
4999         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5000         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5001         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5002         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5003         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5004         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5005         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5006         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5007         setpayload.
5008         (CFLAGS-nldbl-setpayload.c): New variable.
5009         * sysdeps/nacl/libm.abilist: Update.
5010         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5015         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5021         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5023         Likewise.
5024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5025         Likewise.
5026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5027         Likewise.
5028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5029         Likewise.
5030         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5031         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5032         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5033         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5036         Likewise.
5037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5038         Likewise.
5039         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5040         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5041         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5043 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5045         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5046         * include/unistd.h: Extend comment about __access_noerrno return
5047         semantics.
5048         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5049         (access_common): Correct typo for EACCES.
5051 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5053         * sysdeps/tile/math-tests.h: New file.
5055         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5056         (__old_set_dataplane): Rename from set_dataplane and make a
5057         compatibility symbol.
5058         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5059         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5060         sys/dataplane.h.
5062 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5064         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5065         script quote words in command output to log suitably for input to
5066         the shell.
5068 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5069             Maciej W. Rozycki  <macro@imgtec.com>
5071         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5072         `.Lno_weak_fn' label.
5073         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5074         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5076 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5077             Yury Norov  <ynorov@caviumnetworks.com>
5079         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5080         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5081         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5082         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5083         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5084         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5085         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5086         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5087         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5088         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5089         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5090         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5091         (sysdep_routines): Remove oldgetrlimit64.
5092         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5093         (sysdep_routines): Likewise.
5094         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5095         (sysdep_routines): Likewise.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5097         [$(subdir) = resource] (sysdep_routines): Likewise.
5098         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5099         [$(subdir) = resource] (sysdep_routines): Likewise.
5100         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5101         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5102         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5103         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5104         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5105         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5106         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5107         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5108         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5109         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5110         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5111         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5112         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5113         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5114         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5115         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5116         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5117         setrlimit and getrlimit.
5118         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5119         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5120         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5124         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5125         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5127         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5128         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5129         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5130         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5131         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5132         (__old_getrlimit64): Add compatibility symbol.
5133         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5135 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5137         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5138         newly built gmp, mpfr and mpc.
5140         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5142 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5144         * conform/Makefile (linknamespace-libs): Rename to
5145         linknamespace-libs-thr.
5146         (linknamespace-libs-posix): New variable.
5147         (linknamespace-libs-xsi): Likewise.
5148         (linknamespace-libs-XPG3): Include libcrypt.a.
5149         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5150         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5151         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5152         (linknamespace-libs-XOPEN2K): Likewise.
5153         (linknamespace-libs-XOPEN2K8): Likewise.
5154         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5156         [BZ #20829]
5157         * stdio-common/Versions (__snprintf): Add to version
5158         GLIBC_PRIVATE.
5159         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5160         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5161         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5162         of snprintf.
5163         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5165 2016-11-16  Zack Weinberg  <zackw@panix.com>
5167         * string/string.h: Remove obsolete comment stating that
5168         strcoll_l and strxfrm_l have not yet been standardized.
5170 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5172         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5173         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5174         __access_noerrno.
5175         * io/access.c (__access_noerrno): New function.
5176         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5177         (hurd_fail_seterrno): Likewise.
5178         (access_common): Likewise.
5179         (__access_noerrno): Likewise.
5180         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5181         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5182         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5183         macro.
5185 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5187         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5188         Only declare fpregs if [__SH_FPU_ANY__].
5190 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5192         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5193         Make code unconditional.
5194         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5196 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5198         * manual/sysinfo.texi (S_APPEND): Delete.
5199         (S_IMMUTABLE): Likewise.
5201 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5202             Magnus Granberg  <zorry@gentoo.org>
5203             Mike Frysinger  <vapier@gentoo.org>
5205         [BZ #20662]
5206         * configure.ac (libc_cv_predef_stack_protector): Also check for
5207         __stack_chk_fail_local symbols.
5208         * configure: Regenerated.
5210 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5212         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5213         (libc_hidden_def): Remove redefinition.
5214         (__sigsetjmp): Add hidden definition.
5215         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5216         (libc_hidden_def): Remove redefinition.
5217         (__sigsetjmp): Add hidden definition.
5219 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5221         * scripts/build-many-glibcs.py (os.path): Do not import.
5222         (Context): Inherit explicitly from object.  Remove blank line
5223         between class and docstring.
5224         (Config): Likewise.
5225         (Glibc): Likewise.
5226         (Command): Likewise.
5227         (CommandList): Likewise.
5228         (Context.write_files): Store chmod mode in a variable.
5230         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5231         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5232         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5234 2016-11-14  Zack Weinberg  <zackw@panix.com>
5236         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5237         creating or re-creating it.
5239         * string/bits/string2.h: Fix typo in comment.
5241 2016-11-14  Zack Weinberg  <zackw@panix.com>
5243         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5244         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5245         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5246         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5247         of redirected function names.
5249         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5250         as well.  Document that MESSAGE must be a single string literal.
5252 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5254         * scripts/build-many-glibcs.py: New file.
5256         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5257         (do_test): Disable -Wmaybe-uninitialized around uses of
5258         except_mask.
5260         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5262 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5264         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5265         (atomic_store_release): Provide tilepro-specific implementations.
5267 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5269         * math/math.h (__MATH_TG): New macro.
5270         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5271         [__USE_ISOC99] (signbit): Likewise.
5272         [__USE_ISOC99] (isfinite): Likewise.
5273         [__USE_ISOC99] (isnan): Likewise.
5274         [__USE_ISOC99] (isinf): Likewise.
5275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5278         __MATH_TG and __MATH_EVAL_FMT2.
5279         * sysdeps/generic/math_private.h (fabs_tg): Define using
5280         __MATH_TG.
5281         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5282         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5283         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5284         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5285         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5286         macro.
5287         (__iscanonical): Likewise.
5288         (iscanonical): Define using __MATH_TG.
5290 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5292         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5293         guards.
5295         * sysdeps/unix/sysv/linux/access.c: New file.
5296         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5298 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5300         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5301         and __WORDSIZE32_PTRDIFF_LONG.
5303 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5305         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5307 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5309         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5310         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5311         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5312         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5313         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5315         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5316         * sysdeps/unix/sysv/linux/truncate.c: New file.
5317         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5318         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5319         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5320         Remove.
5321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5322         Likewise.
5324         * posix/tst-truncate-common.c: New file.
5325         * posix/tst-truncate.c: Use tst-truncate-common.c.
5326         * posix/tst-truncate64.c: Likewise and add LFS tests.
5327         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5328         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5329         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5330         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5331         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5333         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5334         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5335         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5336         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5337         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5338         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5339         Remove.
5340         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5341         Likewise.
5343 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
5345         [BZ #20790]
5346         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5347         to MAXLINESIZE.
5348         * sunrpc/bug20790.x: New file.
5349         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5350         variable.
5351         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5352         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5354         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5356         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
5358         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
5359         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
5360         calloc, realloc, free, memalign and __libc_memalign rather than
5361         making them optional.
5363         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
5364         for libc.so.
5366 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5368         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
5369         ptw-lseek64.
5370         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
5371         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
5372         Likewise.
5373         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
5374         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
5375         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
5376         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
5377         * sysdeps/unix/sysv/linux/lseek.c: New file.
5378         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
5379         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
5380         __libc_lseek64 from auto-generation.
5381         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5382         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
5384 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5386         * nptl/tst-basic1.c (tf, do_test): Use write_message.
5387         * nptl/tst-cleanup1.c (do_test): Likewise.
5388         * nptl/tst-cleanup3.c (do_test): Likewise.
5389         * nptl/tst-key1.c (do_test): Likewise.
5390         * nptl/tst-key2.c (tf, do_test): Likewise.
5391         * nptl/tst-key3.c (tf, do_test): Likewise.
5392         * nptl/tst-stdio1.c (do_test): Likewise.
5393         * nptl/tst-stdio2.c (do_test): Likewise.
5395         * nptl/tst-kill3.c (handler): Use write_message in place of write.
5396         * nptl/tst-kill6.c (handler): Likewise.
5397         * nptl/tst-tls2.c (CB): Likewise.
5398         * nptl/tst-tls3.c (CB): Likewise.
5400 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
5402         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5404 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
5405             Steve Ellcey  <sellcey@caviumnetworks.com>
5407         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5408           __ASSUME_ST_INO_64_BIT as 0
5409         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
5410         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
5411           over the code where __ASSUME_ST_INO_64_BIT is used.
5412         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5413         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5414         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5416 2016-11-07  Florian Weimer  <fweimer@redhat.com>
5418         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5419         Document ABI exposure of the __kind offset.
5420         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5421         Mention reason for the __kind offset exposure in the ABI.
5422         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5423         Likewise.
5424         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5425         Likewise.
5426         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5427         Likewise.
5428         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
5429         (struct __pthread_mutex_s): Likewise.
5430         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5431         Likewise.
5432         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5433         Likewise.
5434         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5435         Likewise.
5436         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5437         Likewise.
5438         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5439         Likewise.
5440         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5443         (struct __pthread_mutex_s): Likewise.
5444         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5445         (struct __pthread_mutex_s): Likewise.
5446         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
5447         Likewise.
5449 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
5451         * test-skeleton.c: Document do_test usage.
5453 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
5455         * iconv/gconv.h (__gconv_info): Define __data element using a
5456         zero-length array.
5458 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
5460         * math/test-tgmath2.c: Split up test function.
5462 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5464         * Rules (tests-expected): New variable, depending on
5465         $(run-built-tests).
5466         (tests): Pass $(tests-expected) to merge-test-results.sh, not
5467         $(tests).
5469         * Rules [$(run-built-tests) = no] (tests): Do not depend on
5470         $(tests-unsupported).
5472 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5474         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5475         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
5477 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5479         [BZ #20768]
5480         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
5481         __fegetenv instead of fegetenv.
5483         [BZ #14139]
5484         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
5485         (find_files): Obtain platform name from libm-test-ulps-name and
5486         store in %pplatforms.
5487         (canonicalize_platform): Remove.
5488         (print_platforms): Use $pplatforms directly.
5489         (by_platforms): Do not allow for platforms missing from
5490         %pplatforms.
5491         * sysdeps/aarch64/libm-test-ulps-name: New file.
5492         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
5493         * sysdeps/arm/libm-test-ulps-name: Likewise.
5494         * sysdeps/generic/libm-test-ulps-name: Likewise.
5495         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
5496         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
5497         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
5498         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
5499         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
5500         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
5501         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
5502         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
5503         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
5504         * sysdeps/nios2/libm-test-ulps-name: Likewise.
5505         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
5506         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
5507         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
5508         * sysdeps/sh/libm-test-ulps-name: Likewise.
5509         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
5510         * sysdeps/tile/libm-test-ulps-name: Likewise.
5511         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
5513         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
5515         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
5516         (test-xfail-check-execstack): New variable.
5518         * sysdeps/mips/localplt.data: New file.
5520 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
5521             Steve Ellcey  <sellcey@caviumnetworks.com>
5523         * bits/wordsize.h: Add documentation.
5524         * sysdeps/aarch64/bits/wordsize.h : New file
5525         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
5526         definitions.
5527         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
5528         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
5529         with #if instead of #ifdef.
5530         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
5531         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
5532         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
5533         Add or change defines.
5534         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
5535         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5536         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
5537         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
5538         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5539         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5540         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
5541         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5542         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
5543         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5544         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
5545         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
5546         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
5547         * sysdeps/x86/bits/wordsize.h: Likewise.
5549 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
5550             Kevin Petit  <kevin.petit@arm.com>
5552         * sysdeps/aarch64/memchr.S (__memchr): New file.
5554 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5556         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
5558 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
5560         [BZ #19398]
5561         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
5562         $(linknamespace-symlists-tests).
5564 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
5566         * time/tst-strptime2.c: Ignore -Wformat-length warning.
5568 2016-11-02  Florian Weimer  <fweimer@redhat.com>
5569             Carlos O'Donell  <carlos@redhat.com>
5571         [Bug #20729]
5572         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
5573         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
5574         for -Os related change.
5576 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
5578         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
5580 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
5582         [BZ #19673]
5583         * manual/math.texi (Exponents and Logarithms): Correct description
5584         of clog10.
5586 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
5588         [Bz #20729]
5589         * locale/weight.h: Include libc-internal.h.
5590         * locale/weightwc.h: Likewise.
5591         * nptl/nptl_dbP.h: Likewise.
5593 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
5595         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
5596         when it is MACH_PORT_NULL.
5598 2016-10-31  Andreas Schwab  <schwab@suse.de>
5600         [BZ #20707]
5601         * posix/glob.c (glob): Initialize pglob before checking for
5602         GLOB_BRACE.  Don't call glob recursively if pattern contains no
5603         valid brace expression despite GLOB_BRACE.
5604         * posix/globtest.sh: Test it.
5606 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
5608         [BZ #20729]
5609         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
5610         Define.
5611         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
5612         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
5613         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
5614         for seq2.back_us and seq1.back_us only for -Os compiles.
5615         * locale/weightwc.h (findix): Likewise.
5616         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
5617         DB_GET_FIELD_ADDRESS only for -Os compiles.
5618         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
5619         for slen only for -Os compiles.
5620         * string/strcoll_l.c (get_next_seq): Ignore
5621         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
5622         for -Os compiles.
5624         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
5625         * include/crypt.h: New file.
5627 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5629         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
5630         from test-skeleton.c.
5631         (statclass): Replace calls to write with calls to write_message.
5633 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
5635         * math/math.h
5636         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
5637         New macro.
5638         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
5639         Likewise.
5640         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
5641         Likewise.
5642         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
5643         SNANL.
5644         * math/test-double.h (snan_value_MACRO): New macro.
5645         * math/test-float.h (snan_value_MACRO): Likewise.
5646         * math/test-ldouble.h (snan_value_MACRO): Likewise.
5647         * math/libm-test.inc (issignaling_test_data): Add tests of
5648         snan_value_MACRO.
5650 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5652         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
5653         behavior when eliding a lock not held by the current thread.
5654         * sysdeps/powerpc/nptl/elide.h: Likewise.
5656 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5658         [BZ #20728]
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
5660         branch to _exit() by a function call.
5662 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5664         * malloc/malloc.c: Update chunk layout comments.
5665         (chunk_main_arena): Update comment.
5667 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5669         * crypt/sha256.c, crypt/sha256-block.c,
5670         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
5671         sha256_process_block to __sha256_process_block.
5672         * crypt/sha512.c, crypt/sha512-block.c,
5673         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
5674         sha512_process_block to __sha512_process_block.
5676 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
5678         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
5680         * math/test-nan-overflow.c: Include stdlib.h for malloc.
5682 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
5684         [BZ #20019]
5685         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
5686         definition in unrelocated shared library.
5687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5689 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5691         [BZ #20729]
5692         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
5693         * sysdeps/unix/sysv/linux/i386/Makefile
5694         (uses-6-syscall-arguments): Define.
5695         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
5696         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
5697         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
5698         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
5699         Likewise.
5700         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
5701         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
5702         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
5703         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
5704         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
5705         (CFLAGS-fallocate64.os): Likewise.
5706         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
5707         (CFLAGS-pthread_rwlock_timedrdlock.os)
5708         (CFLAGS-pthread_rwlock_timedwrlock.o)
5709         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
5710         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
5711         (CFLAGS-sem_timedwait.os): Likewise.
5713 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5715         * elf/tst-linkall-static.c: New file.
5716         * elf/Makefile (tests-static): Add tst-linkall-static.
5717         (tst-linkall-static): Link against static libraries.
5719 2016-10-27  Florian Weimer  <fweimer@redhat.com>
5721         * malloc/malloc.c (sysmalloc): Initialize previous size field of
5722         mmaped chunks.
5724 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5726         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
5727         members to mchunk_prev_size, mchunk_size.
5728         (chunk_main_arena): Reverse sense and rename from
5729         chunk_non_main_arena.
5730         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
5731         mchunk_size instead of size.
5732         (set_non_main_arena): Define.
5733         (chunksize): Use chunksize_nomask instead of direct member access.
5734         (chunksize_nomask): Define.
5735         (next_chunk): Use chunksize instead of direct member access.
5736         (prev_size, set_prev_size): Define.
5737         (prev_chunk): Use prev_size instead of direct member access.
5738         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
5739         (inuse_bit_at_offset, set_inuse_bit_at_offset)
5740         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
5741         (mchunk_prev_size, mchunk_size): Poison tokens.
5742         (unlink): Use chunksize_nomask, prev_size accessors.
5743         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
5744         (do_check_free_chunk): Use prev_size accessor.
5745         (sysmalloc): Use set_prev_size, set_head accessors.
5746         (munmap_chunk, mremap_chunk): Use prev_size accessor.
5747         (__libc_free): Use chunksize_nomask accessor.
5748         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
5749         chunk_main_arena accessors.
5750         (_int_free): Use chunksize_nomask, prev_size accessors.
5751         (malloc_consolidate): Use chunksize, prev_size accessors.
5752         (_int_realloc): Use chunksize_nomask accessor.
5753         (_int_memalign): Use set_prev_size accessor.
5754         (__malloc_info): Use chunksize_nomask accessor.
5755         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
5756         accessors.
5757         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
5758         (heap_trim): Use chunksize_nomask, prev_size accessors.
5760 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
5762         [BZ #19380]
5763         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
5764         for inexact results.
5765         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
5766         of inexact result where mpfr_subnormalize is the only inexact
5767         step.
5768         * stdlib/tst-strtod-round-data.h: Regenerated.
5769         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
5770         Define to 0.
5771         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
5773 2016-10-27  David S. Miller  <davem@davemloft.net>
5775         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
5777 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5779         * malloc/malloc.c (do_set_mallopt_check): New function.
5780         (do_set_mmap_threshold): Likewise.
5781         (do_set_mmaps_max): Likewise.
5782         (do_set_top_pad): Likewise.
5783         (do_set_perturb_byte): Likewise.
5784         (do_set_trim_threshold): Likewise.
5785         (do_set_arena_max): Likewise.
5786         (do_set_arena_test): Likewise.
5787         (__libc_mallopt): Use them.
5789 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
5791         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5792         (canonicalize): New declaration.
5793         * math/Versions (canonicalize): New libm symbol at version
5794         GLIBC_2.25.
5795         (canonicalizef): Likewise.
5796         (canonicalizel): Likewise.
5797         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
5798         * math/s_canonicalize_template.c: New file.
5799         * math/libm-test.inc: Update comment on functions tested and
5800         testing of NaN payloads.
5801         (TEST_NAN_PAYLOAD): New macro.
5802         (NO_TEST_INLINE): Update value.
5803         (XFAIL_TEST): Likewise.
5804         (ERRNO_UNCHANGED): Likewise.
5805         (ERRNO_EDOM): Likewise.
5806         (ERRNO_ERANGE): Likewise.
5807         (IGNORE_RESULT): Likewise.
5808         (NON_FINITE): Likewise.
5809         (TEST_SNAN): Likewise.
5810         (NO_TEST_MATHVEC): Likewise.
5811         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
5812         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
5813         (struct test_Ffp_b1_data): New type.
5814         (RUN_TEST_Ffp_b1): New macro.
5815         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5816         (canonicalize_test_data): New array.
5817         (canonicalize_test): New function.
5818         (main): Call canonicalize_test.
5819         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
5820         canonicalizef and canonicalizel.
5821         * manual/libm-err-tab.pl: Update comment on interfaces without
5822         ulps tabulated.
5823         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
5824         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
5825         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5826         canonicalize.
5827         (CFLAGS-nldbl-canonicalize.c): New variable.
5828         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
5829         to ...
5830         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
5831         ... here.
5832         (do_test): Also test canonicalizel.
5833         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
5834         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
5835         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
5836         file.
5837         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
5838         Use libm_hidden_def.
5839         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
5840         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
5841         (do_test): Also test canonicalizel.
5842         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
5843         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
5844         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
5845         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
5846         libm_hidden_def.
5847         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
5848         macro.
5849         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
5850         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
5851         * sysdeps/nacl/libm.abilist: Update.
5852         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5853         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5854         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5855         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5856         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5857         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5858         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5859         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5860         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5861         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5862         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5863         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5865         Likewise.
5866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5869         Likewise.
5870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5871         Likewise.
5872         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5873         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5874         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5875         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5876         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5880         Likewise.
5881         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5882         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5885         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
5886         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5887         getpayload.
5888         (CFLAGS-nldbl-getpayload.c): New variable.
5890 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5892         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
5893         integer from the format string.
5895 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5897         [BZ #19473]
5898         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
5899         declarations.
5900         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
5901         weak aliases.
5902         * malloc/hooks.c (__malloc_get_state): Remove definition.
5903         (malloc_get_state): New stub implementation as
5904         compatibility symbol.
5905         (malloc_set_state): Rename from __malloc_set_state.  Turn into
5906         compat symbol.
5907         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
5908         malloc_set_state.
5909         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
5911 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5913         * iconvdata/iso646.c (enum variant): Drop illegal_var.
5914         (names): Turn into concatenation of strings.
5915         (gconv_init): Adapt iteration over names.
5917 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5919         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
5920         make const.
5921         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
5922         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
5923         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
5924         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
5925         character in sbconv.
5926         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
5927         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
5928         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
5930 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5932         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
5934         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
5935         (M_TRIM_THRESHOLD): Likewise.
5937         * manual/memory.texi (M_ARENA_TEST): Add documentation.
5938         (M_ARENA_MAX): Likewise.
5939         * malloc/malloc.c: Remove obsolete comment.
5941         * manual/memory.texi: Add environment variable alternatives to
5942         setting mallopt parameters.
5944 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
5946         * include/atomic.h
5947         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
5948         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
5950 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5952         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
5953         * stdlib/tst-strfrom.h: New file.
5954         * stdlib/tst-strfrom.c: New file.
5955         * stdlib/tst-strfrom-locale.c: New file.
5957         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
5958         * stdlib/bug-strtod2.c: Likewise.
5959         * stdlib/tst-strtod-round-skeleton.c: Likewise.
5960         * stdlib/tst-strtod6.c: Likewise.
5961         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
5963 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5965         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
5966         * manual/arith.texi: Document strfromd, strfromf, strfroml.
5967         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
5968         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
5969         * stdlib/stdlib.h (strfromd): New declaration.
5970         (strfromf): Likewise.
5971         (strfroml): Likewise.
5972         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
5973         strfrom.
5974         * stdlib/strfromd.c: New file.
5975         * stdlib/strfromf.c: Likewise.
5976         * stdlib/strfroml.c: Likewise.
5977         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
5978         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
5979         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
5980         * sysdeps/arm/nacl/libc.abilist: Update.
5981         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5982         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5983         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5984         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5985         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5986         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5987         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5988         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5989         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5990         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5991         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5992         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5993         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5994         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
5996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5999         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6000         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6001         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6002         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6003         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6006         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6007         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6008         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6010 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6012         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6013         instead of cmpli.
6014         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6015         instead of cmpli.
6017 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6019         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6020         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6021         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6022         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6023         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6024         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6026 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6028         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6029         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6030         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6031         SYSCALL_LL64_PRW.
6032         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6033         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6034         __ASSUME_PRW_DUMMY_ARG.
6035         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6036         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6037         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6038         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6039         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6040         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6042 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6044         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6046 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6048         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6049         "C++", to override a potential extern "C" directive around the
6050         header file inclusion.
6052 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6054         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6056 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6058         * sysdeps/powerpc/fpu/fenv_private.h:
6059         (_FPU_MASK_ALL): Rename to...
6060         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6061         XE FPSCR bits.
6063         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6065         (_FPU_MASK_ROUNDING): Rename to...
6066         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6067         NI bits.
6069         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6070         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6071         bits and rounding bits.
6073         (__libc_feholdbits_ppc): New inline function to mask, set,
6074         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6075         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6076         (libc_feholdexcept_setround_ppc): Likewise.
6078         (__libc_femergeenv_ppc): New function to dynamically mask both
6079         old and new FP environments and merge.
6080         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6081         (libc_feresetround_ppc): Likewise.
6082         (libc_feupdateenv_test_ppc): Likewise.
6083         (libc_feupdateenv_ppc): Likewise.
6085         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6086         of ISA RN bits, and update macro names.
6087         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6088         effectively the same as the previously mentioned function.
6090         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6091         usage with fe_resetround_ppc.
6093         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6094         to be used.
6095         (libc_feholdexcept_setround_ctxf): Likewise.
6096         (libc_feholdexcept_setround_ctxl): Likewise.
6098 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6100         [BZ #20715]
6101         * math/math.h [__cplusplus] (iszero): Define as function template.
6102         * math/Makefile [CXX] (tests): Add test-math-iszero.
6103         (CFLAGS-test-math-iszero.cc): Set.
6104         * math/test-math-iszero.cc: New file.
6106 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6108         [BZ #20660]
6109         * sysdeps/arm/e_sqrt.c: New file.
6110         * sysdeps/arm/e_sqrtf.c: Likewise.
6112 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6114         [BZ #20718]
6115         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6116         not use floating-point comparisons to test sign.
6117         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6118         Likewise.
6120         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6121         (getpayload): New declaration.
6122         * math/Versions (getpayload): New libm symbol at version
6123         GLIBC_2.25.
6124         (getpayloadf): Likewise.
6125         (getpayloadl): Likewise.
6126         * math/Makefile (libm-calls): Add s_getpayloadF.
6127         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6128         (struct test_f_f_data): Add comment.
6129         (RUN_TEST_fp_f): New macro.
6130         (RUN_TEST_LOOP_fp_f): Likewise.
6131         (getpayload_test_data): New array.
6132         (getpayload_test): New function.
6133         (main): Call getpayload_test.
6134         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6135         descriptor.
6136         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6137         getpayloadf and getpayloadl.
6138         * manual/libm-err-tab.pl: Update comment on interfaces without
6139         ulps tabulated.
6140         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6141         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6142         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6143         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6144         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6145         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6146         * sysdeps/nacl/libm.abilist: Update.
6147         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6148         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6149         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6150         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6151         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6152         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6153         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6154         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6155         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6156         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6157         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6158         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6160         Likewise.
6161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6162         Likewise.
6163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6164         Likewise.
6165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6166         Likewise.
6167         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6168         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6169         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6170         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6171         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6173         Likewise.
6174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6175         Likewise.
6176         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6177         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6178         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6180 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6182         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6183         tst-fallocate{64}.
6184         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6185         on syscall return.
6187 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6189         [BZ #20689]
6190         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6191         usable.
6193 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6195         * sysdeps/generic/nan-high-order-bit.h: New file.
6196         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6197         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6198         * sysdeps/hppa/math_private.h: Remove file.
6199         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6200         not define here.
6201         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6202         <nan-high-order-bit.h>.
6203         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6204         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6205         <nan-high-order-bit.h>.
6206         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6207         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6208         <nan-high-order-bit.h>.
6209         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6210         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6211         <nan-high-order-bit.h>.
6212         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6213         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6214         <nan-high-order-bit.h>.
6215         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6216         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6217         <nan-high-order-bit.h>.
6218         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6219         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6220         <nan-high-order-bit.h>.
6221         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6222         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6223         <nan-high-order-bit.h>.
6224         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6225         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6226         <nan-high-order-bit.h>.
6227         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6228         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6229         <nan-high-order-bit.h>.
6230         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6231         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6232         <nan-high-order-bit.h>.
6233         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6234         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6235         <nan-high-order-bit.h>.
6236         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6237         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6238         <nan-high-order-bit.h>.
6239         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6240         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6241         <nan-high-order-bit.h>.
6242         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6243         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.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-96/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-96/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-96/s_totalordermagl.c: Include
6253         <nan-high-order-bit.h>.
6254         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6256 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6258         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6260 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6262         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6263         abort-instr.h.
6264         (EFAULT): Remove conditional define.
6265         (ENOSYS): Likewise.
6266         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6267         instead of conditional branch instructions.
6269 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6271         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6272         (totalordermag): New declaration.
6273         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6274         New macro.
6275         * math/Versions (totalordermag): New libm symbol at version
6276         GLIBC_2.25.
6277         (totalordermagf): Likewise.
6278         (totalordermagl): Likewise.
6279         * math/Makefile (libm-calls): Add s_totalordermagF.
6280         * math/libm-test.inc (totalordermag_test_data): New array.
6281         (totalordermag_test): New function.
6282         (main): Call totalordermag_test.
6283         * math/test-tgmath.c (NCALLS): Increase to 125.
6284         (F(compile_test)): Call totalordermag.
6285         (F(totalordermag)): New function.
6286         * manual/arith.texi (FP Comparison Functions): Document
6287         totalordermag, totalordermagf and totalordermagl.
6288         * manual/libm-err-tab.pl: Update comment on interfaces without
6289         ulps tabulated.
6290         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6291         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6292         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6293         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6294         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6295         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6296         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6297         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6298         totalordermag.
6299         (CFLAGS-nldbl-totalordermag.c): New variable.
6300         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6301         (do_test): Also test totalordermagl.
6302         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6303         Likewise.
6304         * sysdeps/nacl/libm.abilist: Update.
6305         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6306         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6307         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6308         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6309         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6310         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6311         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6312         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6313         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6314         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6315         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6316         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6318         Likewise.
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6320         Likewise.
6321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6322         Likewise.
6323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6324         Likewise.
6325         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6326         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6327         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6328         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6329         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6331         Likewise.
6332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6333         Likewise.
6334         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6335         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6336         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6338 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
6340         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6341         boolean.
6343 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
6345         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6346         raising FE_INVALID with feraisexcept in case where part of
6347         argument is infinite, subtract that part of argument from itself.
6348         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6349         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6350         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6352 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6354         * math/libm-test.inc (totalorder_test_data): Add more tests.
6356 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6358         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
6359         Undefine weak_alias and add a comment why mips64 require
6360         versioning.
6362 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6364         [BZ #20647]
6365         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
6366         maximum CPUID level is less than 2.
6368 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6370         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6371         (totalorder): New declaration.
6372         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6373         New macro.
6374         * math/Versions (totalorder): New libm symbol at version
6375         GLIBC_2.25.
6376         (totalorderf): Likewise.
6377         (totalorderl): Likewise.
6378         * math/Makefile (libm-calls): Add s_totalorderF.
6379         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
6380         string.
6381         * math/libm-test.inc (PAYLOAD_DIG): New macro.
6382         (qnan_value_pl): Likewise.
6383         (snan_value_pl): Likewise.
6384         (qnan_value): Define using qnan_value_pl.
6385         (snan_value): Define using snan_value_pl.
6386         (struct test_ff_i_data): Add comment about which tests use this
6387         structure.
6388         (RUN_TEST_ff_b): New macro.
6389         (RUN_TEST_LOOP_ff_b): Likewise.
6390         (totalorder_test_data): New array.
6391         (totalorder_test): New function.
6392         (main): Call totalorder_test.
6393         * math/test-tgmath.c (NCALLS): Increase to 122.
6394         (F(compile_test)): Call totalorder.
6395         (F(totalorder)): New function.
6396         * manual/arith.texi (FP Comparison Functions): Document
6397         totalorder, totalorderf and totalorderl.
6398         * manual/libm-err-tab.pl: Update comment on interfaces without
6399         ulps tabulated.
6400         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
6401         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
6402         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
6403         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
6404         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
6405         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
6406         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
6407         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6408         totalorder.
6409         (CFLAGS-nldbl-totalorder.c): New variable.
6410         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
6411         file.
6412         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6413         Add test-totalorderl-ldbl-128ibm.
6414         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
6415         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
6416         test-totalorderl-ldbl-96.
6417         * sysdeps/nacl/libm.abilist: Update.
6418         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6425         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6426         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6431         Likewise.
6432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6433         Likewise.
6434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6435         Likewise.
6436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6437         Likewise.
6438         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6441         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6451 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6453         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
6454         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
6455         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
6456         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
6457         remove ENOSYS implementation.
6458         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
6459         Consolidate all Linux implementations.
6461 2016-10-11  Florian Weimer  <fweimer@redhat.com>
6463         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
6464         * resolv/herror.c (herror): Cast away const-ness.
6465         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
6466         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
6468 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
6470         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
6471         instead of M_NAN + M_NAN.
6472         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6474 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6476         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
6477         unused variable 'p'.
6479 2016-10-09  Alan Modra  <amodra@gmail.com>
6480             Andreas Schwab  <schwab@linux-m68k.org>
6482         [BZ #20554]
6483         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
6484         [PIC && !SHARED]: Set up PIC register for PLT call.
6486 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
6488         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
6489         conditional on value of [__FLT_EVAL_METHOD__].
6490         * math/test-iseqsig-excess-precision.c: New file.
6491         * math/Makefile (tests): Add test-iseqsig-excess-precision.
6493 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6495         * math/s_iseqsig_template.c: Include math-private.h.
6497         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
6498         * posix/tst-posix_fadvise.c: New file.
6499         * posix/tst-posix_fadvise64.c: Likewise.
6500         * posix/tst-posix_fadvise-common.c: Likewise.
6501         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6502         (__ASSUME_FADVISE64_64_6ARG): Define.
6503         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6504         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
6505         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6506         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
6507         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
6508         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
6509         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6510         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6511         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
6512         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
6513         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
6514         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
6515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
6517         Likewise.
6518         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
6519         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
6520         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
6521         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6522         Alias to __posix_fadvise64_l32.
6523         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
6524         Add compat definition to posix_fadvise64.
6525         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6526         Add versioned definition to posix_fadvise64.
6527         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
6528         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
6529         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
6530         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
6531         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
6533         * io/Makefile (tests): Add tst-posix_fallocate and
6534         tst-posix_fallocate64.
6535         * io/tst-posix_fallocate-common.c: New file.
6536         * io/tst-posix_fallocate.c: Likewise.
6537         * io/tst-posix_fallocate64.c: Likewise.
6538         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
6539         file.
6540         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
6541         Likewise.
6542         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
6543         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
6544         Likewise.
6545         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
6546         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
6547         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
6548         SYSCALL_LL to pass both offset and len arguments.
6549         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
6552         __libc_pwrite64 alias used by posix_fallocate64.
6554         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6555         tst-fallocate64.
6556         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6557         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6558         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6559         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6560         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6561         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6562         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6563         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6564         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6565         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6566         macro on offset argument.
6567         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6568         SYSCALL_LL64 on offset argument.
6570         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6571         tst-fallocate64.
6572         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6573         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6574         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6575         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6576         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6577         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6578         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6579         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6580         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6581         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6582         macro on offset argument.
6583         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6584         SYSCALL_LL64 on offset argument.
6585         * test-skeleton.c (FAIL_RET): Add macro.
6586         (FAIL_EXIT): Likewise.
6587         (FAIL_EXIT1): Likewise.
6588         (_FAIL): Likewise.
6590 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6592         [BZ #20629]
6593         resolv: Remove RES_USEBSTRING and its implementation.
6594         * resolv/resolv.h (RES_USEBSTRING): Remove.
6595         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
6596         (digitvalue, encode_bitstring, decode_bitstring): Remove.
6597         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
6598         (labellen): Remove extended label types support.
6599         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
6600         * resolv/res_init.c (res_setoptions): Likewise.
6601         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6603 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6605         resolv: Remove RES_NOIP6DOTINT and its implementation.
6606         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
6607         (RES_NOIP6DOTINT): Remove.
6608         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
6609         handling.
6610         * resolv/res_debug.c (p_option): Likewise.
6611         * resolv/res_init.c (res_setoptions): Likewise.
6612         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6614 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6616         resolv: Deprecate unimplemented flags.
6617         * misc/sys/cdefs.h (__glibc_macro_warning1)
6618         (__glibc_macro_warning): Define.
6619         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
6620         (RES_KEEPTSIG): Mark as deprecated.
6621         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
6622         RES_NOCHECKNAME, RES_KEEPTSIG.
6623         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
6625 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6627         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
6628         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
6629         Use strong_alias to create symbols for glibc verison 2.19.
6631 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6633         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
6635 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6637         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
6639 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6641         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
6643 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6645         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6646         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
6647         in header for using it as type for ifunc function because __GI_* symbols
6648         for ppc32 do not target the ifunc symbols.
6649         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6651 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6653         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
6654         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
6655         libc_ifunc_hidden_def.
6656         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
6657         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
6658         Redirect ifunced function in header for using it as type of ifunc'ed
6659         function. Redefine libc_hidden_def to use fallback non ifunc'ed
6660         function for __GI_* symbol.
6661         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
6662         * include/libc-symbols.h
6663         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
6665 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6667         [BZ #20478]
6668         * sysdeps/s390/multiarch/ifunc-resolve.h
6669         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
6670         to create ifunc symbols.
6671         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
6672         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
6673         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
6674         for using it as type for ifunc function.
6675         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6676         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6677         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6678         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6679         * sysdeps/s390/multiarch/strcat.c: Likewise.
6680         * sysdeps/s390/multiarch/strchr.c: Likewise.
6681         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6682         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6683         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6684         * sysdeps/s390/multiarch/strlen.c: Likewise.
6685         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6686         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6687         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6688         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6689         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6690         * sysdeps/s390/multiarch/strspn.c: Likewise.
6691         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6692         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6693         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6694         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6695         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6696         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6697         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6698         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
6699         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
6700         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6701         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
6702         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
6704 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6706         * include/libc-symbols.h (__ifunc_resolver):
6707         New macro is used by __ifunc* macros.
6708         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
6709         depending on HAVE_GCC_IFUNC.
6710         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
6711         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
6712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6713         Redirect ifunced function in header for using as type for ifunc function.
6714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
6715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
6716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
6717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
6718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6720         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6721         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6722         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6723         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6724         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6725         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6727         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
6730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
6732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6733         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6734         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6735         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6736         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6737         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6738         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6739         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6740         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6741         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6742         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6743         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6744         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6745         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
6746         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
6748         Add libc_hidden_def() and use libc_ifunc_hidden() macro
6749         instead of libc_ifunc() macro.
6750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
6751         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6753 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6755         * config.h.in (HAVE_GCC_IFUNC): New undef.
6756         * configure.ac: Add check if gcc supports attribute ifunc feature.
6757         * configure: Regenerated.
6758         * manual/install.texi: Add recommendation for gcc with
6759         indirect-function support.
6760         * INSTALL: Regenerated.
6762 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
6764         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
6765         macro.
6766         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6767         (__iseqsig): New declaration.
6768         * math/s_iseqsig_template.c: New file.
6769         * math/Versions (__iseqsigf): New libm symbol at version
6770         GLIBC_2.25.
6771         (__iseqsig): Likewise.
6772         (__iseqsigl): Likewise.
6773         * math/libm-test.inc (iseqsig_test_data): New array.
6774         (iseqsig_test): New function.
6775         (main): Call iseqsig_test.
6776         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
6777         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
6778         * manual/libm-err-tab.pl: Update comment on interfaces without
6779         ulps tabulated.
6780         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
6781         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
6782         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
6783         * sysdeps/nacl/libm.abilist: Update.
6784         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6785         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6786         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6787         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6788         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6789         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6790         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6791         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6792         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6793         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6794         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6795         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6797         Likewise.
6798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6799         Likewise.
6800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6801         Likewise.
6802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6803         Likewise.
6804         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6805         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6806         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6807         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6808         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6812         Likewise.
6813         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6815         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6817 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6819         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
6820         do_sincos_2, sloww, sloww1): Update comments.
6822         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
6823         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
6825         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
6826         K boolean and rename it.
6827         (__sin): Adjust.
6828         (__cos): Adjust.
6830 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
6831             Siddhesh Poyarekar  <siddhesh@sourceware.org>
6833         * manual/nss.texi: Fix typos in the manual.
6835 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
6837         * manual/contrib.texi: Fix typos in the manual.
6839         * manual/maint.texi: Fix typos in the manual.
6841         * manual/install.texi: Fix typos in the manual.
6842         * INSTALL: Regenerated.
6844         * manual/lang.texi: Fix typos in the manual.
6846         * manual/probes.texi: Fix typos in the manual.
6848         * manual/threads.texi: Fix typos in the manual.
6850         * manual/debug.texi: Fix typos in the manual.
6852         * manual/crypt.texi: Fix typos in the manual.
6854         * manual/conf.texi: Fix typos in the manual.
6856         * manual/sysinfo.texi: Fix typos in the manual.
6858         * manual/users.texi: Fix typos in the manual.
6860         * manual/job.texi: Fix typos in the manual.
6862         * manual/process.texi: Fix typos in the manual.
6864         * manual/argp.texi: Fix typos in the manual.
6865         * manual/getopt.texi: Likewise.
6866         * manual/startup.texi: Likewise.
6868         * manual/signal.texi: Fix typos in the manual.
6870         * manual/setjmp.texi: Fix typos in the manual.
6872         * manual/resource.texi: Fix typos in the manual.
6874         * manual/time.texi: Fix typos in the manual.
6876         * manual/arith.texi: Fix typos in the manual.
6878         * manual/math.texi: Fix typos in the manual.
6880         * manual/syslog.texi: Fix typos in the manual.
6882         * manual/terminal.texi: Fix typos in the manual.
6884         * manual/socket.texi: Fix typos in the manual.
6886         * manual/filesys.texi: Fix typos in the manual.
6888         * manual/llio.texi: Fix typos in the manual.
6890         * manual/stdio.text: Fix typos in the manual.
6892 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6894         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
6895         instead of K1.
6897         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
6898         SHIFT_QUADRANT and make it bool.
6899         (do_sincos_2): Likewise.
6900         (sloww): Likewise.
6901         (sloww1): Likewise.
6902         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
6903         (__cos): Likewise.
6905 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6907         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6909 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
6911         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
6912         Define to __WORDSIZE, not conditional on [LONG_MAX ==
6913         0x7fffffffL].
6914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6916 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6918         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
6919         inline by __inline__.
6920         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6921         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
6922         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
6923         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
6924         sigset_t from signal.h.
6925         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
6926         which is already required.
6928 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6930         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6932 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
6934         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
6935         (struct tcp_repair_window): New type.
6937 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6939         * libio/tst-memstream3.c: Include string.h.
6941 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6943         [BZ #18241]
6944         [BZ #20181]
6945         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
6946         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
6947         write position is at the end the buffer.
6948         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
6949         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
6950         (_IO_str_seekoff): Set correct offset from negative displacement and
6951         set EINVAL for invalid ones.
6952         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
6953         buffer length.
6954         (_IO_wstr_switch_to_get_mode): New function.
6955         (_IO_wstr_seekoff): Set correct offset from negative displacement and
6956         set EINVAL for invalid ones.
6957         * libio/tst-memstream3.c: New file.
6958         * libio/tst-wmemstream3.c: Likewise.
6959         * manual/examples/memstrm.c: Remove warning when priting size_t.
6961 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
6963         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
6964         macro to use __builtin_fma.
6965         * sysdeps/x86_64/fpu/dla.h: Remove file.
6967         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6968         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
6969         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
6971 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
6973         [BZ #20292]
6974         * elf/Makefile (routines): Add dl-addr-obj.
6975         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
6976         tst-_dl_addr_inside_object.
6977         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
6978         [ifeq (yesyes,$(have-fpie)$(build-shared))]
6979         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
6980         [ifeq (yesyes,$(have-fpie)$(build-shared))]
6981         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
6982         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
6983         * elf/dl-open.c: Likewise.
6984         * elf/dl-addr-obj.c: New file.
6985         * elf/tst-_dl_addr_inside_object.c: New file.
6987 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
6989         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
6990         <bits/iscanonical.h>.
6991         * bits/iscanonical.h: New file.
6992         * math/s_iscanonicall.c: Likewise.
6993         * math/Versions (__iscanonicall): New libm symbol at version
6994         GLIBC_2.25.
6995         * math/libm-test.inc (iscanonical_test_data): New array.
6996         (iscanonical_test): New function.
6997         (main): Call iscanonical_test.
6998         * math/Makefile (headers): Add bits/iscanonical.h.
6999         (type-ldouble-routines): Add s_iscanonicall.
7000         * manual/arith.texi (Floating Point Classes): Document
7001         iscanonical.
7002         * manual/libm-err-tab.pl: Update comment on interfaces without
7003         ulps tabulated.
7004         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7005         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7006         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7007         Likewise.
7008         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7009         test-iscanonical-ldbl-128ibm.
7010         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7011         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7012         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7013         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7014         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7015         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7016         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7018         Likewise.
7019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7020         Likewise.
7021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7022         Likewise.
7023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7024         Likewise.
7025         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7026         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7028 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7030         * string/bits/string3.h: Remove C++ style comments.
7032 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7034         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7035         instead of ternary condition.
7036         (do_sincos_2): Likewise.
7037         (__sin): Likewise.
7038         (__cos): Likewise.
7039         (slow): Likewise.
7040         (sloww): Likewise.
7041         (sloww1): Likewise.
7042         (bsloww): Likewise.
7043         (bsloww1): Likewise.
7045         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7046         instead of ternary condition.
7047         (do_sin_slow): Likewise.
7048         (do_sincos_1): Likewise.
7049         (do_sincos_2): Likewise.
7050         (__cos): Likewise.
7051         (sloww): Likewise.
7052         (sloww1): Likewise.
7053         (sloww2): Likewise.
7054         (bsloww): Likewise.
7055         (bsloww1): Likewise.
7056         (bsloww2): Likewise.
7058         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7059         check from here...
7060         (slow2): ... and here...
7061         (__sin): ... to here.
7063 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7065         * math/math.h
7066         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7067         Cast argument to its own type.
7068         * math/test-iszero-excess-precision.c: New file.
7069         * math/Makefile (tests): Add test-iszero-excess-precision.
7070         (CFLAGS-test-iszero-excess-precision.c): New variable.
7072 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7074         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7075         field, add err field.
7076         (__spawni_child): Report error through err member instead of pipe.
7077         (__spawnix): Likewise.
7079 2016-09-28  Zack Weinberg  <zackw@panix.com>
7081         * scripts/check-installed-headers.sh: Generalize treatment of
7082         sys/elf.h to all target architectures.
7084         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7085         deleted typedef ucontext_t.
7087 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7089         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7090         (__INTERNAL_SYSCALL1): Likewise.
7091         (__INTERNAL_SYSCALL2): Likewise.
7092         (__INTERNAL_SYSCALL3): Likewise.
7093         (__INTERNAL_SYSCALL4): Likewise.
7094         (__INTERNAL_SYSCALL5): Likewise.
7095         (__INTERNAL_SYSCALL6): Likewise.
7096         (__INTERNAL_SYSCALL7): Likewise.
7097         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7098         (__INTERNAL_SYSCALL_NARGS): Likewise.
7099         (__INTERNAL_SYSCALL_DISP): Likewise.
7100         (INTERNAL_SYSCALL_CALL): Likewise.
7101         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7102         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7103         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7104         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7105         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7106         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7107         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7108         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7109         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7110         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7111         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7112         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7113         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7115 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7117         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7118         macro.
7119         * math/libm-test.inc (iszero_test_data): New array.
7120         (iszero_test): New function.
7121         (main): Call iszero_test.
7122         * manual/arith.texi (Floating Point Classes): Document iszero.
7123         * manual/libm-err-tab.pl: Update comment on interfaces without
7124         ulps tabulated.
7126 2016-09-23  Zack Weinberg  <zackw@panix.com>
7128         * scripts/check-installed-headers.sh: New script.
7129         * Rules: In each directory that defines header files to be installed,
7130         run check-installed-headers.sh on them as a special test.
7131         * Makefile: Likewise for the headers installed at top level.
7133         * include/aliases.h, include/alloca.h, include/argz.h
7134         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7135         * include/elf.h, include/envz.h, include/err.h
7136         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7137         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7138         * include/link.h, include/malloc.h, include/mcheck.h
7139         * include/mntent.h, include/netinet/ether.h
7140         * include/nss.h, include/obstack.h, include/printf.h
7141         * include/pty.h, include/resolv.h, include/rpc/auth.h
7142         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7143         * include/rpc/clnt.h, include/rpc/des_crypt.h
7144         * include/rpc/key_prot.h, include/rpc/netdb.h
7145         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7146         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7147         * include/rpc/rpc_msg.h, include/rpc/svc.h
7148         * include/rpc/svc_auth.h, include/rpc/xdr.h
7149         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7150         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7151         * include/rpcsvc/ypupd.h, include/shadow.h
7152         * include/stdio_ext.h, include/sys/epoll.h
7153         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7154         * include/sys/prctl.h, include/sys/profil.h
7155         * include/sys/statfs.h, include/sys/sysctl.h
7156         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7157         * sysdeps/arm/nacl/include/bits/setjmp.h
7158         * sysdeps/mips/include/sys/asm.h
7159         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7160         * sysdeps/unix/sysv/linux/include/sys/timex.h
7161         * sysdeps/x86/fpu/include/bits/fenv.h:
7162         Add #ifndef _ISOMAC guard around internal declarations.
7163         Add multiple-inclusion guard if not already present.
7165 2016-09-23  Zack Weinberg  <zackw@panix.com>
7167         * sysdeps/generic/sys/ucontext.h
7168         * sysdeps/arm/sys/ucontext.h
7169         * sysdeps/i386/sys/ucontext.h
7170         * sysdeps/m68k/sys/ucontext.h
7171         * sysdeps/mips/sys/ucontext.h
7172         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7173         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7174         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7175         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7176         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7177         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7178         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7179         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7180         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7181         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7182         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7183         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7184         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7185         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7186         Include both bits/sigcontext.h and bits/sigstack.h.
7187         Fix grammar error in comment, if present.
7189         * bits/sigstack.h
7190         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7191         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7192         * sysdeps/unix/sysv/linux/bits/sigstack.h
7193         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7194         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7195         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7196         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7197         * bits/sigcontext.h
7198         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7199         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7200         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7201         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7202         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7203         as well as signal.h, if this was not already allowed.  Request
7204         definition of size_t if necessary.  Minimize semantically-null
7205         differences across files.
7207 2016-09-23  Zack Weinberg  <zackw@panix.com>
7209         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7210         Remove all logic conditional on __need macros.  Move all the
7211         conditionally defined types to their own headers...
7212         * time/bits/types/clock_t.h: Define clock_t here.
7213         * time/bits/types/clockid_t.h: Define clockid_t here.
7214         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7215         * time/bits/types/struct_timespec.h: Define struct timespec here.
7216         * time/bits/types/struct_timeval.h: Define struct timeval here.
7217         * time/bits/types/struct_tm.h: Define struct tm here.
7218         * time/bits/types/time_t.h: Define time_t here.
7219         * time/bits/types/timer_t.h: Define timer_t here.
7220         * time/Makefile: Install the new headers.
7222         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7223         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7224         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7225         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7226         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7227         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7228         * sysdeps/unix/sysv/linux/bits/resource.h
7229         * sysdeps/unix/sysv/linux/bits/timex.h
7230         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7231         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7232         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7233         * sysdeps/unix/sysv/linux/sys/acct.h
7234         * sysdeps/unix/sysv/linux/sys/timerfd.h
7235         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7236         * time/sys/time.h, time/sys/timeb.h
7237         Use the new bits/types headers.
7239         * include/time.h: Remove __need logic.
7240         * include/bits/time.h
7241         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7242         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7243         * include/bits/types/struct_itimerspec.h
7244         * include/bits/types/struct_timespec.h
7245         * include/bits/types/struct_timeval.h
7246         * include/bits/types/struct_tm.h:
7247         New wrapper headers.
7249 2016-09-23  Zack Weinberg  <zackw@panix.com>
7251         * sysdeps/mach/hurd/net/if_ppp.h
7252         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7253         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7254         if __USE_MISC is defined, to ensure struct ifreq is declared.
7256         * inet/netinet/ether.h: Condition all function prototypes
7257         on __USE_MISC, to ensure struct ether_addr is declared.
7259         * socket/bits/types/struct_osockaddr.h: New header.
7260         * include/bits/types/struct_osockaddr.h: New wrapper.
7261         * socket/Makefile: Install the new header.
7262         * socket/sys/socket.h, inet/protocols/talkd.h:
7263         Refer to bits/types/struct_osockaddr.h for the definition of
7264         struct osockaddr.
7266 2016-09-23  Zack Weinberg  <zackw@panix.com>
7268         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7269         * inet/protocols/routed.h, inet/protocols/talkd.h
7270         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7271         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7272         * sysdeps/generic/netinet/if_ether.h
7273         * sysdeps/generic/netinet/in_systm.h
7274         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7275         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7276         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7277         * sysdeps/mach/hurd/net/if_arp.h
7278         * sysdeps/mach/hurd/net/if_ppp.h
7279         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7280         * sysdeps/unix/sysv/linux/bits/in.h
7281         * sysdeps/unix/sysv/linux/net/ethernet.h
7282         * sysdeps/unix/sysv/linux/net/if_arp.h
7283         * sysdeps/unix/sysv/linux/net/if_ppp.h
7284         * sysdeps/unix/sysv/linux/net/if_shaper.h
7285         * sysdeps/unix/sysv/linux/net/route.h
7286         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7287         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7288         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7289         * sysdeps/unix/sysv/linux/netipx/ipx.h
7290         * sysdeps/unix/sysv/linux/sys/acct.h
7291         * include/arpa/nameser.h, include/resolv.h:
7292         Change all uses of u_char to unsigned char,
7293         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7294         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7295         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7296         and u_int64_t and u_quad_t to uint64_t.
7298         * mach/sys/reboot.h: Remove two casts of integer literals
7299         to the types they already have.
7301         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7302         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7303         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7304         from referring to 'unsigned char' to 'uint8_t' for consistency with
7305         the macro definition below.
7307         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7308         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7309         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7310         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7311         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7312         * sysdeps/unix/sysv/linux/sys/acct.h
7313         * include/arpa/nameser.h, include/resolv.h:
7314         Fix indentation disrupted by mechanical edits.
7316         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7317         * sysdeps/generic/netinet/in_systm.h
7318         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7319         * sysdeps/gnu/netinet/udp.h
7320         * sysdeps/unix/sysv/linux/net/ethernet.h
7321         * sysdeps/unix/sysv/linux/net/if_arp.h
7322         * sysdeps/unix/sysv/linux/net/if_ppp.h
7323         * sysdeps/unix/sysv/linux/net/if_shaper.h
7324         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7325         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7326         * sysdeps/unix/sysv/linux/netipx/ipx.h
7327         * sysdeps/unix/sysv/linux/sys/acct.h
7328         Include stdint.h for uintNN_t definitions.
7329         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7331 2016-09-23  Zack Weinberg  <zackw@panix.com>
7333         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7334         * sysdeps/unix/sysv/linux/netrose/rose.h:
7335         Include sys/socket.h and netax25/ax25.h.
7337         * inet/netinet/icmp6.h, inet/netinet/ip6.h
7338         * resolv/arpa/nameser_compat.h:
7339         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7341         * sysdeps/unix/sysv/linux/sys/quota.h:
7342         Use __caddr_t instead of caddr_t.
7343         * sysdeps/unix/sysv/linux/sys/timerfd.h:
7344         Use __clockid_t instead of clockid_t.
7346         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7348         * argp/argp.h: Check whether _LIBC is defined before expanding it.
7349         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7350         expanding it.
7352         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7353         Define __glibc_c99_flexarr_available to 1 when the compiler
7354         supports C99-compatible flexible array members, 0 otherwise.
7355         * sysdeps/unix/sysv/linux/bits/socket.h
7356         * sysdeps/mach/hurd/bits/socket.h
7357         * bits/socket.h: Use __glibc_c99_flexarr_available in
7358         definitions of struct cmsghdr and CMSG_DATA.
7360 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7362         * manual/nss.texi (NSS Modules Interface): Adjust function return
7363         type to enum nss_status.  Document errnop argument.  Clarify
7364         h_errnop semantics.  Fix cross-reference formatting.
7365         (NSS Module Function Internals): Mention that *errnop needs to be
7366         set on failure, but not to zero.
7368 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7370         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
7371         (get_random_name): New functions.
7372         (check_wrapper_flags_mode): Use linkat to give the new file a name
7373         determined by get_random_name.
7374         (do_test): Add calls to test open64 and openat64.
7376 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7378         * test-skeleton.c: Remove #include <stdarg.h>.
7380 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
7382         [BZ #19826]
7383         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
7384         initialization of static TLS entries.
7385         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
7386         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7388 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7390         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
7391         _hurd_malloc_fork_prepare.
7392         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
7393         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
7394         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
7395         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
7396         (_hurd_fork_child_hook): Drop malloc_fork_child.
7397         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
7398         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
7399         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
7400         after locking locks (notably hurd_dtable_lock). Call
7401         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
7402         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
7403         __malloc_fork_unlock_child.
7404         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
7406 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
7408         * soft-fp/extendhftf2.c: New.
7409         * soft-fp/fixhfti.c: Likewise.
7410         * soft-fp/fixunshfti.c: Likewise.
7411         * soft-fp/floattihf.c: Likewise.
7412         * soft-fp/floatuntihf.c: Likewise.
7413         * soft-fp/half.h: Likewise.
7414         * soft-fp/trunctfhf2.c: Likewise.
7416 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
7418         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
7419         macro.
7420         * math/libm-test.inc (issubnormal_test_data): New array.
7421         (issubnormal_test): New function.
7422         * manual/arith.texi (Floating Point Classes): Document
7423         issubnormal.
7424         * manual/libm-err-tab.pl: Update comment on interfaces without
7425         ulps tabulated.
7427         * sysdeps/generic/stdint.h: Define
7428         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7429         <bits/libc-header-start.h> instead of including <features.h>.
7430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
7431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
7432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
7433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
7434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
7435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
7436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
7437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
7438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
7439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
7440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
7441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
7442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
7443         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
7444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
7445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
7446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
7447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
7448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
7449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
7450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
7451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
7452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
7453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
7454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
7455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
7456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
7457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
7458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
7459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
7460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
7461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
7462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
7463         * manual/arith.texi (Integers): Document these macros for types
7464         specified by width properties.
7465         * manual/lang.texi (Width of Type): Document these macros for
7466         other standard typedefs.
7467         * stdlib/tst-width-stdint.c: New file.
7468         * stdlib/Makefile (tests): Add tst-width-stdint.
7470 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7472         [BZ #20016]
7473         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
7474         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
7475         Move ...
7476         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
7477         ... here, as compatibility symbols in a new file.
7478         * resolv/Makefile (libresolv-routines): Add compat-hooks.
7479         * resolv/res_init.c (__res_vinit): Adjust member names.
7480         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
7481         * resolv/resolv.h (res_sendhookact, res_send_qhook)
7482         (res_send_rhook): Remove.
7483         (struct __res_state): Rename qhook, rhook members.
7485 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7487         malloc: Use __libc_lock wrappers.
7488         * malloc/arena.c (list_lock, free_list_lock): Define using
7489         __libc_lock_define_initialized.
7490         (arena_lock): Adjust formatting.
7491         * malloc/malloc.c (struct malloc_state): Define mutex using
7492         __libc_lock_define.
7493         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
7494         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
7495         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
7496         (mutex_unlock, mutex_trylock): Remove.
7497         (__pthread_initialize): Remove unused macro.
7498         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
7499         (mutex_unlock, mutex_trylock): Remove.
7501 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7503         [BZ #20592]
7504         Remove RR type classification macros.
7505         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
7506         (ns_t_udp_p, ns_t_xfr_p): Remove.
7508 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7510         Remove misleading version information.
7511         * resolv/arpa/nameser.h (__NAMESER): Remove.
7512         * resolv/arpa/nameser_compat.h (__BIND): Remove.
7514 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7516         Remove the always-defined BIND_4_COMPAT macro.
7517         * resolv/arpa/nameser.h: Unconditionally include
7518         <arpa/nameser_compat.h>.
7519         (BIND_4_COMPAT): Remove.
7520         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
7522 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7524         [BZ #20591]
7525         Remove obsolete DNSSEC support.
7526         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
7527         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
7528         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
7529         (ns_verify_tcp, ns_verify_tcp_init): Remove.
7530         (ns_cert_types): Add comment.
7531         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
7532         separately.
7533         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
7534         (dst_s_dns_key_id): Remove.
7535         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
7536         variables.
7538 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7540         [BZ #20524]
7541         * manual/string.texi (String/Array Comparison): Clarify the
7542         strverscmp behavior.
7544 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7546         * test-skeleton.c (xasprintf): Add function.
7547         * io/tst-open-tmpfile.c: New test.
7548         * io/Makefile (tests): Add it.
7550 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7552         Avoid running $(CXX) during build to obtain header file paths.
7553         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
7554         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
7555         * Makerules (cstdlib, cmath): Remove variables.  Use
7556         $(c++-cstdlib-header), $(c++-cmath-header) instead.
7557         * configure: Regenerate.
7559 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7561         * Makeconfig (all-object-suffixes): Include .op only if
7562         $(build-profile).
7564 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7566         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
7567         conditionals.  Do not define PATH_MAX.
7569 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7571         * posix/Makefile (tests): Add tst-spawn3.
7572         * posix/tst-spawn3.c: New file.
7573         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
7574         if it is already opened for open action.
7576         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
7577         all signals when executing the clone vfork child.
7578         (SIGALL_SET): Remove macro.
7580         * nptl/Makefile (tests): Add tst-exec5.
7581         * nptl/tst-exec5.c: New file.
7582         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
7583         asynchronous cancellation.
7585 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7587         * hurd/exc2signal.c: #include <hurd/signal.h>
7588         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
7589         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
7590         accordingly.
7591         * mach/mach_error.c (mach_error): Fix old-style function definition.
7592         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
7594 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7596         * math/Makefile (libm-calls): Remove s_nanF.
7597         (gen-libm-calls): Add s_nanF.
7599         * math/s_nan.c: Refactor into ...
7600         * math/s_nan_template.c: New file.
7602         * math/s_nanf.c: Removed.
7603         * math/s_nanl.c: Removed.
7604         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
7605         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
7607         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7608         (LDOUBLE_nanl_libm_version): New macro.
7610         * sysdeps/generic/math-type-macros-double.h:
7611         (M_STRTO_NAN): New macro.
7612         * sysdeps/generic/math-type-macros-float.h: Likewise.
7613         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7615         * sysdeps/generic/math-type-macros.h: Document
7616         M_STRTO_NAN.
7618 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7620         * math/s_nanf.c: Remove __nanf undef.
7621         * math/s_nan.c: Remove __nan undef.
7622         * math/s_nanl.c: Remove __nanl undef.
7624         * sysdeps/generic/math_private.h (__nan): Remove macro
7625         override.
7626         (__nanf): Likewise.
7627         (__nanl): Likewise.
7629 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7631         * math/Makefile (gen-all-calls): New variable.
7632         (generated): Replace gen-libm-calls with gen-all-calls.
7633         (gen-libm-templates.stmp): Likewise.  Also, ensure
7634         the output directory exists or is created and add
7635         dependency on the Makefile.
7636         (calls): Move s_ldexpF into gen-calls.
7637         (gen-calls): New variable.
7639         * math/s_ldexpf.c: Removed.
7640         * math/s_ldexpl.c: Removed.
7641         * math/s_ldexp.c: Refactored into ...
7642         * math/s_ldexp_template.c: New file.
7644         * sysdeps/generic/math-type-macros-double.h: Remove
7645         redundant fall-through definition of declare_mgen_alias.
7646         (declare_mgen_alias_2): New macro.
7648         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
7649         New macro for function aliased to two exported symbols.
7651         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
7652         new template file.
7653         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7655 2016-09-20  Florian Weimer  <fweimer@redhat.com>
7657         * Makeconfig (all-object-suffixes): Remove .og.
7658         * Makerules (elide-routines.og): Remove.
7659         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
7660         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
7661         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
7663 2016-09-20  Florian Weimer  <fweimer@redhat.com>
7665         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
7666         .os objects.
7668 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7670         [BZ #20615]
7671         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
7672         fpu directory by non-fpu.
7673         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
7674         on non-fpu directory from a fpu directory.
7676 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
7678         * include/limits.h: Define
7679         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7680         <bits/libc-header-start.h> instead of including <features.h>.
7681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
7682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
7683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
7684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
7685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
7686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
7687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
7688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
7689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
7691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
7692         * manual/lang.texi (Width of Type): Document these macros.
7693         * stdlib/tst-width.c: New file.
7694         * stdlib/Makefile (tests): Add tst-width.
7696 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7698         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
7699         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
7701 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7703         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
7704         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7705         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7707 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7709         [BZ #18243]
7710         * rt/Makefile (test): Add tst-shm-cancel.
7711         * rt/tst-shm-cancel.c: New file.
7712         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
7714         [BZ #18243]
7715         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
7716         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
7717         definition.
7718         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
7719         uncontended case.
7720         * nptl/sem_wait.c (__new_sem_wait): Likewise.
7721         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
7722         (tf): Fix check for uncontended case.
7723         (do_test): Likewise.
7724         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
7725         (tf): Fix check for uncontended case.
7726         (do_test): Likewise.
7727         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
7728         (tf): Fix check for uncontended case.
7729         (do_test): Likewise.
7730         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
7731         (tf): Fix check for uncontended case.
7732         (do_test): Likewise.
7734         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
7735         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
7737         [BZ #15765]
7738         * nptl/Makefile (tests): Add tst-sem16.
7739         * nptl/tst-sem16.c: New file.
7740         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
7742         * nptl/sem_open.c (sem_open): Init pad value to 0.
7743         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7744         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7746 2016-09-15  Florian Weimer  <fweimer@redhat.com>
7748         [BZ #20611]
7749         * inet/Makefile (routines): Add inet6_scopeid_pton.
7750         (tests): Add tst-inet6_scopeid_pton.
7751         * inet/inet6_scopeid_pton.c: New file.
7752         * inet/net-internal.h: Likewise.
7753         * inet/tst-inet6_scopeid_pton.c: New test.
7754         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
7755         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
7756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7758 2016-09-14  Florian Weimer  <fweimer@redhat.com>
7760         Remove support for compiling wrappers with PTW.
7761         * sysdeps/nptl/Makeconfig: Drop ptw- support.
7762         * nptl/Makefile (pthread-compat-wrappers): Define.
7763         (libpthread-routines): Use pthread-compat-wrappers.
7764         * sysdeps/unix/sysv/linux/alpha/Makefile
7765         (libpthread-routines, libpthread-shared-only-routines): Remove
7766         ptw- prefix.
7767         * sysdeps/s390/nptl/Makefile
7768         (libpthread-routines, libpthread-shared-only-routines): Likewise.
7769         * sysdeps/ia64/nptl/Makefile
7770         (libpthread-routines, libpthread-shared-only-routines): Likewise.
7771         * sysdeps/nacl/Makefile (libpthread-routines): Use
7772         pthread-compat-wrappers to filter the routines list instead of the
7773         ptw- prefix.
7775 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7777         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
7778         with L() and remove explicit suffix, convert real literals
7779         which can be equivalentally substituted with integers, and
7780         transform -L(x) to L(-x).
7782         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7783         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7784         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7785         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7786         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7787         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7788         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7789         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7790         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7791         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7792         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7793         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7794         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7795         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7796         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7797         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7798         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7799         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7800         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7801         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7802         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7803         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7804         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7805         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7806         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7807         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7808         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7809         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7810         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7812         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7813         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7814         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7815         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7816         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7817         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7818         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7819         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7820         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7821         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7822         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7823         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7824         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7825         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7826         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7827         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7828         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7829         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7830         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7831         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7833 2016-09-13  Florian Weimer  <fweimer@redhat.com>
7835         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
7837 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7839         * malloc/Makefile (tests): Remove individual static test names
7840         and just add all of tests-static.
7842         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
7844 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
7846         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
7847         file.
7849         * sysdeps/sparc/fpu/fegetmode.c: New file.
7850         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
7852         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
7853         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
7855         * sysdeps/s390/fpu/fegetmode.c: New file.
7856         * sysdeps/s390/fpu/fesetmode.c: Likewise.
7858         * sysdeps/powerpc/fpu/fegetmode.c: New file.
7859         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
7860         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
7861         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
7862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
7863         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
7865         * sysdeps/mips/fpu/fegetmode.c: New file.
7866         * sysdeps/mips/fpu/fesetmode.c: Likewise.
7868         * sysdeps/m68k/fpu/fegetmode.c: New file.
7869         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
7871         * sysdeps/ia64/fpu/fegetmode.c: New file.
7872         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
7874         * sysdeps/hppa/fpu/fegetmode.c: New file.
7875         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
7877         * sysdeps/arm/fegetmode.c: New file.
7878         * sysdeps/arm/fesetmode.c: Likewise.
7880         * sysdeps/alpha/fpu/fegetmode.c: New file.
7881         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
7883         * sysdeps/aarch64/fpu/fegetmode.c: New file.
7884         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
7886         * math/fegetmode.c: New file.
7887         * math/fesetmode.c: Likewise.
7888         * sysdeps/i386/fpu/fegetmode.c: Likewise.
7889         * sysdeps/i386/fpu/fesetmode.c: Likewise.
7890         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
7891         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
7892         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
7893         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
7894         declaration.
7895         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
7896         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
7897         typedef.
7898         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7899         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7900         (femode_t): New typedef.
7901         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7902         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7903         (femode_t): New typedef.
7904         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7905         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7906         (femode_t): New typedef.
7907         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7908         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7909         (femode_t): New typedef.
7910         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7911         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7912         (femode_t): New typedef.
7913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7914         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7915         (femode_t): New typedef.
7916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7917         * sysdeps/microblaze/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/mips/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/nios2/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/powerpc/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 variable
7929         declaration.
7930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7931         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7932         (femode_t): New typedef.
7933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7934         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7935         (femode_t): New typedef.
7936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7937         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7938         (femode_t): New typedef.
7939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7940         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7941         (femode_t): New typedef.
7942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7943         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7944         (femode_t): New typedef.
7945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7946         * manual/arith.texi (FE_DFL_MODE): Document macro.
7947         (fegetmode): Document function.
7948         (fesetmode): Likewise.
7949         * math/Versions (fegetmode): New libm symbol at version
7950         GLIBC_2.25.
7951         (fesetmode): Likewise.
7952         * math/Makefile (libm-support): Add fegetmode and fesetmode.
7953         (tests): Add test-femode and test-femode-traps.
7954         * math/test-femode-traps.c: New file.
7955         * math/test-femode.c: Likewise.
7956         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
7957         alias for __fe_dfl_env.
7958         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
7959         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
7960         (__fe_dfl_mode): Likewise.
7961         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
7962         version GLIBC_2.25.
7963         * sysdeps/nacl/libm.abilist: Update.
7964         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7965         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7966         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7967         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7968         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7969         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7970         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7971         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7972         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7973         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7974         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7975         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7977         Likewise.
7978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7979         Likewise.
7980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7983         Likewise.
7984         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7994         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7995         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7997 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7999         [BZ #20495]
8000         [BZ #20508]
8001         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8002         processors, set Use_dl_runtime_resolve_slow and set
8003         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8004         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8005         New.
8006         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8007         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8008         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8009         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8010         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8011         if Use_dl_runtime_resolve_opt is set.  Use
8012         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8013         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8014         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8015         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8016         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8017         New.
8018         (_dl_runtime_resolve_opt): Likewise.
8019         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8020         defined.
8022 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8024         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8025         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8027 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8029         Convert malloc to __libc_lock.  Automated part, using this Perl
8030         s/// command:
8031           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8032             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8033         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8034         conversion.
8036 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8038         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8039         (linknamespace-symlists-tests): Likewise.
8040         (linknamespace-header-tests): Likewise.
8042 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8044         [BZ #19810]
8045         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8046         * elf/tst-noload.c: New test case.
8047         * elf/Makefile (tests): Add tst-noload.
8049 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8051         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8053         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8054         not any more.
8056         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8058 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8060         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8061         (do_cos_slow): Likewise.
8062         (do_sin): Likewise.
8063         (do_sin_slow): Likewise.
8064         (slow): Likewise.
8065         (slow1): Likewise.
8066         (slow2): Likewise.
8067         (sloww): Likewise.
8068         (sloww1): Likewise.
8069         (sloww2): Likewise.
8070         (bsloww): Likewise.
8071         (bsloww1): Likewise.
8072         (bsloww2): Likewise.
8073         (cslow2): Likewise.
8075         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8077         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8078         arguments.  Consolidate input partitioning from callers here.
8079         (do_cos_slow): Likewise.
8080         (do_sin): Likewise.
8081         (do_sin_slow): Likewise.
8082         (do_sincos_1): Remove the no longer necessary input partitioning.
8083         (do_sincos_2): Likewise.
8084         (__sin): Likewise.
8085         (__cos): Likewise.
8086         (slow1): Likewise.
8087         (slow2): Likewise.
8088         (sloww1): Likewise.
8089         (sloww2): Likewise.
8090         (bsloww1): Likewise.
8091         (bsloww2): Likewise.
8092         (cslow2): Likewise.
8094 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8096         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8097         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8098         outside of allocated array.
8100 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8102         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8103         instead of MB_CUR_MAX to avoid variable-length array.
8105 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8107         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8108         (type-double-routines): Add k_rem_pio2.
8109         (type-float-routines): Add k_rem_pio2f.
8111         * sysdeps/generic/math_private.h:
8112         (__kernel_rem_pio2l): Removed.
8114         * math/k_rem_pio2l.c: Removed.
8115         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8116         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8117         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8118         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8120 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8122         * math/Makefile (gen-libm-calls): Add s_fmin
8123         (libm-calls): Remove above.
8125         * math/s_fmin.c: Refactor into ...
8126         * math/s_fmin_template.c: New file.
8128         * math/s_fminf.c: Removed.
8129         * math/s_fminl.c: Removed.
8130         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8131         (LDOUBLE_fmin_libm_version): New macro.
8133         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8134         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8136 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8138         * math/Makefile: (gen-libm-calls): Add s_fmax.
8139         (libm-calls): Remove above.
8141         * math/s_fmax.c: Refactor into ...
8142         * math/s_fmax_template.c: New file.
8143         * math/s_fmaxf.c: Removed.
8144         * math/s_fmaxl.c: Removed.
8146         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8147         (LDOUBLE_fmaxl_libm_version): New macro.
8149         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8150         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8152         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8153         s_fmin.c to pick the aarch64 version of the file.
8154         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8155         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8157 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8159         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8160         (libm-calls): Remove above.
8162         * math/s_nextdown.c: Refactor into ...
8163         * math/s_nextdown_template.c: New file.
8164         * math/s_nextdownf.c: Removed.
8165         * math/s_nextdownl.c: Removed.
8167         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8169 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8171         * math/Makefile (gen-libm-calls): Add s_fdim.
8172         (libm-calls): Move to above.
8174         * math/s_fdim.c: Renamed and refactored into to ...
8175         * math/s_fdim_template.c: New file.
8176         * math/s_fdiml.c: Removed.
8177         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8178         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8180         * sysdeps/generic/math-type-macros-double.h:
8181         (declare_mgen_alias): Don't declare if already declared.
8182         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8183         Likewise.
8185         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8186         (declare_mgen_alias): Don't declare if already declared.
8187         (M_LIBM_NEED_COMPAT): Likewise.
8188         (declare_mgen_libm_compat): Likewise.
8189         (LDOUBLE_fdiml_libm_version): New macro.
8191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8192         Include math/s_fdim.c now that ldbl-opt version is not needed.
8193         (declare_mgen_alias): New macro to disable aliasing.
8195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8196         (declare_mgen_alias): Likewise.
8197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8198         (declare_mgen_alias): Likewise.
8199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8200         (declare_mgen_alias): Likewise.
8201         (M_LIBM_NEED_COMPAT): Likewise.
8203 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8205         [BZ #20525]
8206         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8207         Include <linux/quota.h>.
8208         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8209         and btodb.
8210         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8211         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8212         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8213         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8214         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8215         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8216         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8217         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8218         types.
8219         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8220         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8222 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8224         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8225         (gammal_positive): Fix spacing.
8226         (__ieee754_gammal_r): Likewise.
8228 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8230         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8231         (_Float128): Define as long double, always.
8232         (L): Apply long double type suffix, always.
8234         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8235         _Float128, excepting comments.
8237         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8238         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8239         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8240         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8241         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8242         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8243         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8244         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8245         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8246         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8247         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8248         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8249         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8250         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8251         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8252         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8253         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8254         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8255         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8256         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8257         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8258         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8259         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8260         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8261         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8262         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8263         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8264         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8265         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8266         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8267         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8268         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8269         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8270         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8271         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8272         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8273         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8274         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8275         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8276         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8277         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8278         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8279         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8280         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8281         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8282         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8283         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8284         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8285         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8286         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8287         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8288         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8289         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8290         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8291         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8292         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8293         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8294         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8295         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8296         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8297         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8298         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8299         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8300         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8301         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8302         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8303         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8304         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8306         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8307         _Float128, and include math_private.h.
8308         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8310         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8311         long double semantics.
8312         (_Float128): Likewise.
8313         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8314         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8315         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8316         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8318 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8320         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8321         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8322         * sysdeps/s390/configure: Regenerated.
8323         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8324         instruction for raising over-/underflow if z196 zarch is supported
8325         by default.
8326         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8328 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8330         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8331         it point to a dumb buffer for RPC to fill it.
8333 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8335         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8336         instead of if/else.
8337         (do_sin_slow): Likewise.
8338         (do_sincos_1): Use fabs instead of if/else.
8339         (do_sincos_2): Likewise.
8340         (__sin): Likewise.
8341         (__cos): Likewise.
8342         (slow2): Likewise.
8343         (sloww): Likewise.
8344         (sloww1): Likewise.  Drop argument M.
8345         (sloww2): Use fabs instead of if/else.
8346         (bsloww): Likewise.
8347         (bsloww1): Likewise.
8348         (bsloww2): Likewise.
8350         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8351         fall through comment.
8352         (do_sincos_1): Likewise.
8354         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8355         Consolidate switch cases 0 and 2.
8357 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8359         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
8360         (libm-calls): Remove the above.
8362         * math/s_cexp_template.c: Update using type-generic macros.
8363         * math/s_clog10_template.c: Likewise.
8364         * math/s_cpow_template.c: Likewise.
8365         * math/s_clog_template.c: Likewise.
8366         * math/s_cproj_template.c: Likewise.
8367         * math/s_csqrt_template.c: Likewise.
8369         * math/s_cexp.c: Removed.
8370         * math/s_cexpf.c: Removed.
8371         * math/s_cexpl.c: Removed.
8372         * math/s_clog10.c: Removed.
8373         * math/s_clog10f.c: Removed.
8374         * math/s_clog10l.c: Removed.
8375         * math/s_cpow.c: Removed.
8376         * math/s_cpowf.c: Removed.
8377         * math/s_cpowl.c: Removed.
8378         * math/s_clog.c: Removed.
8379         * math/s_clogf.c: Removed.
8380         * math/s_clogl.c: Removed.
8381         * math/s_cproj.c: Removed.
8382         * math/s_cprojf.c: Removed.
8383         * math/s_cprojl.c: Removed.
8384         * math/s_csqrt.c: Removed.
8385         * math/s_csqrtf.c: Removed.
8386         * math/s_csqrtl.c: Removed.
8388         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
8389         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
8390         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
8391         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
8392         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
8393         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
8395         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
8396         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
8397         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
8398         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
8399         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
8400         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
8401         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
8402         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
8403         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
8404         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
8405         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
8407         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
8408         version.
8410         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
8411         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
8412         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
8413         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
8415 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8417         * s_cexp_template.c: Copy of s_cexp.c.
8418         * s_clog_template.c: Copy of s_clog.c.
8419         * s_clog10_template.c: Copy of s_clog10.c.
8420         * s_cpow_template.c: Copy of s_cpow.c.
8421         * s_cproj_template.c: Copy of s_cproj.c.
8422         * s_csqrt_template.c: Copy of s_csqrt.c.
8424 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8426         [BZ #20517]
8427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8428         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
8429         exported.
8431 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
8433         * math/fetestexceptflag.c: New file.
8434         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
8435         Stefan Liebler.
8436         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8437         (fetestexceptflag): New function declaration.
8438         * manual/arith.texi (fetestexceptflag): Document function.
8439         * math/Versions (fetestexceptflag): New libm symbol at version
8440         GLIBC_2.25.
8441         * math/Makefile (libm-support): Add fetestexceptflag.
8442         (tests): Add test-fetestexceptflag.
8443         * math/test-fetestexceptflag.c: New file.
8444         * sysdeps/nacl/libm.abilist: Update.
8445         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8446         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8447         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8448         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8449         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8450         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8451         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8452         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8453         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8454         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8455         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8456         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8458         Likewise.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8460         Likewise.
8461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8462         Likewise.
8463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8464         Likewise.
8465         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8466         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8467         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8468         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8469         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8471         Likewise.
8472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8473         Likewise.
8474         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8475         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8476         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8478 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8480         [BZ #20432]
8481         Avoid strong references to malloc-internal symbols when linking
8482         statically, to support statically interposed mallocs.
8483         * include/libc-symbols.h (call_function_static_weak): New macro.
8484         * malloc/Makefile (tests): Add tst-interpose-nothread,
8485         tst-interpose-thread, tst-interpose-static-nothread,
8486         tst-interpose-static-thread.
8487         (tests-static): Add tst-interpose-static-nothread,
8488         tst-interpose-static-thread.
8489         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
8490         tst-interpose-aux-thread.o.
8491         (test-extras): Add tst-interpose-aux-nothread,
8492         tst-interpose-aux-thread.
8493         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
8494         tst-interpose-aux-nothread.o.
8495         (tst-interpose-thread, tst-interpose-static-thread): Link with
8496         tst-interpose-aux-thread.o and libthread.
8497         * malloc/tst-interpose-aux-nothread.c: New file.
8498         * malloc/tst-interpose-aux-thread.c: Likewise.
8499         * malloc/tst-interpose-aux.c: Likewise.
8500         * malloc/tst-interpose-aux.h: Likewise.
8501         * malloc/tst-interpose-nothread.c: Likewise.
8502         * malloc/tst-interpose-skeleton.c: Likewise.
8503         * malloc/tst-interpose-static-nothread.c: Likewise.
8504         * malloc/tst-interpose-static-thread.c: Likewise.
8505         * malloc/tst-interpose-thread.c: Likewise.
8506         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
8507         * sysdeps/mach/hurd/fork.c (__fork): Only call
8508         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8509         __malloc_fork_unlock_child if defined.
8510         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8512 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8514         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
8515         timespec C99 designated initialization.
8517 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8519         [BZ #19946]
8520         Avoid expected SIGALRM signals.
8521         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
8522         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
8523         (xpthread_create, xpthread_detach, xpthread_join)
8524         (delayed_exit_thread, delayed_exit): New functions.
8525         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
8526         (tf): Use xpthread_cond_wait.
8527         (do_test): Likewise.  Replace alarm with delayed_exit.
8528         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8529         (do_test): Call delayed_exit.  Report failure.
8530         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8531         (do_test): Call delayed_exit.
8532         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8533         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
8534         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8535         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
8536         error.
8537         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8538         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
8539         error.
8540         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
8541         (do_test): Call delayed_exit.
8542         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
8543         (do_test): Call delayed_exit.
8544         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
8545         (do_test): Call delayed_exit instead of alarm.  Use
8546         xpthread_mutex_lock.
8547         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
8548         (do_test): Call delayed_exit instead of alarm.  Use
8549         xpthread_mutex_lock.
8550         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
8551         (do_test): Call delayed_exit instead of alarm.
8552         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
8553         (do_test): Call delayed_exit instead of alarm.  Use
8554         xpthread_spin_lock.
8555         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
8556         (do_test): Call delayed_exit instead of alarm.  Use
8557         xpthread_join.
8559 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8561         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
8562         adjust CFA when allocating register save area on re-aligned
8563         stack.
8565 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8567         * string/tst-cmp.c: New test.
8568         * string/Makefile (tests): Add it.
8570 2016-08-25  Mark Wielaard  <mark@klomp.org>
8572         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
8573         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
8574         (check_tree_recurse): Use newly defined accessors.
8575         (check_tree): Likewise.
8576         (maybe_split_for_insert): Likewise.
8577         (__tfind): Likewise.
8578         (__tdelete): Likewise.
8579         (trecurse): Likewise.
8580         (tdestroy_recurse): Likewise.
8581         (__tsearch): Likewise. And add asserts for malloc alignment.
8582         (__twalk): Cast root to node in case CHECK_TREE is defined.
8584 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8586         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
8588 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8590         * math/Makefile (libm-gen-calls): Add
8591         catan, catanh, ctan, ctanh.
8592         (libm-calls): Remove the above.
8594         * math/s_catan_template.c: Update using type-generic macros.
8595         * math/s_catanh_template.c: Likewise.
8596         * math/s_ctan_template.c: Likewise.
8597         * math/s_ctanh_template.c: Likewise.
8599         * math/s_catanf.c: Removed.
8600         * math/s_catan.c: Removed.
8601         * math/s_catanl.c: Removed.
8602         * math/s_catanhf.c: Removed.
8603         * math/s_catanh.c: Removed.
8604         * math/s_catanhl.c: Removed.
8605         * math/s_ctanf.c: Removed.
8606         * math/s_ctan.c: Removed.
8607         * math/s_ctanl.c: Removed.
8608         * math/s_ctanhf.c: Removed.
8609         * math/s_ctanh.c: Removed.
8610         * math/s_ctanhl.c: Removed.
8612         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
8613         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
8614         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
8615         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
8616         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
8617         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
8619         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
8620         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
8621         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
8622         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
8624 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8626         * s_catan_template.c: Copy of s_catan.c.
8627         * s_catanh_template.c: Copy of s_catanh.c.
8628         * s_ctan_template.c: Copy of s_ctan.c.
8629         * s_ctanh_template.c: Copy of s_ctanh.c.
8631 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8633         * math/Makefile (gen-libm-calls): Move
8634         casin, casinh, csin, csinh here.
8635         (libm-calls): Remove the above.
8637         * math/s_casin_template.c: Update using type-generic macros.
8638         * math/s_casinh_template.c: Likewise.
8639         * math/s_csin_template.c: Likewise.
8640         * math/s_csinh_template.c: Likewise.
8641         * math/k_casinh_template.c: Likewise.
8643         * math/s_casinf.c: Removed.
8644         * math/s_casin.c: Removed.
8645         * math/s_casinl.c: Removed.
8646         * math/s_casinh.c: Removed.
8647         * math/s_casinhf.c: Removed.
8648         * math/s_casinhl.c: Removed.
8649         * math/s_csin.c: Removed.
8650         * math/s_csinf.c: Removed.
8651         * math/s_csinl.c: Removed.
8652         * math/s_csinh.c: Removed.
8653         * math/s_csinhf.c: Removed.
8654         * math/s_csinhl.c: Removed.
8655         * math/k_casinh.c: Removed.
8656         * math/k_casinhf.c: Removed.
8657         * math/k_casinhl.c: Removed.
8659         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
8660         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
8661         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
8662         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
8664         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
8665         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
8666         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
8667         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
8668         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
8669         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
8670         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
8671         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
8673         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
8674         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
8675         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
8676         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
8678         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
8679         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
8680         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
8681         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
8683 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8685         * s_casin_template.c: Copy of s_casin.c.
8686         * s_casinh_template.c: Copy of s_casinh.c.
8687         * s_csin_template.c: Copy of s_csin.c.
8688         * s_csinh_template.c: Copy of s_csinh.c.
8689         * k_casinh_template.c: Copy of k_casinh.c.
8691 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8693         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
8695 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8697         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
8698         (mul_split) Remove, rename as mul_splitl, remove
8699         redundant float.h include, and include via mul_splitl.h
8701         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8702         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8703         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8704         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8705         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8707         * math/mul_splitl.h: New file.
8709         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
8710         Move into mul_split.h, and remove redundant float.h include.
8712         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8713         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8714         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8715         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
8717         * math/mul_split.h: New file.
8719 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8721         * math/Makefile (libm-gen-calls): Move
8722         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
8723         (libm-calls): Remove above.
8725         * math/s_cacos_template.c: Update using type-generic macros.
8726         * math/s_cacosh_template.c: Likewise.
8727         * math/s_ccos_template.c: Likewise.
8728         * math/s_ccosh_template.c: Likewise.
8730         * math/s_cacosf.c: Removed.
8731         * math/s_cacos.c: Removed.
8732         * math/s_cacosl.c: Removed.
8733         * math/s_cacoshf.c: Removed.
8734         * math/s_cacosh.c: Removed.
8735         * math/s_cacoshl.c: Removed.
8736         * math/s_ccosf.c: Removed.
8737         * math/s_ccos.c: Removed.
8738         * math/s_ccosl.c: Removed.
8739         * math/s_ccoshf.c: Removed.
8740         * math/s_ccosh.c: Removed.
8741         * math/s_ccoshl.c: Removed.
8743         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
8744         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
8745         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
8746         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
8747         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
8748         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
8750         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
8751         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
8752         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
8753         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
8755         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
8756         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
8757         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
8758         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
8760 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8762         * s_cacos_template.c: Copy of s_cacos.c.
8763         * s_cacosh_template.c: Copy of s_cacosh.c.
8764         * s_ccos_template.c: Copy of s_ccos.c.
8765         * s_ccosh_template.c: Copy of s_ccosh.c.
8767 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8769         * stdlib/tst-strtod-round-skeleton.c:
8770         Refactored from tst-strtod-round.c.
8772         (L_): New macro to apply literal modifier.
8773         (FNPFX): New macro to select str or wcs prefix.
8774         (CHAR): New macro to choose wchar_t or char.
8775         (STRM): New macro to choose printf for tested character type.
8777         (STRTO): New macro to choose appropriate string -> real function.
8778         (FNPFXS): Stringitized version of FNPFX.
8779         (STR): Support for above macro.
8780         (STRX): Likewise.
8782         (TEST): Update with above macros.
8783         (test): Likewise.
8784         (GEN_ONE_TEST): Likewise.
8785         (test_in_one_mode): Likewise.
8787         * stdlib/tst-strtod-round.c: New file.
8788         * wcsmbs/tst-wcstod-round.c: New file.
8790         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
8791         (tst-wcstod-round): Add libm depencency for fesetround.
8793 2016-08-19  Zack Weinberg  <zackw@panix.com>
8795         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
8797 2016-08-18  Torvald Riegel  <triegel@redhat.com>
8799         [BZ #20477]
8800         * resolv/res_hconf.c (do_init): Use atomic access.
8801         * resolv/res_hconf.h: Add comments.
8802         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
8803         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
8804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8806 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8808         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8809         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
8810         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8811         Likewise.
8813 2016-08-18  Florian Weimer  <fweimer@redhat.com>
8815         [BZ #16907]
8816         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
8817         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
8818         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
8819         (__attribute__): Remove definition.
8821 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8823         * sysdeps/ieee754/ldbl-128/e_asinl.c:
8824         Remove unused sqrtl declaration.
8826 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8828         * math/Makefile: (gen-libm-templates.stmp): New rule.
8829         (libm-calls): Move carg conj cimag and cabs into ...
8830         (gen-libm-calls): New variable.
8831         (generated): Inform Make objects from gen-libm-calls
8832         may be generated.
8834         * sysdeps/generic/math-type-macros.h: New file.
8835         * sysdeps/generic/math-type-macros-float.h: Likewise.
8836         * sysdeps/generic/math-type-macros-double.h: Likewise.
8837         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8838         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
8839         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
8841         * math/cabs.c: Refactor into
8842         * math/cabs_template.c: new file.
8843         * math/cabsf.c: Removed.
8844         * math/cabsl.c: Removed.
8845         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
8846         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
8848         * math/carg.c: Refactor into
8849         * math/carg_template.c: new file.
8850         * math/cargf.c: Removed.
8851         * math/cargl.c: Removed.
8852         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
8853         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
8855         * math/conj.c: Refactor into
8856         * math/conj_template.c: new file.
8857         * math/conjf.c: Removed.
8858         * math/conjl.c: Removed.
8859         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
8860         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
8862         * math/cimag.c: Refactor into
8863         * math/cimag_template.c: new file.
8864         * math/cimagf.c: Removed.
8865         * math/cimagl.c: Removed.
8866         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8867         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8869         * math/cimag.c: Refactor into
8870         * math/cimag_template.c: new file.
8871         * math/cimagf.c: Removed.
8872         * math/cimagl.c: Removed.
8873         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8874         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8876 2016-08-17  Florian Weimer  <fweimer@redhat.com>
8878         Reduce time to expected nptl/tst-once5 failure.
8879         * nptl/tst-once5.cc (TIMEOUT): Define.
8881 2016-08-17  Florian Weimer  <fweimer@redhat.com>
8883         [BZ #20452]
8884         Avoid additional copies of objects in libc.a in static libraries.
8885         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
8886         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
8887         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
8888         rt-sysdep.
8889         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
8890         Add nptl-sysdep.
8891         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
8892         Add ptw-sysdep.
8893         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
8894         rt-sysdep.
8895         * sysdeps/unix/sysv/linux/alpha/Makefile
8896         (libpthread-shared-only-routines): Add ptw-sysdep,
8897         ptw-sigprocmask, ptw-rt_sigaction.
8898         * sysdeps/unix/sysv/linux/ia64/Makefile
8899         (librt-shared-only-routines): Add rt-sysdep.
8900         * sysdeps/unix/sysv/linux/i386/Makefile
8901         (libpthread-shared-only-routines): Add libc-do-syscall.
8902         * sysdeps/unix/sysv/linux/microblaze/Makefile
8903         (libpthread-shared-only-routines): Add sysdep.
8904         * sysdeps/unix/sysv/linux/powerpc/Makefile
8905         (librt-shared-only-routines): Add rt-sysdep.
8906         (libpthread-shared-only-routines): Add sysdep.
8907         * sysdeps/unix/sysv/linux/s390/Makefile
8908         (librt-shared-only-routines): Add rt-sysdep.
8909         * sysdeps/unix/sysv/linux/sparc/Makefile
8910         (librt-shared-only-routines): Add rt-sysdep.
8911         (libpthread-shared-only-routines): Add sysdep.
8912         * sysdeps/unix/sysv/linux/tile/Makefile
8913         (libpthread-shared-only-routines): Likewise.
8915 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
8917         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
8918         Mask implicit bit out of unpacked value.
8919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
8920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
8921         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
8923         * sysdeps/sparc/fpu/fesetexcept.c: New file.
8925         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
8927         * sysdeps/s390/fpu/fesetexcept.c: New file.
8929         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8930         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
8931         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
8933         * sysdeps/mips/fpu/fesetexcept.c: New file.
8935         * sysdeps/m68k/fpu/fesetexcept.c: New file.
8937         * sysdeps/ia64/fpu/fesetexcept.c: New file.
8939         * sysdeps/hppa/fpu/fesetexcept.c: New file.
8941         * sysdeps/arm/fesetexcept.c: New file.
8943         * sysdeps/alpha/fpu/fesetexcept.c: New file.
8945         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
8947         * math/fesetexcept.c: New file.
8948         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
8949         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
8950         * math/fenv.h: Define
8951         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8952         <bits/libc-header-start.h> instead of including <features.h>.
8953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
8954         declaration.
8955         * manual/arith.texi (fesetexcept): Document function.
8956         * math/Versions (fesetexcept): New libm symbol at version
8957         GLIBC_2.25.
8958         * math/Makefile (libm-support): Add fesetexcept.
8959         (tests): Add test-fesetexcept and test-fesetexcept-traps.
8960         * math/test-fesetexcept.c: New file.
8961         * math/test-fesetexcept-traps.c: Likewise.
8962         * sysdeps/nacl/libm.abilist: Update.
8963         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8964         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8965         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8966         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8967         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8968         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8969         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8970         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8971         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8972         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8973         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8974         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8976         Likewise.
8977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8978         Likewise.
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8980         Likewise.
8981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8982         Likewise.
8983         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8984         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8985         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8986         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8987         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8989         Likewise.
8990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8991         Likewise.
8992         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8994         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8996 2016-08-16  Florian Weimer  <fweimer@redhat.com>
8998         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
8999         New.
9000         (do_test): Apply default_stack_size_in_mb if not set.
9001         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9003 2016-08-15  Andreas Schwab  <schwab@suse.de>
9005         [BZ #20435]
9006         CVE-2016-6323
9007         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9008         as .cantunwind.
9010 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9012         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9013         comment from fraiseexcpt.c.
9015         * math/test-fexcept.c (feraiseexcept_exact): New function.
9016         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9017         (test_except): Likewise.
9019 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9021         [BZ #20455]
9022         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9023         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9024         to be restored.
9026         * math/test-fexcept-traps.c: New file.
9027         * math/test-fexcept.c: Likewise.
9028         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9029         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9030         macro.
9031         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9032         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9034 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9036         * include/atomic.h (atomic_fetch_and_relaxed,
9037         atomic_fetch_and_release, atomic_fetch_or_release,
9038         atomic_fetch_xor_release): New.
9040 2016-08-06  Christian Seiler  <christian@iwakd.de>
9042         [BZ #20444]
9043         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9044         MACH_PORT_NULL.
9046 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9048         * math/s_fdim.c: Avoid alias renamed.
9049         * math/s_fdimf.c: Likewise.
9050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9051         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9052         Add s_fdimf-vis3, s_fdim-vis3.
9053         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9054         (CFLAGS-s_fdim-vis3.c): Likewise.
9055         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9056         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9058 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9061         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9062         Remove s_fdimf-vis3, s_fdim-vis3.
9063         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9064         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9071         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9072         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9074 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9076         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9077         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9078         -Wa,-Av9a -mvis.
9080 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9082         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9083         LIT() to individual constants in simple expressions
9084         after splitting on spaces.
9085         (_apply_lit): Rename replaced version, and use it to
9086         apply to what appears to be a token.
9088         * math/libm-test.inc: Fix many, many issues with
9089         spacing.
9091 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9093         * math/math.h: Move comment about <bits/mathdef.h> definitions
9094         above inclusion of <bits/mathdef.h>.  Do not mention
9095         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9097 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9099         * include/atomic.h (atomic_exchange_relaxed): New.
9101 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9103         * math/e_scalb.c: Do not include <fenv.h>.
9104         (invalid_fn): Do calculation resulting in NaN instead of raising
9105         FE_INVALID and returning a NaN explicitly.
9106         * math/e_scalbf.c: Do not include <fenv.h>.
9107         (invalid_fn): Do calculation resulting in NaN instead of raising
9108         FE_INVALID and returning a NaN explicitly.
9109         * math/e_scalbl.c: Do not include <fenv.h>.
9110         (invalid_fn): Do calculation resulting in NaN instead of raising
9111         FE_INVALID and returning a NaN explicitly.
9113 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9115         * po/de.po: Updated from Translation Project.
9116         * po/fi.po: Likewise.
9117         * po/sv.po: Likewise.
9119 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9121         [BZ #20452]
9122         Use sysdep.o from libc.a in static libraries.
9123         * sysdeps/unix/sysv/linux/i386/Makefile
9124         (libpthread-shared-only-routines): Add sysdep.
9125         (librt-shared-only-routines): Likewise.
9127 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9129         * math/tgmath.h (nextdown): Define if
9130         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9131         (nextup): Likewise.
9133         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9134         macro.
9135         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9136         Document.
9137         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9138         Document macro.
9139         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9140         (exp10f): Likewise.
9141         (exp10l): Likewise.
9142         * math/bits/mathcalls.h (exp10): Declare if
9143         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9145         * manual/arith.texi (nextup): Fix typo in last change.
9147 2016-08-03  Zack Weinberg  <zackw@panix.com>
9149         [BZ #19239]
9150         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9151         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9152         define major, minor, and makedev to issue deprecation warnings on use.
9153         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9154         previously-activated deprecation warnings for these macros and prevent
9155         subsequent inclusions of this header from having any effect.
9156         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9157         including <sys/sysmacros.h>, and undefine it again afterward.
9159 2016-08-03  Zack Weinberg  <zackw@panix.com>
9161         * sysdeps/generic/sys/sysmacros.h: Delete file.
9162         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9163         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9164         * bits/sysmacros.h: ... here; this encoding is now the generic
9165         encoding.  Now defines only the following macros:
9166         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9167         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9168         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9170         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9171         bits/sysmacros.h and the above new macros to generate the
9172         public implementations of major, minor, and makedev.
9173         * misc/tst-makedev.c: New test.
9174         * include/sys/sysmacros.h: New wrapper.
9176         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9177         (routines): Add makedev.
9178         (tests): Add tst-makedev.
9179         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9180         gnu_dev_makedev.
9181         * posix/Makefile (headers): Remove sys/sysmacros.h.
9182         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9184         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9185         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9186         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9187         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9188         * sysdeps/unix/sysv/linux/arm/libc.abilist
9189         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9190         * sysdeps/unix/sysv/linux/i386/libc.abilist
9191         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9192         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9193         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9194         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9195         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9196         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9197         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9198         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9199         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9204         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9206         * sysdeps/unix/sysv/linux/sh/libc.abilist
9207         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9208         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9212         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9213         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9214         Add GLIBC_2.25.
9216         * include/features.h (__glibc_clang_prereq): New macro.
9217         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9218         (__attribute_deprecated_msg__): New macros.
9220 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9222         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9223         macro.
9224         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9225         * manual/arith.texi (issignaling): Document as ISO from TS
9226         18661-1:2014.
9227         (nextup): Likewise.
9228         (nextupf): Likewise.
9229         (nextupl): Likewise.
9230         (nextdown): Likewise.
9231         (nextdownf): Likewise.
9232         (nextdownl): Likewise.
9233         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9234         macro.
9235         * math/math.h: Define
9236         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9237         <bits/libc-header-start.h> instead of including <features.h>.
9238         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9239         [__USE_GNU].
9240         * math/bits/mathcalls.h (nextdown): Declare if
9241         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9242         (nextup): Likewise.
9243         (__issignaling): Likewise.
9245 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9247         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9248         check, and remove __glibc_likely hint
9249         from FP_INFINITE check.
9250         * s_csinhf.c (__csinhf): Likewise.
9252         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9253         hint from FP_INFINITE check.
9254         * s_csinhl.c (__csinhl): Likewise.
9256 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9258         * math/Makefile (libm-calls): Insert F placeholder into
9259         object names.  Move w_lgamma_compat* routines into
9260         (libm-compat-calls): New variable.
9261         (libm-compat-calls-ldouble-yes): New variable.
9262         (calls): Insert F placeholder.
9263         (generated): Redefine using new type-foreach macro call.
9264         (routines): Likewise.
9266         (types): New variable to hold a list of symbolic names
9267         for each type supported by the target machine.
9268         (libm-routines): Redefine using new types variable.
9269         (type-foreach): macro to replace fooF with the
9270         appropriately suffixed foo for each types.
9272         (type-ldouble-suffix): New variable.
9273         (type-ldouble-routines): Likewise.
9274         (type-ldouble-yes): Likewise.
9275         (type-double-suffix): Likewise.
9276         (type-double-routines): Likewise.
9277         (type-float-suffix): Likewise.
9278         (type-float-routines): Likewise.
9280         (dbl-only-routines): Remove.
9281         (long-c-yes): Likewise.
9282         (long-m-routines): Likewise.
9283         (long-m-support): Likewise.
9284         (long-m-yes): Likewise.
9285         (test-longdouble-yes): Likewise.
9287         (test-float.o): Simplify by increasing the scope of the
9288         recipe which adds libm-test.stmp to the vector types.
9289         (test-ifloat.o): Likewise.
9290         (test-float-finite.o): Likewise.
9291         (test-double.o): Likewise
9292         (test-idouble.o): Likewise.
9293         (test-double-finite.o): Likewise.
9294         (test-ldouble.o): Likewise
9295         (test-ildoubl.o): Likewise.
9296         (test-ldouble-finite.o): Likewise.
9298         (libm-tests): Redefine type tests using foreach and the
9299         list of types in types.
9301         (CPPFLAGS-test-ildoubl.c): Rename to
9302         (CPPFLAGS-test-ildouble.c): New variable
9304         * math/test-ildoubl.c: Rename to
9305         * math/test-ildouble.c: New file.
9307 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9309         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9310         Use fabsl instead of fabs.
9311         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9312         Likewise.
9313         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9314         Add long double suffix to constant to ensure proper
9315         promotion to long double.
9317 2016-08-03  Tom Tromey  <tom@tromey.com>
9319         [BZ #20311]
9320         * nptl_db/Makefile (headers): Add proc_service.h.
9321         * nptl_db/proc_service.h: Add include guard.  Use
9322         __BEGIN/__END_DECLS.
9323         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9324         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9325         arguments.
9328 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9330         [BZ #17730]
9331         Avoid using memalign for TCB allocations.
9332         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9333         (_dl_allocate_tls_storage): Use malloc and manual alignment.
9334         Avoid alignment gap in the TLS_DTV_AT_TP case.
9335         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9336         determine the pointer to free.
9337         * nptl/tst-tls3-malloc.c: New test.
9338         * nptl/Makefile (tests): Add it.
9339         (tst-tls3-malloc): Link with libdl, libpthread.
9340         (LDFLAGS-tst-tls3-malloc): Set.
9341         (tst-tls3-malloc.out): Depend on DSO used in test.
9343 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9345         [BZ #17730]
9346         Avoid using memalign for TLS allocations.
9347         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
9348         is_static member with to_free member.
9349         (union dtv): Use struct dtv_pointer.
9350         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9351         dtv_pointer instead of is_static.
9352         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9353         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9354         instead of val.
9355         (allocate_dtv_entry): New function.
9356         (allocate_and_init): Return struct dtv_pointer.  Call
9357         allocate_dtv_entry instead of __libc_memalign.
9358         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
9359         instead of val.
9360         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
9361         instead of is_static.  Adjust call to allocate_and_init.
9362         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
9363         struct dtv_pointer instead of val.
9365 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9367         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
9368         (MALLOC_ALIGN_MASK): Move ...
9369         * malloc/malloc-internal.h: ... to here.
9370         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
9372 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9374         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
9375         (UDP_ENCAP_GTP1U): Likewise.
9377         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
9378         (PF_MAX): Update value.
9379         (AF_QIPCRTR): New macro.
9381 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9383         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
9384         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9385         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9386         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9387         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9388         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9389         s_truncf-vis3, s_trunc-vis3.
9390         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9391         (CFLAGS-s_ceil-vis3.c): Likewise.
9392         (CFLAGS-s_floorf-vis3.c): Likewise.
9393         (CFLAGS-s_floor-vis3.c): Likewise.
9394         (CFLAGS-s_truncf-vis3.c): Likewise.
9395         (CFLAGS-s_trunc-vis3.c): Likewise.
9396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
9397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
9399         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
9401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
9403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9404         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
9405         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9406         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
9407         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9409 2016-08-02  David S. Miller  <davem@davemloft.net>
9411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9412         (__nearbyint_vis3): Don't check for sNaN before float register is
9413         loaded with the incoming argument.
9414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9415         (__nearbyintf_vis3): Likewise.
9416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
9417         Likewise.
9418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
9419         Likewise.
9421         * string/test-strncmp.c (do_test_limit): Make sure the test data
9422         stream is aligned as required for the type "CHAR".
9423         (do_test): Likewise.
9425 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9427         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
9428         by beq instructions jumping to the end of the function.
9429         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
9430         clobber list. Use "i" constraint instead of "X".
9431         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
9432         of "X".
9434 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
9436         * bits/libc-header-start.h: New file.
9437         * Makefile (headers): Add bits/libc-header-start.h.
9438         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
9439         (__GLIBC_USE): New macro.
9440         * libio/stdio.h: Define
9441         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9442         <bits/libc-header-start.h> instead of including <features.h>.
9443         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
9444         (open_memstream): Likewise.
9445         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
9446         (__asprintf): Likewise.
9447         (asprintf): Likewise.
9448         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
9449         (getdelim): Likewise.
9450         (getline): Likewise.
9451         * string/string.h: Define
9452         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9453         <bits/libc-header-start.h> instead of including <features.h>.
9454         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
9455         (strndup): Likewise.
9456         * wcsmbs/wchar.h: Define
9457         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9458         <bits/libc-header-start.h> instead of including <features.h>.
9459         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
9460         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
9462 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9464         Support linking against compatibility symbols, for use in tests.
9465         * include/libc-symbols.h (symbol_version_reference): New macro.
9466         (symbol_version): Use it.
9467         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
9468         (compat_symbol): Use compat_symbol_reference.
9469         (compat_symbol_1, compat_symbol_2): Remove.
9470         (compat_symbol_reference, compat_symbol_reference_1)
9471         (compat_symbol_reference_2): New macro.  Use
9472         symbol_version_reference.
9474 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9476         [BZ #19469]
9477         * malloc/Makefile (CPPFLAGS): Compile tests with
9478         -DTEST_NO_MALLOPT.
9479         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
9481 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
9483         [BZ #20033]
9484         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
9485         finite version.
9486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
9487         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
9488         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
9489         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
9490         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
9491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
9492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
9493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
9494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
9495         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
9496         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
9497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
9498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
9499         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
9500         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
9501         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
9502         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
9503         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
9504         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
9505         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
9506         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
9507         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
9508         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
9509         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
9510         in zero power.
9512 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9514         [BZ #20370]
9515         * malloc/arena.c (get_free_list): Update comment.  Assert that
9516         arenas on the free list have no attached threads.
9517         (remove_from_free_list): New function.
9518         (reused_arena): Call it.
9520 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
9522         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
9523         when it is a NaN.
9524         [_IEEE_FP_INEXACT] Remove.
9525         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
9526         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
9527         when it is a NaN.
9528         [_IEEE_FP_INEXACT] Remove.
9529         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
9530         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
9531         when it is a NaN.
9532         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
9533         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
9534         when its absolute value is greater than 0x1.0p52.
9535         [_IEEE_FP_INEXACT] Remove.
9536         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
9537         when its absolute value is greater than 0x1.0p23.
9538         [_IEEE_FP_INEXACT] Remove.
9540 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
9542         * version.h (RELEASE): Set to "development"
9543         (VERSION): Set to 2.24.90.
9544         * NEWS: Add 2.25 section.
9546         * version.h (RELEASE): Set to "stable"
9547         (VERSION): Set to 2.24.
9548         * include/features.h (__GLIBC_MINOR__): Set to 24.
9550         * NEWS: Add 2.24 fixed bugs.
9551         * po/libc.pot: Regenerate.
9553 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
9555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9556         [$(subdir) = math] (libm-sysdep_routines): Remove.
9557         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9558         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9559         s_truncf-vis3, s_trunc-vis3.
9560         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
9562         file.
9563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
9564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
9565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
9569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
9570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
9572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
9573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
9574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
9575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
9576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
9577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
9578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
9582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
9583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
9584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
9585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
9591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
9594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9596         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
9597         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
9598         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
9599         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
9600         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9601         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9602         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
9603         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
9604         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
9605         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
9607 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
9609         [BZ #20384]
9610         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
9611         test-double-libmvec-sincos-avx-main.o,
9612         test-double-libmvec-sincos-avx2-main.o,
9613         test-double-libmvec-sincos-main.o,
9614         test-float-libmvec-sincosf-avx-main.o,
9615         test-float-libmvec-sincosf-avx2-main.o and
9616         test-float-libmvec-sincosf-main.o.
9617         test-float-libmvec-sincosf-avx512-main.o.
9618         ($(objpfx)test-double-libmvec-sincos): Also link with
9619         $(objpfx)test-double-libmvec-sincos-main.o.
9620         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
9621         $(objpfx)test-double-libmvec-sincos-avx-main.o.
9622         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
9623         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
9624         ($(objpfx)test-float-libmvec-sincosf): Also link with
9625         $(objpfx)test-float-libmvec-sincosf-main.o.
9626         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
9627         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
9628         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
9629         test-double-libmvec-sincos-avx512-main.o and
9630         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
9631         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
9632         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
9633         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
9634         (CFLAGS-test-double-libmvec-sincos.c): Removed.
9635         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
9636         (CFLAGS-test-double-libmvec-sincos-main.c): New.
9637         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
9638         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
9639         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
9640         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
9641         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
9642         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
9643         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
9644         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
9645         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
9646         -DREQUIRE_AVX2.
9647         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
9648         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
9649         -DREQUIRE_AVX512F.
9650         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
9651         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
9652         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9653         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
9654         file.
9655         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
9656         Likewise.
9657         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
9658         Likewise.
9659         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
9660         Likewise.
9661         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
9662         Likewise.
9663         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
9664         Likewise.
9665         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
9666         Likewise.
9667         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
9668         Likewise.
9670 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
9672         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
9674 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
9676         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
9677         and typo in a comment about AT_HWCAP entry.
9679 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9681         * sysdeps/aarch64/libm-test-ulps: Updated.
9683 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9685         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
9686         of r13 as it is not restored in mvcle case.
9688 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
9690         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
9691         Rename "ret" to "__ret".
9692         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
9693         inline_syscall5, inline_syscall6): Likewise.
9695 2016-07-19   Will Newton  <will.newton@gmail.com>
9697         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
9698         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
9699         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
9700         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
9701         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
9703 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
9705         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
9706         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
9707         -mfpmath=387 with $(rtld-CFLAGS).
9708         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
9709         $(rtld-CFLAGS).
9711 2016-07-18   Ross Burton  <ross.burton@intel.com>
9712              Khem Raj  <raj.khem@gmail.com>
9714         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
9715         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
9716         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
9717         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
9718         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
9719         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
9720         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
9721         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
9722         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
9723         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
9724         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
9725         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
9726         R_METAG_TLS_DTPOFF): New.
9728 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9729             Matt Clay  <mclay@lycos.com>
9731         [BZ #20357]
9732         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
9733         to call __mpsin/__mpcos and to negate values.
9734         * math/auto-libm-test-in: Add test.
9735         * math/auto-libm-test-out: Regenerate.
9737 2016-07-18  Zack Weinberg  <zackw@panix.com>
9739         * grp/Makefile: Don't install the internal header grp-merge.h.
9741 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9743         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9745 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9747         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
9749 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9751         [BZ #15368]
9752         * sysdeps/unix/sysv/linux/nptl-signals.h
9753         (__nptl_clear_internal_signals): New function.
9754         (__libc_signal_block_all): Likewise.
9755         (__libc_signal_block_app): Likewise.
9756         (__libc_signal_restore_set): Likewise.
9757         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
9758         implementation.
9759         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
9760         the cached pid/tid value in pthread structure.
9762 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
9764         [BZ #20347]
9765         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9767 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9769         [BZ #20348]
9770         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
9771         preadv64, pwrite64 and pwritev64.
9773 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9775         [BZ #20350]
9776         * posix/tst-preadwrite.c: Renamed to ...
9777         * posix/tst-preadwrite-common.c: This.
9778         (PREAD): Removed.
9779         (PWRITE): Likewise.
9780         (STRINGIFY): Likewise.
9781         (STRINGIFY2): Likewise.
9782         (do_prepare): Make it static and remove function arguments.
9783         (do_test): Likewise.
9784         (PREPARE): Updated.
9785         (TEST_FUNCTION): New.
9786         (name): Make it static.
9787         (fd): Likewise.
9788         (do_prepare): Use create_temp_file.
9789         (do_test): Renamed to ...
9790         (do_test_with_offset): This.  Make it static and accept offset.
9791         Properly check return value of PWRITE and PREAD.  Return bytes
9792         read.  Don't close fd nor unlink name.
9793         * posix/tst-preadwrite.c: Rewrite.
9794         * posix/tst-preadwrite64.c: Likewise.
9796 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9798         [BZ #20309]
9799         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
9800         -mtls-dialect=gnu2 works.
9801         * configure: Regenerated.
9802         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
9803         (tests): Add tst-gnu2-tls1.
9804         (modules-names): Add tst-gnu2-tls1mod.
9805         ($(objpfx)tst-gnu2-tls1): New.
9806         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
9807         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
9808         * elf/tst-gnu2-tls1.c: New file.
9809         * elf/tst-gnu2-tls1mod.c: Likewise.
9810         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
9811         bytes for push in the PLT entry to align the stack.
9813 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9815         [BZ #20349]
9816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
9818 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9820         [BZ #18707]
9821         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
9822         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
9824 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9826         * sysdeps/unix/sysv/linux/sysdep.h
9827         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
9828         guards.
9829         * misc/tst-preadvwritev-common.c: New file.
9830         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
9831         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
9832         a check for files larger than 2GB.
9834         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9835         (__ASSUME_OFF_DIFF_OFF64): Remove define.
9836         * sysdeps/unix/sysv/linux/pread.c
9837         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
9838         __OFF_T_MATCHES_OFF64_T.
9839         * sysdeps/unix/sysv/linux/pread64.c
9840         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
9841         * sysdeps/unix/sysv/linux/preadv.c
9842         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
9843         * sysdeps/unix/sysv/linux/preadv64.c
9844         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
9845         * sysdeps/unix/sysv/linux/pwrite.c
9846         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
9847         * sysdeps/unix/sysv/linux/pwrite64.c
9848         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
9849         * sysdeps/unix/sysv/linux/pwritev.c
9850         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
9851         * sysdeps/unix/sysv/linux/pwritev64.c
9852         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
9854 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
9856         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9857         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
9859 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
9861         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
9863 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
9865         [BZ #20240]
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
9867         (CFLAGS-s_modf-ppc32.c): New variable.
9868         (CFLAGS-s_modff-ppc32.c): Likewise.
9869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9870         (CFLAGS-s_modf-ppc64.c): Likewise.
9871         (CFLAGS-s_modff-ppc64.c): Likewise.
9873 2016-07-07  Andreas Schwab  <schwab@suse.de>
9875         [BZ #20263]
9876         * nptl/tst-robust10.c: New test.
9877         * nptl/Makefile (tests): Add tst-robust10.
9879 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
9881         [BZ #20263]
9882         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
9884 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9886         * sysdeps/s390/linkmap.h (struct link_map_machine):
9887         Remove member gotplt and add member jmprel.
9888         * sysdeps/s390/s390-32/dl-machine.h
9889         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
9890         instead of gotplt with &got[3].
9891         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
9892         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9894 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
9896         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
9898 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9900         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
9901         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
9902         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9903         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
9904         * libio/vtables.c (_IO_vtable_check)
9905         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9906         * libio/libioP.h (IO_set_accept_foreign_vtables)
9907         [!PTR_MANGLE]: Do not call PTR_MANGLE.
9909 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
9911         [BZ #20314]
9912         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
9913         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
9914         $(common-objpfx)cmath.
9915         ($(common-objpfx)cstdlib): New target.
9916         ($(common-objpfx)cmath): Likewise.
9918 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
9920         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
9922 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9924         [BZ #20327]
9925         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
9926         are not part of the string.
9928 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9930         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
9931         * nptl/tst-cancel4-common.h (fifoname): New variable.
9932         (fifofd): Likewise.
9933         (cl_fifo): New function.
9934         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
9935         SIGINT.
9936         (tf_open): Add early cancel test.
9938 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
9940         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
9942 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
9944         * sysdeps/generic/ldsodefs.h
9945         (dl_symbol_visibility_binds_local_p): New inline function.
9946         * elf/dl-addr.c (determine_info): Treat hidden and internal
9947         symbols as local.
9948         * elf/dl-lookup.c (do_lookup_x): Likewise.
9949         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
9951 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
9953         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
9954         invalid exception for a sNaN input.
9955         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9956         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9957         (__nearbyint_vis3): Likewise
9958         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9959         (__nearbyintf_vis3): Likewise
9960         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
9961         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9962         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
9963         Likewise.
9964         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
9965         Likewise.
9967 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
9969         [BZ #20139]
9970         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
9971         (HAVE_AVX512DQ_ASM_SUPPORT): This.
9972         * sysdeps/x86_64/configure.ac: Require assembler from binutils
9973         2.24 or above.
9974         (HAVE_AVX512_ASM_SUPPORT): Removed.
9975         (HAVE_AVX512DQ_ASM_SUPPORT): New.
9976         * sysdeps/x86_64/configure: Regenerated.
9977         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
9978         check unconditional.
9979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9980         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9981         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9982         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
9983         Likewise.
9984         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9985         Likewise.
9986         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9987         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9988         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9989         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9990         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9991         Likewise.
9992         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9993         Likewise.
9994         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9995         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9996         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
9997         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
9998         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
9999         Likewise.
10000         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10001         Likewise.
10002         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10003         Likewise.
10004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10005         Likewise.
10006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10007         Likewise.
10008         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10009         Likewise.
10010         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10011         Likewise.
10012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10013         Likewise.
10014         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10015         Likewise.
10016         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10017         Likewise.
10018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10019         Likewise.
10021 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10023         [BZ #20024]
10024         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10026         of this implementation of vector function.
10027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10030         Likewise.
10031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10032         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10033         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10034         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10035         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10036         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10037         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10038         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10039         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10040         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10041         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10042         for testing vector sincos with fixed ABI.
10043         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10044         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10045         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10046         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10047         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10049         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10050         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10051         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10052         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10053         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10054         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10055         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10056         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10057         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10058         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10060 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10062         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10064 2016-06-30  Anton Blanchard  <anton@samba.org>
10066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10067         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10068         s_sinf-ppc64.
10069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10072         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10074 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10078         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10079         e_expf-ppc64.
10080         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10083         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10085 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10087         [BZ #20277]
10088         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10089         when SHARED is defined.
10091 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10093         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10094         (index_arch_Prefer_ERMS): Likewise.
10095         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10096         __memcpy_erms for Prefer_ERMS.
10097         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10098         (__memmove_erms): Enabled for libc.a.
10099         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10100         __memmove_erms or Prefer_ERMS.
10101         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10102         __mempcpy_erms for Prefer_ERMS.
10103         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10104         __memset_erms for Prefer_ERMS.
10106 2016-06-30  Andreas Schwab  <schwab@suse.de>
10108         [BZ #20262]
10109         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10110         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10111         of memory.
10113 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10115         [BZ #18645]
10116         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10117         (test-extras): Add tst-cleanupx4aux.
10118         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10119         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10120         tst-cleanupx4aux.o.
10121         * nptl/tst-cleanupx4aux.c: New file.
10123 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10125         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10127 2016-06-29  Andreas Schwab  <schwab@suse.de>
10129         [BZ #20260]
10130         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10131         address before the beginning of the string as an integer to avoid
10132         array-bounds warning.
10134 2016-06-28  Richard Henderson  <rth@redhat.com>
10136         * elf/elf.h (EM_BPF): New.
10137         (EM_NUM): Update.
10138         (R_BPF_NONE, R_BPF_MAP_FD): New.
10140         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10141         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10142         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10143         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10144         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10145         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10146         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10147         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10148         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10149         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10150         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10151         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10152         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10153         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10154         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10155         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10156         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10157         (EM_NUM): Update.
10159 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10161         [BZ #18960]
10162         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10163         Set _nl_current_LC_CATEGORY_used to two instead of one.
10165 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10167         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10168         (do_test): ... this.
10169         (TEST_FUNCTION): New macro.
10170          Include test-skeleton.c.
10171         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10172         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10174 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10176         [BZ #15479]
10177         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10178         floating-point environment rather than just control word.
10179         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10180         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10181         floating-point environment, with "invalid" exceptions merged in,
10182         rather than just control word.
10183         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10184         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10185         "inexact" exceptions.
10187         [BZ #15479]
10188         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10189         floating-point environment rather than just control word.
10190         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10191         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10192         floating-point environment, with "invalid" exceptions merged in,
10193         rather than just control word.
10194         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10195         * math/libm-test.inc (floor_test_data): Do not allow spurious
10196         "inexact" exceptions.
10198         [BZ #15479]
10199         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10200         floating-point environment rather than just control word.
10201         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10202         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10203         floating-point environment, with "invalid" exceptions merged in,
10204         rather than just control word.
10205         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10206         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10207         "inexact" exceptions.
10209 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10211         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10212         __libc_vfork.
10213         (__vfork) [IS_IN (libc)]: Remove alias.
10214         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10215         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10216         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10218 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10220         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10221         of atomic_compare_and_exchange_bool_rel.
10222         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10223         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10224         catomic_compare_and_exchange_bool_rel): Remove.
10225         * sysdeps/aarch64/atomic-machine.h
10226         (atomic_compare_and_exchange_bool_rel): Likewise.
10227         * sysdeps/alpha/atomic-machine.h
10228         (atomic_compare_and_exchange_bool_rel): Likewise.
10229         * sysdeps/arm/atomic-machine.h
10230         (atomic_compare_and_exchange_bool_rel): Likewise.
10231         * sysdeps/mips/atomic-machine.h
10232         (atomic_compare_and_exchange_bool_rel): Likewise.
10233         * sysdeps/microblaze/atomic-machine.h
10234         ( __arch_compare_and_exchange_bool_8_rel,
10235         __arch_compare_and_exchange_bool_16_rel): Likewise.
10236         * sysdeps/powerpc/atomic-machine.h
10237         ( __arch_compare_and_exchange_bool_8_rel,
10238         __arch_compare_and_exchange_bool_16_rel): Likewise.
10239         * sysdeps/powerpc/powerpc32/atomic-machine.h
10240         ( __arch_compare_and_exchange_bool_32_rel,
10241         __arch_compare_and_exchange_bool_64_rel): Likewise.
10242         * sysdeps/powerpc/powerpc64/atomic-machine.h
10243         ( __arch_compare_and_exchange_bool_32_rel,
10244         __arch_compare_and_exchange_bool_64_rel): Likewise.
10245         * sysdeps/tile/atomic-machine.h
10246         (atomic_compare_and_exchange_bool_rel): Likewise.
10248 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10250         [BZ #20296]
10251         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10252         when either argument is a NaN.
10253         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10254         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10256         * math/libm-test.inc (snan_value_ld): New macro.
10257         (isgreater_test_data): Add sNaN tests.
10258         (isgreaterequal_test_data): Likewise.
10259         (isless_test_data): Likewise.
10260         (islessequal_test_data): Likewise.
10261         (islessgreater_test_data): Likewise.
10262         (isunordered_test_data): Likewise.
10263         (nextafter_test_data): Likewise.
10264         (nexttoward_test_data): Likewise.
10265         (remainder_test_data): Likewise.
10266         (remquo_test_data): Likewise.
10267         (significand_test_data): Likewise.
10268         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10270 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10272         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10273         environment macros are defined.
10274         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10276 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10278         [BZ #20191]
10279         Implement vtable verification in libio.
10280         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10281         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10282         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10283         _IO_new_file_init_internal instead of _IO_file_init.
10284         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10285         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10286         * libio/Makefile (routines): Add vtables.
10287         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10288         (_IO_init): Remove, not for internal use.
10289         (_IO_init_internal): Declare, internal replacement for _IO_init.
10290         (_IO_file_init): Remove, not for internal use.
10291         (_IO_new_file_init): Remove, not for internal use.
10292         (_IO_new_file_init_internal): Declare, internal replacement for
10293         _IO_new_file_init.
10294         (_IO_old_file_init): Remove, not for internal use.
10295         (_IO_old_file_init_internal): Declare, internal replacement for
10296         _IO_old_file_init.
10297         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10298         internal use.
10299         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10300         Declare.
10301         (libio_vtable): New macro.
10302         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10303         functions.
10304         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10305         _IO_new_file_init.
10306         (_IO_new_file_init): New externally visible wrapper which disables
10307         vtable verification.
10308         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10309         Define as vtables.
10310         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10311         (_IO_init): New externally visible wrapper which disables
10312         vtable verification.
10313         * libio/iofdopen.c (_IO_new_fdopen): Call
10314         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10315         comment.
10316         * libio/iofopen.c (__fopen_internal): Call
10317         _IO_new_file_init_internal instead of _IO_file_init.
10318         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10319         Define as vtables.
10320         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10321         _IO_new_file_init_internal instead of _IO_file_init.
10322         * libio/iopopen.c (_IO_new_popen): Likewise.
10323         (_IO_proc_jumps): Define as vtable.
10324         * libio/iovdprintf.c (_IO_vdprintf): Call
10325         _IO_new_file_init_internal instead of _IO_file_init.
10326         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10327         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10328         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10329         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10330         _IO_old_file_init.
10331         (_IO_old_file_init): New externally visible wrapper which disables
10332         vtable verification.
10333         (_IO_old_file_jumps): Define as vtable.
10334         * libio/oldiofdopen.c (_IO_old_fdopen): Call
10335         _IO_old_file_init_internal instead of _IO_old_file_init.
10336         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10337         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10338         (_IO_old_proc_jumps): Define as vtable.
10339         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10340         Define as vtables.
10341         * libio/vtables.c: New file.
10342         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10343         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10344         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10345         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10346         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10347         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10348         instead of _IO_init.
10350 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10352         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10354 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10356         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10357         potentially unused.
10359 2016-06-22  Florian Weimer  <fweimer@redhat.com>
10361         * test-skeleton.c (write_message): New function.
10362         * malloc/tst-mallocfork2.c (write_message): Remove.
10363         * debug/tst-longjmp_chk2.c (write_indented): New function.
10364         (write_message): Remove.
10365         (stackoverflow_handler): Call write_indented.
10367 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
10369         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
10370         "inexact" exceptions after fnstenv.
10371         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10372         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10373         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10375 2015-06-22  Zack Weinberg  <zackw@panix.com>
10377         * sysdeps/generic/bits/hwcap.h: Moved to ...
10378         * bits/hwcap.h: Here.
10380 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
10382         * sysdeps/aarch64/memcpy.S (memcpy):
10383         Further tuning for performance.
10385 2016-06-21  Florian Weimer  <fweimer@redhat.com>
10387         [BZ #20284]
10388         * malloc/arena.c (reused_arena): Do not return NULL if we start
10389         out with a non-corrupted arena.
10391 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10393         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
10394         * misc/tst-preadvwritev.c: New file.
10395         * misc/tst-preadvwritev64.c: Likewise.
10396         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
10397         usage.
10398         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
10399         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
10400         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
10401         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
10403 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
10405         [BZ #19654]
10406         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10407         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
10408         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
10409         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
10410         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
10411         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
10412         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
10413         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
10414         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
10415         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
10416         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
10417         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
10418         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
10419         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
10420         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
10421         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
10422         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
10423         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
10424         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
10425         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
10426         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
10427         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
10428         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
10429         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
10430         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
10431         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
10433 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10435         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
10436         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
10438 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10440         * sysdeps/aarch64/memcpy.S (memcpy):
10441         Rewrite of optimized memcpy and memmove.
10442         * sysdeps/aarch64/memmove.S (memmove): Remove
10443         memmove code (merged into memcpy.S).
10445 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10447         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
10448         * sysdeps/generic/dl-dtv.h: New file.
10449         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10450         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
10451         (dtv_t): Remove.
10452         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10453         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
10454         (dtv_t): Remove.
10455         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10456         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
10457         (dtv_t): Remove.
10458         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10459         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
10460         (dtv_t): Remove.
10461         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10462         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
10463         (dtv_t): Remove.
10464         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10465         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
10466         (dtv_t): Remove.
10467         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10468         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
10469         (dtv_t): Remove.
10470         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
10471         (dtv_t): Remove.
10472         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10473         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
10474         (dtv_t): Remove.
10475         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10476         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
10477         (dtv_t): Remove.
10478         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10479         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
10480         (dtv_t): Remove.
10481         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10482         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
10483         (dtv_t): Remove.
10484         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10485         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
10486         (dtv_t): Remove.
10487         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10488         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
10489         (dtv_t): Remove.
10490         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10491         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
10492         (dtv_t): Remove.
10493         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10494         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
10495         (dtv_t): Remove.
10497 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10499         Revert symbol poisoning of  __malloc_initialize_hook.
10500         * include/stdc-predef.h (__malloc_initialize_hook): Remove
10501         poisoning.
10502         * malloc/Makefile: Remove un-poisoning.
10503         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
10504         instead of old__malloc_initialize_hook.
10505         * malloc/malloc-hooks.h: Likewise.
10506         * malloc/malloc.c: Likewise.
10507         * malloc/mcheck-init.c: Likewise.
10509 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
10511         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
10513 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
10515         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
10516         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
10517         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10518         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10520 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10522         * NEWS: Mention addition of nextup and nextdown.
10523         * manual/arith.texi: Document nextup and nextdown.
10524         * manual/libm-err-tab.pl: Add nextup and nextdown.
10525         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
10526         * math/Versions (libm): Add GLIBC_2.24.
10527         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
10528         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10529         Add new test.
10530         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
10531         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
10532         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
10533         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
10534         (nextup_test_data): Likewise.
10535         (nextdown_test_data): Likewise.
10536         * math/s_nextdown.c: New file.
10537         * math/s_nextdownf.c: Likewise.
10538         * math/s_nextdownl.c: Likewise.
10539         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
10540         F(nextup): New function.
10541         F(nextdown): Likewise.
10542         * math/tgmath.h: Add nextup and nextdown.
10543         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
10544         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
10545         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10546         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10547         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10548         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
10549         Add nextup and nextdown.
10550         (CFLAGS-nldbl-nextup.c): New variable.
10551         (CFLAGS-nldbl-nextdown.c): Likewise.
10552         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
10553         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
10554         * sysdeps/nacl/libm.abilist: Update.
10555         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10556         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10557         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10558         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10559         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10560         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10564         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10565         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10566         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10569         Likewise.
10570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10572         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10573         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10574         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10576         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
10578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
10579         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10580         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10582         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10584 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10586         * manual/pattern.texi: Fix typos & grammar errors.
10588 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10590         * manual/search.texi: Fix typos & grammar errors.
10592 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10594         * manual/message.texi: Fix typos & grammar errors.
10596 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
10598         * manual/contrib.texi: Fix spelling typos.
10599         * manual/crypt.texi: Likewise.
10600         * manual/filesys.texi: Likewise.
10601         * manual/locale.texi: Likewise.
10602         * manual/message.texi: Likewise.
10603         * manual/nss.texi: Likewise.
10604         * manual/string.texi: Likewise.
10606 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10608         * manual/locale.texi: Fix typos & grammar errors.
10610 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10612         * manual/charset.texi: Fix typos & grammar errors.
10614 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10616         * manual/string.texi: Fix typos.
10618 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10620         * manual/ctype.texi: Fix typos.
10622 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10624         * manual/memory.texi: Fix various typos & grammar errors.
10626 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
10628         [BZ #20255]
10629         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
10630         * math/libm-test.inc (fdim_test_data): Add another test.
10632         [BZ #6796]
10633         [BZ #20255]
10634         [BZ #20256]
10635         * math/s_fdim.c: Include <math_private.h>.
10636         (__fdim): Use math_narrow_eval on result.
10637         * math/s_fdimf.c: Include <math_private.h>.
10638         (__fdimf): Use math_narrow_eval on result.
10639         * sysdeps/i386/fpu/s_fdim.S: Remove file.
10640         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
10641         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
10642         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
10643         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
10644         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
10645         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
10646         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
10647         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
10648         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
10649         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
10650         * math/libm-test.inc (fdim_test_data): Expect errno setting on
10651         overflow.  Add sNaN tests.
10653         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
10654         fpclassify.
10655         * math/s_fdimf.c (__fdimf): Likewise.
10656         * math/s_fdiml.c (__fdiml): Likewise.
10658 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10660         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10661         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
10662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10663         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10664         ifunc'ed strcasecmp/strncasecmp.
10665         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
10666         [EALIGN]: Removed.
10667         [END]: Likewise.
10668         [__strcasecmp]: Define instead of the above to control symbol name.
10669         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
10670         for __strcasecmp_power8.
10671         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
10672         for __strncasecmp_power8.
10673         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
10674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
10675         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
10676         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
10677         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
10678         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
10680 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
10682         [BZ #20252]
10683         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
10684         arguments when second argument is a NaN.
10685         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
10686         qNaN tests.
10688         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
10689         (conj_test_data): Likewise.
10690         (copysign_test_data): Likewise.
10691         (creal_test_data): Likewise.
10692         (fma_test_data): Likewise.
10693         (fmod_test_data): Likewise.
10695         [BZ #20250]
10696         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
10697         itself.
10698         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
10699         zero input to itself.
10700         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
10701         Likewise.
10702         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
10703         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10704         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10705         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10706         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
10708 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10710         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
10711         * nptl/tst-cancel4-common.c: New file.
10712         * nptl/tst-cancel4-common.h: Likewise.
10713         * nptl/tst-cancel4.c: Move common definitions to
10714         tst-cancel4-common.{c,h} file.
10715         * nptl/tst-cancel4_1.c: New test.
10716         * nptl/tst-cancel4_2.c: New test.
10718 2016-06-13  Florian Weimer  <fweimer@redhat.com>
10720         [BZ #20248]
10721         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
10722         (write_message): New function.
10723         (stackoverflow_handler): Call it instead of printf, to avoid
10724         excessive stack usage by printf.
10725         (do_test): Restore SIGSEGV, SIGBUS default handlers.
10727 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10729         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
10730         (prio_inherit_missing): Remove define.
10731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10732         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
10734         Likewise.
10735         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10736         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10737         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10738         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10739         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10740         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10742 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10744         [BZ #19670]
10745         [BZ #19672]
10747         * io/test-lfs.c (do_prepare): Use xmalloc.
10748         * io/tst-fcntl.c (do_prepare): Likewise.
10749         * libio/tst-fopenloc.c (do_bz17916): Likewise.
10750         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
10751         * login/tst-utmp.c (do_prepare): Likewise.
10752         * posix/tst-exec.c (do_prepare): Likewise.
10753         * posix/tst-pathconf.c (prepare): Likewise.
10754         * posix/tst-spawn.c (do_prepare): Likewise.
10755         * posix/tst-truncate.c (do_prepare): Likewise.
10756         * rt/tst-aio.c (do_prepare): Likewise.
10757         * rt/tst-aio64.c (do_prepare): Likewise.
10759 2016-06-11  Florian Weimer  <fweimer@redhat.com>
10761         [BZ #20237]
10762         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
10763         (get*ent): Set entidx to NULL during initialization.  If entidx is
10764         NULL, start iteration from the beginning.
10766 2016-06-11  Florian Weimer  <fweimer@redhat.com>
10768         * malloc/malloc.c (musable): Return correct size for dumped fake
10769         mmapped chunk.
10771 2016-06-11  Florian Weimer  <fweimer@redhat.com>
10773         [BZ #20222]
10774         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
10775         (_IO_cookie_write): Likewise.
10776         (_IO_cookie_seek): Likewise.
10777         (_IO_cookie_close): Likewise.
10778         (_IO_old_cookie_seek): Likewise.
10779         (set_callbacks): New function.
10780         (_IO_cookie_init): Call set_callbacks to copy callbacks.
10782 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
10784         * locale/programs/localedef.c (oldstyle_tables): Remove.
10785         * locale/programs/localedef.h (oldstyle_tables): Likewise.
10787 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
10789         [BZ #20240]
10790         * math/Makefile (CFLAGS-s_modf.c): New variable.
10791         (CFLAGS-s_modff.c): Likewise.
10792         (CFLAGS-s_modfl.c): Likewise.
10793         * math/libm-test.inc (modf_test_data): Add sNaN tests.
10795 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
10797         [BZ #20215]
10798         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
10799         [!__GNUC_PREREQ (3,2)]: Likewise.
10801 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10803         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
10804         (msghdr.msg_controllen): Likewise.
10805         (cmsghdr.cmsg_len): Likewise.
10806         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
10807         ptw-oldsendmsg.
10808         (CFLAGS-oldrecvmsg.c): Remove rule.
10809         (CFLAGS-oldsendmsg.c): Likewise.
10810         (CFLAGS-recvmsg.c): Add rule.
10811         (CFLAGS-sendmsg.c): Likewise.
10812         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
10813         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
10814         (CFLAGS-recvmsg.c): Remove rule.
10815         (CFLAGS-sendmsg.c): Likewise.
10816         (CFLAGS-oldrecvmsg.c): Likewise.
10817         (CFLAGS-oldsendmsg.c): Likewise.
10818         (CFLAGS-recvmmsg.c): Likewise.
10819         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
10820         to kernel defined interfaces.
10821         (msghdr.msg_controllen): Likewise.
10822         (cmsghdr.cmsg_len): Likewise.
10823         (msghdr.__glibc_reserved1): Remove member.
10824         (msghdr.__glibc_reserved2): Likewise.
10825         (cmsghdr.__glibc_reserved1): Likewise.
10826         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
10827         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
10828         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10829         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10830         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
10831         version.
10832         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10833         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
10834         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10835         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
10836         Remove recvmsg and sendmsg.
10837         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
10838         Likewise.
10839         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10840         Likewise.
10841         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10842         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10843         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10844         Likewise.
10845         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10846         Likewise.
10847         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
10848         [libc] (GLIBC_2.24): Likewise.
10849         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10850         Likewise.
10851         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10852         Likewise.
10853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10854         [libc] (GLIBC_2.24): Likewise.
10855         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10856         Likewise.
10857         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10858         Likewise.
10859         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10860         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10861         Likewise.
10862         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10863         Likewise.
10864         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10865         Likewise.
10866         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
10867         Likewise.
10868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
10869         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
10870         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
10871         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
10872         version for {recv,send,recm,sendm}msg.
10873         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10874         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10875         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10876         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10877         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10878         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10879         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10880         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10881         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10882         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10886         Likewise.
10887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10888         Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10891         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10895         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10896         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10899         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10900         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10901         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10903 2016-06-10  Florian Weimer  <fweimer@redhat.com>
10905         [BZ #19564]
10906         Remove __malloc_initialize_hook from the API.
10907         * malloc/malloc.h (__malloc_initialize_hook): Remove.
10908         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
10909         #pragma GCC poison.
10910         * malloc/malloc-hooks.h: New file.
10911         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10912         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
10913         (old__malloc_initialize_hook): Rename from
10914         __malloc_initialize_hook to evade poisoning.  Turn into compat
10915         symbol.
10916         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
10917         __malloc_initialize_hook.
10918         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
10919         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
10920         * manual/memory.texi (Hooks for Malloc): Remove
10921         __malloc_initialize_hook.  Adjust hook example.
10923 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
10925         [BZ #20235]
10926         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
10927         itself.
10928         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10929         * math/libm-test.inc (log2_test_data): Add sNaN tests.
10931         [BZ #20234]
10932         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
10933         infinity or NaN input to itself.
10935         [BZ #20233]
10936         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
10937         to itself.
10939         [BZ #20232]
10940         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
10941         itself.
10943 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
10945         * sysdeps/x86_64/start.S (_start): Always indirect branch to
10946         __libc_start_main via GOT.
10948 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
10950         * sysdeps/x86_64/memcopy.h: New file.
10951         * sysdeps/x86_64/wordcopy.c: Likewise.
10953 2016-06-09  Florian Weimer  <fweimer@redhat.com>
10955         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
10956         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
10957         <cstdlib>.
10958         (optimization_barrier): New.
10959         (do_test): Use it.  Call quick_exit in the global namespace.
10960         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
10961         instead of <cstdlib>, <thread>.
10962         (optimization_barrier): New.
10963         (non_main_thread): Adjust declaration.  Call optimization_barrier.
10964         Call quick_exit in the global namespace.
10965         (do_test): Call optimization_barrier.  Use pthread_create,
10966         pthread_join instead of std::thread.
10968 2016-06-09  Andreas Schwab  <schwab@suse.de>
10970         [BZ #19755]
10971         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
10972         new entries in auto-propagate mode.
10973         * nscd/grpcache.c (cache_addgr): Likewise.
10975 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
10977         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
10978         New functions.
10979         (add_temp_file): Use them.
10981 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
10983         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
10985 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
10987         [BZ #20229]
10988         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
10989         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
10990         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
10992         [BZ #20228]
10993         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
10994         itself.
10995         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10996         * math/libm-test.inc (log10_test_data): Add sNaN tests.
10998         [BZ #20227]
10999         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11000         itself.
11001         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11002         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11003         * math/libm-test.inc (log_test_data): Add sNaN tests.
11005         [BZ #20226]
11006         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11007         itself.
11008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11009         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11010         (exp10_test_data): Likewise.
11011         (expm1_test_data): Likewise.
11013         [BZ #20225]
11014         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11015         itself.
11016         * math/s_ldexpf.c (__ldexpf): Likewise.
11017         * math/s_ldexpl.c (__ldexpl): Likewise.
11018         * math/w_scalbln.c (__w_scalbln): Likewise.
11019         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11020         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11021         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11022         (scalbln_test_data): Likewise.
11024         [BZ #20224]
11025         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11026         argument to itself.
11027         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11029 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11031         [BZ #19776]
11032         * sysdeps/x86_64/memcpy.S: Make it dummy.
11033         * sysdeps/x86_64/mempcpy.S: Likewise.
11034         * sysdeps/x86_64/memmove.S: New file.
11035         * sysdeps/x86_64/memmove_chk.S: Likewise.
11036         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11037         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11038         * sysdeps/x86_64/memmove.c: Removed.
11039         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11040         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11041         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11042         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11043         Likewise.
11044         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11045         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11047         memcpy-sse2-unaligned, memmove-avx-unaligned,
11048         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11050         (__libc_ifunc_impl_list): Replace
11051         __memmove_chk_avx512_unaligned_2 with
11052         __memmove_chk_avx512_unaligned.  Remove
11053         __memmove_chk_avx_unaligned_2.  Replace
11054         __memmove_chk_sse2_unaligned_2 with
11055         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11056         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11057         with __memmove_avx512_unaligned.  Replace
11058         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11059         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11060         with __memcpy_chk_avx512_unaligned.  Remove
11061         __memcpy_chk_avx_unaligned_2.  Replace
11062         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11063         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11064         Replace __memcpy_avx512_unaligned_2 with
11065         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11066         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11067         with __mempcpy_chk_avx512_unaligned.  Remove
11068         __mempcpy_chk_avx_unaligned_2.  Replace
11069         __mempcpy_chk_sse2_unaligned_2 with
11070         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11071         Replace __mempcpy_avx512_unaligned_2 with
11072         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11073         Replace __mempcpy_sse2_unaligned_2 with
11074         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11075         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11076         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11077         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11078         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11079         (ENTRY): Removed.
11080         (END): Likewise.
11081         (ENTRY_CHK): Likewise.
11082         (libc_hidden_builtin_def): Likewise.
11083         Don't include ../memcpy.S.
11084         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11085         __memcpy_chk_avx512_unaligned_erms and
11086         __memcpy_chk_avx512_unaligned.  Use
11087         __memcpy_chk_avx_unaligned_erms and
11088         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11089         Default to __memcpy_chk_sse2_unaligned.
11090         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11091         Change function suffix from unaligned_2 to unaligned.
11092         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11093         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11094         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11095         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11096         (ENTRY): Removed.
11097         (END): Likewise.
11098         (ENTRY_CHK): Likewise.
11099         (libc_hidden_builtin_def): Likewise.
11100         Don't include ../mempcpy.S.
11101         (mempcpy): New.  Add a weak alias.
11102         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11103         __mempcpy_chk_avx512_unaligned_erms and
11104         __mempcpy_chk_avx512_unaligned.  Use
11105         __mempcpy_chk_avx_unaligned_erms and
11106         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11107         Default to __mempcpy_chk_sse2_unaligned.
11109 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11111         [BZ #19881]
11112         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11113         into ...
11114         * sysdeps/x86_64/memset.S: This.
11115         (__bzero): Removed.
11116         (__memset_tail): Likewise.
11117         (__memset_chk): Likewise.
11118         (memset): Likewise.
11119         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11120         defined.
11121         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11122         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11123         (__memset_zero_constant_len_parameter): Check SHARED instead of
11124         PIC.
11125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11126         memset-avx2 and memset-sse2-unaligned-erms.
11127         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11128         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11129         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11130         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11131         (__bzero): Enabled.
11132         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11133         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11134         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11135         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11136         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11137         (memset): Removed.
11138         (__memset_chk): Likewise.
11139         (MEMSET_SYMBOL): New.
11140         (libc_hidden_builtin_def): Replace __memset_sse2 with
11141         __memset_sse2_unaligned.
11142         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11143         __memset_chk_sse2 and __memset_chk_avx2 with
11144         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11145         Use __memset_chk_sse2_unaligned_erms or
11146         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11147         __memset_chk_avx512_unaligned_erms and
11148         __memset_chk_avx512_unaligned.
11150 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11152         * math/gen-auto-libm-test.c (fp_format_desc): remove
11153         suffix member.
11154         (output_generic_value): Remove usage of suffix member,
11155         and the resulting unuse of the fp_format argument.
11156         (output_for_one_input_case): Remove unused fp_format
11157         parameter.
11159         * math/auto-libm-test-out: Regenerate.
11161         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11162         usage with TEST_COND_ibm128.
11163         (TEST_COND_flt_32): Remove.
11164         (TEST_COND_dbl_64): Remove.
11165         (TEST_COND_ldbl_96_intel): Remove.
11166         (TEST_COND_ldbl_96_m68k): Remove.
11167         (TEST_COND_ldbl_128): Remove.
11169 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11171         * auto-libm-test-in:
11172         Replace flt-32 usage with binary32.
11173         Replace dbl-64 usage with binary64.
11174         Replace ldbl-intel-96 usage with intel96.
11175         Replace ldbl-m68k-96 usage with m68k96.
11176         Replace ldbl-128ibm usage with ibm128.
11177         Replace ldbl-128 usage with binary128.
11179         * auto-libm-test-out: Regenerate.
11181 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11183         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11184         (parse_ulps): Dynamically generate type name matching
11185         string from all_floats.
11186         (get_ulps): Generate the ulps as an array instead.
11187         (output_ulps): Dynamically compose the type based
11188         on the number of supported formats, and print
11189         the indices as type specific helper macros.
11191         * math/libm-test.inc: Remove comment about CHOOSE.
11192         (ulp_data): Generate the type in libm-test-ulps.h.
11193         (ULP_IDX): New macro.
11194         (find_ulps): Update usage of max_ulp.
11196         * math/test-double-vlen2.h (CHOOSE): Remove.
11197         * math/test-double-vlen4.h (CHOOSE): Likewise.
11198         * math/test-double-vlen8.h (CHOOSE): Likewise.
11199         * math/test-float.c (CHOOSE): Likewise.
11200         * math/test-float-finite.c (CHOOSE): Likewise.
11201         * math/test-double.c (CHOOSE): Likewise.
11202         * math/test-double-finite.c (CHOOSE): Likewise.
11203         * math/test-idouble.c (CHOOSE): Likewise.
11204         * math/test-ifloat.c (CHOOSE): Likewise.
11205         * math/test-ildoubl.c (CHOOSE): Likewise.
11206         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11207         * math/test-ldouble.c (CHOOSE): Likewise.
11209         * math/test-float.h (TEST_FLOAT): Remove.
11210         * math/test-double.h (TEST_DOUBLE): Likewise.
11211         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11213 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11215         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11216         (parse_args): Strip C suffix from floating point literals
11217         typed with 'f' and wrap them with LIT().
11219         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11220         (test_ff_f_data_nexttoward): Rename to
11221         (test_fj_f_data): New struct.
11222         (nexttoward_test_data): Relabel tests as
11223         TEST_fj_f instead of TEST_ff_f.
11225 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11227         Emacs bug 23726.
11228         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11229         (__libc_realloc): Correct size computation for dumped fake mmapped
11230         chunks.
11232 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #20219]
11235         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11236         to itself.
11237         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11239         [BZ #20218]
11240         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11241         to itself.
11242         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11244 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11246         [BZ #20195]
11247         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11248         check to ...
11249         (init_cpu_features): Here.
11251 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11253         [BZ #20214]
11254         * sysdeps/unix/sysv/linux/bits/in.h
11255         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11256          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11257         Define to 1.
11258         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11259          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11260         Define to 0.
11261         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11262         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11264 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11266         [BZ #20198]
11267         * stdlib/Makefile (tests): Add tst-quick_exit, and
11268         tst-thread-quick_exit.
11269         [ifeq ($(have-cxx-thread_local),yes)]
11270         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11271         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11272         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11273         (LDLIBS-tst-thread-quick_exit): Likewise.
11274         [ifneq ($(have-cxx-thread_local),yes)]
11275         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11276         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11277         If run_dtors is true call __call_tls_dtors.
11278         (exit): Call __run_exit_handlers with run_dtors set to true.
11279         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11280         definition.
11281         * stdlib/quick_exit.c (quick_exit): Remove function.
11282         (__new_quick_exit): New function.
11283         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11284         function.
11285         * stdlib/tst-quick_exit.cc: New file.
11286         * stdlib/tst-thread-quick_exit.cc: New file.
11287         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11288         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11289         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11290         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11291         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11292         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11293         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11294         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11295         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11296         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11297         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11298         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11300         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11301         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11302         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11307         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11308         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11309         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11310         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11311         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11314         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11315         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11316         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11318 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11320         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11321         a typo in comments.
11323 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11325         [BZ #20213]
11326         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11327         argument to itself.
11328         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11330 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11332         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11333         required flags.
11334         (CFLAGS-pwritev64.c): Likewise.
11335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11337         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11338         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11339         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11340         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11341         syscall from auto-generation.
11342         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11343         [WORDSIZE == 64] (pwritev64): Remove macro.
11344         [!PWRITEV] (PWRITEV): Likewise.
11345         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11346         [!PWRITEV] (PWRITE): Likewise.
11347         [!PWRITEV] (OFF_T): Likewise.
11348         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11349         (LO_HI_LONG): Remove macro.
11350         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11351         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11352         (PWRITEV): Remove macro.
11353         (PWRITEV_REPLACEMENTE): Likewise.
11354         (PWRITE): Likewise.
11355         (OFF_T): Likewise.
11356         (pwritev64): New function.
11357         * nptl/tst-cancel4.c (tf_writev): Add test.
11359         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
11360         required flags.
11361         (CFLAGS-preadv64.c): Likewise.
11362         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
11363         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11364         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
11365         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
11366         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
11367         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
11368         syscall from auto-generation.
11369         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
11370         [WORDSIZE == 64] (preadv64): Remove macro.
11371         [!PREADV] (PREADV): Likewise.
11372         [!PREADV] (PREADV_REPLACEMENT): Likewise.
11373         [!PREADV] (PREAD): Likewise.
11374         [!PREADV] (OFF_T): Likewise.
11375         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
11376         (LO_HI_LONG): Remove macro.
11377         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
11378         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
11379         (PREADV): Remove macro.
11380         (PREADV_REPLACEMENTE): Likewise.
11381         (PREAD): Likewise.
11382         (OFF_T): Likewise.
11383         (preadv64): New function.
11384         * nptl/tst-cancel4.c (tf_preadv): Add test.
11386 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11388         [BZ #20212]
11389         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
11390         argument to itself.
11391         * math/libm-test.inc (acos_test_data): Add sNaN tests.
11393 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11395         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
11396         New symbol defined as libc_hidden_def.
11397         (strcasestr): Became a weak alias to __strcasestr.
11398         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
11399         according to multi-arch support.  Move __stpncpy hidden
11400         definition from here to...
11401         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
11402         symbol stpncpy.
11403         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
11404         libc_hidden_builtin_def.
11405         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
11406         memset symbol to use when multi-arch support is available.
11408 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11410         * dlfcn/tst-rec-dlopen.c: Include string.h.
11412 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11414         * manual/install.texi: Remove mention of --without-tls
11415         * INSTALL: Regenerate.
11417 2016-06-05  Florian Weimer  <fweimer@redhat.com>
11419         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
11420         Remove.
11421         (call_function, interposed_malloc_called): New variables.
11422         (malloc): New function.
11423         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
11424         and clear call_function as needed.
11426 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
11428         * include/wchar.h (__wmemset): Use __typeof.
11430 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
11432         * include/wchar.h (__wmemset): Declare function without typeof.
11434 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
11436         [BZ #20205]
11437         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
11438         exponent when incrementing negative subnormal with low mantissa
11439         word zero.
11440         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11441         Add another test.
11443 2016-06-03  Florian Weimer  <fweimer@redhat.com>
11445         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
11446         __wmemset instead of wmemset.
11448 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
11450         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
11451         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
11452         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
11453         __USE_KERNEL_IPV6_DEFS to 0.
11454         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
11455         Update comment.
11457 2016-06-01  Florian Weimer  <fweimer@redhat.com>
11459         [BZ #19861]
11460         Do not use IFUNC resolver with potentially unrelocated symbol.
11461         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
11462         (DEFINE_FORK): Remove macro and inline definition.
11463         (fork_alias): Renamed from fork_ifunc.
11464         (__fork_alias): Renamed from __fork_ifunc.
11466 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
11468         [BZ 19653]
11469         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
11470         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
11472 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11474         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
11475         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
11476         i386-linux-gnu).
11477         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
11478         Set to no.
11479         * sysdeps/mach/hurd/configure: Refresh.
11481 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11483         [BZ #20178]
11484         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
11485         on failure instead of exit.
11487 2016-05-30  Roland McGrath  <roland@hack.frob.com>
11489         [BZ #3629]
11490         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
11491         of POSIX.1-2008.
11493 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11495         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
11496           Use PLT entry for calling _hurd_self_sigstate.
11498 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
11500         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
11501         available logical processors with SMT level type sharing L2
11502         cache for Intel processors.
11504 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11506         [BZ #20160]
11507         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
11508         argument to itself before returning the result.
11509         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11510         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11511         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11512         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11513         Likewise.
11514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11515         Likewise.
11516         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
11517         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
11518         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11519         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11520         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11521         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11523         [BZ #20160]
11524         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
11525         argument to itself before returning the result.
11526         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11527         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11528         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
11530         Likewise.
11531         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11532         Likewise.
11533         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
11534         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
11535         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
11536         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11537         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11538         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11540 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11542         * libm-test.inc: Replace usage of M_El with
11543         (lit_e): New macro.
11545 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11547         * libm-test.inc: Replace usage of M_PI_4l with
11548         (lit_pi_4_d): New macro.
11550 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11552         * libm-test.inc: Replace usage of M_PIl with
11553         (lit_pi): New macro.
11555 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11557         * libm-test.inc: Replace usage of M_PI2l with
11558         (lit_pi_2_d): New macro.
11560         * math/test-double.h (LITM): New macro.
11561         * math/test-float.h (LITM): Likewise.
11562         * math/test-ldouble.h (LITM): Likewise.
11564 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11566         * libm-test.inc (M_PI_34l): Rename to
11567         (lit_pi_3_m_4_d): New Macro.
11568         (M_PI_34_LOG10El): Rename to
11569         (lit_pi_3_m_4_ln10_m_d): New Macro.
11570         (M_PI2_LOG10El): Rename to
11571         (lit_pi_2_ln10_m_d):  New Macro.
11572         (M_PI4_LOG10El): Rename to
11573         (lit_pi_4_ln10_m_d):  New Macro.
11574         (M_PI_LOG10El): Rename to
11575         (lit_pi_ln10_d):  New Macro.
11577 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11579         [BZ #20157]
11580         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
11581         determine whether to negate low half if [_ARCH_PPCGR], and integer
11582         comparison otherwise.
11583         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
11584         determine whether to negate low half.
11586         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
11587         (NO_TEST_INLINE_DOUBLE): Likewise.
11588         (TEST_COND_x86_64): Likewise.
11589         (TEST_COND_x86): Likewise.
11590         (M_PI_6l): Likewise.
11592 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11594         * math/libm-test.inc:
11595         (TEST_FLOAT): Change usage to TEST_COND_binary32.
11596         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
11597         (TEST_LDOUBLE): Update usage to evaluate as true if
11598         the guarded tests match the property being tested.
11599         (LDBL_MAX_EXP): Change to MAX_EXP.
11600         (LDBL_MIN_EXP): Change to MIN_EXP.
11601         (LDBL_MANT_DIG): Change to MANT_DIG, except for
11602         nexttoward tests.
11604 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11606         * math/libm-test.inc:
11607         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
11608         (TYPE_MIN): Likewise.
11609         (TYPE_TRUE_MIN): Likewise.
11610         (TYPE_MAX): Likewise.
11611         (MIN_EXP): Likewise.
11612         (MAX_EXP): Likewise.
11613         (MANT_DIG): Likewise.
11615         (FSTR_MAX): New macro.
11616         (__CONCATX): Likewise.
11617         (QTYPE_STR): Likewise.
11618         (TEST_COND_binary32): Likewise.
11619         (TEST_COND_binary64): Likewise.
11620         (TEST_COND_binary128): Likewise.
11621         (TEST_COND_ibm128): Likewise.
11622         (TEST_COND_intel96): Likewise.
11623         (TEST_COND_m68k96): Likewise.
11625         (TEST_COND_flt_32): Redefine as equivalent format test macro.
11626         (TEST_COND_dbl_64): Likewise.
11627         (TEST_COND_ldbl_96_intel): Likewise.
11628         (TEST_COND_ldbl_96_m68k): Likewise.
11629         (TEST_COND_ldbl_128): Likewise.
11630         (TEST_COND_ldbl_128ibm): Likewise.
11632         (plus_zero): Redefine using LIT macro.
11633         (minus_zero): Likewise.
11634         (plus_infty): Redefine as (INF).
11635         (minux_infty): Redefine as (-INF).
11636         (max_value): Redefine as TYPE_MAX.
11637         (min_value): Redefine as TYPE_MIN.
11638         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
11640         (print_float): Refactor to use snprintf to convert FLOAT values
11641         to string. This brings it closer to dropin replacement of strtof
11642         for the TS 18661 defined types.
11643         (update_stats): Likewise.
11644         (print_complex_function_ulps): Likewise.
11645         (print_max_error): Likewise.
11646         (print_complex_max_error): Likewise.
11647         (check_float_internal): Likewise.
11649         * math/test-float.h (PREFIX): New macro.
11650         (LIT): Likewise.
11651         (TYPE_STR): Likewise.
11652         (FTOSTR): Likewise.
11654         * math/test-double.h (PREFIX): New macro.
11655         (LIT): Likewise.
11656         (TYPE_STR): Likewise.
11657         (FTOSTR): Likewise.
11659         * math/test-ldouble.h (PREFIX): New macro.
11660         (LIT): Likewise.
11661         (TYPE_STR): Likewise.
11662         (FTOSTR): Likewise.
11664 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11666         [BZ #20156]
11667         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
11668         to itself when zero or not finite.
11669         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
11670         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11671         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
11672         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11674 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
11676         [BZ #20153]
11677         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
11678         x * x + x for infinities and NaNs.
11680         [BZ #20151]
11681         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
11682         argument to itself before returning result.
11683         (__ieee754_y0l): Likewise.
11684         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11685         (__ieee754_y1l).
11687         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
11688         (atan_test_data): Likewise.
11689         (ceil_test_data): Likewise.
11690         (cos_test_data): Likewise.
11691         (cosh_test_data): Likewise.
11692         (erf_test_data): Likewise.
11693         (exp2_test_data): Likewise.
11694         (fabs_test_data): Likewise.
11695         (floor_test_data): Likewise.
11696         (ilogb_test_data): Likewise.
11697         (j0_test_data): Likewise.
11698         (j1_test_data): Likewise.
11699         (jn_test_data): Likewise.
11700         (lgamma_test_data): Likewise.
11701         (lrint_test_data): Likewise.
11702         (llrint_test_data): Likewise.
11703         (logb_test_data): Likewise.
11704         (lround_test_data): Likewise.
11705         (llround_test_data): Likewise.
11706         (nearbyint_test_data): Likewise.
11707         (rint_test_data): Likewise.
11708         (round_test_data): Likewise.
11709         (sin_test_data): Likewise.
11710         (sincos_test_data): Likewise.
11711         (sinh_test_data): Likewise.
11712         (sqrt_test_data): Likewise.
11713         (tan_test_data): Likewise.
11714         (tanh_test_data): Likewise.
11715         (tgamma_test_data): Likewise.
11716         (trunc_test_data): Likewise.
11717         (y0_test_data): Likewise.
11718         (y1_test_data): Likewise.
11719         (yn_test_data): Likewise.
11721         * math/libm-test.inc: Update comment about NaN testing.
11722         (TEST_SNAN): New macro.
11723         (snan_value): Likewise.
11724         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
11725         (fpclassify_test_data): Add sNaN tests.
11726         (isfinite_test_data): Likewise.
11727         (isinf_test_data): Likewise.
11728         (isnan_test_data): Likewise.
11729         (isnormal_test_data): Likewise.
11730         (issignaling_test_data): Likewise.
11731         (signbit_test_data): Likewise.
11732         * math/gen-libm-test.pl (%beautify): Add snan_value.
11733         (show_exceptions): Add argument $test_snan.
11734         (parse_args): Handle snan_value as non-finite.  Update call to
11735         show_exceptions.
11736         * math/Makefile (libm-test-no-inline-cflags): Add
11737         -fsignaling-nans.
11739 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11741         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
11742         (CFLAGS-oldsendmsg.c): Add rule.
11743         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11744         Correct recvmsg symbol name.
11745         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
11746         Likewise.
11748 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11750         * sysdeps/unix/sysv/linux/Makefile
11751         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
11752         oldsendmmsg.
11753         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
11754         sendmmsg.
11755         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11756         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11757         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11758         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11760         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11761         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11763         Likewise.
11764         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11765         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
11766         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11767         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
11768         iovlen and controllen fields to adjust to POSIX specification.
11769         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11771         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
11772         and change to correct expected type.
11773         (msghdr.msg_controllen): Likewise.
11774         (cmsghdr.cmsg_len): Likewise.
11775         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
11776         expected POSIX assumption about the size.
11777         (msghdr.msg_controllen): Likewise.
11778         (msghdr.__glibc_reserved1): Likewise.
11779         (msghdr.__glibc_reserved2): Likewise.
11780         (cmsghdr.cmsg_len): Likewise.
11781         (cmsghdr.__glibc_reserved1): Likewise.
11782         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
11783         Add ptw-oldrecvmsg and ptw-oldsendmsg.
11784         (CFLAGS-sendmsg.c): Remove rule.
11785         (CFLAGS-recvmsg.c): Likewise.
11786         (CFLAGS-oldsendmsg.c): Add rule.
11787         (CFLAGS-oldrecvmsg.c): Likewise.
11788         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
11789         recvmsg and sendmsg.
11790         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
11791         Likewise.
11792         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
11793         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
11794         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11795         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
11796         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11797         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11798         Likewise.
11799         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11800         Likewise.
11801         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
11802         Likewise.
11803         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
11804         Likewise.
11805         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11806         Likewise.
11807         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11808         Likewise.
11809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
11810         (GLIBC_2.24): Likewise.
11811         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11812         Likewise.
11813         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11814         Likewise.
11815         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11816         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11817         Likewise.
11818         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11819         Likewise.
11820         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11821         Likewise.
11822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
11823         (GLIBC_2.24): Likewise.
11824         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
11825         Likewise.
11826         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
11827         Likewise.
11828         * sysdeps/unix/sysv/linux/Makefile
11829         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
11830         (CFLAGS-sendmsg.c): Add rule.
11831         (CFLAGS-recvmsg.c): Likewise.
11832         (CFLAGS-oldsendmsg.c): Likewise.
11833         (CFLAGS-oldrecvmsg.c): Likewise.
11834         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
11835         initialization.
11836         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11837         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11838         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
11839         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11840         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
11841         iovlen and controllen fields to adjust to POSIX specification.
11842         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
11843         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
11844         added recvmsg and sendmsg.
11845         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11846         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11847         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11848         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11849         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11850         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11851         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11852         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11853         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11854         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11855         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11856         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11858         Likewise.
11859         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11861         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11862         Likewise.
11863         Likewise.
11864         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11865         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11866         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11867         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11868         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11869         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11871         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11873         Likewise.
11874         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11875         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11877         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
11878         from auto-generation.
11879         (sendmsg): Likewise.
11880         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
11881         (sendmsg): Likewise.
11882         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
11883         (sendmsg): Likewise.
11884         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
11885         (sendmsg): Likewise.
11886         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
11887         (sendmsg): Likewise.
11888         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
11889         (sendmsg): Likewise.
11890         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
11891         Likewise.
11892         (sendmsg): Likewise.
11893         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
11894         (sendmsg): Likewise.
11895         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11897         Remove.
11898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11899         Likewise.
11900         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11901         Undefine.
11902         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11903         Likewise.
11904         * sysdeps/unix/sysv/linux/kernel-features.h
11905         (__ASSUME_SENDMSG_SYSCALL): Define.
11906         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11907         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11909         Remove.
11910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11911         Likewise.
11912         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11913         Undefine.
11914         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11915         Likewise.
11916         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11917         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11918         Remove.
11919         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11920         Likewise.
11921         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11922         Undefine.
11923         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11924         Likewise.
11925         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11926         (__ASSUME_SENDMSG_SYSCALL): Undefine.
11927         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11928         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11929         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11930         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11931         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11932         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11933         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11935 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11937         * stdlib/gen-tst-strtod-round.c: Add backslash to
11938         compile command in comment.
11939         (printfp): Remove the literal suffix, and define an infinite
11940         value as INF to avoid expansion clash with INFINITY.
11941         (round_str): Remove the literal suffix.
11942         (round_for_all): Likewise, remove the now duplicate ldbl-64
11943         entry, and remove some magic constants.
11945         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
11946         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
11947         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
11948         (_CONCAT): New macro.
11949         (CONCAT): Likewise.
11950         (CHOOSE_ld): Likewise.
11951         (CHOOSE_f): Likewise.
11952         (CHOOSE_d): Likewise.
11953         (FTYPE_MEMBER): Likewise.
11954         (BOOL_MEMBER): Likewise.
11955         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
11956         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
11957         (_XNTRY): Likewise.
11958         (XNTRY): Likewise.
11959         (_ENTRY): Likewise.
11960         (ENTRY): Likewise.
11961         (test_exactness): Generate members via macro.
11962         (test_results): Likewise.
11963         (test): Update members.
11964         (TEST): Redefine using new macros.
11965         (INF): New macro.
11966         (fetestmodes): New structure.
11967         (do_test): Refactor to be type generic.
11968         (test_in_one_mode): Refactor duplicate code into
11969         (GEN_ONE_TEST): New macro.
11971         * stdlib/tst-strtod-round-data.h: Regenerate.
11973         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
11974         Extend to pass additional arbitrary parameters to
11975         generators.
11977 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
11979         [BZ #15479]
11980         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
11981         floating-point state after first floating-point operation on
11982         input.  Restore full floating-point state instead of just rounding
11983         mode.
11984         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11985         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11986         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11987         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11988         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11990         [BZ #15479]
11991         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
11992         floating-point state after first floating-point operation on
11993         input.  Restore full floating-point state instead of just rounding
11994         mode.
11995         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11996         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11997         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11998         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11999         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12001 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12003         [BZ #19727]
12004         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12005         valid high surrogate.
12006         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12007         of an utf16 surrogate.
12008         * iconv/gconv_simple.c (BODY): Likewise.
12009         * iconvdata/bug-iconv12.c: New file.
12010         * iconvdata/Makefile (tests): Add bug-iconv12.
12012 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12014         [BZ #19726]
12015         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12016         outptrp in case of an illegal input.
12017         * iconv/tst-iconv6.c: New file.
12018         * iconv/Makefile (tests): Add tst-iconv6.
12020 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12022         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12023         an error in case of a value in range of an utf16 low surrogate.
12025 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12027         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12028         an error in case of a value in range of an utf16 low surrogate.
12030 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12032         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12033         Move to ...
12034         * sysdeps/s390/Makefile: ... here.
12035         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12036         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12037         (BRANCH_ON_COUNT): New define.
12038         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12039         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12040         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12041         run on s390-32, too.
12042         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12043         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12044         run on s390-32, too.
12045         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12046         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12047         run on s390-32, too.
12049 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12051         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12052         etf3eh or new vector loop-variant.
12054 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12056         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12057         etf3eh or new vector loop-variant.
12059 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12061         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12062         or new vector loop-variant.
12064 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12066         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12067         Rename to TR_LOOP and usage of tr instead of troo instruction.
12069 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12071         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12074 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12076         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12077         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12078         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12079         New override define.
12080         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12082 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12084         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12085         * sysdeps/s390/configure.ac: Add test for S390 vector register
12086         support in gcc.
12087         * sysdeps/s390/configure: Regenerated.
12089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12091         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12092         Install file from $(objpfx)gconv-modules.
12093         ($(objpfx)gconv-modules): Concatenate architecture specific file
12094         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12095         * sysdeps/s390/gconv-modules: New file.
12096         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12097         Deleted.
12098         ($(objpfx)gconv-modules-s390): Deleted.
12099         (sysdeps-gconv-modules): New variable.
12101 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12103         [BZ #15479]
12104         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12105         of immediate operand to rounding instruction.
12106         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12107         Likewise.
12108         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12109         Likewise.
12110         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12111         Likewise.
12113 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12115         * math/libm-test.inc (MIN_EXP): Directly define as
12116         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12118 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12120         * math/libm-test.inc (MANT_DIG): Directly define as
12121         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12123 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12125         * stdlib/gen-tst-strtod-round.c (main):
12126           Change usage to more closely match the generated
12127           output.  Add usage and compilation instructions.
12128           (string_to_fp): Add and use FILE* parameter as
12129           output target.
12130           (print_fp): Likewise.
12131           (round_str): Likewise.
12132           (round_for_all): Likewise.
12133         * stdlib/tst-strtod-round.c (tests): Move into
12134         * stdlib/tst-strtod-round-data.h: New file.
12136 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #15479]
12139         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12140         (__round): Do not force "inexact" exception.
12141         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12142         variable.
12143         (__round): Do not force "inexact" exception.
12144         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12145         (__roundf): Do not force "inexact" exception.
12146         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12147         (__roundl): Do not force "inexact" exception.
12148         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12149         (__roundl): Do not force "inexact" exception.
12150         * math/libm-test.inc (round_test_data): Do not allow spurious
12151         "inexact" exceptions.
12153         [BZ #15479]
12154         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12155         exception in comment.
12156         (huge): Remove variable.
12157         (__floor): Do not force "inexact" exception.
12158         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12159         "inexact" exception in comment.
12160         (huge): Remove variable.
12161         (__floor): Do not force "inexact" exception.
12162         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12163         exception in comment.
12164         (huge): Remove variable.
12165         (__floorf): Do not force "inexact" exception.
12166         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12167         exception in comment.
12168         (huge): Remove variable.
12169         (__floorl): Do not force "inexact" exception.
12171         [BZ #15479]
12172         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12173         exception in comment.
12174         (huge): Remove variable.
12175         (__ceil): Do not force "inexact" exception.
12176         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12177         "inexact" exception in comment.
12178         (huge): Remove variable.
12179         (__ceil): Do not force "inexact" exception.
12180         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12181         (__ceilf): Do not force "inexact" exception.
12182         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12183         exception in comment.
12184         (huge): Remove variable.
12185         (__ceill): Do not force "inexact" exception.
12187 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12189         * config.h.in (BIND_NOW): New.
12190         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12191         * configure: Regenerated.
12192         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12193         indirect branch via the GOT slot.
12195 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12197         [BZ #19765]
12198         * sysdeps/s390/mempcpy.S: New File.
12199         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12201         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12202         Add mempcpy variants.
12203         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12204         (memcpy): Adjust to be usable from mempcpy entry point.
12205         (__memcpy_mvcle): Likewise.
12206         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12207         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12208         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12209         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12210         (__memcpy_z10): Likewise.
12211         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12213 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12215         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12216         Remove __GI_ symbol.
12217         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12218         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12219         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12220         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12221         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12222         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12224 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12226         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12227         Use cghi instead of chi to compare 64bit value.
12229 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12231         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12232         Jump to 1MB check before executing mvc-loop.
12234 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12236         [BZ #6527]
12237         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12238         unconditionally.
12239         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12241 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12243         * stdlib/tst-strtod6.c (do_test): Use new type generic
12244         invocation of the test function.
12245         (test): Refactor into ...
12246         (TEST_STRTOD): New macro base function.
12248 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12250         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12251         (TEST_STRTOD): New macro.
12252         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12254 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12256         * stdlib/tst-strtod6.c (do_test): Use new type generic
12257         invocation of the test function.
12258         (test): Refactor into ...
12259         (TEST_STRTOD): New macro base function.
12261 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12263         CVE-2016-4429
12264         [BZ #20112]
12265         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12266         payload.
12268 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12270         [BZ #20111]
12271         * bits/sockaddr.h (_SS_SIZE): Define.
12272         * bits/socket.h (_SS_SIZE): Remove.
12273         (_SS_PADSIZE): Adjust to account for all padding.
12274         (struct sockaddr_storage): Update comment.  Avoid implicit
12275         padding.
12276         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12277         (_SS_PADSIZE): Adjust to account for all padding.
12278         (struct sockaddr_storage): Update comment.  Avoid implicit
12279         padding.
12280         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12281         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12282         (_SS_PADSIZE): Adjust to account for all padding.
12283         (struct sockaddr_storage): Update comment.  Avoid implicit
12284         padding.
12285         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12286         __SS_SIZE is 126 in this version.
12287         * inet/tst-sockaddr.c: New file.
12288         * inet/Makefile (tests): Add tst-sockaddr.c
12289         (tst-sockaddr.c): Compile with non-strict aliasing.
12291 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12293         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12294         [XPG3 || XPG4].
12295         (NL_ARGMAX): Also expect for [XPG3].
12296         (NL_LANGMAX): Likewise.
12297         (NL_MSGMAX): Likewise.
12298         (NL_NMAX): Likewise.
12299         (NL_SETMAX): Likewise.
12300         (NL_TEXTMAX): Likewise.
12301         (NZERO): Likewise.
12302         (TMP_MAX): Likewise.
12303         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12304         variable.
12306         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12307         (PF_MAX): Update value.
12308         (AF_KCM): New macro.
12309         (SOL_NETBEUI): Likewise.
12310         (SOL_LLC): Likewise.
12311         (SOL_DCCP): Likewise.
12312         (SOL_NETLINK): Likewise.
12313         (SOL_TIPC): Likewise.
12314         (SOL_RXRPC): Likewise.
12315         (SOL_PPPOL2TP): Likewise.
12316         (SOL_BLUETOOTH): Likewise.
12317         (SOL_PNPIPE): Likewise.
12318         (SOL_RDS): Likewise.
12319         (SOL_IUCV): Likewise.
12320         (SOL_CAIF): Likewise.
12321         (SOL_ALG): Likewise.
12322         (SOL_NFC): Likewise.
12323         (SOL_KCM): Likewise.
12324         (MSG_BATCH): New enum value and macro.
12326 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12328         [BZ #18185]
12329         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12330         sharing L2 cache to 2 for Knights Landing.
12332 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
12334         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12335         (FTW_DP): Do not expect for [XPG3 || XPG4].
12336         (FTW_SL): Do not expect for [XPG3].
12337         (FTW_SLN): Likewise.
12338         (FTW_PHYS): Likewise.
12339         (FTW_MOUNT): Likewise.
12340         (FTW_DEPTH): Likewise.
12341         (FTW_CHDIR): Likewise.
12342         (nftw): Likewise.
12343         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12344         variable.
12346 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12348         * manual/errno.texi: Fix various typos & grammar errors.
12350 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12352         * manual/intro.texi: Fix duplicated typo.
12354 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12356         [BZ #13304]
12357         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
12358         <float.h>, <math_private.h> and <stdlib.h>.
12359         (add_split): New function.
12360         (mul_split): Likewise.
12361         (ext_val): New typedef.
12362         (store_ext_val): New function.
12363         (mul_ext_val): New function.
12364         (compare): New function.
12365         (add_split_ext): New function.
12366         (__fmal): After checking for Inf, NaN and zero, compute result as
12367         an exact sum of scaled double values in round-to-nearest before
12368         adding those up and adjusting for other rounding modes.
12369         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
12370         tests of fma.
12371         * math/auto-libm-test-out: Regenerated.
12373 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12375         [BZ #20119]
12376         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
12377         processor level type mask for CPUID with EAX == 11.
12379 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12381         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
12382         logical threads if the HTT bit is 0.
12383         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
12384         (index_cpu_HTT): Likewise.
12385         (reg_HTT): Likewise.
12387 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12389         [BZ #20115]
12390         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
12391         Remove alignments on jump targets.
12393 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12395         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
12396         (getpwent): Likewise.
12397         (setpwent): Likewise.
12398         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
12399         variable.
12401         * conform/data/search.h-data (insque): Do not expect for [XPG3].
12402         (remque): Likewise.
12403         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
12404         variable.
12406 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12408         * math/libm-test.inc: Update comment not to refer to signs of NaNs
12409         not being tested.
12411 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12413         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12414         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
12415         call.
12416         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12417         (__condvar_cleanup1): Likewise.
12419 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12421         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
12422         New
12423         (__pthread_unwind): Renamed to ...
12424         (PTHREAD_UNWIND): This.
12425         (__pthread_enable_asynccancel): Replace
12426         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
12428 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12430         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
12431         (CLONE_NEWCGROUP): New macro.
12433         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
12434         (Q_GETNEXTQUOTA): New macro.
12436 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12438         [BZ #19907]
12439         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
12440         buffer updated by the previous run.
12441         * string/test-memcpy.c (do_one_test): Likewise.
12442         * benchtests/bench-memmove.c (do_one_test): Add a comment.
12443         * string/test-memmove.c (do_one_test): Likewise.
12445 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
12447         [BZ #20094]
12448         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
12449         not [__USE_XOPEN].
12450         (unlockpt): Likewise.
12451         (ptsname): Likewise.
12452         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
12453         variable.
12455         [BZ #20076]
12456         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
12457         instead of [__USE_UNIX98].
12458         (S_ISSOCK): Likewise.
12459         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
12460         variable.
12462         [BZ #20074]
12463         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
12464         [__USE_POSIX].
12465         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
12466         variable.
12468         [BZ #20051]
12469         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
12470         (ttyslot): Do not declare.
12471         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
12472         (ttyslot): New prototype.
12473         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
12474         variable.
12475         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12477 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12479         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
12481 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12483         Fix race condition in tst-mallocfork2, use fewer resources.
12484         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
12485         to current process group.
12486         (signal_sender): Yield in the non-sleeping case.
12488 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
12490         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
12491         (ecvt): Likewise.
12492         (fcvt): Likewise.
12493         (gcvt): Likewise.
12494         (getsubopt): Likewise.
12495         (grantpt): Likewise.
12496         (initstate): Likewise.
12497         (l64a): Likewise.
12498         (mktemp): Likewise.
12499         (mkstemp): Likewise.
12500         (ptsname): Likewise.
12501         (random): Likewise.
12502         (realpath): Likewise.
12503         (setstate): Likewise.
12504         (srandom): Likewise.
12505         (ttyslot): Likewise.
12506         (unlockpt): Likewise.
12507         (valloc): Likewise.
12509         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
12510         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
12511         variable.
12513 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12515         [BZ #20072]
12516         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
12517         init_cpu_features only if SHARED is defined.
12518         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
12520 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12522         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
12523         non-inclusive caches on Intel processors.
12525 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12527         * malloc/malloc.c (dumped_main_arena_start)
12528         (dumped_main_arena_end): New variables.
12529         (DUMPED_MAIN_ARENA_CHUNK): New macro.
12530         (do_check_chunk): Skip dumped fake mmapped chunks.
12531         (munmap_chunk): Likewise.
12532         (__libc_free): Do not adjust statistics for fake mmapped chunks.
12533         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
12534         mmapped chunks.
12535         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
12536         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
12537         and dumped_main_arena_end to cover the dumped heap.
12539 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
12541         * conform/data/time.h-data (getdate_err): Do not expect for
12542         [XPG3].
12543         (getdate): Likewise.
12544         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
12545         variable.
12547         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
12548         (F_ULOCK): Likewise.
12549         (F_TEST): Likewise.
12550         (F_TLOCK): Likewise.
12551         (useconds_t): Likewise.
12552         (intptr_t): Do not expect for [XPG3] or [XPG4].
12553         (brk): Do not expect for [XPG3]
12554         (fchown): Likewise.
12555         (fchdir): Likewise.
12556         (ftruncate): Likewise.
12557         (getdtablesize): Likewise.
12558         (gethostid): Likewise.
12559         (getpagesize): Likewise.
12560         (getpgid): Likewise.
12561         (getsid): Likewise.
12562         (getwd): Likewise.
12563         (lchown): Likewise.
12564         (lockf): Likewise.
12565         (readlink): Likewise.
12566         (sbrk): Likewise.
12567         (setpgrp): Likewise.
12568         (setregid): Likewise.
12569         (setreuid): Likewise.
12570         (symlink): Likewise.
12571         (sync): Likewise.
12572         (truncate): Likewise.
12573         (ualarm): Likewise.
12574         (usleep): Likewise.
12575         (vfork): Likewise.
12576         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
12577         variable.
12579         [BZ #20054]
12580         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
12581         not [__USE_UNIX98].
12582         * conform/data/unistd.h-data (gethostname): Do not expect for
12583         [XPG3].
12585         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
12586         [!POSIX] (S_IFBLK): Likewise.
12587         [!POSIX] (S_IFCHR): Likewise.
12588         [!POSIX] (S_IFIFO): Likewise.
12589         [!POSIX] (S_IFREG): Likewise.
12590         [!POSIX] (S_IFDIR): Likewise.
12591         [!POSIX] (S_IFLNK): Likewise.
12592         [!POSIX] (S_IFSOCK): Likewise.
12593         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
12594         variable.
12595         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12597 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
12599         * sysdeps/aarch64/memset.S (__memset):
12600         Rewrite of optimized memset.
12602 2016-05-12  Florian Weimer  <fweimer@redhat.com>
12604         [BZ #19703]
12605         Partially async-signal-safe fork for single-threaded processes.
12606         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
12607         variable.  Do not acquire and reset/release malloc and libio locks
12608         in single-threaded processes.
12609         * malloc/tst-mallocfork2.c: New file.
12610         * malloc/Makefile (tests): Add it.
12612 2016-05-12  Florian Weimer  <fweimer@redhat.com>
12614         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
12615         argument.  Use scratch buffer instead of extend_alloca.
12616         (gethosts): Use scratch buffer instead of extend_alloca.
12617         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
12618         extend_alloca.
12619         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
12621 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
12623         [BZ #20055]
12624         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
12625         instead of [__USE_UNIX98].
12626         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
12627         [__USE_UNIX98].
12628         * conform/data/termios.h-data (tcgetsid): Do not expect for
12629         [XPG3].
12630         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
12631         variable.
12632         (test-xfail-XPG4/termios.h/conform): Likewise.
12634 2016-05-11  Florian Weimer  <fweimer@redhat.com>
12636         Do not use mcheck in localedef.
12637         * locale/programs/localedef.c (turn_on_mcheck)
12638         (__malloc_initialize_hook): Remove.
12640 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12642         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
12643         * sysdeps/s390/s390-64/Makefile: Likewise.
12645 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12647         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
12648         Remove ifunc-defines.sym.
12649         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
12650         Likewise.
12651         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
12652         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12653         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
12654         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
12655         rtld-global-offsets.sym.
12656         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
12657         * sysdeps/x86/cpu-features-offsets.sym: This.
12658         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
12659         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
12661 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #20073]
12664         * io/sys/stat.h (fchmod): Declare for
12665         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
12666         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
12667         variable.
12669         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
12670         [XPG3] (S_IFSOCK): Likewise.
12671         [XPG3] (S_ISVTX): Likewise.
12672         [XPG3] (S_ISLNK): Likewise.
12673         [XPG3] (S_ISSOCK): Likewise.
12674         [XPG3] (fchmod): Likewise.
12675         [XPG3] (lstat): Likewise.
12676         [XPG3] (mknod): Likewise.
12678         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
12679         [XPG3].  Expect type long and XFAIL for [XPG4].
12680         (st_blocks): Likewise.
12682         [BZ #20044]
12683         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
12684         (pthread_atfork): New prototype.
12685         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
12686         variable.
12688         [BZ #20043]
12689         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
12690         prototype.
12692 2016-05-10  Florian Weimer  <fweimer@redhat.com>
12694         [BZ #20017]
12695         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
12696         gmtime.
12698 2016-05-10  Florian Weimer  <fweimer@redhat.com>
12700         [BZ #19994]
12701         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
12702         flag in _res.options.
12704 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
12706         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
12707         [XPG3 || XPG4].
12708         (blksize_t): Likewise.
12709         (clockid_t): Likewise.
12710         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
12711         variable.
12712         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12714 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12716         * sysdeps/unix/sysv/linux/s390/init-first.c:
12717         Add VDSO_SYMBOL(getcpu).
12718         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
12719         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
12720         Add VDSO_SYMBOL(getcpu).
12721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
12722         New define HAVE_GETCPU_VSYSCALL.
12723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12725 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
12727         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
12728         instead of <sysdeps/x86_64/cacheinfo.c>.
12729         * sysdeps/x86_64/cacheinfo.c: Moved to ...
12730         * sysdeps/x86/cacheinfo.c: Here.
12732 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12734         * malloc/malloc-internal.h: Adjust header file guard.
12736 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12738         [BZ #19787]
12739         * inet/getnameinfo.c (check_sprintf_result): New function.
12740         (CHECKED_SNPRINTF): New macro.
12741         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
12742         to the host buffer.
12743         (gni_host_local): Use checked_copy to copy the host name.
12744         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
12745         (gni_serv_local): Use checked_copy to copy the service name.
12746         (getnameinfo): Remove unnecessary truncation of result buffers.
12748 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12750         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
12751         in case of inet_ntop failure.
12753 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12755         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
12756         avoid long lines.
12757         (gni_host_inet_numeric): Likewise.  Reduce scope of local
12758         variables.
12759         (gni_host_inet, gni_host_local): Add comment.
12760         (gni_host): Add comment.  Use temporary to avoid long lines.
12762 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12764         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
12765         registers specifiers where general purpose registers specifiers should
12766         have been used.
12768 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12770         [BZ #19779]
12771         CVE-2016-1234
12772         Avoid copying names of directory entries.
12773         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
12774         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
12775         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
12776         (struct readdir_result): New type.
12777         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
12778         (GL_READDIR): New macros.
12779         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
12780         (convert_dirent, convert_dirent64): New functions.
12781         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
12782         convert_dirent64.  Adjust references to the readdir result.
12783         * sysdeps/unix/sysv/linux/i386/glob64.c:
12784         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
12785         * posix/bug-glob2.c (LONG_NAME): Define.
12786         (filesystem): Add LONG_NAME.
12787         (my_DIR): Increase the size of room_for_dirent.
12789 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
12791         [BZ #20041]
12792         * misc/sys/select.h (__need_timespec): Only define if
12793         [__USE_XOPEN2K].
12794         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
12795         variable.
12796         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12797         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12798         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12800 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12801             Segher Boessenkool  <segher@gcc.gnu.org>
12803         [BZ #20004]
12804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
12805         (__novec_swapcontext): Add missing load.
12807 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
12809         [BZ #20023]
12810         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
12811         <time.h>.
12812         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
12813         variable.
12814         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12816 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
12819         flags CLONE_VM compare.
12821 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12823         [BZ #20031]
12824         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
12825         completely empty.
12827 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12829         [BZ #19573]
12830         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
12831         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
12832         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
12833         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
12834         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
12835         (hesiod_free_list): Mark as hidden.
12836         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
12837         res_set, res_get.
12838         * hesiod/hesiod.c: Remove unnecessary forward declarations.
12839         (init, __hesiod_res_get, __hesiod_res_set): Remove.
12840         (hesiod_init): Remove obsolete res_ninit call.
12841         (hesiod_end): Do not free resolver state.  Do not invoke callback.
12842         (hesiod_bind): Do not call init.
12843         (get_txt_records): Use res_mkquery, res_send instead of
12844         res_nmkquery, res_nsend.
12845         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
12846         instead of _nss_hesiod_init.
12847         (_nss_hesiod_initgroups_dyn): Likewise.
12848         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
12849         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
12850         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
12852 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12854         * hesiod/hesiod_p.h (DEF_RHS): Remove.
12855         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
12857 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12859         * hesiod/hesiod.h: Remove RCS keyword.
12860         * hesiod/hesiod_p.h: Likewise.
12862         * hesiod/hesiod.c: Likewise.
12864 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
12866         [BZ #12450]
12867         * locale/iso-639.def: Add Samogitian/sgs.
12869 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
12871         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
12873         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
12875 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
12876             Carlos O'Donell  <carlos@redhat.com>
12878         [BZ #19072]
12879         * grp/Makefile (headers): Add grp-merge.h
12880         (routines): Add grp-merge.
12881         * grp/getgrgid_r.c: Include grp-merge.h.
12882         (DEEPCOPY_FN): Define.
12883         (MERGE_FN): Define.
12884         * grp/getgrname_r.c: Include grp-merge.h.
12885         (DEEPCOPY_FN): Define.
12886         (MERGE_FN): Define.
12887         * grp/grp-merge.c: New file.
12888         * grp/grp-merge.h: New file.
12889         * include/grp-merge.h: New file.
12890         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
12891         __copy_grp@GLIBC_PRIVATE.
12892         * manual/nss.texi (Actions in the NSS configuration): Describe
12893         return, continue, and merge.
12894         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
12895         (DEEPCOPY_FN): Define.
12896         (MERGE_FN): Define.
12897         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
12898         (DEEPCOPY_FN): Define.
12899         (MERGE_FN): Define.
12900         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
12901         [!MERGE_FN]: Define __merge_einval.
12902         (CHECK_MERGE): Define.
12903         (REENTRANT_NAME): Process merge if do_merge is true.
12904         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
12905         (__nss_getent_r): Likewise.
12906         * nss/nsswitch.c (nss_parse_service_list): Likewise.
12907         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
12909 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12911         [BZ #20012]
12912         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
12913         length to calculate the buffer to read.
12914         (fmemopen_write): Set the buffer position based on bytes written.
12915         (fmemopen_seek): Return EINVAL for invalid whence modes.
12917         [BZ #19957]
12918         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
12919         tst-getpid2.
12920         (test): Add tst-clone2.
12921         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
12922         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
12923         pid/tid fields for CLONE_VM.
12924         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12925         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12926         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12927         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
12928         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12929         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12930         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12931         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12933         Likewise.
12934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12935         Likewise.
12936         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12937         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12938         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12939         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12940         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12941         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12942         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12943         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
12945 2016-04-29  Florian Weimer  <fweimer@redhat.com>
12947         [BZ #19642]
12948         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
12949         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
12950         (gni_serv_local, gni_serv): New functions extracted from
12951         getnameinfo.
12952         (getnameinfo): Call gni_host and gni_serv to perform the
12953         processing.  Always free scratch buffer.
12955 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12957         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
12958         remaining bytes in the dest string, with zeros.
12960 2016-04-29  Florian Weimer  <fweimer@redhat.com>
12962         [BZ #20010]
12963         CVE-2016-3706
12964         * sysdeps/posix/getaddrinfo.c
12965         (convert_hostent_to_gaih_addrtuple): New function.
12966         (gethosts): Call convert_hostent_to_gaih_addrtuple.
12967         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
12968         AF_INET data.
12970 2016-04-29  Florian Weimer  <fweimer@redhat.com>
12972         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
12973         callback function gl_readdir.
12974         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
12975         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
12976         (glob_in_dir): Remove len.  Use strdup instead of malloc and
12977         memcpy to copy the name.
12978         * manual/pattern.texi (Calling Glob): Document requirements for
12979         implementations of the gl_readdir callback function.
12980         * manual/examples/mkdirent.c: New example.
12981         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
12982         per the manual guidance.
12983         * posix/tst-gnuglob.c (my_readdir): Likewise.
12985 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
12987         [BZ #20014]
12988         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
12989         not [__USE_POSIX].
12990         (getchar_unlocked): Likewise.
12991         (putc_unlocked): Likewise.
12992         (putchar_unlocked): Likewise.
12993         (flockfile): Likewise.
12994         (ftrylockfile): Likewise.
12995         (funlockfile): Likewise.
12996         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
12997         variable.
12998         (test-xfail-XPG4/stdio.h/conform): Likewise.
13000         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13001         Expect constant.
13002         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13003         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13004         variable.
13005         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13006         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13008         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13009         [__USE_LARGEFILE64] (off64_t): Likewise.
13010         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13011         variable.
13013 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13015         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13017 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13019         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13020         * resolv/res_init.c: Likewise.
13021         * resolv/res_mkquery.c: Likewise.
13023 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13025         * resolv/res_init.c (isascii): Do not define.  Use definition in
13026         <ctype.h>.
13027         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13028         (LOG_AUTH): Remove.
13029         (SPRINTF): Remove, adjust caller.
13030         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13032 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13034         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13035         SUNSECURITY conditional.
13036         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13038 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13040         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13041         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13042         Remove BSD-related preprocessor conditionals.
13043         * conf/portability.h: Remove.
13045 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13047         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13048         * resolv/res_data.c: Likewise.
13050 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13052         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13053         * resolv/res_data.c: Remove code conditional on ultrix.
13055 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13057         * resolv/res_init.c (RFC1535): Do not define.  Remove
13058         RFC1535 preprocessor conditionals.
13059         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13060         because there configuration options which make the resolver
13061         behavior different.
13063 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13065         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13066         RESOLVSORT preprocessor conditionals.
13067         * resolv/nss_dns/dns-host.c: Likewise.
13068         * resolv/res_init.c: Likewise.
13070 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13072         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13073         is never defined.
13075 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13077         * inet/inet_lnaof.c: Remove SCSS keyword.
13078         * inet/inet_mkadr.c: Likewise.
13079         * inet/inet_net.c: Likewise.
13080         * inet/inet_netof.c: Likewise.
13081         * inet/rcmd.c: Likewise.
13082         * inet/rexec.c: Likewise.
13083         * inet/ruserpass.c: Likewise.
13085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13087         * resolv/inet_addr.c: Remove _LIBC conditionals.
13088         * resolv/res_data.c: Likewise.
13089         * resolv/res_init.c: Likewise.
13090         * resolv/res_mkquery.c: Likewise.
13091         * resolv/res_libc.c: Update comment.
13092         * resolv/README: Update.
13094 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13096         * resolv/gethnamaddr.c: Remove SCSS keyword.
13097         * resolv/herror.c: Likewise.
13098         * resolv/inet_addr.c: Likewise.
13099         * resolv/inet_net_ntop.c: Likewise.
13100         * resolv/inet_net_pton.c: Likewise.
13101         * resolv/inet_neta.c: Likewise.
13102         * resolv/inet_ntop.c: Likewise.
13103         * resolv/inet_pton.c: Likewise.
13104         * resolv/ns_date.c: Remove RCS keyword.
13105         * resolv/ns_name.c: Likewise.
13106         * resolv/ns_netint.c: Likewise.
13107         * resolv/ns_parse.c: Likewise.
13108         * resolv/ns_print.c: Likewise.
13109         * resolv/ns_samedomain.c: Likewise.
13110         * resolv/ns_ttl.c: Likewise.
13111         * resolv/nsap_addr.c: Likewise.
13112         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13113         * resolv/res_data.c: Remove RCS keyword.
13114         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13115         * resolv/res_init.c: Likewise.
13116         * resolv/res_mkquery.c: Likewise.
13117         * resolv/res_query.c: Likewise.
13118         * resolv/res_send.c: Likewise.
13120 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13122         * conform/data/stdio.h-data (fdopen): Expect also for
13123         [XPG3 || XPG4].
13125         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13126         (fseeko): Likewise.
13127         (ftello): Likewise.
13128         (ftrylockfile): Likewise.
13129         (funlockfile): Likewise.
13130         (getc_unlocked): Likewise.
13131         (getchar_unlocked): Likewise.
13132         (putc_unlocked): Likewise.
13133         (putchar_unlocked): Likewise.
13135 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13137         [BZ #19868]
13138         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13139         DNS packet syntax checks (which were not needed before).  Skip
13140         over non-PTR records.
13142 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13144         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13145         definition.  Include <stddef.h> instead.
13147 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13149         [BZ #19831]
13150         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13151         function.
13152         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13153         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13155 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13157         [BZ #19862]
13158         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13159         (getanswer_r): Do not call syslog.
13160         (gaih_getanswer_slice): Likewise.
13161         * resolv/gethnamaddr.c (AskedForGot): Remove.
13162         (getanswer): Do not call syslog.
13163         (gethostbyaddr): Likewise.
13165 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13167         * conform/data/signal.h-data (union sigval): Expect also if
13168         [XOPEN2K].
13169         (struct sigevent): Likewise.
13170         (SIGEV_NONE): Likewise.
13171         (SIGEV_SIGNAL): Likewise.
13172         (SIGEV_THREAD): Likewise.
13173         (SIGRTMIN): Likewise.
13174         (SIGRTMAX): Likewise.
13175         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13176         variable.
13177         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13179 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13181         [BZ #19830]
13182         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13183         (gaih_getanswer_slice): Likewise.
13184         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13185         Also check for availability of RR metadata.
13187 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13189         [BZ #19825]
13190         * resolv/res_send.c (send_vc): Remove early *resplen2
13191         initialization.  Set *resplen2 on socket error.  Call
13192         close_and_return_error for other errors.
13194 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13196         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13197         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13198         (SCM_IUCV_TRGCLS): New define.
13200 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13202         [BZ #20005]
13203         * libio/fmemopen.c (fmemopen_write): Update internal position after
13204         write.
13205         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13206         * stdio-common/tst-fmemopen4.c: New file..
13208 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13210         [BZ #19996]
13211         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13212         not [__USE_XOPEN2K].
13213         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13214         variable.
13216         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13217         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13218         variable.
13220         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13221         [__USE_XOPEN2K8].
13222         [__USE_LARGEFILE64] (off64_t): Likewise.
13223         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13224         variable.
13226 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #19989]
13229         * libio/stdio.h (cuserid): Do not declare if
13230         [__USE_XOPEN2K && !__USE_GNU].
13231         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13232         variable.
13234 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13236         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13237         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13239         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13240         ifunc'ed strcspn.
13241         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13242         [EALIGN]: Removed.
13243         [END]: Likewise
13244         [STRSPN]: Define instead of the above to control symbol name.
13245         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13246         New file.
13247         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13248         Likewise.
13249         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13250         Likewise.
13251         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13252         Likewise.
13253         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13254         [INITIAL_MASK]: New macro.
13255         [STRCSPN]: Likewise.
13256         [UPDATE_MASK]: Likewise.
13257         [USE_AS_STRCSPN]: Likewise.
13259 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13261         [BZ #19931]
13262         * stdio-common/tst-vfprintf-width-prec.c: New file.
13263         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13264         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13265         (generated): Add mtrace-related files.
13266         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13267         (tst-%-mem.out): New pattern rule, replaces
13268         tst-printf-bz18872-mem.out.
13269         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13270         specifier, deallocate any previously allocated work buffer.
13272 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13274         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13275         Add nop before __startcontext, add explaining comments.
13277 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13279         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13280         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13281         completely different API.
13283         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13284         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13285         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13286         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13287         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13288         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13289         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13290         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13291         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13292         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13294 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13296         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13298 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13300         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13301         when it is the default of 0.
13303 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13305         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13306         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13307         (sysdep_routines): Add new strcasestr targets.
13308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13309         (__libc_ifunc_impl_list): Likewise.
13310         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13311         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13312         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13313         * sysdeps/powerpc/powerpc64/power8/Makefile:
13314         New file to add strcasestr-ppc64 to sysdep_routines.
13315         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13316         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13318 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13320         * benchtests/Makefile (wcsmbs-benchset): Include only for
13321         native builds and runs.
13322         (LOCALES): Likewise.
13323         (bench-build): Build timing-type here instead of the bench
13324         target.  Generate locale only for native builds.
13325         * benchtests/README: Add note for cross-building.
13327         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13329         * benchtests/README: Update README to include instructions on
13330         using bench-build.
13332         * Makefile.in (bench-build): New target.
13333         * Rules (PHONY): Add bench-build target.
13334         * benchtests/Makefile (bench): Depend on bench-build.
13335         (bench-build): New target.
13337 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13339         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13340         profil_reply_port.
13341         (profile_waiter): Do not initialize profil_reply_port.
13342         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13343         frequency instead of tick length in us.
13345 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
13347         [BZ #18712]
13348         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13349         (__old_mempcpy_small): Likewise.
13350         (__old_strcpy_small): Likewise.
13351         (__old_stpcpy_small): Likewise.
13352         (__old_strpbrk_c2): Fix compat symbol name.
13353         (__old_strpbrk_c3): Likewise.
13354         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13355         (__mempcpy_small): Remove.
13356         (__strcpy_small): Remove.
13357         (__stpcpy_small): Remove.
13359 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
13361         [BZ #19400]
13362         * locale/iso-639.def: Add the Talossan/tzl language.
13364 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13366         [BZ #16983]
13367         * locale/programs/ld-address.c (address_finish): Update postal_fmt
13368         comment.  Add "ln" to strchr check on postal_fmt.
13370 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13372         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
13373         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
13374         tel_dom_fmt.
13376 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13378         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13379         (sysdep_routines): Added __strlen_power8.
13380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
13381         __strlen_power8 entry.
13382         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
13383         Implementation for POWER8.
13384         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
13385         for __strlen_power8.
13386         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
13387         Implementation for POWER8.
13389 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
13391         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
13393 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
13395         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
13396         Goldmont and Airmont processors.
13398 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
13400         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
13401         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
13402         (__STRING2_SMALL_GET32): Remove.
13403         (memset): Remove.
13404         (__memset_1): Remove.
13405         (__memset_gc): Remove.
13406         (__mempcpy): Remove.
13407         (mempcpy): Remove.
13408         (__mempcpy_args): Remove.
13409         (strchr): Remove.
13410         (strcpy): Remove.
13411         (strcpy_args): Remove.
13412         (__stpcpy_args): Remove.
13413         (__strcmp_cc): Remove.
13414         (__strcmp_gc): Remove.
13415         (strstr): Remove.
13417 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
13419         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
13420         * nis/nis_call.c (nis_server_cache_add): Likewise.
13422 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13424         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
13426 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13428         * malloc/arena.c (__malloc_fork_lock_parent)
13429         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
13430         internal_function attribute.
13432 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
13434         * stdio-common/printf_fp.c (__printf_fp_l):
13435         Rename ___printf_fp_l to __printf_fp_l and
13436         remove strong alias. Use libc_hidden_def instead
13437         of ldbl_hidden_def macro.
13439 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13441         Remove malloc hooks from fork handler.  They are no longer needed
13442         because malloc runs right before fork, and no malloc calls from
13443         other fork handlers are not possible anymore.
13444         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
13445         declarations.
13446         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
13447         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
13448         (atfork_recursive_cntr): Remove.
13449         (__malloc_fork_lock_parent): Do not override malloc hooks and
13450         thread_arena.
13451         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
13452         thread_arena.
13453         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
13454         thread_arena instead of save_arena.
13456 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13458         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
13459         (thread_atfork, thread_atfork_static): Remove.
13460         * sysdeps/mach/hurd/malloc-machine.h:
13461         (thread_atfork, thread_atfork_static): Remove.
13463 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13465         [BZ #19431]
13466         Run the malloc fork handler as late as possible to avoid deadlocks.
13467         * malloc/malloc-internal.h: New file.
13468         * malloc/malloc.c: Include it.
13469         * malloc/arena.c (ATFORK_MEM): Remove.
13470         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
13471         Update comment.
13472         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
13473         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
13474         Remove outdated comment.
13475         (ptmalloc_init): Do not call thread_atfork.  Remove
13476         thread_atfork_static.
13477         * malloc/tst-malloc-fork-deadlock.c: New file.
13478         * Makefile (tests): Add tst-malloc-fork-deadlock.
13479         (tst-malloc-fork-deadlock): Link against libpthread.
13480         * manual/memory.texi (Aligned Memory Blocks): Update safety
13481         annotation comments.
13482         * sysdeps/nptl/fork.c (__libc_fork): Call
13483         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13484         __malloc_fork_unlock_child.
13485         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
13487 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13489         [BZ #19613]
13490         Remove union wait.
13491         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
13492         (w_stopsig, w_stopval): Remove.
13493         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
13494         stat_loc argument.
13495         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
13496         (__WAIT_STATUS_DEFN): Remove.
13497         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13498         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
13499         (wait, wait3, wait4): Use int * for the stat_loc argument.
13500         * posix/wait.c (__wait): Likewise.
13501         * posix/wait3.c (__wait3): Likewise.
13502         * posix/wait4.c (__wait4): Likewise.
13503         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
13504         (__WAIT_STATUS_DEFN): Remove.
13505         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13506         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
13507         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
13508         argument.
13509         * sysdeps/posix/wait.c (__libc_wait): Likewise.
13510         * sysdeps/posix/wait3.c (__wait3): Likewise.
13511         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
13512         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13513         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
13514         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
13515         stat_loc argument.
13516         * manual/process.texi (BSD Wait Functions): Remove union wait.
13518 2016-04-13  Andreas Schwab  <schwab@suse.de>
13520         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
13521         (test-extras): Add tst-tlsalign-vars.
13522         * math/Makefile: Wrap long lines.
13523         (libm-vec-test-wrappers): Define.
13524         (test-extras): Add $(libm-vec-test-wrappers).
13525         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
13526         * nss/Makefile (extra-test-objs): Add nss_test1.os.
13527         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
13528         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
13529         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
13530         (extra-test-objs): Add corresponding objects.
13532 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
13534         [BZ #19928]
13535         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
13536         New.
13537         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
13538         times of shared cache size.
13539         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
13540         (VMOVNT): New.
13541         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
13542         (VMOVNT): Likewise.
13543         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13544         (VMOVNT): Likewise.
13545         (VMOVU): Changed to movups for smaller code sizes.
13546         (VMOVA): Changed to movaps for smaller code sizes.
13547         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
13548         comments.
13549         (PREFETCH): New.
13550         (PREFETCH_SIZE): Likewise.
13551         (PREFETCHED_LOAD_SIZE): Likewise.
13552         (PREFETCH_ONE_SET): Likewise.
13553         Rewrite to use forward and backward loops, which move 4 vector
13554         registers at a time, to support overlapping addresses and use
13555         non temporal store if size is above the threshold and there is
13556         no overlap between destination and source.
13558 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
13560         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
13561         Include dl-vdso.
13562         * sysdeps/unix/sysv/linux/mips/Versions: Add
13563         __vdso_clock_gettime.
13564         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
13565         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
13566         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
13567         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
13568         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
13569         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
13570         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13571         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13572         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13574 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13576         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
13577         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
13578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13579         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13580         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13581         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13584         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
13585         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
13586         syscalls generation.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13588         [__NR_pwrite64] (__NR_write): Remove define.
13589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13590         [__NR_pwrite64] (__NR_write): Remove define.
13591         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
13592         Remove define.
13593         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
13594         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
13595         Remove define.
13596         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
13597         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
13598         Linux implementation as base.
13599         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13601         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
13602         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
13603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13604         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
13606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13607         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
13608         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
13609         syscall generation.
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13611         [__NR_pread64] (__NR_pread): Remove define.
13612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13613         [__NR_pread64] (__NR_pread): Likewise.
13614         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
13615         define.
13616         (__libc_pread): Use SYSCALL_LL macro on offset argument.
13617         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
13618         Remove define.
13619         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
13620         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
13621         Linux implementation as base.
13622         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13623         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13624         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13626         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
13627         definition.
13628         (__ALIGNMENT_COUNT): Likewise.
13629         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
13630         (__ALIGNMENT_COUNT): Likewise.
13631         (SYSCALL_LL): New define.
13632         (SYSCALL_LL64): Likewise.
13633         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
13634         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
13635         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
13636         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
13638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13639         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
13640         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13641         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13642         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13643         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13645 2016-04-11  Florian Weimer  <fweimer@redhat.com>
13647         [BZ #19865]
13648         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
13649         original buffer before retry.
13651 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13653         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
13654         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
13655         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
13656         GLRO(dl_auxv) list.
13657         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
13658         including <ldsodefs.h>.
13659         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
13661 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
13663         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
13664         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
13665         $(CPPFLAGS).
13667 2016-04-09  Khem Raj  <raj.khem@gmail.com>
13669         [BZ #17950]
13670         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
13671         Add -mfpmath=387.
13673 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
13675         * sysdeps/i386/configure.ac: Change == to = when calling test.
13676         * sysdeps/x86_64/configure.ac: Likewise.
13677         * sysdeps/i386/configure: Regenerated.
13678         * sysdeps/x86_64/configure: Likewise.
13680 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
13682         [BZ #16137]
13683         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
13684         * benchtests/bench-strcoll.c (input_files): Likewise.
13685         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13686         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
13687         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
13689 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
13691         [BZ #19929]
13692         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
13693         [__USE_XOPEN2K8 && !__USE_GNU].
13694         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
13695         variable.
13697         [BZ #19925]
13698         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
13699         define if [!__USE_MISC && __USE_XOPEN2K].
13700         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
13701         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
13702         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
13703         Likewise.
13704         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
13705         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
13706         variable.
13707         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13709 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13711         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13712         (sysdep_routines): Add new strspn targets.
13713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13714         (__libc_ifunc_impl_list): Add strspn.
13715         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13716         New file.
13717         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
13718         Likewise.
13719         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
13720         Likewise.
13721         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13722         Likewise.
13724 2016-04-07  Florian Weimer  <fweimer@redhat.com>
13726         * misc/hsearch_r.c: Include <limits.h>.
13728 2016-04-07  Florian Weimer  <fweimer@redhat.com>
13730         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
13732 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
13734         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13735         (MEMCPY_SYMBOL): New.
13736         (MEMPCPY_SYMBOL): Likewise.
13737         (MEMMOVE_CHK_SYMBOL): Likewise.
13738         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
13739         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
13740         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
13741         Provide alias for memcpy in libc.a and ld.so.
13743 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
13745         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13746         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
13747         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
13748         Disabled fro now.
13749         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
13750         symbols.  Properly check USE_MULTIARCH on __memset symbols.
13752 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
13754         * benchtests/Makefile (string-benchset): Add memcpy-large,
13755         memmove-large and memset-large.
13756         * benchtests/bench-memcpy-large.c: New file.
13757         * benchtests/bench-memmove-large.c: Likewise.
13758         * benchtests/bench-memmove-large.c: Likewise.
13759         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
13761 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
13763         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
13764         32-bit displacement to avoid long nop between instructions.
13766 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
13768         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
13769         a comment on VMOVU and VMOVA.
13771 2016-04-04  Florian Weimer  <fweimer@redhat.com>
13773         [BZ #19633]
13774         Use specified locale for number formatting in strfmon_l.
13775         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
13776         (__nl_lookup_word): New inline functions.
13777         * include/printf.h (__print_fp_l): Declare.
13778         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
13779         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
13780         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
13781         (___printf_fp): New function.
13782         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
13783         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
13784         * stdlib/tst-strfmon_l.c (do_test): New test.
13785         * stdlib/Makefile (tests): Add kt.
13786         (LOCALES): Build additional locales.
13787         (tst-strfmon_l.out): Require locales.
13789 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
13791         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
13792         if not in libc.
13793         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13794         Likewise.
13795         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
13796         Likewise.
13797         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13798         Likewise.
13800 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
13802         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13803         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
13804         with unaligned_erms.
13805         (__memmove_erms): Skip if source == destination.
13806         (__memmove_unaligned_erms): Don't check source == destination
13807         first.
13809 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13811         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
13812         bit_arch_Fast_Copy_Backward for Intel Core proessors.
13814 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13816         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
13817         * string/strspn.c (strspn): Likewise.
13819 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13821         * benchtests/bench-memset.c (do_test): Support 64-byte
13822         alignment.
13823         (test_main): Test 64-byte alignment.
13825 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13827         * benchtests/bench-memmove.c (test_main): Test 64-byte
13828         alignment.
13830 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13832         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
13834 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13836         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
13837         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
13838         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
13840         * string/strpbrk.c (strpbrk): Rewrite function.
13841         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
13842         (__strpbrk_c2): Likewise.
13843         (__strpbrk_c3): Likewise.
13844         * string/string-inlines.c
13845         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
13846         Likewise.
13847         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
13848         Likewise.
13850         * string/strspn.c (strcspn): Rewrite function.
13851         * string/bits/string2.h (strspn): Use __builtin_strcspn.
13852         (__strspn_c1): Remove inline function.
13853         (__strspn_c2): Likewise.
13854         (__strspn_c3): Likewise.
13855         * string/string-inlines.c
13856         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
13857         compatibility symbol.
13858         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
13859         Likewise.
13860         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
13861         Likewise.
13862         * string/string-inlines.c: Include generic version.
13864 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
13865             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13867         * string/Version (libc): Add GLIBC_2.24.
13868         * string/strcspn.c (strcspn): Rewrite function.
13869         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
13870         (__strcspn_c1): Remove inline function.
13871         (__strcspn_c2): Likewise.
13872         (__strcspn_c3): Likewise.
13873         * string/string-inline.c
13874         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
13875         compatibility symbol.
13876         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
13877         Likewise.
13878         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
13879         Likewise.
13880         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
13882 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13884         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13885         Use ahi instead of aghi to adjust stack pointer.
13887 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13889         [BZ #19853]
13890         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
13891         TEST to take significant digits as second parameter.
13892         [TEST]: Redefine in terms of TEST_N taking 30
13893         significant digits.
13894         (do_test): Add test case to demonstrate precision
13895         failure in the ldbl-128ibm printf.
13896         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
13897         (__mpn_extract_long_double): Carry 7 extra intermediate
13898         bits of precision to aide computing difference when
13899         signs differ.
13901 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
13903         [BZ #19881]
13904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13905         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
13906         memset-avx512-unaligned-erms.
13907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13908         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
13909         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
13910         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
13911         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
13912         __memset_sse2_unaligned_erms, __memset_erms,
13913         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
13914         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13915         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
13916         file.
13917         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13918         Likewise.
13919         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
13920         Likewise.
13921         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
13922         Likewise.
13924 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
13926         [BZ #19776]
13927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13928         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
13929         memmove-avx512-unaligned-erms.
13930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13931         (__libc_ifunc_impl_list): Test
13932         __memmove_chk_avx512_unaligned_2,
13933         __memmove_chk_avx512_unaligned_erms,
13934         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
13935         __memmove_chk_sse2_unaligned_2,
13936         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
13937         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
13938         __memmove_avx512_unaligned_erms, __memmove_erms,
13939         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
13940         __memcpy_chk_avx512_unaligned_2,
13941         __memcpy_chk_avx512_unaligned_erms,
13942         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
13943         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
13944         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
13945         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
13946         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
13947         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
13948         __mempcpy_chk_avx512_unaligned_erms,
13949         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
13950         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
13951         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
13952         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
13953         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
13954         __mempcpy_erms.
13955         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
13956         file.
13957         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13958         Likewise.
13959         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13960         Likewise.
13961         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13962         Likewise.
13964 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13966         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
13967         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
13968         (La_s390_64_regs): Likewise.
13969         (La_s390_32_retval): Append vector register lrv_v24.
13970         (La_s390_64_retval): Likeweise.
13971         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13972         Handle extended structs La_s390_32_regs and La_s390_32_retval.
13973         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13974         Handle extended structs La_s390_64_regs and La_s390_64_retval.
13976 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13978         [BZ #19916]
13979         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
13980         to create a non-vector/vector version for _dl_runtime_resolve and
13981         _dl_runtime_profile. Move implementation to ...
13982         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
13983         (_dl_runtime_resolve) Save and restore fpr/vrs.
13984         (_dl_runtime_profile) Save and restore vrs and fix some issues
13985         if _dl_call_pltexit is called.
13986         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
13987         Choose the correct resolver function if running on a machine with vx.
13988         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
13989         to create a non-vector/vector version for _dl_runtime_resolve and
13990         _dl_runtime_profile. Move implementation to ...
13991         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
13992         (_dl_runtime_resolve) Save and restore fpr/vrs.
13993         (_dl_runtime_profile) Save and restore vrs and fix some issues
13994         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
13995         Choose the correct resolver function if running on a machine with vx.
13997 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13999         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14001 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14003         [BZ #19509]
14004         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14005         skip_map != NULL.
14006         * elf/tst-dlsym-error.c: New file.
14007         * elf/Makefile (tests): Add tst-dlsym-error.
14008         (tst-dlsym-error): Link against libdl.
14010 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14012         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14013         (__ASSUME_FUTIMESAT): Remove macro.
14014         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14016 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14018         [BZ #19879]
14019         CVE-2016-3075
14020         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14021         copy name.
14023 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14025         [BZ #19837]
14026         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14027         error if parse_line fails.
14029 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14031         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14032         (index_cpu_ERMS): Likewise.
14033         (reg_ERMS): Likewise.
14035 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14037         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14038         PER_LINUX_FDPIC): Add.
14040 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14043         memcpy-avx512-no-vzeroupper.
14044         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14045         to ...
14046         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14047         (MEMCPY): Don't define.
14048         (MEMCPY_CHK): Likewise.
14049         (MEMPCPY): Likewise.
14050         (MEMPCPY_CHK): Likewise.
14051         (MEMPCPY_CHK): Renamed to ...
14052         (__mempcpy_chk_avx512_no_vzeroupper): This.
14053         (MEMPCPY_CHK): Renamed to ...
14054         (__mempcpy_chk_avx512_no_vzeroupper): This.
14055         (MEMCPY_CHK): Renamed to ...
14056         (__memmove_chk_avx512_no_vzeroupper): This.
14057         (MEMCPY): Renamed to ...
14058         (__memmove_avx512_no_vzeroupper): This.
14059         (__memcpy_avx512_no_vzeroupper): New alias.
14060         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14062 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14064         [BZ #18858]
14065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14066         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14067         and mempcpy-avx512-no-vzeroupper.
14068         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14069         New.
14070         (MEMPCPY): Likewise.
14071         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14072         (MEMPCPY_CHK): New.
14073         (MEMPCPY): Likewise.
14074         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14075         (MEMPCPY): Likewise.
14076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14077         (MEMPCPY): Likewise.
14078         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14079         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14080         Likewise.
14081         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14082         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14084 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14085              Amit Pawar  <Amit.Pawar@amd.com>
14087         [BZ #19583]
14088         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14089         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14090         processors.  Set Fast_Copy_Backward for AMD Excavator
14091         processors.
14092         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14093         New.
14094         (index_arch_Fast_Unaligned_Copy): Likewise.
14095         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14096         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14098 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14100         [BZ #19791]
14101         * resolv/res_send.c (close_and_return_error): New function.
14102         (send_dg): Initialize *resplen2 after reopen failure.  Call
14103         close_and_return_error for error returns.  On error paths without
14104         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14105         successful return.
14107 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14109         [BZ# 19860]
14110         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14111         zero if the compiler does not provide the AVX512F bit.
14113 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14115         [BZ #19848]
14116         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14117         from 8 to 4.
14118         (__ieee754_powl): Compare integer exponent against 4 not 8.
14119         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14120         from 8 to 4.
14121         (__ieee754_powl): Compare integer exponent against 4 not 8.
14122         * math/auto-libm-test-in: Add more tests of pow.
14123         * math/auto-libm-test-out: Regenerated.
14124         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14127 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14129         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14130         Make code unconditional.
14131         [!__NR_utimensat]: Remove conditional code.
14132         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14133         Make code unconditional.
14134         [!__NR_utimensat]: Remove conditional code.
14135         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14136         Make code unconditional.
14137         [!__NR_utimensat]: Remove conditional code.
14139 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14141         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14142         Make code unconditional.
14144 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14146         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14147         call-clobbered %eax on retry path.
14148         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14150 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14152         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14153         Don't set %rcx twice before "rep movsb".
14155 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14157         [BZ #19583]
14158         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14159         inline.  Check family before setting family, model and
14160         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14161         bits here.
14162         (init_cpu_features): Replace HAS_CPU_FEATURE and
14163         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14164         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14165         for Intel processors with usable AVX2.  Call get_common_indeces
14166         for other processors with family == NULL.
14167         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14168         (CPU_FEATURES_ARCH_P): Likewise.
14169         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14170         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14172 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14174         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14175         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14176         $(shared-thread-library) instead of hardcoding the path to libpthread.
14178 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14180         * sysdeps/unix/sysv/linux/kernel-features.h
14181         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14182         * sysdeps/unix/sysv/linux/getdents.c
14183         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14184         [!have_no_getdents64_defined]: Likewise.
14185         (__GETDENTS): Remove __have_no_getdents64 conditional.
14187 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14190         Remove macro.
14191         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14192         <kernel-features.h>.
14193         (signalfd) [__NR_signalfd4]: Make code unconditional.
14194         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14196 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14198         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14199         style.
14201 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14203         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14204         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14205         __pthread_unwind.
14206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14207         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14209         (__condvar_cleanup1): Likewise.
14211 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14213         [BZ #19822]
14214         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14215         move it to the final $@ location.
14217 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14219         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14220         access where posix_spawn success and pid argument is null.
14221         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14222         success case.
14224 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14226         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14228         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14230         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14231         and __fcntl.
14232         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14233         __fcntl only.
14234         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14235         adding attribute_hidden to __open and __fcntl.
14237         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14238         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14239         depend on libc-modules.h,
14240         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14242 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14244         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14245         Remove macro.
14246         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14247         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14248         entry.
14250         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14251         Remove macro.
14252         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14253         include <kernel-features.h>.
14254         [!__ASSUME_FALLOCATE]: Remove conditional code.
14255         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14257 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14259         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14260         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14262         (_ZGVdN4v_cos_avx2): Likewise.
14263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14264         (_ZGVdN4v_cos): Likewise.
14265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14266         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14267         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14268         (_ZGVdN4v_exp_avx2): Likewise.
14269         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14270         (_ZGVdN4v_exp): Likewise.
14271         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14272         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14273         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14274         (_ZGVdN4v_log_avx2): Likewise.
14275         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14276         (_ZGVdN4v_log): Likewise.
14277         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14278         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14280         (_ZGVdN4vv_pow_avx2): Likewise.
14281         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14282         (_ZGVdN4vv_pow): Likewise.
14283         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14284         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14285         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14286         (_ZGVdN4v_sin_avx2): Likewise.
14287         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14288         (_ZGVdN4v_sin): Likewise.
14289         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14290         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14292         (_ZGVdN4vvv_sincos_avx2): Likewise.
14293         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14294         (_ZGVdN4vvv_sincos): Likewise.
14295         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14296         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14298         (_ZGVbN4v_cosf_sse4): Likewise.
14299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14300         (_ZGVdN8v_cosf_avx2): Likewise.
14301         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14302         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14303         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14304         (_ZGVbN4v_expf_sse4): Likewise.
14305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14306         (_ZGVdN8v_expf_avx2): Likewise.
14307         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14308         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14310         (_ZGVbN4v_logf_sse4): Likewise.
14311         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14312         (_ZGVdN8v_logf_avx2): Likewise.
14313         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14314         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14316         (_ZGVbN4vv_powf_sse4): Likewise.
14317         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14318         (_ZGVdN8vv_powf_avx2): Likewise.
14319         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14320         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14321         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14322         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14324         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14325         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14326         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14327         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14328         (_ZGVbN4v_sinf_sse4): Likewise.
14329         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14330         (_ZGVdN8v_sinf_avx2): Likewise.
14331         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14332         Use JUMPTARGET to call callee.
14333         (WRAPPER_IMPL_SSE2_ff): Likewise.
14334         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14335         (WRAPPER_IMPL_AVX): Likewise.
14336         (WRAPPER_IMPL_AVX_ff): Likewise.
14337         (WRAPPER_IMPL_AVX_fFF): Likewise.
14338         (WRAPPER_IMPL_AVX512): Likewise.
14339         (WRAPPER_IMPL_AVX512_ff): Likewise.
14340         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14341         Likewise.
14342         (WRAPPER_IMPL_SSE2_ff): Likewise.
14343         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14344         (WRAPPER_IMPL_AVX): Likewise.
14345         (WRAPPER_IMPL_AVX_ff): Likewise.
14346         (WRAPPER_IMPL_AVX_fFF): Likewise.
14347         (WRAPPER_IMPL_AVX512): Likewise.
14348         (WRAPPER_IMPL_AVX512_ff): Likewise.
14349         (WRAPPER_IMPL_AVX512_fFF): Likewise.
14351 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14353         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14354         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14355         qualifier.
14356         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14357         internal_function qualifiers.
14359 2016-03-15  Carlos O'Donell <carlos@redhat.com>
14361         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
14362         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
14363         * math/atest-exp.c (exp_mpn): Mark chk unused.
14364         * math/atest-exp2.c (exp_mpn): Likewise.
14365         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
14366         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
14368 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
14370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
14371         Remove macro.
14372         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
14373         <kernel-features.h>.
14374         [__NR_ppoll]: Make code unconditional.
14375         [!__ASSUME_PPOLL]: Remove conditional code.
14377         * sysdeps/unix/sysv/linux/kernel-features.h
14378         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
14379         (__ASSUME_ACCEPT4): Likewise.
14380         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14381         Define.
14382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
14383         Likewise.
14384         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14385         Likewise.
14386         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
14389         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
14390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14391         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14392         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14394         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14395         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14396         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14397         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14398         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14399         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14400         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14401         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14402         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14403         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14404         Likewise.
14405         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14406         Likewise.
14407         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14408         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14409         0x040300].
14410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14411         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14413         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14414         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14415         0x030300].
14416         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
14417         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14418         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14419         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14420         0x040300].
14421         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14422         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14424         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14425         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14426         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14427         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14428         0x030300].
14429         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14430         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14431         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14432         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14433         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14434         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14435         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14437         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14438         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14439         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14440         0x040300].
14441         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14442         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14443         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14444         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14447         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14448         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14449         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14451         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14452         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14455         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
14456         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14457         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14458         Likewise.
14459         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14460         Likewise.
14462 2016-03-15  Andreas Schwab  <schwab@suse.de>
14464         [BZ #19257]
14465         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
14466         statp->_u._ext.nscount as loop count.
14468 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14470         * math/test-signgam-finite-c99.c: Also #undef
14471         __LIBC_INTERNAL_MATH_INLINES.
14472         * math/test-signgam-main.c: Likewise.
14474 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
14476         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
14477         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14478         (MADV_FREE): Likewise.
14479         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
14480         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
14481         EPOLLEXCLUSIVE.
14483 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
14485         * timezone/README: Remove mention of checktab.awk. Mention wiki
14486         SharedSourceFiles.
14488 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
14490         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
14491         WUNTRACED.
14493 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14495         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
14496         order to match the type of p when calling atomic_exchange_acq().
14498 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14500         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
14501         cfi_offset calls.
14502         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14503         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
14504         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
14505         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
14506         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
14508 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
14510         * timezone/checktab.awk: Removed.
14512 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
14514         * manual/math.texi (Errors in Math Functions): Document relaxed
14515         accuracy goals for IBM long double.
14516         * math/libm-test.inc (test_exceptions): Always allow spurious
14517         "underflow" and "inexact" exceptions for IBM long double.
14519 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
14521         [BZ #19762]
14522         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14523         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
14524         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
14525         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
14526         (bit_arch_*): This for feature array.
14527         (bit_*): Renamed to ...
14528         (bit_cpu_*): This for cpu array.
14529         (index_*): Renamed to ...
14530         (index_arch_*): This for feature array.
14531         (index_*): Renamed to ...
14532         (index_cpu_*): This for cpu array.
14533         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
14534         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
14535         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
14536         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
14537         bit_##name with index_cpu_##name and bit_cpu_##name.
14538         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
14539         bit_##name with index_arch_##name and bit_arch_##name.
14541 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
14543         [BZ #19792]
14544         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
14545         Terminate FDE before return label.
14547 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
14549         [BZ #19790]
14550         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
14551         (rintl): Define as macro.
14552         [USE_AS_NEARBYINTL] (__rintl): Likewise.
14553         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
14554         of fesetround.  Ensure results are evaluated before end of scope.
14555         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
14556         USE_AS_NEARBYINTL and include s_rintl.c.
14557         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
14558         Disable exception traps in new environment.
14559         (libc_feholdsetround_ppc_ctx): Likewise.
14561 2016-03-08  Roland McGrath  <roland@hack.frob.com>
14563         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
14564         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
14565         (tst_audit10_aux) [__AVX512F__]: ... here.
14567 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
14569         * include/sys/auxv.h: New file.
14571 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14573         [BZ #19759]
14574         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
14576 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14578         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
14579         operand modifier.
14580         (feclearexcept): Likewise.
14582 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14584         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
14585         to reflect the entire 32-bit HWCAP.
14586         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
14587         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
14589 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14591         [BZ #19783]
14592         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
14593         $(test-via-rtld-prefix).
14594         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
14596 2016-03-08  Florian Weimer  <fweimer@redhat.com>
14598         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
14599         union wait.  Report any non-zero exit status as error.
14601 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14603         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
14604         configured with --enable-hardcoded-path-in-tests.
14606 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
14608         [BZ #19677]
14609         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14610         (__ieee754_remainderl): Put zero low parts in canonical form.
14611         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
14612         file.  Based on
14613         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
14614         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
14615         with wrapper round test-fmodrem-ldbl-128ibm.c.
14616         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
14617         file.
14618         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
14619         Likewise.
14620         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14621         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
14623 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14625         [BZ #19610]
14626         * elf/ldconfig.c (opt_link): Update comment.
14627         (options): Update help string for option -X.
14628         (search_dir): Unlink stale symbolic link only if updating symbolic
14629         links.
14630         * elf/tst-ldconfig-X.sh: New file.
14631         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
14632         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
14634 2016-03-07  Andreas Schwab  <schwab@suse.de>
14636         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
14637         needed arguments.
14639 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
14641         [BZ #15333]
14642         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
14643         to lstat64.
14645 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14647         * libio/filedoalloc.c (isatty): Remove.
14648         (local_isatty): Add comment.  Call __isatty directly.
14649         (_IO_file_doallocate): Update comment.  Assume _LIBC.
14650         * libio/wfiledoalloc.c (isatty): Remove.
14651         (_IO_wfile_doallocate): Update comment.
14653 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14655         [BZ #19269]
14656         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
14657         tst-audit4-aux.o.
14658         (tst-audit10): Depend on tst-audit10-aux.o.
14659         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
14660         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
14661         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
14662         instead of inline AVX code.
14663         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
14664         instead of inline AVX512 code.
14665         * sysdeps/x86_64/tst-audit4-aux.c: New file
14666         * sysdeps/x86_64/tst-audit10-aux.c: New file
14668         [BZ #19648]
14669         * test-skeleton.c (main): Do not set RLIMIT_DATA.
14671 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14673         [BZ #14750]
14674         [BZ #10354]
14675         [BZ #18433]
14676         * include/sched.h (__clone): Add hidden prototype.
14677         (__clone2): Likewise.
14678         * include/unistd.h (__dup): Likewise.
14679         * posix/Makefile (tests): Add tst-spawn2.
14680         * posix/tst-spawn2.c: New file.
14681         * sysdeps/posix/dup.c (__dup): Add hidden definition.
14682         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
14683         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14684         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14685         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14686         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14687         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
14688         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14689         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
14690         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14691         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14693         Likewise.
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14695         Likewise.
14696         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14697         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14698         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14699         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14700         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14701         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14702         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14703         * sysdeps/unix/sysv/linux/nptl-signals.h
14704         (____nptl_is_internal_signal): New function.
14705         * sysdeps/unix/sysv/linux/spawni.c: New file.
14707         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
14708         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
14709         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
14710         * posix/tst-execvp2.c (do_test): Likewise.
14711         * posix/tst-execvp3.c (do_test): Likewise.
14712         * posix/tst-execvp4.c (do_test): Likewise.
14713         * posix/tst-execvpe1.c: New file.
14714         * posix/tst-execvpe2.c: Likewise.
14715         * posix/tst-execvpe3.c: Likewise.
14716         * posix/tst-execvpe4.c: Likewise.
14717         * posix/tst-execvpe5.c: Likewise.
14718         * posix/tst-execvpe6.c: Likewise.
14720         [BZ #19534]
14721         * posix/execl.c (execl): Remove dynamic memory allocation.
14722         * posix/execle.c (execle): Likewise.
14723         * posix/execlp.c (execlp): Likewise.
14725 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14727         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
14728         Replace .text with .text.avx512.
14729         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
14730         Likewise.
14732 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
14734         * sysdeps/generic/libnsl.abilist: New file.
14735         * sysdeps/generic/libutil.abilist: New file.
14737 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14739         [BZ #19762]
14740         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
14741         HAS_ARCH_FEATURE with Fast_Rep_String.
14742         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
14743         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
14744         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
14745         Likewise.
14746         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
14747         Likewise.
14748         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
14749         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
14750         Likewise.
14751         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
14752         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
14753         Likewise.
14755 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
14757         [BZ #19745]
14758         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14759         with *%rax in call.
14761 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
14763         [BZ #19745]
14764         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
14765         with *__libc_start_main@GOTPCREL(%rip) in call.
14767 2016-03-04  Roland McGrath  <roland@hack.frob.com>
14769         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
14770         inside conditional for nonempty $(CXX).
14772         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
14773         nonempty.
14775         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
14776         to test for empty $(CXX) rather than $(CXX) of "no".
14778 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
14780         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
14782 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
14783             H.J. Lu  <hongjiu.lu@intel.com>
14785         [BZ #18880]
14786         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
14787         instead of Slow_BSF, and also check for Fast_Copy_Backward to
14788         enable __memcpy_ssse3_back.
14790 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
14792         [BZ #19758]
14793         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14794         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
14796 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14798         [BZ #19490]
14799         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
14800         (__fentry__): Likewise.
14802 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
14804         * gmon/Makefile (noprof): Add $(sysdep_noprof).
14805         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
14807 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14809         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
14810         __mcount_internal directly.
14811         (C_LABEL(__fentry__)): Likewise.
14812         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
14813         directly.
14815 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14817         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14818         (__start_context): Call __setcontext directly.
14820 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
14822         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14823         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14824         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
14825         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14827         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14828         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
14829         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14830         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14831         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
14832         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14833         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14834         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14835         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14836         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14837         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14838         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
14839         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14840         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14841         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14842         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
14843         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14844         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14845         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14846         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
14847         Remove conditional code.
14848         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14849         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
14850         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14851         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14852         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
14853         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14854         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14855         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14856         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14857         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14859         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14861 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
14863         * NEWS (2.23): Fix typo in bug 19048 text.
14865 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
14867         [BZ #14259]
14868         * Makeconfig: Rename msgcatdir to localedir.
14869         Rename inst_msgcatdir to inst_localedir.
14870         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
14871         * config.make.in: Add localedir.
14872         * elf/Makefile ($(objpfx)sotruss): Use localedir.
14873         (ldd-rewrite): Likewise.
14874         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
14875         (install-others): Use inst_localedir.
14876         (CPPFLAGS): Use localedir.
14877         * locale/Makefile (locale-CPPFLAGS): Likewise.
14878         * po/Makefile (mo-installed): Use inst_localedir.
14880         [BZ #19575]
14881         * localedata/charmaps/GB18030: Update comments regarding PAU to
14882         non-PUA mappings.
14884 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
14886         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
14887         test for header.
14888         * sysdeps/unix/sysv/linux/configure: Regenerated.
14889         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
14890         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
14891         Remove conditional code.
14892         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
14894         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14895         Define to 3.2.0.
14896         (arch_minimum_kernel): Likewise.
14897         * sysdeps/unix/sysv/linux/configure: Regenerated.
14898         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
14899         Define to 2.6.32.
14900         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
14901         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
14902         (arch_minimum_kernel): Define to 2.6.32.
14903         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
14904         * README: Document Linux 3.2 requirement.
14905         * manual/install.texi (Linux): Document Linux 3.2 headers
14906         requirement.
14907         * INSTALL: Regenerated.
14909 2016-02-24  Andreas Schwab  <schwab@suse.de>
14911         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
14912         if !NO_LONG_DOUBLE.
14914 2016-02-22  Roland McGrath  <roland@hack.frob.com>
14916         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
14917         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
14919 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
14921         [BZ #19512]
14922         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
14924 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14926         * posix/tst-dir.c: Include libc-internal.h.
14928 2016-02-20  Florian Weimer  <fweimer@redhat.com>
14930         [BZ #19056]
14931         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
14932         * manual/filesys.texi (Reading/Closing Directory): Mention
14933         deprecaion.
14934         * posix/tst-dir.c (main): Disable deprecation warning in test.
14936 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
14938         [BZ #19679]
14939         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
14940         Renamed to ...
14941         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
14942         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14943         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
14944         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14945         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14946         * sysdeps/x86_64/dl-trampoline.h
14947         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14948         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14950 2016-02-19  Mark Wielaard  <mjw@redhat.com>
14952         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
14954 2016-02-19  Mark Wielaard  <mjw@redhat.com>
14956         * elf/elf.h (R_386_GOT32X): New.
14957         (R_386_NUM): Update.
14958         (R_X86_64_GOTPCRELX: New.
14959         (R_X86_64_REX_GOTPCRELX): New.
14960         (R_X86_64_NUM): Update.
14962 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
14964         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
14966 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
14968         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
14969         assign attr->stackaddr to it, and adjust it down when
14970         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
14971         [_STACK_GROWS_UP]: Delete assert.
14972         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
14973         Implement stack grows up logic.
14974         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
14975         stack grows up logic.
14977 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14979         * NEWS: Update with 2.24 template.
14981 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
14983         [BZ #19678]
14984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14985         Ensure +0.0 is returned when taking the next value below the least
14986         positive value.
14988 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14990         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
14991         available.  Do not define NO_THREADS.
14992         * malloc/malloc.c: Do not check NO_THREADS.
14993         * malloc/arena.c: Likewise.
14995 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14997         * malloc/malloc.c (__libc_mallinfo): Update comment.
14998         (struct malloc_par): Remove max_total_mem member, it was always 0.
14999         (int_mallinfo): Store 0 into usmblks (no functional change).
15000         * malloc/hooks.c (struct malloc_state): Document that
15001         max_total_mem is always 0.
15002         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15003         always 0.
15004         * manual/memory.texi (Statistics of Malloc): Likewise.
15006 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15008         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15009         * malloc/arena.c (arena_max): Remove.
15010         (heap_trim, _int_new_arena): Do not update arena_max.
15012 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15014         * resolv/res_init.c (res_ninit): Update comment.
15016 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15018         [BZ #19505]
15019         * posix/spawn_int.h: Add headers and include guard.
15020         (__spawn_valid_fd): New function.
15021         * posix/spawn_faction_addopen.c
15022         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15023         * posix/spawn_faction_addclose.c
15024         (posix_spawn_file_actions_addclose): Likewise.
15025         * posix/spawn_faction_adddup2.c
15026         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15027         second file descriptor.
15028         * posix/spawn_valid_fd.c: New file.
15029         * posix/tst-posix_spawn-fd.c: New file.
15030         * posix/Makefile (routines): Add spawn_valid_fd.
15031         (tests): Add tst-posix_spawn-fd.
15033 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15035         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15036         (do_test): Limit the number of arenas, so that we can use fewer
15037         outer threads.  Limit timeout to 3 seconds, in preparation for a
15038         larger TIMEOUT value.
15040 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15042         [BZ #19674]
15043         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15044         sign in overflowing and underflowing results when overflow or
15045         underflow is detected early.  Include sign in result before rather
15046         than after scaling.
15048         [BZ #19603]
15049         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15050         (__ieee754_remainderl): Adjust sign of integer version of low part
15051         when taking absolute value of high part.
15052         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15053         * math/libm-test.inc (remainder_test_data): Add another test.
15054         (remquo_test_data): Likewise.
15056 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15058         [BZ #19602]
15059         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15060         equal high parts and both low parts zero specially.
15061         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15062         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15063         Add test-fmodl-ldbl-128ibm.
15065         [BZ #19595]
15066         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15067         common logic for all cases of shifting subnormal results.  Do not
15068         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15069         exponent to ldbl_insert_mantissa in subnormal case.
15071         [BZ #19594]
15072         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15073         on high and low parts then adjust result and use
15074         ldbl_canonicalize_int if needed.
15076         [BZ #19593]
15077         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15078         on high part and __floor or __ceil on low part then use
15079         ldbl_canonicalize_int if needed.
15081         [BZ #19592]
15082         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15083         high and low parts then use ldbl_canonicalize_int if needed.
15085         [BZ #17899]
15086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15087         New function.
15088         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15089         on high and low parts then use ldbl_canonicalize_int if needed.
15091 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15093         * configure: Regenerated.
15095         * po/libc.pot: Regenerated.
15097         * po/be.po: Updated translation.
15098         * po/bg.po: Likewise.
15099         * po/ca.po: Likewise.
15100         * po/cs.po: Likewise.
15101         * po/da.po: Likewise.
15102         * po/el.po: Likewise.
15103         * po/eo.po: Likewise.
15104         * po/es.po: Likewise.
15105         * po/fi.po: Likewise.
15106         * po/fr.po: Likewise.
15107         * po/gl.po: Likewise.
15108         * po/hr.po: Likewise.
15109         * po/hu.po: Likewise.
15110         * po/ia.po: Likewise.
15111         * po/id.po: Likewise.
15112         * po/it.po: Likewise.
15113         * po/ja.po: Likewise.
15114         * po/lt.po: Likewise.
15115         * po/nb.po: Likewise.
15116         * po/nl.po: Likewise.
15117         * po/pt_BR.po: Likewise.
15118         * po/rw.po: Likewise.
15119         * po/sk.po: Likewise.
15120         * po/sl.po: Likewise.
15121         * po/sv.po: Likewise.
15122         * po/tr.po: Likewise.
15123         * po/zh_CN.po: Likewise.
15124         * po/zh_TW.po: Likewise.
15126         * version.h (RELEAES): Set to "development".
15127         (VERSION): Set to 2.23.90.
15129         * version.h (RELEASE): Set to "stable".
15130         (VERSION): Set to 2.23.
15131         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15133         * NEWS: Updated fixed bugs.
15135 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15136             Wilco Dijkstra  <wdijkstr@arm.com>
15138         [BZ #19462]
15139         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15140         (_STRING_INLINE_unaligned): This.
15141         * include/string.h: Include <string_private.h>.
15142         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15143         _STRING_INLINE_unaligned.
15144         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15145         (_STRING_INLINE_unaligned): New.
15146         * sysdeps/aarch64/string_private.h: New file.
15147         * sysdeps/generic/string_private.h: Likewise.
15148         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15149         * sysdeps/s390/string_private.h: Likewise.
15150         * sysdeps/x86/string_private.h: Likewise.
15151         * sysdeps/m68k/m680x0/m68020/bits/string.h
15152         (_STRING_ARCH_unaligned): Renamed to ...
15153         (_STRING_INLINE_unaligned): This.
15154         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15155         to ...
15156         (_STRING_INLINE_unaligned): This.
15157         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15158         to ...
15159         (_STRING_INLINE_unaligned): This.
15160         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15161         to ...
15162         (_STRING_INLINE_unaligned): This.
15164 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15165             H.J. Lu  <hongjiu.lu@intel.com>
15167         [BZ #19590]
15168         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15169         relocation.
15171 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15173         [BZ #18665]
15174         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15175         *herrno_p.
15176         (gaih_getanswer): Document functional behviour. Return tryagain
15177         if any result is tryagain.
15178         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15179         when freed.
15180         * resolv/res_send.c: Add copyright text.
15181         (__libc_res_nsend): Document that MAXPACKET is expected.
15182         (send_vc): Document. Remove buffer reuse.
15183         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15184         size of the buffer. Add Dprint for truncated UDP buffer.
15186 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15188         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15189         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15190         * INSTALL: Regenerate.
15192 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15193             Jonathan Wakely  <jwakely@redhat.com>
15194             Carlos O'Donell  <carlos@redhat.com>
15196         [BZ 19439]
15197         * math/Makefile (tests): Add test-math-isinff.
15198         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15199         * math/bits/mathcalls.h [__USE_MISC]: Use
15200         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15201         functions not in C++11 and which don't conflict e.g. isinff,
15202         isinfl etc.
15203         * math/test-math-isinff.cc: New file.
15205 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15207         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15209 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15211         [BZ #19529]
15212         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15214 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15216         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15218 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15220         [BZ #19550]
15221         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15222         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15223         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15224         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15225         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15226         New syscall entry.
15227         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15228         New syscall entry.
15229         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15230         syscall entry.
15232 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15234         [BZ #18240]
15235         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15236         unsigned int wraparound.
15238 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15240         [BZ #18240]
15241         * misc/bug18240.c: New test.
15242         * misc/Makefile (tests): Add it.
15244 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15245             Joseph Myers  <joseph@codesourcery.com>
15247         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15248         load in branch delay slot when less than a word of input left.
15250 2016-01-27  Andreas Schwab  <schwab@suse.de>
15252         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15253         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15254         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15255         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15257 2016-01-26  David S. Miller  <davem@davemloft.net>
15259         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15261 2016-01-25  David S. Miller  <davem@davemloft.net>
15263         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15264         __sqrtl_finite.
15265         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15266         instead using versioned_symbol.
15267         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15268         of entries.
15270         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15271         __sqrtl_finite to GLIBC_2.23
15273 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15275         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15277 2016-01-25  Andreas Schwab  <schwab@suse.de>
15279         [BZ #17514]
15280         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15281         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15282         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15283         * nptl/tst-mutex-errorcheck.c: New file.
15285 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15287         [BZ #18560]
15288         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15289         (IPCOP_semop): Likewise.
15290         (IPCOP_semget): Likewise.
15291         (IPCOP_semctl): Likewise.
15292         (IPCOP_msgsnd): Likewise.
15293         (IPCOP_msgrcv): Likewise.
15294         (IPCOP_msgget): Likewise.
15295         (IPCOP_msgctl): Likewise.
15296         (IPCOP_shmat): Likewise.
15297         (IPCOP_shmdt): Likewise.
15298         (IPCOP_shmget): Likewise.
15299         (IPCOP_shmctl): Likewise.
15301 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15303         * string/tst-endian.c: Include <libc-internal.h>.
15304         (do_test): Ignore tautological-compare warnings around
15305         "htobeXX (beXXtoh (i)) != i" and
15306         "htoleXX (leXXtoh (i)) != i" if-statements.
15308 2016-01-24  David S. Miller  <davem@davemloft.net>
15310         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15311         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15312         alias.
15313         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15314         __sqrtl_finite.
15316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15318 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15320         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15321         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15322         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15324 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15326         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15327         (thread_func): Use new function to simplify barrier check.
15328         (do_test): Use new function to simplify checking barrier exit
15329         code, and actually join the child thread.
15331 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15333         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15334         semicolon.
15335         (__libc_tend): Likewise.
15336         (__libc_tabort): Likewise.
15338 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
15340         * sysdeps/nios2/libm-test-ulps: Update.
15341         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15342         (__gtsf2): Likewise.
15343         (__unorddf2): Likewise.
15344         (__unordsf2): Likewise.
15345         (__ledf2): Likewise.
15347 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
15349         * nis/nis_table.c (__follow_path): Disable diagnostic for
15350         uninitialized variable that is a false positive for gcc 4.7.
15351         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15353 2016-01-20  Roland McGrath  <roland@hack.frob.com>
15355         * sysdeps/nacl/lowlevellock-futex.h
15356         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15357         Always evaluate PRIVATE argument.
15359 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
15361         [BZ #19490]
15362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
15363         (pthread_cond_broadcast): Use ENTRY/END
15364         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
15365         (pthread_cond_signal): Likewise.
15366         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
15367         Likewise.
15368         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
15369         Likewise.
15370         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
15371         Likewise.
15373 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
15375         * sysdeps/ieee754/dbl-64/s_finite.c
15376         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
15377         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
15378         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
15379         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
15380         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15383         (__gtsf2): Add as optional for libc.so.
15384         (__unordsf2): Likewise.
15385         (__signbit): Remove for libc.so.
15386         (__signbitl): Likewise.
15388 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15390         * iconvdata/bug-iconv11.c (test_ibm93x):
15391         Use %zu printf format specifier for size_t argument.
15393 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
15395         * math/gen-libm-test.pl (parse_ulps): Do not reduce
15396         already-recorded ulps.
15397         * sysdeps/arm/libm-test-ulps: Regenerated.
15398         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15399         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15400         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15402 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15403             Paul Pluzhnikov  <ppluzhnikov@google.com>
15405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
15406         assembler not supporting AVX-512.
15408 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15410         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15412 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
15414         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15417         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15419         * sysdeps/arm/libm-test-ulps: Regenerated.
15421 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15423         [BZ #19451]
15424         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
15426 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15428         [BZ #19486]
15429         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
15430         * sysdeps/generic/fix-fp-int-convert-overflow.h
15431         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
15432         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
15433         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
15434         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
15435         Likewise.
15436         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
15437         Avoid conversions to long int where inexact exceptions
15438         could be raised.
15439         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
15440         Likewise.
15441         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
15442         Avoid conversions to long long int where inexact exceptions
15443         could be raised.
15444         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
15445         Likewise.
15447 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
15449         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
15450         * configure: Regenerated.
15452 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15454         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
15456 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
15458         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
15459         outside of comment.
15461 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15463         * nptl/tst-barrier1.c: Add description on first line.
15464         * nptl/tst-barrier2.c: Likewise.
15465         * nptl/tst-barrier3.c: Likewise.
15466         * nptl/tst-barrier4.c: Likewise.
15467         * nptl/tst-barrier5.c: Likewise.
15469 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15471         [BZ #18868]
15472         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
15474 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
15477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15478         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
15479         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
15480         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
15481         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
15482         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15483         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15484         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15485         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15486         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15488 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15490         [BZ #13065]
15491         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
15492         new implementation.
15493         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
15494         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
15495         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
15496         (BARRIER_IN_THRESHOLD): New macro.
15497         * nptl/pthread_barrierattr_setpshared.c
15498         (pthread_barrierattr_setpshared): Clean up.
15499         * nptl/tst-barrier4.c: Correct comment.
15500         * nptl/tst-barrier5.c: New file.
15501         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
15502         (gen-as-const-headers): Remove lowlevelbarrier.sym.
15503         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
15504         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
15505         * nptl/lowlevelbarrier.sym: Remove.
15506         * nptl/DESIGN-barrier.txt: Remove.
15507         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
15508         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
15509         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
15510         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
15511         error.
15512         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
15513         implementation.
15515 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15517         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
15518         (do_child): Mask SIGRTMIN while thr is running.
15520 2016-01-15  Martin Sebor  <msebor@redhat.com>
15522         [BZ #19432]
15523         * iconvdata/Makefile: Add bug-iconv11.
15524         * iconvdata/bug-iconv11.c: New test.
15525         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
15526         * iconvdata/ibm933.c: Same.
15527         * iconvdata/ibm935.c: Same.
15528         * iconvdata/ibm937.c: Same.
15529         * iconvdata/ibm939.c: Same.
15531 2016-01-15  Martin Sebor  <msebor@redhat.com>
15533         [BZ #19443]
15534         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
15535         [DEBUG] (_ufc_set_bits): Declare used.
15536         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
15537         [DEBUG] (print_all): Declare used.
15538         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
15539         operands of the ternary ?: expression to target type.
15540         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
15541         calling the undeclared abort.
15542         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
15544 2016-01-15  Martin Sebor  <msebor@redhat.com>
15546         [BZ #18755]
15547         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
15548         warnings.
15549         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
15550         (__gai_create_helper_thread): Same.
15551         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
15552         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
15553         to suppress -Wmaybe-uninitialized warnings.
15555 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
15557         [BZ #19465]
15558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
15559         inside if.
15560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15564 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
15566         [BZ #19466]
15567         * time/tst-mktime2.c (time_t_max): Removed.
15568         (time_t_min): Likewise.
15569         (TYPE_SIGNED): New.
15570         (TYPE_MINIMUM): Likewise.
15571         (TYPE_MAXIMUM): Likewise.
15572         (TIME_T_MIN): Likewise.
15573         (TIME_T_MAX): Likewise.
15574         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
15575         and TIME_T_MIN.
15576         (do_test): Likewise.
15578 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
15580         [BZ #19467]
15581         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15582         index_Fast_Unaligned_Load flag for Excavator family CPUs.
15584 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
15586         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
15588 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
15590         * benchtests/Makefile (PYTHON): Define.
15591         (bench-func): Use $(PYTHON) to run python scripts.
15592         ($(objpfx)bench-%.c): Likewise.
15594 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
15596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
15597         leading slash when `file_name' is "/".
15599 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
15601         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
15602         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
15603         Likewise.
15604         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
15605         Likewise.
15606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
15607         Likewise.
15608         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
15609         enum constant and macro.
15610         (PTRACE_SETSIGMASK): Likewise.
15611         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15612         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15613         (PTRACE_GETSIGMASK): Likewise.
15614         (PTRACE_SETSIGMASK): Likewise.
15615         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15616         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
15617         Likewise.
15618         (PTRACE_SETSIGMASK): Likewise.
15619         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15620         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15621         (PTRACE_GETSIGMASK): Likewise.
15622         (PTRACE_SETSIGMASK): Likewise.
15623         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15624         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
15625         Likewise.
15626         (PTRACE_SETSIGMASK): Likewise.
15627         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15628         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
15629         Likewise.
15630         (PTRACE_SETSIGMASK): Likewise.
15631         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15632         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
15633         Likewise.
15634         (PTRACE_SETSIGMASK): Likewise.
15635         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15637 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
15638             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15640         [BZ #19439]
15641         * math/bits/mathcalls.h
15642         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
15643         prototype.
15644         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
15646 2016-01-11  Andreas Schwab  <schwab@suse.de>
15648         [BZ #19253]
15649         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
15650         cache when TZDEFRULES was used.
15651         * time/tst-tzname.c: New file.
15652         * time/Makefile (test): Add tst-tzname.
15653         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
15654         * timezone/Makefile (test-zones): Add $(posixrules-file).
15655         ($(testdata)/$(posixrules-file)): New rule.
15657 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
15659         Fix doc quoting problems with Texinfo 5
15660         Without this change, in the info file output, Texinfo 5 quotes code
15661         in text with undirected single quotes 'like this' and generates
15662         code examples that with many PDF readers cannot be cut out of PDFs
15663         and pasted into code.
15664         * manual/libc.texinfo: Configure the libc manual like the GNU
15665         Emacs manual, by using @documentencoding and setting
15666         txicodequoteundirected and txicodequotebacktick.  This way,
15667         Texinfo 5 quotes code in text with directed single quotes ‘like
15668         this’ and produces examples that can be cut out of PDFs.  This
15669         change causes Texinfo 5 to generate info files that contain UTF-8
15670         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
15671         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
15673 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15675         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
15676         __libc_tabort, __libc_tend): New wrappers that enforce compiler
15677         barriers to their respective compiler built-ins.
15678         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
15679         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
15680         * sysdeps/powerpc/sysdep.h: Likewise.
15681         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
15682         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
15683         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
15685 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
15687         * scripts/config.guess: Revert previous shebang change.
15688         * scripts/config.sub: Likewise.
15689         * scripts/mkinstalldirs: Likewise.
15691 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15693         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
15694         PPC_FEATURE2_HAS_IEEE128.
15695         * sysdeps/powerpc/dl-procinfo.c:
15696         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
15698 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
15700         [BZ #19415]
15701         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
15702         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
15703         (_dl_lookup_address): Rewrite using function resolver trampoline.
15704         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
15705         two bits in address.
15707 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
15709         * longlong.h: Change !__SHMEDIA__ to
15710         (!defined (__SHMEDIA__) || !__SHMEDIA__).
15711         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
15713 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
15714             Joseph Myers  <joseph@codesourcery.com>
15715             Mark Shinwell  <shinwell@codesourcery.com>
15716             Andrew Stubbs  <ams@codesourcery.com>
15717             Rich Felker <dalias@libc.org>
15719         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
15721 2016-01-07  Richard Henderson  <rth@redhat.com>
15723         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
15725 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
15727         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
15728         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
15729         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15730         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15731         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
15733 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
15734             Joseph Myers  <joseph@codesourcery.com>
15736         * timezone/private.h: Update from tzcode 2015g.
15737         * timezone/tzfile.h: Likewise.
15738         * timezone/tzselect.ksh: Likewise.
15739         * timezone/zdump.c: Likewise.
15740         * timezone/zic.c: Likewise.
15741         * timezone/ialloc.c: Remove file.
15742         * timezone/scheck.c: Likewise.
15743         * timezone/Makefile (extra-objs): Remove variable.
15744         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
15745         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
15746         -Wno-maybe-uninitialized.
15747         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
15748         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
15749         (CFLAGS-ialloc.c): Remove variable.
15750         (CFLAGS-scheck.c): Likewise.
15751         * timezone/README: Update list of files from tzcode.
15753 2016-01-07  Khem Raj  <raj.khem@gmail.com>
15755         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
15756         instead of __fxprintf when _LIBC is undefined.
15758 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
15760         * catgets/test-gencat.sh: Remove space after shebang.
15761         * conform/GlibcConform.pm: Likewise.
15762         * conform/check-header-lists.sh: Likewise.
15763         * conform/conformtest.pl: Likewise.
15764         * conform/linknamespace.pl: Likewise.
15765         * conform/list-header-symbols.pl: Likewise.
15766         * debug/catchsegv.sh: Likewise.
15767         * elf/genrtldtbl.awk: Likewise.
15768         * elf/tst-pathopt.sh: Likewise.
15769         * elf/tst-rtld-load-self.sh: Likewise.
15770         * grp/tst_fgetgrent.sh: Likewise.
15771         * iconvdata/gen-8bit-gap-1.sh: Likewise.
15772         * iconvdata/gen-8bit-gap.sh: Likewise.
15773         * iconvdata/gen-8bit.sh: Likewise.
15774         * iconvdata/run-iconv-test.sh: Likewise.
15775         * intl/tst-gettext.sh: Likewise.
15776         * intl/tst-gettext2.sh: Likewise.
15777         * intl/tst-gettext4.sh: Likewise.
15778         * intl/tst-gettext6.sh: Likewise.
15779         * intl/tst-translit.sh: Likewise.
15780         * io/ftwtest-sh: Likewise.
15781         * libio/test-freopen.sh: Likewise.
15782         * locale/gen-translit.pl: Likewise.
15783         * malloc/tst-mtrace.sh: Likewise.
15784         * manual/check-safety.sh: Likewise.
15785         * manual/libc-texinfo.sh: Likewise.
15786         * manual/tsort.awk: Likewise.
15787         * manual/xtract-typefun.awk: Likewise.
15788         * nptl/tst-cancel-wrappers.sh: Likewise.
15789         * nptl/tst-tls6.sh: Likewise.
15790         * posix/globtest.sh: Likewise.
15791         * posix/tst-getconf.sh: Likewise.
15792         * posix/wordexp-tst.sh: Likewise.
15793         * scripts/check-c++-types.sh: Likewise.
15794         * scripts/check-local-headers.sh: Likewise.
15795         * scripts/config.guess: Likewise.
15796         * scripts/config.sub: Likewise.
15797         * scripts/cpp: Likewise.
15798         * scripts/cross-test-ssh.sh: Likewise.
15799         * scripts/documented.sh: Likewise.
15800         * scripts/evaluate-test.sh: Likewise.
15801         * scripts/gen-libc-abis: Likewise.
15802         * scripts/gen-sorted.awk: Likewise.
15803         * scripts/list-fixed-bugs.py: Likewise.
15804         * scripts/merge-test-results.sh: Likewise.
15805         * scripts/mkinstalldirs: Likewise.
15806         * scripts/rellns-sh: Likewise.
15807         * scripts/test-installation.pl: Likewise.
15808         * scripts/update-copyrights: Likewise.
15809         * stdio-common/tst-printf.sh: Likewise.
15810         * stdio-common/tst-unbputc.sh: Likewise.
15811         * stdlib/tst-fmtmsg.sh: Likewise.
15812         * stdlib/tst-setcontext3.sh: Likewise.
15813         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
15814         * sysdeps/unix/make-syscalls.sh: Likewise.
15816 2016-01-06  John David Anglin  <dave.anglin@bell.net>
15818         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
15819         asm stw with atomic_exchange_rel.  Add explanatory comment.
15820         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15821         Likewise.
15823 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
15825         [BZ #19122]
15826         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
15827         * sysdeps/generic/dl-unistd.h: New file.
15828         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
15830 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
15832          [BZ #19122]
15833          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
15834          * sysdeps/generic/dl-mman.h: New file.
15835          * sysdeps/mach/hurd/dl-mman.h: Likewise.
15837 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
15839         * manual/texinfo.tex: Update to version 2016-01-04.21 with
15840         trailing whitespace removed.
15841         * scripts/config.guess: Update to version 2016-01-01.
15842         * scripts/config.sub: Update to version 2016-01-01.
15843         * scripts/move-if-change: Update from gnulib.
15845 2016-01-04  Anton Blanchard  <anton@samba.org>
15847         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
15848         for array indices.
15849         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
15851 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
15853         * NEWS: Update copyright dates.
15854         * catgets/gencat.c (print_version): Likewise.
15855         * csu/version.c (banner): Likewise.
15856         * debug/catchsegv.sh: Likewise.
15857         * debug/pcprofiledump.c (print_version): Likewise.
15858         * debug/xtrace.sh (do_version): Likewise.
15859         * elf/ldconfig.c (print_version): Likewise.
15860         * elf/ldd.bash.in: Likewise.
15861         * elf/pldd.c (print_version): Likewise.
15862         * elf/sotruss.sh: Likewise.
15863         * elf/sprof.c (print_version): Likewise.
15864         * iconv/iconv_prog.c (print_version): Likewise.
15865         * iconv/iconvconfig.c (print_version): Likewise.
15866         * locale/programs/locale.c (print_version): Likewise.
15867         * locale/programs/localedef.c (print_version): Likewise.
15868         * login/programs/pt_chown.c (print_version): Likewise.
15869         * malloc/memusage.sh (do_version): Likewise.
15870         * malloc/memusagestat.c (print_version): Likewise.
15871         * malloc/mtrace.pl: Likewise.
15872         * manual/libc.texinfo: Likewise.
15873         * nptl/version.c (banner): Likewise.
15874         * nscd/nscd.c (print_version): Likewise.
15875         * nss/getent.c (print_version): Likewise.
15876         * nss/makedb.c (print_version): Likewise.
15877         * posix/getconf.c (main): Likewise.
15878         * scripts/test-installation.pl: Likewise.
15879         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15881         * All files with FSF copyright notices: Update copyright dates
15882         using scripts/update-copyrights.
15883         * intl/plural.c: Regenerated.
15884         * locale/programs/charmap-kw.h: Likewise.
15885         * locale/programs/locfile-kw.h: Likewise.
15887 2016-01-02  Helge Deller  <deller@gmx.de>
15889         [BZ #19285]
15890         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
15891         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
15892         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
15893         (MADV_xxK_PAGES): Remove.
15895 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
15897         [BZ #15421]
15898         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
15899         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
15900         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15901         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
15903 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
15905         [BZ #19408]
15906         * sysdeps/unix/sysv/linux/personality.c: New file.
15907         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
15908         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
15909         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
15910         (sysdep_routines): Add personality.
15911         (tests): Add tst-personality.
15912         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
15913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
15914         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
15915         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
15916         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15917         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
15918         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
15919         Likewise.
15920         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
15921         Likewise.
15922         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
15923         Likewise.
15924         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
15925         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
15926         Likewise.
15928 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
15930         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
15931         (PATH_ARM_SYSTYPE): Remove.
15932         (PATH_CPUINFO): Likewise.
15933         (IO_BASE_FOOTBRIDGE): Likewise.
15934         (IO_SHIFT_FOOTBRIDGE): Likewise.
15935         (struct platform): Likewise.
15936         (init_iosys): Remove compatibility code for 2.4 kernels.
15937         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
15939 2015-12-29  Florian Weimer  <fweimer@redhat.com>
15941         * malloc/tst-malloc-thread-fail.c: New file.
15942         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
15943         (tst-malloc-thread-fail): Link against libpthread.
15945 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
15947         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
15948         (get_parser): New function.
15949         (main): New function.
15951 2015-12-29  Rob Wu  <rob@robwu.nl>
15953         [BZ #19369]
15954         * resolv/res_init.c (__res_vinit): Reset defdname before use.
15956 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
15958         [BZ #19270]
15959         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15961 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
15963         [BZ #15421]
15964         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
15966 2015-12-23  Torvald Riegel  <triegel@redhat.com>
15968         [BZ #13690]
15969         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
15970         after releasing it.
15971         (__lll_robust_unlock): Likewise.
15972         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15973         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
15974         (lll_robust_unlock): Likewise.
15975         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
15976         Prevent warnings in callers.
15978 2015-12-23  Florian Weimer  <fweimer@redhat.com>
15980         * malloc/arena.c (list_lock): Update comment.
15982 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15984         * sysdeps/powerpc/hwcapinfo.c: Export symbol
15985         __parse_hwcap_and_convert_at_platform to libc.a.
15987 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15989         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
15990         platform and feature support for POWER9.
15991         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15992         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
15993         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
15994         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
15995         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
15996         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15997         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15998         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16000 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16002         Harmonize generic stdio-lock support with nptl
16004         This fixes build when _IO_funlockfile is a macro, fixes build where
16005         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16006         stack unwind.
16008         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16009         _IO_release_lock ): Use cleanup attribute on new
16010         _IO_acquire_lock_file variable instead of assuming that
16011         _IO_release_lock will be called.
16012         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16013         _IO_acquire_lock_needs_exceptions_enabled.
16014         (_IO_acquire_lock_clear_flags2): New macro.
16016 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16018         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16020 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16022         [BZ #19182]
16023         * malloc/arena.c (list_lock): Document lock ordering requirements.
16024         (free_list_lock): New lock.
16025         (ptmalloc_lock_all): Comment on free_list_lock.
16026         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16027         (detach_arena): Update comment.  free_list_lock is now needed.
16028         (_int_new_arena): Use free_list_lock around detach_arena call.
16029         Acquire arena lock after list_lock.  Add comment, including FIXME
16030         about incorrect synchronization.
16031         (get_free_list): Switch to free_list_lock.
16032         (reused_arena): Acquire free_list_lock around detach_arena call
16033         and attached threads counter update.  Add two FIXMEs about
16034         incorrect synchronization.
16035         (arena_thread_freeres): Switch to free_list_lock.
16036         * malloc/malloc.c (struct malloc_state): Update comments to
16037         mention free_list_lock.
16039 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16041         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16042         Remove functions.
16043         (sloww, sloww1): Accept argument to offset quadrant.
16044         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16045         quadrant.
16046         (__sin, __cos): Consolidate common code into new functions.
16047         (reduce_sincos_1, do_sincos_1): New functions.
16048         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16051         code to new functions.
16052         (reduce_sincos_2, do_sincos_2): New functions.
16053         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16056         common code for sincos.
16057         (__cos) [!IN_SINCOS]: Likewise.
16058         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16059         New function.
16060         (__sincos): Use it.
16062 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16064         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16065         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16066         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16068 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16070         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16073         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16074         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16075         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16076         index_Prefer_No_VZEROUPPER): New feature.
16077         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16078         Prefer_No_VZEROUPPER for Knights Landing.
16080 015-12-18  Torvald Riegel  <triegel@redhat.com>
16082         * math/atest-exp2.c (mp_exp_m1): Remove.
16084 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16086         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16087         syscalls.
16088         (__SYSCALL0): New macro.
16089         (__SYSCALL1): Likewise.
16090         (__SYSCALL2): Likewise.
16091         (__SYSCALL3): Likewise.
16092         (__SYSCALL4): Likewise.
16093         (__SYSCALL5): Likewise.
16094         (__SYSCALL6): Likewise.
16095         (__SYSCALL_CONCAT_X): Likewise.
16096         (__SYSCALL_CONCAT): Likewise.
16097         (__SYSCALL_DIST): Likewise.
16098         (__SYSCALL_CALL): Likewise.
16100 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16102         [BZ #19363]
16103         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16105 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16107         [BZ #19375]
16108         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16109         negative subnormals.
16111 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16114         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16115         (INTERNAL_SYSCALL_NCS): Use it.
16116         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16118 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16120         [BZ #19243]
16121         * malloc/arena.c (get_free_list): Remove assert and adjust
16122         reference count handling.  Add comment about reused_arena
16123         interaction.
16124         (reused_arena): Add comments abount get_free_list interaction.
16125         * malloc/tst-malloc-thread-exit.c: New file.
16126         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16127         (tst-malloc-thread-exit): Link against libpthread.
16129 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16131         [BZ #19367]
16132         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16133         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16134         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16135         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16136         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16138 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16140         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16141         Silvermont optimizations for Knights Landing.
16143 2015-12-15  Andreas Schwab  <schwab@suse.de>
16145         [BZ #17197]
16146         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16147         immediately after emitting SI.
16148         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16149         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16150         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16151         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16152         * iconvdata/bug-iconv10.c: New file.
16153         * iconvdata/Makefile (tests): Add bug-iconv10.
16154         ($(objpfx)bug-iconv10.out): New rule.
16156 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16158         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16159         aliasing violation.
16161 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16163         [BZ #18472]
16164         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16165         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16166         conditionals for them.
16167         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16168         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16170         sys/kdaemon.h.
16171         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16172         compat-only syscall, obsoleted in glibc 2.23.
16173         (create_module): Likewise.
16174         (get_kernel_syms): Likewise.
16175         (query_module): Likewise.
16176         (uselib): Likewise.
16177         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16179 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16181         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16182         <linux/version.h>.
16183         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16184         conditional code.
16185         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16186         and ioshift_name initialization.
16188 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16190         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16191         Fix indentation.
16193 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16195         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16197 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16199         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16201 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16202             Jakub Wilk  <jwilk@debian.org>
16204         [BZ #19347]
16205         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16206         to change the group of the device to the tty group.
16208 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16210         Split large string section; add truncation advice
16211         * manual/examples/strncat.c: Remove.
16212         This example was misleading, as the code would have undefined
16213         behavior if "hello" was longer than SIZE.  Anyway, the manual
16214         shouldn't encourage strncpy+strncat for this sort of thing.
16215         * manual/string.texi (Copying Strings and Arrays): Split into
16216         three sections Copying Strings and Arrays, Concatenating Strings,
16217         and Truncating Strings, as this section was way too long.  All
16218         cross-referenced changed.  Add advice about string-truncation
16219         functions.  Remove misleading strncat example.
16221 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16223         * manual/nss.texi (NSS Modules Interface): Document
16224         NSS_STATUS_NOTFOUND and SUCCESS.
16226 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16228         [BZ 18568]
16229         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16230         201505L, for Unicode 8.
16232 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16234         * locale/C-translit.h: Regenerate.
16236 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16238         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16239         and U+0153.
16241 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #19351]
16244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16245         expanding log(1+z), compare z rather than its square with epsilon
16246         to determine when to avoid evaluating the expansion.
16248         [BZ #19350]
16249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16250         Increase overflow threshold.
16252         [BZ #19349]
16253         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16254         when small.
16256         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16258         New macro.
16259         [__LINUX_KERNEL_VERSION >= 0x040300]
16260         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16261         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16262         Likewise.
16263         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16264         Likewise.
16265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16266         Likewise.
16267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16268         Likewise.
16269         [__LINUX_KERNEL_VERSION >= 0x040300]
16270         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16271         [__LINUX_KERNEL_VERSION >= 0x040300]
16272         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16273         [__LINUX_KERNEL_VERSION >= 0x040300]
16274         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16275         [__LINUX_KERNEL_VERSION >= 0x040300]
16276         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16277         [__LINUX_KERNEL_VERSION >= 0x040300]
16278         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16280         Likewise.
16281         [__LINUX_KERNEL_VERSION >= 0x040300]
16282         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16284         Likewise.
16285         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16286         Likewise.
16287         [__LINUX_KERNEL_VERSION >= 0x040300]
16288         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16290         Likewise.
16291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16292         Likewise.
16293         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16295         Likewise.
16296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16297         Likewise.
16298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16299         Likewise.
16300         [__LINUX_KERNEL_VERSION >= 0x040300]
16301         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16303         Likewise.
16304         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16305         Likewise.
16306         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16307         Likewise.
16308         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16309         Likewise.
16310         [__LINUX_KERNEL_VERSION >= 0x040300]
16311         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16312         [__LINUX_KERNEL_VERSION >= 0x040300]
16313         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16314         [__LINUX_KERNEL_VERSION >= 0x040300]
16315         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16316         [__LINUX_KERNEL_VERSION >= 0x040300]
16317         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16318         [__LINUX_KERNEL_VERSION >= 0x040300]
16319         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16321         Likewise.
16322         [__LINUX_KERNEL_VERSION >= 0x040300]
16323         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16325         Likewise.
16326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16327         Likewise.
16328         [__LINUX_KERNEL_VERSION >= 0x040300]
16329         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16331         Likewise.
16332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16333         Likewise.
16334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16335         (__ASSUME_SOCKET_SYSCALL): Likewise.
16336         (__ASSUME_BIND_SYSCALL): Likewise.
16337         (__ASSUME_CONNECT_SYSCALL): Likewise.
16338         (__ASSUME_LISTEN_SYSCALL): Likewise.
16339         (__ASSUME_ACCEPT_SYSCALL): Likewise.
16340         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16341         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16342         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16343         (__ASSUME_SEND_SYSCALL): Likewise.
16344         (__ASSUME_SENDTO_SYSCALL): Likewise.
16345         (__ASSUME_RECV_SYSCALL): Likewise.
16346         (__ASSUME_RECVFROM_SYSCALL): Likewise.
16347         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16348         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16349         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16350         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16351         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16352         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16353         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16354         Likewise.
16355         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16356         Likewise.
16357         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
16358         Likewise.
16359         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
16360         Likewise.
16361         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
16362         Likewise.
16363         [__LINUX_KERNEL_VERSION >= 0x020625]
16364         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16365         [__LINUX_KERNEL_VERSION >= 0x020625]
16366         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16367         [__LINUX_KERNEL_VERSION >= 0x020625]
16368         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16369         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
16370         Likewise.
16371         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
16372         Likewise.
16373         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
16374         Likewise.
16375         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
16376         Likewise.
16377         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
16378         Likewise.
16379         [__LINUX_KERNEL_VERSION >= 0x020625]
16380         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16381         [__LINUX_KERNEL_VERSION >= 0x020625]
16382         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16383         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
16384         Likewise.
16385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
16386         Likewise.
16388 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16390         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
16391         record the current if the current ABI and CPU support the FP64
16392         extension.
16393         (has-modd-spreg): Define to record the current if the current ABI and
16394         CPU support 32-bit floating point values in odd FPU registers.
16395         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16396         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
16397         $(has-modd-spreg) equals yes.
16398         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
16399         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
16400         $(has-modd-spreg) equal yes.
16402 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16404         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
16405         basename.
16407 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
16409         * benchtests/Makefile (bench-math): Move ffs and ffsll...
16410         (bench-string): ... here.
16411         (bench): Add bench-string.
16412         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
16413         to *-benchset to reflect what they are.
16414         (benchset): Adjust.
16416         * benchtests/sincos-inputs: Add inputs from sin-inputs and
16417         cos-inputs.
16419 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
16421         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
16422         __attribute__ ((__simd__)) for vector math function declarations.
16424 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16426         Fix typo in strncat, wcsncat manual entries
16427         * manual/string.texi (Copying and Concatenation): Fix typos in
16428         sample implementations of strncat and wcsncat, by having them use
16429         the old value of the destination length, not the new one.
16431 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
16433         [BZ #16961]
16434         [BZ #16962]
16435         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
16436         string on the stack for strtod.
16437         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
16438         a string on the stack for strtof.
16439         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
16440         constructing a string on the stack for strtold.
16441         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
16442         __strtold_nan to GLIBC_PRIVATE.
16443         * math/test-nan-overflow.c: New file.
16444         * math/test-nan-payload.c: Likewise.
16445         * math/Makefile (tests): Add test-nan-overflow and
16446         test-nan-payload.
16448 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16450         Consistency about byte vs character in string.texi
16451         * manual/string.texi (String and Array Utilities):
16452         Distinguish more carefully among bytes, multibyte characters,
16453         and wide characters.  Use "byte" when talking about C 'char',
16454         to distinguish it more clearly from multibyte characters.
16455         Say "wide character" or "multibyte character" instead of
16456         "character", when a wide or multibyte character is intended.
16457         Similarly for "multibyte string" versus "string".
16458         Define these terms more carefully.
16460 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
16462         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
16463         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
16464         Likewise.
16465         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16466         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16467         * sysdeps/sh/math_private.h: New file.
16468         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
16469         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
16470         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
16471         long double function name.
16472         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16473         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16474         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16478         Remove __finitel, __isinfl, and __isnanl.
16479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16480         Likewise.
16481         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16483         Remove __finitel.
16484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16485         Likewise.
16486         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16488 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
16490         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
16491         installed libmvec_nonshared.a.
16493 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16495         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
16496         (sysdep_routines): Likewise.
16497         (sysdep-rtld-routines): Likewise.
16498         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
16499         [$(subdir) = nptl](tests-static): test-get_hwcap-static
16500         * sysdeps/powerpc/Versions: Added new
16501         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
16502         * sysdeps/powerpc/hwcapinfo.c: New file.
16503         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
16504         and parse hwcap, hwcap2 and platform number information.
16505         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
16506         to store HWCAP+HWCAP2 and platform number.
16507         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
16508         for HWCAP+HWCAP2 and platform number in the TCB.
16509         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
16510         the HWCAP, HWCAP2 and platform number in the TCB.
16511         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
16512         (TLS_INIT_TP): Included calls to add the hwcap and
16513         at_platform values in the TCB in TP initialization.
16514         (TLS_DEFINE_INIT_TP): Likewise.
16515         (THREAD_GET_HWCAP): New macro.
16516         (THREAD_SET_HWCAP): Likewise.
16517         (THREAD_GET_AT_PLATFORM): Likewise.
16518         (THREAD_SET_AT_PLATFORM): Likewise.
16519         * sysdeps/powerpc/powerpc32/dl-machine.h:
16520         (dl_platform_init): New function that calls
16521         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
16522         powerpc32.
16523         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
16524         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
16525         this functionality, static linking case.
16526         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
16527         linking case.
16528         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
16529         __parse_hwcap_and_convert_at_platform for the static linking case.
16530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
16531         Included the new __parse_hwcap_and_convert_at_platform symbol in the
16532         ABI list for GLIBC 2.23.
16533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
16534         Likewise.
16535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
16536         Likewise.
16538 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
16540         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
16541         * configure: Regenerate.
16542         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
16543         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
16545 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
16547         * iconvdata/ibm930.c: Add comment explaining encoding uses.
16548         * iconvdata/ibm933.c: Likewise.
16549         * iconvdata/ibm935.c: Likewise.
16550         * iconvdata/ibm937.c: Likewise.
16551         * iconvdata/ibm939.c: Likewise.
16553 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16555         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
16556         pthread_join.
16557         * nptl/tst-cancel21.c (tf): Likewise.
16559 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16561         [BZ #19313]
16562         * bits/typesizes.h (__CPU_MASK_TYPE): New.
16563         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16564         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16565         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
16566         Likewise.
16567         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
16568         Likewise.
16569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
16570         Likewise.
16571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
16572         Likewise.
16573         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
16574         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
16575         unsigned long int with __CPU_MASK_TYPE.
16577 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16579         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16581 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
16583         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
16584         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
16585         t512.x.
16586         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
16588 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
16590         [BZ #19214]
16591         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
16592         argument to return extended model.  Update family and model
16593         with extended family and model when family == 0x0f.
16594         (init_cpu_features): Updated.
16596 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16598         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
16599         signed off_t, so 32bit bigger than 2GiB values are fine actually.
16601         * sysdeps/mach/hurd/mmap64.c: New file.
16603 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
16605         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
16606         rights for its main user thread in NEWTASK.
16608 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
16610         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
16611         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
16613 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
16615         [BZ #14259]
16616         * Makeconfig: Rename localedir to complocaledir.
16617         Rename inst_localedir to inst_complocaledir.
16618         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
16619         * config.make.in: Use complocaledir and libc_cv_complocaledir.
16620         * configure.ac: Use libc_cv_complocaledir.
16621         * configure: Regenerate.
16622         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
16623         -DCOMPLOCALEDIR.
16624         * locale/findlocale.c: Use COMPLOCALEDIR.
16625         * locale/loadarchive.c: Likewise.
16626         * locale/programs/locale.c: Likewise.
16627         * locale/programs/localedef.c: Likewise.
16628         * locale/programs/locarchive.c: Likewise.
16629         * localedata/Makefile: Use inst_complocaledir.
16630         * sysdeps/gnu/configure: Regenerate.
16631         * sysdeps/hppa/configure: Regenerate.
16632         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16633         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16635         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16636         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16637         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16638         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16640 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
16642         [BZ #19058]
16643         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
16644         AS_NEEDED.
16645         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
16646         workaround.
16647         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
16648         libmvec-static-only-routines): Added new file.
16649         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
16651 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16653         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
16654         of interrupted RPC instead of restoring it.
16656         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
16657         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
16658         libc_hidden_def.
16659         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
16660         into initialized data instead of common. Define rtld_hidden_data_def.
16661         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
16662         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
16663         libc_hidden_def.
16664         (if_freenameindex): Add libc_hidden_weak.
16665         (if_nameindex): Add libc_hidden_weak.
16666         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
16667         __open64.
16668         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
16669         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
16670         * sysdeps/mach/nanosleep.c: Include <time.h>
16671         (__nanosleep): Rename to __libc_nanosleep.
16672         (__nanosleep): Add weak_alias.
16673         (nanosleep): Update alias.
16675 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
16677         * stdlib/strtod_nan.c: New file.
16678         * stdlib/strtod_nan_double.h: Likewise.
16679         * stdlib/strtod_nan_float.h: Likewise.
16680         * stdlib/strtod_nan_main.c: Likewise.
16681         * stdlib/strtod_nan_narrow.h: Likewise.
16682         * stdlib/strtod_nan_wide.h: Likewise.
16683         * stdlib/strtof_nan.c: Likewise.
16684         * stdlib/strtold_nan.c: Likewise.
16685         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
16686         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
16687         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
16688         * wcsmbs/wcstod_nan.c: Likewise.
16689         * wcsmbs/wcstof_nan.c: Likewise.
16690         * wcsmbs/wcstold_nan.c: Likewise.
16691         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
16692         strtold_nan.
16693         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
16694         wcstof_nan.
16695         * include/stdlib.h (__strtof_nan): Declare and use
16696         libc_hidden_proto.
16697         (__strtod_nan): Likewise.
16698         (__strtold_nan): Likewise.
16699         (__wcstof_nan): Likewise.
16700         (__wcstod_nan): Likewise.
16701         (__wcstold_nan): Likewise.
16702         * include/wchar.h (____wcstoull_l_internal): Declare.
16703         * stdlib/strtod_l.c: Do not include <ieee754.h>.
16704         (____strtoull_l_internal): Remove declaration.
16705         (STRTOF_NAN): Define macro.
16706         (SET_MANTISSA): Remove macro.
16707         (STRTOULL): Likewise.
16708         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
16709         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
16710         (STRTOF_NAN): Define macro.
16711         (SET_MANTISSA): Remove macro.
16712         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
16713         (SET_MANTISSA): Remove macro.
16714         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
16715         macro.
16716         (SET_MANTISSA): Remove macro.
16717         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
16718         macro.
16719         (SET_MANTISSA): Remove macro.
16720         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
16721         (SET_MANTISSA): Remove macro.
16722         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
16723         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
16724         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
16726         [BZ #19266]
16727         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
16728         upper case and lower case letters inside NAN(), not using TOLOWER.
16729         * stdlib/tst-strtod-nan-locale-main.c: New file.
16730         * stdlib/tst-strtod-nan-locale.c: Likewise.
16731         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
16732         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
16733         Depend on $(gen-locales).
16734         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
16735         * wcsmbs/tst-wcstod-nan-locale.c: New file.
16736         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
16737         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
16738         Depend on $(gen-locales).
16739         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
16741 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
16743         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
16745         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
16747         __finitel, __isinfl, and __isnanl.
16748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16749         Likewise.
16750         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
16752         __finitel.
16753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16754         Likewise.
16755         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16757 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16759         * malloc/memusage.c (me): Remove redundant getenv call.
16761 2015-10-24  Florian Weimer  <fweimer@redhat.com>
16763         [BZ #19143]
16764         [BZ #19164]
16765         * nptl/check-cpuset.h: Remove.
16766         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
16767         Remove CPU set size check.
16768         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
16769         Likewise.
16770         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
16771         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16772         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
16773         (__pthread_setaffinity_new): Remove CPU set size check.
16774         * sysdeps/unix/sysv/linux/sched_setaffinity.c
16775         (__kernel_cpumask_size): Remove.
16776         (__sched_setaffinity_new): Remove CPU set size check.
16777         * manual/threads.texi (Default Thread Attributes): Remove stale
16778         reference to check_cpuset_attr, determine_cpumask_size in comment.
16779         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
16780         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
16781         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
16782         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
16783         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
16784         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
16785         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
16786         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
16787         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
16788         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
16789         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
16790         skeleton test file.
16791         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
16792         tst-affinity-pid.
16794 2015-11-24  Florian Weimer  <fweimer@redhat.com>
16796         * scripts/update-abilist.sh: New file.
16797         * Makefile (+subdir_targets): Add subdir_update-all-abi.
16798         * Makerules (update-all-abi-%, update-all-abi)
16799         (subdir_update-all-abi): New targets.
16800         * elf/Makefile (update-all-abi): New target.
16802 2015-11-24  Florian Weimer  <fweimer@redhat.com>
16804         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
16805         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
16806         (__libc_lock_define_initialized): Use it.
16807         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
16808         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
16809         * malloc/malloc.c (main_arena): Likewise.
16810         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16811         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16813 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
16815         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16816         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
16817         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16818         (PTRACE_O_MASK): Update value.
16819         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
16820         New value in enum __ptrace_setoptions.
16821         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16822         (PTRACE_O_MASK): Update value.
16823         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16824         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16825         (PTRACE_O_MASK): Update value.
16826         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16827         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16828         (PTRACE_O_MASK): Update value.
16829         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16830         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16831         (PTRACE_O_MASK): Update value.
16832         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
16833         New value in enum __ptrace_setoptions.
16834         (PTRACE_O_MASK): Update value.
16835         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
16836         New value in enum __ptrace_setoptions.
16837         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16838         (PTRACE_O_MASK): Update value.
16840         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
16841         New macro.
16842         (PACKET_AUXDATA): Likewise.
16843         (PACKET_ORIGDEV): Likewise.
16844         (PACKET_VERSION): Likewise.
16845         (PACKET_HDRLEN): Likewise.
16846         (PACKET_RESERVE): Likewise.
16847         (PACKET_TX_RING): Likewise.
16848         (PACKET_LOSS): Likewise.
16849         (PACKET_VNET_HDR): Likewise.
16850         (PACKET_TX_TIMESTAMP): Likewise.
16851         (PACKET_TIMESTAMP): Likewise.
16852         (PACKET_FANOUT): Likewise.
16853         (PACKET_TX_HAS_OFF): Likewise.
16854         (PACKET_QDISC_BYPASS): Likewise.
16855         (PACKET_ROLLOVER_STATS): Likewise.
16856         (PACKET_FANOUT_DATA): Likewise.
16857         (PACKET_MR_UNICAST): Likewise.
16859         [BZ #19242]
16860         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
16861         (TOUPPER): Likewise.
16862         * stdlib/tst-strtol-locale-main.c: New file.
16863         * stdlib/tst-strtol-locale.c: Likewise.
16864         * stdlib/Makefile (tests): Add tst-strtol-locale.
16865         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
16866         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
16867         Depend on $(gen-locales).
16868         * wcsmbs/tst-wcstol-locale.c: New file.
16869         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
16870         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
16871         tr_TR.ISO-8859-9.
16872         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
16873         Depend on $(gen-locales).
16875 2015-11-20  Roland McGrath  <roland@hack.frob.com>
16877         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
16878         __glibc_likely instead of __builtin_expect.  After falling back to
16879         dyncode_create in a non-ET_DYN case, use the allocate_code_data
16880         system interface to register the code pages as occupied.
16882 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
16884         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16885         [!ARM_MATH_PRIVATE_H].
16886         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
16887         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16888         [!HPPA_MATH_PRIVATE_H].
16889         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
16890         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
16891         to [!I386_MATH_PRIVATE_H].
16892         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
16893         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
16894         Change guard to [!M68K_MATH_PRIVATE_H].
16895         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
16896         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
16897         guard to [!MICROBLAZE_MATH_PRIVATE_H].
16898         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
16899         macro.
16900         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16901         [!MIPS_MATH_PRIVATE_H].
16902         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
16903         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16904         [!NIO2_MATH_PRIVATE_H].
16905         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
16906         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16907         [!TILE_MATH_PRIVATE_H].
16908         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
16910         [BZ #15421]
16911         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
16912         initialize with 0 and define as weak alias of __signgam.
16913         * include/math.h [!_ISOMAC] (__signgam): Declare.
16914         * math/Makefile (libm-calls): Add w_lgamma_compat.
16915         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
16916         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
16917         test-signgam-ullong-init.
16918         (tests-static): Add test-signgam-uchar-static,
16919         test-signgam-uchar-init-static, test-signgam-uint-static,
16920         test-signgam-uint-init-static, test-signgam-ullong-static and
16921         test-signgam-ullong-init-static.
16922         (CFLAGS-test-signgam-uchar.c): New variable.
16923         (CFLAGS-test-signgam-uchar-init.c): Likewise.
16924         (CFLAGS-test-signgam-uchar-static.c): Likewise.
16925         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16926         (CFLAGS-test-signgam-uint.c): Likewise.
16927         (CFLAGS-test-signgam-uint-init.c): Likewise.
16928         (CFLAGS-test-signgam-uint-static.c): Likewise.
16929         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16930         (CFLAGS-test-signgam-ullong.c): Likewise.
16931         (CFLAGS-test-signgam-ullong-init.c): Likewise.
16932         (CFLAGS-test-signgam-ullong-static.c): Likewise.
16933         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16934         * math/Versions (libm): Add GLIBC_2.23.
16935         * math/lgamma-compat.h: New file.
16936         * math/test-signgam-main.c: Likewise.
16937         * math/test-signgam-uchar-init-static.c: Likewise.
16938         * math/test-signgam-uchar-init.c: Likewise.
16939         * math/test-signgam-uchar-static.c: Likewise.
16940         * math/test-signgam-uchar.c: Likewise.
16941         * math/test-signgam-uint-init-static.c: Likewise.
16942         * math/test-signgam-uint-init.c: Likewise.
16943         * math/test-signgam-uint-static.c: Likewise.
16944         * math/test-signgam-uint.c: Likewise.
16945         * math/test-signgam-ullong-init-static.c: Likewise.
16946         * math/test-signgam-ullong-init.c: Likewise.
16947         * math/test-signgam-ullong-static.c: Likewise.
16948         * math/test-signgam-ullong.c: Likewise.
16949         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
16950         wrapper of w_lgamma_main.c.
16951         * math/w_lgamma_compat.c: New file.
16952         * math/w_lgamma_compatf.c: Likewise.
16953         * math/w_lgamma_compatl.c: Likewise.
16954         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
16955         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
16956         defining compatibility symbols.
16957         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
16958         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
16959         wrapper of w_lgammaf_main.c.
16960         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
16961         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
16962         defining compatibility symbols.
16963         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
16964         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
16965         wrapper of w_lgammal_main.c.
16966         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
16967         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
16968         defining compatibility symbols.
16969         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
16970         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
16971         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
16972         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
16973         <lgamma-compat.h>.
16974         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
16975         (__ieee754_gamma): Define as alias.
16976         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
16977         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
16978         <lgamma-compat.h>.
16979         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
16980         (__ieee754_gammaf): Define as alias.
16981         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
16982         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
16983         <lgamma-compat.h>.
16984         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
16985         (__ieee754_gammal): Define as alias.
16986         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
16987         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
16988         <math/w_lgamma_compat.c>.
16989         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
16990         Define as alias of __lgamma_compat and use in defining lgammal.
16991         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
16992         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
16993         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
16994         (USE_AS_COMPAT): New macro.
16995         (LGAMMA_OLD_VER): Undefine and redefine.
16996         (lgammal): Do not define here.
16997         (gammal): Only define here if [GAMMA_ALIAS].
16998         * conform/linknamespace.pl (@whitelist): Remove signgam.
16999         * sysdeps/nacl/libm.abilist: Update.
17000         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17001         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17002         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17003         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17004         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17005         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17006         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17007         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17008         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17009         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17010         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17011         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17013         Likewise.
17014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17015         Likewise.
17016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17017         Likewise.
17018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17019         Likewise.
17020         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17021         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17022         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17023         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17024         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17026         Likewise.
17027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17028         Likewise.
17029         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17030         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17033 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17035         [BZ #16364]
17036         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17037         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17039 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17041         * sysdeps/s390/fpu/bits/mathinline.h:
17042         Use __asm__ [__volatile__] instead of asm [volatile].
17043         * sysdeps/s390/abort-instr.h: Likewise.
17044         * sysdeps/s390/atomic-machine.h: Likewise.
17045         * sysdeps/s390/bits/string.h: Likewise.
17046         * sysdeps/s390/dl-tls.h: Likewise.
17047         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17048         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17049         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17050         * sysdeps/s390/fpu/fesetround.c: Likewise.
17051         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17052         * sysdeps/s390/fpu/s_fma.c: Likewise.
17053         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17054         * sysdeps/s390/memusage.h: Likewise.
17055         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17056         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17057         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17058         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17059         * sysdeps/s390/nptl/tls.h: Likewise.
17060         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17061         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17062         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17063         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17064         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17065         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17066         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17067         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17068         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17069         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17070         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17071         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17072         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17073         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17074         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17075         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17076         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17077         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17078         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17080         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17082         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17084 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17085             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17087         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17088         Add lwarx hint, and use macro for acquire instruction.
17089         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17090         Likewise.
17091         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17092         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17093         update to use new atomic macros.
17095 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17097         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17098         (__lll_trylock_elision): Fix setting of adapt_count.
17099         * sysdeps/unix/sysv/linux/powerpc/htm.h
17100         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17101         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17102         (_ABORT_SYSCALL): Renumber, and clarify definition.
17103         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17105 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17107         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17108         after system headers to prevent MIN/MAX redefinition.  Define
17109         HAVE_ALLOCA to preserve builtin alloca usage.
17111 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17114         static and don't set or restore rounding.
17115         (__cos)[IN_SINCOS]: Likewise.
17116         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17117         (__sincos): Set and restore rounding mode.  Remove check for infinite
17118         or NaN input.
17120         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17122         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17123         as used.
17125 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17127         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17129 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17131         * config.make.in (have-glob-dat-reloc): New.
17132         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17133         target supports GLOB_DAT relocaton. AC_SUBST.
17134         * configure: Regenerated.
17135         * elf/Makefile (tests): Add tst-prelink.
17136         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17137         (tst-prelink-ENV): New.
17138         ($(objpfx)tst-prelink-conflict.out): Likewise.
17139         ($(objpfx)tst-prelink-cmp.out): Likewise.
17140         * sysdeps/x86/tst-prelink.c: Moved to ...
17141         * elf/tst-prelink.c: Here.
17142         * sysdeps/x86/tst-prelink.exp: Moved to ...
17143         * elf/tst-prelink.exp: Here.
17144         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17145         (tst-prelink-ENV): Removed.
17146         ($(objpfx)tst-prelink-conflict.out): Likewise.
17147         ($(objpfx)tst-prelink-cmp.out): Likewise.
17148         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17150 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17152         [BZ #14551]
17153         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17154         (__mpn_construct_long_double): If high part overflows to infinity,
17155         set errno and recompute overflowed result of the correct sign.
17156         * sysdeps/ieee754/ldbl-128ibm/Makefile
17157         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17158         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17159         $(libm).
17160         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17162 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17164         [BZ #15479]
17165         [BZ #19238]
17166         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17167         floating-point state after first operation on input.  Restore full
17168         state rather than just rounding mode.
17169         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17170         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17171         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17173         [BZ #19235]
17174         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17175         add 0.5 to integer arguments.
17176         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17177         Likewise.
17178         (.LC2): New object.
17180 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17182         * scripts/pylintrc (reports): Set to no.
17184 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17186         * elf/dl-load.c (open_verify): Take new argument FD.
17187         Skip __open call if passed FD is not -1.
17188         (_dl_map_object, open_path): Update callers.
17189         * elf/dl-sysdep-open.h: New file.
17190         * elf/dl-load.c: Include it.
17191         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17192         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17193         * sysdeps/nacl/dl-sysdep-open.h: New file.
17194         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17195         from libc to rtld.
17197 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17199         [BZ #19228]
17200         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17201         and restore full floating-point state.
17202         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17203         Likewise.
17204         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17205         Likewise.
17206         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17207         Likewise.
17208         * math/test-nearbyint-except-2.c: New file.
17209         * math/Makefile (tests): Add test-nearbyint-except-2.
17211 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17213         [BZ #19178]
17214         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17215         (tst-prelink-ENV): New.
17216         ($(objpfx)tst-prelink-conflict.out): Likewise.
17217         ($(objpfx)tst-prelink-cmp.out): Likewise.
17218         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17219         * sysdeps/x86/tst-prelink.c: New file.
17220         * sysdeps/x86/tst-prelink.exp: Likewise.
17222 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17224         * math/auto-libm-test-in: Add another test of pow.
17225         * math/auto-libm-test-out: Regenerated.
17226         * math/libm-test.inc (pow_test_data): Add another test.
17228 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17230         [BZ #19219]
17231         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17232         weak_alias to nearbyintl.
17234 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17236         * sysdeps/aarch64/bits/string.h: New file.
17237         (_STRING_ARCH_unaligned): Define.
17239 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17241         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17242         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17243         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17244         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17247 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17249         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17250         for original name of the DSO.  Add it to the name list of the DSO
17251         if it is actually given.
17252         (_dl_map_object): Keep track of whether an audit module rewrote
17253         the file name.  If yes, pass the original name to
17254         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17255         debugging is enabled, log the change of the file name.
17256         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17257         _dl_map_object_from_fd.
17258         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17259         * elf/tst-audit11.c: New file
17260         * elf/tst-auditmod11.c: New file.
17261         * elf/tst-audit11mod1.c: New file.
17262         * elf/tst-audit11mod2.c: New file.
17263         * elf/tst-audit11mod2.map: New file.
17264         * elf/tst-audit12.c: New file
17265         * elf/tst-auditmod12.c: New file.
17266         * elf/tst-audit12mod1.c: New file.
17267         * elf/tst-audit12mod2.c: New file.
17268         * elf/tst-audit12mod2.map: New file.
17269         * elf/tst-audit12mod3.c: New file.
17271 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17273         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17274         Don't create weak aliases,
17275         because versioned symbols are created later.
17276         * sysdeps/s390/s390-32/setjmp.S
17277         (setjmp, _setjmp): Remove weak and rename to an unique name
17278         in SHARED case due to existing versioned symbols.
17279         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17280         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17281         (getcontext): Create weak alias only in non SHARED case.
17282         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17284 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17286         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17287         (__ASSUME_*_SYSCALL) Define new macros.
17288         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17289         Remove socketcall syscalls.
17290         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17291         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17292         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17293         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17294         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17295         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17297 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17299         [BZ #12926]
17300         Terminate process on invalid netlink response.
17301         * sysdeps/unix/sysv/linux/netlinkaccess.h
17302         (__netlink_assert_response): Declare.
17303         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17304         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17305         (sysdep_routines): Add netlink_assert_response.
17306         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17307         __netlink_assert_response.
17308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17309         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17310         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17311         __netlink_assert_response.
17313 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17315         [BZ #19178]
17316         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17317         (RTYPE_CLASS_PLT): Likewise.
17318         (RTYPE_CLASS_COPY): Likewise.
17319         (RTYPE_CLASS_TLS): Likewise.
17320         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17321         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17322         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17323         DL_DEBUG_PRELINK.
17325 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17327         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17328         calls with argument -0.5.
17329         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17331         * configure.ac (libc_cv_z_nodelete): Remove configure test.
17332         (libc_cv_z_nodlopen): Likewise.
17333         (libc_cv_z_initfirst): Likewise.
17334         * configure: Regenerated.
17336 2015-11-06  Florian Weimer  <fweimer@redhat.com>
17338         Simplify abilist format to be line-based.
17339         * scripts/abilist.awk: Collect descriptors in the descs variable.
17340         (emit): Write descs variable and sort it
17341         externally, with sort.
17342         * sysdeps/**/*.abilist: Convert to new format.
17344 2015-11-06  Mark Wielaard  <mjw@redhat.com>
17346         [BZ #11460]
17347         * io/Makefile (routines): Add fts64.
17348         (tests): Add tst-fts and tst-fts-lfs.
17349         (CFLAGS-fts64.c): New.
17350         * io/Versions (GLIBC_2.23): New.
17351         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17352         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17353         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17354         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17355         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17356         (FTSENT64): Likewise.
17357         (fts64_children): Likewise.
17358         (fts64_close): Likewise.
17359         (fts64_open): Likewise.
17360         (fts64_read): Likewise.
17361         (fts64_set): Likewise.
17362         * io/fts64.c: New file.
17363         * io/tst-fts.c: New test.
17364         * io/tst-fts-lfs.c: Likewise.
17365         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
17366         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
17367         fts64_set.
17368         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17369         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17370         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17371         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17372         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17373         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17374         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17375         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17376         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17378         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17379         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17380         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17382         Likewise.
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17384         Likewise.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17387         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17388         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17389         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17390         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17391         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17394         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17395         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17396         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17397         * sysdeps/wordsize-64/fts.c: New file.
17398         * sysdeps/wordsize-64/fts64.c: Likewise.
17399         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
17400         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
17401         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
17402         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
17404 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17406         * math/libm-test.inc (NON_FINITE): New macro.
17407         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
17408         * math/gen-libm-test.pl (show_exceptions): Add argument
17409         $non_finite.
17410         (parse_args): Update call to show_exceptions.
17411         * math/test-math-finite.h: New file.
17412         * math/test-math-no-finite.h: Likewise.
17413         * math/test-double-finite.c: Likewise.
17414         * math/test-float-finite.c: Likewise.
17415         * math/test-ldouble-finite.c: Likewise.
17416         * math/test-double.c: Include "test-math-no-finite.h".
17417         * math/test-float.c: Include "test-math-no-finite.h".
17418         * math/test-ldouble.c: Include "test-math-no-finite.h".
17419         * math/test-math-inline.h (TEST_FINITE): New macro.
17420         * math/test-math-vector.h (TEST_FINITE): Likewise.
17421         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
17422         (libm-tests): Add test-float-finite and test-double-finite.
17423         ($(objpfx)test-float-finite.o): New dependency on
17424         $(objpfx)libm-test.stmp.
17425         ($(objpfx)test-double-finite.o): Likewise.
17426         ($(objpfx)test-ldouble-finite.o): Likewise.
17427         (libm-test-no-inline-cflags): New variable.
17428         (libm-test-finite-cflags): Likewise.
17429         (CFLAGS-test-float-finite.c): Likewise.
17430         (CFLAGS-test-double-finite.c): Likewise.
17431         (CFLAGS-test-ldouble-finite.c): Likewise.
17432         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
17433         (CFLAGS-test-double.c): Likewise.
17434         (CFLAGS-test-ldouble.c): Likewise.
17436 2015-11-05  Roland McGrath  <roland@hack.frob.com>
17438         * io/fcntl.c (__fcntl): Add ... to prototype.
17439         * misc/ioctl.c (__ioctl): Likewise.
17440         * misc/syscall.c (syscall): Likewise.
17442 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17444         * scripts/list-fixed-bugs.py: New file.
17446         [BZ #19213]
17447         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
17448         returned for argument 1.
17449         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
17450         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
17451         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
17452         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
17453         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
17454         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
17456         [BZ #19211]
17457         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
17458         __USE_XOPEN], not if [!__USE_ISOC99].
17459         (lgammaf): Likewise.
17460         (lgammal): Likewise.
17461         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
17462         (gammaf): Likewise.
17463         (gammal): Likewise.
17464         * math/test-signgam-finite-c11.c: New file.
17465         * math/test-signgam-finite-c99.c: Likewise.
17466         * math/test-signgam-finite.c: Likewise.
17467         * math/Makefile (tests): Add test-signgam-finite,
17468         test-signgam-finite-c99 and test-signgam-finite-c11.
17469         (CFLAGS-test-signgam-finite.c): New variable.
17470         (CFLAGS-test-signgam-finite-c99.c): Likewise.
17471         (CFLAGS-test-signgam-finite-c11.c): Likewise.
17473         [BZ #19212]
17474         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
17475         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
17476         500].
17477         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
17478         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
17479         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
17480         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
17481         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
17482         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
17483         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
17484         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
17485         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
17486         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
17488         [BZ #19209]
17489         * math/bits/math-finite.h (ldexp): Remove declaration.
17490         (ldexpf): Likewise.
17491         (ldexpl): Likewise.
17493         [BZ #19205]
17494         * math/bits/math-finite.h (acosf): Condition declaration on
17495         [__USE_ISOC99].
17496         (acosl): Likewise.
17497         (acoshf): Likewise.
17498         (acoshl): Likewise.
17499         (asinf): Likewise.
17500         (asinl): Likewise.
17501         (atan2f): Likewise.
17502         (atan2l): Likewise.
17503         (atanhf): Likewise.
17504         (atanhl): Likewise.
17505         (coshf): Likewise.
17506         (coshl): Likewise.
17507         (expf): Likewise.
17508         (expl): Likewise.
17509         (fmodf): Likewise.
17510         (fmodl): Likewise.
17511         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
17512         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
17513         (j0l): Likewise.
17514         (y0f): Likewise.
17515         (y0l): Likewise.
17516         (j1f): Likewise.
17517         (j1l): Likewise.
17518         (y1f): Likewise.
17519         (y1l): Likewise.
17520         (jnf): Likewise.
17521         (jnl): Likewise.
17522         (ynf): Likewise.
17523         (ynl): Likewise.
17524         (lgammaf_r): Condition declaration on [__USE_ISOC99].
17525         (lgammal_r): Likewise.
17526         (__lgamma_r_finite): New declaration.
17527         (__lgammaf_r_finite): Likewise.
17528         (__lgammal_r_finite): Likewise.
17529         (lgamma): Use __lgamma_r_finite.
17530         (lgammaf): Condition definition on [__USE_ISOC99].  Use
17531         __lgammaf_r_finite.
17532         (lgammal): Condition definition on [__USE_ISOC99].  Use
17533         __lgammal_r_finite.
17534         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
17535         __lgamma_r_finite.
17536         (gammaf): Condition definition on [__USE_ISOC99].  Use
17537         __lgammaf_r_finite.
17538         (gammal): Condition definition on [__USE_ISOC99].  Use
17539         __lgammal_r_finite.
17540         (logf): Condition declaration on [__USE_ISOC99].
17541         (logl): Likewise.
17542         (log10f): Likewise.
17543         (log10l): Likewise.
17544         (ldexpf): Likewise.
17545         (ldexpl): Likewise.
17546         (powf): Likewise.
17547         (powl): Likewise.
17548         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
17549         __USE_ISOC99].
17550         (remainderf): Condition declaration on [__USE_ISOC99].
17551         (remainderl): Likewise.
17552         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
17553         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
17554         (scalbl): Likewise.
17555         (sinhf): Condition declaration on [__USE_ISOC99].
17556         (sinhl): Likewise.
17557         (sqrtf): Likewise.
17558         (sqrtl): Likewise.
17560 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17562         * sysdeps/arm/atomic-machine.h
17563         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17564         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17565         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
17566         Remove conditional code.
17567         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17568         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17569         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
17570         Change conditional to [__ASSEMBLER__].
17571         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17572         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
17573         [!__ASSEMBLER__].
17574         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
17575         code.
17576         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
17577         conditional macro definitions.
17578         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
17579         (__arch_compare_and_exchange_val_16_acq): Likewise.
17580         (__arch_compare_and_exchange_val_32_acq): Likewise.
17581         (atomic_exchange_and_add): Likewise.
17582         (atomic_add): Likewise.
17583         (atomic_add_negative): Likewise.
17584         (atomic_add_zero): Likewise.
17585         (atomic_bit_set): Likewise.
17586         (atomic_bit_test_set): Likewise.
17587         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
17588         code unconditional.
17589         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17591         * math/test-math-errno.h: New file.
17592         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
17593         empty.
17594         (TEST_ERRNO): New macro.
17595         (TEST_EXCEPTIONS): Likewise.
17596         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
17597         (TEST_EXCEPTIONS): Likewise.
17598         * math/test-math-vector.h (TEST_ERRNO): Likewise.
17599         * math/test-double.c: Include "test-math-errno.h".
17600         * math/test-float.c: Likewise.
17601         * math/test-ldouble.c: Likewise.
17602         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
17603         code unconditional.
17604         (test_exceptions): Only run code if TEST_EXCEPTIONS.
17605         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
17606         unconditional.
17607         (test_errno): Only run code if TEST_ERRNO.
17608         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
17610 2015-11-04  Florian Weimer  <fweimer@redhat.com>
17612         * nptl/tst-once5.cc: Remove attribution.
17614 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17616         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
17617         sqrt, tan, tanh, y0, y1 and yn.
17618         * math/auto-libm-test-out: Regenerated.
17619         * math/libm-test.inc (scalb_test_data): Add more tests.
17620         (scalbn_test_data): Likewise.
17621         (scalbln_test_data): Likewise.
17622         (signbit_test_data): Likewise.
17623         (sin_test_data): Likewise.
17624         (sincos_test_data): Likewise.
17625         (sinh_test_data): Likewise.
17626         (sqrt_test_data): Likewise.
17627         (tan_test_data): Likewise.
17628         (tanh_test_data): Likewise.
17629         (tgamma_test_data): Likewise.
17630         (y0_test_data): Likewise.
17631         (y1_test_data): Likewise.
17632         (yn_test_data): Likewise.
17633         (significand_test_data): Likewise.
17634         * sysdeps/i386/fpu/libm-test-ulps: Update.
17636 2015-11-03  David Kastrup  <dak@gnu.org>
17638         [BZ #18604]
17639         * assert/assert.h (assert): Don't macro-expand failed assertion
17640         expression in error message.
17641         * malloc/malloc.c (assert): Likewise.
17643 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
17645         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
17646         test.
17647         * configure: Regenerated.
17649 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
17651         * math/libm-test.inc (modf_test_data): Add more tests.
17652         (nearbyint_test_data): Likewise.
17653         (nextafter_test_data): Likewise.
17654         (nexttoward_test_data): Likewise.
17655         (pow_test_data): Likewise.
17656         (remainder_test_data): Likewise.
17657         (remquo_test_data): Likewise.
17658         (rint_test_data): Likewise.
17660         [BZ #19201]
17661         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17662         Check for zero remainder in case of large exponents and ensure
17663         correct sign of result in that case.
17664         * math/libm-test.inc (remainder_test_data): Add more tests.
17666         [BZ #6799]
17667         * math/s_nextafter.c: Include <errno.h>.
17668         (__nextafter): Set errno on overflow and underflow.
17669         * math/s_nexttowardf.c: Include <errno.h>.
17670         (__nexttowardf): Set errno on overflow and underflow.
17671         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
17672         (__nextafterl): Set errno on overflow and underflow.
17673         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
17674         (__nexttoward): Set errno on overflow and underflow.
17675         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
17676         (__nexttowardf): Set errno on overflow and underflow.
17677         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
17678         (__nextafterf): Set errno on overflow and underflow.
17679         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
17680         (__nextafterl): Set errno on overflow and underflow.
17681         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
17682         (__nexttoward): Set errno on overflow and underflow.
17683         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
17684         (__nexttowardf): Set errno on overflow and underflow.
17685         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
17686         (__nextafterl): Set errno on overflow and underflow.
17687         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
17688         (__nexttoward): Set errno on overflow and underflow.
17689         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
17690         (__nexttowardf): Set errno on overflow and underflow.
17691         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
17692         (__nexttoward): Set errno on overflow and underflow.
17693         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
17694         (__nexttowardf): Set errno on overflow and underflow.
17695         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
17696         (__nldbl_nexttowardf): Set errno on overflow and underflow.
17697         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
17698         (__nextafterl): Set errno on overflow and underflow.
17699         * math/libm-test.inc (nextafter_test_data): Do not allow errno
17700         setting to be missing on overflow.  Add more tests.
17701         (nexttoward_test_data): Likewise.
17703         * configure.ac (libc_cv_initfini_array): Remove configure test.
17704         * configure: Regenerated.
17706 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
17708         [BZ #19189]
17709         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
17710         non-finite argument handle arguments with negative sign.
17712         * math/libm-test.inc (j0_test_data): Do not test sign of zero
17713         result from infinite argument.
17714         (j1_test_data): Likewise.
17715         (jn_test_data): Likewise.
17716         (y0_test_data): Likewise.
17717         (y1_test_data): Likewise.
17718         (yn_test_data): Likewise.
17720         [BZ #16171]
17721         * math/w_remainder.c (drem): Define as weak alias of __remainder.
17722         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
17723         * math/w_remainderf.c (dremf): Define as weak alias of
17724         __remainderf.
17725         * math/w_remainderl.c (dreml): Define as weak alias of
17726         __remainderl.
17727         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
17728         __remainder.
17729         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
17730         __remainderf.
17731         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
17732         __remainderl.
17733         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
17734         weak alias of remainderl.
17735         * sysdeps/ieee754/ldbl-opt/w_remainder.c
17736         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
17737         alias of __remainder.
17738         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
17739         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
17740         strong alias of __remainderl.
17741         (dreml): Use long_double_symbol.
17742         * math/Makefile (libm-calls): Remove w_drem.
17743         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
17744         (CFLAGS-nldbl-drem.c): Remove variable.
17745         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
17746         * math/w_drem.c: Remove file.
17747         * math/w_dremf.c: Likewise.
17748         * math/w_dreml.c: Likewise.
17749         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
17750         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
17751         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
17753         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
17754         * sysdeps/i386/configure: Regenerated.
17755         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
17756         * sysdeps/x86_64/configure: Regenerated.
17758         * configure.ac (libc_cv_asm_protected_directive): Remove configure
17759         test.
17760         (libc_cv_visibility_attribute): Likewise.
17761         (libc_cv_protected_data): Test unconditionally.
17762         (libc_cv_broken_visibility_attribute): Remove configure test.
17763         (libc_cv_have_sdata_section): Test unconditionally.
17764         * configure: Regenerated.
17766         * include/libc-internal.h (libc_max_align_t): Remove typedef.
17767         * include/scratch_buffer.h: Include <stddef.h> instead of
17768         <libc-internal.h>.
17769         (struct scratch_buffer): Use max_align_t instead of
17770         libc_max_align_t.
17772 2015-10-29  Florian Weimer  <fweimer@redhat.com>
17774         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
17775         instead of extend_alloca.  Change control flow to avoid a goto.
17776         Remove assert which is trivially always true.
17778 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17780         [BZ #16068]
17781         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
17782         (FE_ALL_EXCEPT_X86): New macro.
17783         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
17784         FE_ALL_EXCEPT.  Ensure precision control is included in
17785         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
17786         handle "denormal operand exception" and clear FZ and DAZ bits.
17787         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
17788         (FE_ALL_EXCEPT_X86): New macro.
17789         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
17790         FE_ALL_EXCEPT.  Ensure precision control is included in
17791         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
17792         handle "denormal operand exception" and clear FZ and DAZ bits.
17793         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
17794         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
17795         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17796         test-fenv-x87 and test-fenv-sse-2.
17797         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
17799         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
17800         * math/test-double.h (BUILD_COMPLEX): New macro.
17801         * math/test-float.h (BUILD_COMPLEX): Likewise.
17802         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
17804         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
17805         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
17806         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
17807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
17808         instead of DBL_DENORM_MIN in comment.
17809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
17810         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17811         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
17812         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
17813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
17814         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17816 2015-10-28  Florian Weimer  <fweimer@redhat.com>
17818         [BZ# 19048]
17819         * malloc/malloc.c (struct malloc_state): Update comment.  Add
17820         attached_threads member.
17821         (main_arena): Initialize attached_threads.
17822         * malloc/arena.c (list_lock): Update comment.
17823         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
17824         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
17825         (deattach_arena): New function.
17826         (_int_new_arena): Initialize arena reference count and deattach
17827         replaced arena.
17828         (get_free_list, reused_arena): Update reference count and deattach
17829         replaced arena.
17830         (arena_thread_freeres): Update arena reference count and only put
17831         unreferenced arenas on the free list.
17833 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17835         [BZ #19181]
17836         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
17837         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
17838         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
17839         * math/test-fenv-clear-main.c: New file.
17840         * math/test-fenv-clear.c: Likewise.
17841         * math/Makefile (tests): Add test-fenv-clear.
17842         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
17843         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17844         test-fenv-clear-sse.
17845         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
17847         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
17848         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
17849         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
17851 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17853         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
17854         static libc.
17856 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17858         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
17859         test.
17860         * sysdeps/i386/configure: Regenerated.
17861         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
17862         test.
17863         * sysdeps/x86_64/configure: Regenerated.
17864         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
17865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17866         memset-avx2 unconditionally instead of conditionally on
17867         [$(config-cflags-avx2) = yes].
17868         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17869         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
17870         unconditional.
17871         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
17872         * sysdeps/x86_64/multiarch/memset_chk.S
17873         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
17874         to [IS_IN (libc) && SHARED].
17876 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17878         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
17879         configure test.
17880         * sysdeps/arm/configure: Regenerated.
17881         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
17882         Define variable if not already defined.
17884         [BZ #17404]
17885         * sysdeps/mips/atomic-machine.h
17886         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
17887         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
17888         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17890         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
17891         unconditional.
17892         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
17893         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17894         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
17895         unconditional.
17896         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17897         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
17898         unconditional.
17899         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17900         * stdlib/setenv.c
17901         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
17902         code unconditional.
17903         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
17904         Remove conditional code.
17905         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17906         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
17907         unconditional.
17908         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17909         code.
17910         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17911         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
17912         unconditional.
17913         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17914         code.
17915         * sysdeps/ieee754/ldbl-128/k_tanl.c
17916         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17917         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17918         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
17919         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17920         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17921         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
17922         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
17923         unconditional.
17924         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17925         code.
17926         * sysdeps/ieee754/ldbl-96/k_tanl.c
17927         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17928         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17930         * nptl/tst-initializers1-c11.c: New file.
17931         * nptl/tst-initializers1-gnu11.c: Likewise.
17932         * nptl/Makefile (tests): Add these new tests.
17933         (CFLAGS-tst-initializers1-c11.c): New variable.
17934         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17936         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
17937         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
17938         instead of -std=gnu99.
17939         * configure.ac (systemtap): Test with -std=gnu11 instead of
17940         -std=gnu99.
17941         * configure: Regenerated.
17942         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
17943         in compilation command in comment.
17945         * sysdeps/nptl/configure.ac: Remove file.
17946         * sysdeps/nptl/configure: Remove generated file.
17947         * configure.ac (libc_cv_forced_unwind): Do not substitute.
17948         * configure: Regenerated.
17949         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
17950         * config.make.in (have-forced-unwind): Remove variable.
17951         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17952         unconditional.
17953         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
17954         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
17955         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
17956         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
17957         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17958         unconditional.
17960 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17962         [BZ #19174]
17963         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
17964         .skip_lock_out_of_tbegin_retries.
17965         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17966         (__lll_lock_elision): Likewise, and respect a value of
17967         try_tbegin <= 0.
17969 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17971         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
17972         statement.
17974 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17976         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
17977         variable.
17978         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17979         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17981         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
17982         of -std=c1x -D_ISOC11_SOURCE.
17984         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
17985         * configure: Regenerated.
17986         * manual/install.texi (Tools for Compilation): Document
17987         requirement for GCC 4.7 or later.
17988         * INSTALL: Regenerated.
17990 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
17992         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
17993         on CNT to a conditional jump to 'puntdata'.
17995 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17997         * configure.ac (libc_cv_gcc___thread): Remove configure test.
17998         (libc_cv_gcc_tls_model_attr): Likewise.
17999         * configure: Regenerated.
18001         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18002         * configure: Regenerated.
18003         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18005 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18007         * configure.ac (old_glibc_headers): Remove configure test.
18008         * configure: Regenerated.
18009         * config.make.in (old-glibc-headers): Remove variable.
18010         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18011         (install): Remove dependency on remove-old-headers.
18012         (headers2_0): Remove variable.
18013         (remove-old-headers): Remove rule.
18015         * configure.ac (libc_cv_dot_text): Remove configure test.
18016         (libc_cv_asm_set_directive): Use .text instead of
18017         ${libc_cv_dot_text} in configure test.
18018         * configure: Regenerated.
18020 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18022         [BZ #19168]
18023         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18025 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18027         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18028         not support static linking.
18029         * configure: Regenerate.
18031 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18033         * math/libm-test.inc (check_float_internal): Do not special-case
18034         errors up to 0.5 ulp.
18036         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18037         log2.
18038         * math/auto-libm-test-out: Regenerated.
18039         * math/libm-test.inc (MAX_EXP): New macro.
18040         (ilogb_test_data): Add more tests.
18041         (isfinite_test_data): Likewise.
18042         (isgreater_test_data): Likewise.
18043         (isgreaterequal_test_data): Likewise.
18044         (isinf_test_data): Likewise.
18045         (isless_test_data): Likewise.
18046         (islessequal_test_data): Likewise.
18047         (islessgreater_test_data): Likewise.
18048         (isnan_test_data): Likewise.
18049         (isnormal_test_data): Likewise.
18050         (issignaling_test_data): Likewise.
18051         (isunordered_test_data): Likewise.
18052         (j0_test_data): Likewise.
18053         (j1_test_data): Likewise.
18054         (jn_test_data): Likewise.
18055         (lgamma_test_data): Likewise.
18056         (log_test_data): Likewise.
18057         (log10_test_data): Likewise.
18058         (log1p_test_data): Likewise.
18059         (log2_test_data): Likewise.
18060         (logb_test_data): Likewise.
18061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18063         [BZ #18611]
18064         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18065         avoid excess range and precision on underflow.
18066         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18067         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18068         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18069         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18070         underflow.
18071         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18073         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18074         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18075         * math/auto-libm-test-in: Do not allow missing errno setting for
18076         tests of j1 and jn.
18077         * math/auto-libm-test-out: Regenerated.
18079 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18081         [BZ #15491]
18082         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18083         floating-point environment instead of clearing all exceptions.
18084         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18085         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18086         merging in "invalid" exceptions from frndint.
18087         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18088         * math/test-nearbyint-except.c: New file.
18089         * math/Makefile (tests): Add test-nearbyint-except.
18091 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18093         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18095         * sysdeps/tile/libm-test-ulps: Regenerated.
18097 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18100         (__NR_sync_file_range2): Assume it is always defined.
18101         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18102         (__NR_sync_file_range): Assume it is always defined.
18104 2015-10-22  Andreas Schwab  <schwab@suse.de>
18106         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18107         INTERNAL_SYSCALL_ERRNO.
18108         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18109         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18110         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18111         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18112         Likewise.
18113         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18115 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18117         * io/tst-fcntl.c (fd): New static variable.
18118         (do_prepare): Open temporary file here....
18119         (do_test): ...not here.
18121         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18123 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18125         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18126         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18127         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18128         Moved before "#ifdef __ASSEMBLER__".
18130 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18132         [BZ #19156]
18133         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18134         arguments very close to 0.
18136 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18138         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18139         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18141 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18143         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18144         New.  Defined for GCC 5 and above when not compiling for
18145         profiling.
18146         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18148         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18149         Renamed to ...
18150         (CFLAGS-epoll_pwait.o): This.
18151         (CFLAGS-mmap.c): Renamed to ...
18152         (CFLAGS-mmap.o): This.
18153         (CFLAGS-mmap64.c): Renamed to ...
18154         (CFLAGS-mmap64.o): This.
18155         (CFLAGS-epoll_pwait.os): New.
18156         (CFLAGS-mmap.os): Likewise.
18157         (CFLAGS-mmap64.os): Likewise.
18158         (CFLAGS-semtimedop.os): Likewise.
18159         (CFLAGS-semtimedop.c): Renamed to ...
18160         (CFLAGS-semtimedop.o): This.
18162 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18164         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18165         warning message.
18167 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18169         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18170         * Makefile ($(objpfx)c++-types-check.out): Filter out
18171         $(+gccwarn-c) instead of -Wstrict-prototypes.
18173         * io/fts.c (fts_open): Convert to prototype-style function
18174         definition.
18175         * malloc/mcheck.c (mcheck): Likewise.
18176         (mcheck_pedantic): Likewise.
18177         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18178         internal_function.
18179         (re_search_internal): Likewise.
18180         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18181         prototype-style function definition.
18182         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18183         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18184         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18185         (xdr_utmpptr): Likewise.
18186         (xdr_utmparr): Likewise.
18187         (xdr_utmpidle): Likewise.
18188         (xdr_utmpidleptr): Likewise.
18189         (xdr_utmpidlearr): Likewise.
18191         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18192         log, log10 and log2.
18193         * math/auto-libm-test-out: Regenerated.
18194         * math/libm-test.inc (fmod_test_data): Add more tests.
18195         (fpclassify_test_data): Likewise.
18196         (frexp_test_data): Likewise.
18197         (hypot_test_data): Likewise.
18198         (ilogb_test_data): Likewise.
18200 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18202         * debug/fortify_fail.c (__fortify_fail): Convert to
18203         prototype-style function definition.  Use internal_function.
18204         * libio/genops.c (save_for_backup): Convert to prototype-style
18205         function definition.
18206         * libio/wgenops.c (save_for_wbackup): Likewise.
18207         * login/grantpt.c (grantpt): Likewise.
18208         * login/ptsname.c (ptsname): Likewise.
18209         (__ptsname_r): Likewise.
18210         * login/unlockpt.c (unlockpt): Likewise.
18211         * mach/msgserver.c (__mach_msg_server): Likewise.
18212         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18213         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18214         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18215         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18216         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18217         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18218         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18219         Likewise.
18220         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18221         internal_function.
18222         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18223         prototype-style function definition.
18224         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18225         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18226         (__pthread_create_2_0): Likewise.
18227         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18228         * nptl/register-atfork.c (__register_atfork): Likewise.
18229         * posix/glob.c (glob): Likewise.
18230         * posix/regcomp.c (re_comp): Likewise.
18231         * posix/regexec.c (re_exec): Likewise.
18232         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18233         [!__STDC__]: Remove conditional code.
18234         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18235         [!__STDC__]: Remove conditional code.
18236         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18237         [!__STDC__]: Remove conditional code.
18238         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18239         [!__STDC__]: Remove conditional code.
18240         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18241         [!__STDC__]: Remove conditional code.
18242         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18243         [!__STDC__]: Remove conditional code.
18244         * stdlib/mul.c [__STDC__]: Make code unconditional.
18245         [!__STDC__]: Remove conditional code.
18246         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18247         [!__STDC__]: Remove conditional code.
18248         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18249         [!__STDC__]: Remove conditional code.
18250         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18251         function definition.
18252         (STRTOF): Likewise.
18253         * stdlib/strtod_l.c (__STRTOF): Likewise.
18254         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18255         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18256         (__strtol_l): Likewise.
18257         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18258         [!__STDC__]: Remove conditional code.
18259         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18260         definition.
18261         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18262         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18263         type.
18264         (__strcasecmp): Convert to prototype-style function definition.
18265         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18266         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18267         type.
18268         (__strncasecmp): Convert to prototype-style function definition.
18269         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18270         * sunrpc/xdr.c (xdr_union): Likewise.
18271         * sunrpc/xdr_array.c (xdr_array): Likewise.
18272         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18273         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18274         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18275         Likewise.
18276         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18277         Likewise.
18278         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18279         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18280         Likewise.
18281         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18282         (LOCALE_PARAM_PROTO): Likewise.
18283         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18284         argument type.
18285         (ut_argument_spec): Remove macro.
18286         (ut_argument_spec_iso): Rename to ut_argument_spec.
18287         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18288         prototype-style function definition.
18289         (memcpy_uppcase): Likewise.
18290         (__strftime_internal): Likewise.
18291         (my_strftime): Likewise.
18292         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18293         (LOCALE_PARAM_DECL): Likewise.
18294         [_LIBC] (LOCALE_PARAM): Include argument type.
18295         (__strptime_internal): Convert to prototype-style function
18296         definition.
18297         (strptime): Likewise.
18298         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18299         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18300         type.
18301         (__wcscasecmp): Convert to prototype-style function definition.
18302         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18303         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18304         type.
18305         (__wcsncasecmp): Convert to prototype-style function definition.
18307         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18308         function definition.
18309         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18310         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18311         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18312         * elf/dl-minimal.c (_itoa): Likewise.
18313         * hurd/hurdmalloc.c (malloc): Likewise.
18314         (free): Likewise.
18315         (realloc): Likewise.
18316         * inet/inet6_option.c (inet6_option_space): Likewise.
18317         (inet6_option_init): Likewise.
18318         (inet6_option_append): Likewise.
18319         (inet6_option_alloc): Likewise.
18320         (inet6_option_next): Likewise.
18321         (inet6_option_find): Likewise.
18322         * io/ftw.c (FTW_NAME): Likewise.
18323         (NFTW_NAME): Likewise.
18324         (NFTW_NEW_NAME): Likewise.
18325         (NFTW_OLD_NAME): Likewise.
18326         * libio/iofwide.c (_IO_fwide): Likewise.
18327         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18328         (_IO_str_init_static): Likewise.
18329         (_IO_str_init_readonly): Likewise.
18330         (_IO_str_overflow): Likewise.
18331         (_IO_str_underflow): Likewise.
18332         (_IO_str_count): Likewise.
18333         (_IO_str_seekoff): Likewise.
18334         (_IO_str_pbackfail): Likewise.
18335         (_IO_str_finish): Likewise.
18336         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18337         (_IO_wstr_overflow): Likewise.
18338         (_IO_wstr_underflow): Likewise.
18339         (_IO_wstr_count): Likewise.
18340         (_IO_wstr_seekoff): Likewise.
18341         (_IO_wstr_pbackfail): Likewise.
18342         (_IO_wstr_finish): Likewise.
18343         * locale/programs/localedef.c (normalize_codeset): Likewise.
18344         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18345         (add_locales_to_archive): Likewise.
18346         (delete_locales_from_archive): Likewise.
18347         * malloc/malloc.c (__libc_mallinfo): Likewise.
18348         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18349         * misc/tsearch.c (__tfind): Likewise.
18350         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18351         * nptl/pthread_attr_getdetachstate.c
18352         (__pthread_attr_getdetachstate): Likewise.
18353         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18354         Likewise.
18355         * nptl/pthread_attr_getinheritsched.c
18356         (__pthread_attr_getinheritsched): Likewise.
18357         * nptl/pthread_attr_getschedparam.c
18358         (__pthread_attr_getschedparam): Likewise.
18359         * nptl/pthread_attr_getschedpolicy.c
18360         (__pthread_attr_getschedpolicy): Likewise.
18361         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
18362         Likewise.
18363         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
18364         Likewise.
18365         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18366         Likewise.
18367         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18368         Likewise.
18369         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
18370         (__pthread_attr_init_2_0): Likewise.
18371         * nptl/pthread_attr_setdetachstate.c
18372         (__pthread_attr_setdetachstate): Likewise.
18373         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18374         Likewise.
18375         * nptl/pthread_attr_setinheritsched.c
18376         (__pthread_attr_setinheritsched): Likewise.
18377         * nptl/pthread_attr_setschedparam.c
18378         (__pthread_attr_setschedparam): Likewise.
18379         * nptl/pthread_attr_setschedpolicy.c
18380         (__pthread_attr_setschedpolicy): Likewise.
18381         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
18382         Likewise.
18383         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
18384         Likewise.
18385         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18386         Likewise.
18387         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18388         Likewise.
18389         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
18390         Likewise.
18391         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
18392         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18393         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
18394         use internal_function.
18395         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
18396         prototype-style function definition.
18397         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18398         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
18399         internal_function.
18400         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
18401         Convert to prototype-style function definition.
18402         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18403         Likewise.
18404         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
18405         Likewise.
18406         (__pthread_mutex_unlock): Likewise.
18407         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
18408         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
18409         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
18410         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
18411         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
18412         * nss/makedb.c (process_input): Likewise.
18413         * posix/fnmatch.c (__strchrnul): Likewise.
18414         (__wcschrnul): Likewise.
18415         (fnmatch): Likewise.
18416         * posix/fnmatch_loop.c (FCT): Likewise.
18417         * posix/glob.c (globfree): Likewise.
18418         (__glob_pattern_type): Likewise.
18419         (__glob_pattern_p): Likewise.
18420         * posix/regcomp.c (re_compile_pattern): Likewise.
18421         (re_set_syntax): Likewise.
18422         (re_compile_fastmap): Likewise.
18423         (regcomp): Likewise.
18424         (regerror): Likewise.
18425         (regfree): Likewise.
18426         * posix/regexec.c (regexec): Likewise.
18427         (re_match): Likewise.
18428         (re_search): Likewise.
18429         (re_match_2): Likewise.
18430         (re_search_2): Likewise.
18431         (re_search_stub): Likewise.  Use internal_function
18432         (re_copy_regs): Likewise.
18433         (re_set_registers): Convert to prototype-style function
18434         definition.
18435         (prune_impossible_nodes): Likewise.  Use internal_function.
18436         * resolv/inet_net_pton.c (inet_net_pton): Convert to
18437         prototype-style function definition.
18438         (inet_net_pton_ipv4): Likewise.
18439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18440         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
18441         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18442         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
18443         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18444         Make variadic.
18445         * time/strptime_l.c (localtime_r): Convert to prototype-style
18446         function definition.
18447         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18448         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18449         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18450         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18452         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
18453         definition.
18454         (_ufc_doit_r): Likewise.
18455         * crypt/crypt_util.c (_ufc_copymem): Likewise.
18456         (_ufc_output_conversion_r): Likewise.
18457         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
18458         * inet/rcmd.c (rcmd_af): Likewise.
18459         (rcmd): Likewise.
18460         (ruserok_af): Likewise.
18461         (ruserok): Likewise.
18462         (ruserok2_sa): Likewise.
18463         (ruserok_sa): Likewise.
18464         (iruserok_af): Likewise.
18465         (iruserok): Likewise.
18466         (__ivaliduser): Likewise.
18467         (__validuser2_sa): Likewise.
18468         * inet/rexec.c (rexec_af): Likewise.
18469         (rexec): Likewise.
18470         * inet/ruserpass.c (ruserpass): Likewise.
18471         * locale/programs/xmalloc.c (xcalloc): Likewise.
18472         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
18473         * math/w_drem.c (__drem): Likewise.
18474         * math/w_dremf.c (__dremf): Likewise.
18475         * math/w_dreml.c (__dreml): Likewise.
18476         * misc/daemon.c (daemon): Likewise.
18477         * resolv/res_debug.c (p_fqnname): Likewise.
18478         * stdlib/div.c (div): Likewise.
18479         * string/memcmp.c (memcmp_bytes): Likewise.
18480         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
18481         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
18483         * crypt/cert.c (main): Convert to prototype-style function
18484         definition.
18485         * io/pipe.c (__pipe): Likewise.
18486         * io/pipe2.c (__pipe2): Likewise.
18487         * misc/futimesat.c (futimesat): Likewise.
18488         * misc/utimes.c (__utimes): Likewise.
18489         * posix/execve.c (__execve): Likewise.
18490         * posix/execvp.c (execvp): Likewise.
18491         * posix/execvpe.c (__execvpe): Likewise.
18492         * posix/fexecve.c (fexecve): Likewise.
18493         * socket/socketpair.c (socketpair): Likewise.
18494         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18495         * stdlib/erand48.c (erand48): Likewise.
18496         * stdlib/erand48_r.c (__erand48_r): Likewise.
18497         * stdlib/jrand48.c (jrand48): Likewise.
18498         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
18499         * stdlib/lcong48.c (lcong48): Likewise.
18500         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
18501         * stdlib/nrand48.c (nrand48): Likewise.
18502         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
18503         * stdlib/seed48.c (seed48): Likewise.
18504         * stdlib/seed48_r.c (__seed48_r): Likewise.
18505         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
18506         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
18507         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
18509 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18511         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
18512         * configure: Regenerated.
18513         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
18514         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
18515         unconditional.
18516         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18517         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18518         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18519         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
18520         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
18521         unconditional.
18522         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18524         * posix/Makefile (CFLAGS-regex.c): Remove variable.
18525         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
18527         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
18528         function definition.
18529         * crypt/crypt_util.c (__encrypt_r): Likewise.
18530         * libio/genops.c (_IO_no_init): Likewise.
18531         * libio/iofopncook.c (_IO_fopencookie): Likewise.
18532         (_IO_old_fopencookie): Likewise.
18533         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18534         * libio/iogetline.c (_IO_getline): Likewise.
18535         (_IO_getline_info): Likewise.
18536         * libio/iogetwline.c (_IO_getwline): Likewise.
18537         (_IO_getwline_info): Likewise.
18538         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
18539         * libio/vswprintf.c (_IO_vswprintf): Likewise.
18540         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
18541         (find_entry): Likewise.
18542         (iterate_table): Likewise.
18543         (lookup): Likewise.
18544         * login/forkpty.c (forkpty): Likewise.
18545         * misc/hsearch_r.c (__hsearch_r): Likewise.
18546         * misc/select.c (__select): Likewise.
18547         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
18548         Likewise.
18549         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
18550         Likewise.
18551         * nptl/old_pthread_cond_timedwait.c
18552         (__pthread_cond_timedwait_2_0): Likewise.
18553         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
18554         * nptl/pthread_barrierattr_getpshared.c
18555         (pthread_barrierattr_getpshared): Likewise.
18556         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
18557         Likewise.
18558         * nptl/pthread_mutex_setprioceiling.c
18559         (pthread_mutex_setprioceiling): Likewise.
18560         * nptl/pthread_mutexattr_getprioceiling.c
18561         (pthread_mutexattr_getprioceiling): Likewise.
18562         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
18563         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18564         Likewise.
18565         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18566         Likewise.
18567         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
18568         Likewise.
18569         * socket/recvfrom.c (__recvfrom): Likewise.
18570         * socket/sendto.c (__sendto): Likewise.
18571         * socket/setsockopt.c (__setsockopt): Likewise.
18572         * stdio-common/_itoa.c (_itoa): Likewise.
18573         * stdio-common/_itowa.c (_itowa): Likewise.
18574         * stdio-common/reg-printf.c (__register_printf_specifier):
18575         Likewise.
18576         (__register_printf_function): Likewise.
18577         * stdio-common/tempname.c (__path_search): Likewise.
18578         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
18579         * stdlib/mul_1.c (mpn_mul_1): Likewise.
18580         * stdlib/random_r.c (__initstate_r): Likewise.
18581         * stdlib/setenv.c (__add_to_environ): Likewise.
18582         * stdlib/submul_1.c (mpn_submul_1): Likewise.
18583         * streams/getpmsg.c (getpmsg): Likewise.
18584         * streams/putmsg.c (putmsg): Likewise.
18585         * streams/putpmsg.c (putpmsg): Likewise.
18586         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
18587         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18588         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
18589         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18590         * sunrpc/pm_getport.c (pmap_getport): Likewise.
18591         * sunrpc/svc_udp.c (cache_get): Likewise.
18592         * sunrpc/xdr_array.c (xdr_vector): Likewise.
18593         * sysdeps/mach/hurd/getcwd.c
18594         (__canonicalize_directory_name_internal): Likewise.
18595         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
18596         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
18597         * sysdeps/mach/hurd/select.c (__select): Likewise.
18598         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
18599         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18600         * sysdeps/sparc/nptl/pthread_barrier_init.c
18601         (__pthread_barrier_init): Likewise.
18602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
18603         (__pthread_cond_timedwait): Likewise.
18604         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
18605         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
18606         Likewise.
18607         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
18608         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
18609         Likewise.
18610         * sysvipc/semtimedop.c (semtimedop): Likewise.
18611         * time/setitimer.c (__setitimer): Likewise.
18612         * time/strftime_l.c (emacs_strftime): Likewise.
18614 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
18616         * config.make.in (have-ssp): Delete.
18617         (stack-protector): New variable.
18618         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
18619         cache test for -fstack-protector-strong.  Export stack_protector to
18620         the best ssp flag.
18621         * configure: Regenerated.
18622         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
18623         * nscd/Makefile (CFLAGS-nscd): Likewise.
18624         * resolv/Makefile (CFLAGS-libresolv): Likewise.
18626 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
18628         [BZ #19122]
18629         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
18630         attribute_hidden.
18632 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18634         [BZ #18743]
18635         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
18636         code to...
18637         (ELIDE_LOCK): ...here.
18638         (__get_new_count): New function with part of the code from
18639         __elide_lock that updates the value of adapt_count after a
18640         transaction abort.
18641         (__elided_trylock): Moved this code to...
18642         (ELIDE_TRYLOCK): ...here.
18644 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
18646         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
18647         * configure: Regenerate.
18648         * INSTALL: Regenerate.
18649         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
18650         and tweak grammar.
18652 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
18654         * login/programs/pt_chown.c: Include signal.h
18655         (main): Clear any signal mask from the parent process.
18657 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18659         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
18660         * configure: Regenerated.
18661         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
18662         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
18663         $(gnu89-inline-CFLAGS).
18665         * configure.ac (libc_cv_asm_weak_directive): Remove configure
18666         test.
18667         (libc_cv_asm_weakext_directive): Likewise.
18668         * configure: Regenerated.
18669         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
18670         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
18671         * include/libc-symbols.h
18672         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
18673         #error.
18674         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
18675         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
18677         * sysdeps/arm/backtrace.c (__backtrace): Convert to
18678         prototype-style function definition.
18679         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18680         * sysdeps/i386/ffs.c (__ffs): Likewise.
18681         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18682         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
18683         Likewise.
18684         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18685         Likewise.
18686         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
18687         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18688         Likewise.
18689         * sysdeps/m68k/ffs.c (__ffs): Likewise.
18690         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
18691         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
18692         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
18693         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
18694         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
18695         * sysdeps/mach/hurd/access.c (__access): Likewise.
18696         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
18697         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
18698         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
18699         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
18700         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
18701         (cthread_getspecific): Likewise.
18702         (cthread_setspecific): Likewise.
18703         (__libc_getspecific): Likewise.
18704         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
18705         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
18706         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
18707         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
18708         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
18709         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
18710         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
18711         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
18712         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
18713         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
18714         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
18715         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
18716         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
18717         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
18718         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
18719         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
18720         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
18721         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
18722         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
18723         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
18724         * sysdeps/mach/hurd/link.c (__link): Likewise.
18725         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
18726         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
18727         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
18728         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
18729         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18730         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
18731         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
18732         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
18733         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18734         * sysdeps/mach/hurd/rename.c (rename): Likewise.
18735         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
18736         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
18737         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
18738         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
18739         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
18740         * sysdeps/mach/hurd/send.c (__send): Likewise.
18741         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
18742         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
18743         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
18744         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
18745         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
18746         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
18747         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
18748         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
18749         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
18750         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
18751         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
18752         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
18753         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
18754         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
18755         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
18756         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
18757         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
18758         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
18759         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
18760         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18761         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
18762         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
18763         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
18764         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
18765         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
18766         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
18767         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
18768         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
18769         * sysdeps/posix/alarm.c (alarm): Likewise.
18770         * sysdeps/posix/cuserid.c (cuserid): Likewise.
18771         * sysdeps/posix/dirfd.c (dirfd): Likewise.
18772         * sysdeps/posix/dup.c (__dup): Likewise.
18773         * sysdeps/posix/dup2.c (__dup2): Likewise.
18774         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
18775         (main): Likewise.
18776         * sysdeps/posix/flock.c (__flock): Likewise.
18777         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
18778         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18779         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
18780         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
18781         * sysdeps/posix/isatty.c (__isatty): Likewise.
18782         * sysdeps/posix/killpg.c (killpg): Likewise.
18783         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18784         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
18785         * sysdeps/posix/raise.c (raise): Likewise.
18786         * sysdeps/posix/remove.c (remove): Likewise.
18787         * sysdeps/posix/rename.c (rename): Likewise.
18788         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
18789         * sysdeps/posix/seekdir.c (seekdir): Likewise.
18790         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
18791         * sysdeps/posix/sigignore.c (sigignore): Likewise.
18792         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
18793         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18794         * sysdeps/posix/sigset.c (sigset): Likewise.
18795         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
18796         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
18797         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
18798         * sysdeps/posix/time.c (time): Likewise.
18799         * sysdeps/posix/ttyname.c (getttyname): Likewise.
18800         (ttyname): Likewise.
18801         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
18802         * sysdeps/posix/utime.c (utime): Likewise.
18803         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
18804         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18805         Likewise.
18806         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
18807         (pthread_spin_trylock): Likewise.
18808         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
18809         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
18810         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
18811         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
18812         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
18813         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
18814         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
18815         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
18816         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
18817         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
18818         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
18819         * sysdeps/s390/ffs.c (__ffs): Likewise.
18820         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
18821         Likewise.
18822         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18823         Likewise.
18824         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
18825         Likewise.
18826         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
18827         (pthread_barrier_destroy): Likewise.
18828         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18829         (__pthread_barrier_wait): Likewise.
18830         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
18831         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18832         (__pthread_barrier_wait): Likewise.
18833         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
18834         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
18835         (memcmp_not_common_alignment): Likewise.
18836         (MEMCMP): Likewise.
18837         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
18838         (_wordcopy_fwd_dest_aligned): Likewise.
18839         (_wordcopy_bwd_aligned): Likewise.
18840         (_wordcopy_bwd_dest_aligned): Likewise.
18841         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
18842         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
18843         * sysdeps/unix/bsd/stty.c (stty): Likewise.
18844         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
18845         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
18846         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
18847         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
18848         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
18849         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
18850         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
18851         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
18852         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18853         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
18854         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
18855         * sysdeps/unix/stime.c (stime): Likewise.
18856         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
18857         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
18858         Likewise.  Use internal_function.
18859         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
18860         Convert to prototype-style function definition.
18861         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18862         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18863         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
18864         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18865         Likewise.  Use internal_function.
18866         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
18867         prototype-style function definition
18868         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18869         Likewise.
18870         (__getlogin_r): Likewise.
18871         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
18872         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
18873         (__pthread_cond_broadcast): Likewise.
18874         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
18875         (__pthread_cond_destroy): Likewise.
18876         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
18877         (__pthread_cond_init): Likewise.
18878         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
18879         (__pthread_cond_signal): Likewise.
18880         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
18881         (__pthread_cond_wait): Likewise.
18882         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
18883         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18884         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
18885         Likewise.
18886         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
18887         Likewise.
18888         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18889         Likewise.
18890         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
18891         Likewise.
18892         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
18893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
18894         (__ftruncate64): Likewise.
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
18896         (truncate64): Likewise.
18897         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
18898         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
18899         (pthread_getcpuclockid): Likewise.
18900         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18901         Likewise.
18902         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18903         Likewise.
18904         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
18905         Likewise.
18906         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
18907         Likewise.
18908         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
18909         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
18910         (__libc_sigaction): Likewise.
18911         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
18912         Likewise.
18913         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18914         (__sigprocmask): Likewise.
18915         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
18916         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
18917         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
18918         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18919         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18920         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
18921         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18922         Likewise.
18923         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
18924         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
18925         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18926         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
18927         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
18928         Likewise.
18929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18930         (__sigprocmask): Likewise.
18931         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
18932         (cfgetispeed): Likewise.
18933         (cfsetospeed): Likewise.
18934         (cfsetispeed): Likewise.
18935         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
18936         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
18937         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18938         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18939         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
18940         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
18941         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
18942         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
18943         Likewise.
18944         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
18945         Likewise.
18946         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
18947         Likewise.
18948         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
18949         Likewise.
18950         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18952 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18954         sunrpc: Rewrite with explicit TLS access using __thread.
18955         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
18956         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
18957         directly.
18958         (__rpc_thread_variables): Access thread_rpc_vars directly.
18959         Eliminate redundant assignment of the tvp variable.
18961 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18963         malloc: Rewrite with explicit TLS access using __thread.
18964         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
18965         (tsd_setspecific, tsd_getspecific): Remove.
18966         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
18967         (tsd_setspecific, tsd_getspecific): Likewise.
18968         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
18969         (tsd_setspecific, tsd_getspecific): Likewise.
18970         * malloc/arena.c (thread_arena): New TLS variable.
18971         (arena_key): Remove variable.
18972         (arena_get): Use thread_arena.
18973         (arena_lookup): Remove macro.
18974         (malloc_atfork, free_atfork, ptmalloc_lock_all)
18975         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
18976         (_int_new_arena, get_free_list, reused_arena)
18977         (arena_thread_freeres): Use thread_arena.
18978         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
18979         tsd_getspecific, tsd_setspecific from safety annotations.
18980         (Allocating Cleared Space): Remove arena_lookup from safety
18981         annotations.
18983 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18985         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
18986         struct scratch_buffer instead of extend_alloca.
18988 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18990         * sysdeps/unix/sysv/linux/kernel-features.h
18991         (__ASSUME_SOCK_CLOEXEC): Remove.
18992         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
18993         (__have_paccept): Remove unused macro.
18994         * include/unistd.h (__have_sock_cloexec): Remove declaration.
18995         * misc/syslog.c (openlog_internal): Remove fallback code for
18996         !__ASSUME_SOCK_CLOEXEC.
18997         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
18998         missing SOCK_CLOEXEC.
18999         * nscd/connections.c (have_sock_cloexec): Remove definition.
19000         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19001         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19002         !__ASSUME_SOCK_CLOEXEC.
19003         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19004         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19005         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19006         definition.
19007         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19008         code for !__ASSUME_SOCK_CLOEXEC.
19010 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19012         [BZ #18982]
19013         * manual/stdio.texi (Variable Arguments Output): Add portability
19014         note, explaining that vfprintf clobbers the va_list pointer.
19016 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19018         * math/libm-test.inc (fabs_test_data): Add more tests.
19019         (fdim_test_data): Likewise.
19020         (fma_test_data): Likewise.
19021         (fmax_test_data): Likewise.
19022         (fmin_test_data): Likewise.
19023         (fmod_test_data): Likewise.
19025 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19027         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19028         data.
19030 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19032         * math/libm-test.inc (ceil_test_data): Add more tests and more
19033         expectations for "inexact".
19034         (floor_test_data): Add more tests.
19035         (round_test_data): Likewise.
19036         (trunc_test_data): Likewise.
19038         * crypt/cert.c (good_bye): Convert to prototype-style function
19039         definition.
19040         (get8): Likewise.
19041         (put8): Likewise.
19042         * crypt/crypt-entry.c (crypt): Likewise.
19043         (__fcrypt): Likewise.
19044         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19045         (_ufc_set_bits): Likewise.
19046         (_ufc_clearmem): Likewise.
19047         (__init_des_r): Likewise.
19048         (shuffle_sb): Likewise.
19049         (shuffle_sb): Likewise.
19050         (_ufc_setup_salt_r): Likewise.
19051         (_ufc_mk_keytab_r): Likewise.
19052         (_ufc_dofinalperm_r): Likewise.
19053         (encrypt): Likewise.
19054         (__setkey_r): Likewise.
19055         (setkey): Likewise.
19056         * crypt/md5.c (md5_init_ctx): Likewise.
19057         (md5_read_ctx): Likewise.
19058         (md5_finish_ctx): Likewise.
19059         (md5_stream): Likewise.
19060         (md5_buffer): Likewise.
19061         (md5_process_bytes): Likewise.
19062         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19063         (__sha256_finish_ctx): Likewise.
19064         (__sha256_process_bytes): Likewise.
19065         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19066         (__sha512_finish_ctx): Likewise.
19067         (__sha512_process_bytes): Likewise.
19068         * ctype/isctype.c (__isctype): Likewise.
19069         * debug/backtrace.c (__backtrace): Likewise.
19070         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19071         * debug/fgets_chk.c (__fgets_chk): Likewise.
19072         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19073         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19074         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19075         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19076         * debug/memset_chk.c (__memset_chk): Likewise.
19077         * debug/strcat_chk.c (__strcat_chk): Likewise.
19078         * debug/strncat_chk.c (__strncat_chk): Likewise.
19079         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19080         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19081         * dirent/dirfd.c (dirfd): Likewise.
19082         * dirent/getdents.c (__getdirentries): Likewise.
19083         * dirent/getdents64.c (getdirentries64): Likewise.
19084         * dirent/rewinddir.c (__rewinddir): Likewise.
19085         * dirent/seekdir.c (seekdir): Likewise.
19086         * dirent/telldir.c (telldir): Likewise.
19087         * elf/sln.c (makesymlinks): Likewise.
19088         (makesymlink): Likewise.
19089         * gmon/gmon.c (__moncontrol): Likewise.
19090         (__monstartup): Likewise.
19091         (write_hist): Likewise.
19092         (write_call_graph): Likewise.
19093         (write_bb_counts): Likewise.
19094         * grp/setgroups.c (setgroups): Likewise.
19095         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19096         * inet/inet_net.c (inet_network): Likewise.
19097         * inet/inet_netof.c (inet_netof): Likewise.
19098         * inet/rcmd.c (rresvport_af): Likewise.
19099         (rresvport): Likewise.
19100         * io/access.c (__access): Likewise.
19101         * io/chdir.c (__chdir): Likewise.
19102         * io/chmod.c (__chmod): Likewise.
19103         * io/chown.c (__chown): Likewise.
19104         * io/close.c (__close): Likewise.
19105         * io/creat.c (creat): Likewise.
19106         * io/creat64.c (creat64): Likewise.
19107         * io/dup.c (__dup): Likewise.
19108         * io/dup2.c (__dup2): Likewise.
19109         * io/dup3.c (__dup3): Likewise.
19110         * io/euidaccess.c (__euidaccess): Likewise.
19111         * io/faccessat.c (faccessat): Likewise.
19112         * io/fchmod.c (__fchmod): Likewise.
19113         * io/fchmodat.c (fchmodat): Likewise.
19114         * io/fchown.c (__fchown): Likewise.
19115         * io/fchownat.c (fchownat): Likewise.
19116         * io/fcntl.c (__fcntl): Likewise.
19117         * io/flock.c (__flock): Likewise.
19118         * io/fts.c (fts_load): Likewise.
19119         (fts_close): Likewise.
19120         (fts_read): Likewise.
19121         (fts_set): Likewise.
19122         (fts_children): Likewise.
19123         (fts_build): Likewise.
19124         (fts_stat): Likewise.
19125         (fts_sort): Likewise.
19126         (fts_alloc): Likewise.
19127         (fts_lfree): Likewise.
19128         (fts_palloc): Likewise.
19129         (fts_padjust): Likewise.
19130         (fts_maxarglen): Likewise.
19131         (fts_safe_changedir): Likewise.
19132         * io/getwd.c (getwd): Likewise.
19133         * io/isatty.c (__isatty): Likewise.
19134         * io/lchown.c (__lchown): Likewise.
19135         * io/link.c (__link): Likewise.
19136         * io/linkat.c (linkat): Likewise.
19137         * io/lseek.c (__libc_lseek): Likewise.
19138         * io/mkdir.c (__mkdir): Likewise.
19139         * io/mkdirat.c (mkdirat): Likewise.
19140         * io/mkfifo.c (mkfifo): Likewise.
19141         * io/mkfifoat.c (mkfifoat): Likewise.
19142         * io/open.c (__libc_open): Likewise.
19143         * io/open64.c (__libc_open64): Likewise.
19144         * io/readlink.c (__readlink): Likewise.
19145         * io/readlinkat.c (readlinkat): Likewise.
19146         * io/rmdir.c (__rmdir): Likewise.
19147         * io/symlink.c (__symlink): Likewise.
19148         * io/symlinkat.c (symlinkat): Likewise.
19149         * io/ttyname.c (ttyname): Likewise.
19150         * io/ttyname_r.c (__ttyname_r): Likewise.
19151         * io/umask.c (__umask): Likewise.
19152         * io/unlink.c (__unlink): Likewise.
19153         * io/unlinkat.c (unlinkat): Likewise.
19154         * io/utime.c (utime): Likewise.
19155         * libio/clearerr.c (clearerr): Likewise.
19156         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19157         * libio/feof.c (_IO_feof): Likewise.
19158         * libio/feof_u.c (feof_unlocked): Likewise.
19159         * libio/ferror.c (_IO_ferror): Likewise.
19160         * libio/ferror_u.c (ferror_unlocked): Likewise.
19161         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19162         * libio/fileno.c (__fileno): Likewise.
19163         * libio/fputc.c (fputc): Likewise.
19164         * libio/fputc_u.c (fputc_unlocked): Likewise.
19165         * libio/fputwc.c (fputwc): Likewise.
19166         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19167         * libio/freopen.c (freopen): Likewise.
19168         * libio/freopen64.c (freopen64): Likewise.
19169         * libio/fseek.c (fseek): Likewise.
19170         * libio/fseeko.c (fseeko): Likewise.
19171         * libio/fseeko64.c (fseeko64): Likewise.
19172         * libio/ftello.c (__ftello): Likewise.
19173         * libio/ftello64.c (ftello64): Likewise.
19174         * libio/fwide.c (fwide): Likewise.
19175         * libio/genops.c (_IO_un_link): Likewise.
19176         (_IO_link_in): Likewise.
19177         (_IO_least_marker): Likewise.
19178         (_IO_switch_to_main_get_area): Likewise.
19179         (_IO_switch_to_backup_area): Likewise.
19180         (_IO_switch_to_get_mode): Likewise.
19181         (_IO_free_backup_area): Likewise.
19182         (_IO_switch_to_put_mode): Likewise.
19183         (__overflow): Likewise.
19184         (__underflow): Likewise.
19185         (__uflow): Likewise.
19186         (_IO_setb): Likewise.
19187         (_IO_doallocbuf): Likewise.
19188         (_IO_default_underflow): Likewise.
19189         (_IO_default_uflow): Likewise.
19190         (_IO_default_xsputn): Likewise.
19191         (_IO_sgetn): Likewise.
19192         (_IO_default_xsgetn): Likewise.
19193         (_IO_sync): Likewise.
19194         (_IO_default_setbuf): Likewise.
19195         (_IO_default_seekpos): Likewise.
19196         (_IO_default_doallocate): Likewise.
19197         (_IO_init): Likewise.
19198         (_IO_old_init): Likewise.
19199         (_IO_default_sync): Likewise.
19200         (_IO_default_finish): Likewise.
19201         (_IO_default_seekoff): Likewise.
19202         (_IO_sputbackc): Likewise.
19203         (_IO_sungetc): Likewise.
19204         (_IO_set_column): Likewise.
19205         (_IO_set_column): Likewise.
19206         (_IO_adjust_column): Likewise.
19207         (_IO_get_column): Likewise.
19208         (_IO_init_marker): Likewise.
19209         (_IO_remove_marker): Likewise.
19210         (_IO_marker_difference): Likewise.
19211         (_IO_marker_delta): Likewise.
19212         (_IO_seekmark): Likewise.
19213         (_IO_unsave_markers): Likewise.
19214         (_IO_nobackup_pbackfail): Likewise.
19215         (_IO_default_pbackfail): Likewise.
19216         (_IO_default_seek): Likewise.
19217         (_IO_default_stat): Likewise.
19218         (_IO_default_read): Likewise.
19219         (_IO_default_write): Likewise.
19220         (_IO_default_showmanyc): Likewise.
19221         (_IO_default_imbue): Likewise.
19222         (_IO_iter_next): Likewise.
19223         (_IO_iter_file): Likewise.
19224         * libio/getc.c (_IO_getc): Likewise.
19225         * libio/getwc.c (_IO_getwc): Likewise.
19226         * libio/iofclose.c (_IO_new_fclose): Likewise.
19227         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19228         * libio/iofflush.c (_IO_fflush): Likewise.
19229         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19230         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19231         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19232         * libio/iofgets.c (_IO_fgets): Likewise.
19233         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19234         * libio/iofgetws.c (fgetws): Likewise.
19235         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19236         * libio/iofopen64.c (_IO_fopen64): Likewise.
19237         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19238         (_IO_cookie_write): Likewise.
19239         (_IO_cookie_seek): Likewise.
19240         (_IO_cookie_close): Likewise.
19241         (_IO_cookie_seekoff): Likewise.
19242         (_IO_old_cookie_seek): Likewise.
19243         * libio/iofputs.c (_IO_fputs): Likewise.
19244         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19245         * libio/iofputws.c (fputws): Likewise.
19246         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19247         * libio/iofread.c (_IO_fread): Likewise.
19248         * libio/iofread_u.c (__fread_unlocked): Likewise.
19249         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19250         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19251         * libio/ioftell.c (_IO_ftell): Likewise.
19252         * libio/iofwrite.c (_IO_fwrite): Likewise.
19253         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19254         * libio/iogets.c (_IO_gets): Likewise.
19255         * libio/iopadn.c (_IO_padn): Likewise.
19256         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19257         (_IO_new_popen): Likewise.
19258         (_IO_new_proc_close): Likewise.
19259         * libio/ioputs.c (_IO_puts): Likewise.
19260         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19261         (_IO_seekoff): Likewise.
19262         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19263         (_IO_seekpos): Likewise.
19264         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19265         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19266         * libio/ioungetc.c (_IO_ungetc): Likewise.
19267         * libio/ioungetwc.c (ungetwc): Likewise.
19268         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19269         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19270         * libio/iowpadn.c (_IO_wpadn): Likewise.
19271         * libio/libc_fatal.c (__libc_fatal): Likewise.
19272         * libio/memstream.c (__open_memstream): Likewise.
19273         (_IO_mem_sync): Likewise.
19274         (_IO_mem_finish): Likewise.
19275         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19276         (_IO_old_file_close_it): Likewise.
19277         (_IO_old_file_finish): Likewise.
19278         (_IO_old_file_fopen): Likewise.
19279         (_IO_old_file_attach): Likewise.
19280         (_IO_old_file_setbuf): Likewise.
19281         (_IO_old_do_write): Likewise.
19282         (old_do_write): Likewise.
19283         (_IO_old_file_underflow): Likewise.
19284         (_IO_old_file_overflow): Likewise.
19285         (_IO_old_file_sync): Likewise.
19286         (_IO_old_file_seekoff): Likewise.
19287         (_IO_old_file_write): Likewise.
19288         (_IO_old_file_xsputn): Likewise.
19289         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19290         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19291         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19292         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19293         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19294         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19295         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19296         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19297         (_IO_old_popen): Likewise.
19298         (_IO_old_proc_close): Likewise.
19299         * libio/oldpclose.c (__old_pclose): Likewise.
19300         * libio/pclose.c (__new_pclose): Likewise.
19301         * libio/peekc.c (_IO_peekc_locked): Likewise.
19302         * libio/putc.c (_IO_putc): Likewise.
19303         * libio/putc_u.c (putc_unlocked): Likewise.
19304         * libio/putchar.c (putchar): Likewise.
19305         * libio/putchar_u.c (putchar_unlocked): Likewise.
19306         * libio/putwc.c (putwc): Likewise.
19307         * libio/putwc_u.c (putwc_unlocked): Likewise.
19308         * libio/putwchar.c (putwchar): Likewise.
19309         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19310         * libio/rewind.c (rewind): Likewise.
19311         * libio/setbuf.c (setbuf): Likewise.
19312         * libio/setlinebuf.c (setlinebuf): Likewise.
19313         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19314         * libio/vscanf.c (_IO_vscanf): Likewise.
19315         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19316         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19317         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19318         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19319         (_IO_switch_to_main_wget_area): Likewise.
19320         (_IO_switch_to_wbackup_area): Likewise.
19321         (_IO_wsetb): Likewise.
19322         (_IO_wdefault_pbackfail): Likewise.
19323         (_IO_wdefault_finish): Likewise.
19324         (_IO_wdefault_uflow): Likewise.
19325         (__woverflow): Likewise.
19326         (__wuflow): Likewise.
19327         (__wunderflow): Likewise.
19328         (_IO_wdefault_xsputn): Likewise.
19329         (_IO_wdefault_xsgetn): Likewise.
19330         (_IO_wdoallocbuf): Likewise.
19331         (_IO_wdefault_doallocate): Likewise.
19332         (_IO_switch_to_wget_mode): Likewise.
19333         (_IO_free_wbackup_area): Likewise.
19334         (_IO_switch_to_wput_mode): Likewise.
19335         (_IO_sputbackwc): Likewise.
19336         (_IO_sungetwc): Likewise.
19337         (_IO_adjust_wcolumn): Likewise.
19338         (_IO_init_wmarker): Likewise.
19339         (_IO_wmarker_delta): Likewise.
19340         (_IO_seekwmark): Likewise.
19341         (_IO_unsave_wmarkers): Likewise.
19342         * libio/wmemstream.c (open_wmemstream): Likewise.
19343         (_IO_wmem_sync): Likewise.
19344         (_IO_wmem_finish): Likewise.
19345         * locale/nl_langinfo.c (nl_langinfo): Likewise.
19346         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19347         * locale/programs/simple-hash.c (init_hash): Likewise.
19348         (delete_hash): Likewise.
19349         (insert_entry): Likewise.
19350         (set_entry): Likewise.
19351         (next_prime): Likewise.
19352         (is_prime): Likewise.
19353         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19354         (xmalloc): Likewise.
19355         (xrealloc): Likewise.
19356         * locale/programs/xstrdup.c (xstrdup): Likewise.
19357         * localedata/collate-test.c (xstrcoll): Likewise.
19358         * localedata/xfrm-test.c (xstrcmp): Likewise.
19359         * login/getlogin_r.c (__getlogin_r): Likewise.
19360         * login/getpt.c (__posix_openpt): Likewise.
19361         * login/login_tty.c (login_tty): Likewise.
19362         * login/setlogin.c (setlogin): Likewise.
19363         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
19364         (mach_msg_destroy_port): Likewise.
19365         (mach_msg_destroy_memory): Likewise.
19366         * malloc/mcheck.c (flood): Likewise.
19367         * misc/acct.c (acct): Likewise.
19368         * misc/brk.c (__brk): Likewise.
19369         * misc/chflags.c (chflags): Likewise.
19370         * misc/chroot.c (chroot): Likewise.
19371         * misc/fchflags.c (fchflags): Likewise.
19372         * misc/fstab.c (getfsspec): Likewise.
19373         (getfsfile): Likewise.
19374         * misc/fsync.c (fsync): Likewise.
19375         * misc/ftruncate.c (__ftruncate): Likewise.
19376         * misc/ftruncate64.c (__ftruncate64): Likewise.
19377         * misc/getdomain.c (getdomainname): Likewise.
19378         (getdomainname): Likewise.
19379         * misc/gethostname.c (__gethostname): Likewise.
19380         * misc/getpass.c (getpass): Likewise.
19381         * misc/getttyent.c (skip): Likewise.
19382         (value): Likewise.
19383         * misc/gtty.c (gtty): Likewise.
19384         * misc/hsearch.c (hsearch): Likewise.
19385         (hcreate): Likewise.
19386         * misc/hsearch_r.c (__hcreate_r): Likewise.
19387         (__hdestroy_r): Likewise.
19388         * misc/ioctl.c (__ioctl): Likewise.
19389         * misc/mkdtemp.c (mkdtemp): Likewise.
19390         * misc/mkostemp.c (mkostemp): Likewise.
19391         * misc/mkostemp64.c (mkostemp64): Likewise.
19392         * misc/mkostemps.c (mkostemps): Likewise.
19393         * misc/mkostemps64.c (mkostemps64): Likewise.
19394         * misc/mkstemp.c (mkstemp): Likewise.
19395         * misc/mkstemp64.c (mkstemp64): Likewise.
19396         * misc/mkstemps.c (mkstemps): Likewise.
19397         * misc/mkstemps64.c (mkstemps64): Likewise.
19398         * misc/mktemp.c (__mktemp): Likewise.
19399         * misc/preadv.c (preadv): Likewise.
19400         * misc/preadv64.c (preadv64): Likewise.
19401         * misc/pwritev.c (pwritev): Likewise.
19402         * misc/pwritev64.c (pwritev64): Likewise.
19403         * misc/readv.c (__readv): Likewise.
19404         * misc/revoke.c (revoke): Likewise.
19405         * misc/setdomain.c (setdomainname): Likewise.
19406         * misc/setegid.c (setegid): Likewise.
19407         * misc/seteuid.c (seteuid): Likewise.
19408         * misc/sethostid.c (sethostid): Likewise.
19409         * misc/sethostname.c (sethostname): Likewise.
19410         * misc/setregid.c (__setregid): Likewise.
19411         * misc/setreuid.c (__setreuid): Likewise.
19412         * misc/sstk.c (sstk): Likewise.
19413         * misc/stty.c (stty): Likewise.
19414         * misc/syscall.c (syscall): Likewise.
19415         * misc/syslog.c (setlogmask): Likewise.
19416         * misc/truncate.c (__truncate): Likewise.
19417         * misc/truncate64.c (truncate64): Likewise.
19418         * misc/ualarm.c (ualarm): Likewise.
19419         * misc/usleep.c (usleep): Likewise.
19420         * misc/ustat.c (ustat): Likewise.
19421         * misc/writev.c (__writev): Likewise.
19422         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
19423         * nptl/old_pthread_cond_broadcast.c
19424         (__pthread_cond_broadcast_2_0): Likewise.
19425         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
19426         Likewise.
19427         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
19428         Likewise.
19429         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
19430         Likewise.
19431         * nptl/pt-raise.c (raise): Likewise.
19432         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
19433         Likewise.
19434         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
19435         * nptl/pthread_barrierattr_destroy.c
19436         (pthread_barrierattr_destroy): Likewise.
19437         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19438         Likewise.
19439         * nptl/pthread_barrierattr_setpshared.c
19440         (pthread_barrierattr_setpshared): Likewise.
19441         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19442         Likewise.
19443         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
19444         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19445         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
19446         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
19447         Likewise.
19448         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
19449         Likewise.
19450         * nptl/pthread_condattr_getpshared.c
19451         (pthread_condattr_getpshared): Likewise.
19452         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
19453         Likewise.
19454         * nptl/pthread_condattr_setpshared.c
19455         (pthread_condattr_setpshared): Likewise.
19456         * nptl/pthread_detach.c (pthread_detach): Likewise.
19457         * nptl/pthread_equal.c (__pthread_equal): Likewise.
19458         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
19459         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
19460         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
19461         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
19462         Likewise.
19463         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
19464         Likewise.
19465         * nptl/pthread_mutex_getprioceiling.c
19466         (pthread_mutex_getprioceiling): Likewise.
19467         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
19468         Likewise.
19469         * nptl/pthread_mutexattr_getprotocol.c
19470         (pthread_mutexattr_getprotocol): Likewise.
19471         * nptl/pthread_mutexattr_getpshared.c
19472         (pthread_mutexattr_getpshared): Likewise.
19473         * nptl/pthread_mutexattr_getrobust.c
19474         (pthread_mutexattr_getrobust): Likewise.
19475         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19476         Likewise.
19477         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
19478         Likewise.
19479         * nptl/pthread_mutexattr_setprioceiling.c
19480         (pthread_mutexattr_setprioceiling): Likewise.
19481         * nptl/pthread_mutexattr_setprotocol.c
19482         (pthread_mutexattr_setprotocol): Likewise.
19483         * nptl/pthread_mutexattr_setpshared.c
19484         (pthread_mutexattr_setpshared): Likewise.
19485         * nptl/pthread_mutexattr_setrobust.c
19486         (pthread_mutexattr_setrobust): Likewise.
19487         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
19488         Likewise.
19489         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
19490         Likewise.
19491         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
19492         Likewise.
19493         * nptl/pthread_rwlockattr_getkind_np.c
19494         (pthread_rwlockattr_getkind_np): Likewise.
19495         * nptl/pthread_rwlockattr_getpshared.c
19496         (pthread_rwlockattr_getpshared): Likewise.
19497         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
19498         Likewise.
19499         * nptl/pthread_rwlockattr_setkind_np.c
19500         (pthread_rwlockattr_setkind_np): Likewise.
19501         * nptl/pthread_rwlockattr_setpshared.c
19502         (pthread_rwlockattr_setpshared): Likewise.
19503         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
19504         Likewise.
19505         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
19506         Likewise.
19507         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
19508         Likewise.
19509         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
19510         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
19511         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
19512         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
19513         * nptl/sem_close.c (sem_close): Likewise.
19514         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
19515         * nptl/sem_init.c (__old_sem_init): Likewise.
19516         * nptl/sigaction.c (__sigaction): Likewise.
19517         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19518         * posix/_exit.c (_exit): Likewise.
19519         * posix/alarm.c (alarm): Likewise.
19520         * posix/confstr.c (confstr): Likewise.
19521         * posix/fpathconf.c (__fpathconf): Likewise.
19522         * posix/getgroups.c (__getgroups): Likewise.
19523         * posix/getpgid.c (__getpgid): Likewise.
19524         * posix/group_member.c (__group_member): Likewise.
19525         * posix/pathconf.c (__pathconf): Likewise.
19526         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
19527         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
19528         * posix/setgid.c (__setgid): Likewise.
19529         * posix/setpgid.c (__setpgid): Likewise.
19530         * posix/setuid.c (__setuid): Likewise.
19531         * posix/sleep.c (__sleep): Likewise.
19532         * posix/sysconf.c (__sysconf): Likewise.
19533         * posix/times.c (__times): Likewise.
19534         * posix/uname.c (__uname): Likewise.
19535         * posix/waitid.c (__waitid): Likewise.
19536         * pwd/getpw.c (__getpw): Likewise.
19537         * resolv/base64.c (b64_pton): Likewise.
19538         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
19539         * resolv/gethnamaddr.c (Dprintf): Likewise.
19540         (gethostbyname): Likewise.
19541         (gethostbyname2): Likewise.
19542         (gethostbyaddr): Likewise.
19543         (_sethtent): Likewise.
19544         (_gethtbyname): Likewise.
19545         (_gethtbyname2): Likewise.
19546         (_gethtbyaddr): Likewise.
19547         (map_v4v6_address): Likewise.
19548         (map_v4v6_hostent): Likewise.
19549         (addrsort): Likewise.
19550         (ht_sethostent): Likewise.
19551         (ht_gethostbyname): Likewise.
19552         (ht_gethostbyaddr): Likewise.
19553         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
19554         (inet_net_ntop_ipv4): Likewise.
19555         * resolv/inet_neta.c (inet_neta): Likewise.
19556         * resolv/inet_ntop.c (inet_ntop): Likewise.
19557         (inet_ntop4): Likewise.
19558         (inet_ntop6): Likewise.
19559         * resolv/inet_pton.c (__inet_pton): Likewise.
19560         (inet_pton4): Likewise.
19561         (inet_pton6): Likewise.
19562         * resolv/res_debug.c (loc_aton): Likewise.
19563         (loc_ntoa): Likewise.
19564         * resource/getpriority.c (__getpriority): Likewise.
19565         * resource/getrusage.c (__getrusage): Likewise.
19566         * resource/nice.c (nice): Likewise.
19567         * resource/setpriority.c (__setpriority): Likewise.
19568         * resource/setrlimit64.c (setrlimit64): Likewise.
19569         * resource/vlimit.c (vlimit): Likewise.
19570         * resource/vtimes.c (vtimes): Likewise.
19571         * rt/aio_error.c (aio_error): Likewise.
19572         * rt/aio_return.c (aio_return): Likewise.
19573         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
19574         * signal/kill.c (__kill): Likewise.
19575         * signal/killpg.c (killpg): Likewise.
19576         * signal/raise.c (raise): Likewise.
19577         * signal/sigaction.c (__sigaction): Likewise.
19578         * signal/sigaddset.c (sigaddset): Likewise.
19579         * signal/sigaltstack.c (sigaltstack): Likewise.
19580         * signal/sigandset.c (sigandset): Likewise.
19581         * signal/sigblock.c (__sigblock): Likewise.
19582         * signal/sigdelset.c (sigdelset): Likewise.
19583         * signal/sigempty.c (sigemptyset): Likewise.
19584         * signal/sigfillset.c (sigfillset): Likewise.
19585         * signal/sighold.c (sighold): Likewise.
19586         * signal/sigignore.c (sigignore): Likewise.
19587         * signal/sigintr.c (siginterrupt): Likewise.
19588         * signal/sigisempty.c (sigisemptyset): Likewise.
19589         * signal/sigismem.c (sigismember): Likewise.
19590         * signal/signal.c (signal): Likewise.
19591         * signal/sigorset.c (sigorset): Likewise.
19592         * signal/sigpause.c (__sigpause): Likewise.
19593         * signal/sigpending.c (sigpending): Likewise.
19594         * signal/sigprocmask.c (__sigprocmask): Likewise.
19595         * signal/sigrelse.c (sigrelse): Likewise.
19596         * signal/sigreturn.c (__sigreturn): Likewise.
19597         * signal/sigset.c (sigset): Likewise.
19598         * signal/sigsetmask.c (__sigsetmask): Likewise.
19599         * signal/sigstack.c (sigstack): Likewise.
19600         * signal/sigsuspend.c (__sigsuspend): Likewise.
19601         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
19602         * signal/sysv_signal.c (__sysv_signal): Likewise.
19603         * socket/accept.c (accept): Likewise.
19604         * socket/accept4.c (__libc_accept4): Likewise.
19605         * socket/bind.c (__bind): Likewise.
19606         * socket/connect.c (__connect): Likewise.
19607         * socket/getpeername.c (getpeername): Likewise.
19608         * socket/getsockname.c (__getsockname): Likewise.
19609         * socket/getsockopt.c (getsockopt): Likewise.
19610         * socket/listen.c (__listen): Likewise.
19611         * socket/recv.c (__recv): Likewise.
19612         * socket/recvmsg.c (__recvmsg): Likewise.
19613         * socket/send.c (__send): Likewise.
19614         * socket/sendmsg.c (__sendmsg): Likewise.
19615         * socket/shutdown.c (shutdown): Likewise.
19616         * socket/sockatmark.c (sockatmark): Likewise.
19617         * socket/socket.c (__socket): Likewise.
19618         * stdio-common/ctermid.c (ctermid): Likewise.
19619         * stdio-common/cuserid.c (cuserid): Likewise.
19620         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
19621         * stdio-common/remove.c (remove): Likewise.
19622         * stdio-common/rename.c (rename): Likewise.
19623         * stdio-common/renameat.c (renameat): Likewise.
19624         * stdio-common/tempname.c (__gen_tempname): Likewise.
19625         * stdio-common/xbug.c (InitBuffer): Likewise.
19626         (AppendToBuffer): Likewise.
19627         (ReadFile): Likewise.
19628         * stdlib/a64l.c (a64l): Likewise.
19629         * stdlib/drand48_r.c (drand48_r): Likewise.
19630         * stdlib/getcontext.c (getcontext): Likewise.
19631         * stdlib/getenv.c (getenv): Likewise.
19632         * stdlib/l64a.c (l64a): Likewise.
19633         * stdlib/llabs.c (llabs): Likewise.
19634         * stdlib/lldiv.c (lldiv): Likewise.
19635         * stdlib/lrand48_r.c (lrand48_r): Likewise.
19636         * stdlib/mrand48_r.c (mrand48_r): Likewise.
19637         * stdlib/putenv.c (putenv): Likewise.
19638         * stdlib/random.c (__srandom): Likewise.
19639         (__initstate): Likewise.
19640         (__setstate): Likewise.
19641         * stdlib/random_r.c (__srandom_r): Likewise.
19642         (__setstate_r): Likewise.
19643         (__random_r): Likewise.
19644         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
19645         * stdlib/setcontext.c (setcontext): Likewise.
19646         * stdlib/setenv.c (setenv): Likewise.
19647         (unsetenv): Likewise.
19648         * stdlib/srand48.c (srand48): Likewise.
19649         * stdlib/srand48_r.c (__srand48_r): Likewise.
19650         * stdlib/swapcontext.c (swapcontext): Likewise.
19651         * stdlib/system.c (__libc_system): Likewise.
19652         * stdlib/tst-strtod.c (expand): Likewise.
19653         * stdlib/tst-strtol.c (expand): Likewise.
19654         * stdlib/tst-strtoll.c (expand): Likewise.
19655         * streams/fattach.c (fattach): Likewise.
19656         * streams/fdetach.c (fdetach): Likewise.
19657         * streams/getmsg.c (getmsg): Likewise.
19658         * streams/isastream.c (isastream): Likewise.
19659         * string/ffs.c (__ffs): Likewise.
19660         * string/ffsll.c (ffsll): Likewise.
19661         * string/memcmp.c (memcmp_common_alignment): Likewise.
19662         (memcmp_not_common_alignment): Likewise.
19663         (MEMCMP): Likewise.
19664         * string/memcpy.c (memcpy): Likewise.
19665         * string/memmove.c (MEMMOVE): Likewise.
19666         * string/memset.c (memset): Likewise.
19667         * string/rawmemchr.c (RAWMEMCHR): Likewise.
19668         * string/strchrnul.c (STRCHRNUL): Likewise.
19669         * string/strerror.c (strerror): Likewise.
19670         * string/strndup.c (__strndup): Likewise.
19671         * string/strverscmp.c (__strverscmp): Likewise.
19672         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
19673         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
19674         (clnttcp_freeres): Likewise.
19675         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
19676         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
19677         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
19678         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
19679         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
19680         (xdr_callhdr): Likewise.
19681         * sunrpc/rpcinfo.c (udpping): Likewise.
19682         (tcpping): Likewise.
19683         (pstatus): Likewise.
19684         (pmapdump): Likewise.
19685         (brdcst): Likewise.
19686         (deletereg): Likewise.
19687         (getprognum): Likewise.
19688         (getvers): Likewise.
19689         (get_inet_address): Likewise.
19690         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
19691         * sunrpc/svc_udp.c (svcudp_create): Likewise.
19692         (svcudp_stat): Likewise.
19693         (svcudp_recv): Likewise.
19694         (svcudp_reply): Likewise.
19695         (svcudp_getargs): Likewise.
19696         (svcudp_freeargs): Likewise.
19697         (svcudp_destroy): Likewise.
19698         * sunrpc/xdr.c (xdr_bytes): Likewise.
19699         (xdr_netobj): Likewise.
19700         (xdr_string): Likewise.
19701         (xdr_wrapstring): Likewise.
19702         * sunrpc/xdr_float.c (xdr_float): Likewise.
19703         (xdr_double): Likewise.
19704         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
19705         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
19706         * sysvipc/ftok.c (ftok): Likewise.
19707         * sysvipc/msgctl.c (msgctl): Likewise.
19708         * sysvipc/msgget.c (msgget): Likewise.
19709         * sysvipc/msgrcv.c (msgrcv): Likewise.
19710         * sysvipc/msgsnd.c (msgsnd): Likewise.
19711         * sysvipc/semget.c (semget): Likewise.
19712         * sysvipc/semop.c (semop): Likewise.
19713         * sysvipc/shmat.c (shmat): Likewise.
19714         * sysvipc/shmctl.c (shmctl): Likewise.
19715         * sysvipc/shmdt.c (shmdt): Likewise.
19716         * sysvipc/shmget.c (shmget): Likewise.
19717         * termios/cfmakeraw.c (cfmakeraw): Likewise.
19718         * termios/speed.c (cfgetospeed): Likewise.
19719         (cfgetispeed): Likewise.
19720         (cfsetospeed): Likewise.
19721         (cfsetispeed): Likewise.
19722         * termios/tcflow.c (tcflow): Likewise.
19723         * termios/tcflush.c (tcflush): Likewise.
19724         * termios/tcgetattr.c (__tcgetattr): Likewise.
19725         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
19726         * termios/tcgetsid.c (tcgetsid): Likewise.
19727         * termios/tcsendbrk.c (tcsendbreak): Likewise.
19728         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
19729         * time/adjtime.c (__adjtime): Likewise.
19730         * time/dysize.c (dysize): Likewise.
19731         * time/ftime.c (ftime): Likewise.
19732         * time/getitimer.c (__getitimer): Likewise.
19733         * time/gettimeofday.c (__gettimeofday): Likewise.
19734         * time/gmtime.c (__gmtime_r): Likewise.
19735         (gmtime): Likewise.
19736         * time/localtime.c (__localtime_r): Likewise.
19737         (localtime): Likewise.
19738         * time/offtime.c (__offtime): Likewise.
19739         * time/settimeofday.c (__settimeofday): Likewise.
19740         * time/stime.c (stime): Likewise.
19741         * time/strftime_l.c (tm_diff): Likewise.
19742         (iso_week_days): Likewise.
19743         * time/strptime.c (strptime): Likewise.
19744         * time/time.c (time): Likewise.
19745         * time/timespec_get.c (timespec_get): Likewise.
19746         * time/tzset.c (tzset_internal): Likewise.
19747         (compute_change): Likewise.
19748         (__tz_compute): Likewise.
19749         * wcsmbs/btowc.c (__btowc): Likewise.
19750         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
19751         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
19752         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
19753         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
19754         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
19755         * wcsmbs/wcscat.c (__wcscat): Likewise.
19756         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19757         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
19758         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
19759         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19760         * wcsmbs/wcsdup.c (wcsdup): Likewise.
19761         * wcsmbs/wcslen.c (__wcslen): Likewise.
19762         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
19763         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
19764         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
19765         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
19766         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19767         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
19768         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19769         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19770         * wcsmbs/wcstok.c (wcstok): Likewise.
19771         * wcsmbs/wctob.c (wctob): Likewise.
19772         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
19773         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19774         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
19775         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
19776         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
19777         * wcsmbs/wmemset.c (__wmemset): Likewise.
19778         * wctype/wcfuncs.c (__towlower): Likewise.
19779         (__towupper): Likewise.
19781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
19782         (lll_unlock_elision): Add adapt_count parameter.
19784 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
19786         * sysdeps/nptl/configure.ac: Do not give errors based on the
19787         results of top-level configure tests.
19788         * sysdeps/nptl/configure: Regenerated.
19790         * configure.ac (libc_cv_Bgroup): Remove configure test.
19791         * configure: Regenerated.
19792         * config.make.in (have-Bgroup): Remove variable.
19794         * configure.ac (sizeof_long_double): Remove configure test.
19795         * configure: Regenerated.
19796         * config.make.in (sizeof-long-double): Remove variable.
19798         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
19799         * configure: Regenerated.
19800         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
19801         variable.
19802         (exceptions): Likewise.
19803         * sysdeps/arm/configure: Regenerated.
19804         * config.make.in (exceptions): Remove variable.
19805         * Makeconfig (uses-callbacks): Use -fexceptions instead of
19806         $(exceptions).
19807         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
19808         (CFLAGS-vdprintf_chk.c): Likewise.
19809         (CFLAGS-printf_chk.c): Likewise.
19810         (CFLAGS-fprintf_chk.c): Likewise.
19811         (CFLAGS-vprintf_chk.c): Likewise.
19812         (CFLAGS-vfprintf_chk.c): Likewise.
19813         (CFLAGS-gets_chk.c): Likewise.
19814         (CFLAGS-fgets_chk.c): Likewise.
19815         (CFLAGS-fgets_u_chk.c): Likewise.
19816         (CFLAGS-fread_chk.c): Likewise.
19817         (CFLAGS-fread_u_chk.c): Likewise.
19818         (CFLAGS-wprintf_chk.c): Likewise.
19819         (CFLAGS-fwprintf_chk.c): Likewise.
19820         (CFLAGS-vwprintf_chk.c): Likewise.
19821         (CFLAGS-vfwprintf_chk.c): Likewise.
19822         (CFLAGS-fgetws_chk.c): Likewise.
19823         (CFLAGS-fgetws_u_chk.c): Likewise.
19824         * libio/Makefile (CFLAGS-fileops.c): Likewise.
19825         (CFLAGS-fputc.c): Likewise.
19826         (CFLAGS-fputwc.c): Likewise.
19827         (CFLAGS-freopen64.c): Likewise.
19828         (CFLAGS-freopen.c): Likewise.
19829         (CFLAGS-fseek.c): Likewise.
19830         (CFLAGS-fseeko64.c): Likewise.
19831         (CFLAGS-fseeko.c): Likewise.
19832         (CFLAGS-ftello64.c): Likewise.
19833         (CFLAGS-ftello.c): Likewise.
19834         (CFLAGS-fwide.c): Likewise.
19835         (CFLAGS-genops.c): Likewise.
19836         (CFLAGS-getc.c): Likewise.
19837         (CFLAGS-getchar.c): Likewise.
19838         (CFLAGS-getwc.c): Likewise.
19839         (CFLAGS-getwchar.c): Likewise.
19840         (CFLAGS-iofclose.c): Likewise.
19841         (CFLAGS-iofflush.c): Likewise.
19842         (CFLAGS-iofgetpos64.c): Likewise.
19843         (CFLAGS-iofgetpos.c): Likewise.
19844         (CFLAGS-iofgets.c): Likewise.
19845         (CFLAGS-iofgetws.c): Likewise.
19846         (CFLAGS-iofputs.c): Likewise.
19847         (CFLAGS-iofputws.c): Likewise.
19848         (CFLAGS-iofread.c): Likewise.
19849         (CFLAGS-iofsetpos64.c): Likewise.
19850         (CFLAGS-iofsetpos.c): Likewise.
19851         (CFLAGS-ioftell.c): Likewise.
19852         (CFLAGS-iofwrite.c): Likewise.
19853         (CFLAGS-iogetdelim.c): Likewise.
19854         (CFLAGS-iogetline.c): Likewise.
19855         (CFLAGS-iogets.c): Likewise.
19856         (CFLAGS-iogetwline.c): Likewise.
19857         (CFLAGS-ioputs.c): Likewise.
19858         (CFLAGS-ioseekoff.c): Likewise.
19859         (CFLAGS-ioseekpos.c): Likewise.
19860         (CFLAGS-iosetbuffer.c): Likewise.
19861         (CFLAGS-iosetvbuf.c): Likewise.
19862         (CFLAGS-ioungetc.c): Likewise.
19863         (CFLAGS-ioungetwc.c): Likewise.
19864         (CFLAGS-oldfileops.c): Likewise.
19865         (CFLAGS-oldiofclose.c): Likewise.
19866         (CFLAGS-oldiofgetpos64.c): Likewise.
19867         (CFLAGS-oldiofgetpos.c): Likewise.
19868         (CFLAGS-oldiofsetpos64.c): Likewise.
19869         (CFLAGS-oldiofsetpos.c): Likewise.
19870         (CFLAGS-peekc.c): Likewise.
19871         (CFLAGS-putc.c): Likewise.
19872         (CFLAGS-putchar.c): Likewise.
19873         (CFLAGS-putwc.c): Likewise.
19874         (CFLAGS-putwchar.c): Likewise.
19875         (CFLAGS-rewind.c): Likewise.
19876         (CFLAGS-wfileops.c): Likewise.
19877         (CFLAGS-wgenops.c): Likewise.
19878         (CFLAGS-oldiofopen.c): Likewise.
19879         (CFLAGS-iofopen.c): Likewise.
19880         (CFLAGS-iofopen64.c): Likewise.
19881         (CFLAGS-oldtmpfile.c): Likewise.
19882         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19883         (CFLAGS-fprintf.c): Likewise.
19884         (CFLAGS-printf.c): Likewise.
19885         (CFLAGS-vfwprintf.c): Likewise.
19886         (CFLAGS-vfscanf.c): Likewise.
19887         (CFLAGS-vfwscanf.c): Likewise.
19888         (CFLAGS-fscanf.c): Likewise.
19889         (CFLAGS-scanf.c): Likewise.
19890         (CFLAGS-isoc99_vfscanf.c): Likewise.
19891         (CFLAGS-isoc99_vscanf.c): Likewise.
19892         (CFLAGS-isoc99_fscanf.c): Likewise.
19893         (CFLAGS-isoc99_scanf.c): Likewise.
19894         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
19895         (CFLAGS-isoc99_fwscanf.c): Likewise.
19896         (CFLAGS-isoc99_vwscanf.c): Likewise.
19897         (CFLAGS-isoc99_vfwscanf.c): Likewise.
19899         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
19900         after mkstemp64.
19901         * login/tst-utmp.c (do_prepare): Likewise.
19902         * rt/tst-aio.c (do_prepare): Likewise.
19903         * rt/tst-aio64.c (do_prepare): Likewise.
19905 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19907         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19908         (__lll_lock_elision): Remove adapt_count decrement...
19909         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19910         (__lll_trylock_elision): Likewise.
19911         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19912         (__lll_unlock_elision): ... to here. And utilize
19913         new adapt_count parameter.
19914         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19915         (__lll_unlock_elision): Update to include adapt_count
19916         parameter.
19917         (lll_unlock_elision): Pass pointer to adapt_count
19918         variable.
19920 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19922         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
19923         Add elision adapt_count parameter to list of arguments.
19924         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19925         (lll_unlock_elision): Update with new parameter list
19926         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
19927         (lll_unlock_elision): Likewise.
19928         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
19929         (lll_unlock_elision): Likewise.
19931 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19933         [BZ #19122]
19934         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
19935         attribute_hidden.
19937         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
19938         attribute_hidden.
19939         [IS_IN (rtld)] (__strdup): Likewise.
19940         [IS_IN (rtld)] (__strerror_r): Likewise.
19941         [IS_IN (rtld)] (__strsep_g): Likewise.
19942         [IS_IN (rtld)] (memchr): Likewise.
19943         [IS_IN (rtld)] (memcmp): Likewise.
19944         [IS_IN (rtld)] (memcpy): Likewise.
19945         [IS_IN (rtld)] (memmove): Likewise.
19946         [IS_IN (rtld)] (memset): Likewise.
19947         [IS_IN (rtld)] (rawmemchr): Likewise.
19948         [IS_IN (rtld)] (stpcpy): Likewise.
19949         [IS_IN (rtld)] (strchr): Likewise.
19950         [IS_IN (rtld)] (strcmp): Likewise.
19951         [IS_IN (rtld)] (strlen): Likewise.
19952         [IS_IN (rtld)] (strnlen): Likewise.
19953         [IS_IN (rtld)] (strsep): Likewise.
19955         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
19956         attribute_hidden.
19957         [IS_IN (rtld)] (__strtoul_internal): Likewise.
19959         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
19960         attribute_hidden.
19961         [IS_IN (rtld)] (__libc_sigaction): Likewise.
19963         * include/setjmp.h (__longjmp): Add attribute_hidden.
19964         [IS_IN (rtld)] (__sigsetjmp): Likewise.
19966         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
19967         Add attribute_hidden.
19969         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
19970         [IS_IN (rtld)] (__open): Likewise.
19971         [IS_IN (rtld)] (__fcntl): Likewise.
19973         * include/dirent.h (__opendirat): Add attribute_hidden.
19974         (__getdents): Likewise.
19975         (__getdents64): Likewise.
19976         (__alloc_dir): Likewise.
19977         [IS_IN (rtld)] (__closedir): Likewise.
19978         [IS_IN (rtld)] (__fdopendir): Likewise.
19979         [IS_IN (rtld)] (__readdir): Likewise.
19980         [IS_IN (rtld)] (__readdir64): Likewise.
19981         [IS_IN (rtld)] (__rewinddir): Likewise.
19983         * include/dlfcn.h (_dl_catch_error): Moved to ...
19984         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
19985         attribute_hidden.
19987         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
19988         (_itoa_word): Likewise.
19990         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
19991         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
19992         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
19993         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
19994         (_dl_higher_prime_number): Likewise.
19995         (_dl_debug_printf_c): Likewise.
19996         (_dl_signal_cerror): Likewise.
19997         (_dl_receive_error): Likewise.
19998         (_dl_reloc_bad_type): Likewise.
19999         (_dl_resolve_conflicts): Likewise.
20000         (_dl_check_all_versions): Likewise.
20001         (_dl_check_map_versions): Likewise.
20002         (_dl_sort_fini): Likewise.
20003         (_dl_debug_initialize): Likewise.
20004         (_dl_init_paths): Likewise.
20005         (_dl_show_auxv): Likewise.
20006         (_dl_next_ld_env_entry): Likewise.
20007         (_dl_important_hwcaps): Likewise.
20008         (_dl_load_cache_lookup): Likewise.
20009         (_dl_update_slotinfo): Likewise.
20010         (_dl_show_scope): Likewise.
20012         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20013         attribute_hidden.
20014         (_wordcopy_fwd_dest_aligned): Likewise.
20015         (_wordcopy_bwd_aligned): Likewise.
20016         (_wordcopy_bwd_dest_aligned): Likewise.
20018         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20019         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20020         Likewise.
20021         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20022         Likewise.
20023         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20025 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20028         GCC 5 requirement.
20030 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20032         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20033         test.
20034         * sysdeps/i386/configure: Regenerated.
20035         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20036         code unconditional.
20038         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20039         test.
20040         (libc_cv_asm_popsection_directive): Likewise.
20041         * configure: Regenerated.
20042         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20043         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20044         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20045         (__make_section_unallocated): Make definition unconditional.
20046         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20047         Remove conditional definition.
20048         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20049         (__make_section_unallocated): Likewise.
20051         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20052         * configure: Regenerated.
20053         * config.make.in (static-libgcc): Remove variable.
20054         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20055         $(static-libgcc).
20056         (build-module-helper): Likewise.
20058         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20059         * configure: Regenerated.
20061 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20063         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20064         (struct char_buffer): New type.
20065         (char_buffer_start, char_buffer_size, char_buffer_error)
20066         (char_buffer_rewind, char_buffer_add): New functions.
20067         (ADDW): Remove macro, replaced by the char_buffer_add function.
20068         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20069         of extend_alloca.  Make control flow more explicit.
20071 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20073         [BZ #19137]
20074         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20075         Add -fomit-frame-pointer.
20076         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20078 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20080         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20081         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20083         only if !__GNUC_PREREQ (5,0).
20084         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20085         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20086         (INTERNAL_SYSCALL_NCS): Likewise.
20087         (LOADREGS_0): New macro for GCC 5.
20088         (ASMARGS_0): Likewise.
20089         (LOADREGS_1): Likewise.
20090         (ASMARGS_1): Likewise.
20091         (LOADREGS_2): Likewise.
20092         (ASMARGS_2): Likewise.
20093         (LOADREGS_3): Likewise.
20094         (ASMARGS_3): Likewise.
20095         (LOADREGS_4): Likewise.
20096         (ASMARGS_4): Likewise.
20097         (LOADREGS_5): Likewise.
20098         (ASMARGS_5): Likewise.
20099         (LOADREGS_6): Likewise.
20100         (ASMARGS_6): Likewise.
20102 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20104         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20105         -fomit-frame-pointer.
20106         (CFLAGS-mmap64.c): Likewise.
20107         (CFLAGS-semtimedop.c): Likewise.
20108         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20109         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20110         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20111         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20113 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20115         [BZ #18928]
20116         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20117         _dl_pointer_guard member.
20118         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20119         initializer.
20120         (security_init): Always set up pointer guard.
20121         (process_envvars): Do not process LD_POINTER_GUARD.
20123 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20125         [BZ #19134]
20126         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20127         (.LC2): Likewise.
20128         (.LC3): Likewise.
20129         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20131 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20133         [BZ #19129]
20134         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20135         r0 and r1.
20137 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20139         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20141 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20143         * include/stap-probe.h: Fix macro definition formatting.
20145 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20147         [BZ #19074]
20148         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20149         load and store num_ifs.
20151 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20153         [BZ #18822]
20154         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20155         (__sched_getaffinity_new): Add libc_hidden_proto and
20156         libc_hidden_def.
20158 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20160         [BZ #19007]
20161         * scripts/localplt.awk: Also allow GOT references.
20162         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20163         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20164         with "+ REL R_386_GLOB_DAT".
20165         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20166         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20168 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20170         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20171         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20173         Likewise.
20174         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20175         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20176         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20177         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20178         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20179         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20180         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20181         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20182         Likewise.
20183         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20185 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20187         [BZ #19125]
20188         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20189         <math_private.h> and <stdint.h>.
20190         (__llround): Avoid conversions to and from long long int, and
20191         subtractions, where those might raise spurious exceptions.
20192         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20193         <math_private.h> and <stdint.h>.
20194         (__llroundf): Avoid conversions to and from long long int, and
20195         subtractions, where those might raise spurious exceptions.
20197 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20199         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20200         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20201         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20202         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20203         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20204         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20205         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20206         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20207         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20208         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20209         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20210         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20211         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20215         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20216         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20217         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20218         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20219         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20220         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20221         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20222         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20223         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20224         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20225         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20226         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20227         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20228         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20229         (__xstat64_conv): Likewise.
20230         (__xstat32_conv): Likewise.
20232 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20234         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20235         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20236         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20237         <sysdeps/unix/sysv/linux/sysdep.h>.
20238         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20239         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20240         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20242         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20243         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20244         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20245         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20246         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20251         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20252         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20254         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20255         (sysdep-dl-routines): Add sysdep.
20256         [$(subdir) == nptl] (libpthread-routines): Likewise.
20257         [$(subdir) == rt] (librt-routines): Likewise.
20258         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20259         PIC when branching to SYSCALL_ERROR_LABEL.
20260         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20262         <sysdeps/unix/sysv/linux/sysdep.h>.
20263         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20264         (SYSCALL_ERROR_ERRNO): Removed.
20265         (SYSCALL_ERROR_HANDLER): Changed to empty.
20266         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20267         (__syscall_error): New prototype.
20268         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20269         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20271 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20273         [BZ #19124]
20274         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20275         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20276         _dl_runtime_resolve_avx.
20277         (_dl_runtime_profile_avx512): Make it a hidden alias of
20278         _dl_runtime_profile_avx.
20280 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20282         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20283         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20284         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20285         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20287         [BZ #16422]
20288         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20289         New configure test.
20290         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20291         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20292         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20293         <math_private.h> and <stdint.h>.
20294         (__llrint): Avoid conversions to long long int where those might
20295         raise spurious exceptions.
20296         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20297         <math_private.h> and <stdint.h>.
20298         (__llrintf): Avoid conversions to long long int where those might
20299         raise spurious exceptions.
20301 2015-10-12  Andreas Schwab  <schwab@suse.de>
20303         [BZ #18969]
20304         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20305         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20306         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20307         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20308         $(gen-locales).
20309         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20310         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20311         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20312         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20313         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20314         $(gen-locales).
20315         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20316         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20317         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20318         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20319         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20320         ($(objpfx)tst-ftell-active-handler.out)
20321         ($(objpfx)tst-ftell-append.out)
20322         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20323         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20324         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20325         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20326         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20327         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20328         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20329         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20330         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20331         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20332         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20333         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20334         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20335         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20336         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20337         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20338         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20339         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20340         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
20341         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20342         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20343         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20344         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20345         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
20346         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20347         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20348         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20349         $(gen-locales).
20350         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
20351         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20352         $(gen-locales).
20353         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
20354         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20355         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20356         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20357         $(gen-locales).
20358         * libio/tst_wprintf2.c (main): Use explicit locale.
20359         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
20361 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20363         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
20364         __msg_sig_post.
20365         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
20367 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20369         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20370         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20372         * sysdeps/arm/libm-test-ulps: Regenerated.
20374         [BZ #15470]
20375         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
20377         [BZ #16399]
20378         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
20379         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
20380         and <fix-fp-int-convert-overflow.h>.
20381         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20382         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20383         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
20384         and <fix-fp-int-convert-overflow.h>.
20385         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
20386         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20387         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
20388         <fix-fp-int-convert-overflow.h>.
20389         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20390         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20391         * sysdeps/ieee754/dbl-64/s_lround.c: Include
20392         <fix-fp-int-convert-overflow.h>.
20393         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
20394         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20395         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
20396         and <fix-fp-int-convert-overflow.h>.
20397         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20398         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20399         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
20400         <limits.h> and <fix-fp-int-convert-overflow.h>.
20401         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20402         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20403         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
20404         and <fix-fp-int-convert-overflow.h>.
20405         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20406         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20407         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
20408         and <fix-fp-int-convert-overflow.h>.
20409         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20410         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20411         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
20413 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
20415         [BZ #18589]
20416         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
20417         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
20418         $(gen-locales).
20420 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20421             Phil Blundell <pb@pbcl.net>
20423         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
20424         * nptl/tst-cancel26.c: New file.
20425         * nptl/tst-cancel27.c: Likewise.
20427 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
20429         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
20430         __ILP32__ isn't defined.
20431         (lrint): Likewise.
20432         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
20433         (lrintf): Likewise.
20434         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
20435         (lrintl): Likewise.
20436         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
20437         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
20438         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
20440 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20443         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20445         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
20446         file.
20447         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
20448         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20450 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20452         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
20453         configure test.
20454         * sysdeps/i386/configure: Regenerated.
20455         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
20456         configure test.
20457         * sysdeps/x86_64/configure: Regenerated.
20458         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
20459         Make code unconditional.
20461         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
20462         test.
20463         * sysdeps/i386/configure: Regenerated.
20464         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
20465         test.
20466         * sysdeps/x86_64/configure: Regenerated.
20467         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
20468         Make code unconditional.
20469         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20470         Likewise.
20471         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
20472         Likewise.
20473         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20474         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
20475         code unconditional.
20476         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20477         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
20478         code unconditional.
20479         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20480         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
20481         code unconditional.
20482         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
20483         code unconditional.
20484         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20485         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
20486         code unconditional.
20487         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20488         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
20489         code unconditional.
20490         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20491         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
20492         code unconditional.
20493         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20494         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
20495         code unconditional.
20496         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20497         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
20499         [BZ #19095]
20500         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
20501         mantissa to long int before shifting left.
20503 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20505         [BZ #19094]
20506         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
20507         <limits.h>.
20508         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20509         when result overflows but exception would not result from cast.
20510         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
20511         <limits.h>.
20512         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20513         when result overflows but exception would not result from cast.
20514         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
20515         <limits.h>.
20516         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20517         when result overflows but exception would not result from cast.
20518         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
20519         <limits.h>.
20520         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20521         when result overflows but exception would not result from cast.
20522         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
20523         <limits.h>.
20524         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20525         when result overflows but exception would not result from cast.
20526         * math/libm-test.inc (lrint_test_data): Add more tests.
20527         (llrint_test_data): Likewise.
20529 2015-10-08  Roland McGrath  <roland@hack.frob.com>
20531         [BZ #18872]
20532         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
20533         Move out from under [$(run-built-tests) = yes] conditional.
20534         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
20535         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
20537 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
20539         [BZ #18589]
20540         * string/Makefile (tests): Add bug-strcoll2.
20541         (LOCALES): Add cs_CZ.UTF-8.
20542         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
20544         [BZ #18589]
20545         * string/bug-strcoll2.c: New file.
20546         * locale/categories.def: Revert commit
20547         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
20548         * locale/langinfo.h: Likewise.
20549         * locale/localeinfo.h: Likewise.
20550         * locale/C-collate.c: Likewise.
20551         * locale/programs/ld-collate.c (collate_output): Likewise.
20552         * string/strcoll_l.c (STRDIFF): Likewise.
20553         (STRCOLL): Likewise.
20554         * wcsmbs/wcscoll_l.c: Likewise.
20556 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20558         * math/libm-test.inc (lround_test_data): Do not expect the absence
20559         of "inexact" for some tests with non-integer arguments.
20560         (llround_test_data): Likewise.
20562         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
20563         test.
20564         (libc_cv_cc_sse2avx): Likewise.
20565         * sysdeps/i386/configure: Regenerated.
20566         * sysdeps/i386/i686/multiarch/Makefile
20567         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
20568         [$(subdir) = math].
20569         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
20570         code unconditional.
20571         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20572         Likewise.
20573         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
20574         Likewise.
20575         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20576         Likewise.
20577         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
20578         test.
20579         (libc_cv_cc_sse2avx): Likewise.
20580         * sysdeps/x86_64/configure: Regenerated.
20581         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
20582         unconditional.
20583         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
20584         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
20585         unconditional.
20586         (_dl_runtime_profile)
20587         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
20588         conditional code.
20589         * sysdeps/x86_64/fpu/multiarch/Makefile
20590         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
20591         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20592         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20593         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20595         * sysdeps/x86_64/fpu/multiarch/e_log.c
20596         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20597         * sysdeps/x86_64/fpu/multiarch/s_atan.c
20598         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20599         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20600         Likewise.
20601         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20602         Likewise.
20603         * sysdeps/x86_64/fpu/multiarch/s_sin.c
20604         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20605         * sysdeps/x86_64/fpu/multiarch/s_tan.c
20606         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20607         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
20608         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
20609         (HAVE_SSE2AVX_SUPPORT): Likewise.
20611 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
20613         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
20614         instead of #pragma optimize.
20616 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
20618         [BZ #17195]
20619         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
20620         as is similarly done in systrim and _int_free already.
20622 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20624         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
20626 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20628         [BZ #19088]
20629         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
20630         <limits.h>.
20631         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20632         overflows but exception would not result from cast.
20633         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
20634         and <limits.h>.
20635         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20636         overflows but exception would not result from cast.
20637         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
20638         <limits.h>.
20639         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20640         overflows but exception would not result from cast.
20641         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
20642         <limits.h>.
20643         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20644         overflows but exception would not result from cast.
20645         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
20646         <limits.h>.
20647         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20648         overflows but exception would not result from cast.
20649         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
20650         <limits.h>.
20651         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20652         overflows but exception would not result from cast.
20653         * math/libm-test.inc (lround_test_data): Add more tests.
20654         (llround_test_data): Likewise.
20656 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
20658         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
20659         (CFLAGS-ialloc.c): Ditto.
20660         (CFLAGS-scheck.c): Ditto.
20662 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
20664         [BZ #19086]
20665         * manual/filesys.texi (Storage Allocation): Fix argument order for
20666         posix_fallocate64.
20668 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20670         [BZ #19085]
20671         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
20672         exponent below 48 inside case for non-overflowing exponent.
20673         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
20675 2015-10-07  Florian Weimer  <fweimer@redhat.com>
20677         * iconvdata/cp737.h (from_idx): Add const.
20678         * iconvdata/cp775.h (from_idx): Likewise.
20680 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20682         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
20683         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
20684         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
20686         [BZ #19079]
20687         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
20688         file, conditioned on [!_LP64].
20689         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
20690         [!_LP64] (__lround): Do not define as function or alias.
20691         [!_LP64] (lround): Likewise.
20692         [!_LP64] (__lroundl): Likewise.
20693         [!_LP64] (lroundl): Likewise.
20694         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
20695         macro.
20696         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20697         Likewise.
20699 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
20701         * math/libm-test.inc (lrint_test_data): Add more tests.
20702         (llrint_test_data): Likewise.
20703         (lround_test_data): Likewise.
20704         (llround_test_data): Likewise.
20706         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
20707         (llrint_test_data): Add tests used for lrint.
20709         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
20710         test.
20711         * sysdeps/i386/configure: Regenerated.
20712         * sysdeps/i386/i686/multiarch/Makefile
20713         [$(config-cflags-sse4) = yes]: Make code unconditional.
20714         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20715         Likewise.
20716         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
20717         Likewise.
20718         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
20719         test.
20720         * sysdeps/x86_64/configure: Regenerated.
20721         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
20722         Make code unconditional.
20723         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20724         Likewise.
20725         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
20726         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
20728         * scripts/rpm2dynsym.sh: Remove file.
20730 2015-10-06  Florian Weimer  <fweimer@redhat.com>
20732         * configure.ac (libc_cv_cxx_thread_local): Define.
20733         * configure: Regenerate.
20734         * config.make.in (have-cxx-thread_local): Define.
20735         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
20736         (LDLIBS-tst-thread_local1): Define.
20737         (tests): Add tst-thread_local1.
20738         [have-cxx-thread_local != yes] (tests-unsupported): Add
20739         tst-thread_local1.
20740         * nptl/tst-thread_local1.cc: New file.
20742 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
20744         [BZ #19078]
20745         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
20746         (u_thres): Likewise.
20747         (__expl): Determine whether to call __kernel_standard_l based on
20748         value of result, not argument.
20750         * math/libm-test.inc (scalb_test_data): Add more expectations for
20751         the "inexact" exception.
20753         [BZ #19077]
20754         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
20755         0.0L for argument 1.0L.
20757         [BZ #19076]
20758         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
20759         constant 0.0L when computing infinite result.
20761 2015-10-06  Florian Weimer  <fweimer@redhat.com>
20763         [BZ #10432]
20764         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
20765         malloc_usable_size.
20767 2015-10-06  Florian Weimer  <fweimer@redhat.com>
20769         [BZ #19018]
20770         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20771         Mangle function pointer before storing it.
20772         (__call_tls_dtors): Demangle function pointer before calling it.
20774 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20776         [BZ #19012]
20777         * iconv/gconv_db.c (gen_steps): Check for additional errors.
20778         Clean up on failure.
20780 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
20782         [BZ #19071]
20783         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
20784         long int variable to store possibly incremented high part of
20785         mantissa.
20786         * math/libm-test.inc (lround_test_data): Add tests used for
20787         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
20788         for tests requiring 64-bit long.  Do not condition tests on
20789         [TEST_FLOAT] unnecessarily.
20790         (llround_test_data): Add tests used for lround.  Add another
20791         expectation for the "inexact" exception.  Do not condition tests
20792         on [TEST_FLOAT] unnecessarily.
20794         [BZ #887]
20795         [BZ #19049]
20796         [BZ #19050]
20797         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
20798         * sysdeps/ieee754/dbl-64/e_log10.c: Include
20799         <fix-int-fp-convert-zero.h>.
20800         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20801         * sysdeps/ieee754/dbl-64/e_log2.c: Include
20802         <fix-int-fp-convert-zero.h>.
20803         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20804         * sysdeps/ieee754/dbl-64/s_erf.c: Include
20805         <fix-int-fp-convert-zero.h>.
20806         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20807         * sysdeps/ieee754/dbl-64/s_logb.c: Include
20808         <fix-int-fp-convert-zero.h>.
20809         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20810         * sysdeps/ieee754/flt-32/e_log10f.c: Include
20811         <fix-int-fp-convert-zero.h>.
20812         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20813         * sysdeps/ieee754/flt-32/e_log2f.c: Include
20814         <fix-int-fp-convert-zero.h>.
20815         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20816         * sysdeps/ieee754/flt-32/s_erff.c: Include
20817         <fix-int-fp-convert-zero.h>.
20818         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20819         * sysdeps/ieee754/flt-32/s_logbf.c: Include
20820         <fix-int-fp-convert-zero.h>.
20821         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
20823         <fix-int-fp-convert-zero.h>.
20824         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
20826         <fix-int-fp-convert-zero.h>.
20827         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20828         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
20829         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
20830         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
20831         file.
20832         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
20834 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20836         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20838 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
20840         [BZ #19059]
20841         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
20842         overflowing computation.
20843         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20844         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20846         Likewise.
20847         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20848         Likewise.
20849         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20850         Likewise.
20851         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20852         Likewise.
20853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20855         Likewise.
20856         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20857         Likewise.
20858         * math/libm-test.inc (nexttoward_test_data): Add more tests.
20860         * nss/rewrite_field.c (__nss_rewrite_field): Use
20861         internal_function.
20862         * nss/valid_field.c (__nss_valid_field): Likewise.
20863         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
20865 2015-10-02  Florian Weimer  <fweimer@redhat.com>
20867         [BZ #18724]
20868         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
20869         (__nss_invalid_field_characters, __nss_valid_field)
20870         (__nss_valid_list_field, __nss_rewrite_field): Declare.
20871         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
20872         tst-field.c: New file.
20873         * nss/Makefile (routines): Add valid_field, rewrite_field.
20874         (tests-static): Define unconditionally.
20875         (tests): Include tests-static.
20876         [build-static-nss] (tests-static): Use append.
20877         [build-static-nss] (tests): Remove modification.
20878         * nss/getent.c (print_group): Call putgrent.  Report error.
20879         (print_gshadow): Call putsgent.  Report error.
20880         (print_passwd): Call putpwent.  Report error.
20881         (print_shadow): Call putspent.  Report error.
20882         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
20883         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20884         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
20885         name, password, directory, shell fields for valid syntax.  Rewrite
20886         GECOS field to match syntax.
20887         * pwd/Makefile (tests): Add tst-putpwent.
20888         * pwd/tst-putpwent.c: New file.
20889         * grp/putgrent.c (putgrent): Convert to ISO function definition.
20890         Check grName, grpasswd, gr_mem fields for valid syntax.
20891         Change loop variable i to size_t.
20892         * grp/Makefile (tests): Add tst-putgrent.
20893         * grp/tst-putgrent.c: New file.
20894         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
20895         valid syntax.
20896         * shadow/Makefile (tests): Add tst-putspent.
20897         * shadow/tst-putspent.c: New file.
20898         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
20899         sg_mem fields for valid syntax.
20900         * gshadow/Makefile (tests): Add tst-putsgent.
20901         * gshadow/tst-putsgent.c: New file.
20903 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20905         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
20906         assembly instructions.
20908 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20910         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
20911         prefix from operands.
20913 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
20915         [BZ #16347]
20916         [BZ #19046]
20917         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
20918         <libc-internal.h>.
20919         (MAXLGM): Do not use diagnostic control macros.
20920         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
20921         threshold for ldbl-128ibm.
20922         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
20923         instead of multiplying by log then subtracting.
20924         * math/auto-libm-test-in: Add more tests of lgamma.
20925         * math/auto-libm-test-out: Regenerated.
20927         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
20928         (TYPE_HEX_DIG): Likewise.
20929         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
20930         precisions when printing floating-point numbers.
20931         (check_float_internal): Likewise.
20933 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
20935         [BZ #16620]
20936         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
20937         of log (10) rounded downward to 48 bits.
20938         (log10_low): Use corresponding low part of log (10).
20940         [BZ #19032]
20941         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
20942         compute result as (x - x) / (x - x) not as 0 / 0.
20943         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20944         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
20946         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20947         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
20948         and expm1.
20949         * math/auto-libm-test-out: Regenerated.
20950         * math/libm-test.inc (acos_test_data): Add more tests.
20951         (asin_test_data): Likewise.
20952         (asinh_test_data): Likewise.
20953         (atan_test_data): Likewise.
20954         (atanh_test_data): Likewise.
20955         (atan2_test_data): Likewise.
20956         (cbrt_test_data): Likewise.
20957         (ceil_test_data): Likewise.
20958         (copysign_test_data): Likewise.
20959         (cos_test_data): Likewise.
20960         (cosh_test_data): Likewise.
20961         (erf_test_data): Likewise.
20962         (erfc_test_data): Likewise.
20963         (exp_test_data): Likewise.
20964         (exp10_test_data): Likewise.
20965         (exp2_test_data): Likewise.
20966         (expm1_test_data): Likewise.
20967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20969 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
20971         [BZ #19006]
20972         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
20973         to ...
20974         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
20975         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
20976         to ...
20977         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
20978         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
20979         to ...
20980         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
20981         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
20982         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
20983         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
20984         to ...
20985         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
20986         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20987         Moved to ...
20988         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
20989         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20990         Moved to ...
20991         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
20992         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
20993         to ...
20994         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
20995         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20996         Moved to ...
20997         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
20998         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
20999         to ...
21000         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21001         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21002         Removed.
21003         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21004         Likewise.
21005         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21006         Likewise.
21007         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21008         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21009         Likewise.
21010         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21011         Likewise.
21012         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21013         Likewise.
21014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21015         Likewise.
21016         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21017         Likewise.
21018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21019         Likewise.
21020         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21021         Likewise.
21022         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21023         Likewise.
21024         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21025         Likewise.
21026         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21027         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21028         Likewise.
21029         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21030         Likewise.
21031         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21032         Likewise.
21033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21034         Likewise.
21035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21036         Likewise.
21037         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21038         Replace ../i486/pthread_cond_timedwait.S with
21039         ../pthread_cond_timedwait.S.
21041 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21043         * math/libm-test.inc (acos_test_data): Refine expectations for
21044         errno and "inexact" exceptions.
21045         (acosh_test_data): Likewise.
21046         (asin_test_data): Likewise.
21047         (asinh_test_data): Likewise.
21048         (atan_test_data): Likewise.
21049         (atanh_test_data): Likewise.
21050         (atan2_test_data): Likewise.
21051         (cbrt_test_data): Likewise.
21052         (ceil_test_data): Likewise.
21053         (copysign_test_data): Likewise.
21054         (cosh_test_data): Likewise.
21055         (erf_test_data): Likewise.
21056         (erfc_test_data): Likewise.
21057         (exp_test_data): Likewise.
21058         (exp10_test_data): Likewise.
21059         (exp2_test_data): Likewise.
21060         (expm1_test_data): Likewise.
21061         (fabs_test_data): Likewise.
21062         (floor_test_data): Likewise.
21063         (fma_test_data): Likewise.
21064         (fmax_test_data): Likewise.
21065         (fmin_test_data): Likewise.
21066         (fmod_test_data): Likewise.
21067         (fpclassify_test_data): Likewise.
21068         (frexp_test_data): Likewise.
21069         (hypot_test_data): Likewise.
21070         (ilogb_test_data): Likewise.
21071         (isgreater_test_data): Likewise.
21072         (isgreaterequal_test_data): Likewise.
21073         (isinf_test_data): Likewise.
21074         (isless_test_data): Likewise.
21075         (islessequal_test_data): Likewise.
21076         (islessgreater_test_data): Likewise.
21077         (isnan_test_data): Likewise.
21078         (isnormal_test_data): Likewise.
21079         (issignaling_test_data): Likewise.
21080         (isunordered_test_data): Likewise.
21081         (j0_test_data): Likewise.
21082         (j1_test_data): Likewise.
21083         (jn_test_data): Likewise.
21084         (lgamma_test_data): Likewise.
21085         (lrint_test_data): Likewise.
21086         (llrint_test_data): Likewise.
21087         (log_test_data): Likewise.
21088         (log10_test_data): Likewise.
21089         (log1p_test_data): Likewise.
21090         (log2_test_data): Likewise.
21091         (logb_test_data): Likewise.
21092         (lround_test_data): Likewise.
21093         (llround_test_data): Likewise.
21094         (modf_test_data): Likewise.
21095         (nearbyint_test_data): Likewise.
21096         (nextafter_test_data): Likewise.
21097         (nexttoward_test_data): Likewise.
21098         (pow_test_data): Likewise.
21099         (remainder_test_data): Likewise.
21100         (remquo_test_data): Likewise.
21101         (rint_test_data): Likewise.
21102         (round_test_data): Likewise.
21103         (signbit_test_data): Likewise.
21104         (sinh_test_data): Likewise.
21105         (sqrt_test_data): Likewise.
21106         (tanh_test_data): Likewise.
21107         (tgamma_test_data): Likewise.
21108         (trunc_test_data): Likewise.
21109         (y0_test_data): Likewise.
21110         (y1_test_data): Likewise.
21111         (yn_test_data): Likewise.
21112         (significand_test_data): Likewise.
21114 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21116         * manual/filesys.texi (Storage Allocation): Document that
21117         posix_fallocate emulation fails when fd is open with O_WRONLY.
21119 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21121         [BZ #19016]
21122         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21123         allow more cases with X^2 + Y^2 >= 0.5.
21124         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21125         normal element in sum instead of special-casing based on values of
21126         arguments.
21127         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21128         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21129         -1 as normal element in sum instead of special-casing based on
21130         values of arguments.
21131         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21132         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21133         (__x2y2m1): Update comment.
21134         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21135         as normal element in sum instead of special-casing based on values
21136         of arguments.
21137         * math/s_clog.c (__clog): Handle more cases using log1p without
21138         hypot.
21139         * math/s_clog10.c (__clog10): Likewise.
21140         * math/s_clog10f.c (__clog10f): Likewise.
21141         * math/s_clog10l.c (__clog10l): Likewise.
21142         * math/s_clogf.c (__clogf): Likewise.
21143         * math/s_clogl.c (__clogl): Likewise.
21144         * math/auto-libm-test-in: Add more tests of clog and clog10.
21145         * math/auto-libm-test-out: Regenerated.
21146         * sysdeps/i386/fpu/libm-test-ulps: Update.
21147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21149 2015-09-28  Martin Sebor  <msebor@redhat.com>
21151         [BZ #18969]
21152         * string/Makefile (LOCALES): Define.
21153         (gen-locales.mk): Include.
21154         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21155         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21156         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21157         on setlocale failure.
21159 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21161         [BZ #18985]
21162         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21163         (__strftime_internal): Likewise.
21164         * time/tst-strftime.c (do_bz18985): New test.
21165         (do_test): Call it.
21167 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21169         [BZ #18956]
21170         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21171         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21172         extracting high part.
21173         * math/auto-libm-test-in: Add another test of pow.
21174         * math/auto-libm-test-out: Regenerated.
21175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21177 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21179         [BZ #18825]
21180         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21181         New macro.
21182         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21183         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21184         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21185         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21186         DBL_NARROW_EVAL, reloading the PIC register as needed.
21187         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21188         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21189         FLT_NARROW_EVAL.  Use separate return path for case when first
21190         argument is NaN.
21191         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21192         DEFINE_LDBL_MIN.
21193         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21194         PIC register.
21195         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21196         math_check_force_underflow_nonneg.
21197         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21198         underflow for subnormal result.
21199         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21201         math_check_force_underflow_nonneg.
21202         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21203         math_check_force_underflow.
21204         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21205         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21206         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21207         DEFINE_LDBL_MIN.
21208         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21209         * math/auto-libm-test-in: Add more tests of pow.
21210         * math/auto-libm-test-out: Regenerated.
21212 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21214         * nss/bug17079.c (init_test_items): Add diagnostic for
21215         inconsistent entries.
21216         (test_buffer_size): Skip inconsistent entries.
21218 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21220         [BZ #13304]
21221         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21222         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21223         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21225         [BZ #13304]
21226         * sysdeps/microblaze/s_fma.c: New file.
21227         * sysdeps/microblaze/s_fmaf.c: Likewise.
21228         * sysdeps/microblaze/sfp-machine.h: Likewise.
21230 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21232         [BZ #17250]
21233         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21234         member.
21236 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21238         [BZ #18803]
21239         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21240         (MO): New macro.
21241         (__ieee754_hypot) [PIC]: Load PIC register.
21242         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21243         DBL_NARROW_EVAL.
21244         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21245         math_check_force_underflow_nonneg in case where result might be
21246         tiny.
21247         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21248         Likewise.
21249         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21250         Likewise.
21251         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21252         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21253         * math/auto-libm-test-in: Add more tests of hypot.
21254         * math/auto-libm-test-out: Regenerated.
21256 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21258         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21260 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21262         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21263         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21264         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21265         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21266         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21267         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21268         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21270         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21271         LOAD_PIC_REG.
21273         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21274         (FLT_CHECK_FORCE_UFLOW): Likewise.
21275         (DBL_CHECK_FORCE_UFLOW): Likewise.
21276         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21277         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21278         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21279         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21280         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21281         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21282         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21283         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21284         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21285         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21286         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21287         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21288         (flt_min): Replace with use of DEFINE_FLT_MIN.
21289         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21290         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21291         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21292         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21293         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21294         (flt_min): Replace with use of DEFINE_FLT_MIN.
21295         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21296         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21297         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21298         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21299         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21300         (flt_min): Replace with use of DEFINE_FLT_MIN.
21301         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21302         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21303         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21304         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21305         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21306         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21307         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21308         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21309         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21310         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21311         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21312         (flt_min): Replace with use of DEFINE_FLT_MIN.
21313         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21314         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21315         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21316         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21317         main computation.
21318         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21319         (flt_min): Replace with use of DEFINE_FLT_MIN.
21320         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21321         main computation.
21322         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21323         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21324         (MO): New macro.
21325         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21326         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21327         (flt_min): Replace with use of DEFINE_FLT_MIN.
21328         (MO): New macro.
21329         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21330         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21331         (__log1pl): Use MO.
21333         [BZ #19003]
21334         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21335         $(config-cflags-nofma).
21337 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21339         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21341 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
21343         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21344         (TWO127): Likewise.
21346         * sysdeps/generic/math_private.h (fabs_tg): New macro.
21347         (min_of_type): Likewise.
21348         (math_check_force_underflow): Likewise.
21349         (math_check_force_underflow_nonneg): Likewise.
21350         (math_check_force_underflow_complex): Likewise.
21351         * math/e_exp2l.c (__ieee754_exp2l): Use
21352         math_check_force_underflow_nonneg.
21353         * math/k_casinh.c (__kernel_casinh): Likewise.
21354         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21355         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21356         * math/s_catan.c (__catan): Use
21357         math_check_force_underflow_complex.
21358         * math/s_catanf.c (__catanf): Likewise.
21359         * math/s_catanh.c (__catanh): Likewise.
21360         * math/s_catanhf.c (__catanhf): Likewise.
21361         * math/s_catanhl.c (__catanhl): Likewise.
21362         * math/s_catanl.c (__catanl): Likewise.
21363         * math/s_ccosh.c (__ccosh): Likewise.
21364         * math/s_ccoshf.c (__ccoshf): Likewise.
21365         * math/s_ccoshl.c (__ccoshl): Likewise.
21366         * math/s_cexp.c (__cexp): Likewise.
21367         * math/s_cexpf.c (__cexpf): Likewise.
21368         * math/s_cexpl.c (__cexpl): Likewise.
21369         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
21370         * math/s_clog10.c (__clog10): Likewise.
21371         * math/s_clog10f.c (__clog10f): Likewise.
21372         * math/s_clog10l.c (__clog10l): Likewise.
21373         * math/s_clogf.c (__clogf): Likewise.
21374         * math/s_clogl.c (__clogl): Likewise.
21375         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
21376         * math/s_csinf.c (__csinf): Likewise.
21377         * math/s_csinh.c (__csinh): Likewise.
21378         * math/s_csinhf.c (__csinhf): Likewise.
21379         * math/s_csinhl.c (__csinhl): Likewise.
21380         * math/s_csinl.c (__csinl): Likewise.
21381         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
21382         * math/s_csqrtf.c (__csqrtf): Likewise.
21383         * math/s_csqrtl.c (__csqrtl): Likewise.
21384         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
21385         * math/s_ctanf.c (__ctanf): Likewise.
21386         * math/s_ctanh.c (__ctanh): Likewise.
21387         * math/s_ctanhf.c (__ctanhf): Likewise.
21388         * math/s_ctanhl.c (__ctanhl): Likewise.
21389         * math/s_ctanl.c (__ctanl): Likewise.
21390         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
21391         instead of volatile.
21392         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
21393         math_check_force_underflow.
21394         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21395         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
21396         volatile when forcing underflow.
21397         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21398         math_check_force_underflow_nonneg.
21399         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
21400         Likewise.
21401         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
21402         math_check_force_underflow.
21403         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21404         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21405         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21406         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
21407         math_check_force_underflow_nonneg.
21408         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
21409         math_check_force_underflow.
21410         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
21411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
21412         instead of volatile.
21413         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
21414         math_check_force_underflow.
21415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21416         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21417         math_check_force_underflow_nonneg.
21418         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
21419         math_check_force_underflow.
21420         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
21421         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21422         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
21423         math_check_force_underflow_nonneg.
21424         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21425         Likewise.
21426         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
21427         math_check_force_underflow.
21428         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21429         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21430         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
21431         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
21432         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
21433         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
21434         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
21435         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
21436         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21437         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
21438         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
21439         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
21440         Likewise.
21441         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
21442         math_check_force_underflow_nonneg.
21443         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21444         Likewise.
21445         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
21446         math_check_force_underflow.
21447         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21448         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
21449         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21450         Likewise.
21451         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
21452         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
21453         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
21454         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
21455         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
21456         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
21457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
21458         instead of volatile.
21459         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
21460         math_check_force_underflow.
21461         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
21462         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
21463         math_check_force_underflow.
21464         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
21465         Likewise.
21466         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21467         Use math_check_force_underflow_nonneg.
21468         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
21469         math_check_force_underflow.
21470         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21471         Likewise.
21472         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21473         Likewise.
21474         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21475         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21476         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21477         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
21479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21480         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
21481         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
21482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
21483         math_check_force_underflow_nonneg.
21484         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
21485         math_check_force_underflow.
21486         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21487         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
21488         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
21489         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
21490         math_check_force_underflow_nonneg.
21491         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
21492         math_check_force_underflow.
21493         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
21494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
21495         instead of volatile.
21496         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
21497         math_check_force_underflow.
21499         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
21500         * stdlib/strtod_l.c: Include <math_private.h>.
21501         (overflow_value): Use math_narrow_eval.
21502         (underflow_value): Likewise.
21503         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21504         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21505         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
21506         (__ieee754_gamma_r): Likewise.
21507         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
21508         Likewise.
21509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
21510         Likewise.
21511         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
21512         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
21513         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
21514         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
21515         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
21516         (__ieee754_gammaf_r): Likewise.
21517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21518         Likewise.
21519         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
21520         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
21521         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
21522         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
21523         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
21524         volatile.
21525         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
21526         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
21527         math_narrow_eval.
21528         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21529         Likewise.
21530         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21531         Likewise.
21532         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
21533         Likewise.
21534         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
21535         volatile.
21536         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
21537         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
21538         math_narrow_eval.
21539         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21540         Likewise.
21541         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21542         Likewise.
21544 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
21546         * nptl/Versions: Remove ignored symbols.
21548 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21550         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
21551         * nss/Makefile (tests): Update.
21553 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21555         * nss/bug18287.c: New file.
21556         * nss/Makefile (tests): Add bug18287.
21558 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21560         * mach/Versions (__mach_host_self_): Add symbol.
21562 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21564         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
21565         vm_page_size.
21567 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21569         Really fix sysdeps/i386/fpu/s_scalbn.S build
21571         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
21572         (libc: GLIBC_2_22): Remove unused version set.
21574 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21576         * config.make.in (enable-timezone-tools): New variable.
21577         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
21578         (enable_timezone_tools): Export to generated files.
21579         * configure: Regenerate.
21580         * INSTALL: Regenerate.
21581         * manual/install.texi (--disable-timezone-tools): Document new flag.
21582         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
21583         ifeq ($(enable-timezone-tools),yes) check.
21585 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21587         * timezone/Makefile: Revert previous change.
21589         [BZ #18980]
21590         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
21591         (DEFINE_DBL_MIN): Likewise.
21592         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21593         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21594         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21595         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21596         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
21597         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21598         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21599         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
21600         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
21601         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21602         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21603         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
21604         (flt_min): Replace with use of DEFINE_FLT_MIN.
21605         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21606         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
21607         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21608         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21609         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
21610         (flt_min): Replace with use of DEFINE_FLT_MIN.
21611         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21612         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
21613         (flt_min): Replace with use of DEFINE_FLT_MIN.
21614         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21615         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
21616         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
21617         (__ieee754_hypot): Use DBL_NARROW_EVAL.
21618         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
21619         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
21620         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
21621         (__ieee754_pow): Use DBL_NARROW_EVAL.
21622         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
21623         (__ieee754_powf): Use FLT_NARROW_EVAL.
21624         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
21625         (__ieee754_expf_sse2): Convert double-precision result to single
21626         precision.
21627         * sysdeps/i386/fpu/libm-test-ulps: Update.
21629 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21631         * timezone/Makefile: Ignore unused variable errors due to private.h
21632         (time_t_min) and (time_t_max).
21633         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
21634         Likewise.
21636 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #18981]
21639         * sysdeps/i386/fpu/i386-math-asm.h: New file.
21640         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
21641         (__ieee754_scalb): Use DBL_NARROW_EVAL.
21642         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
21643         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
21644         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
21645         (__scalbn): Use DBL_NARROW_EVAL.
21646         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
21647         (__scalbnf): Use FLT_NARROW_EVAL.
21649 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21651         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
21652         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
21653         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
21654         * stdio-common/printf_fp.c (___printf_fp):
21655         Use signbit to get the sign. Use isinf macro to allow inlining.
21656         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
21657         * stdio-common/printf_size.c (__printf_size): Likewise.
21659 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21661         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
21663 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21665         [BZ #18980]
21666         * sysdeps/generic/math_private.h: Include <float.h>.
21667         (math_narrow_eval): New macro.
21668         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
21669         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
21670         math_narrow_eval on overflowing return value.
21671         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
21672         Likewise.
21673         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21674         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
21675         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
21676         Likewise.
21677         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21679 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21681         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
21682         * math/Makefile: Remove isinf_ns.c.
21683         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
21684         * math/multc3.c (__multc3): Likewise.
21685         * math/s_casin.c (__casin): Likewise.
21686         * math/s_casinf.c (__casinf): Likewise.
21687         * math/s_casinl.c (__casinl): Likewise.
21688         * math/s_cproj.c (__cproj): Likewise.
21689         * math/s_cprojf.c (__cprojf): Likewise.
21690         * math/s_cprojl.c (__cprofl): Likewise.
21691         * math/s_ctan.c (__ctan): Likewise.
21692         * math/s_ctanf.c (__ctanf): Likewise.
21693         * math/s_ctanh.c (__ctanh): Likewise.
21694         * math/s_ctanhf.c (__ctanhf): Likewise.
21695         * math/s_ctanhl.c (__ctanhl): Likewise.
21696         * math/s_ctanl.c (__ctanl): Likewise.
21697         * math/w_fmod.c (__fmod): Likewise.
21698         * math/w_fmodf.c (__fmodf): Likewise.
21699         * math/w_fmodl.c (_fmodl): Likewise.
21700         * math/w_remainder.c (__remainder): Likewise.
21701         * math/w_remainderf.c (__remainderf): Likewise.
21702         * math/w_remainderl.c (__remainderl): Likewise.
21703         * math/w_scalb.c (__scalb): Likewise.
21704         * math/w_scalbf.c (__scalbf): Likewise.
21705         * math/w_scalbl.c (__scalbl): Likewise.
21706         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
21707         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
21708         with isinf.
21709         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
21710         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
21711         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
21712         __isinf_nsf with isinf.
21713         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
21714         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
21715         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
21716         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
21717         with isinf.
21718         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
21719         __isinf_nsl with isinf.
21720         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
21721         with isinf.
21722         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
21723         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
21724         __isinf_nsl with isinf.
21725         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
21726         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
21727         with isinf.
21729 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21731         * resolv/base64.c (rcsid): Remove unused static.
21732         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
21733         static.  (tqpi1): Likewise.
21734         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
21735         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
21736         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
21737         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
21738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
21739         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
21740         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
21741         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
21742         Likewise.
21744 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
21746         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
21747         <nptl/pthreadP.h>.
21748         (_longjmp_unwind): Use __libc_ptf_call.
21749         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
21751 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
21753         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
21754         * sysdeps/arm/__longjmp.S: Likewise.
21756 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21758         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
21759         Use __builtin_signbit.
21760         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
21761         Use __builtin_signbitf.
21762         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
21763         Use __builtin_signbitl.
21764         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21765         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
21767 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21769         [BZ #15367]
21770         [BZ #17441]
21772         * math/Makefile: Build test-snan.c with -fsignaling-nans.
21773         * math/math.h (fpclassify): Use __builtin_fpclassify when
21774         available.  (signbit): Use __builtin_signbit(f/l).
21775         (isfinite): Use__builtin_isfinite.  (isnormal): Use
21776         __builtin_isnormal.  (isnan): Use __builtin_isnan.
21777         (isinf): Use __builtin_isinf_sign.
21779 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21781         * benchtests/Makefile: Add bench-math-inlines, link with libm.
21782         * benchtests/bench-math-inlines.c: New benchmark.
21783         * benchtests/bench-util.h: New file.
21784         * benchtests/bench-util.c: New file.
21785         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
21787 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
21789         * elf/tst-dlmopen1.c: Define TEST_SO.
21790         (do_test): Use TEST_SO.
21792         * elf/dl-load.c: Include libc-internal.h.
21793         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
21795 2015-09-18  Vincent Bernat  <vincent@bernat.im>
21797         [BZ #17887]
21798         * time/strptime_l.c (__strptime_internal): Make %z accept
21799         [+-]HH:MM time zones.
21801 2015-09-18  Vincent Bernat  <vincent@bernat.im>
21803         [BZ #17886]
21804         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
21805         valid time zone.
21807 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
21809         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
21810         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
21811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21812         (__ASSUME_FDATASYNC): Delete.
21814 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21816         * conform/linknamespace.pl: Require weak undefined symbols to be
21817         in the standard namespace.
21818         (%strong_syms): Rename to %seen_syms.
21819         (%strong_seen): Rename to %seen_where.
21821 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
21823         [BZ #18970]
21824         * misc/error.c (error): Replace pthread_setcancelstate with
21825         __pthread_setcancelstate.
21826         (error_at_line): Likewise.
21827         * posix/wordexp.c (parse_comm): Likewise.
21828         * stdlib/fmtmsg.c (fmtmsg): Likewise.
21829         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
21830         (__pthread_setcancelstate): This.
21831         (pthread_setcancelstate): Add an alias.
21832         * nptl/nptl-init.c (pthread_functions): Replace
21833         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
21834         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
21835         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
21836         hidden_proto.
21837         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
21838         it with hidden_def.
21839         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
21840         (pthread_setcancelstate): Renamed to ...
21841         (__pthread_setcancelstate): This.
21842         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
21843         __libc_ptf_call with __pthread_setcancelstate.
21845 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21846             Andreas Schwab  <schwab@suse.de>
21848         [BZ #17118]
21849         * math/s_ctan.c (__ctan): Determine sign of zero real part of
21850         result when imaginary part of argument is infinite using sine and
21851         cosine.
21852         * math/s_ctanf.c (__ctanf): Likewise.
21853         * math/s_ctanl.c (__ctanl): Likewise.
21854         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
21855         of result when real part of argument is infinite using sine and
21856         cosine.
21857         * math/s_ctanhf.c (__ctanhf): Likewise.
21858         * math/s_ctanhl.c (__ctanhl): Likewise.
21859         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
21860         (ctanh_test_data): Add more tests of ctanh.
21862 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21864         [BZ #15384]
21865         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
21866         bit-mask as in subtraction.
21867         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
21868         Likewise.
21869         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
21870         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
21871         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
21873         [BZ #18951]
21874         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
21875         underflow exception for small results.
21876         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21877         Likewise.
21878         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21879         Likewise.
21880         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21881         Likewise.
21882         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21883         Likewise.
21884         * math/auto-libm-test-in: Add more tests of tgamma.
21885         * math/auto-libm-test-out: Regenerated.
21887 2015-09-17  Andreas Schwab  <schwab@suse.de>
21889         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
21891 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
21893         [BZ #18977]
21894         * math/bits/mathcalls.h
21895         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
21896         not declare.
21897         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
21898         Likewise.
21899         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
21900         Likewise.
21901         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
21902         Likewise.
21903         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
21904         Likewise.
21905         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
21906         Likewise.
21907         * conform/data/math.h-data
21908         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
21909         function.
21910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21911         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
21912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
21913         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
21914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
21915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
21916         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
21917         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
21918         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
21919         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
21920         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
21922         [BZ #6803]
21923         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
21924         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
21925         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
21926         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
21927         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
21928         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
21929         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
21930         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
21931         [NO_LONG_DOUBLE] (scalbnl): Likewise.
21932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
21933         Likewise.
21934         [NO_LONG_DOUBLE] (scalbnl): Likewise.
21935         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
21936         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
21937         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
21938         long_double_symbol calls.
21939         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
21940         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
21941         strong alias of __ldexpl.
21942         (scalbnl): Define using long_double_symbol.
21943         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
21944         Remove alias.
21945         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
21946         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
21947         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
21948         (scalbln_test_data): Add more errno expectations.
21950 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
21952         Cache the host port like we cache the task port.  This way we do not
21953         need to call the kernel just to get the port.  Furthermore, we no
21954         longer increase the reference count on every invocation of
21955         `mach_host_self'.
21957         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
21958         Protect declarations against the macro expansion.
21959         * mach/mach_init.c (__mach_host_self_): New variable.
21960         (mach_init): Initialize `__mach_host_self_'.
21961         * mach/mach_init.h (__mach_host_self_): New declaration.
21962         (__mach_host_self, mach_host_self): New macros.
21963         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
21964         Release reference.
21966 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
21968         [BZ #4404]
21969         * po/de.po: Update from Translation Project.
21971         [BZ #16415]
21972         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
21973         (__expm1l): Remove code to handle positive infinity and overflow.
21974         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
21975         variable.
21976         (__expm1l): Remove code to handle positive infinity and overflow.
21978 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
21979             Paul Pluzhnikov  <ppluzhnikov@google.com>
21981         [BZ #18872]
21982         * stdio-common/Makefile (tst-printf-bz18872): New test.
21983         (tst-printf-bz18872-mem.out): Likewise.
21984         * stdio-common/tst-printf-bz18872.sh: Generate new test.
21985         * stdio-common/vfprintf.c: Fix memory leaks.
21987 2015-09-16  Andreas Schwab  <schwab@suse.de>
21989         [BZ #17244]
21990         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
21991         Remove extra va_start/va_end calls.
21993         [BZ #17243]
21994         * posix/execl.c (execl): Add missing va_end.
21995         * posix/execle.c (execle): Likewise.
21996         * posix/execlp.c (execlp): Likewise.
21998 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22000         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22001         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22003 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22005         [BZ #18967]
22006         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22007         undefine around includes of <bits/mathcalls.h>.
22008         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22009         not declare function.
22010         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22011         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22012         (scalb): Likewise.
22013         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22014         not define macro.
22015         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22016         variable.
22017         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22018         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22019         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22021         [BZ #18857]
22022         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22023         return non-finite argument without doing ordered comparisons on
22024         it.
22026         [BZ #16296]
22027         * math/fenv.h (fegetround): Use __attribute_pure__.
22028         * include/fenv.h (__fegetround): Likewise.
22030         [BZ #18595]
22031         * math/s_ctan.c (__ctan): Force underflow exception for results
22032         whose real or imaginary part has small absolute value.
22033         * math/s_ctanf.c (__ctanf): Likewise.
22034         * math/s_ctanh.c (__ctanh): Likewise.
22035         * math/s_ctanhf.c (__ctanhf): Likewise.
22036         * math/s_ctanhl.c (__ctanhl): Likewise.
22037         * math/s_ctanl.c (__ctanl): Likewise.
22038         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22039         and ctanh.  Add more tests of ctan and ctanh.
22041         [BZ #15918]
22042         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22043         handling of cases where one argument is an infinity.
22045         [BZ #18875]
22046         [BZ #18966]
22047         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22048         (MO): New macro.
22049         (__ieee754_exp10): For small results, force underflow exception
22050         and remove excess range and precision from return value.
22051         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22052         (MO): New macro.
22053         (__ieee754_exp10f): For small results, force underflow exception
22054         and remove excess range and precision from return value.
22055         * math/auto-libm-test-in: Add more tests of exp10.
22056         * math/auto-libm-test-out: Regenerated.
22058 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22060         [BZ #18875]
22061         [BZ #18961]
22062         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22063         (MO): New macro.
22064         (__ieee754_exp): For small results, force underflow exception and
22065         remove excess range and precision from return value.
22066         (__exp_finite): Likewise.
22067         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22068         (MO): New macro.
22069         (__ieee754_expf): For small results, force underflow exception and
22070         remove excess range and precision from return value.
22071         (__expf_finite): Likewise.
22072         * math/auto-libm-test-in: Add more tests of exp.
22073         * math/auto-libm-test-out: Regenerated.
22075         [BZ #16521]
22076         [BZ #18875]
22077         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22078         small results.
22079         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22080         (MO): New macro.
22081         (__ieee754_exp2): For small results, force underflow exception and
22082         remove excess range and precision from return value.
22083         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22084         (MO): New macro.
22085         (__ieee754_exp2f): For small results, force underflow exception
22086         and remove excess range and precision from return value.
22087         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22088         (MO): New macro.
22089         (__ieee754_exp2l): Force underflow exception for small results.
22090         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22091         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22092         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22093         (MO): New macro.
22094         (__ieee754_exp2l): Force underflow exception for small results.
22095         * math/auto-libm-test-in: Add more tests or exp2.
22096         * math/auto-libm-test-out: Regenerated.
22098 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22100         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22102         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22103         /dev/null.
22105 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22107         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22108         io fs process)): Drop spurious backslash.
22110 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22113         Use sysinfo system call instead of parsing /proc/meminfo.
22114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22115         Likewise.
22117 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22119         [BZ #16985]
22120         * programs/localedef.c (main): Display argv[remaining] when
22121         output_path is NULL.
22123 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22125         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22126         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22127         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22128         tanh.
22129         * math/auto-libm-test-out: Regenerated.
22130         * sysdeps/i386/fpu/libm-test-ulps: Update.
22131         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22132         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22135 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22137         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22138         Use 'override' keyword to freeze the value here, preventing
22139         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22141 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22143         [BZ #14912]
22144         * sysdeps/aarch64/bits/atomic.h: Move to ...
22145         * sysdeps/aarch64/atomic-machine.h: ...here.
22146         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22147         _AARCH64_ATOMIC_MACHINE_H.
22148         * sysdeps/alpha/bits/atomic.h: Move to ...
22149         * sysdeps/alpha/atomic-machine.h: ...here.
22150         * sysdeps/arm/bits/atomic.h: Move to ...
22151         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22152         * bits/atomic.h: Move to ...
22153         * sysdeps/generic/atomic-machine.h: ...here.
22154         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22155         * sysdeps/i386/bits/atomic.h: Move to ...
22156         * sysdeps/i386/atomic-machine.h: ...here.
22157         * sysdeps/ia64/bits/atomic.h: Move to ...
22158         * sysdeps/ia64/atomic-machine.h: ...here.
22159         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22160         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22161         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22162         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22163         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22164         * sysdeps/microblaze/bits/atomic.h: Move to ...
22165         * sysdeps/microblaze/atomic-machine.h: ...here.
22166         * sysdeps/mips/bits/atomic.h: Move to ...
22167         * sysdeps/mips/atomic-machine.h: ...here.
22168         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22169         * sysdeps/powerpc/bits/atomic.h: Move to ...
22170         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22171         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22172         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22173         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22174         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22175         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22176         <atomic-machine.h> instead of <bits/atomic.h>.
22177         * sysdeps/s390/bits/atomic.h: Move to ...
22178         * sysdeps/s390/atomic-machine.h: ...here.
22179         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22180         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22181         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22183         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22184         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22185         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22186         * sysdeps/tile/bits/atomic.h: Move to ...
22187         * sysdeps/tile/atomic-machine.h: ...here.
22188         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22189         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22190         <sysdeps/tile/atomic-machine.h> instead of
22191         <sysdeps/tile/bits/atomic.h>.
22192         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22193         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22194         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22195         <sysdeps/tile/atomic-machine.h> instead of
22196         <sysdeps/tile/bits/atomic.h>.
22197         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22198         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22199         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22200         <sysdeps/arm/atomic-machine.h> instead of
22201         <sysdeps/arm/bits/atomic.h>.
22202         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22203         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22204         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22205         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22206         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22207         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22208         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22209         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22210         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22211         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22212         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22213         * sysdeps/x86_64/bits/atomic.h: Move to ...
22214         * sysdeps/x86_64/atomic-machine.h: ...here.
22215         * include/atomic.h: Include <atomic-machine.h> instead of
22216         <bits/atomic.h>.
22218         * sysdeps/mips/mips32/libm-test-ulps: Update.
22219         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22221         [BZ #18952]
22222         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22223         not convert non-integer negative arguments to int to determine the
22224         value of signgam.
22225         * math/auto-libm-test-in: Add more tests of lgamma.
22226         * math/auto-libm-test-out: Regenerated.
22228         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22229         cosh, csqrt, erfc, expm1 and lgamma.
22230         * math/auto-libm-test-out: Regenerated.
22231         * sysdeps/i386/fpu/libm-test-ulps: Update.
22232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22234 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22236         [BZ #2542]
22237         [BZ #2543]
22238         [BZ #2558]
22239         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22240         __lgamma_neg for arguments from -28.0 to -2.0.
22241         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22242         __lgamma_negf for arguments from -15.0 to -2.0.
22243         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22244         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22245         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22246         Call __lgamma_negl for arguments from -33.0 to -2.0.
22247         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22248         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22249         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22250         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22251         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22252         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22253         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22254         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22255         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22256         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22257         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22258         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22259         (__lgamma_neg): Likewise.
22260         (__lgamma_negl): Likewise.
22261         (__lgamma_product): Likewise.
22262         (__lgamma_productl): Likewise.
22263         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22264         * math/auto-libm-test-in: Add more tests of lgamma.
22265         * math/auto-libm-test-out: Regenerated.
22266         * sysdeps/i386/fpu/libm-test-ulps: Update.
22267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22271         [BZ #18675]
22272         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22274 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22276         [BZ #14912]
22277         * bits/libc-lock.h: Move to ...
22278         * sysdeps/generic/libc-lock.h: ...here.
22279         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22280         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22281         * sysdeps/mach/hurd/libc-lock.h: ...here.
22282         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22283         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22284         * sysdeps/mach/bits/libc-lock.h: Move to ...
22285         * sysdeps/mach/libc-lock.h: ...here.
22286         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22287         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22288         * sysdeps/nptl/libc-lock.h: ...here.
22289         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22290         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22291         * sysdeps/nptl/libc-lockP.h: ...here.
22292         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22293         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22294         <bits/libc-lock.h>.
22295         * dirent/scandir-tail.c: Likewise.
22296         * dlfcn/dlerror.c: Likewise.
22297         * elf/dl-close.c: Likewise.
22298         * elf/dl-iteratephdr.c: Likewise.
22299         * elf/dl-lookup.c: Likewise.
22300         * elf/dl-open.c: Likewise.
22301         * elf/dl-support.c: Likewise.
22302         * elf/dl-writev.h: Likewise.
22303         * elf/rtld.c: Likewise.
22304         * grp/fgetgrent.c: Likewise.
22305         * gshadow/fgetsgent.c: Likewise.
22306         * gshadow/sgetsgent.c: Likewise.
22307         * iconv/gconv_conf.c: Likewise.
22308         * iconv/gconv_db.c: Likewise.
22309         * iconv/gconv_dl.c: Likewise.
22310         * iconv/gconv_int.h: Likewise.
22311         * iconv/gconv_trans.c: Likewise.
22312         * include/link.h: Likewise.
22313         * inet/getnameinfo.c: Likewise.
22314         * inet/getnetgrent.c: Likewise.
22315         * inet/getnetgrent_r.c: Likewise.
22316         * intl/bindtextdom.c: Likewise.
22317         * intl/dcigettext.c: Likewise.
22318         * intl/finddomain.c: Likewise.
22319         * intl/gettextP.h: Likewise.
22320         * intl/loadmsgcat.c: Likewise.
22321         * intl/localealias.c: Likewise.
22322         * intl/textdomain.c: Likewise.
22323         * libidn/idn-stub.c: Likewise.
22324         * libio/libioP.h: Likewise.
22325         * locale/duplocale.c: Likewise.
22326         * locale/freelocale.c: Likewise.
22327         * locale/newlocale.c: Likewise.
22328         * locale/setlocale.c: Likewise.
22329         * login/getutent_r.c: Likewise.
22330         * login/getutid_r.c: Likewise.
22331         * login/getutline_r.c: Likewise.
22332         * login/utmp-private.h: Likewise.
22333         * login/utmpname.c: Likewise.
22334         * malloc/mtrace.c: Likewise.
22335         * misc/efgcvt.c: Likewise.
22336         * misc/error.c: Likewise.
22337         * misc/fstab.c: Likewise.
22338         * misc/getpass.c: Likewise.
22339         * misc/mntent.c: Likewise.
22340         * misc/syslog.c: Likewise.
22341         * nis/nis_call.c: Likewise.
22342         * nis/nis_callback.c: Likewise.
22343         * nis/nss-default.c: Likewise.
22344         * nis/nss_compat/compat-grp.c: Likewise.
22345         * nis/nss_compat/compat-initgroups.c: Likewise.
22346         * nis/nss_compat/compat-pwd.c: Likewise.
22347         * nis/nss_compat/compat-spwd.c: Likewise.
22348         * nis/nss_nis/nis-alias.c: Likewise.
22349         * nis/nss_nis/nis-ethers.c: Likewise.
22350         * nis/nss_nis/nis-grp.c: Likewise.
22351         * nis/nss_nis/nis-hosts.c: Likewise.
22352         * nis/nss_nis/nis-network.c: Likewise.
22353         * nis/nss_nis/nis-proto.c: Likewise.
22354         * nis/nss_nis/nis-pwd.c: Likewise.
22355         * nis/nss_nis/nis-rpc.c: Likewise.
22356         * nis/nss_nis/nis-service.c: Likewise.
22357         * nis/nss_nis/nis-spwd.c: Likewise.
22358         * nis/nss_nisplus/nisplus-alias.c: Likewise.
22359         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
22360         * nis/nss_nisplus/nisplus-grp.c: Likewise.
22361         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
22362         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
22363         * nis/nss_nisplus/nisplus-network.c: Likewise.
22364         * nis/nss_nisplus/nisplus-proto.c: Likewise.
22365         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
22366         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
22367         * nis/nss_nisplus/nisplus-service.c: Likewise.
22368         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
22369         * nis/ypclnt.c: Likewise.
22370         * nptl/libc_pthread_init.c: Likewise.
22371         * nss/getXXbyYY.c: Likewise.
22372         * nss/getXXent.c: Likewise.
22373         * nss/getXXent_r.c: Likewise.
22374         * nss/nss_db/db-XXX.c: Likewise.
22375         * nss/nss_db/db-netgrp.c: Likewise.
22376         * nss/nss_db/nss_db.h: Likewise.
22377         * nss/nss_files/files-XXX.c: Likewise.
22378         * nss/nss_files/files-alias.c: Likewise.
22379         * nss/nsswitch.c: Likewise.
22380         * posix/regex_internal.h: Likewise.
22381         * posix/wordexp.c: Likewise.
22382         * pwd/fgetpwent.c: Likewise.
22383         * resolv/res_hconf.c: Likewise.
22384         * resolv/res_libc.c: Likewise.
22385         * shadow/fgetspent.c: Likewise.
22386         * shadow/lckpwdf.c: Likewise.
22387         * shadow/sgetspent.c: Likewise.
22388         * socket/opensock.c: Likewise.
22389         * stdio-common/reg-modifier.c: Likewise.
22390         * stdio-common/reg-printf.c: Likewise.
22391         * stdio-common/reg-type.c: Likewise.
22392         * stdio-common/vfprintf.c: Likewise.
22393         * stdio-common/vfscanf.c: Likewise.
22394         * stdlib/abort.c: Likewise.
22395         * stdlib/cxa_atexit.c: Likewise.
22396         * stdlib/fmtmsg.c: Likewise.
22397         * stdlib/random.c: Likewise.
22398         * stdlib/setenv.c: Likewise.
22399         * string/strsignal.c: Likewise.
22400         * sunrpc/auth_none.c: Likewise.
22401         * sunrpc/bindrsvprt.c: Likewise.
22402         * sunrpc/create_xid.c: Likewise.
22403         * sunrpc/key_call.c: Likewise.
22404         * sunrpc/rpc_thread.c: Likewise.
22405         * sysdeps/arm/backtrace.c: Likewise.
22406         * sysdeps/generic/ldsodefs.h: Likewise.
22407         * sysdeps/generic/stdio-lock.h: Likewise.
22408         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
22409         * sysdeps/i386/backtrace.c: Likewise.
22410         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22411         * sysdeps/m68k/backtrace.c: Likewise.
22412         * sysdeps/mach/hurd/cthreads.c: Likewise.
22413         * sysdeps/mach/hurd/dirstream.h: Likewise.
22414         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22415         * sysdeps/nptl/malloc-machine.h: Likewise.
22416         * sysdeps/nptl/stdio-lock.h: Likewise.
22417         * sysdeps/posix/dirstream.h: Likewise.
22418         * sysdeps/posix/getaddrinfo.c: Likewise.
22419         * sysdeps/posix/system.c: Likewise.
22420         * sysdeps/pthread/aio_suspend.c: Likewise.
22421         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22422         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22423         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22424         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22425         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
22426         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
22427         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
22428         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22429         * sysdeps/unix/sysv/linux/system.c: Likewise.
22430         * sysdeps/x86_64/backtrace.c: Likewise.
22431         * time/alt_digit.c: Likewise.
22432         * time/era.c: Likewise.
22433         * time/tzset.c: Likewise.
22434         * wcsmbs/wcsmbsload.c: Likewise.
22435         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
22436         instead of <bits/libc-lock.h> in comment.
22438 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
22440         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
22441         Only use .set mips2 if the current ISA is below mips2.
22442         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
22443         Likewise.
22444         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
22445         mips32r2 if the current ISA is below mips32r2.
22446         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
22447         (TLS_IE): Updated to use the TLD_RDHWR macro.
22448         (TLS_LE): Likewise.
22449         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
22450         __ASSEMBLER__ condition.
22452 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22454         Fix parallel build of before-compile targets.
22456         * sysdeps/mach/Makefile ($(patsubst
22457         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
22458         mach-before-compile target.
22459         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22460         io fs process)): Move rule to dedicated hurd-before-compile target.
22462 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22464         Fix rules generating headers in hurd/ and mach/ when initial make call
22465         has subdir= explicitly set.
22467         * sysdeps/mach/Makefile ($(patsubst
22468         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
22469         calling $(MAKE).
22470         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22471         io fs process)): Force subdir to hurd when calling $(MAKE).
22472         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
22473         subdir to mach when calling $(MAKE).
22475 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
22477         Check sysheaders when looking for Mach and Hurd headers
22479         * sysdeps/mach/configure.ac: Add sysheaders check.
22480         * sysdeps/mach/configure: Regenerate.
22481         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
22482         * sysdeps/mach/hurd/configure: Regenerate.
22484 2015-09-04  Roland McGrath  <roland@hack.frob.com>
22486         [BZ #18921]
22487         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
22488         Fix inverted sense of test of 'o_directory_works' value.
22489         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
22490         Bernhard Voelker <mail@bernhard-voelker.de>.
22492 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22494         [BZ #14912]
22495         * bits/linkmap.h: Move to ...
22496         * sysdeps/generic/linkmap.h: ...here.
22497         * sysdeps/aarch64/bits/linkmap.h: Move to ...
22498         * sysdeps/aarch64/linkmap.h: ...here.
22499         * sysdeps/arm/bits/linkmap.h: Move to ...
22500         * sysdeps/arm/linkmap.h: ...here.
22501         * sysdeps/hppa/bits/linkmap.h: Move to ...
22502         * sysdeps/hppa/linkmap.h: ...here.
22503         * sysdeps/ia64/bits/linkmap.h: Move to ...
22504         * sysdeps/ia64/linkmap.h: ...here.
22505         * sysdeps/mips/bits/linkmap.h: Move to ...
22506         * sysdeps/mips/linkmap.h: ...here.
22507         * sysdeps/s390/bits/linkmap.h: Move to ...
22508         * sysdeps/s390/linkmap.h: ...here.
22509         * sysdeps/sh/bits/linkmap.h: Move to ...
22510         * sysdeps/sh/linkmap.h: ...here.
22511         * sysdeps/x86/bits/linkmap.h: Move to ...
22512         * sysdeps/x86/linkmap.h: ...here.
22513         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
22515 2015-09-04  Andreas Schwab  <schwab@suse.de>
22517         [BZ #18635]
22518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
22519         (__makecontext): Terminate FDE before return label.
22520         (__novec_makecontext): Likewise.
22522 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22524         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
22525         first member of struct sv in syscall macro.
22527 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22529         [BZ #14912]
22530         * bits/stdio-lock.h: Move to ...
22531         * sysdeps/generic/stdio-lock.h: ...here.
22532         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22533         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
22534         * sysdeps/nptl/stdio-lock.h: ...here.
22535         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22536         * include/libio.h: Include <stdio-lock.h> instead of
22537         <bits/stdio-lock.h>.
22538         * sysdeps/nptl/fork.c: Likewise.
22539         * sysdeps/pthread/flockfile.c: Likewise.
22540         * sysdeps/pthread/ftrylockfile.c: Likewise.
22541         * sysdeps/pthread/funlockfile.c: Likewise.
22543         [BZ #14912]
22544         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
22545         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
22546         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
22547         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
22548         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
22549         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22550         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
22552 2015-09-03  Roland McGrath  <roland@hack.frob.com>
22554         * elf/Makefile (test-xfail-tst-protected1a): New variable.
22555         (test-xfail-tst-protected1b): New variable.
22557 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
22559         [BZ #14912]
22560         * bits/libc-tsd.h: Move to ...
22561         * sysdeps/generic/libc-tsd.h: ...here.
22562         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
22563         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
22564         * sysdeps/mach/hurd/libc-tsd.h: ...here.
22565         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
22566         * include/ctype.h: Include <libc-tsd.h> instead of
22567         <bits/libc-tsd.h>.
22568         * include/rpc/rpc.h: Likewise.
22569         * locale/localeinfo.h: Likewise.
22570         * sunrpc/rpc_thread.c: Likewise.
22571         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22572         * sysdeps/nptl/malloc-machine.h: Likewise.
22574         * Makefile (headers): Remove bits/libc-lock.h.
22575         * libio/Makefile (headers): Remove bits/stdio-lock.h.
22577         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
22578         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
22579         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
22580         <bits/stdio-lock.h>.
22581         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
22582         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
22584 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22586         [BZ #18757]
22587         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
22588         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
22589         BZ #18757.
22591 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22593         * malloc/mtrace.pl: Filter out NULL entries.
22595 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
22597         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
22598         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
22599         macro.
22601         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
22602         (TCP_CC_INFO): Likewise.
22603         (TCP_SAVE_SYN): Likewise.
22604         (TCP_SAVED_SYN): Likewise.
22606 2015-08-31  Brett Neumeier <brett@neumeier.us>
22608         [BZ #18870]
22609         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
22611 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
22613         [BZ #18873]
22614         Fix broken overflow check in posix_fallocate
22615         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
22616         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22617         Fix parenthesization typo.
22619 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
22621         [BZ #18887]
22622         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
22623         tst-mntent-blank-passno.
22624         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
22625         * misc/tst-mntent-blank-corrupt.c: New test.
22626         * misc/tst-mntent-blank-passno.c: New test ripped from ...
22627         * misc/tst-mntent.c (do_test): ... here.
22629 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
22631         [BZ #4404]
22632         * po/de.po: Fix SIGALRM typo.
22634 2015-08-28  James Perkins  <james@loowit.net>
22636         * time/tst-strptime2.c (tests): Replace short list of test
22637         strings for strptime %z specifier with code which exhaustively
22638         tests every combination of sign and 0 to 5 digits. Tests for
22639         rejection of invalid strings.
22641 2015-08-28  James Perkins  <james@loowit.net>
22643         [BZ #16141]
22644         * time/strptime_l.c (__strptime_internal): Fix %z minutes
22645         calculation, removing incorrect decimal time rounding, so that
22646         all minute values result in a valid seconds value.
22647         * time/strptime_l.c (__strptime_internal): Extend %z time zone
22648         offset range limits to UTC-99:59 through UTC+99:59 to parse
22649         current and historical use cases.
22650         * time/tst-strptime2.c (tests): Modify and add tests for the
22651         strptime %z input field descriptor, specifically conversion of
22652         minutes to seconds and validating an offset range of -9959 to
22653         +9959.
22655 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22656             Dmitry V. Levin  <ldv@altlinux.org>
22658         [BZ #18877]
22659         * posix/Makefile (tests): Add tst-mmap-offset.
22660         * posix/tst-mmap.c: New file.
22661         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
22662         offset calculation for negative values.
22664 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22666         * sysdeps/i386/init-arch.h: New file.
22667         * sysdeps/i386/i586/init-arch.h: Likewise.
22668         * sysdeps/i386/i686/init-arch.h: Likewise.
22669         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
22670         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
22671         * sysdeps/x86/cpu-features.h (bit_I586): New.
22672         (bit_I686): Likewise.
22673         (bit_CX8): Likewise.
22674         (bit_CMOV): Likewise.
22675         (index_CX8): Likewise.
22676         (index_CMOV): Likewise.
22677         (index_I586): Likewise.
22678         (index_I686): Likewise.
22679         (reg_CX8): Likewise.
22680         (reg_CMOV): Likewise.
22681         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
22682         available at compile-time.
22683         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
22684         available at compile-time.
22685         * sysdeps/x86/init-arch.h (USE_I586): New macro.
22686         (USE_I686): Likewise.
22688 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22690         * sysdeps/i386/bcopy.S: New file.
22691         * sysdeps/i386/bzero.S: Likewise.
22692         * sysdeps/i386/memcpy.S: Likewise.
22693         * sysdeps/i386/memmove.S: Likewise.
22694         * sysdeps/i386/mempcpy.S: Likewise.
22695         * sysdeps/i386/memset.S: Likewise.
22696         * sysdeps/i386/bzero.c: Removed.
22697         * sysdeps/i386/memset.c: Likewise.
22698         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
22699         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
22700         * sysdeps/i386/i586/memset_chk.S: Likewise.
22701         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
22702         * sysdeps/i386/memcpy_chk.S: Here.
22703         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
22704         * sysdeps/i386/memmove_chk.S: Here.
22705         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
22706         * sysdeps/i386/mempcpy_chk.S: Likewise.
22707         * sysdeps/i386/i686/memset_chk.S: Moved to ...
22708         * sysdeps/i386/memset_chk.S: Likewise.
22710 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
22712         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
22713         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
22714         file, move DIAG_POP_NEEDS_COMMENT to end of file.
22715         * soft-fp/fmadf4.c: Ditto.
22716         * soft-fp/fmatf4.c: Ditto.
22718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22720         * sysdeps/i386/i586/Implies: Removed.
22721         * sysdeps/i386/i686/Implies: Likewise.
22723 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22725         * sysdeps/i386/i486/strlen.S: Moved to ...
22726         * sysdeps/i386/strlen.S: Here.
22728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22730         * sysdeps/i386/i486/strcat.S: Moved to ...
22731         * sysdeps/i386/strcat.S: Here.
22733 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22735         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
22736         * sysdeps/i386/pthread_spin_trylock.S: Here.
22737         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
22738         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
22740 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22742         * sysdeps/i386/i486/string-inlines.c: Moved to ...
22743         * sysdeps/i386/string-inlines.c: Here.
22745 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22747         * sysdeps/i386/i486/htonl.S: Moved ...
22748         * sysdeps/i386/htonl.S: here.
22750 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22752         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
22753         * sysdeps/i386/bits/atomic.h: Here.
22755 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22757         * sysdeps/i386/i486/Versions: Removed.
22759 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22761         [BZ #2898]
22762         * misc/mktemp.c: Add mkdtemp to the link_warning message.
22763         Based on patch by Aurelien Jarno.
22765 2015-08-26  Stan Shebs  <stanshebs@google.com>
22767         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
22768         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22770 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22772         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
22773         * sysdeps/powerpc/dl-procinfo.c:
22774         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
22775         feature so it shows when LD_SHOW_AUXV=1.
22777 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22779         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22780         (__arch_compare_and_exchange_val_32_acq): Remove and use common
22781         definition.  ISA 2.07B no longer requires full sync.
22783 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
22785         [BZ #18863]
22786         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
22787         (si_call_addr): Define.
22788         (si_syscall): Define.
22789         (si_arch): Define.
22791 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22793         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
22794         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
22795         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
22796         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22797         (__memset_zero_constant_len_parameter): New.
22798         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
22799         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22800         (__memset_zero_constant_len_parameter): Don't define if
22801         __memset_chk or USE_AS_BZERO are defined.
22803         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
22804         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
22805         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
22807         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
22808         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
22809         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
22810         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
22811         comments.
22812         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
22813         -mno-mmx for $(all-rtld-routines).
22814         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
22815         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
22816         i386.
22818 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22820         * sysdeps/generic/unwind.h
22821         (_Unwind_Word): Use __mode__(__unwind_word__)
22822         instead of __mode__(__word__).
22823         (_Unwind_Sword): Likewise.
22825         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22826         (MAX_NEEDED_INPUT): New define.
22827         (MAX_NEEDED_OUTPUT): New define.
22829         * NEWS: New item for IBM z13 string optimizations.
22831         * sysdeps/s390/multiarch/memrchr-c.c: New File.
22832         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
22833         * sysdeps/s390/multiarch/memrchr.c: Likewise.
22834         * sysdeps/s390/multiarch/Makefile
22835         (sysdep_routines): Add memrchr functions.
22836         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22837         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
22839         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
22840         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
22841         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
22842         * sysdeps/s390/multiarch/Makefile
22843         (sysdep_routines): Add wmemcmp functions.
22844         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22845         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
22846         * benchtests/bench-wmemcmp.c: New File.
22847         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
22849         * sysdeps/s390/multiarch/wmemset-c.c: New File.
22850         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
22851         * sysdeps/s390/multiarch/wmemset.c: Likewise.
22852         * sysdeps/s390/multiarch/Makefile
22853         (sysdep_routines): Add wmemset functions.
22854         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22855         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
22856         * wcsmbs/wmemset.c: Use WMEMSET if defined.
22857         * string/test-memset.c: Add wmemset support.
22858         * wcsmbs/test-wmemset.c: New File.
22859         * wcsmbs/Makefile (strop-tests): Add wmemset.
22860         * benchtests/bench-memset.c: Add wmemset support.
22861         * benchtests/bench-wmemset.c: New File.
22862         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
22864         * sysdeps/s390/multiarch/memccpy-c.c: New File.
22865         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
22866         * sysdeps/s390/multiarch/memccpy.c: Likewise.
22867         * sysdeps/s390/multiarch/Makefile
22868         (sysdep_routines): Add memccpy functions.
22869         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22870         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
22871         * string/memccpy.c: Use MEMCCPY if defined.
22873         * sysdeps/s390/multiarch/memchr-vx.S: New File.
22874         * sysdeps/s390/multiarch/memchr.c: Likewise.
22875         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
22876         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
22877         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
22878         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
22879         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
22880         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
22881         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
22882         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
22883         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
22884         and rawmemchr functions.
22885         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22886         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
22887         and wmemchr.
22888         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
22889         * string/test-memchr.c: Add wmemchr support.
22890         * wcsmbs/test-wmemchr.c: New File.
22891         * wcsmbs/Makefile (strop-tests): Add wmemchr.
22892         * benchtests/bench-memchr.c: Add wmemchr support.
22893         * benchtests/bench-wmemchr.c: New File.
22894         * benchtests/Makefile (wcsmbs-bench): wmemchr.
22896         * sysdeps/s390/multiarch/strcspn-c.c: New File.
22897         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
22898         * sysdeps/s390/multiarch/strcspn.c: Likewise.
22899         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
22900         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
22901         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
22902         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
22903         wcscspn functions.
22904         * sysdeps/s390/multiarch/ifunc-impl-list.c
22905         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
22906         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
22907         * string/test-strcspn.c: Add wcscspn support.
22908         * wcsmbs/test-wcscspn.c: New File.
22909         * wcsmbs/Makefile (strop-tests): Add wcscspn.
22910         * benchtests/bench-strcspn.c: Add wcscspn support.
22911         * benchtests/bench-wcscspn.c: New File.
22912         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
22914         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
22915         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
22916         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
22917         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
22918         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
22919         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
22920         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
22921         wcspbrk functions.
22922         * sysdeps/s390/multiarch/ifunc-impl-list.c
22923         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
22924         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
22925         * string/test-strpbrk.c: Add wcspbrk support.
22926         * wcsmbs/test-wcspbrk.c: New File.
22927         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
22928         * benchtests/bench-strpbrk.c: Add wcspbrk support.
22929         * benchtests/bench-wcspbrk.c: New File.
22930         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
22932         * sysdeps/s390/multiarch/strspn-c.c: New File.
22933         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
22934         * sysdeps/s390/multiarch/strspn.c: Likewise.
22935         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
22936         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
22937         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
22938         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
22939         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
22940         wcsspn functions.
22941         * sysdeps/s390/multiarch/ifunc-impl-list.c
22942         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
22943         * string/test-strspn.c: Add wcsspn support.
22944         * wcsmbs/test-wcsspn.c: New File.
22945         * wcsmbs/Makefile (strop-tests): Add wcsspn.
22946         * benchtests/bench-strspn.c: Add wcsspn support.
22947         * benchtests/bench-wcsspn.c: New File.
22948         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
22950         * sysdeps/s390/multiarch/strrchr-c.c: New File.
22951         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
22952         * sysdeps/s390/multiarch/strrchr.c: Likewise.
22953         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
22954         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
22955         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
22956         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
22957         wcsrchr functions.
22958         * sysdeps/s390/multiarch/ifunc-impl-list.c
22959         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
22960         * benchtests/bench-wcsrchr.c: New File.
22961         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
22963         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
22964         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
22965         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
22966         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
22967         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
22968         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
22969         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
22970         wcschrnul functions.
22971         * sysdeps/s390/multiarch/ifunc-impl-list.c
22972         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
22973         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
22974         * string/test-strchr.c: Add wcschrnul support.
22975         * wcsmbs/test-wcschrnul.c: New File.
22976         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
22977         * benchtests/bench-strchr.c: Add wcschrnul support.
22978         * benchtests/bench-wcschrnul.c: New File.
22979         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
22981         * sysdeps/s390/multiarch/strchr-c.c: New File.
22982         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
22983         * sysdeps/s390/multiarch/strchr.c: Likewise.
22984         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
22985         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
22986         * sysdeps/s390/multiarch/wcschr.c: Likewise.
22987         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
22988         wcschr functions.
22989         * sysdeps/s390/multiarch/ifunc-impl-list.c
22990         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
22991         * string/strchr.c (STRCHR): Define and use macro.
22992         * benchtests/bench-wcschr.c: New File.
22993         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
22995         * sysdeps/s390/multiarch/strncmp-c.c: New File.
22996         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
22997         * sysdeps/s390/multiarch/strncmp.c: Likewise.
22998         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
22999         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23000         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23002         wcsncmp functions.
23003         * sysdeps/s390/multiarch/ifunc-impl-list.c
23004         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23005         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23006         * benchtests/bench-strncmp.c: Add wcsncmp support.
23007         * benchtests/bench-wcsncmp.c: New File.
23008         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23010         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23011         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23012         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23013         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23014         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23015         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23016         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23018         wcscmp functions.
23019         * sysdeps/s390/multiarch/ifunc-impl-list.c
23020         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23021         * string/strcmp.c (STRCMP): Define and use macro.
23022         * benchtests/bench-wcscmp.c: New File.
23023         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23024         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23025         instead of _HAVE_STRING_ARCH_memchr.
23027         * sysdeps/s390/multiarch/strncat-c.c: New File.
23028         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23029         * sysdeps/s390/multiarch/strncat.c: Likewise.
23030         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23031         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23032         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23034         wcsncat functions.
23035         * sysdeps/s390/multiarch/ifunc-impl-list.c
23036         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23037         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23038         * string/test-strncat.c: Add wcsncat support.
23039         * wcsmbs/test-wcsncat.c: New File.
23040         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23041         * benchtests/bench-strncat.c: Add wcsncat support.
23042         * benchtests/bench-wcsncat.c: New File.
23043         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23045         * sysdeps/s390/multiarch/strcat-c.c: New File.
23046         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23047         * sysdeps/s390/multiarch/strcat.c: Likewise.
23048         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23049         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23050         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23052         wcscat functions.
23053         * sysdeps/s390/multiarch/ifunc-impl-list.c
23054         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23055         * string/strcat.c (STRCAT): Define and use macro.
23056         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23057         * string/test-strcat.c: Add wcscat support.
23058         * wcsmbs/test-wcscat.c: New File.
23059         * wcsmbs/Makefile (strop-tests): Add wcscat.
23060         * benchtests/bench-strcat.c: Add wcscat support.
23061         * benchtests/bench-wcscat.c: New File.
23062         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23064         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23065         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23066         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23067         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23068         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23069         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23071         wcpncpy functions.
23072         * sysdeps/s390/multiarch/ifunc-impl-list.c
23073         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23074         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23075         * string/test-stpncpy.c: Add wcpncpy support.
23076         * wcsmbs/test-wcpncpy.c: New File.
23077         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23078         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23079         * benchtests/bench-wcpncpy.c: New File.
23080         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23082         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23083         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23084         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23085         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23086         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23087         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23088         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23089         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23090         wcsncpy functions.
23091         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23092         * sysdeps/s390/multiarch/ifunc-impl-list.c
23093         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23094         * string/test-strncpy.c: Add wcsncpy support.
23095         * wcsmbs/test-wcsncpy.c: New File.
23096         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23097         * benchtests/bench-strncpy.c: Add wcsncpy support.
23098         * benchtests/bench-wcsncpy.c: New File.
23099         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23101         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23102         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23103         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23104         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23105         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23106         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23107         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23108         wcpcpy functions.
23109         * string/stpcpy.c: Use STPCPY if defined.
23110         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23111         * sysdeps/s390/multiarch/ifunc-impl-list.c
23112         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23113         * string/test-stpcpy.c: Add wcpcpy support.
23114         * wcsmbs/test-wcpcpy.c: New File.
23115         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23116         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23117         * benchtests/bench-wcpcpy.c: New File.
23118         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23120         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23121         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23122         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23123         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23124         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23125         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23126         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23127         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23128         wcscpy functions.
23129         * sysdeps/s390/multiarch/ifunc-impl-list.c
23130         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23131         * benchtests/bench-wcscpy.c: New File.
23132         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23134         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23135         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23136         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23137         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23138         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23139         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23140         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23141         wcsnlen functions.
23142         * sysdeps/s390/multiarch/ifunc-impl-list.c
23143         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23144         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23145         * string/test-strnlen.c: Add wcsnlen support.
23146         * wcsmbs/test-wcsnlen.c: New File.
23147         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23148         * benchtests/bench-strnlen.c: Add wcsnlen support.
23149         * benchtests/bench-wcsnlen.c: New File.
23150         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23152         * sysdeps/s390/multiarch/Makefile: New File.
23153         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23154         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23155         * sysdeps/s390/multiarch/strlen.c: Likewise.
23156         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23157         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23158         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23159         * string/strlen.c (STRLEN): Define and use macro.
23160         * sysdeps/s390/multiarch/ifunc-impl-list.c
23161         (IFUNC_VX_IMPL): New macro function.
23162         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23163         * benchtests/Makefile (wcsmbs-bench): New variable.
23164         (string-bench-all): Added wcsmbs-bench.
23165         * benchtests/bench-wcslen.c: New File.
23167         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23168         s390_vx_libc_ifunc2): New macro function.
23170         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23171         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23172         assembler support.
23173         * sysdeps/s390/configure: Regenerated.
23175         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23176         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23178         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23179         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23180         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23182         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23183         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23184         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23185         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23186         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23187         (memcmp, bcmp): Use __memcmp_default as alias source.
23188         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23189         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23190         Rename to __memcmp_default.
23191         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23192         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23193         (memcpy): Use __memcpy_default as alias source.
23194         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23195         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23196         Rename to __memcpy_default.
23197         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23198         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23199         (memset): Use __memset_default as alias source.
23200         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23201         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23202         Rename to __memset_default.
23203         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23204         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23205         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23206         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23207         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23208         (memcmp, bcmp): Use __memcmp_default as alias source.
23209         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23210         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23211         Rename to __memcmp_default.
23212         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23213         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23214         (memcpy): Use __memcpy_default as alias source.
23215         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23216         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23217         Rename to __memcpy_default.
23218         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23219         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23220         (memset): Use __memset_default as alias source.
23221         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23222         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23223         Rename to __memset_default.
23224         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23225         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23227         [BZ #18610]
23228         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23229         __ieee_instruction_pointer to __unused.
23230         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23231         __ieee_instruction_pointer.
23232         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23233         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23234         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23235         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23236         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23237         Mark dxc-field as reserved.
23239 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23241         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23242         if the weak reference is not null.
23244 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23246         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23248         [BZ #11214]
23249         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23251 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23253         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23254         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23255         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23256         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23257         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23258         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23259         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23260         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23261         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23262         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23263         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23264         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23265         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23266         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23267         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23268         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23269         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23270         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23272 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23274         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23275         register other than r0 for tabort, it has special meaning.
23276         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23277         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23278         transaction before starting syscall.
23280 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23282         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23284 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23286         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23288         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23289         * sysdeps/x86_64/rtld-memset.S: Likewise.
23290         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23291         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23292         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23293         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23295         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23297 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23299         * debug/strcpy_chk.c: Improve performance.
23300         * debug/stpcpy_chk.c: Likewise.
23301         * sysdeps/x86_64/strcpy_chk.S: Remove.
23302         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23304         [BZ #18240]
23305         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23307 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23309         [BZ #15128]
23310         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23311         ifuncmain8.
23312         (modules-names): Add ifuncmod8.
23313         ($(objpfx)ifuncmain8): New rule.
23314         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23315         <cpuid.h>.
23316         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23317         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23318         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23319         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23320         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23321         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23322         * sysdeps/x86_64/ifuncmain8.c: New file.
23323         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23324         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23325         Removed.
23326         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23327         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23328         Change rtld_savespace_sse to __glibc_unused2.
23329         (RTLD_CHECK_FOREIGN_CALL): Removed.
23330         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23331         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23332         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23334 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23336         * sysdeps/aarch64/bzero.S (__bzero): Remove.
23338 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23340         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23341         Unconditionally set __fpcr to avoid uninialized warning.
23342         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23344 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23346         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23347         is corrupt.
23349         * malloc/arena.c (arena_get2): Drop unused argument.
23350         (arena_lock): Adjust.
23351         (arena_get_retry): Likewise.
23353 2015-08-24  Andreas Schwab  <schwab@suse.de>
23355         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23356         Don't define.
23357         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23358         (__ASSUME_IPC64): Don't undef.
23359         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23360         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23361         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23362         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
23363         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
23364         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
23365         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
23366         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
23367         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
23368         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
23369         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
23370         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
23371         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
23372         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
23373         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
23374         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
23375         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
23376         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
23377         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
23378         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
23379         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
23381 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
23383         * manual/Makefile (install): Only build manual when perl is available.
23385 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23387         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
23388         '#undef memcpy' by '#undef memchr'.
23390 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23392         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
23393         memchr not point to the internal __GI_memchr implementation.
23395 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23397         * timezone/Makefile (CFLAGS-zdump.c): Remove
23398         -Wno-strict-prototypes.
23399         (CFLAGS-zic.c): Likewise.
23400         (CFLAGS-ialloc.c): Likewise.
23401         (CFLAGS-scheck.c): Likewise.
23403         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
23404         -Wno-error=undef.
23406 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23408         * i386/i686/multiarch/strcasestr-c.c: Removed.
23409         * x86_64/multiarch/strcasestr.c: Likewise.
23410         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23411         Remove strcasestr.
23413 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23415         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
23417         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
23418         variables for high and low parts before possibly modifying them.
23420 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23422         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
23423         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
23424         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
23425         of "multiarch/init-arch.h".
23426         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
23427         * sysdeps/x86/init-arch.h: This.
23429 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23431         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
23432         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
23434 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
23436         [BZ #17787]
23437         * manual/macros.texi: Add twoexp macro.
23438         * manual/filesys.texi: Fix exponents.
23439         * manual/llio.texi: Likewise.
23440         * manual/stdio.texi: Likewise.
23442 2015-08-20  Florian Weimer  <fweimer@redhat.com>
23444         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
23445         incorrect use.
23447 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23449         [BZ #18370]
23450         * math/s_csqrt.c (__csqrt): Force underflow exception for results
23451         whose real or imaginary part has small absolute value.
23452         * math/s_csqrtf.c (__csqrtf): Likewise.
23453         * math/s_csqrtl.c (__csqrtl): Likewise.
23454         * math/auto-libm-test-in: Add more tests of csqrt.
23455         * math/auto-libm-test-out: Regenerated.
23456         * sysdeps/i386/fpu/libm-test-ulps: Update.
23458 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23460         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
23461         __ppc_set_ppr_very_low): New functions.
23462         * manual/platform.texi: Add documentation about
23463         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
23465 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
23467         * string/stpncpy.c (stpncpy): Improve performance using
23468         __strnlen/memcpy/memset.
23470 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23472         [BZ #18796]
23473         * scripts/test-installation.pl: Don't add -lmvec to build options if
23474         libmvec wasn't built.
23476 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23478         [BZ #14341]
23479         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
23480         case when there is a gap between DT_REL and DT_JMPREL sections.
23481         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
23482         (LDFLAGS-tst-split-dynreloc): New.
23483         (tst-split-dynreloc-ENV): Likewise.
23484         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
23485         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
23487 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23489         [BZ #18822]
23490         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
23491         attribute_hidden.
23492         (__xstat64_conv): Likewise.
23493         (__xstat32_conv): Likewise.
23495 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23497         [BZ #18822]
23498         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23499         Don't load %ebx when calling __setcontext.  Call __setcontext
23500         with HIDDEN_JUMPTARGET.
23501         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
23502         libc_hidden_def.
23504 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23506         * sysdeps/i386/i686/Makefile
23507         [$(subdir) == string] (sysdep_routines): Moved to ...
23508         * sysdeps/i386/Makefile: Here.
23509         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
23510         * sysdeps/i386/cacheinfo.c: Here.
23511         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
23512         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
23513         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
23514         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
23516 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23518         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
23519         __i586__ is defined.
23520         (HAS_I686): Defined to 1 if __i686__ is defined.
23522 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23524         * elf/Makefile [$(have-z-execstack) = yes]
23525         (CPPFLAGS-tst-execstack.c): New variable.
23527         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
23528         conditional to [defined UTMPX || _HAVE_UT_TYPE].
23529         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
23530         UTMPX || _HAVE_UT_TV].
23531         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
23532         UTMPX || _HAVE_UT_TV - 0].
23534 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
23536         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
23537         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
23538         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
23540 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23542         * sysdeps/powerpc/dl-procinfo.c:
23543         (_dl_powerpc_cap_flags): Added missing strings for some
23544         hwcap features.
23545         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
23547 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
23549         Port the 0x7efe...feff pattern to GCC 6.
23550         See Steve Ellcey's bug report in:
23551         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
23552         * string/memrchr.c (MEMRCHR):
23553         * string/rawmemchr.c (RAWMEMCHR):
23554         * string/strchr.c (strchr):
23555         * string/strchrnul.c (STRCHRNUL):
23556         Rewrite code to avoid issues with signed shift overflow.
23558 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
23560         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
23561         whether cpuid is available only if HAS_CPUID is 0.
23562         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
23563         (HAS_I586): Likewise.
23564         (HAS_I686): Likewise.
23566 2015-08-18  Zack Weinberg  <zackw@panix.com>
23568         * misc/Versions (libc): Add GLIBC_2.23.
23570 2015-08-18  Alan Modra  <amodra@gmail.com>
23572         [BZ #18421]
23573         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
23574         .Lp__global.
23575         (_start): Load %dp via .Lp__global.
23576         [!SHARED]: Use .section .rodata.
23578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23580         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
23581         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
23583 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23585         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
23586         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
23588 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23590         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
23591         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
23593 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23595         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
23596         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
23598 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23600         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
23601         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
23603 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23605         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
23606         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
23608 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23610         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
23612 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23614         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
23615         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
23616         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23617         (__ASSUME_LWS_CAS): Delete.
23619 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23621         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
23622         * sysdeps/hppa/configure: Regenerated.
23623         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
23624         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
23625         * sysdeps/hppa/nptl/tls.h: Likewise.
23627 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
23629         [BZ #18823]
23630         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
23631         for scaling up small arguments.
23632         * math/s_csqrtf.c (__csqrtf): Likewise.
23633         * math/s_csqrtl.c (__csqrtl): Likewise.
23634         * math/auto-libm-test-in: Add more tests of csqrt.
23635         * math/auto-libm-test-out: Regenerated.
23637 2015-08-17  Andreas Schwab  <schwab@suse.de>
23639         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
23640         version set GLIBC_2.19.
23642 2015-08-16  Zack Weinberg  <zackw@panix.com>
23644         [BZ #18681]
23645         * misc/regexp.h: This interface is no longer supported.
23646         Remove all contents, leaving only an #error directive.
23647         * misc/regexp.c (loc1, loc2, locs, step, advance):
23648         Demote to compatibility symbols.
23650 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
23652         [BZ #18084]
23653         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
23654         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
23655         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23656         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
23657         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
23658         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
23659         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
23660         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
23661         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23663 2015-08-15  Zack Weinberg  <zackw@panix.com>
23665         [BZ #18795]
23666         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
23667         buffer length is known to be too large, not if it's known to be
23668         small enough.
23669         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
23670         overflow at runtime, involving a length parameter, twice: once
23671         with a compile-time constant length parameter, once without.
23673 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
23675         [BZ #18824]
23676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
23677         scaling x * y up instead of down.
23678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23679         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23680         * math/auto-libm-test-in: Add more tests of fma.
23681         * math/auto-libm-test-out: Regenerated.
23683 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23685         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23687 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23689         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
23690         unnecessary movq.
23691         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
23692         Likewise.
23694 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
23696         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23697         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
23698         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
23699         and tgamma.
23700         * math/auto-libm-test-out: Regenerated.
23701         * sysdeps/i386/fpu/libm-test-ulps: Update.
23702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23704         [BZ #16520]
23705         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
23706         (__tanh): Force underflow exception for arguments with small
23707         absolute value.
23708         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
23709         (__tanhf): Force underflow exception for arguments with small
23710         absolute value.
23711         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
23712         (__tanhl): Force underflow exception for arguments with small
23713         absolute value.
23714         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
23715         (__tanhl): Force underflow exception for arguments with small
23716         absolute value.
23717         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
23718         (__tanhl): Force underflow exception for arguments with small
23719         absolute value.
23720         * math/auto-libm-test-in: Add more tests of tanh.
23721         * math/auto-libm-test-out: Regenerated.
23722         * sysdeps/i386/fpu/libm-test-ulps: Update.
23724 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23726         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
23727         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
23729 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23731         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
23732         <cpuid.h>.
23734 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23736         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
23737         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
23739 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23741         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
23742         Remove $(objpfx)init-arch.o.
23743         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
23744         init-arch.
23745         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
23746         (INIT_ARCH_EXT): Defined as empty.
23747         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
23748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
23749         __init_cpu_features call.  Replace HAS_XXX with
23750         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23751         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
23752         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
23753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
23754         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
23755         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23756         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
23757         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
23758         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
23760         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
23761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23762         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
23763         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
23764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23765         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
23766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
23767         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
23770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
23771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
23773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
23774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
23776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
23777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23778         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
23779         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
23780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23781         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
23782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
23783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
23785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
23787 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23789         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
23790         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23791         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
23792         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
23793         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
23794         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
23795         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
23796         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
23797         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
23798         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
23799         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
23800         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
23801         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23802         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23803         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23804         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23805         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23806         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23807         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23808         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23809         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23810         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23811         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23812         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23813         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23814         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23815         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23816         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23817         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23818         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23819         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23820         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23821         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23822         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23823         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23824         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23825         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23826         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23827         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23828         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23829         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23830         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23831         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23833 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23835         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
23836         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23837         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23838         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23839         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23840         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
23841         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23842         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
23843         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23844         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23845         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23846         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
23847         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
23848         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
23849         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
23850         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
23851         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
23852         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
23853         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
23854         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
23855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
23856         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
23857         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
23858         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23859         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23860         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
23861         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
23862         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
23863         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23864         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23865         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23866         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23867         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23868         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23869         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23870         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23871         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23872         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23873         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23874         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23875         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23876         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23877         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23879 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23881         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
23882         (dl_platform_init): Call init_cpu_features.
23883         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
23884         * sysdeps/i386/i686/cacheinfo.c
23885         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
23886         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
23887         * sysdeps/i386/i686/multiarch/Versions: Removed.
23888         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
23889         Removed.
23890         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
23891         * sysdeps/unix/sysv/linux/x86/Makefile
23892         (libpthread-sysdep_routines): Remove init-arch.
23893         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
23894         <sysdeps/x86_64/dl-procinfo.c> instead of
23895         sysdeps/generic/dl-procinfo.c>.
23896         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
23897         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
23898         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
23899         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
23900         [$(subdir) == elf] (tests-static): Add
23901         tst-get-cpu-features-static.
23902         * sysdeps/x86/Versions: New file.
23903         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
23904         * sysdeps/x86/cpu-features.c: Likewise.
23905         * sysdeps/x86/cpu-features.h: Likewise.
23906         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
23907         * sysdeps/x86/libc-start.c: Likewise.
23908         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
23909         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
23910         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
23911         * sysdeps/x86_64/dl-procinfo.c: Likewise.
23912         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
23913         Assume USE_MULTIARCH is defined and don't check it.
23914         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
23915         (is_amd): Likewise.
23916         (max_cpuid): Likewise.
23917         (intel_check_word): Likewise.
23918         (__cache_sysconf): Don't call __init_cpu_features.
23919         (__x86_preferred_memory_instruction): Removed.
23920         (init_cacheinfo): Don't call __init_cpu_features. Replace
23921         __cpu_features with GLRO(dl_x86_cpu_features).
23922         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
23923         (dl_platform_init): Call init_cpu_features.
23924         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
23925         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
23926         * sysdeps/x86_64/multiarch/Versions: Removed.
23927         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
23928         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
23929         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
23930         Removed.
23931         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
23933 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
23935         [BZ #18820]
23936         * libio/Makefile (test-fmemopen-mem): New test.
23937         * libio/test-fmemopen.c (do_bz18820): New test.
23938         * libio/fmemopen.c (__fmemopen): Fix memory leak.
23939         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
23941 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
23943         [BZ #16734]
23944         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
23945         (FREE_BUF): Delete.
23946         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
23947         * libio/genops.c (_IO_setb): Use malloc and free directly.
23948         (_IO_default_doallocate, _IO_default_finish): Likewise.
23949         ( _IO_unbuffer_all): Likewise.
23950         ( libc_freeres_fn): Likewise.
23951         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23952         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23953         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
23954         (_IO_wdefault_doallocate): Likewise.
23956 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23958         [BZ #18086]
23959         * sysdeps/posix/nice.c (nice): Restore old errno.
23960         * posix/tst-nice.c (do_test): Add test for BZ #18086.
23962 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
23964         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
23966 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23968         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
23969         __bcopy and add a weak_alias to bcopy.
23970         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
23971         for static build.
23973         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
23974         cleanup macro usage.
23975         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
23976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
23977         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
23979         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23980         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
23981         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
23982         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23983         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23984         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
23985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23986         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
23987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23988         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
23989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23990         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
23991         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
23992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
23993         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23995         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
23996         libc_hidden_def.
23997         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
23999         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24000         (sysdep_routines): Add strstr-ppc64.
24001         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24003 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24005         [BZ #18778]
24006         * elf/Makefile (tests): Add Add tst-nodelete2.
24007         (modules-names): Add tst-nodelete2mod.
24008         (tst-nodelete2mod.so-no-z-defs): New.
24009         ($(objpfx)tst-nodelete2): Likewise.
24010         ($(objpfx)tst-nodelete2.out): Likewise.
24011         (LDFLAGS-tst-nodelete2): Likewise.
24012         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24013         out of loop through all loaded libraries.
24014         * elf/tst-nodelete2.c: New file.
24015         * elf/tst-nodelete2mod.c: Likewise.
24016         * elf/tst-znodelete-zlib.cc: Delete.
24018 2015-08-11  Andreas Schwab  <schwab@suse.de>
24020         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24021         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24022         (__openat64_nocancel): Likewise.
24024 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24026         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24027         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24028         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24029         * math/auto-libm-test-out: Regenerated.
24030         * sysdeps/i386/fpu/libm-test-ulps: Update.
24031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24033 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24035         [BZ #18790]
24036         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24037         threshold for returning +/- 1.
24038         * math/auto-libm-test-in: Add more tests of tanh.
24039         * math/auto-libm-test-out: Regenerated.
24040         * sysdeps/i386/fpu/libm-test-ulps: Update.
24042 2015-08-10  Andreas Schwab  <schwab@suse.de>
24044         [BZ #18781]
24045         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24046         MORE_OFLAGS to oflag.
24047         * io/test-lfs.c (do_test): Test openat64.
24049 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24051         [BZ #18789]
24052         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24053         smaller threshold for returning the argument.
24054         * math/auto-libm-test-in: Add more tests of sinh.
24055         * math/auto-libm-test-out: Regenerated.
24056         * sysdeps/i386/fpu/libm-test-ulps: Update.
24058 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24060         [BZ #18674]
24061         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24062         break.
24064 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24066         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24067         (generated): Don't add $(addprefix z.,$(tzfiles)).
24069 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24071         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24072         * scripts/sysd-rules.awk: Likewise.
24074 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24076         * iconvdata/tst-tables.sh: Change echo -n to printf.
24077         * nss/db-Makefile: Likewise.
24078         * posix/tst-getconf.sh: Likewise.
24079         * stdio-common/tst-unbputc.sh: Likewise.
24081 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24083         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24084         MADV_*_PAGES defines behind this feature check.
24086 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24088         [BZ #18480]
24089         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24090         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24091         Define.
24092         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24093         LOAD_REGS_5, LOAD_REGS_6): Update.
24094         (INTERNAL_SYSCALL): Update using new LOAD defines.
24095         (INTERNAL_SYSCALL_NCS): Likewise.
24096         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24098 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24100         [BZ #16734]
24101         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24103 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24105         [BZ #17905]
24106         * catgets/Makefile (tst-catgets-mem): New test.
24107         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24108         * catgets/open_catalog.c (__open_catalog): Likewise.
24109         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24111 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24113         [BZ #18787]
24114         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24115         clobber registers.
24116         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24117         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24118         Cast return to __typeof (oldval).
24120 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24122         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24123         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24124         and delete sys/syscall.h include.
24126 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24128         [BZ #16517]
24129         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24130         (tan): Force underflow exception for arguments with small absolute
24131         value.
24132         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24133         (__kernel_tanf): Force underflow exception for arguments with
24134         small absolute value.
24135         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24136         (__kernel_tanl): Force underflow exception for arguments with
24137         small absolute value.
24138         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24139         (__kernel_tanl): Force underflow exception for arguments with
24140         small absolute value.
24141         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24142         (__kernel_tanl): Force underflow exception for arguments with
24143         small absolute value.
24144         * math/auto-libm-test-in: Add more tests of tan.
24145         * math/auto-libm-test-out: Regenerated.
24147 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24149         Fix sysdeps/i386/fpu/s_scalbn.S build
24151         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24153 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24155         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24157 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24159         Fix gcrt0.o compilation
24161         When static-start-installed-name is different from
24162         start-installed-name, we must not use the shared objects.
24164         * csu/Makefile
24165         (extra-objs): Add gmon-start.o when building shared library and
24166         $(static-start-installed-name) is different from
24167         $(start-installed-name).
24168         $(objpfx)g$(static-start-installed-name): When building shared
24169         library and $(static-start-installed-name) is different from
24170         $(static-start-installed-name), revert to non-shared rule,
24171         i.e. using $(objpfx)% and gmon-start.o.
24173 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24175         [BZ #16519]
24176         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24177         (__ieee754_sinh): Force underflow exception for arguments with
24178         small absolute value.
24179         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24180         (__ieee754_sinhf): Force underflow exception for arguments with
24181         small absolute value.
24182         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24183         (__ieee754_sinhl): Force underflow exception for arguments with
24184         small absolute value.
24185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24186         (__ieee754_sinhl): Force underflow exception for arguments with
24187         small absolute value.
24188         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24189         (__ieee754_sinhl): Force underflow exception for arguments with
24190         small absolute value.
24191         * math/auto-libm-test-in: Add more tests of sinh.
24192         * math/auto-libm-test-out: Regenerated.
24193         * sysdeps/i386/fpu/libm-test-ulps: Update.
24195 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24197         * libio/oldfileops.c: Include unistd.h.
24199 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24201         * stdlib/isomac.c: Include ctype.h.
24203 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24205         * dirent/tst-seekdir.c (main): Converted to ...
24206         (do_test): ... this.
24207         (TEST_FUNCTION): New macro.
24208         Include test-skeleton.c.
24209         * elf/tst-dlmodcount.c (main): Converted to ...
24210         (do_test): ... this.
24211         (TEST_FUNCTION): New macro.
24212         Include test-skeleton.c.
24213         * elf/tst-order-main.c (main): Converted to ...
24214         (do_test): ... this.
24215         (TEST_FUNCTION): New macro.
24216         Include test-skeleton.c.
24217         * elf/tst-pie2.c (main): Converted to ...
24218         (do_test): ... this.
24219         (TEST_FUNCTION): New macro.
24220         Include test-skeleton.c.
24221         * inet/tst-ether_aton.c (main): Converted to ...
24222         (do_test): ... this.
24223         (TEST_FUNCTION): New macro.
24224         Include test-skeleton.c.
24225         * misc/tst-mntent.c (main): Converted to ...
24226         (do_test): ... this.
24227         (TEST_FUNCTION): New macro.
24228         Include test-skeleton.c.
24229         * misc/tst-tsearch.c (main): Converted to ...
24230         (do_test): ... this.
24231         (TEST_FUNCTION): New macro.
24232         Include test-skeleton.c.
24233         * posix/tst-regexloc.c (main): Converted to ...
24234         (do_test): ... this.
24235         (TEST_FUNCTION): New macro.
24236         Include test-skeleton.c.
24237         * resolv/tst-aton.c (main): Converted to ...
24238         (do_test): ... this.
24239         (TEST_FUNCTION): New macro.
24240         Include test-skeleton.c.
24241         * stdio-common/test-fwrite.c (main): Converted to ...
24242         (do_test): ... this.
24243         (TEST_FUNCTION): New macro.
24244         Include test-skeleton.c.
24245         * stdio-common/tst-ferror.c (main): Converted to ...
24246         (do_test): ... this.
24247         (TEST_FUNCTION): New macro.
24248         Include test-skeleton.c.
24249         * stdio-common/tst-printf.c (main): Converted to ...
24250         (do_test): ... this.
24251         (TEST_FUNCTION): New macro.
24252         Include test-skeleton.c.
24253         * stdio-common/tst-printfsz.c (main): Converted to ...
24254         (do_test): ... this.
24255         (TEST_FUNCTION): New macro.
24256         Include test-skeleton.c.
24257         * stdlib/tst-strtod.c (main): Converted to ...
24258         (do_test): ... this.
24259         (TEST_FUNCTION): New macro.
24260         Include test-skeleton.c.
24261         * string/tst-strlen.c (main): Converted to ...
24262         (do_test): ... this.
24263         (TEST_FUNCTION): New macro.
24264         Include test-skeleton.c.
24265         * string/tst-svc.c (main): Converted to ...
24266         (do_test): ... this.
24267         (TEST_FUNCTION): New macro.
24268         Include test-skeleton.c.
24269         * time/tst-strptime.c (main): Converted to ...
24270         (do_test): ... this.
24271         (TEST_FUNCTION): New macro.
24272         Include test-skeleton.c.
24273         * timezone/tst-timezone.c (main): Converted to ...
24274         (do_test): ... this.
24275         (TEST_FUNCTION): New macro.
24276         Include test-skeleton.c.
24278 2015-08-05  Zack Weinberg  <zackw@panix.com>
24280         * misc/regexp.h: Update comments.
24282 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24284         [BZ #18635]
24285         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24286         before return label.
24288 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24290         [BZ #18661]
24291         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24292         when calling __errno_location.
24293         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24294         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24296 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24298         [BZ #18661]
24299         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24300         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24301         __gettimeofday.
24303 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24305         [BZ #18661]
24306         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24307         (__start_context): Don't use pop to restore %rdi so that stack
24308         is aligned to 16 bytes when calling __setcontext.
24310 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24312         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24313         only for libc.
24314         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24316 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24318         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24319         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24320         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24322 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24324         * string/memccpy.c (memccpy):
24325         Improve performance by using memchr/memcpy/__mempcpy.
24327 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24329         * string/strncpy.c (strncpy):
24330         Improve performance by using __strnlen/memcpy.
24332 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24334         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24335         Optimize to avoid an unnecessary FPCR read.
24337 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24339         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24340         Optimize to reduce FPCR/FPSR accesses.
24342 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24344         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24345         dead->data[category] != NULL.
24347 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
24349         [BZ #18647]
24350         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24351         and |x| close to 1, use absolute value of x when computing log.
24352         * math/auto-libm-test-in: Add more tests of pow.
24353         * math/auto-libm-test-out: Regenerated.
24355 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24357         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
24358         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
24359         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
24361 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
24363         [BZ #18525]
24364         * locales/km_KH: Remove timezone definition.
24365         * locales/lo_LA: Likewise.
24366         * locales/my_MM: Likewise.
24367         * locales/nan_TW@latin: Likewise.
24368         * locales/th_TH: Likewise.
24369         * locales/uk_UA: Likewise.
24371 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24373         [BZ #18265]
24374         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
24375         (wcsncat): Likewise.
24376         (wcscmp): Likewise.
24377         (wcsncmp): Likewise.
24379 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24381         * test-skeleton.c (usage): New function.
24382         (main): Call usage when opt is '?'.
24384 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24386         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
24387         before first use.
24389 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24391         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
24392         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
24393         in there too.
24395 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
24397         * version.h (RELEASE): Set to "development".
24398         (VERSION): Set to "2.22.90"
24400         * version.h (RELEASE): Set to "stable".
24401         (VERSION): Set to "2.22"
24402         * include/features.h (__GLIBC_MINOR__): Set to 22.
24404 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
24406         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
24407         Restructure macro to avoid "value computed is not used" warning.
24408         (atomic_compare_and_exchange_val_acq): Likewise.
24410 2015-08-04  Andreas Schwab  <schwab@suse.de>
24412         [BZ #18635]
24413         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
24414         ret.
24415         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
24417 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
24419         * po/pl.po: Updated translation.
24420         * po/uk.po: Likewise.
24421         * po/fi.po: Likewise.
24422         * po/ko.po: Likewise.
24423         * po/ru.po: Likewise.
24424         * po/vi.po: Likewise.
24426 2015-07-31  Zack Weinberg  <zackw@panix.com>
24428         [BZ #18681]
24429         * regexp.h: Add unconditional #warning stating that this header
24430         will be removed soon.  Revise banner comment to match.
24431         (compile): Consistently use ERROR instead of RETURN to report
24432         errors (partial fix for bz#18681).
24433         * regexp.c: Don't include regexp.h. Remove some unnecessary
24434         declarations.
24436 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
24438         * po/libc.pot: Regenerated.
24440 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24442         [BZ #18740]
24443         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
24444         float-vlen4-arch-ext-cflags): Removed.
24445         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
24446         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
24448 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24450         [BZ #14113]
24451         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
24452         aligned to __aligned__.
24453         (pthread_cond_t, pthread_rwlock_t): Likewise.
24455 2015-07-30  Torvald Riegel  <triegel@redhat.com>
24457         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
24459 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24461         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
24462         (struct sigaction): Change sa_flags from a long to an int, and add
24463         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
24465 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24467         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
24468         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
24469         sysdeps/generic/sysdep.h include.
24470         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
24471         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
24472         sysdeps/hppa/sysdep.h.
24473         (ENTRY, PSEUDO): Undefine before defining.
24475 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24477         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
24478         from scratch to use INTERNAL_SYSCALL.
24480 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
24482         [BZ #18078]
24483         * scripts/check-localplt.awk: Support alternate relocations.
24484         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
24485         sections.
24486         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
24487         malloc entries with + REL R_386_GLOB_DAT.
24488         * sysdeps/x86_64/localplt.data: New file.
24490 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
24492         [BZ #18731]
24493         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
24494         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24495         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24497 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24499         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
24501 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24503         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
24504         directly in terms of __sync_fetch_and_add and delete (int) cast.
24506 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24508         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
24509         the -D_ASM_IA64_CURRENT_H flag.
24511 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24513         [BZ #18641]
24514         * pwd/pwd.h (putpwent): Delete __nonnull markings.
24516 2015-07-27  Andreas Schwab  <schwab@suse.de>
24518         * conform/conformtest.pl (checknamespace): Filter out string
24519         literals while tokenizing.
24521 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24523         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24524         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
24525         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24527 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24529         * nptl/tst-join7mod.c: Add #include <string.h>.
24531 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24533         * sysdeps/nios2/libm-test-ulps: Update.
24535 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24537         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
24538         Fix order of arguments to the rt_sigprocmask syscall.
24539         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
24540         Likewise.
24542 2015-07-24  Roland McGrath  <roland@hack.frob.com>
24544         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
24546 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24548         [BZ #18457]
24549         * nptl/Makefile (tests): New test case tst-join7.
24550         (modules-names): New test case module tst-join7mod.
24551         * nptl/tst-join7.c: New file.
24552         * nptl/tst-join7mod.c: New file.
24553         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
24554         all translation units in libc.so, libpthread.so and rtld.
24556 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24560 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24562         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
24563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24564         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24565         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24566         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24567         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24568         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24569         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24572         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24574         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
24575         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
24576         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
24577         implementation.
24579 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24581         [BZ #17711]
24582         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24583         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
24584         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24585         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24586         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
24587         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24589 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24591         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
24592         instead of just saying load lock in the comments.
24594 2015-07-23  Roland McGrath  <roland@hack.frob.com>
24596         * sysdeps/unix/Subdirs: Moved ...
24597         * sysdeps/posix/Subdirs: ... here.
24598         * login/pty.h (struct termios, struct winsize): Add forward decls.
24599         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
24600         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
24601         * sysdeps/arm/nacl/libc.abilist: Updated.
24602         * sysdeps/nacl/libutil.abilist: New file.
24604         * bits/signum.h: Update comments to mention 1003.1-2013 too.
24605         (SIGWINCH): New macro.
24607         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
24608         * sysdeps/arm/nacl/libc.abilist: Add it.
24610 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
24612         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
24614 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
24616         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24617         Swap __glibc_reserved0 and sa_flags order.
24619 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24621         [BZ #18657]
24622         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
24623         are pending TLS destructor calls.
24624         * include/link.h (struct link_map): Add concurrency note for
24625         L_TLS_DTOR_COUNT.
24626         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24627         Don't touch the link map flag.  Atomically increment
24628         l_tls_dtor_count.
24629         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
24630         Avoid taking the load lock and don't touch the link map flag.
24631         * stdlib/tst-tls-atexit-nodelete.c: New test case.
24632         * stdlib/Makefile (tests): Use it.
24633         * stdlib/tst-tls-atexit.c (do_test): dlopen
24634         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
24635         to allow tst-tls-atexit-nodelete test case to use it.
24637 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24639         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
24640         to bits/types.h.
24641         (msgqnum_t): New typedef.
24642         (msglen_t): Likewise.
24643         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
24644         and msg_qbytes type to msglen_t.
24646 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24648         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
24649         pad0 to __glibc_reserved0.
24650         (struct stat64): Likewise.
24652 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24654         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24655         Change sa_flags from a long to an int and add __glibc_reserved0 before
24656         it for padding.
24658 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24660         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
24661         anonymous by deleting "siginfo" name.
24663 2015-07-21  Roland McGrath  <roland@hack.frob.com>
24665         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
24666         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
24667         rather than __nacl_irt_filename.
24668         * sysdeps/nacl/xstat.c (__xstat): Likewise.
24670         * NEWS: New item for arm-nacl port.
24671         * sysdeps/arm/nacl/libc.abilist: New file.
24672         * sysdeps/nacl/ld.abilist: New file.
24673         * sysdeps/nacl/libBrokenLocale.abilist: New file.
24674         * sysdeps/nacl/libanl.abilist: New file.
24675         * sysdeps/nacl/libcrypt.abilist: New file.
24676         * sysdeps/nacl/libdl.abilist: New file.
24677         * sysdeps/nacl/libm.abilist: New file.
24678         * sysdeps/nacl/libpthread.abilist: New file.
24679         * sysdeps/nacl/libresolv.abilist: New file.
24680         * sysdeps/nacl/librt.abilist: New file.
24682 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
24684         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
24685         __startcontext to initialize the new context.
24686         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
24687         up CFI directive to forbid further backtracing.
24689 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
24691         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
24692         reference.
24693         * charmaps/ANSI_X3.4-1968: Likewise.
24694         * charmaps/BS_4730: Likewise.
24695         * charmaps/BS_VIEWDATA: Likewise.
24696         * charmaps/CP1250: Likewise.
24697         * charmaps/CP1251: Likewise.
24698         * charmaps/CP1252: Likewise.
24699         * charmaps/CP1253: Likewise.
24700         * charmaps/CP1254: Likewise.
24701         * charmaps/CP1255: Likewise.
24702         * charmaps/CP1256: Likewise.
24703         * charmaps/CSN_369103: Likewise.
24704         * charmaps/EBCDIC-DK-NO: Likewise.
24705         * charmaps/GB_1988-80: Likewise.
24706         * charmaps/GREEK-CCITT: Likewise.
24707         * charmaps/GREEK7: Likewise.
24708         * charmaps/INIS-8: Likewise.
24709         * charmaps/ISIRI-3342: Likewise.
24710         * charmaps/ISO_2033-1983: Likewise.
24711         * charmaps/ISO_5427-EXT: Likewise.
24712         * locales/POSIX: Likewise.
24713         * locales/ar_SA: Likewise.
24714         * locales/be_BY: Likewise.
24715         * locales/be_BY@latin: Likewise.
24716         * locales/ca_ES: Likewise.
24717         * locales/cs_CZ: Likewise.
24718         * locales/da_DK: Likewise.
24719         * locales/de_BE: Likewise.
24720         * locales/de_CH: Likewise.
24721         * locales/de_LU: Likewise.
24722         * locales/en_AU: Likewise.
24723         * locales/en_BW: Likewise.
24724         * locales/en_CA: Likewise.
24725         * locales/en_DK: Likewise.
24726         * locales/en_GB: Likewise.
24727         * locales/en_IE: Likewise.
24728         * locales/en_NZ: Likewise.
24729         * locales/en_ZA: Likewise.
24730         * locales/en_ZW: Likewise.
24731         * locales/es_AR: Likewise.
24732         * locales/es_BO: Likewise.
24733         * locales/es_CL: Likewise.
24734         * locales/es_CO: Likewise.
24735         * locales/es_DO: Likewise.
24736         * locales/es_EC: Likewise.
24737         * locales/es_ES: Likewise.
24738         * locales/es_HN: Likewise.
24739         * locales/es_MX: Likewise.
24740         * locales/es_PA: Likewise.
24741         * locales/es_PE: Likewise.
24742         * locales/es_PY: Likewise.
24743         * locales/es_SV: Likewise.
24744         * locales/es_US: Likewise.
24745         * locales/es_UY: Likewise.
24746         * locales/es_VE: Likewise.
24747         * locales/et_EE: Likewise.
24748         * locales/fa_IR: Likewise.
24749         * locales/fo_FO: Likewise.
24750         * locales/fr_CA: Likewise.
24751         * locales/fr_CH: Likewise.
24752         * locales/gv_GB: Likewise.
24753         * locales/he_IL: Likewise.
24754         * locales/hr_HR: Likewise.
24755         * locales/id_ID: Likewise.
24756         * locales/is_IS: Likewise.
24757         * locales/it_CH: Likewise.
24758         * locales/iw_IL: Likewise.
24759         * locales/kl_GL: Likewise.
24760         * locales/ko_KR: Likewise.
24761         * locales/kw_GB: Likewise.
24762         * locales/lg_UG: Likewise.
24763         * locales/lt_LT: Likewise.
24764         * locales/lv_LV: Likewise.
24765         * locales/mi_NZ: Likewise.
24766         * locales/nhn_MX: Likewise.
24767         * locales/nl_BE: Likewise.
24768         * locales/pl_PL: Likewise.
24769         * locales/sk_SK: Likewise.
24770         * locales/sl_SI: Likewise.
24771         * locales/sv_FI: Likewise.
24772         * locales/tl_PH: Likewise.
24773         * locales/tr_TR: Likewise.
24774         * locales/vi_VN: Likewise.
24776 2015-07-21  Khem Raj  <raj.khem@gmail.com>
24778         [BZ #17475]
24779         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
24780         of tu_IN and bh_IN.
24782 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
24784         [BZ #18694]
24785         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
24786         bits/wordsize.h.
24787         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
24789 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24791         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
24792         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
24793         (spawn_thread): New function.
24794         (load): Rename to reg_dtor_and_close.  Move dlopen to...
24795         (do_test): ... here.  Use IS_LOADED to test for its
24796         availability.
24798 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
24800         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24802 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
24804         [BZ #18696]
24805         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
24806         si_addr_bnd.
24807         (si_lower): New.
24808         (si_upper): Likewise.
24810 2015-07-16  David S. Miller  <davem@davemloft.net>
24812         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
24814 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24816         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
24817         buffer.
24818         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
24819         fail output information.
24821 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
24824         and strstr-ppc64..
24825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24826         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
24827         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
24828         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
24829         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
24831 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
24833         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24834         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24835         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24836         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24838 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
24840         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24841         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
24842         rtld_hidden_proto.
24843         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
24845 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24847         * tst-nodelete-opened.c (do_test): Add comment to clarify how
24848         the test can fail.
24850         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
24852         [BZ #18676]
24853         * elf/tst-nodelete-opened.c: New test case.
24854         * elf/tst-nodelete-opened-lib.c: New test case module.
24855         * elf/Makefile (tests, modules-names): Use them.
24856         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
24857         early.
24859 2015-07-15  David S. Miller  <davem@davemloft.net>
24861         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
24862         futex-intenal.h
24863         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
24864         * sysdeps/sparc/sparc64/Makefile: Likewise.
24865         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24866         Remove space from macro define.
24867         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
24869 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
24871         [BZ #17475]
24872         * locale/iso-639.def: Update Bhili and Tulu language codes as
24873         per iso639-3.
24875 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
24877         * elf/tst-leaks1.c (main): Converted to ...
24878         (do_test): ... this.
24879         (TEST_FUNCTION): New macro.
24880         Include test-skeleton.c.
24881         * localedata/tst-langinfo.c (main): Converted to ...
24882         (do_test): ... this.
24883         (TEST_FUNCTION): New macro.
24884         Include test-skeleton.c.
24885         * math/test-fpucw.c (main): Converted to ...
24886         (do_test): ... this.
24887         (TEST_FUNCTION): New macro.
24888         Include test-skeleton.c.
24889         * math/test-tgmath.c (main): Converted to ...
24890         (do_test): ... this.
24891         (TEST_FUNCTION): New macro.
24892         Include test-skeleton.c.
24893         * math/test-tgmath2.c (main): Converted to ...
24894         (do_test): ... this.
24895         (TEST_FUNCTION): New macro.
24896         Include test-skeleton.c.
24897         * setjmp/tst-setjmp.c (main): Converted to ...
24898         (do_test): ... this.
24899         (TEST_FUNCTION): New macro.
24900         Include test-skeleton.c.
24901         * stdio-common/tst-sscanf.c (main): Converted to ...
24902         (do_test): ... this.
24903         (TEST_FUNCTION): New macro.
24904         Include test-skeleton.c.
24905         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
24906         (do_test): ... this.
24907         (TEST_FUNCTION): New macro.
24908         Include test-skeleton.c.
24910         * elf/tst-audit9.c (main): Converted to ...
24911         (do_test): ... this.
24912         (TEST_FUNCTION): New macro.
24913         Include test-skeleton.c.
24915 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
24917         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
24919 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24921         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
24922         New variable.
24924 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24926         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24928 2015-07-14  Roland McGrath  <roland@hack.frob.com>
24930         * sysdeps/generic/dl-fileid.h: New file.
24931         * sysdeps/posix/dl-fileid.h: New file.
24932         * sysdeps/nacl/dl-fileid.h: New file.
24933         * include/link.h: Include <dl-fileid.h>.
24934         (struct link_map): Replace l_dev and l_ino with l_file_id.
24935         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
24936         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
24937         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
24939 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24941         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
24943 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24945         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
24946         Add iff $CXX is set.
24947         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
24948         Likewise.
24949         (tst-nodelete-zmodiff): Likewise.
24950         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
24952 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24954         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
24956 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
24958         * sysdeps/aarch64/fpu/math_private.h
24959         (define math_opt_barrier): Add AArch64 version.
24960         (math_force_eval): Likewise.
24962 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
24964         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
24966 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
24968         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
24969         %ld with %jd and cast to intmax_t.
24970         (do_test_length_zero): Likewise.
24972 2015-07-10  Roland McGrath  <roland@hack.frob.com>
24974         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
24976 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
24978         * sysdeps/tile/libm-test-ulps: Regenerated.
24980         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
24981         Comment out the whole function, not just its body.
24983 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24985         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
24986         locks.
24988         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
24990 2015-07-10  Torvald Riegel  <triegel@redhat.com>
24992         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
24993         (sem_assume_only_signals_cause_futex_EINTR): Remove.
24995 2015-07-10  Torvald Riegel  <triegel@redhat.com>
24997         * sysdeps/nptl/futex-internal.h: New file.
24998         * sysdeps/nacl/futex-internal.h: New file.
24999         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25000         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25001         error checking.
25002         (setxid_unmark_thread): Likewise.
25003         (__nptl_setxid): Likewise.
25004         (__wait_lookup_done): Likewise.
25005         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25006         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25007         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25008         * nptl/pthread_once.c (clear_once_control): Likewise.
25009         (__pthread_once_slow): Likewise.
25010         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25011         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25012         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25013         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25014         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25015         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25016         Likewise.
25017         (__pthread_rwlock_rdlock): Likewise.
25018         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25019         Likewise.
25020         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25021         Likewise.
25022         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25023         Likewise.
25024         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25025         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25026         Likewise.
25027         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25028         __ASSUME_PRIVATE_FUTEX check.
25029         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25030         Check that shared futexes are supported.
25031         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25032         wrappers with error checking.
25033         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25034         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25035         * nptl/pthread_barrierattr_setpshared.c
25036         (pthread_barrierattr_setpshared): Check that shared futexes are
25037         supported.
25038         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25039         Likewise.
25040         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25041         Likewise.
25042         * nptl/sem_init.c (futex_private_if_supported): Remove.
25043         (__new_sem_init): Adapt and check that shared futexes are supported.
25044         * nptl/sem_open.c (sem_open): Likewise.
25045         * nptl/sem_post.c (futex_wake): Remove.
25046         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25047         (do_futex_wait): Use futex wrappers with error checking.
25048         * nptl/sem_wait.c: Include lowlevellock.h.
25049         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25050         Use futex_supports_pshared.
25051         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25052         Use futex wrappers with error checking.
25053         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25054         Likewise.
25055         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25056         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25057         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25058         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25059         (futex_wake): Likewise.
25060         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25061         (do_futex_wait): Use futex wrappers with error checking.
25062         (__new_sem_wait_slow): Update EINTR handling.
25063         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25065 2015-07-09  Martin Sebor  <msebor@redhat.com>
25067         [BZ #18435]
25068         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25069         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25070         * nptl/Makefile (test-xfail-tst-once5): Define.
25072 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25074         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25075         * elf/dl-minimal.c: For readability, reorder some definitions and
25076         introduce more page breaks.  Include <stdio.h>.
25077         (__libc_fatal): New function.
25079         * include/unistd.h: Add rtld_hidden_proto for _exit.
25080         * posix/_exit.c: Add rtld_hidden_def.
25081         * sysdeps/mach/hurd/_exit.c: Likewise.
25082         * sysdeps/nacl/_exit.c: Likewise.
25083         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25084         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25086 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25088         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25089         bndmov encoding with zero displacement.
25091 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25092             H.J. Lu  <hongjiu.lu@intel.com>
25094         [BZ #18134]
25095         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25096         * sysdeps/i386/configure: Regenerated.
25097         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25098         (_dl_runtime_profile): Save and restore Intel MPX return bound
25099         registers when calling _dl_call_pltexit.  Add
25100         PRESERVE_BND_REGS_PREFIX before return.
25101         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25102         (LRV_BND1_OFFSET): Likewise.
25103         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25104         lrv_bnd1.
25105         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25106         typo in bndmov encoding.
25107         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25108         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25109         branch instructions to preserve bounds.
25111 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25114         [GLIBC_2.22]: Add fmemopen.
25116 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25118         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25119         returns an error, also try to use host port from __mach_host_self for
25120         the __vm_wire call.
25121         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25123 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25125         [BZ #18400]
25126         [BZ #18648]
25127         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25128         Fix pr_uid and pr_gid members.
25129         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25130         definition to elf_greg_t.
25132 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25134         [BZ #18383]
25135         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25136         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25137         * sysdeps/arm/configure: Regenerated.
25138         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25139         (test-xfail-tst-tlsalign-static): Variable removed.
25141         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25142         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25143         rather than explicit 'ln -s'.
25145         * resolv/rpc/netdb.h: New file.
25146         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25148 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25150         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25151         length buffers.
25152         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25153         test-skeleton.c.
25155         [BZ #6544]
25156         [BZ #11216]
25157         [BZ #12836]
25158         [BZ #13151]
25159         [BZ #13152]
25160         [BZ #14292]
25161         * include/stdio.h (fmemopen): Remove hidden prototype.
25162         (__fmemopen): Add new hidden prototype.
25163         * libio/Makefile: Add oldfmemopen object.
25164         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25165         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25166         compliance.
25167         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25168         symbol compatibility.
25169         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25170         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25171         fmemopen.
25172         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25173         on append and read mode.
25174         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25175         fmemopen.
25176         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25177         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25178         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25179         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25180         Likewise.
25181         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25182         [GLIBC_2.22]: Likewise.
25183         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25184         Likewise.
25185         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25186         Likewise.
25187         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25188         [GLIBC_2.22]: Likewise.
25189         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25190         [GLIBC_2.22]: Likewise.
25191         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25192         [GLIBC_2.22]: Likewise.
25193         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25194         [GLIBC_2.22]: Likewise.
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25196         [GLIBC_2.22]: Likewise.
25197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25198         [GLIBC_2.22]: Likewise.
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25200         [GLIBC_2.22]: Likewise.
25201         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25202         Likewise.
25203         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25204         Likewise.
25205         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25206         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25207         [GLIBC_2.22]: Likewise.
25208         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25209         [GLIBC_2.22]: Likewise.
25210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25211         [GLIBC_2.22]: Likewise.
25212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25213         [GLIBC_2.22]: Likewise.
25214         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25215         Likewise.
25216         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25217         Likewise.
25218         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25219         Likewise.
25220         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25221         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25223 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25225         [BZ #18643]
25226         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25227         IPV6_PATHMTU, and IPV6_DONTFRAG.
25229 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25231         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25232         and _IO_UNBUFFERED.
25233         * libio/oldfileops.c: Likewise.
25234         * libio/wfileops.c: Likewise.
25236 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25238         * nscd/selinux.c: Delete selinux/flask.h include.
25240 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25242         [BZ #18641]
25243         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25244         (putpwent): Likewise.
25245         (getpwnam): Likewise.
25246         (getpwent_r): Likewise.
25247         (getpwuid_r): Likewise.
25248         (getpwnam_r): Likewise.
25249         (fgetpwent_r): Likewise.
25251 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25253         [BZ #18557]
25254         * inet/rcmd.c (__validuser2_sa): Check user first to
25255         short-circuit host check.
25257 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25258             Mikhail Ilin  <m.ilin@samsung.com>
25260         [BZ #17833]
25261         * elf/Makefile (tests): Add tst-nodelete.
25262         (modules-names): Add tst-nodelete-uniquemod.
25263         (tst-nodelete-uniquemod.so-no-z-defs): New.
25264         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25265         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25266         ($(objpfx)tst-nodelete): Likewise.
25267         ($(objpfx)tst-nodelete.out): Likewise.
25268         (LDFLAGS-tst-nodelete): Likewise.
25269         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25270         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25271         implement forced object deletion.
25272         (_dl_close): Pass false to _dl_close_worker.
25273         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25274         * elf/tst-nodelete.cc: New file.
25275         * elf/tst-nodeletelib.cc: Likewise.
25276         * elf/tst-znodeletelib.cc: Likewise.
25277         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25279 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25281         [BZ #18508]
25282         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25283         Depend on $(libdl).
25284         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25285         is not called infinitely times.
25286         (backtrace_helper): New function.
25287         (trace_arg): New struct.
25288         (st1): Enlarge stack size.
25289         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25290         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25291         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25292         Likewise.
25294 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25296         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25298 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25300         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25301         Include sys/types.h instead of bits/types.h.
25302         Remove inclusion of bits/wordsize.h.
25304 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25306         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25307         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25308         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25309         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25310         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25311         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25313 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25315         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25316         link-defines.sym.
25317         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25318         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25319         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25320         and LR_SIZE.
25321         * sysdeps/i386/link-defines.sym: New file.
25323 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25325         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25326         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25327         ($(objpfx)tst-audit3): New rule.
25328         ($(objpfx)tst-audit3.out): Likewise.
25329         * sysdeps/i386/tst-audit3.c: New file.
25330         * sysdeps/i386/tst-audit3.h: Likewise.
25331         * sysdeps/i386/tst-auditmod3a.c: Likewise.
25332         * sysdeps/i386/tst-auditmod3b.c: Likewise.
25334 2015-07-07  Torvald Riegel  <triegel@redhat.com>
25336         [BZ #18633]
25337         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25338         pointer in C code.
25339         (__strcat_c): Likewise.
25340         (__strcat_g): Likewise.
25342 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
25344         [BZ #18592]
25345         * misc/sbrk.c: Set errno to ENOMEM on overflow.
25347 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25349         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25350         New function.  (__ieee754_sqrtf): New function.
25351         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25352         New function.
25353         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25354         New function.
25356 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25358         * sysdeps/ieee754/support.c: Remove unused file.
25360 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25362         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
25363         registers instead of d ones so the layout is kernel abi compatible.
25364         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
25365         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
25366         Likewise.
25368 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25370         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25372 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25374         [BZ #18619]
25375         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
25376         and return argument in case of subnormal argument.
25378 2015-07-01  Martin Sebor  <msebor@redhat.com>
25380         [BZ #18435]
25381         * nptl/Makefile: Add tst-once5.cc.
25382         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25383         Remove macro redefinitions.
25384         * nptl/tst-once5.cc: New test.
25386 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25388         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25390         * sysdeps/arm/libm-test-ulps: Regenerated.
25392         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25393         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25395 2015-06-30  Torvald Riegel  <triegel@redhat.com>
25397         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
25398         lll_lock_wait_private and lll_futex_wake probes.
25400         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
25402         Likewise.
25403         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
25404         atomic_spin_nop.
25405         * sysdeps/x86_64/bits/atomic.h: Likewise.
25406         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
25407         to atomic_spin_nop and move ...
25408         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25409         ... here and ...
25410         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
25411         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
25412         atomic_spin_nop instead of BUSY_WAIT_NOP.
25413         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
25414         Likewise.
25415         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
25416         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25417         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
25418         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
25419         instead of atomic_delay.
25421 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
25423         [BZ #18613]
25424         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
25425         X_ADJ not X when adjusting exponent.
25426         (__ieee754_gamma_r): Do intermediate computations in
25427         round-to-nearest then adjust overflowing and underflowing results
25428         as needed.
25429         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
25430         of X_ADJ not X when adjusting exponent.
25431         (__ieee754_gammaf_r): Do intermediate computations in
25432         round-to-nearest then adjust overflowing and underflowing results
25433         as needed.
25434         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
25435         log of X_ADJ not X when adjusting exponent.
25436         (__ieee754_gammal_r): Do intermediate computations in
25437         round-to-nearest then adjust overflowing and underflowing results
25438         as needed.  Use 1.0L not 1.0f as numerator of division.
25439         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
25440         log of X_ADJ not X when adjusting exponent.
25441         (__ieee754_gammal_r): Do intermediate computations in
25442         round-to-nearest then adjust overflowing and underflowing results
25443         as needed.  Use 1.0L not 1.0f as numerator of division.
25444         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
25445         of X_ADJ not X when adjusting exponent.
25446         (__ieee754_gammal_r): Do intermediate computations in
25447         round-to-nearest then adjust overflowing and underflowing results
25448         as needed.  Use 1.0L not 1.0f as numerator of division.
25449         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
25450         to auto-libm-test-in.
25451         (tgamma_test): Use ALL_RM_TEST.
25452         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
25453         tests of tgamma with spurious-overflow.
25454         * math/auto-libm-test-out: Regenerated.
25455         * math/gen-libm-have-vector-test.sh: Do not check for START.
25456         * sysdeps/i386/fpu/libm-test-ulps: Update.
25457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25459         [BZ #18612]
25460         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
25461         arguments, just return 0.5 times the argument, with underflow
25462         forced as needed.
25463         * math/auto-libm-test-in: Add more tests of j1.
25464         * math/auto-libm-test-out: Regenerated.
25466         [BZ #16559]
25467         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
25468         (__ieee754_j1): Force underflow exception for small results.
25469         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25470         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
25471         (__ieee754_j1f): Force underflow exception for small results.
25472         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25473         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25475         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
25476         (__ieee754_j1l): Force underflow exception for small results.
25477         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25478         * math/auto-libm-test-in: Add more tests of j1 and jn.
25479         * math/auto-libm-test-out: Regenerated.
25481         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
25482         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
25483         (PF_MPLS): Likewise.
25484         (AF_IB): Likewise.
25485         (AF_MPLS): Likewise.
25486         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
25487         value and macro.
25488         (MS_RMT_MASK): Include MS_LAZYTIME.
25490 2015-06-26  Mel Gorman  <mgorman@suse.de>
25492         [BZ #18502]
25493         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
25494         already minimal.
25496 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
25498         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
25499         (DT_MIPS_NUM): Update.
25500         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
25501         DT_MIPS_RLD_MAP_REL.
25503 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
25505         [BZ #16559]
25506         [BZ #18602]
25507         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
25508         round-to-nearest internally then recompute results that
25509         underflowed to zero in the original rounding mode.
25510         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25511         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25513         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25514         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
25515         * sysdeps/i386/fpu/libm-test-ulps: Update.
25516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25518 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25520         * NEWS: Fixed description of link with vector math library.
25522 2015-06-25  Andreas Schwab  <schwab@suse.de>
25524         [BZ #18549]
25525         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
25526         * libio/test-fmemopen.c (do_test): Add test for it.
25528 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
25530         [BZ #17841]
25531         * Makeconfig (no-pie-ldflag): New.
25532         (+link): Set to $(+link-pie) if default to PIE.
25533         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
25534         * config.make.in (build-pie-default): New.
25535         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
25536         is default.  AC_SUBST.
25537         * configure: Regenerated.
25538         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
25540 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25542         * nptl/descr.h (struct pthread): Change type of field setxid_futex
25543         to 'unsigned int'.
25545         * resolv/gai_misc.h (struct waitlist): Change type of field
25546         counterp to 'volatile unsigned int *'.
25547         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
25548         FUTEXADDR and OLDVAL.
25549         * resolv/getaddrinfo_a.c (getaddrinfo_a):
25550         Give local variable TOTAL type 'volatile unsigned int'.
25551         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25552         * resolv/gai_suspend.c (gai_suspend):
25553         Give local variable CNTR type 'unsigned int'.
25555         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
25556         counterp to 'volatile unsigned int *'.
25557         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
25558         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
25559         (aio_suspend): Give local variable CNTR type 'unsigned int'.
25560         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
25561         Give local variable TOTAL type 'volatile unsigned int'.
25562         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25564 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25566         [BZ #18383]
25567         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
25568         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
25569         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
25570         comment for i386/x86-64.
25571         (test-xfail-tst-tlsalign-extern-static): Removed.
25573 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25575         * math/test-double.h: New file.
25576         * math/test-float.h: Likewise.
25577         * math/test-ldouble.h: Likewise.
25578         * math/test-math-inline.h: Likewise.
25579         * math/test-math-no-inline.h: Likewise.
25580         * math/test-math-scalar.h: Likewise.
25581         * math/test-math-vector.h: Likewise.
25582         * math/test-vec-loop.h: Remove file.  Contents moved into
25583         test-math-vector.h.
25584         * math/libm-test.inc (MATHCONST): Do not document macro.
25585         * math/test-double.c: Include test-double.h, test-math-no-inline.h
25586         and test-math-scalar.h.
25587         (FUNC): Remove macro.
25588         (FUNC_TEST): Likewise.
25589         (FLOAT): Likewise.
25590         (MATHCONST): Likewise.
25591         (PRINTF_EXPR): Likewise.
25592         (PRINTF_XEXPR): Likewise.
25593         (PRINTF_NEXPR): Likewise.
25594         (TEST_DOUBLE): Likewise.
25595         (TEST_MATHVEC): Likewise.
25596         (__NO_MATH_INLINES): Likewise.
25597         * math/test-float.c: Include test-float.h, test-math-no-inline.h
25598         and test-math-scalar.h.
25599         (FUNC): Remove macro.
25600         (FUNC_TEST): Likewise.
25601         (FLOAT): Likewise.
25602         (MATHCONST): Likewise.
25603         (PRINTF_EXPR): Likewise.
25604         (PRINTF_XEXPR): Likewise.
25605         (PRINTF_NEXPR): Likewise.
25606         (TEST_FLOAT): Likewise.
25607         (TEST_MATHVEC): Likewise.
25608         (__NO_MATH_INLINES): Likewise.
25609         * math/test-idouble.c: Include test-double.h, test-math-inline.h
25610         and test-math-scalar.h.
25611         (FUNC): Remove macro.
25612         (FUNC_TEST): Likewise.
25613         (FLOAT): Likewise.
25614         (MATHCONST): Likewise.
25615         (PRINTF_EXPR): Likewise.
25616         (PRINTF_XEXPR): Likewise.
25617         (PRINTF_NEXPR): Likewise.
25618         (TEST_DOUBLE): Likewise.
25619         (TEST_MATHVEC): Likewise.
25620         (TEST_INLINE): Likewise.
25621         (__NO_MATH_INLINES): Likewise.
25622         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
25623         test-math-scalar.h.
25624         (FUNC): Remove macro.
25625         (FUNC_TEST): Likewise.
25626         (FLOAT): Likewise.
25627         (MATHCONST): Likewise.
25628         (PRINTF_EXPR): Likewise.
25629         (PRINTF_XEXPR): Likewise.
25630         (PRINTF_NEXPR): Likewise.
25631         (TEST_FLOAT): Likewise.
25632         (TEST_MATHVEC): Likewise.
25633         (TEST_INLINE): Likewise.
25634         (__NO_MATH_INLINES): Likewise.
25635         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
25636         and test-math-scalar.h.
25637         (FUNC): Remove macro.
25638         (FUNC_TEST): Likewise.
25639         (FLOAT): Likewise.
25640         (MATHCONST): Likewise.
25641         (PRINTF_EXPR): Likewise.
25642         (PRINTF_XEXPR): Likewise.
25643         (PRINTF_NEXPR): Likewise.
25644         (TEST_LDOUBLE): Likewise.
25645         (TEST_MATHVEC): Likewise.
25646         (TEST_INLINE): Likewise.
25647         (__NO_MATH_INLINES): Likewise.
25648         * math/test-ldouble.c: Include test-ldouble.h,
25649         test-math-no-inline.h and test-math-scalar.h.
25650         (FUNC): Remove macro.
25651         (FUNC_TEST): Likewise.
25652         (FLOAT): Likewise.
25653         (MATHCONST): Likewise.
25654         (PRINTF_EXPR): Likewise.
25655         (PRINTF_XEXPR): Likewise.
25656         (PRINTF_NEXPR): Likewise.
25657         (TEST_LDOUBLE): Likewise.
25658         (TEST_MATHVEC): Likewise.
25659         (__NO_MATH_INLINES): Likewise.
25660         * math/test-double-vlen2.h: Include test-double.h,
25661         test-math-no-inline.h and test-math-vector.h.
25662         (FLOAT): Remove macro.
25663         (FUNC): Likewise.
25664         (MATHCONST): Likewise.
25665         (PRINTF_EXPR): Likewise.
25666         (PRINTF_XEXPR): Likewise.
25667         (PRINTF_NEXPR): Likewise.
25668         (TEST_DOUBLE): Likewise.
25669         (TEST_MATHVEC): Likewise.
25670         (__NO_MATH_INLINES): Likewise.
25671         (CNCT): Likewise.
25672         (CONCAT): Likewise.
25673         (WRAPPER_NAME): Likewise.
25674         (WRAPPER_DECL): Likewise.
25675         (WRAPPER_DECL_ff): Likewise.
25676         (WRAPPER_DECL_fFF): Likewise.
25677         (VECTOR_WRAPPER): Likewise.
25678         (VECTOR_WRAPPER_ff): Likewise.
25679         (VECTOR_WRAPPER_fFF): Likewise.
25680         (VEC_LEN): New macro.
25681         * math/test-double-vlen4.h: Include test-double.h,
25682         test-math-no-inline.h and test-math-vector.h.
25683         (FLOAT): Remove macro.
25684         (FUNC): Likewise.
25685         (MATHCONST): Likewise.
25686         (PRINTF_EXPR): Likewise.
25687         (PRINTF_XEXPR): Likewise.
25688         (PRINTF_NEXPR): Likewise.
25689         (TEST_DOUBLE): Likewise.
25690         (TEST_MATHVEC): Likewise.
25691         (__NO_MATH_INLINES): Likewise.
25692         (CNCT): Likewise.
25693         (CONCAT): Likewise.
25694         (WRAPPER_NAME): Likewise.
25695         (WRAPPER_DECL): Likewise.
25696         (WRAPPER_DECL_ff): Likewise.
25697         (WRAPPER_DECL_fFF): Likewise.
25698         (VECTOR_WRAPPER): Likewise.
25699         (VECTOR_WRAPPER_ff): Likewise.
25700         (VECTOR_WRAPPER_fFF): Likewise.
25701         (VEC_LEN): New macro.
25702         * math/test-double-vlen8.h: Include test-double.h,
25703         test-math-no-inline.h and test-math-vector.h.
25704         (FLOAT): Remove macro.
25705         (FUNC): Likewise.
25706         (MATHCONST): Likewise.
25707         (PRINTF_EXPR): Likewise.
25708         (PRINTF_XEXPR): Likewise.
25709         (PRINTF_NEXPR): Likewise.
25710         (TEST_DOUBLE): Likewise.
25711         (TEST_MATHVEC): Likewise.
25712         (__NO_MATH_INLINES): Likewise.
25713         (CNCT): Likewise.
25714         (CONCAT): Likewise.
25715         (WRAPPER_NAME): Likewise.
25716         (WRAPPER_DECL): Likewise.
25717         (WRAPPER_DECL_ff): Likewise.
25718         (WRAPPER_DECL_fFF): Likewise.
25719         (VECTOR_WRAPPER): Likewise.
25720         (VECTOR_WRAPPER_ff): Likewise.
25721         (VECTOR_WRAPPER_fFF): Likewise.
25722         (VEC_LEN): New macro.
25723         * math/test-float-vlen4.h: Include test-float.h,
25724         test-math-no-inline.h and test-math-vector.h.
25725         (FLOAT): Remove macro.
25726         (FUNC): Likewise.
25727         (MATHCONST): Likewise.
25728         (PRINTF_EXPR): Likewise.
25729         (PRINTF_XEXPR): Likewise.
25730         (PRINTF_NEXPR): Likewise.
25731         (TEST_FLOAT): Likewise.
25732         (TEST_MATHVEC): Likewise.
25733         (__NO_MATH_INLINES): Likewise.
25734         (CNCT): Likewise.
25735         (CONCAT): Likewise.
25736         (WRAPPER_NAME): Likewise.
25737         (WRAPPER_DECL): Likewise.
25738         (WRAPPER_DECL_ff): Likewise.
25739         (WRAPPER_DECL_fFF): Likewise.
25740         (VECTOR_WRAPPER): Likewise.
25741         (VECTOR_WRAPPER_ff): Likewise.
25742         (VECTOR_WRAPPER_fFF): Likewise.
25743         (VEC_LEN): New macro.
25744         * math/test-float-vlen8.h: Include test-float.h,
25745         test-math-no-inline.h and test-math-vector.h.
25746         (FLOAT): Remove macro.
25747         (FUNC): Likewise.
25748         (MATHCONST): Likewise.
25749         (PRINTF_EXPR): Likewise.
25750         (PRINTF_XEXPR): Likewise.
25751         (PRINTF_NEXPR): Likewise.
25752         (TEST_FLOAT): Likewise.
25753         (TEST_MATHVEC): Likewise.
25754         (__NO_MATH_INLINES): Likewise.
25755         (CNCT): Likewise.
25756         (CONCAT): Likewise.
25757         (WRAPPER_NAME): Likewise.
25758         (WRAPPER_DECL): Likewise.
25759         (WRAPPER_DECL_ff): Likewise.
25760         (WRAPPER_DECL_fFF): Likewise.
25761         (VECTOR_WRAPPER): Likewise.
25762         (VECTOR_WRAPPER_ff): Likewise.
25763         (VECTOR_WRAPPER_fFF): Likewise.
25764         (VEC_LEN): New macro.
25765         * math/test-float-vlen16.h: Include test-float.h,
25766         test-math-no-inline.h and test-math-vector.h.
25767         (FLOAT): Remove macro.
25768         (FUNC): Likewise.
25769         (MATHCONST): Likewise.
25770         (PRINTF_EXPR): Likewise.
25771         (PRINTF_XEXPR): Likewise.
25772         (PRINTF_NEXPR): Likewise.
25773         (TEST_FLOAT): Likewise.
25774         (TEST_MATHVEC): Likewise.
25775         (__NO_MATH_INLINES): Likewise.
25776         (CNCT): Likewise.
25777         (CONCAT): Likewise.
25778         (WRAPPER_NAME): Likewise.
25779         (WRAPPER_DECL): Likewise.
25780         (WRAPPER_DECL_ff): Likewise.
25781         (WRAPPER_DECL_fFF): Likewise.
25782         (VECTOR_WRAPPER): Likewise.
25783         (VECTOR_WRAPPER_ff): Likewise.
25784         (VECTOR_WRAPPER_fFF): Likewise.
25785         (VEC_LEN): New macro.
25786         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
25787         test-vec-loop.h.
25788         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25789         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25790         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25791         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25792         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25794         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25796 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25798         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
25799         (__getlogin_r): ... this.
25801 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25803         [BZ #18594]
25804         * math/s_ccosh.c (__ccosh): Compare with least normal value
25805         instead of comparing class with FP_SUBNORMAL.
25806         * math/s_ccoshf.c (__ccoshf): Likewise.
25807         * math/s_ccoshl.c (__ccoshl): Likewise.
25808         * math/s_cexp.c (__cexp): Likewise.
25809         * math/s_cexpf.c (__cexpf): Likewise.
25810         * math/s_cexpl.c (__cexpl): Likewise.
25811         * math/s_csin.c (__csin): Likewise.
25812         * math/s_csinf.c (__csinf): Likewise.
25813         * math/s_csinh.c (__csinh): Likewise.
25814         * math/s_csinhf.c (__csinhf): Likewise.
25815         * math/s_csinhl.c (__csinhl): Likewise.
25816         * math/s_csinl.c (__csinl): Likewise.
25817         * math/s_ctan.c (__ctan): Likewise.
25818         * math/s_ctanf.c (__ctanf): Likewise.
25819         * math/s_ctanh.c (__ctanh): Likewise.
25820         * math/s_ctanhf.c (__ctanhf): Likewise.
25821         * math/s_ctanhl.c (__ctanhl): Likewise.
25822         * math/s_ctanl.c (__ctanl): Likewise.
25823         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
25824         csin, csinh, ctan and ctanh.
25825         * math/auto-libm-test-out: Regenerated.
25826         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
25827         * sysdeps/i386/fpu/libm-test-ulps: Update.
25828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25830 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25832         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
25833         return value is wrong, print the expected value too.
25835 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25837         [BZ #18585]
25838         * elf/readlib.c (is_gdb_python_file): New.
25839         (process_file): Don't issue errors on filenames with -gdb.py
25840         suffix.
25842 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25844         * math/auto-libm-test-in: Add more tests of csin and csinh.
25845         * math/auto-libm-test-out: Regenerated.
25846         * math/libm-test.inc (csin_test_data): Remove tests moved to
25847         auto-libm-test-in.
25848         (csinh_test_data): Likewise.
25850         [BZ #18593]
25851         * math/s_csin.c (__csin): Negate before rather than after possibly
25852         overflowing multiplication.
25853         * math/s_csinf.c (__csinf): Likewise.
25854         * math/s_csinh.c (__csinh): Likewise.
25855         * math/s_csinhf.c (__csinhf): Likewise.
25856         * math/s_csinhl.c (__csinhl): Likewise.
25857         * math/s_csinl.c (__csinl): Likewise.
25858         * math/auto-libm-test-in: Add some tests of csin and csinh.
25859         * math/auto-libm-test-out: Regenerated.
25860         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
25861         (csinh_test_data): Likewise.
25862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25864         [BZ #18586]
25865         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
25866         underflow exception for small results.
25868 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25871         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
25872         variable and included header.
25873         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
25874         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
25875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
25876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
25877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
25878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
25879         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
25880         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
25881         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
25882         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
25883         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
25884         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
25885         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25886         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
25887         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
25888         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
25890 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25892         [BZ #16526]
25893         [BZ #16538]
25894         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
25895         (__sin): Force underflow exception for arguments with small
25896         absolute value.
25897         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
25898         (__kernel_sinf): Force underflow exception for arguments with
25899         small absolute value.
25900         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
25901         (__kernel_sincosl): Force underflow exception for arguments with
25902         small absolute value.
25903         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
25904         (__kernel_sinl): Force underflow exception for arguments with
25905         small absolute value.
25906         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
25907         (__kernel_sincosl): Force underflow exception for arguments with
25908         small absolute value.
25909         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
25910         (__kernel_sinl): Force underflow exception for arguments with
25911         small absolute value.
25912         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
25913         (__kernel_sinl): Force underflow exception for arguments with
25914         small absolute value.
25915         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
25916         (__kernel_sinf): Force underflow exception for arguments with
25917         small absolute value.
25918         * math/auto-libm-test-in: Add more tests of sin and sincos.
25919         * math/auto-libm-test-out: Regenerated.
25921         [BZ #18245]
25922         [BZ #18583]
25923         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
25924         (__kernel_standard_l): Use feholdexcept and fesetenv around
25925         conversion to double instead of special-casing overflow and
25926         underflow.
25927         * math/libm-test.inc (fmod_test_data): Add more tests.
25928         (remainder_test_data): Likewise.
25929         (sqrt_test_data): Likewise.
25931 2015-06-23  Torvald Riegel  <triegel@redhat.com>
25933         [BZ #17403]
25934         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
25935         atomic_read_barrier, atomic_write_barrier): Define.
25936         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
25937         atomic_read_barrier, atomic_write_barrier): Define.
25939 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25941         * math/Makefile [$(PERL) != no]
25942         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
25943         dependency on libm-test.stmp below the inclusion of Rules.
25945 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
25947         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
25949         and included header.
25950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
25951         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
25952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
25953         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
25954         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
25955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
25956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
25957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
25958         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
25959         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
25960         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
25961         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
25962         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
25963         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
25964         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
25965         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
25966         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
25967         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
25968         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
25970 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25972         [BZ #18371]
25973         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
25974         intermediate but not final result might underflow.
25975         * math/s_csqrtf.c (__csqrtf): Likewise.
25976         * math/s_csqrtl.c (__csqrtl): Likewise.
25977         * math/auto-libm-test-in: Add more tests of csqrt.
25978         * math/auto-libm-test-out: Regenerated.
25979         * sysdeps/i386/fpu/libm-test-ulps: Update.
25981         [BZ #18219]
25982         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
25983         threshold on absolute value of exponent for which scaling is used.
25984         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25985         * math/auto-libm-test-in: Add more tests of exp2.
25986         * math/auto-libm-test-out: Regenerated.
25988 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
25990         [BZ #17977]
25991         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
25992         when initializing interface list, based on the bug analysis
25993         and the patch proposed by Eric Newton.
25994         * resolv/tst-res_hconf_reorder.c: New test.
25995         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
25996         tst-res_hconf_reorder.
25997         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
25998         and $(shared-thread-library).
25999         (tst-res_hconf_reorder-ENV): New variable.
26001         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26002         in comment.
26004 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26006         [BZ #16353]
26007         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26008         (__expm1): Force underflow exception for arguments with small
26009         absolute value.
26010         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26011         (__expm1f): Force underflow exception for arguments with small
26012         absolute value.
26013         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26014         (__expm1): Force underflow exception for arguments with small
26015         absolute value.
26016         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26017         (__expm1f): Force underflow exception for arguments with small
26018         absolute value.
26019         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26020         Check for small arguments before calling __expm1.
26021         * math/auto-libm-test-in: Do not mark underflow exceptions as
26022         possibly missing for bug 16353.
26023         * math/auto-libm-test-out: Regenerated.
26025 2015-06-22  Andreas Schwab  <schwab@suse.de>
26027         [BZ #18513]
26028         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26029         PTR queries.
26031 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26033         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26035         * string/strcoll_l.c: Remove unused struct element idxnow.
26037 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26039         [BZ #18569]
26040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26041         underflow and return argument in case of subnormal argument.
26042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26043         Likewise.
26044         * math/auto-libm-test-in: Add more tests of expm1.
26045         * math/auto-libm-test-out: Regenerated.
26047         [BZ #16361]
26048         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26049         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26050         tiny results.
26051         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26052         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26053         tiny results.
26054         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26055         mark underflow exceptions as possibly missing for bug 16361.
26056         * math/auto-libm-test-out: Regenerated.
26058 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26060         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26061         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26062         Remove variable.
26063         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26064         (test-xfail-XOPEN2K8/utmpx.h/conform).
26066         * conform/conformtest.pl ($xerrors): New variable.
26067         (note_error): New function.
26068         (compiletest): New argument $xfail.  Use not_error.
26069         (runtest): Likewise.
26070         (top level): Handle xfail- lines.  Update calls to compiletest and
26071         runtest.  Handle xfail- and optional- in headers listed with
26072         allow-header.
26073         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26074         (O_EXEC): Likewise.
26075         (O_SEARCH): Likewise.
26076         * conform/data/stropts.h-data (ioctl): Likewise.
26077         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26078         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26079         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26080         (msghdr.msg_controllen): Likewise.
26081         (cmsghdr.cmsg_len): Likewise.
26082         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26083         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26084         variable.
26085         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26086         (test-xfail-XPG4/stropts.h/conform): Likewise.
26087         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26088         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26089         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26090         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26091         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26092         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26093         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26094         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26095         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26096         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26097         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26098         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26099         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26100         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26101         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26102         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26103         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26104         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26105         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26107 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26109         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26110         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26111         definitions for proper unfolding of __MATHDECL_VEC.
26113 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26115         * benchtests/bench-strcoll.c:
26116         Include string.h.
26117         (main): Remove unused variable res.
26119 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26121         * timezone/Makefile (%/UTC %/Universal):
26122         Generate test-result files for UTC and Universal.
26124 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26126         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26128 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26130         [BZ #16350]
26131         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26132         for arguments with small absolute value.
26133         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26134         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26135         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26136         (__asinh): Force underflow exception for arguments with small
26137         absolute value.
26138         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26139         (__asinhf): Force underflow exception for arguments with small
26140         absolute value.
26141         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26142         (__asinhl): Force underflow exception for arguments with small
26143         absolute value.
26144         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26145         (__asinhl): Force underflow exception for arguments with small
26146         absolute value.
26147         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26148         (__asinhl): Force underflow exception for arguments with small
26149         absolute value.
26150         * math/auto-libm-test-in: Do not mark underflow exceptions as
26151         possibly missing for bug 16350.
26152         * math/auto-libm-test-out: Regenerated.
26154         * include/bits/ipc.h: Remove file.
26155         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26156         variable.
26157         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26158         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26159         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26160         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26161         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26162         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26163         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26164         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26165         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26167         * math/auto-libm-test-in: Remove spurious underflow allowance for
26168         tests of cexp.
26169         * math/auto-libm-test-out: Regenerated.
26171         [BZ #18558]
26172         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26173         unconditional definition.
26174         (MCAST_BLOCK_SOURCE): Likewise.
26175         (MCAST_UNBLOCK_SOURCE): Likewise.
26176         (MCAST_LEAVE_GROUP): Likewise.
26177         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26178         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26179         (MCAST_MSFILTER): Likewise.
26180         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26181         Remove variable.
26182         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26183         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26184         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26185         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26186         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26188 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26190         * NEWS: Mention addition of x86_64 vector sincosf.
26191         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26192         * math/test-float-vlen4.h: Likewise.
26193         * math/test-float-vlen8.h: Likewise.
26194         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26195         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26196         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26197         * sysdeps/x86_64/fpu/Versions: New versions added.
26198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26199         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26200         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26202         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26203         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26207         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26208         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26209         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26210         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26211         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26212         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26213         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26214         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26215         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26216         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26217         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26218         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26220         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26221         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26223         * NEWS: Mention addition of x86_64 vector sincos.
26224         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26225         * math/math.h (__MATHDECL_VEC): New macro.
26226         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26227         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26228         declaration under condition.
26229         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26230         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26231         TEST_VEC_LOOP change.
26232         * math/test-double-vlen4.h: Likewise.
26233         * math/test-double-vlen8.h: Likewise.
26234         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26235         * math/test-float-vlen4.h: Likewise.
26236         * math/test-float-vlen8.h: Likewise.
26237         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26238         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26239         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26240         * sysdeps/x86_64/fpu/Versions: New versions added.
26241         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26242         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26243         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26247         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26248         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26250         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26251         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26252         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26253         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26254         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26255         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26256         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26257         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26258         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26260         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26261         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26262         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26263         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26264         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26267         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26268         redirections for powf.
26269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26270         * sysdeps/x86_64/fpu/Versions: New versions added.
26271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26274         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26280         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26281         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26282         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26283         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26284         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26285         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26286         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26287         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26288         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26289         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26290         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26293         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26294         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26295         * math/test-float-vlen16.h: Fixed 2 argument macro.
26296         * math/test-float-vlen4.h: Likewise.
26297         * math/test-float-vlen8.h: Likewise.
26298         * NEWS: Mention addition of x86_64 vector powf.
26300 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26302         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26303         and redefine.
26304         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26305         and redefine.
26306         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26307         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26308         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26310         [BZ #18553]
26311         * resource/getpriority.c (getpriority): Rename to __getpriority
26312         and define as weak alias of __getpriority.
26313         * resource/setpriority.c (setpriority): Rename to __setpriority
26314         and define as weak alias of __setpriority.
26315         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26316         __getpriority and define as weak alias of __getpriority.
26317         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26318         __setpriority and define as weak alias of __setpriority.
26319         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26320         strong name.
26321         (setpriority): Use __setpriority as strong name.
26322         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26323         __getpriority and define as weak alias of __getpriority.
26324         * include/sys/resource.h (__getpriority): Declare.  Use
26325         libc_hidden_proto.
26326         (__setpriority): Likewise.
26327         (getpriority): Don't use libc_hidden_proto.
26328         (setpriority): Likewise.
26329         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26330         getpriority.  Call __setpriority instead of setpriority.
26331         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26332         Remove variable.
26334         [BZ #18547]
26335         * misc/getttyent.c (getttynam): Rename to __getttynam and define
26336         as weak alias of __getttynam.  Use prototype function definition.
26337         Call __setttyent, __getttyent and __endttyent instead of
26338         setttyent, getttyent and endttyent.
26339         (getttyent): Rename to __getttyent and define as weak alias of
26340         __getttyent.  Call __setttyent instead of setttyent.  Call
26341         __fgets_unlocked instead of fgets_unlocked.
26342         (setttyent): Rename to __setttyent and define as weak alias of
26343         __setttyent.
26344         (endttyent): Rename to __endttyent and define as weak alias of
26345         __endttyent.
26346         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
26347         (__setttyent): Likewise.
26348         (__endttyent): Likewise.
26349         (getttyent): Don't use libc_hidden_proto.
26350         (setttyent): Likewise.
26351         (endttyent): Likewise.
26352         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26353         __endttyent instead of setttyent, getttyent and endttyent.
26354         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26355         Remove variable.
26357         [BZ #18546]
26358         * socket/recv.c (__recv): Use libc_hidden_def.
26359         * socket/socket.c (__socket): Likewise.
26360         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26361         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26362         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
26363         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
26364         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
26365         libc_hidden_def.
26366         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
26367         libc_hidden_weak.
26368         * include/sys/socket.h (__socket): Do not use attribute_hidden.
26369         Use libc_hidden_proto.
26370         (__recv): Likewise.
26371         * socket/Versions (libc): Export __recv and __socket at version
26372         GLIBC_PRIVATE.
26373         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
26374         instead of recv.
26375         (init_mq_netlink): Call __socket instead of socket.
26376         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
26377         Remove variable.
26379         [BZ #18545]
26380         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
26381         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
26382         hidden_weak.
26383         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
26384         define as alias of __mq_timedsend.  Use hidden_weak.
26385         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
26386         __mq_timedsend as strong name.
26387         (mq_timedreceive): Use __mq_timedreceive as strong name.
26388         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
26389         (__mq_timedreceive): Likewise.
26390         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
26391         __mq_timedreceive instead of mq_timedreceive.
26392         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
26393         instead of mq_timedsend.
26394         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
26395         Remove variable.
26397         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
26398         hidden_def and hidden_weak instead of libc_hidden_def and
26399         libc_hidden_weak.
26400         (top level): Refer to hidden_def in comment.
26401         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26402         macro.  Use it instead of libc_hidden_def.
26403         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
26404         specify __GI_* name explicitly.
26405         (mq_timedreceive): Likewise.
26406         (mq_setattr): Likewise.
26408         [BZ #18544]
26409         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
26410         __pthread_barrier_init and define as weak alias of
26411         __pthread_barrier_init.
26412         * sysdeps/sparc/nptl/pthread_barrier_init.c
26413         (pthread_barrier_init): Likewise.
26414         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
26415         __pthread_barrier_wait and define as weak alias of
26416         __pthread_barrier_wait.
26417         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26418         (pthread_barrier_wait): Likewise.
26419         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26420         (pthread_barrier_wait): Likewise.
26421         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
26422         (pthread_barrier_wait): Likewise.
26423         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
26424         (pthread_barrier_wait): Likewise.
26425         * nptl/Versions (libpthread): Export __pthread_barrier_init and
26426         __pthread_barrier_wait at version GLIBC_PRIVATE.
26427         * include/pthread.h (__pthread_barrier_init): Declare.
26428         (__pthread_barrier_wait): Likewise.
26429         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
26430         Call __pthread_barrier_wait instead of pthread_barrier_wait.
26431         (helper_thread): Likewise.
26432         (init_mq_netlink): Call __pthread_barrier_init instead of
26433         pthread_barrier_init.
26435         [BZ #18542]
26436         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
26437         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
26438         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
26439         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
26440         vswscanf.
26441         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
26442         Remove variable.
26444         [BZ #18540]
26445         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
26446         strong alias of _IO_fflush.  Use libc_hidden_def.
26447         * libio/iofflush_u.c (fflush_unlocked): Rename to
26448         __fflush_unlocked and define as weak alias of __fflush_unlocked.
26449         Use libc_hidden_weak.
26450         * include/stdio.h (__fflush_unlocked): Declare.  Use
26451         libc_hidden_proto.
26452         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
26453         fflush_unlocked.
26454         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
26455         Remove variable.
26457         [BZ #18539]
26458         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
26459         define as weak alias of __addseverity.
26460         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
26461         Remove variable.
26462         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26463         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26464         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26466         [BZ #18536]
26467         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
26468         (__tfind): Likewise.
26469         (__tdelete): Likewise.
26470         (__twalk): Likewise.
26471         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
26472         __twalk to GLIBC_PRIVATE.
26473         * include/search.h (__tsearch): Use libc_hidden_proto.
26474         (__tfind): Likewise.
26475         (__tdelete): Likewise.
26476         (__twalk): Likewise.
26477         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
26478         Call __tdelete instead of tdelete.
26479         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
26480         tfind.  Call __tsearch instead of tsearch.
26481         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
26482         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
26483         Remove variable.
26484         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26486         [BZ #18534]
26487         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
26488         (dprintf): Define as a weak alias of __dprintf, not a strong
26489         alias.
26490         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
26491         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
26492         dprintf.
26493         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
26494         Remove variable.
26495         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26496         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26498         [BZ #18533]
26499         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
26500         not a strong alias.
26501         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
26502         Remove variable.
26504         [BZ #18532]
26505         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
26506         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
26507         (in6addr_loopback): Rename to __in6addr_loopback and define as
26508         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
26509         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
26510         libc_hidden_proto.
26511         (__in6addr_any): Likewise.
26512         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
26513         in6addr_any.
26514         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
26515         variable.
26516         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26518 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
26520         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
26521         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
26522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26523         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26524         redirections for pow.
26525         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26526         * sysdeps/x86_64/fpu/Versions: New versions added.
26527         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26528         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26529         build of SSE, AVX2 and AVX512 IFUNC versions.
26530         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
26531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
26532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
26533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
26534         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
26535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
26536         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
26537         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
26538         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
26539         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
26540         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
26541         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
26542         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
26543         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
26544         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26546         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26547         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26548         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26549         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26550         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26551         * NEWS: Mention addition of x86_64 vector pow.
26553         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26554         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26555         redirections for expf.
26556         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26557         * sysdeps/x86_64/fpu/Versions: New versions added.
26558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26559         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26560         build of SSE, AVX2 and AVX512 IFUNC versions.
26561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
26562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
26563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
26564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
26565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
26566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
26567         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
26568         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
26569         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
26570         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
26571         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
26572         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
26573         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
26574         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26575         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26576         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26577         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26578         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26579         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26580         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26581         * NEWS: Mention addition of x86_64 vector expf.
26583         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
26584         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
26585         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26586         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26587         redirections for exp.
26588         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26589         * sysdeps/x86_64/fpu/Versions: New versions added.
26590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26591         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26592         build of SSE, AVX2 and AVX512 IFUNC versions.
26593         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
26594         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
26595         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
26596         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
26597         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
26598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
26599         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
26600         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
26601         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
26602         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
26603         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
26604         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
26605         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
26606         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26608         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26609         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26610         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26611         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26612         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26613         * NEWS: Mention addition of x86_64 vector exp.
26615         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26616         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26617         redirections for logf.
26618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26619         * sysdeps/x86_64/fpu/Versions: New versions added.
26620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26621         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26622         build of SSE, AVX2 and AVX512 IFUNC versions.
26623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
26624         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
26625         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
26626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
26627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
26628         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
26629         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
26630         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
26631         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
26632         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
26633         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
26634         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
26635         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
26636         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26637         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26638         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26639         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26640         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26641         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26642         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26643         * NEWS: Mention addition of x86_64 vector logf.
26645         * bits/libm-simd-decl-stubs.h: Added stubs for log.
26646         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
26647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26648         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26649         redirections for log.
26650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26651         * sysdeps/x86_64/fpu/Versions: New versions added.
26652         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26653         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26654         build of SSE, AVX2 and AVX512 IFUNC versions.
26655         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
26656         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
26657         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
26658         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
26659         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
26660         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
26661         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
26662         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
26663         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
26664         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
26665         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
26666         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
26667         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
26668         test.
26669         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26672         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26673         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26674         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26675         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26676         * NEWS: Mention addition of x86_64 vector log.
26678 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26680         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
26681         cfi_adjust_cfa_offset argument.
26682         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
26683         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
26685         [BZ #18034]
26686         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
26687         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
26688         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
26689         ordering using ldar.
26690         (_dl_tlsdesc_dynamic): Likewise.
26691         (_dl_tlsdesc_return_lazy): Likewise.
26692         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
26693         relaxed atomics instead of volatile and synchronize with release store.
26694         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
26695         volatile.
26696         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26698 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
26700         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26701         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
26702         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26703         * sysdeps/x86_64/fpu/Versions: New versions added.
26704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26705         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26706         build of SSE, AVX2 and AVX512 IFUNC versions.
26707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
26708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
26709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
26710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
26711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
26712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
26713         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
26714         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
26715         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
26716         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
26717         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
26718         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
26719         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
26720         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26721         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26722         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26723         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26724         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26725         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26726         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26727         * NEWS: Mention addition of x86_64 vector sinf.
26729 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
26731         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
26732         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
26733         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
26734         Remove variable.
26735         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26736         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26738 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
26740         [BZ #18530]
26741         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
26742         strong alias of _IO_fputs.  Use libc_hidden_def.
26743         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
26744         and define as weak alias of __fputs_unlocked.  Use
26745         libc_hidden_weak.
26746         * include/stdio.h (__fputs_unlocked): Declare.  Use
26747         libc_hidden_proto.
26748         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
26749         fputs_unlocked.
26751         [BZ #18529]
26752         * resolv/netdb.h [__USE_POSIX]: Change condition to
26753         [__USE_XOPEN2K].
26754         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
26755         not expect.
26756         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
26757         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
26758         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
26759         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
26760         [XPG4 || UNIX98] (AI_ALL): Likewise.
26761         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
26762         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
26763         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
26764         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
26765         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
26766         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
26767         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
26768         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
26769         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
26770         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
26771         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
26772         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
26773         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
26774         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
26775         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
26776         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
26777         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
26778         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
26779         [XPG4 || UNIX98] (gai_strerror): Likewise.
26780         [XPG4 || UNIX98] (getaddrinfo): Likewise.
26781         [XPG4 || UNIX98] (getnameinfo): Likewise.
26783         [BZ #18528]
26784         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
26785         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
26786         __USE_XOPEN2K8].
26787         (getgrent): Likewise.
26788         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
26789         expect.
26790         [XPG3 || POSIX2008] (endgrent): Likewise.
26791         [XPG3] (setgrent): Likewise.
26792         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
26793         variable.
26794         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26796         [BZ #18527]
26797         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
26798         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
26799         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
26800         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
26801         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
26802         * include/unistd.h (__getlogin_r): Declare.  Use
26803         libc_hidden_proto.
26804         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
26805         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
26806         variable.
26807         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26808         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26809         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26811 2015-06-12  Martin Sebor  <msebor@redhat.com>
26813         [BZ #18512]
26814         * Makerules (check-install-supported): New target.
26815         (install): Add check-install-supported as a dependency.
26816         * manual/install.texi (Installing the C Library): Document
26817         that overriding prefix and exec_prefix is not supported.
26818         Mention DESTDIR.
26819         * INSTALL: Regenerate from the above.
26821 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
26823         [BZ #18519]
26824         * posix/Versions (libc): Export __libc_pread at version
26825         GLIBC_PRIVATE.
26826         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
26827         instead of pread.
26828         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
26829         variable.
26831         [BZ #18522]
26832         * misc/efgcvt_r.c
26833         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
26834         (cvt_symbol): Use weak_alias instead of strong_alias.
26835         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
26836         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
26837         Remove variable.
26838         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26839         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26841         [BZ #18520]
26842         * inet/herrno.c (h_errno): Rename to __h_errno.
26843         (__libc_h_errno): Define as alias of __h_errno not h_errno.
26844         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
26845         to __h_errno instead of h_errno.
26846         * nptl/herrno.c (h_errno): Rename to __h_errno.
26847         (__h_errno_location): Refer to __h_errno not h_errno.
26848         * resolv/Versions (h_errno): Rename to __h_errno.
26849         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
26850         Remove variable.
26851         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26853 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
26855         * configure.ac: More strict check for AVX512 assembler support.
26856         * configure: Regenerated.
26858         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
26859         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
26860         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26861         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
26862         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26863         * sysdeps/x86_64/fpu/Versions: New versions added.
26864         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26865         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26866         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
26868         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
26869         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
26870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
26871         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
26872         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
26873         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
26874         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
26875         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
26876         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
26877         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26878         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
26879         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
26880         test.
26881         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26883         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26884         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26885         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26886         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26887         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26888         * NEWS: Mention addition of x86_64 vector sin.
26890 2015-06-11  Florian Weimer  <fweimer@redhat.com>
26892         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
26893         comment.
26895 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26897         [BZ #18479]
26898         * nptl/pt-interp.c: New file.
26899         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
26900         Add pt-interp.
26901         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
26902         $(common-objpfx)runtime-linker.h.
26904 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
26906         * Makeconfig (+interp): Remove unused variable.
26907         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
26908         only.  Depend on $(common-objpfx)runtime-linker.h instead of
26909         $(elf-objpfx)runtime-linker.h.
26910         ($(elf-objpfx)runtime-linker.h): Rename to
26911         $(common-objpfx)runtime-linker.h and move ...
26912         * Makerules [$(build-shared) = yes]: ... here.
26913         * elf/interp.c: Include <runtime-linker.h> instead of
26914         <elf/runtime-linker.h>.
26916 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26918         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
26919         (__gettimeofday_syscall): Remove vsyscall fallback.
26920         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
26921         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
26922         Add syscall fallback function.
26923         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
26924         if vDSO is not present.
26925         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
26926         fallback function.
26927         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
26928         present.
26929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
26930         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26932 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
26934         [BZ #18497]
26935         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
26936         of wcscmp.
26937         (wcscmp): Define as weak alias of WCSCMP.
26938         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
26939         wcscoll.
26940         (USE_HIDDEN_DEF): Define.
26941         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
26942         __wcscoll.  Don't use libc_hidden_weak.
26943         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
26944         wcscmp.
26945         * sysdeps/i386/i686/multiarch/wcscmp-c.c
26946         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
26947         __GI_wcscmp.
26948         (weak_alias): Undefine and redefine.
26949         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
26950         __wcscmp and define as weak alias of __wcscmp.
26951         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
26952         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
26953         (__wcscoll): Likewise.
26954         (wcscmp): Don't use libc_hidden_proto.
26955         (wcscoll): Likewise.
26956         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
26957         wcscoll.
26958         * posix/regexec.c (check_node_accept_bytes): Likewise.
26959         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
26960         variable.
26961         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26962         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26964         [BZ #18507]
26965         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
26966         __fstatvfs and define as weak alias of __fstatvfs.  Use
26967         libc_hidden_weak.
26968         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
26969         and define as weak alias of __statvfs.  Use libc_hidden_weak.
26970         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
26971         Define as alias of __fstatvfs, not fstatvfs.
26972         (fstatvfs64): Likewise.
26973         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
26974         Define as alias of __statvfs, not statvfs.
26975         (statvfs64): Likewise.
26976         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
26977         Remove variable.
26979 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26982         (HAVE_GETCPU_VSYSCALL): Define.
26983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26984         (HAVE_GETCPU_VSYSCALL): Likewise.
26985         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
26986         * sysdeps/unix/sysv/linux/sched_getcpu.c
26987         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
26988         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
26989         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
26990         prototype.
26991         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26992         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
26993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
26994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
26995         Define.
26996         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
26997         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26998         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
26999         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27001 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27003         * sysdeps/x86_64/fpu/Makefile: New file.
27004         * sysdeps/x86_64/fpu/Versions: New file.
27005         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27006         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27007         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27008         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27009         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27010         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27011         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27017         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27018         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27019         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27020         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27021         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27022         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27023         * sysdeps/x86_64/configure: Regenerated.
27024         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27025         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27026         * manual/install.texi (Configuring and compiling): Document
27027         --disable-mathvec.
27028         * INSTALL: Regenerated.
27029         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27031         * math/Makefile: Added rules for vector tests.
27032         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27033         declaration under condition.
27034         * math/test-double-vlen2.h: New file.
27035         * math/test-double-vlen4.h: New file.
27036         * math/test-double-vlen8.h: New file.
27037         * math/test-vec-loop.h: Added initialization macro.
27038         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27039         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27040         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27041         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27042         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27043         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27044         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27045         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27046         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27047         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27048         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27050         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27051         * sysdeps/x86_64/fpu/Versions: New versions added.
27052         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27053         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27054         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27055         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27056         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27057         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27058         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27059         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27061         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27062         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27063         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27064         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27065         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27066         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27067         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27068         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27069         * NEWS: Mention addition of x86_64 vector cosf.
27071         * math/Makefile: Added CFLAGS for new tests.
27072         * math/test-float-vlen16.h: New file.
27073         * math/test-float-vlen4.h: New file.
27074         * math/test-float-vlen8.h: New file.
27075         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27076         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27077         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27078         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27079         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27080         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27081         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27082         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27083         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27084         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27085         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27087 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27089         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27090         * locale/programs/ld-ctype.c: Likewise.
27092 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27094         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27095         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27096         bit_ZMM16_31_state): New macro.
27097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27098         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27100 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27102         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27104 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27106         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27108 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27110         [BZ #18498]
27111         * libio/memstream.c (open_memstream): Rename to __open_memstream
27112         and define as weak alias of __open_memstream.
27113         * include/stdio.h (__open_memstream): Declare.  Use
27114         libc_hidden_proto.
27115         (open_memstream): Don't use libc_hidden_proto.
27116         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27117         open_memstream.
27118         * posix/getopt.c (_getopt_internal_r): Likewise.
27119         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27120         variable.
27121         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27122         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27123         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27125         [BZ #18496]
27126         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27127         instead of wcrtomb.
27129         [BZ #18483]
27130         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27131         [__USE_XOPEN2K8].  Remove redundant #endif.
27132         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27133         Remove redundant #if.
27134         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27135         Remove variable.
27136         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27137         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27139         [BZ #18495]
27140         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27141         (__iswlower): Likewise.
27142         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27143         (__iswlower): Likewise.
27144         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27145         instead of towlower.
27146         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27147         instead of iswlower.  Call __towupper instead of towupper.
27148         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27149         instead of iswalnum.
27151 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27153         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27154         errors to stderr.
27156 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27158         [BZ #15661]
27159         [BZ #17322]
27160         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27161         Check for overflow properly.  Check for O_APPEND.  Ignore large
27162         file system block sizes.  Add comments about problems.
27163         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27164         * manual/filesys.texi (Storage Allocation): New node.
27166 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27168         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27169         cancellable syscalls.
27170         (SYS_ify): Add guard to no redefine it.
27171         (INLINE_SYSCALL): Likewise.
27172         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27173         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27174         SYSCALL_CANCEL instead.
27175         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27176         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27177         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27178         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27179         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27180         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27181         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27182         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27183         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27184         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27185         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27186         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27187         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27188         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27189         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27191         Likewise.
27192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27193         (__libc_pread64): Likewise.
27194         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27195         (__libc_preadv): Likewise.
27196         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27197         (__libc_readv64): Likewise.
27198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27199         (__libc_pwrite): Likewise.
27200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27201         (__libc_pwrite64): Likewise.
27202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27203         (__libc_pwritev): Likewise.
27204         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27205         (__libc_pwritev64): Likewise.
27206         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27207         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27208         (sync_file_range): Likewise.
27209         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27210         Likewise.
27211         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27212         Likewise.
27213         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27214         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27215         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27216         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27217         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27218         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27219         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27220         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27222         Likewise.
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27224         (__libc_read64): Likewise.
27225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27226         Likewise.
27227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27228         Likewise.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27230         Likewise.
27231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27232         Likewise.
27233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27234         (__libc_pread64): Likewise.
27235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27236         Likewise.
27237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27238         (__libc_pwrite64): Likewise.
27239         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27240         (sync_file_range): Likewise.
27241         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27242         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27243         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27244         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27245         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27246         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27247         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27248         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27249         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27250         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27251         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27252         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27253         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27254         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27255         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27256         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27257         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27258         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27260         Likewise.
27261         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27262         Likewise.
27263         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27264         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27265         Likewise.
27266         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27267         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27268         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27269         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27270         Likewise.
27271         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27272         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27273         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27274         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27275         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27277 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27279         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27280         Include dl-vdso.
27281         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27282         Use VDSO routines for gettimeofday, clock_gettime if
27283         available.
27284         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27285         Declare VDSO symbols.
27286         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27287         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27288         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27289         * sysdeps/unix/sysv/linux/arm/Versions: Add
27290         __vdso_clock_gettime.
27292 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27294         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27295         be an inline implementation regardless of library is built within.
27296         (open_not_cancel_2): Likewise.
27297         (__read_nocancel): Likewise.
27298         (__write_nocancel): Likewise.
27299         (openat_not_cancel): Likewise.
27300         (openat_not_cancel_3): Likewise.
27301         (openat64_not_cancel): Likewise.
27302         (openat64_not_cancel_3): Likewise.
27303         (__close_nocancel): Likewise.
27304         (pause_not_cancel): Likewise.
27305         (nanosleep_not_cancel): Likewise.
27306         (sigsuspend_not_cancel): Likewise.
27308 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27310         [BZ #14958]
27311         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27312         wake-up.
27313         (__pthread_rwlock_rdlock_slow): Likewise.
27314         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27315         Likewise.
27316         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27317         Likewise.
27318         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27319         * nptl/tst-rwlock16.c: New file.
27320         * nptl/Makefile (tests): Add new test.
27322 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27324         [BZ #18324]
27325         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27326         missing wake-up of readers.
27327         * nptl/tst-rwlock15.c: New file.
27328         * nptl/Makefile (tests): Add new test.
27330 2015-06-03  Roland McGrath  <roland@hack.frob.com>
27332         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27333         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27334         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27335         and __nacl_supply_interface_rtld.
27336         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27337         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27338         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27339         Add __nacl_supply_interface_rtld.
27340         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27342 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27344         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27345         isfinite.
27346         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27347         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27349 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27351         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27352         __signbit* with standard C99 macros.
27353         * math/e_exp10l.c: Likewise.
27354         * math/e_exp2l.c: Likewise.
27355         * math/e_scalb.c: Likewise.
27356         * math/e_scalbf.c: Likewise.
27357         * math/e_scalbl.c: Likewise.
27358         * math/s_ldexp.c: Likewise.
27359         * math/s_ldexpf.c: Likewise.
27360         * math/s_ldexpl.c: Likewise.
27361         * math/w_atan2.c: Likewise.
27362         * math/w_atan2f.c: Likewise.
27363         * math/w_atan2l.c: Likewise.
27364         * math/w_cosh.c: Likewise.
27365         * math/w_coshf.c: Likewise.
27366         * math/w_coshl.c: Likewise.
27367         * math/w_exp10.c: Likewise.
27368         * math/w_exp10f.c: Likewise.
27369         * math/w_exp10l.c: Likewise.
27370         * math/w_exp2.c: Likewise.
27371         * math/w_exp2f.c: Likewise.
27372         * math/w_exp2l.c: Likewise.
27373         * math/w_fmod.c: Likewise.
27374         * math/w_fmodf.c: Likewise.
27375         * math/w_fmodl.c: Likewise.
27376         * math/w_hypot.c: Likewise.
27377         * math/w_hypotf.c: Likewise.
27378         * math/w_hypotl.c: Likewise.
27379         * math/w_jnl.c: Likewise.
27380         * math/w_lgamma.c: Likewise.
27381         * math/w_lgamma_r.c: Likewise.
27382         * math/w_lgammaf.c: Likewise.
27383         * math/w_lgammaf_r.c: Likewise.
27384         * math/w_lgammal.c: Likewise.
27385         * math/w_lgammal_r.c: Likewise.
27386         * math/w_pow.c: Likewise.
27387         * math/w_powf.c: Likewise.
27388         * math/w_powl.c: Likewise.
27389         * math/w_remainder.c: Likewise.
27390         * math/w_remainderf.c: Likewise.
27391         * math/w_remainderl.c: Likewise.
27392         * math/w_scalb.c: Likewise.
27393         * math/w_scalbf.c: Likewise.
27394         * math/w_scalbl.c: Likewise.
27395         * math/w_scalbln.c: Likewise.
27396         * math/w_scalblnf.c: Likewise.
27397         * math/w_scalblnl.c: Likewise.
27398         * math/w_sinh.c: Likewise.
27399         * math/w_sinhf.c: Likewise.
27400         * math/w_sinhl.c: Likewise.
27401         * math/w_tgamma.c: Likewise.
27402         * math/w_tgammaf.c: Likewise.
27403         * math/w_tgammal.c: Likewise.
27404         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27405         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
27406         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27407         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27408         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27409         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27410         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27411         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27412         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27413         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27414         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27415         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27416         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27417         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27418         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27419         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27421         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27423         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27426         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27432         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
27435         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
27436         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
27437         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
27438         * stdio-common/printf_fp.c: Likewise.
27439         * stdio-common/printf_fphex.c: Likewise.
27440         * stdio-common/printf_size.c: Likewise.
27442 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
27444         [BZ #18470]
27445         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
27446         strnlen.
27447         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
27448         Remove variable.
27449         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27450         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27451         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27452         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27453         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27454         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27455         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27456         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27457         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27458         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27460         [BZ #18468]
27461         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
27462         weak alias of __wmemchr.  Use libc_hidden_weak.
27463         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
27464         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
27465         instead of wmemchr.
27467 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27469         [BZ #18383]
27470         * elf/tst-tlsalign-extern.c: New file.
27471         * elf/tst-tlsalign-extern-static.c: New file.
27472         * elf/tst-tlsalign-vars.c: New file.
27473         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
27474         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
27475         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
27476         ($(objpfx)tst-tlsalign-extern-static): Likewise.
27477         (test-xfail-tst-tlsalign-extern-static): New variable.
27479 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
27481         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
27482         Use variable name _sc_err instead of err.
27483         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
27484         instead of ret.
27485         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
27486         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
27487         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
27488         (INLINE_SYSCALL): Likewise.
27490         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
27491         * include/string.h (__strnlen): Use libc_hidden_proto.
27492         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
27493         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
27494         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
27496         (libc_hidden_def): Undefine and redefine.
27497         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
27498         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
27499         __GI_strnlen.
27500         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
27501         libc_hidden_def.
27502         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
27504         [BZ #18469]
27505         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
27506         weak alias of __towlower.  Use libc_hidden_weak.
27507         (towupper): Rename to __towupper and define as weak alias of
27508         __towupper.  Use libc_hidden_weak.
27509         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
27510         (__towupper): Likewise.
27511         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
27512         __towlower instead of towlower.
27514 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27516         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
27517         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
27519 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27521         * sysdeps/aarch64/libm-test-ulps: Update.
27523 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27525         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
27526         Define.
27527         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27528         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27529         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27530         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27531         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
27532         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
27533         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
27535 2015-06-01  Martin Sebor  <msebor@redhat.com>
27537         [BZ #18116]
27538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27539         (__setcontext): Use extended four-operand version of mtsf whenever
27540         possible.
27541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27542         (__novec_swapcontext): Likewise.
27544 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27546         * benchtests/scripts/compare_bench.py: New file.
27547         * benchtests/scripts/import_bench.py (mean): New function.
27548         (split_list): Likewise.
27549         (do_for_all_timings): Likewise.
27550         (compress_timings): Likewise.
27552         * benchtests/scripts/import_bench.py: New file.
27553         * benchtests/scripts/validate_benchout.py: Import import_bench
27554         instead of jsonschema.
27555         (validate_bench): Remove function.
27556         (main): Use import_bench.
27558 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
27560         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27561         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
27563 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27567 2015-05-28  Roland McGrath  <roland@hack.frob.com>
27569         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
27570         set THREAD_SELF->tid to a magic value and futex-wake it.
27571         Pass its address to the thread_exit system call.
27572         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
27573         bit is clear.
27574         * sysdeps/nacl/lowlevellock.h: New file.
27575         * sysdeps/nacl/lll_timedwait_tid.c: New file.
27577         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
27578         Add TIMEOUT to current time, don't subtract it.
27580 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
27582         [BZ #2981]
27583         [BZ #18422]
27584         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
27585         ($(objpfx)tst-audit2.out): Also depend on
27586         $(objpfx)tst-auditmod9b.so.
27587         * elf/tst-audit2.c: Include <dlfcn.h>.
27588         (calloc_called): New.
27589         (calloc): Allow to be called more than once.
27590         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
27592 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
27594         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
27595         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
27597 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
27599         * stdlib/monetary.h: Fix comment.
27601 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
27603         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
27604         Avoid using variables in #defines that might cause shadowing.
27605         (INTERNAL_VSYSCALL_CALL): Likewise.
27607 2015-05-26  Roland McGrath  <roland@hack.frob.com>
27609         * sysdeps/nacl/lll_timedlock_wait.c: New file.
27611         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
27612         * nptl/lll_timedlock_wait.c: ... to this new file.
27613         * nptl/Makefile (libpthread-routines): Add it.
27614         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
27615         * nptl/lll_timedwait_tid.c: ... to this new file.
27616         * nptl/Makefile (libpthread-routines): Add it.
27617         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
27618         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
27619         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
27620         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
27621         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
27622         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
27623         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
27624         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
27625         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
27626         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
27628 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27630         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
27631         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27632         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27633         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
27634         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
27635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27636         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27638         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27639         * sysdeps/unix/sysv/linux/tile/sysdep.h
27640         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27641         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
27642         using vDSO syscall macro.
27644 2015-05-26  Andriy Rysin  <arysin@gmail.com>
27646         [BZ #17293]
27647         * uk_UA: Fix sorting order for Ukrainian locale
27649 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
27651         * stdlib/monetary.h: Fix comment.
27653 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27655         [BZ #18234]
27656         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
27657         st_mtim and st_ctim members.
27658         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
27659         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
27660         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
27661         (struct stat64): Likewise.
27662         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
27663         (struct stat64): Likewise.
27664         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
27665         (struct stat64): Likewise.
27667 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27669         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
27670         Define and include sysdep-vdso.h.
27671         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
27672         Likewise.
27673         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
27674         Likewise.
27675         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
27676         Define with VDSO_SYMBOL and use PTR_MANGLE.
27677         (__vdso_clock_gettime): Likewise.
27678         (__vdso_clock_getres): Likewise.
27679         (_libc_vdso_platform_setup): Likewise.
27680         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27681         Likewise.
27682         (_libc_vdso_platform_setup): Likewise.
27683         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
27684         Likewise.
27685         (__vdso_clock_gettime): Likewise.
27686         (__vdso_clock_getres): Likewise.
27687         (__vdso_get_tbfreq): Likewise.
27688         (__vdso_getcpu): Likewise.
27689         (__vdso_time): Likewise.
27690         (__vdso_sigtramp_rt64): Likewise.
27691         (__vdso_signtramp32): Likewise.
27692         (__vdso_sigtramp_rt32): Likewise.
27693         (_libc_vdso_platform_setup): Likewise.
27694         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
27695         Likewise.
27696         (__vdso_clock_gettime): Likewise.
27697         (__vdso_clock_getres): Likewise.
27698         (_libc_vdso_platform_setup): Likewise.
27699         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
27700         Likewise.
27701         (__vdso_clock_gettime): Likewise.
27702         (_libc_vdso_platform_setup): Likewise.
27703         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27704         Likewise.
27705         (__vdso_getcpu): Likewise.
27706         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
27707         Use VDSO_SYMBOL macro to define.
27708         (__vdso_clock_gettime): Likewise.
27709         (__vdso_clock_getres): Likewise.
27710         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
27711         Likewise.
27712         (__vdso_clock_gettime): Likewise.
27713         (__vdso_clock_getres): Likewise.
27714         (__vdso_get_tbfreq): Likewise.
27715         (__vdso_getcpu): Likewise.
27716         (__vdso_time): Likewise.
27717         (__vdso_sigtramp_rt64): Likewise.
27718         (__vdso_signtramp32): Likewise.
27719         (__vdso_sigtramp_rt32): Likewise.
27720         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
27721         Likewise.
27722         (__vdso_clock_gettime): Likewise.
27723         (__vdso_clock_getres): Likewise.
27724         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
27725         Likewise.
27726         (__vdso_clock_gettime): Likewise.
27727         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27728         Likewise.
27729         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
27730         macro.
27731         (INTERNAL_VSYSCALL): Likewise.
27732         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
27733         Remove macro.
27734         (INTERNAL_VSYSCALL): Likewise.
27735         (INTERNAL_VSYSCALL_NCS): Likewise.
27736         (INTERNAL_VSYSCALL_CALL): New macro.
27737         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
27738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
27739         Likewise.
27740         (INTERNAL_VSYSCALL): Likewise.
27741         (INTERNAL_VSYSCALL_NCS): Likewise.
27742         (INTERNAL_VSYSCALL_CALL): New macro.
27743         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27745         (INLINE_VSYSCALL): Remove macro.
27746         (INTERNAL_VSYSCALL): Remove macro.
27747         (INTERNAL_VSYSCALL_NCS): Remove macro.
27748         (INTERNAL_VSYSCALL_CALL): New macro.
27749         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
27750         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
27751         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
27752         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
27753         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27755         (INLINE_VSYSCALL): Remove macro.
27756         (INTERNAL_VSYSCALL): Likewise.
27757         (INTERNAL_VSYSCALL_NCS): Likewise.
27758         (INTERNAL_VSYSCALL_CALL): New macro.
27759         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
27760         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
27761         PTR_DEMANGLE on vDSO pointer.
27762         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
27763         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
27764         macro.
27765         (INTERNAL_SYSCALL): Likewise.
27766         (INTERNAL_VSYSCALL_NCS): Remove macro.
27767         (INTERNAL_VSYSCALL_CALL): New macro.
27768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
27769         Remove macro.
27770         (INTERNAL_VSYSCALL): Likewise.
27771         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
27772         sysdep-vdso.h instead of libc-vdso.h.
27773         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
27774         definition.
27775         (INLINE_VSYSCALL): Likewise.
27776         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
27777         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
27778         definition.
27779         (INLINE_VSYSCALL): Likewise.
27780         (INTERNAL_VSYSCALL): Likewise.
27781         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27782         * sysdeps/unix/sysv/linux/timespec_get.c
27783         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27784         (timespec_get): Use ANSI prototype.
27785         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
27786         and definition for Linux.
27788 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27790         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
27791         * include/libc-symbols.h: libmvec_hidden_* macro series added.
27793 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27795         [BZ #2981]
27796         [BZ #18410]
27797         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
27798         for missing DT_PLTRELSZ.
27800 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27802         Remove obsolete aliases that broke 'locale -a'
27803         [BZ #18412]
27804         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
27805         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
27806         breaking some applications that use 'locale -a' output.
27807         Change the encoding of this file from Latin-1 to ASCII to avoid
27808         other potential problems with people grepping this file.
27810 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27812         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
27813         -fasynchronous-unwind-tables.
27814         (CFLAGS-sendto.c): Likewise.
27815         (CFLAGS-sendmsg.c): Likewise.
27816         (CFLAGS-connect.c): Likewise.
27817         (CFLAGS-recvmsg.c): Likewise.
27818         (CFLAGS-recvfrom.c): Likewise.
27819         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
27820         (SOCKETCALL): New macro: non-cancellable socketcall.
27821         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
27822         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
27823         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
27824         * sysdeps/unix/sysv/linux/accept.c: New file.
27825         * sysdeps/unix/sysv/linux/bind.c: Likewise.
27826         * sysdeps/unix/sysv/linux/connect.c: Likewise.
27827         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
27828         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
27829         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
27830         * sysdeps/unix/sysv/linux/listen.c: Likewise.
27831         * sysdeps/unix/sysv/linux/recv.c: Likewise.
27832         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
27833         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
27834         * sysdeps/unix/sysv/linux/send.c: Likewise.
27835         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
27836         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
27837         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
27838         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
27839         * sysdeps/unix/sysv/linux/socket.c: Likewise.
27840         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
27841         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
27842         prototype.
27843         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
27844         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27845         instead of __internal_xxx function.
27846         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
27847         prototype.
27848         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
27849         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27850         instead of __internal_xxx function.
27851         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
27852         prototype.
27853         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
27854         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27855         instead of __internal_xxx function.
27856         * sysdeps/unix/sysv/linux/accept.S: Remove file.
27857         * sysdeps/unix/sysv/linux/bind.S: Likewise.
27858         * sysdeps/unix/sysv/linux/connect.S: Likewise.
27859         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
27860         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
27861         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
27862         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
27863         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
27864         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
27865         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
27866         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
27867         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27868         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
27869         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
27870         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
27871         * sysdeps/unix/sysv/linux/listen.S: Likewise.
27872         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
27873         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
27874         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
27875         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
27876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
27877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
27878         * sysdeps/unix/sysv/linux/recv.S: Likewise.
27879         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
27880         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
27881         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
27882         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27883         * sysdeps/unix/sysv/linux/send.S: Likewise.
27884         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
27885         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
27886         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
27887         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
27888         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
27889         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
27890         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
27891         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
27892         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
27893         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
27894         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
27895         socketcall is implemented in GLIBC.
27897 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
27899         * soft-fp/fmadf4.c: Include <libc-internal.h>.
27900         (__fma): Ignore uninitialized warnings around packing.
27901         * soft-fp/fmasf4.c: Include <libc-internal.h>.
27902         (__fmaf): Ignore uninitialized warnings around packing.
27903         * soft-fp/fmatf4.c: Include <libc-internal.h>.
27904         (__fmal): Ignore uninitialized warnings around packing.
27906         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
27907         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
27909         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27911         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
27912         switch statement into default case.
27913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
27915         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
27916         a conditional in forcing "inexact".
27917         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27918         Likewise.
27920 2015-05-22  Roland McGrath  <roland@hack.frob.com>
27922         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27923         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
27924         for each INTERNAL_SYSCALL use.
27926 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
27928         [BZ #438]
27929         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
27930         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
27931         variable.
27933         [BZ #18444]
27934         * string/basename.c (basename): Rename to __basename and define as
27935         weak alias of __basename.  Use libc_hidden_weak.
27936         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
27937         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
27938         __basename instead of basename.
27939         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
27940         Remove variable.
27941         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27943 2015-05-18  Florian Weimer  <fweimer@redhat.com>
27945         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
27946         (_IO_JUMPS_FILE_plus): New.
27947         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
27948         _IO_CAST_FIELD_ACCESS.
27949         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
27950         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
27951         * libio/freopen.c (freopen): Likewise.
27952         * libio/freopen64.c (freopen64): Likewise.
27953         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
27954         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
27955         * libio/iofwide.c (_IO_fwide): Likewise.
27956         * libio/memstream.c (open_memstream): Likewise.
27957         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27958         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27959         * libio/oldiopopen.c (_IO_old_popen): Likewise.
27961 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
27963         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
27964         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
27965         NADJ.
27966         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
27967         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
27968         NADJ.
27969         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
27970         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
27971         NADJ.
27973         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
27974         (p == 4) case.
27976         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
27977         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
27978         Remove variable.
27979         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27980         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27981         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27983 2015-05-21  Florian Weimer  <fweimer@redhat.com>
27985         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
27986         Adjust jump table label generation macros.
27988 2015-05-21  Florian Weimer  <fweimer@redhat.com>
27990         * stdio-common/vfprintf.c (vfprintf): Move local variables
27991         args_malloced, specs, specs_malloced, and the code after
27992         do_positional to the printf_positional function.
27993         (printf_positional): New function.
27995 2015-05-21  Florian Weimer  <fweimer@redhat.com>
27997         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
27998         function.
27999         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28000         STEP4_TABLE, process_arg): Move macro definitions
28001         out of the vfprintf function.  (Cosmetic change only.)
28003 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28005         * benchtests/Makefile (stdio-common-bench): Define.
28006         (benchset): Add stdio-common-bench.
28007         * sprintf-inputs: New file.
28008         * sprintf-source.c: New file.
28010 2015-05-21  Andreas Schwab  <schwab@suse.de>
28012         [BZ #13028]
28013         [BZ #17053]
28014         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28015         of struct __res_state.
28016         * resolv/res_send.c (__libc_res_nsend): Likewise.
28017         (get_nsaddr): New function.
28018         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28019         statp directly.
28021 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28023         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28024         -D_POSIX_C_SOURCE=199506L.
28026         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28028         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28029         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28030         Do not mention otherwise.
28031         [POSIX] (_XOPEN_VERSION): Do not expect.
28032         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28033         [POSIX] (_POSIX2_C_BIND): Likewise.
28034         [POSIX] (_POSIX2_VERSION): Likewise.
28035         [POSIX] (_XOPEN_XPG2): Likewise.
28036         [POSIX] (_XOPEN_XPG3): Likewise.
28037         [POSIX] (_XOPEN_XPG4): Likewise.
28038         [POSIX] (_XOPEN_UNIX): Likewise.
28039         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28040         [POSIX] (_POSIX_BARRIERS): Likewise.
28041         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28042         [POSIX] (_POSIX_CPUTIME): Likewise.
28043         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28044         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28045         [POSIX] (_POSIX_SHELL): Likewise.
28046         [POSIX] (_POSIX_SPAWN): Likewise.
28047         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28048         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28049         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28050         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28051         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28052         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28053         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28054         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28055         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28056         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28057         [POSIX] (_POSIX2_PBS): Likewise.
28058         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28059         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28060         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28061         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28062         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28063         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28064         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28065         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28066         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28067         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28068         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28069         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28070         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28071         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28072         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28073         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28074         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28075         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28076         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28077         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28078         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28079         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28080         [POSIX] (_SC_2_C_BIND): Likewise.
28081         [POSIX] (_SC_2_C_VERSION): Likewise.
28082         [POSIX] (_SC_2_PBS): Likewise.
28083         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28084         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28085         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28086         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28087         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28088         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28089         [POSIX] (_SC_BARRIERS): Likewise.
28090         [POSIX] (_SC_BASE): Likewise.
28091         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28092         [POSIX] (_SC_DEVICE_IO): Likewise.
28093         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28094         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28095         [POSIX] (_SC_FD_MGMT): Likewise.
28096         [POSIX] (_SC_FIFO): Likewise.
28097         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28098         [POSIX] (_SC_FILE_LOCKING): Likewise.
28099         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28100         [POSIX] (_SC_IOV_MAX): Likewise.
28101         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28102         [POSIX] (_SC_NETWORKING): Likewise.
28103         [POSIX] (_SC_PAGE_SIZE): Likewise.
28104         [POSIX] (_SC_PASS_MAX): Likewise.
28105         [POSIX] (_SC_PIPE): Likewise.
28106         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28107         [POSIX] (_SC_REGEXP): Likewise.
28108         [POSIX] (_SC_SHELL): Likewise.
28109         [POSIX] (_SC_SIGNALS): Likewise.
28110         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28111         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28112         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28113         [POSIX] (_SC_USER_GROUPS): Likewise.
28114         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28115         [POSIX] (_SC_STREAMS): Likewise.
28116         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28117         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28118         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28119         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28120         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28121         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28122         [POSIX] (_PC_FILESIZEBITS): Likewise.
28123         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28124         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28125         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28126         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28127         [POSIX] (uid_t): Likewise.
28128         [POSIX] (gid_t): Likewise.
28129         [POSIX] (off_t): Likewise.
28130         [POSIX] (pid_t): Likewise.
28131         [POSIX] (cuserid): Allow.
28132         (_SC_2_CHAR_TERM): Require constant.
28133         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28134         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28135         variable.
28137 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28139         * sysdeps/nacl/pthread-pids.h: New file.
28140         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28141         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28143         * nptl/pthread-pids.h: New file.
28144         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28145         * nptl/nptl-init.c: Include <pthread-pids.h>.
28146         (__pthread_initialize_minimal_internal):
28147         Call __pthread_initialize_pids instead of set_tid_address syscall.
28149         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28150         * sysdeps/posix/usleep.c: ... here.
28152 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28154         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28155         call_pselect6 object.
28156         [$(subdir) = io]: Remove call_sync_file_range object.
28157         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28158         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28159         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28160         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28162 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28164         * math/s_cproj.c: Add include "math_private.h".
28165         * math/s_cprojf.c: Likewise.
28166         * math/s_cprojl.c: Likewise.
28168 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28170         [BZ #18244]
28171         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28172         high mantissa bit when testing whether P is a NaN.
28173         * math/libm-test.inc (remainder_test_data): Add more tests.
28174         (remquo_test_data): Likewise.
28176         [BZ #18049]
28177         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28178         below -32, return the argument, with underflow if subnormal.
28179         * math/auto-libm-test-in: Add more tests of atanh.
28180         * math/auto-libm-test-out: Regenerated.
28182 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28184         [BZ #18434]
28185         * nptl/tst-sem15.c: New file.
28186         * nptl/Makefile (tests): Add it.
28187         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28188         s/<</>>/ to fix typo in EOVERFLOW check.
28189         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28191 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28193         * manual/strings.texi (envz_remove): Fix typo in safety
28194         annotations.
28196 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28197             Steve Ellcey  <sellcey@imgtec.com>
28199         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28200         in order to avoid strict alias warnings.
28201         (iruserok_af): Ditto for ra.
28203 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28205         [BZ #17581]
28206         * malloc/hooks.c
28207         (magicbyte): Convert to a function and avoid returning 0x01.
28208         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28209         (mem2chunk_check): Fix unsigned comparisons to zero.
28210         Hoist defs of sz and magic.
28212 2015-05-19  Richard Henderson  <rth@redhat.com>
28214         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28216         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28218 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220         [BZ #16159]
28221         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28222         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28223         (reused_arena): Find a non-corrupt arena.
28224         (heap_trim): Pass arena to unlink.
28225         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28226         malloc_printerr.
28227         (top_check): Likewise.
28228         (free_check): Likewise.
28229         (realloc_check): Likewise.
28230         * malloc/malloc.c (malloc_printerr): Add arena argument.
28231         (unlink): Likewise.
28232         (munmap_chunk): Adjust.
28233         (ARENA_CORRUPTION_BIT): New macro.
28234         (arena_is_corrupt): Likewise.
28235         (set_arena_corrupt): Likewise.
28236         (sysmalloc): Use mmap if there are no usable arenas.
28237         (_int_malloc): Likewise.
28238         (__libc_malloc): Don't fail if arena_get returns NULL.
28239         (_mid_memalign): Likewise.
28240         (__libc_calloc): Likewise.
28241         (__libc_realloc): Adjust for additional argument to
28242         malloc_printerr.
28243         (_int_free): Likewise.
28244         (malloc_consolidate): Likewise.
28245         (_int_realloc): Likewise.
28246         (_int_memalign): Don't touch corrupt arenas.
28247         * malloc/tst-malloc-backtrace.c: New test case.
28249         * Makefile (summarize-tests): Fix return value on success.
28251         * manual/string.texi (Envz Functions): Add envz_remove.
28253 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28255         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28256         (invalid_name): New function, broken out of ...
28257         (__opendirat): ... here.  Call it.
28258         (need_isdir_precheck): New function, broken out of ...
28259         (__opendirat): ... here.  Call it.
28260         Use __fxstatat64, not __xstatat64.
28261         (opendir_oflags): New function, broken out of ...
28262         (__opendirat): ... here.  Call it.
28263         (opendir_tail): New function, broken out of ...
28264         (__opendirat): ... here.  Call it.
28265         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28266         opendir_tail, rather than punting to __opendirat.
28267         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28269 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28271         * .gitignore: Ignore generated *.pyc.
28273 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28275         * include/stdio.h: Define __need_wint_t.
28276         * test-skeleton.c: Avoid `for' loop initial declaration.
28277         * nptl/tst-initializers1.c: Use test-skeleton.c.
28279 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28281         [BZ #18418]
28282         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28284 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28286         [BZ #16352]
28287         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28288         (__ieee754_atanh): Force underflow exception for results with
28289         small absolute value.
28290         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28291         (__ieee754_atanhf): Force underflow exception for results with
28292         small absolute value.
28293         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28294         (__ieee754_atanh): Force underflow exception for results with
28295         small absolute value.
28296         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28297         (__ieee754_atanhf): Force underflow exception for results with
28298         small absolute value.
28299         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28300         (__ieee754_atanhl): Force underflow exception for results with
28301         small absolute value.
28302         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28303         (__ieee754_atanhl): Force underflow exception for results with
28304         small absolute value.
28305         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28306         (__ieee754_atanhl): Force underflow exception for results with
28307         small absolute value.
28308         * math/auto-libm-test-in: Do not allow missing underflow
28309         exceptions from atanh.
28310         * math/auto-libm-test-out: Regenerated.
28312         [BZ #18221]
28313         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28314         2**-28 as threshold for returning x or +/- 1/x.
28315         * math/auto-libm-test-in: Add more tests of tan.
28316         * math/auto-libm-test-out: Regenerated.
28318         [BZ #18220]
28319         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28320         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28321         * math/auto-libm-test-in: Add another test of lgamma.
28322         * math/auto-libm-test-out: Regenerated.
28324 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28326         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28327         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28328         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28329         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28330         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28331         (ADD2A): Use fabs.  (SUB2A): Use fabs.
28332         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28333         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28334         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28335         (log1): Use fabs.  (my_log2): Use fabs.
28336         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28337         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28338         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28339         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28341         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
28342         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
28343         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
28344         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
28345         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28346         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28348 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28350         [BZ #18217]
28351         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28352         as threshold for returning 1 - x.
28353         * math/auto-libm-test-in: Add more tests of erfc.
28354         * math/auto-libm-test-out: Regenerated.
28356 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
28358         [BZ #18196]
28359         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
28360         threshold for large arguments.
28361         * math/auto-libm-test-in: Add another test of atan.
28362         * math/auto-libm-test-out: Regenerated.
28364         [BZ #16339]
28365         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
28366         (__log1p): Force underflow exception for results with small
28367         absolute value.
28368         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
28369         (__log1pf): Force underflow exception for results with small
28370         absolute value.
28371         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
28372         (__log1p): Force underflow exception for results with small
28373         absolute value.
28374         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
28375         (__log1pf): Force underflow exception for results with small
28376         absolute value.
28377         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
28378         (__log1pl): Force underflow exception for results with small
28379         absolute value.
28380         * math/auto-libm-test-in: Do not allow missing underflow
28381         exceptions from log1p.
28382         * math/auto-libm-test-out: Regenerated.
28384 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
28385             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28387         [BZ #16704]
28388         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
28390 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
28392         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
28393         (libmvec): New variable.
28394         * configure.ac: Added option for mathvec build.
28395         * configure: Regenerated.
28396         * mathvec/Depend: New file.
28397         * mathvec/Makefile: New file.
28398         * shlib-versions: Added libmvec.
28399         * math/Makefile: Added rule for libm.so installation.
28401         * bits/math-vector.h: New file.
28402         * bits/libm-simd-decl-stubs.h: New header.
28403         * math/Makefile (headers): Added new header
28404         libm-simd-decl-stubs.h.
28405         * math/math.h (__MATHCALL_VEC): New macro.
28407         * math/gen-libm-have-vector-test.sh: Script generates series of macros
28408         for conditions in testing functions.
28409         * math/Makefile: Added call of libm-have-vector-test.sh.
28410         * math/libm-test.inc (HAVE_VECTOR): New macros.
28412         * math/libm-test.inc: START refactored.
28413         * math/test-double.c (TEST_MATHVEC): Add define.
28414         * math/test-float.c: Likewise.
28415         * math/test-idouble.c: Likewise.
28416         * math/test-ifloat.c: Likewise.
28417         * math/test-ildoubl.c: Likewise.
28418         * math/test-ldouble.c: Likewise.
28419         * sysdeps/generic/math-tests-arch.h
28420         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
28421         architecture check.
28423         * math/test-double.c (FUNC_TEST): New macro.
28424         * math/test-float.c: Likewise.
28425         * math/test-idouble.c: Likewise.
28426         * math/test-ifloat.c: Likewise.
28427         * math/test-ildoubl.c: Likewise.
28428         * math/test-ldouble.c: Likewise.
28429         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
28431 2015-05-13  Roland McGrath  <roland@hack.frob.com>
28433         * sysdeps/nacl/fdopendir.c: New file.
28435         * dirent/scandir-tail.c: New file.
28436         * dirent/scandir64-tail.c: New file.
28437         * dirent/Makefile (routines): Add them.
28438         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
28439         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
28440         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
28441         [!SCANDIR] (SCANDIR_TAIL): New macro.
28442         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
28443         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
28444         (SCANDIRAT): Macro removed.
28445         (SCANDIR_TAIL): New macro.
28446         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
28447         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
28448         (SCANDIRAT): Just call __opendirat and __scandir_tail.
28449         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
28450         (READDIR): Macro removed.
28451         (SCANDIR_TAIL): New macro.
28452         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
28453         (SCANDIR_TAIL): New macro.
28455         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
28456         * dirent/scandir-cancel.c: ... to this new file.
28457         * dirent/Makefile (routines): Add it.
28458         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
28459         * sysdeps/unix/sysv/linux/i386/scandir64.c
28460         (SKIP_SCANDIR_CANCEL): Macro removed.
28461         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
28463         * dirent/tst-scandir.c: New file.
28464         * dirent/tst-scandir64.c: New file.
28465         * dirent/Makefile (tests): Add them.
28467 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
28469         [BZ #18409]
28470         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
28472 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28474         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
28475         list.
28477 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
28479         * benchtests/bench-strcoll.c: New benchmark.
28480         * benchtests/Makefile: Generate locales and run benchmark.
28481         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
28482         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
28483         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
28484         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
28485         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
28486         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
28487         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
28488         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
28489         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
28490         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
28491         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
28492         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
28493         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
28494         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
28495         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
28496         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
28497         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
28498         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
28499         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
28500         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
28501         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
28502         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
28503         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
28504         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
28506 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
28508         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
28509         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28511 2015-05-12  Roland McGrath  <roland@hack.frob.com>
28513         * posix/uname-values.h: New file.
28514         * posix/uname.c: Include that instead of <config-name.h>.
28515         * sysdeps/nacl/uname-values.h: New file.
28516         * sysdeps/arm/nacl/uname-values.h: New file.
28518 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
28520         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
28521         splitting into fields.
28523 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
28525         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
28526         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
28527         * locale/localeinfo.h: Add enum collation_encoding_type.
28528         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
28529         * programs/ld-collate.c (collate_output): Add encoding type info.
28530         * string/strcoll_l.c (STRDIFF): New function.
28531         * (STRCOLL): Use STRDIFF to skip over equal prefix.
28532         * wcsmbs/wcscoll_l.c: Define STRDIFF.
28534 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
28536         [BZ #18397]
28537         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
28538         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
28539         <fpu_control.h> instead of <math/fpu_control.c>.
28540         * sysdeps/mips/mips32/fpu/Makefile: New file.
28542 2015-05-11  Andreas Schwab  <schwab@suse.de>
28544         [BZ #18007]
28545         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
28546         nss_endgrent.
28547         (_nss_compat_endgrent): Call nss_endgrent.
28548         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
28549         nss_endpwent.
28550         (_nss_compat_endpwent): Call nss_endpwent.
28551         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
28552         needent, call nss_setspent only if non-zero.
28553         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
28554         (internal_endspent): Don't call nss_endspent.
28555         (_nss_compat_endspent): Call nss_endspent.
28556         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
28557         Remove.  All uses removed.
28558         (internal_setent): Remove parameter stayopen, add parameter
28559         stream.  Use it instead of global variable.
28560         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
28561         (internal_endent, internal_getent): Add parameter stream.  Use it
28562         instead of global variable.
28563         (CONCAT(_nss_files_end,ENTNAME))
28564         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
28565         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
28566         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
28567         uses removed.
28568         (internal_setent, internal_endent): Add parameter stream.  Use it
28569         instead of global variable.
28570         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
28571         stream.
28572         (get_next_alias): Add parameter stream.
28573         (_nss_files_getaliasent_r): Pass global stream.
28574         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
28575         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
28576         (_nss_files_gethostbyname4_r): Pass local stream to
28577         internal_setent, internal_getent and internal_endent.  Remove
28578         locking.
28580 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28582         * tst-strfmon1.c (tests): Update expected currency symbol.
28584 2015-05-08  Roland McGrath  <roland@hack.frob.com>
28586         * sysdeps/nacl/gethostname.c: New file.
28588 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
28590         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
28591         and sinh.
28592         * math/auto-libm-test-out: Regenerated.
28593         * sysdeps/i386/fpu/libm-test-ulps: Update.
28594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28596 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
28598         [BZ #18125]
28599         * stdlib/tst-setcontext3.c: New file.
28600         * stdlib/tst-setcontext3.sh: New file.
28601         * stdlib/Makefile (tests): Add tst-setcontext3.
28602         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
28603         to verify test program created output file.
28604         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
28605         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
28606         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
28607         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
28609 2015-05-06  Roland McGrath  <roland@hack.frob.com>
28611         [BZ #18383]
28612         * elf/tst-tlsalign.c: New file.
28613         * elf/tst-tlsalign-static.c: New file.
28614         * elf/tst-tlsalign-lib.c: New file.
28615         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
28616         (tests-static): Add tst-tlsalign-static.
28617         (modules-names): Add tst-tlsalign-lib.
28618         (test-xfail-tst-tlsalign): New variable.
28619         (test-xfail-tst-tlsalign-static): New variable.
28621         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
28622         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
28624 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
28626         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
28627         csqrt, erfc, sin and sincos.
28628         * math/auto-libm-test-out: Regenerated.
28629         * sysdeps/i386/fpu/libm-test-ulps: Update.
28630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28632 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28634         * sysdeps/aarch64/libm-test-ulps: Update.
28636 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
28638         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
28639         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
28640         * math/auto-libm-test-out: Regenerated.
28641         * sysdeps/i386/fpu/libm-test-ulps: Update.
28642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28644 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28646         [BZ #18265]
28647         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
28648         (wcsncpy): Likewise.
28650 2015-05-05  Florian Weimer  <fweimer@redhat.com>
28652         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28653         Assume __ASSUME_FALLOCATE is always true.
28654         * sysdeps/unix/sysv/linux/posix_fallocate64.c
28655         (__posix_fallocate64_l64): Likewise.
28656         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
28657         (posix_fallocate): Likewise.
28658         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
28659         (__posix_fallocate64_l64): Likewise.
28660         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28661         [!__ASSUME_FALLOCATE]: Add comment.
28663 2015-05-05  Florian Weimer  <fweimer@redhat.com>
28665         * sysdeps/unix/sysv/linux/i386/Makefile
28666         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
28667         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
28668         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
28669         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28670         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28671         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
28672         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
28674 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
28676         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
28677         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
28678         tgamma.
28679         * math/auto-libm-test-out: Regenerated.
28680         * sysdeps/i386/fpu/libm-test-ulps: Update.
28681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28683 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
28685         * math/auto-libm-test-in: Add more tests of tgamma.
28686         * math/auto-libm-test-out: Regenerated.
28687         * sysdeps/i386/fpu/libm-test-ulps: Update.
28688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28690         * math/auto-libm-test-in: Add more tests of tanh.
28691         * math/auto-libm-test-out: Regenerated.
28692         * sysdeps/i386/fpu/libm-test-ulps: Update.
28693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28695         * math/auto-libm-test-in: Add more tests of tan.
28696         * math/auto-libm-test-out: Regenerated.
28697         * sysdeps/i386/fpu/libm-test-ulps: Update.
28698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28700         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
28701         * math/auto-libm-test-out: Regenerated.
28702         * sysdeps/i386/fpu/libm-test-ulps: Update.
28703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28705         * math/auto-libm-test-in: Add another test of pow.
28706         * math/auto-libm-test-out: Regenerated.
28707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28709         * math/auto-libm-test-in: Add more tests of lgamma.
28710         * math/auto-libm-test-out: Regenerated.
28711         * sysdeps/i386/fpu/libm-test-ulps: Update.
28712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28714         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
28715         log1p.
28716         * math/auto-libm-test-out: Regenerated.
28717         * sysdeps/i386/fpu/libm-test-ulps: Update.
28718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28720 2015-05-01  Mark Wielaard  <mjw@redhat.com>
28722         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
28723         Elf64_Chdr structs and ELFCOMPRESS constants.
28725 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
28727         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
28728         expm1.
28729         * math/auto-libm-test-out: Regenerated.
28730         * sysdeps/i386/fpu/libm-test-ulps: Update.
28731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28733         * math/auto-libm-test-in: Add more tests of erf and erfc.
28734         * math/auto-libm-test-out: Regenerated.
28735         * sysdeps/i386/fpu/libm-test-ulps: Update.
28736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28738 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28740         * config.h.in (HAVE_AARCH64_BE): Add.
28742 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
28744         * math/auto-libm-test-in: Add more tests of csqrt.
28745         * math/auto-libm-test-out: Regenerated.
28746         * sysdeps/i386/fpu/libm-test-ulps: Update.
28747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28749         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28750         * math/auto-libm-test-out: Regenerated.
28751         * sysdeps/i386/fpu/libm-test-ulps: Update.
28752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28754         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
28756 2015-04-29  Roland McGrath  <roland@hack.frob.com>
28758         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
28759         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
28761         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
28762         (euidaccess, eaccess): Define as weak aliases.
28764         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
28765         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
28766         but __suseconds_t is often 'long int' so some sources assume that
28767         type is being used (e.g. they use %ld to print tv_usec).
28769 2015-04-29  Florian Weimer  <fweimer@redhat.com>
28771         [BZ #18007]
28772         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
28773         (CVE-2014-8121)
28774         * nss/tst-nss-getpwent.c: New file.
28775         * nss/Makefile (tests): Add new test.
28777 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
28779         [BZ #18346]
28780         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
28781         exponents less than 48 as cases where high part of mantissa needs
28782         examining to determine whether argument is integral.
28783         * math/libm-test.inc (round_test_data): Add more tests.
28785 2015-04-28  Mark Wielaard  <mjw@redhat.com>
28787         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
28789 2015-04-27  David S. Miller  <davem@davemloft.net>
28791         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
28792         __tls_get_addr.
28793         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28795 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
28797         [BZ#18333]
28798         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
28800 2015-04-27  Florian Weimer  <fweimer@redhat.com>
28802         [BZ#18333]
28803         * time/tzset.c (parse_tzname): Return error on memory allocation
28804         failure.
28805         * test-skeleton.c (struct temp_name_list): Change type of name
28806         member to non-const.
28807         (add_temp_file): Create a copy of the file name.
28808         (delete_temp_files): Deallocate memory.
28809         (create_temp_file): Add comment.
28811 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28813         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
28814         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
28816 2015-04-24  Roland McGrath  <roland@hack.frob.com>
28818         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
28819         * sysdeps/arm/configure: Regenerated.
28821 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28823         [BZ #17715]
28824         * time/tzfile.c (__tzfile_read): Check for large values of
28825         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
28826         * time/tzset.c (__tzstring_len): New function, based on the old
28827         __tzstring function.
28828         (__tzstring): Call __tzstring_len.
28829         (parse_tzname): New helper function extracted from
28830         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
28831         the input string.
28832         (parse_offset): New helper function extracted from
28833         __tzset_parse_tz.  Replace switch with fallthrough with
28834         initialization before sscanf.
28835         (parse_rule): Likewise.
28836         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
28837         new-style function definition.
28838         * timezone/Makefile (tests): Add tst-tzset.
28839         (tst-tzset.out): Dependencies on time zone files.
28840         (tst-tzset-ENV): Set TZDIR.
28841         (testdata/XT%): Copy crafted time zone files.
28842         * timezone/README: Mention crafted time zone files.
28843         * timezone/testdata/XT1, timezone/testdata/XT2,
28844         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
28845         files.
28846         * timezone/tst-tzset.c: New test.
28848 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28850         * Makeconfig (+gccwarn): Remove -Winline.
28852 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28854         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
28856 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28858         * NEWS: Mention sysconf() cache information support for s390.
28859         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
28861 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
28863         * math/k_casinh.c (__kernel_casinh): Use __copysign.
28864         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
28865         (__nearbyint): Likewise.
28866         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
28867         (copysignl): Likewise.
28869 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
28871         [BZ #18287]
28872         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
28873         based on padding.  (CVE-2015-1781)
28875 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28877         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
28878         libc-vdso.h.
28879         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
28880         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
28881         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
28882         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28883         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28884         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
28885         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
28886         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28887         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28888         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
28889         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28890         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28891         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28892         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
28893         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28894         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
28895         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28896         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
28897         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
28898         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
28899         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
28900         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
28901         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
28903 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
28905         * stdlib/setenv.c (__add_to_environ):
28906         Dump core quickly if setenv (..., NULL, ...) is called.
28907         This time, do it the right way, and pacify GCC with a pragma.
28909 2015-04-17  Roland McGrath  <roland@hack.frob.com>
28911         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
28912         IMAP->l_prev cannot be null, and #if out the code for the contrary
28913         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
28914         believe that NS (&_dl_ns[NSID]) could point outside the array.
28916         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
28917         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
28918         before using NSID as an index.
28920 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
28922         [BZ #17825]
28923         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
28924         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
28925         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28927 2015-04-17  Roland McGrath  <roland@hack.frob.com>
28929         Add preliminary port to Google Native Client on ARM.
28930         * abi-tags (.*-.*-nacl.*): New entry.
28931         * sysdeps/arm/nacl: New directory.
28932         * sysdeps/nacl: New directory.
28934 2015-04-16  David S. Miller  <davem@davemloft.net>
28936         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
28937         lowlevellock-futex.h
28939 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
28941         * sysdeps/tile/configure.ac: New file.
28942         * sysdeps/tile/configure: Regenerated.
28944 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28946         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
28947         conditionals for weak_alias and libc_hidden_weak.
28948         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
28949         libc_hidden_weak and weak_alias.
28950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
28951         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
28952         and weak_alias for static one.
28954 2015-04-15  David S. Miller  <davem@davemloft.net>
28956         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28958 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28960         [BZ #18206]
28961         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
28962           Use signed comparision instead of substraction to avoid
28963           overflow bug.
28964         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
28965           Take the sign of ret.
28966         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
28967           Do not expect precise return values. Only the sign matters.
28968         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
28969         * wcsmbs/test-wcsncmp.c: New File.
28970         * string/test-strncmp.c: Add wcsncmp support.
28972 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28974         [BZ #6792]
28975         * math/w_log1p.c: New file.
28976         * math/w_log1pf.c: Likewise.
28977         * math/w_log1pl.c: Likewise.
28978         * math/Makefile (libm-calls): Add w_log1p.
28979         * math/s_log1pl.c (log1pl): Remove weak_alias.
28980         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
28981         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
28982         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
28983         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
28984         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
28985         [NO_LONG_DOUBLE] (log1pl): Likewise.
28986         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
28987         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
28988         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
28989         (log1p): Remove long_double_symbol.
28990         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
28991         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
28992         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
28993         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
28994         remove weak_alias for corresponding log1p function.
28995         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
28996         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
28997         * sysdeps/ia64/fpu/w_log1p.c: New file.
28998         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
28999         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29000         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29002 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29004         [BZ #18247]
29005         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29006         decimal exponent by 1.
29007         * stdlib/tst-strtod-round-data: Add more tests.
29008         * stdlib/tst-strtod-round.c (tests): Regenerated.
29010 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29012         * math/auto-libm-test-in: Add more tests of clog and clog10.
29013         * math/auto-libm-test-out: Regenerated.
29014         * sysdeps/i386/fpu/libm-test-ulps: Update.
29015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29017 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29019         * Makeconfig (module-cppflags): Exclude all .v.i files.
29020         (skip-module-cppflags): Variable removed.
29022         * configure.ac (libc_config_ok): Initialize before reading
29023         preconfigure scripts, not after.
29024         * configure: Regenerated.
29026         * test-skeleton.c (TIMEOUT): Move #define to top level.
29027         (main): Grok environment variable TEST_DIRECT.  If set, print
29028         test expectation details into that file and then behave as if
29029         given --direct.
29031 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29033         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29034         warning on 32-bit.
29036 2015-04-08  David S. Miller  <davem@davemloft.net>
29038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29040 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29042         * math/auto-libm-test-in: Add more tests of atanh.
29043         * math/auto-libm-test-out: Regenerated.
29044         * sysdeps/i386/fpu/libm-test-ulps: Update.
29045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29047         * math/auto-libm-test-in: Add more tests of atan.
29048         * math/auto-libm-test-out: Regenerated.
29049         * sysdeps/i386/fpu/libm-test-ulps: Update.
29050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29052 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29054         * elf/pldd.c (main): Rewrite to use struct
29055         scratch_buffer instead of extend_alloca.
29056         * elf/pldd-xx.c (find_maps): Likewise.
29057         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29058         <alloca.h>.
29059         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29060         scratch_buffer instead of extend_alloca.
29061         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29062         grp/compat-initgroups.c.
29063         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29064         Rewrite to use struct scratch_buffer instead of extend_alloca.
29065         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29066         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29068 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29070         * math/auto-libm-test-in: Add more tests of cbrt.
29071         * math/auto-libm-test-out: Regenerated.
29072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29074         * math/auto-libm-test-in: Add more tests of cabs.
29075         * math/auto-libm-test-out: Regenerated.
29076         * sysdeps/i386/fpu/libm-test-ulps: Update.
29077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29079         [BZ #18210]
29080         [BZ #18211]
29081         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29082         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29083         computations.
29084         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29085         clog10.
29086         * math/auto-libm-test-out: Regenerated.
29087         * sysdeps/i386/fpu/libm-test-ulps: Update.
29088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29090         [BZ #18197]
29091         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29092         (atan): Set FE_TONEAREST mode for internal computations.
29093         * math/auto-libm-test-in: Add more tests of atan.
29094         * math/auto-libm-test-out: Regenerated.
29096 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29098         [BZ #17930]
29099         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29101 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29103         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29105 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29107         * include/scratch_buffer.h: New file.
29108         * malloc/scratch_buffer_grow.c: Likewise.
29109         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29110         * malloc/scratch_buffer_set_array_size.c: Likewise.
29111         * malloc/tst-scratch_buffer.c: Likewise.
29112         * malloc/Makefile (routines): Add scratch_buffer_grow.
29113         (tests): Add test case.
29114         * malloc/Versions (GLIBC_PRIVATE): Export
29115         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29116         __libc_scratch_buffer_set_array_size.
29118 2015-04-06  Richard Henderson  <rth@redhat.com>
29120         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29121         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29123         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29124         unsigned int before printing.
29126 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29128         [BZ #17596]
29129         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29130         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29132 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29134         * include/libc-internal.h (libc_max_align_t): Define.
29136 2015-04-02  Andreas Schwab  <schwab@suse.de>
29138         [BZ #16850]
29139         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29141 2015-04-02  Mel Gorman  <mgorman@suse.de>
29143         [BZ #17195]
29144         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29145         as well as the main arena.
29147 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29149         [BZ #18185]
29150         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29151         sharing L2 cache to 2 for Silvermont/Knights Landing.
29153 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29155         [BZ #17711]
29156         * config.make.in (have-protected-data): New.
29157         * configure.ac: Check linker support for protected data symbol.
29158         * configure: Regenerated.
29159         * elf/Makefile (modules-names): Add tst-protected1moda and
29160         tst-protected1modb if $(have-protected-data) is yes.
29161         (tests): Add tst-protected1a and tst-protected1b if
29162         $(have-protected-data) is yes.
29163         ($(objpfx)tst-protected1a): New.
29164         ($(objpfx)tst-protected1b): Likewise.
29165         (tst-protected1modb.so-no-z-defs): Likewise.
29166         * elf/tst-protected1a.c: New file.
29167         * elf/tst-protected1b.c: Likewise.
29168         * elf/tst-protected1mod.h: Likewise.
29169         * elf/tst-protected1moda.c: Likewise.
29170         * elf/tst-protected1modb.c: Likewise.
29172 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29174         [BZ #17711]
29175         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29176         indicates it is called from do_lookup_x on relocation against
29177         protected data, skip the data definion in the executable from
29178         copy reloc.
29179         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29180         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29181         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29182         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29183         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29184         otherwise to 0.
29185         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29186         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29187         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29188         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29189         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29190         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29192 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29194         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29195         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29197 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29199         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29200         THREAD_SETMEM_NC.
29201         * sysdeps/x86_64/nptl/tls.h: Ditto.
29203 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29205         * dlfcn/tststatic.c (main): Converted to ...
29206         (do_test): ... this.
29207         (TEST_FUNCTION): New macro.
29208         Include test-skeleton.c.
29210 2015-03-26  Alan Modra  <amodra@gmail.com>
29212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29213         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29214         zero for undefined weak.
29215         (elf_machine_plt_conflict): Similarly.
29217 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29219         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29220         atanh.
29221         * math/auto-libm-test-out: Regenerated.
29222         * sysdeps/i386/fpu/libm-test-ulps: Update.
29223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29225         * math/auto-libm-test-in: Add another test of asin.
29226         * math/auto-libm-test-out: Regenerated.
29227         * sysdeps/i386/fpu/libm-test-ulps: Update.
29228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29230         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29231         Remove macro.
29232         (LLL_EBX_REG): Likewise.
29233         (LLL_ENTER_KERNEL): Likewise.
29235         * math/auto-libm-test-in: Add more tests of asin.
29236         * math/auto-libm-test-out: Regenerated.
29237         * sysdeps/i386/fpu/libm-test-ulps: Update.
29238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29240         [BZ #18138]
29241         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29242         libc_do_syscall_args): New structure.
29243         (INTERNAL_SYSCALL_MAIN_0): New macro.
29244         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29245         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29246         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29247         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29248         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29249         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29250         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29251         Replace conditional definitions by conditional definitions of ....
29252         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29253         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29254         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29255         (libpthread-sysdep_routines): Add libc-do-syscall.
29256         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29257         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29258         to __NR_futex not 240.
29260 2015-03-25  Alan Modra  <amodra@gmail.com>
29262         * NEWS: Advertise TLS optimization.
29263         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29264         (DT_PPC_NUM): Increment.
29265         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29266         (CHECK_STATIC_TLS): Use here.
29267         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29268         TLS descriptors.
29269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29270         * sysdeps/powerpc/dl-tls.c: New file.
29271         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29272         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29273         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29274         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29279 2015-03-25  Alan Modra  <amodra@gmail.com>
29281         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29282         for overlapping .opd entries" to "support...".
29283         * sysdeps/powerpc/powerpc64/configure: Regenerate
29285 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29287         * math/auto-libm-test-in: Add more tests of acos.
29288         * math/auto-libm-test-out: Regenerated.
29289         * sysdeps/i386/fpu/libm-test-ulps: Update.
29290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29292         * math/auto-libm-test-in: Add more tests of expm1.
29293         * math/auto-libm-test-out: Regenerated.
29294         * sysdeps/i386/fpu/libm-test-ulps: Update.
29295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29297 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29299         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29300         * math/auto-libm-test-out: Regenerated.
29301         * sysdeps/i386/fpu/libm-test-ulps: Update.
29302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29304         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29307         * math/auto-libm-test-in: Add more tests of log2.
29308         * math/auto-libm-test-out: Regenerated.
29309         * sysdeps/i386/fpu/libm-test-ulps: Update.
29310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29312 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29314         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29315         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29316         _IO_IS_APPENDING bit in READ_WRITE instead.
29318 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29320         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29321         (__determine_cpumask_size): Replace extend_alloca with a
29322         variable-length array.  Do not treat res == 0 as an error.
29324 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29326         [BZ #18100]
29327         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29328         and integer overflow.
29329         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29330         (main): Add integer overflow tests.
29331         * manual/pattern.texi (Calling Wordexp): Document additional use
29332         for WRDE_SYNTAX.
29334 2015-03-23  Alan Modra  <amodra@gmail.com>
29336         * config.h.in: Remove HAVE_ASM_PPC_REL16.
29337         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29338         and false branch of conditional.
29339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29340         Likewise.
29342 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
29344         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29345         libc-modules.h
29346         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29347         unused declaration of _hurd_intr_rpc_msg_in_trap.
29348         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29349         defined instead of whether it is non-zero.
29350         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29351         input constraint instead of both input and output constraint.  Use ecx
29352         clobber instead of %ecx.
29353         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29354         mutex_unlock): Use a statement expression instead of an expression list.
29355         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29356         type to vm_size_t instead of vm_address_t.
29357         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
29358         defined instead of whether it is non-zero.
29359         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
29360         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
29361         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29362         comparisons with mapaddr.
29363         * nscd/nscd-client.h: Include <time.h>.
29364         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
29365         9th parameter to __vm_region instead of int.
29366         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
29367         * scripts/check-local-headers.sh (exclude): Add device/,
29368         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
29369         cthreads.h.
29371 2015-03-19  Roland McGrath  <roland@hack.frob.com>
29373         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29374         to account for alignment padding.
29375         * sysdeps/arm/memmove.S: Likewise.
29377 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
29379         * sysdeps/unix/sysv/linux/generic/README: New file.
29381 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
29383         [BZ #18138]
29384         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
29385         (futex_abstimed_wait)
29386         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
29387         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
29388         of lll_futex_timed_wait.
29390 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
29392         [BZ #17542]
29393         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
29395 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
29397         [BZ #17090]
29398         [BZ #17620]
29399         [BZ #17621]
29400         [BZ #17628]
29401         * NEWS: Update.
29402         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
29403         entries with Static TLS too.  Skip entries past the end of the
29404         allocated DTV, from Alan Modra.
29405         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
29406         Static TLS DTV entry set up from...
29407         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
29408         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
29409         * nptl/allocatestack.c (init_one_static_tls): ... and here...
29410         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
29411         for Static TLS.
29412         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
29413         that the slot we find is associated with the given map before
29414         using its generation count.
29415         * nptl_db/db_info.c: Include ldsodefs.h.
29416         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
29417         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29418         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
29419         (link_map::l_tls_offset): New struct field.
29420         (dtv_t::counter): Likewise.
29421         (rtld_global): New struct.
29422         (_rtld_global): New rtld variable.
29423         (dl_tls_dtv_slotinfo_list): New rtld global field.
29424         (dtv_slotinfo_list): New struct.
29425         (dtv_slotinfo): Likewise.
29426         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
29427         (td_lookup): Rename to...
29428         (td_mod_lookup): ... this.  Use new mod parameter instead of
29429         LIBPTHREAD_SO.
29430         * nptl_db/td_thr_tlsbase.c: Include link.h.
29431         (dtv_slotinfo_list, dtv_slotinfo): New functions.
29432         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
29433         addresses even if the DTV is out of date or missing them.
29434         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
29435         index zero-length arrays.
29436         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
29437         (td_lookup): Make it a macro implemented in terms of...
29438         (td_mod_lookup): ... this declaration.
29439         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
29440         (DB_MAIN_VARIABLE): Likewise.
29442 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29444         [BZ #18134]
29445         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29447 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
29449         * stdlib/setenv.c (__add_to_environ): Revert previous change.
29451 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
29453         [BZ #18128]
29454         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
29455         (atomic_add, atomic_increment_and_test)
29456         (atomic_decrement_and_test): Fix 64-bit arithmetic.
29458 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
29460         * stdlib/setenv.c (__add_to_environ):
29461         Dump core quickly if setenv (..., NULL, ...) is called.
29463 2015-03-13  Roland McGrath  <roland@hack.frob.com>
29465         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
29466         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
29467         all the necessary asm magic in one place.
29468         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
29469         using those.
29471 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
29473         [BZ #14906]
29474         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
29475         traced file mtime. Use consistent log message.
29476         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
29477         (register_traced_file): Call install_watches. Always set mtime.
29478         (invalidate_cache): Iterate over all trace files. Call install_watches.
29479         (inotify_check_files): Don't inline. Handle watching parent
29480         directories and configuration file movement in and out.
29481         (handle_inotify_events): New function.
29482         (main_loop_poll): Call handle_inotify_events.
29483         (main_loop_epoll): Likewise.
29484         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
29485         (struct traced_file): Use array of inotify fds. Add parent directory,
29486         and basename.
29487         (struct database_dyn): Remove unused file_mtime.
29488         (init_traced_file): New inline function.
29489         (define_traced_file): New macro.
29490         * nss/nss_db/db-init.c: Use define_traced_file.
29491         (_nss_db_init): Use init_traced_file.
29492         * nss/nss_files/files-init.c: Use define_traced_file.
29493         (_nss_files_init): Use init_traced_file.
29495 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
29497         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
29498         [_LIBC]: Do not include <stdlib.h>.
29499         [!_LIBC] (abort): Remove declaration.
29500         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
29501         _FP_STATIC_ASSERT instead of conditionally calling abort.
29502         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
29503         (_FP_EXTEND_CNAN): Likewise.
29504         (FP_TRUNC): Likewise.
29505         (__FP_CLZ): Likewise.
29506         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
29508 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
29510         * manual/string.texi (XPG basename): Fix prototype.
29512 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29514         [BZ #18080]
29515         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
29516         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29517         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
29518         (__setcontext): Likewise.
29519         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
29520         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29521         Call rt_sigprocmask syscall one time to set new signal mask
29522         and retrieve the current signal mask instead of two calls.
29523         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
29524         (__swapcontext): Likewise.
29525         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
29526         * stdlib/tst-setcontext2.c: New file.
29528 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29530         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29532 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
29534         [BZ #18093]
29535         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
29536         the wrong size.
29538 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29540         [BZ #18043]
29541         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
29543 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29545         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
29546         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
29547         Remove define.
29548         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
29549         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
29550         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
29551         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
29552         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
29553         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
29554         define.
29555         * nptl_db/td_symbol_list.c (td_lookup): Remove
29556         HAVE_ASM_GLOBAL_DOT_NAME code.
29557         * sysdeps/powerpc/powerpc64/configure.ac: Remove
29558         HAVE_ASM_GLOBAL_DOT_NAME check.
29559         * sysdeps/powerpc/powerpc64/configure: Regenerate.
29560         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
29561         (DOT_LABEL): Remove define.
29562         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
29563         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
29564         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
29565         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
29566         (__TLS_GET_ADDR): Likewise.
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
29568         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
29570 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
29572         [BZ #18111]
29573         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
29574         (_FPU_SETCW): Initialize cw from fpsr before storing.
29575         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
29576         (fesetexceptflag): Rewrite using fpu_control.h.
29577         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
29579 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
29581         [BZ #18110]
29582         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
29583         asms.
29584         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29586 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
29588         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
29589         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
29590         abort.
29591         (_FP_FMA): Likewise.
29592         (_FP_DIV): Likewise.
29594 2015-03-10  Roland McGrath  <roland@hack.frob.com>
29596         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
29597         with 0 in that case.
29598         * Makefile (summarize-tests): New canned sequence, factored out of
29599         commands for targets tests and xtests.  Display summary lines that
29600         don't start with PASS: or XFAIL: rather than ones that do start with
29601         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
29602         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
29603         do start with ERROR: or FAIL:.
29604         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
29605         (except for [$(build-shared) = yes]).
29606         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
29607         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
29608         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
29609         * nptl/Makefile: Revert 2015-03-04 changes.
29610         [$(CXX) empty] (tests-unsupported): New variable.
29611         * debug/Makefile: Likewise.
29613         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
29614         gnulib file.  Replace __attribute with __attribute__ throughout.
29616 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
29618         * sysdeps/hppa/fpu/libm-test-ulps: Update.
29620 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
29622         [BZ #18104]
29623         * math/auto-libm-test-in: Add another test of pow.
29624         * math/auto-libm-test-out: Regenerated.
29626 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29628         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
29629         $(config-cflags-nofma).
29631 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
29633         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
29634         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
29635         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
29636         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
29637         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
29638         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
29639         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
29640         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
29641         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
29642         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
29643         Add comment on closing #endif.
29645 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29647         * posix/wordexp.c (CHAR_IN_SET): New macro.
29648         (parse_param): Use it.
29650 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29652         * sysdeps/powerpc/fpu/libm-test-ulps: update.
29654 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29656         [BZ #18043]
29657         * posix/wordexp.c (parse_param): Fix buffer overflow.
29658         * posix/wordexp-test.c (test_case): Add test case.
29660 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29662         [BZ #18042]
29663         * posix/wordexp.c (parse_backtick): Fix off-by-one.
29664         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
29666 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29668         [BZ #18043]
29669         * posix/wordexp-test.c (test_case): Add test for BZ #18043
29670         (do_bz18043): Delete.
29671         (at_page_end): New.
29672         (testit): Refactor to have words at the edge of unreadable page.
29674 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29676         [BZ #16734]
29677         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
29678         Cleanup read-only streams as well.
29679         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
29681 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29683         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
29684         <bits/libc-lockP.h>
29686 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
29688         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
29689         on [__KERNEL__].
29690         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
29691         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
29692         * soft-fp/op-common.h (_FP_DECL): Likewise.
29694 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
29696         * elf/ifuncdep2.c (global): Replace
29697         __attribute__((visibility("protected"))) with
29698         asm (".protected global").
29699         * elf/ifuncmod1.c (global): Likewise.
29700         * elf/ifuncmod5.c (global): Likewise.
29702 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
29704         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
29705         <asm/sfp-machine.h> instead of <sfp-machine.h>.
29707 2015-03-06  Roland McGrath  <roland@hack.frob.com>
29709         * manual/install.texi (Configuring and compiling):
29710         Document test-wrapper-env-only.
29711         * INSTALL: Regenerated.
29713 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29715         [BZ #18043]
29716         * posix/wordexp.c (parse_param): Fix buffer overflow.
29717         * posix/wordexp-test.c (do_bz18043): Add test case.
29719 2015-03-06  Vincent Bernat  <vincent@bernat.im>
29721         * time/tst-strptime2.c (do_test): Ensure failing tests are
29722         reported correctly.
29723         * time/tst-strptime3.c (do_test): Likewise.
29725 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
29727         Fix aio_error thread-safety.
29728         * sysdeps/pthread/aio_error.c: New file
29729         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
29730         synchronization.
29732 2015-03-06  Florian Weimer  <fweimer@redhat.com>
29734         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
29735         (group_number, vfprintf): Use it.
29736         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
29737         (JUMP, REF): Use it.
29738         (WORK_BUFFER_SIZE): New enum constant.
29739         (process_arg, vfprintf): Use it.
29741 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
29743         * manual/errno.texi (Error Messages): Complete example function
29744         by adding missing #define.
29745         (program_invocation_name): Add statement indicating GNU
29746         extension and reference which header file declares the variable.
29747         (program_invocation_short_name): Likewise.
29749 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
29751         * manual/errno.texi (Error Messages): Delete strerror ISO C89
29752         compatibility note.
29754 2015-03-05  Roland McGrath  <roland@hack.frob.com>
29756         * Makeconfig (test-wrapper-env-only): New variable.
29757         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
29758         then use that with $(test-wrapper-env-only) rather than using
29759         $(test-wrapper-env) $(run-program-env) $($*-ENV).
29761 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29763         [BZ #18082]
29764         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
29765         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
29766         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
29767         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
29768         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
29769         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
29770         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
29771         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
29772         Likewise.
29773         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
29774         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
29775         Likewise.
29776         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
29777         Likewise.
29778         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
29779         Likewise.
29780         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
29781         Likewise.
29782         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
29783         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
29784         Likewise.
29785         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
29786         Likewise.
29787         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
29788         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
29790 2015-03-04  Roland McGrath  <roland@hack.frob.com>
29792         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
29793         (ETH_ALEN): New macro.
29794         (struct ether_addr): Use it for length of ether_addr_octet.
29796         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
29797         (setdb): Don't call __nss_configure_lookup for "rpc".
29798         (do_test): Don't call test_rpc.
29799         (output_rpcent, test_rpc): Functions moved ...
29800         * sunrpc/test-rpcent.c: ... to this new file.
29801         * sunrpc/Makefile (tests): Add it.
29803         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
29804         __xpg_sigpause.
29805         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
29806         * nptl/tst-signal6.c: Likewise.
29807         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
29808         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
29810         * configure.ac (libc_cv_cxx_link_ok): New check.
29811         Reset CXX to empty if it fails to link.
29812         * configure: Regenerated.
29813         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
29814         bug-atexit3-lib only if $(CXX) is nonempty.
29815         * nptl/Makefile (tests): Likewise for tst-cancel24.
29816         (tests, tests-static): Likewise for tst-cancel24-static.
29817         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
29818         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
29819         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
29820         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
29822 2015-03-04  Andreas Schwab  <schwab@suse.de>
29824         [BZ #17631]
29825         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
29826         for non-GCC compilers.
29827         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29828         Likewise.
29830 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29832         [BZ #17776]
29833         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
29834         integer before bitwise and assembly operations.
29835         (feclearexcept): Likewise.
29836         * math/test-fenvinline.c: New file.
29837         * math/Makefile: Add test-fenvinline test.
29839 2015-03-03  Alan Modra  <amodra@gmail.com>
29841         [BZ #16512]
29842         * scripts/localplt.awk: Strip off symbol version.
29843         * NEWS: Mention bug fix.
29845 2015-03-02  Roland McGrath  <roland@hack.frob.com>
29847         * sysdeps/pthread/timer_routines.c
29848         (timer_free_list, thread_free_list, thread_active_list): Make static.
29850 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
29852         [BZ #17779]
29853         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29854         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29855         Undefine.
29856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29857         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29858         Likewise.
29859         * sysdeps/unix/sysv/linux/sh/kernel-features.h
29860         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29861         Likewise.
29863 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29865         [BZ #18036]
29866         * posix/fnmatch_loop.c (END): Detect invalid pattern.
29867         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
29869 2015-03-02  Andreas Schwab  <schwab@suse.de>
29871         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
29872         variable name.
29874 2015-03-02  Florian Weimer  <fweimer@redhat.com>
29876         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
29877         Return error status.
29879 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
29881         [BZ #15969]
29882         * locale/findlocale.c (_nl_find_locale): Introduce const
29883         version of loc_name and drop unsafe type casts.
29885 2015-02-27  Roland McGrath  <roland@hack.frob.com>
29887         * dlfcn/tststatic2.c (main): Converted to ...
29888         (do_test): ... this.
29889         (TEST_FUNCTION): New macro.
29890         Include test-skeleton.c.
29892 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
29894         [BZ #17711]
29895         * elf/Makefile (tests): Add vismain only if PIE is enabled.
29896         (tests-pie): Add vismain.
29897         (CFLAGS-vismain.c): New.
29898         * elf/vismain.c: Add comments for PIE requirement.
29900 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29902         [BZ #18046]
29903         [BZ #18047]
29904         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
29905         0x1p-56L as threshold for just returning the argument.
29906         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
29907         0x1p-32L as threshold for just returning the argument.
29908         * math/auto-libm-test-in: Add more tests of atanh.
29909         * math/auto-libm-test-out: Regenerated.
29910         * sysdeps/i386/fpu/libm-test-ulps: Update.
29911         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29913 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
29915         * string/bcopy.c (bcopy): Call memmove for performance.
29917 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
29919         * string/bzero.c (__bzero): Call memset for performance.
29921 2015-02-27  John David Anglin  <dave.anglin@bell.net>
29923         [BZ #18068]
29924         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
29925         to 00100000.
29927 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29929         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
29931 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
29933         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
29934         (__kernel_standard): Use CSTR macro when setting exc.name.
29935         * sysdeps/ieee754/Makefile [$(subdir) = math]
29936         (CFLAGS-k_standard.c): Remove variable.
29938         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
29939         setting p and q from "else if" to "else".
29940         (qzero): Likewise.
29941         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
29942         (qone): Likewise.
29943         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
29944         (qzerof): Likewise.
29945         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
29946         (qonef): Likewise.
29947         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
29948         (qzero): Likewise.
29949         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
29950         (qone): Likewise.
29952         [BZ #18038]
29953         [BZ #18039]
29954         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
29955         return pi/2 for arguments below 0x1p-113L.
29956         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
29957         return pi/2 for arguments below 0x1p-106L.
29958         * math/auto-libm-test-in: Add more tests of acos.
29959         * math/auto-libm-test-out: Regenerated.
29961         [BZ #16351]
29962         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
29963         (MO): New macro.
29964         (__ieee754_asin): Force underflow exception for results with small
29965         absolute value.
29966         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
29967         (MO): New macro.
29968         (__ieee754_asinf): Force underflow exception for results with
29969         small absolute value.
29970         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
29971         (__ieee754_asin): Force underflow exception for results with small
29972         absolute value.
29973         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
29974         (__ieee754_asinf): Force underflow exception for results with
29975         small absolute value.
29976         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
29977         (__ieee754_asinl): Force underflow exception for results with
29978         small absolute value.
29979         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
29980         (__ieee754_asinl): Force underflow exception for results with
29981         small absolute value.
29982         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
29983         (__ieee754_asinl): Force underflow exception for results with
29984         small absolute value.
29985         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29986         Include <math.h>.
29987         * math/auto-libm-test-in: Do not mark underflow exceptions as
29988         possibly missing for bug 16351.
29989         * math/auto-libm-test-out: Regenerated.
29991         [BZ #18030]
29992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
29993         of power of 2 down when low part has opposite sign.
29994         * math/libm-test.inc (logb_test_data): Add more tests.
29996 2015-02-26  Andreas Schwab  <schwab@suse.de>
29998         [BZ #18032]
29999         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30000         over collating symbol inside a bracket expression.  Minor cleanup.
30001         * posix/tst-fnmatch3.c (do_test): Add test case.
30003 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30005         [BZ #18029]
30006         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30007         Adjust exponent of power of 2 down when low part has opposite
30008         sign.
30009         * math/libm-test.inc (ilogb_test_data): Add more tests.
30011 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30013         [BZ #15969]
30014         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30015         the previous change.
30017         [BZ #15969]
30018         * locale/findlocale.c (_nl_find_locale): Retry archive search
30019         after alias expansion.
30021 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30023         * iconv/tst-iconv3.c (main): Converted to ...
30024         (do_test): ... this.
30025         (TEST_FUNCTION): New macro.
30026         Include test-skeleton.c.
30028         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30029         (convert): Make function static.
30030         (test_unalign): Likewise.  Add const to argument pointee types.
30031         (main): Replace with static function do_test.
30032         Print "Succeeded." only if RET is zero.
30033         (TEST_FUNCTION): New macro.
30034         Include test-skeleton.c.
30036         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30037         returns a null pointer.
30039 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30041         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30042         to __memcpy_ppc only for static builds.
30044 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30046         [BZ #18020]
30047         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30048         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30049         * math/auto-libm-test-in: Add more tests of asinh.
30050         * math/auto-libm-test-out: Regenerated.
30051         * sysdeps/i386/fpu/libm-test-ulps: Update.
30052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30054 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30056         [BZ #15850]
30057         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30058         and ip6_mtuinfo definitions here.
30059         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30060         in this define too.  Update comment.
30062 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30064         * elf/sprof.c (load_shobj): Tweak error message to match others.
30066 2015-02-24  Kevin Easton  <kevin@guarana.org>
30068         [BZ #16145] (partial fix)
30069         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30070         to reduce lock contention.
30072 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30074         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30075         (struct timex): Update time comment.
30076         (ADJ_SETOFFSET): Define.
30078 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30080         [BZ #18019]
30081         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30082         2**56 not 2**28 as threshold for log (2x) formula.
30083         * math/auto-libm-test-in: Add more tests of acosh.
30084         * math/auto-libm-test-out: Regenerated.
30085         * sysdeps/i386/fpu/libm-test-ulps: Update.
30086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30088 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30090         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30091         parenthesis around the buf assignment.
30092         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30094 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30096         [BZ #16783]
30097         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30098         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30099         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30100         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30101         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30102         * math/libm-test.inc (scalb_test_data): Add more tests.
30104 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30106         [BZ #17916]
30107         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30108         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30110 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30112         [BZ #17523]
30113         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30114         * io/bits/fcntl2.h (open): Use it.
30115         (openat): Likewise.
30116         * io/open.c (__libc_open): Likewise.
30117         * io/open64.c (__libc_open64): Likewise.
30118         * io/open64_2.c (__open64_2): Likewise.
30119         * io/open_2.c (__open_2): Likewise.
30120         * io/openat.c (__openat): Likewise.
30121         * io/openat64.c (__openat64): Likewise.
30122         * io/openat64_2.c (__openat64_2): Likewise.
30123         * io/openat_2.c (__openat_2): Likewise.
30124         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30125         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30126         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30127         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30128         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30129         (__open_nocancel): Likewise.
30130         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30131         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30132         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30134 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30136         [BZ #14841]
30137         * resolv/gethnamaddr.c (getanswer): Skip logging if
30138         RES_USE_DNSSEC is set.
30139         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30141 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30143         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30145 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30147         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30148         201304L, for Unicode 7.
30150 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30152         [BZ #17836]
30153         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30154         shared library.  Add gmon-start.os otherwise.
30155         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30156         $(objpfx)gmon-start.os if builing shared library.
30157         ($(objpfx)g$(static-start-installed-name)): Likewise.
30159 2015-02-23  Andreas Schwab  <schwab@suse.de>
30161         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30163 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30165         [BZ #17269]
30166         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30167         (enlarge_userbuf): Likewise.
30169 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30171         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30172         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30173         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30174         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30176 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30178         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30179         expression inside statement expression.
30181 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30183         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30184         <sysdeps/nptl/lowlevellock.h> and remove macros and
30185         functions that are now defined there.
30186         (SYS_futex): Remove.
30187         (lll_compare_and_swap): Remove.
30188         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30190 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30192         [BZ #17999]
30193         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30194         instead of scandirat.
30195         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30196         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30197         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30198         __scandirat.
30199         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30200         (__scandirat): Declare.  Use libc_hidden_proto.
30201         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30202         Remove variable.
30203         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30205 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30207         [BZ #15319]
30208         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30209         (MO): New macro.
30210         (__ieee754_atan2): For results with small absolute value, force
30211         underflow exception and remove excess range and precision from
30212         return value.
30213         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30214         (MO): New macro.
30215         (__ieee754_atan2f): For results with small absolute value, force
30216         underflow exception and remove excess range and precision from
30217         return value.
30218         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30219         (MO): New macro.
30220         (__atan): For results with small absolute value, force underflow
30221         exception and remove excess range and precision from return value.
30222         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30223         (MO): New macro.
30224         (__atanf): For results with small absolute value, force underflow
30225         exception and remove excess range and precision from return value.
30226         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30227         <math.h>.
30228         (__ieee754_atan2): Force underflow exception for results with
30229         small absolute value.
30230         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30231         <math_private.h>.
30232         (atan): Force underflow exception for results with small absolute
30233         value.
30234         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30235         (__atanf): Force underflow exception for results with small
30236         absolute value.
30237         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30238         <math.h>.
30239         (__atanl): Force underflow exception for results with small
30240         absolute value.
30241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30242         (__atanl): Force underflow exception for results with small
30243         absolute value.
30244         * sysdeps/x86/fpu/bits/mathinline.h
30245         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30246         (__ieee754_atan2): Only define inline for long double.
30247         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30248         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30249         * math/auto-libm-test-in: Do not mark underflow exceptions as
30250         possibly missing for bug 15319.  Add more tests of atan2.
30251         * math/auto-libm-test-out: Regenerated.
30252         * math/libm-test.inc (casin_test_data): Do not mark underflow
30253         exceptions as possibly missing for bug 15319.
30254         (casinh_test_data): Likewise.
30255         * sysdeps/i386/fpu/libm-test-ulps: Update.
30257 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30259         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30260         * sysdeps/mips/bits/endian.h: Fix comments.
30262 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30264         [BZ #17996]
30265         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30266         (hdestroy_r): Likewise.
30267         (hsearch_r): Likewise.
30268         (__hcreate_r): Declare and use libc_hidden_proto.
30269         (__hdestroy_r): Likewise.
30270         (__hsearch_r): Likewise.
30271         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30272         (hcreate): Call __hcreate_r instead of hcreate_r.
30273         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30274         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30275         as weak alias of __hcreate_r.
30276         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30277         __hdestroy_r.
30278         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30279         __hsearch_r.
30280         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30281         Remove variable.
30282         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30283         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30284         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30285         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30287 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30289         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30290         arena_lock into a single arena_get.
30292 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30294         * dl-reloc.c: Inlucde libc-internal.h.
30295         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30296         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30297         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30298         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30299         (grow_heap): Likewise.
30300         * malloc/malloc.c: Include libc-internal.h.
30301         (do_check_malloc): Call powerof2.
30302         (sysmalloc): Use pagesize. Call ALIGN_UP.
30303         (systrim): Use pagesize.
30304         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30305         (__libc_valloc): Use pagesize.
30306         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30308 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30310         [BZ #17991]
30311         * include/sys/resource.h (__getrlimit64): Declare.  Use
30312         libc_hidden_proto.
30313         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30314         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30315         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30316         getrlimit64.
30317         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30318         __getrlimit64.
30319         [!getrlimit64] (getrlimit64): Define as weak alias of
30320         __getrlimit64.  Use libc_hidden_weak.
30321         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30322         using __getrlimit64 not __new_getrlimit64.
30323         (__GI_getrlimit64): Likewise.
30324         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30325         Likewise.
30326         (__GI_getrlimit64): Likewise.
30327         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30329         (getrlimit): Add __getrlimit64 alias.
30330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30331         Likewise.
30332         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30333         Remove variable.
30334         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30335         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30337 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
30339         * libio/fileops.c: Add missing sys/mman.h
30340         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30342 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30344         * manual/math.texi (Errors in Math Functions): Clarify goals
30345         regarding inexact and underflow exceptions.
30347 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30349         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30350         * sysdeps/mips/memset.S: Ditto.
30352 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30354         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30356 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30358         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
30359         (__v1longjmp): Remove versioned symbol.
30360         (__v1siglongjmp): Remove alias and versioned symbol.
30361         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
30362         (__v2siglongjmp): Likewise.
30364 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30366         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
30368 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
30370         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
30372 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30374         [BZ #17987]
30375         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30376         zero result does not depend on the sign resulting from
30377         subtraction.
30378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30379         Likewise.
30380         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30381         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30382         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30383         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30384         * math/libm-test.inc (remquo_test_data): Add more tests.
30386 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
30388         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
30389         Problem reported by J William Piggott.
30391 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30393         [BZ #17978]
30394         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
30395         products 4 * y and 2 * y where those would overflow.
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.
30404         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
30406         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
30407         [defined _COMPILING_NEWLIB].
30408         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
30409         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
30411         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
30412         [!defined __mips_isa_rev || __mips_isa_rev < 6].
30414 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30416         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
30417         acquired.
30419 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
30421         [BZ #17792]
30422         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
30423         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
30424         HOST_STACK_END_ADDR): Likewise.
30426 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
30428         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
30429         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
30430         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30432 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30434         * sysdeps/generic/c++-types.data: New file.
30435         * sysdeps/generic/ld.abilist: New file.
30436         * sysdeps/generic/libBrokenLocale.abilist: New file.
30437         * sysdeps/generic/libanl.abilist: New file.
30438         * sysdeps/generic/libc.abilist: New file.
30439         * sysdeps/generic/libcrypt.abilist: New file.
30440         * sysdeps/generic/libdl.abilist: New file.
30441         * sysdeps/generic/libm.abilist: New file.
30442         * sysdeps/generic/libpthread.abilist: New file.
30443         * sysdeps/generic/libresolv.abilist: New file.
30444         * sysdeps/generic/librt.abilist: New file.
30446 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30448         [BZ #17569]
30449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30450         Compute absolute value of x as modified by fmod, not original
30451         value of x.
30452         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
30453         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
30454         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
30455         RUN_TEST_ffI_f1_mod8.
30456         (remquo_test_data): Add more tests.
30458 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30460         * sysdeps/init_array/pt-crti.S: New file.
30462 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30464         [BZ #17967]
30465         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
30466         __builtin_fmaf instead of relying on contraction of a * b + c.
30468 2015-02-12  J William Piggott  <elseifthen@gmx.com>
30470         [BZ #17969]
30471         * manual/time.texi: correct the zoneinfo path in the TZ Variable
30472         node.
30474 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30476         [BZ #17964]
30477         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
30478         __builtin_fma instead of relying on contraction of a * b + c.
30480 2015-02-12  Roland McGrath  <roland@hack.frob.com>
30482         * Makeconfig (ASFLAGS): Add -Werror=undef.
30483         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
30484         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
30485         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
30487         * Makeconfig (after-link): New variable.
30488         (+link-pie, +link-pie-tests): Use it.
30489         (+link-static, +link-static-tests): Likewise.
30490         (+link, +link-tests): Likewise.
30491         * Makerules (build-module, build-module-asneeded): Likewise.
30492         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
30493         Likewise.
30494         * elf/Makefile ($(objpfx)ld.so): Likewise.
30496 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
30498         [BZ #17965]
30499         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
30500         both struct timeval and struct timespec.
30502 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30504         [BZ #16560]
30505         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30506         and redefine.
30507         (__ieee754_exp2l): Do not multiply small fractional parts by
30508         M_LN2l.
30509         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
30510         small argument.
30511         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30512         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30513         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
30514         * math/auto-libm-test-in: Add more tests of exp2.
30515         * math/auto-libm-test-out: Regenerated.
30517 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30519         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
30520         unaligned path.
30522 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30524         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
30525         little endian.
30527 2015-02-12  Andreas Schwab  <schwab@suse.de>
30529         [BZ #15790]
30530         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
30531         Filter out elision flags from value returned in kind.
30532         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
30533         * nptl/tst-pthread-mutexattr.c: New file.
30535 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30537         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
30538         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
30539         into gnu-gnu, and update comment to refer to abi-tags.
30541 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
30543         [BZ #15467]
30544         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
30545         (__sincos): Set errno to EDOM for infinite argument.
30546         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
30547         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
30548         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
30549         (__sincosl): Set errno to EDOM for infinite argument.
30550         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
30551         (__sincosl): Set errno to EDOM for infinite argument.
30552         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
30553         (__sincosl): Set errno to EDOM for infinite argument.
30554         * math/libm-test.inc (sincos_test_data): Test errno setting.
30556 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
30558         * string/strxfrm_l.c: Remove #define STRCMP.
30559         * string/strcoll_l.c: Remove #define STRLEN.
30560         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
30561         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
30563 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
30565         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
30566         * sysdeps/mips/mips32/sfp-machine.h: ... here.
30567         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
30568         * sysdeps/mips/mips64/Makefile: ... here.
30569         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
30570         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
30571         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
30572         * sysdeps/mips/mips64/sfp-machine.h: ... here.
30573         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
30574         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
30575         * sysdeps/mips/mips64/n64/Implies: Likewise.
30577 2015-02-10  Roland McGrath  <roland@hack.frob.com>
30579         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
30580         <sys/time.h>, <string.h>, and <errno.h>.
30581         (dest_offset, dest_address, value, zero): Remove unused variables.
30582         (ldouble): Remove typedef.
30583         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
30584         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
30585         1).  Fix code style.
30586         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
30587         (check): Function removed.
30588         (CHECK): New macro.
30589         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
30590         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
30591         Don't call set_sigaction_FP and remove_sigaction_FP here.
30592         (ldouble_test): Just use 'long double' as macro argument, no need for
30593         the 'ldouble' typedef.
30594         (do_test): Set up SIGFPE handler at start, using plain signal rather
30595         than sigaction.  Fix code style.
30597 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
30599         [BZ #17949]
30600         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
30601         jump label.
30603 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30605         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
30606         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30608         * sysdeps/powerpc/configure.ac: Remove file.
30609         * sysdeps/powerpc/configure: Likewise.
30611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30612         [sysdep_routines]: Remove wordcopy-power6 object.
30613         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30614         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
30615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
30616         (__memmove_ppc32): Likewise.
30617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
30618         file.
30619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
30620         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
30621         Remove preprocessor.
30623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30624         [sysdep_routines]: Remove wide chars objects.
30625         [wcsmbs]: New rule for wide char objects.
30627         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30628         Remove wordcopy-power6 obejct.
30629         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
30630         Use local call for wordcopy and memcpy symbols.
30631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
30632         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
30633         implementation for loader.
30634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
30636         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30637         Remove wordcopy-power7 object.
30638         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
30639         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
30640         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
30641         (_wordcopy_fwd_dest_aligned): Likewise.
30642         (_wordcopy_bwd_aligned): Likewise.
30643         (_wordcopy_bwd_dest_aligned): Likewise.
30645         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
30646         Rewrite to call __memmove_ppc instead of include default
30647         implementation.
30649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30650         Remove wide chars objects.
30651         [wcsmbs]: New rule for wide char objects.
30653 2015-02-09  Andreas Schwab  <schwab@suse.de>
30655         [BZ #17912]
30656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30657         in terms of __O_DIRECTORY.
30659 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30661         * time/getdate.c: Include <stdbool.h>.
30662         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
30663         call PTR_MANGLE.
30664         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
30665         PTR_DEMANGLE.
30667 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
30669         Add ersatz _Static_assert on older C hosts
30670         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
30671         pre-C11 C platform that is not known to support _Static_assert.
30673 2015-02-07  Richard Braun  <rbraun@sceen.net>
30675         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
30676         sigstate.
30677         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
30679 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30681         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
30682         priority against unexistent AIO_PRIO_DELTA_MAX.
30683         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
30684         instead of int.
30685         * misc/fchflags.c (fchflags): Likewise.
30686         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
30687         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
30688         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
30689         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
30690         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
30691         Declare macros.
30692         [__USE_MISC] (chflags, fchflags): Declare functions.
30693         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
30694         EINVAL when nfds is greater than FD_SETSIZE.
30695         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
30696         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
30697         45.
30698         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
30699         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
30700         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
30701         MACH_RCV_TIMED_OUT.
30702         * hurd/hurd/signal.h (_hurd_self_sigstate,
30703         _hurd_critical_section_lock, _hurd_critical_section_unlock):
30704         Explicit casts from void *.
30705         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
30706         * abi-tags: Rename gnu-gnu os into gnu.
30708         [BZ #4719]
30709         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
30710         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
30711         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
30712         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
30713         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
30714         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
30716         [BZ #17944]
30717         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
30718         duplicates ADDR->sun_path with sockaddr LEN limitation.
30719         * sysdeps/mach/hurd/connect.c: Include <string.h>
30720         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
30721         * sysdeps/mach/hurd/sendmsg.c: Likewise.
30722         * sysdeps/mach/hurd/sendto.c: Likewise.
30723         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
30724         implementing it by hand.
30726 2015-02-06  Roland McGrath  <roland@hack.frob.com>
30728         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
30729         Use sfi_breg on ldr.
30730         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
30731         Likewise.
30733         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
30734         it's defined.
30735         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
30736         Test SIGSETXID only if it's defined.
30738         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
30740         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
30741         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
30743         * nptl/tst-align2.c: Moved ...
30744         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
30745         * nptl/Makefile (tests): Remove tst-align2.
30746         * sysdeps/unix/sysv/linux/Makefile
30747         [$(subdir) = nptl] (tests): Add tst-align-clone.
30748         * nptl/tst-getpid1.c: Moved ...
30749         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
30750         * nptl/tst-getpid2.c: Moved ...
30751         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
30752         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
30753         * sysdeps/unix/sysv/linux/Makefile
30754         [$(subdir) = nptl] (tests): ... here.
30755         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
30756         * sysdeps/unix/sysv/linux/Makefile
30757         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
30759         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
30760         Drop trailing \n from perror argument.  Use return rather than exit.
30762         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
30763         on [SA_SIGINFO].
30764         * nptl/tst-cancel21.c (do_test): Likewise.
30765         * debug/tst-backtrace6.c: Include <signal.h> first thing.
30766         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
30767         [!SA_SIGINFO]: Make it a stub test.
30769         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
30770         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
30772         * posix/tst-getlogin.c: Move to ...
30773         * login/tst-getlogin.c: ... here.
30774         * posix/Makefile (tests): Move tst-getlogin to ...
30775         * login/Makefile (tests): ... here.
30777         * libio/tst-atime.c (do_test): Move local variables SV and E
30778         inside [ST_NOATIME] conditional.
30780         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
30782         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
30784         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
30785         (wait_code): New function replaces macro.
30786         Call nanosleep rather than syscall.
30788         * nptl/pt-system.c: Rewritten.  Put everything under
30789         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30790         Use IFUNC to redirect when possible.
30792         * nptl/pt-longjmp.c: Rewritten.  Put everything under
30793         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30794         Use IFUNC to redirect when possible.
30796         * nptl/pt-fork.c: Rewritten.  Put everything under
30797         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30798         Use IFUNC to redirect when possible.
30799         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
30801         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
30802         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
30803         unconditionally nowadays.  This included the only reference to
30804         __vdso_clock_gettime that appears outside libc proper.
30805         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
30806         Remove version set (containing only __vdso_clock_gettime).
30807         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30808         Add attribute_hidden.
30809         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30810         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
30811         libc_hidden_data_def.
30812         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30813         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30815         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
30816         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
30817         setrpcent, and getrpcport to ...
30818         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
30819         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
30820         getrpcbynumber_r, and getrpcent_r to ...
30821         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
30822         * inet/getrpcbyname.c: Moved ...
30823         * sunrpc/getrpcbyname.c: ... here.
30824         * inet/getrpcbyname_r.c: Moved ...
30825         * sunrpc/getrpcbyname_r.c: ... here.
30826         * inet/getrpcbynumber.c: Moved ...
30827         * sunrpc/getrpcbynumber.c: ... here.
30828         * inet/getrpcbynumber_r.c: Moved ...
30829         * sunrpc/getrpcbynumber_r.c: ... here.
30830         * inet/getrpcent.c: Moved ...
30831         * sunrpc/getrpcent.c: ... here.
30832         * inet/getrpcent_r.c: Moved ...
30833         * sunrpc/getrpcent_r.c: ... here.
30834         * inet/Makefile (routines): Move those to ...
30835         * sunrpc/Makefile (routines): ... here.
30836         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
30837         the $(subdirs) list.
30838         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
30839         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
30840         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
30841         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
30843         * elf/Makefile (routines): Include $(all-dl-routines), not just
30844         $(dl-routines).
30845         (rtld-routines): Likewise.  Use = rather than :=.
30846         * sysdeps/aarch64/Makefile [$(subdir) = elf]
30847         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
30848         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
30849         * sysdeps/arm/Makefile: Likewise.
30850         * sysdeps/i386/Makefile: Likewise.
30851         * sysdeps/x86_64/Makefile: Likewise.
30852         * sysdeps/hppa/Makefile [$(subdir) = elf]
30853         (sysdep_routines, sysdep-rtld-routines): Don't add
30854         $(sysdep-dl-routines) to these.
30855         * sysdeps/ia64/Makefile: Likewise.
30856         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
30857         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
30858         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
30859         Don't add dl-static to these; sysdep-dl-routines alone is enough.
30860         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
30861         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
30862         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
30863         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
30864         * sysdeps/powerpc/Makefile [$(subdir) = elf]
30865         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
30866         these; sysdep-dl-routines alone is enough.
30868 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
30870         [BZ #17932]
30871         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
30872         where multiplication results in zero and third argument is finite
30873         and nonzero.
30874         * math/auto-libm-test-in: Add more tests of fma.
30875         * math/auto-libm-test-out: Regenerated.
30877         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
30878         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
30879         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
30880         (_FP_CMP_EQ): Likewise.
30881         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
30883         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
30884         extra argument CHECK_NAN.  Redefine as wrapper around
30885         _FP_EXTEND_CNAN.
30887 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
30889         * version.h (RELEASE): Set to "stable".
30890         (VERSION): Set to "2.21"
30891         * include/features.h (__GLIBC_MINOR__): Set to 21.
30893         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
30895 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30896             Paul Eggert  <eggert@cs.ucla.edu>
30898         [BZ #16618]
30899         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30900         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
30901         size in bytes. Store needed elements in wpmax. Use needed size
30902         in bytes for extend_alloca.
30904 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
30906         * manual/install.texi: Latest tested versions are GCC 4.9.2,
30907         binutls 2.25, and texinfo 5.2.
30908         * INSTALL: Regenerate.
30909         * sysdeps/nios2/configure: Regenerate.
30910         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
30911         * manual/contrib.texi: Update.
30912         * po/be.po: Update.
30913         * po/bg.po: Update.
30914         * po/ca.po: Update.
30915         * po/cs.po: Update.
30916         * po/da.po: Update.
30917         * po/de.po: Update.
30918         * po/el.po: Update.
30919         * po/eo.po: Update.
30920         * po/es.po: Update.
30921         * po/fi.po: Update.
30922         * po/fr.po: Update.
30923         * po/gl.po: Update.
30924         * po/hr.po: Update.
30925         * po/hu.po: Update.
30926         * po/ia.po: Update.
30927         * po/id.po: Update.
30928         * po/it.po: Update.
30929         * po/ja.po: Update.
30930         * po/ko.po: Update.
30931         * po/lt.po: Update.
30932         * po/nb.po: Update.
30933         * po/nl.po: Update.
30934         * po/pl.po: Update.
30935         * po/pt_BR.po: Update.
30936         * po/ru.po: Update.
30937         * po/rw.po: Update.
30938         * po/sk.po: Update.
30939         * po/sl.po: Update.
30940         * po/sv.po: Update.
30941         * po/tr.po: Update.
30942         * po/uk.po: Update.
30943         * po/vi.po: Update.
30944         * po/zh_CN.po: Update.
30945         * po/zh_TW.po: Update.
30947         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
30948         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
30949         * sysdeps/hppa/dl-irel.h: Remove #warning.
30950         * sysdeps/hppa/entry.h: Provide prototype for
30951         __canonicalize_funcptr_for_compare and cast argument.
30952         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
30953         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
30954         * sysdeps/hppa/sotruss-lib.c: New file.
30955         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
30956         (atomic_compare_and_exchange_val_acq): Use __typeof__.
30957         (atomic_compare_and_exchange_bool_acq): Likewise.
30958         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
30959         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
30961         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
30962         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
30963         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
30965 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
30967         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
30968         called function in non-PIC case.
30970 2015-01-31  David S. Miller  <davem@davemloft.net>
30972         * sysdeps/sparc/sparc32/bits/atomic.h
30973         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
30974         unlock not after it.
30975         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
30976         volatile register usage warnings from the compiler.
30978         * sysdeps/sparc/nptl/sem_init.c: Delete.
30979         * sysdeps/sparc/nptl/sem_post.c: Delete.
30980         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
30981         * sysdeps/sparc/nptl/sem_wait.c: Delete.
30982         * sysdeps/sparc/sparc32/sem_init.c: New file.
30983         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
30984         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
30985         padding explicitly initialized.
30986         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
30987         padding for in-semaphore spinlock.
30988         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
30989         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
30990         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
30991         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
30992         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
30993         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
30994         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
30995         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
30996         version.
30997         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
30998         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31000 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31002         [BZ #17801]
31003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31004         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31005         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31006         New.
31007         (index_AVX_Fast_Unaligned_Load): Likewise.
31008         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31009         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31010         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31011         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31012         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31013         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31014         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31015         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31016         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31018 2015-01-29  Andreas Schwab  <schwab@suse.de>
31020         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31022 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31024         [BZ #17892]
31025         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31027 2015-01-28  Martin Sebor  <msebor@redhat.com>
31029         * math/README.libm-test: Clarify. Add "How to read the test output."
31031 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31033         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31034         Define to 0.
31036 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31038         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31039         (__HAVE_64B_ATOMICS): Define to 0.
31041 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31043         [BZ #17885]
31044         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31045         value to set as new flag.
31047         [BZ #16576]
31048         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31049         and use _ARCH_PPCSQ instead.
31050         (__ieee754_sqrt): Likewise.
31051         (__ieee754_sqrtf): Likewise.
31052         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31053         _ARCH_PPCSQ is defined.
31054         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31055         fsqrt instruction.
31056         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31057         _ARCH_PPCSQ is defined.
31058         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31059         fsqrts instruction.
31060         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31062 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31064         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31065         bug (GCC BZ #64739).
31067 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31069         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31070         Mark _retval as used.
31071         (lll_futex_wake_unlock): Likewise.
31072         (lll_futex_timed_wait_requeue_pi): Likewise.
31074         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31075         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31076         register variables.
31078         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31079         libm_hidden_def.
31081         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31082         (__bswap_64): Mark as __always_inline.
31084 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31086         [BZ #15378]
31087         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31088         when none of the search directories exist.
31090 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31092         [BZ #17869]
31093         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31094         power8 in .machine directive.
31096         [BZ #17868]
31097         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31098         set dependency from opd value.
31100 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31102         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31103         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31104         architecture.
31106 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31108         [BZ #17870]
31109         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31110         with uint64_t.
31111         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31112         (uint64_t) 1.
31113         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31114         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31115         Replace 1UL with (uint64_t) 1.
31116         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31117         int with uint64_t.
31119 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31121         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31122         (if_freenameindex): Likewise.
31124         * resource/getrlimit64.c: Add missing libc_hidden_def.
31126 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31128         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31129         __label__.
31130         (_FP_FMA): Likewise.
31131         (_FP_TO_INT_ROUND): Likewise.
31132         (_FP_FROM_INT): Likewise.
31134 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31136         [BZ #16418]
31137         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31138         Make code racy and cancel safe.
31140 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31142         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31143         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31144         attribution.
31146         * pwd/tst-getpw.c: Rewrite.
31148         [BZ #17702]
31149         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31150         (modules-names): Add moddummy1 and moddummy2.
31151         ($(objpfx)tst-rec-dlopen): Define.
31152         * dlfcn/moddummy1.c: New file.
31153         * dlfcn/moddummy2.c: New file.
31154         * dlfcn/tst-rec-dlopen.c: New file.
31155         * elf/dl-cache.c (_dl_load_cache_lookup):
31156         Return char*. Copy result with alloca/strcpy/strdup.
31157         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31158         returns char*. Free cached. If not saving realname
31159         free cached.
31160         * elf/dl-open.c (dl_open_worker): Do not assert that
31161         _r_debug->r_state is RT_CONSISTENT.
31162         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31163         returns char*.
31165 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31166             Carlos O'Donell  <carlos@redhat.com>
31168         [BZ #12674]
31169         * nptl/sem_waitcommon.c: New file.
31170         * nptl/sem_wait.c: Include sem_waitcommon.c.
31171         (__sem_wait_cleanup, do_futex_wait): Remove.
31172         (__new_sem_wait): Adapt.
31173         (__new_sem_trywait): New function.
31174         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31175         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31176         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31177         (sem_timedwait): Adapt.
31178         * nptl/sem_post.c (__new_sem_post): Adapt.
31179         (futex_wake): New function.
31180         (__old_sem_post): Add release MO fence.
31181         * nptl/sem_open.c (sem_open): Adapt.
31182         * nptl/sem_init.c (__new_sem_init): Adapt.
31183         (futex_private_if_supported): New function.
31184         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31185         (__old_sem_getvalue): Add using previous code.
31186         * sysdeps/nptl/internaltypes.h: Adapt.
31187         * nptl/tst-sem13.c (do_test): Adapt.
31188         * nptl/tst-sem11.c (main): Adapt.
31189         * nptl/sem_trywait.c: Remove.
31190         * nptl/DESIGN-sem.txt: Remove.
31191         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31192         (gen-as-const-headers): Remove structsem.sym.
31193         * nptl/structsem.sym: Remove.
31194         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31195         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31196         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31197         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31198         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31199         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31200         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31201         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31202         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31203         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31204         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31205         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31206         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31207         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31208         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31209         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31210         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31211         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31212         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31213         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31214         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31215         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31217 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31219         * INSTALL: Regenerated.
31221         * po/libc.pot: Regenerated.
31223 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31224             Sandra Loosemore  <sandra@codesourcery.com>
31225             Andrew Jenner  <andrew@codesourcery.com>
31226             Joseph Myers  <joseph@codesourcery.com>
31227             Nathan Sidwell  <nathan@codesourcery.com>
31229         * NEWS: Mention new Nios II port.
31230         * sysdeps/nios2/Implies: New file.
31231         * sysdeps/nios2/Makefile: New file.
31232         * sysdeps/nios2/Subdirs: New file.
31233         * sysdeps/nios2/Versions: New file.
31234         * sysdeps/nios2/__longjmp.S: New file.
31235         * sysdeps/nios2/abort-instr.h: New file.
31236         * sysdeps/nios2/backtrace.c: New file.
31237         * sysdeps/nios2/bits/endian.h: New file.
31238         * sysdeps/nios2/bits/fenv.h: New file.
31239         * sysdeps/nios2/bits/link.h: New file.
31240         * sysdeps/nios2/bits/setjmp.h: New file.
31241         * sysdeps/nios2/bsd-_setjmp.S: New file.
31242         * sysdeps/nios2/bsd-setjmp.S: New file.
31243         * sysdeps/nios2/configure: New generated file.
31244         * sysdeps/nios2/configure.ac: New file.
31245         * sysdeps/nios2/crti.S: New file.
31246         * sysdeps/nios2/crtn.S: New file.
31247         * sysdeps/nios2/dl-init.c: New file.
31248         * sysdeps/nios2/dl-machine.h: New file.
31249         * sysdeps/nios2/dl-sysdep.h: New file.
31250         * sysdeps/nios2/dl-tls.h: New file.
31251         * sysdeps/nios2/dl-trampoline.S: New file.
31252         * sysdeps/nios2/gccframe.h: New file.
31253         * sysdeps/nios2/gmp-mparam.h: New file.
31254         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31255         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31256         * sysdeps/nios2/ldsodefs.h: New file.
31257         * sysdeps/nios2/libc-tls.c: New file.
31258         * sysdeps/nios2/libm-test-ulps: New file.
31259         * sysdeps/nios2/machine-gmon.h: New file.
31260         * sysdeps/nios2/math-tests.h: New file.
31261         * sysdeps/nios2/math_private.h: New file.
31262         * sysdeps/nios2/memusage.h: New file.
31263         * sysdeps/nios2/nptl/Makefile: New file.
31264         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31265         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31266         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31267         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31268         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31269         * sysdeps/nios2/nptl/tls.h: New file.
31270         * sysdeps/nios2/preconfigure: New file.
31271         * sysdeps/nios2/s_fma.c: New file.
31272         * sysdeps/nios2/s_fmaf.c: New file.
31273         * sysdeps/nios2/setjmp.S: New file.
31274         * sysdeps/nios2/sfp-machine.h: New file.
31275         * sysdeps/nios2/sotruss-lib.c: New file.
31276         * sysdeps/nios2/stackguard-macros.h: New file.
31277         * sysdeps/nios2/stackinfo.h: New file.
31278         * sysdeps/nios2/start.S: New file.
31279         * sysdeps/nios2/sysdep.h: New file.
31280         * sysdeps/nios2/tls-macros.h: New file.
31281         * sysdeps/nios2/tst-audit.h: New file.
31282         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31283         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31284         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31285         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31286         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31287         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31288         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31289         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31290         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31291         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31292         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31293         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31294         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31295         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31296         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31297         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31298         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31299         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31300         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31301         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31302         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31303         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31304         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31305         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31306         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31307         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31308         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31309         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31310         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31311         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31312         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31313         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31314         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31315         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31316         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31317         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31318         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31319         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31320         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31321         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31322         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31323         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31324         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31325         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31327 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31329         [BZ #17844]
31330         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31331         (getutent): Use weak_alias in non SHARED case
31332         and default_symbol_version in SHARED case.
31333         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31334         (getutent_r, pututline): Likewise.
31335         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31336         (getutid): Likewise.
31337         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31338         (getutid_r): Likewise.
31339         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31340         (getutline): Likewise.
31341         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31342         (getutline_r): Likewise.
31343         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31344         (updwtmp): Likewise.
31346 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31348         [BZ #17848]
31349         * sysdeps/s390/s390-32/memcmp.S
31350         (memcmp_g5): Rename to __memcmp_g5.
31351         * sysdeps/s390/s390-32/memcpy.S
31352         (memcpy_g5): Rename to __memcpy_g5.
31353         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31354         (memcpy_mvcle) Rename to __memcpy_mvcle.
31355         * sysdeps/s390/s390-32/memset.S
31356         (memset_g5): Rename to __memset_g5.
31357         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31358         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31359         and use prefixed functions.
31360         * sysdeps/s390/s390-32/multiarch/memcmp.S
31361         (memcmp_z196): Rename to __memcmp_z196.
31362         (memcmp_z10): Rename to __memcmp_z10.
31363         (memcmp): Set alias to __memcmp_g5.
31364         (bcmp): Set alias to __memcmp_g5.
31365         * sysdeps/s390/s390-32/multiarch/memcpy.S
31366         (memcpy_z196): Rename to __memcpy_z196.
31367         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31368         (memcpy_z10): Rename to __memcpy_z10.
31369         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31370         (memcpy): Set alias to __memcpy_g5.
31371         * sysdeps/s390/s390-32/multiarch/memset.S
31372         (memset_z196): Rename to __memset_z196.
31373         Jump to __memset_mvcle instead of memset_mvcle.
31374         (memset_z10): Rename to __memset_z10.
31375         Jump to __memset_mvcle instead of memset_mvcle.
31376         (memset_mvcle) Rename to __memset_mvcle.
31377         (memset): Set alias to __memset_g5.
31378         * sysdeps/s390/s390-64/memcmp.S
31379         (memcmp_z900): Rename to __memcmp_z900.
31380         * sysdeps/s390/s390-64/memcpy.S
31381         (memcpy_z900): Rename to __memcpy_z900.
31382         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31383         (memcpy_mvcle) Rename to __memcpy_mvcle.
31384         * sysdeps/s390/s390-64/memset.S
31385         (memset_z900): Rename to __memset_z900.
31386         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
31387         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31388         and use prefixed functions.
31389         * sysdeps/s390/s390-64/multiarch/memcmp.S
31390         (memcmp_z196): Rename to __memcmp_z196.
31391         (memcmp_z10): Rename to __memcmp_z10.
31392         (memcmp): Set alias to __memcmp_z900.
31393         (bcmp): Set alias to __memcmp_z900.
31394         * sysdeps/s390/s390-64/multiarch/memcpy.S
31395         (memcpy_z196): Rename to __memcpy_z196.
31396         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31397         (memcpy_z10): Rename to __memcpy_z10.
31398         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31399         (memcpy): Set alias to __memcpy_z900.
31400         * sysdeps/s390/s390-64/multiarch/memset.S
31401         (memset_z196): Rename to __memset_z196.
31402         Jump to __memset_mvcle instead of memset_mvcle.
31403         (memset_z10): Rename to __memset_z10.
31404         Jump to __memset_mvcle instead of memset_mvcle.
31405         (memset_mvcle) Rename to __memset_mvcle.
31406         (memset): Set alias to __memset_z900.
31408 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
31410         [BZ #17748]
31411         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
31412         __fesetenv instead of fesetenv.
31414 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31416         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
31417         macro.
31419 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31421         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
31422         regression on LE.
31424         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
31425         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
31426         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31427         strncmp-power8 object.
31428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31429         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
31430         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
31431         * NEWS: Update.
31433 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31434             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31436         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
31437         trailing byte check.
31439 2015-01-13  David S. Miller  <davem@davemloft.net>
31441         * include/signal.h (__sigreturn): Guard with __USE_MISC.
31443 2015-01-13  Roland McGrath  <roland@hack.frob.com>
31445         * login/logout.c (logout): Use memset rather than bzero.
31446         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
31447         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
31448         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
31449         (_gethtbyaddr): Likewise.
31450         * locale/programs/simple-hash.c (bcopy): Macro removed.
31452 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31455         Add strcmp-power8 object.
31456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31457         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
31458         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
31459         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
31460         __strcmp_power8 implementation.
31461         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
31462         * NEWS: Update.
31464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31465         Add strncpy-power8 and stpncpy-power8 objects.
31466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31467         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
31468         implementations.
31469         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
31470         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
31471         __stpncpy_power8 implementation.
31472         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
31473         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
31474         __strncpy_power8 implementation.
31475         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
31476         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
31477         * NEWS: Update.
31479         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
31480         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
31481         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
31483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31484         strncat-power8 object.
31485         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
31486         __strcat_power8 implementation.
31487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31488         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
31489         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
31490         optimized strcat for power8.
31492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31493         strcpy-power8 and stpcpy-power8 objects.
31494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31495         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
31496         implementations.
31497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
31498         multiarch stpcpy implementation for POWER8.
31499         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
31500         multiarch strcpy implementation for POWER8.
31501         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
31502         __strcpy_power8 function.
31503         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
31504         stpcpy for POWER8.
31505         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
31506         strcpy for POWER8.
31507         * NEWS: Update.
31509 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
31511         [BZ #16009]
31512         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
31513         weights and rules. Use do_xfrm_cached if data fits in cache,
31514         do_xfrm otherwise.  Moved former main loop to...
31515         * (do_xfrm_cached): New function.
31516         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
31517         find_idx, find_position and stack_push.
31518         * (find_idx): New function.
31519         * (find_position): Likewise.
31520         * localedata/sort-test.sh: Added test run for do_xfrm.
31521         * localedata/xfrm-test.c (main): Added command line option
31522         -nocache to run the test with strings that are too large for
31523         the STRXFRM cache.
31525 2015-01-13  Torvald Riegel  <triegel@redhat.com>
31527         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
31528         variable to lll_futex_wake call, not the value itself.
31530 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
31532         [BZ #17803]
31533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
31534         twom64.  Adjust value to 0x1p-64L.
31535         (__scalblnl): Only return standard underflowing result for K <=
31536         -64 not K <= -63; adjust exponent for underflowing result by 64
31537         not 63.
31538         * math/libm-test.inc (scalbn_test_data): Add more tests.
31539         (scalbln_test_data): Likewise.
31541         [BZ #17834]
31542         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
31543         0x1p63L.
31544         (__scalblnl): Get new exponent of adjusted subnormal value from ES
31545         not HX.
31546         * math/libm-test.inc (scalbn_test_data): Add more tests.
31547         (scalbln_test_data): Likewise.
31549 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31550             Stefani Seibold  <stefani@seibold.net>
31552         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
31553         (sysdep_routines): Add dl-vdso here, ...
31554         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
31555         (sysdep_routines): ... not here.
31556         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
31557         fallback when vDSO is not presented.
31558         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31559         Define with libc_hidden_proto/libc_hidden_data_def definitions.
31560         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
31561         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
31562         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
31563         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
31564         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
31565         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
31566         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
31567         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
31568         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
31569         fallback configurable symbol when vDSO is not available.
31570         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
31571         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
31572         be able to redefine fallback symbol when vDSO is not available.
31573         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
31574         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
31576 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31578         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
31579         (TLS_INIT_TP): Add tm_capable initialization.
31580         (TLS_DEFINE_INIT_TP): Likewise.
31581         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
31582         TCB.
31583         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
31584         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
31585         calculation.
31586         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
31587         transactoion is lock elision is built and TCB tm_capable is set.
31588         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
31589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31590         (INTERNAL_SYSCALL_NCS): Likewise.
31591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31592         (INTERNAL_SYSCALL_NCS): Likewise.
31593         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
31595         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
31596         for powerpc.
31597         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31598         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
31599         and remove it for 32 bits case.
31600         [pthread_rwlock_t] (__rwelision): New field for lock elision.
31601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
31602         initialization.
31603         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
31604         Disable lock elision with rdlocks if elision is not available.
31606         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
31607         (sysdep_routines): Add lock elision objects.
31608         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31609         [pthread_mutex_t] (__spins): Rework to add lock elision field.
31610         [pthread_mutex_t] (__elision): Add field.
31611         [__PTHREAD_SPINS]: Adjust to init lock elision field.
31612         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
31613         elision definitions for powerpc.
31614         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
31615         implementation of lock elision for powerpc.
31616         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
31617         implementation of timed lock elision for powerpc.
31618         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
31619         implementation of trylock with lock elision for powerpc.
31620         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
31621         implementaion of unlock for lock elision for powerpc.
31622         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
31623         automatic enable lock elision for mutexes.
31624         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
31625         transaction execution definitions for powerpc.
31626         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
31627         definitions.
31628         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
31629         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
31630         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
31631         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
31632         * NEWS: Update.
31634 2015-01-09  Roland McGrath  <roland@hack.frob.com>
31636         * sysdeps/posix/shm-directory.c: Use <> rather than ""
31637         for #include of <shm-directory.h>.
31639 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
31641         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
31642         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
31644 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
31646         [BZ #17791]
31647         * NEWS: Mention bug fix.
31648         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
31649         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
31650         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
31652 2015-01-09  Torvald Riegel <triegel@redhat.com>
31654         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
31656 2015-01-09  Torvald Riegel <triegel@redhat.com>
31658         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
31660 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31662         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
31663         pointer and cast to uintptr_t.
31665 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31667         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
31668         removed.
31669         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
31671 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31673         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
31674         of 0.
31676 2015-01-08  Roland McGrath  <roland@hack.frob.com>
31678         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
31679         <nptl/pthreadP.h> instead.
31680         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
31682         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
31683         already defined.
31684         [__SIGRTMIN] (init): Function removed.
31685         [__SIGRTMIN] (initialized): Variable removed.
31686         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
31687         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
31688         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
31689         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
31690         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
31691         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
31692         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
31693         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
31694         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
31695         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
31696         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
31697         * sysdeps/nptl/allocrtsig.c: New file.
31698         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
31699         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
31700         * sysdeps/generic/testrtsig.h: File removed.
31702         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
31703         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
31705         * nptl/nptl-init.c (pthread_functions): Conditionalize
31706         .ptr__nptl_setxid initialization on [SIGSETXID].
31708         * sysdeps/nptl/sys/procfs.h: New file.
31709         * nptl_db/Makefile (headers): Add it.
31710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
31712         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
31713         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
31714         * nptl/pthread_attr_setaffinity.c: Include it.
31715         * nptl/pthread_setattr_default_np.c: Likewise.
31716         * nptl/check-cpuset.h: New file.
31718 2015-01-08  Richard Henderson  <rth@redhat.com>
31720         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
31721         (CFLAGS-tst-execstack-prog.c): Likewise.
31722         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
31724 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
31725             Sandra Loosemore  <sandra@codesourcery.com>
31726             Andrew Jenner  <andrew@codesourcery.com>
31727             Joseph Myers  <joseph@codesourcery.com>
31728             Nathan Sidwell  <nathan@codesourcery.com>
31730         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
31731         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
31732         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
31733         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
31734         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
31735         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
31736         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
31737         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
31738         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
31739         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
31740         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
31741         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
31742         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
31743         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
31744         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
31745         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
31746         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
31748 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31750         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
31751         timespec struct member in syscall macro.
31752         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
31753         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
31754         first timeval struct member in syscall macro.
31755         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
31757 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
31759         [BZ #17748]
31760         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
31761         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
31762         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
31763         __feupdateenv and define as weak alias of __feupdateenv.  Use
31764         libm_hidden_weak.
31765         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
31766         libm_hidden_def.
31767         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
31768         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
31769         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31770         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
31771         libm_hidden_def.
31772         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
31773         __feupdateenv and define as weak alias of __feupdateenv.  Use
31774         libm_hidden_weak.
31775         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
31776         libm_hidden_def.
31777         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
31778         __feupdateenv and define as weak alias of __feupdateenv.  Use
31779         libm_hidden_weak.
31780         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
31781         libm_hidden_def.
31782         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31783         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31784         (__feupdateenv): Likewise.
31785         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
31786         __feupdateenv and define as weak alias of __feupdateenv.  Use
31787         libm_hidden_weak.
31788         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31789         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
31790         libm_hidden_def.
31791         * sysdeps/tile/math_private.h (__feupdateenv): New inline
31792         function.
31793         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
31794         libm_hidden_def.
31795         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
31796         __feupdateenv instead of feupdateenv.
31797         (default_libc_feupdateenv_test): Likewise.
31798         (libc_feresetround_ctx): Likewise.
31800 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31802         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
31803         prototype.
31805 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
31807         * posix/regcomp.c (parse_bracket_exp): Initialize type to
31808         COLL_SYM in a couple of places to avoid uninitialized variable
31809         wanings on tilegx gcc 4.8.2.
31811 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
31813         * sysdeps/aarch64/strcpy.S: New file.
31814         * sysdeps/aarch64/stpcpy.S: New file.
31815         * NEWS: Updated.
31817 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
31819         * sysdeps/aarch64/strrchr.S: New file.
31820         * NEWS: Updated.
31822 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
31824         [BZ #17658]
31825         * stdlib/setenv.c: Fix memory leak when setting large,
31826         duplicate string.
31828 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
31830         [BZ #17273]
31831         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
31832         and tabs from buffer before parsing fstab entry.
31833         * misc/tst-mntent.c (main): Add test for mount entry with
31834         trailing spaces and tabs.
31836 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
31838         [BZ #17748]
31839         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
31840         * math/fesetround.c (fesetround): Rename to __fesetround and
31841         define as weak alias of __fesetround.  Use libm_hidden_weak.
31842         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
31843         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
31844         * sysdeps/arm/fesetround.c (fesetround): Likewise.
31845         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
31846         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
31847         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
31848         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
31849         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
31850         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
31851         __fesetround_inline.
31852         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
31853         __fesetround_inline instead of __fesetround.
31854         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
31855         __fesetround and define as weak alias of __fesetround.  Use
31856         libm_hidden_weak.  Call __fesetround_inline instead of
31857         __fesetround.
31858         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
31859         __fesetround and define as weak alias of __fesetround.  Use
31860         libm_hidden_weak.
31861         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
31862         Likewise.
31863         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
31864         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31865         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
31866         * sysdeps/tile/math_private.h (__fesetround): New inline function.
31867         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
31868         __fesetround and define as weak alias of __fesetround.  Use
31869         libm_hidden_weak.
31870         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
31871         __fesetround instead of fesetround.
31872         (default_libc_feholdexcept_setround): Likewise.
31873         (libc_feholdsetround_ctx): Likewise.
31874         (libc_feholdsetround_noex_ctx): Likewise.
31876         [BZ #17748]
31877         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
31878         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
31879         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31880         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
31881         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31882         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
31883         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31884         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31885         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31886         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31887         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31888         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31889         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31890         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31891         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
31892         libm_hidden_def.
31893         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
31894         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
31895         Likewise.
31896         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31897         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31898         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31899         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31900         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
31901         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31902         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
31903         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31904         __fesetenv instead of fesetenv.
31905         (libc_feresetround_noex_ctx): Likewise.
31906         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31907         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31908         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
31909         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31910         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31911         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31912         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31913         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31914         (__feupdateenv): Likewise.
31915         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31916         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31917         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31918         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
31920 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
31922         [BZ #17806]
31923         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
31924         addresses have been freed.
31926 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
31928         * resolv/res_init.c (__res_vinit): Improve comments about nserv
31929         and nservall.
31931 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
31933         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
31934         Clean up check_pf allocation pattern. addresses
31936 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31938         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
31939         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
31940         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
31941         * nptl/pthread_exit.c (__pthread_exit): Likewise.
31942         * nptl/pthread_join.c (pthread_join): Likewise.
31943         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
31944         * sysdeps/posix/waitid.c (__waitid): Likewise.
31945         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31946         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31947         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31948         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31950         Likewise.
31951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31952         (__libc_pread64): Likewise.
31953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31954         (__libc_pwrite): Likewise.
31955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31956         (__libc_pwrite64): Likewsie.
31957         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31958         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31959         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31960         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31961         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31962         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31963         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31965         Likewise.
31966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31967         (__libc_pread64): Likewise.
31968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
31969         Likewise.
31970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31971         (__libc_pwrite64): Likewise.
31972         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31973         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31974         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
31975         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
31976         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31977         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31978         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
31979         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31980         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31981         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31982         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
31983         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31984         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31985         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
31986         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31987         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31988         Likewise.
31990 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31992         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
31993         (CFLAGS-test-double.c): Likewise.
31994         (CFLAGS-test-ldouble.c): Likewise.
31995         (CPPFLAGS-test-ifloat.c): Likewise.
31996         (CPPFLAGS-test-idouble.c): Likewise.
31997         (CPPFLAGS-test-ildoubl.c): Likewise.
31998         (CFLAGS-test-test-fenv.c): Remove variable.
31999         (CFLAGS-test-misc.c): Likewise.
32001 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32003         [BZ #17797]
32004         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32005         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32006         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32007         CLOCKS_PER_SEC == 1000000.
32008         * time/clocktest.c (main): Replace %ld with %jd and cast to
32009         intmax_t.
32011 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32013         * sysdeps/generic/unwind-resume.h: New file.
32014         * sysdeps/gnu/unwind-resume.c: Include it.
32015         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32016         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32017         argument list.
32018         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32019         global rather than static.
32020         (_Unwind_Resume): Update user.
32021         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32022         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32023         rather than static.  Add __attribute__ ((cold)).
32024         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32025         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32026         * sysdeps/arm/arm-unwind-resume.S: New file.
32027         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32028         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32029         * sysdeps/arm/Makefile [$(subdir) = csu]
32030         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32031         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32032         Add rt-arm-unwind-resume.
32033         [$(subdir) = nptl]
32034         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32035         Add pt-arm-unwind-resume.
32036         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32037         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32039 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32041         [BZ #17748]
32042         * include/fenv.h (__feholdexcept): Declare.  Use
32043         libm_hidden_proto.
32044         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32045         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32046         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32047         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32048         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32049         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32050         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32051         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32052         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32053         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32054         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32055         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32056         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32057         (feholdexcept): Likewise.
32058         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32059         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32060         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32061         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32062         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32063         __feholdexcept instead of feholdexcept.
32064         (default_libc_feholdexcept_setround): Likewise.
32066 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32068         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32069         to avoid using stl/str to align destination.
32071 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32073         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32075 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32077         [BZ #17796]
32078         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32079         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32080         Define as weak alias not strong alias.
32082 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32084         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32085         bltzal with addiupc.
32086         (RTLD_START): Ditto.
32088 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32090         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32091         for __vdso_* functions in declarations.
32092         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32093         definitions.
32094         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32095         INTERNAL_VSYSCALL): Use struct return types to check for error.
32097         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32098         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32099         function with cast from llround().
32100         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32101         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32102         Define.
32104 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32106         [BZ #17793]
32107         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32108         Define as weak alias not strong alias.
32110         [BZ #17635]
32111         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32112         ...
32113         * ctype/ctype-extn.c: ... here.
32114         (__isblank_l): Move to ...
32115         * ctype/ctype-c99_l.c: ... here.  New file.
32116         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32117         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32118         Remove variable.
32119         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32120         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32121         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32122         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32123         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32125         [BZ #17777]
32126         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32127         (posix_fadvise64): Define as weak alias not strong alias.
32128         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32129         (posix_fallocate64): Likewise.
32130         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32131         Remove variable.
32132         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32133         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32134         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32135         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32136         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32138 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32140         [BZ #16191]
32141         * NEWS: Mention bug fix.
32142         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32143         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32144         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32145         (HOST_STACK_END_ADDR): Likewise.
32147 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32149         [BZ #17748]
32150         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32151         * math/fegetround.c (fegetround): Rename to __fegetround and
32152         define as weak alias of __fegetround.  Use libm_hidden_weak.
32153         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32154         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32155         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32156         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32157         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32158         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32159         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32160         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32161         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32162         Undefine after rather than before function definition; use
32163         parentheses around function name in definition.
32164         (__fegetround): Also undefine macro after function definition.
32165         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32166         __fegetround and define as weak alias of __fegetround.  Use
32167         libm_hidden_weak.  Do not undefine as macro.
32168         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32169         Likewise.
32170         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32171         __fegetround and define as weak alias of __fegetround.  Use
32172         libm_hidden_weak.
32173         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32174         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32175         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32176         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32177         __fegetround and define as weak alias of __fegetround.  Use
32178         libm_hidden_weak.
32179         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32180         __fegetround instead of fegetround.
32182         [BZ #17782]
32183         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32184         Condition macro definition on [__USE_MISC].
32186         [BZ #17781]
32187         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32188         (struct sigaction): Change type of sa_flags field to int.
32190         [BZ #17780]
32191         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32192         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32193         __glibc_reserved0.
32195         * nptl/version.c (banner): Use single year in copyright notice.
32197         * NEWS: Update copyright dates.
32198         * catgets/gencat.c (print_version): Likewise.
32199         * csu/version.c (banner): Likewise.
32200         * debug/catchsegv.sh: Likewise.
32201         * debug/pcprofiledump.c (print_version): Likewise.
32202         * debug/xtrace.sh (do_version): Likewise.
32203         * elf/ldconfig.c (print_version): Likewise.
32204         * elf/ldd.bash.in: Likewise.
32205         * elf/pldd.c (print_version): Likewise.
32206         * elf/sotruss.sh: Likewise.
32207         * elf/sprof.c (print_version): Likewise.
32208         * iconv/iconv_prog.c (print_version): Likewise.
32209         * iconv/iconvconfig.c (print_version): Likewise.
32210         * locale/programs/locale.c (print_version): Likewise.
32211         * locale/programs/localedef.c (print_version): Likewise.
32212         * login/programs/pt_chown.c (print_version): Likewise.
32213         * malloc/memusage.sh (do_version): Likewise.
32214         * malloc/memusagestat.c (print_version): Likewise.
32215         * malloc/mtrace.pl: Likewise.
32216         * manual/libc.texinfo: Likewise.
32217         * nptl/version.c (banner): Likewise.
32218         * nscd/nscd.c (print_version): Likewise.
32219         * nss/getent.c (print_version): Likewise.
32220         * nss/makedb.c (print_version): Likewise.
32221         * posix/getconf.c (main): Likewise.
32222         * scripts/test-installation.pl: Likewise.
32223         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32225 2015-01-02  Will Newton  <will.newton@linaro.org>
32227         * sysdeps/arm/armv7/configure: Removed.
32228         * sysdeps/arm/armv7/configure.ac: Likewise.
32230 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32232         * All files with FSF copyright notices: Update copyright dates
32233         using scripts/update-copyrights.
32234         * intl/plural.c: Regenerated.
32235         * locale/programs/charmap-kw.h: Likewise.
32236         * locale/programs/locfile-kw.h: Likewise.
32238 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32240         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32242 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32244         [BZ #17748]
32245         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32246         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32247         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32248         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32249         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32250         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32251         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32252         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32253         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32254         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32255         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32256         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32257         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32258         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32259         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32260         libm_hidden_def.
32261         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32262         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32263         Likewise.
32264         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32265         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32266         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32267         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32268         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32269         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32270         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32271         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32272         __fegetenv instead of fegetenv.
32273         (libc_feholdsetround_noex_ctx): Likewise.
32275 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32277         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32278         (Elf_MIPS_ABIFlags_v0): New structure.
32279         (EF_MIPS_FP64): Define.
32280         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32281         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32282         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32283         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32284         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32285         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32286         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32287         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32288         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32289         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32290         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32291         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32292         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32293         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32294         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32295         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32296         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32297         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32298         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32299         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32300         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32301         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32302         field.
32303         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32304         EF_MIPS_FP64.
32305         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32306         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32307         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32308         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32309         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32310         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32311         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32312         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32313         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32314         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32315         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32316         record the current FP ABI extension.
32317         (mips-mode-switch): Define to show if kernel headers support mode
32318         switching.
32319         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32320         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32321         supported SYSV ABI version to 3.
32322         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32323         feature.
32325 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32326             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32328         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32329         path.
32330         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32332 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32334         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32335         __fegetround and redefine to call __fegetround.  Remove condition
32336         on [!__NO_MATH_INLINES].
32337         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32338         function.
32339         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32340         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32341         Remove macro.
32342         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32343         instead of <fenv_libc.h>.
32344         (__llrintl): Call fegetround instead of __fegetround.
32345         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32346         instead of <fenv_libc.h>.
32347         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32348         (__lrintl): Call fegetround instead of __fegetround.
32349         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32350         instead of <fenv_libc.h>.
32351         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32352         (__rintl): Call fegetround instead of __fegetround.
32354 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32356         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32357         arrays.
32359 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32361         [BZ #17775]
32362         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
32363         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
32364         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
32366 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32368         * sysdeps/i386/tls-macros.h: Include <features.h>.
32369         (TLS_LE): Use non-PIC version for GCC >= 5.0.
32370         (TLS_IE): Likewise.
32371         (TLS_LD): Likewise.
32372         (TLS_GD): Likewise.
32373         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
32374         define for GCC >= 5.0.
32376 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
32378         * math/test-fenv.c (test_single_exception, set_single_exc,
32379         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
32380         feexcp_mask_test, feenable_test, fe_single_test): Add
32381         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
32382         case where they are not used.
32383         * math/libm-test.inc: Likewise.
32384         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32385         unused in the absence of FP rounding/exception support.
32386         * stdio-common/tst-printf-round.c: Likewise.
32387         * stdlib/tst-strtod-round.c: Likewise.
32388         * stdlib/tst-strtod-underflow.c: Likewise.
32390 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
32392         [BZ #17723]
32393         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
32394         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
32395         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32396         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32397         libm_hidden_weak.
32398         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
32399         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32400         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
32401         libm_hidden_def.
32402         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32403         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32404         libm_hidden_weak.
32405         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
32406         Likewise.
32407         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
32408         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32409         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32410         libm_hidden_weak.
32411         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32412         libm_hidden_def.
32413         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32414         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
32415         (__feraiseexcept): Likewise.
32416         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32417         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32418         libm_hidden_weak.
32419         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32420         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32421         libm_hidden_def.
32422         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
32423         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
32424         Use libm_hidden_def.
32425         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
32426         libm_hidden_def.
32427         (feraiseexcept): Define as weak not strong alias.  Use
32428         libm_hidden_weak.
32429         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
32430         New inline function.  Factored out of ...
32431         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
32432         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
32433         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
32434         feraiseexcept.
32435         * math/w_acos.c (__acos): Likewise.
32436         * math/w_asin.c (__asin): Likewise.
32437         * math/w_ilogb.c (__ilogb): Likewise.
32438         * math/w_j0.c (y0): Likewise.
32439         * math/w_j1.c (y1): Likewise.
32440         * math/w_jn.c (yn): Likewise.
32441         * math/w_log.c (__log): Likewise.
32442         * math/w_log10.c (__log10): Likewise.
32443         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
32444         * sysdeps/aarch64/fpu/math_private.h
32445         (libc_feupdateenv_test_aarch64): Likewise.
32446         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32447         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
32448         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
32449         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32450         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32451         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32452         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
32453         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32454         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32455         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32457 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32459         [BZ #17732]
32460         * io/test-utime.c (main): Replace %ld with %jd and cast to
32461         intmax_t.
32462         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
32463         * nptl/tst-mutex5.c: Include <stdint.h>.
32464         (do_test): Replace %ld with %jd and cast to intmax_t.
32465         * posix/tst-regex.c (run_test): Likewise.
32466         (run_test_backwards): Likewise.
32467         * rt/tst-clock.c: Include <stdint.h>.
32468         (clock_test): Replace %ld with %jd and cast to intmax_t.
32469         * rt/tst-cpuclock1.c: Include <stdint.h>.
32470         (do_test): Replace %lu with %ju and cast to uintmax_t.
32471         * rt/tst-cpuclock2.c: Include <stdint.h>.
32472         (do_test): Replace %lu with %ju and cast to uintmax_t.
32473         * rt/tst-mqueue1.c: Include <stdint.h>.
32474         (check_attrs): Replace %ld with %jd and cast to intmax_t.
32475         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
32476         intmax_t.
32477         * rt/tst-mqueue4.c (do_test): Likewise.
32478         * rt/tst-timer4.c: Include <stdint.h>.
32479         (check_ts): Replace %ld with %jd and cast to intmax_t.
32480         (do_test): Likewise.
32481         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
32482         and cast to intmax_t.
32483         * sysdeps/pthread/tst-timer.c (main): Likewise.
32484         * time/clocktest.c (main): Likewise.
32485         * time/tst-posixtz.c (do_test): Likewise.
32486         * timezone/tst-timezone.c (main): Likewise.
32488 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32489             H.J. Lu  <hongjiu.lu@intel.com>
32491         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
32492         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32493         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
32494         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
32495         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
32496         version if bit_Fast_Unaligned_Load is set.
32497         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32498         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32499         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32500         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32501         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32502         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32504         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
32505         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
32506         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
32507         to 4.
32508         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
32509         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
32510         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
32511         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
32513 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
32515         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
32516         instead of #if to avoid a Wundef warning.
32517         * stdlib/tst-limits.c (do_test): Likewise.
32519         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
32520         parallel other exception macros.
32521         (fegetenv): Convert from macro to extern inline so that it applies
32522         retroactively to inline functions already seen by the compiler.
32523         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
32525         * posix/Makefile (before-compile): Use $(objpfx) for
32526         posix-conf-vars-def.h.
32528 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32530         * posix/getconf.c (main): Use size_t for type of I.
32531         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
32532         NSPEC.
32534         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
32535         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
32536         * posix/posix-envs.def: Likewise.
32537         * sysdeps/posix/sysconf.c: Likewise.
32538         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
32539         (specs): Remove array.
32540         * scripts/gen-posix-conf-vars.awk: Support generation of specs
32541         array.
32543         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
32544         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
32545         (__sysconf): Use CONF_IS_* macros.
32547         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
32548         ($(objpfx)posix-conf-vars-def.h): New target.
32549         * posix/posix-conf-vars.list: New file.
32550         * posix/posix-conf-vars.h: New file.
32551         * posix/confstr.c: Include posix-conf-vars.h.
32552         (confstr): Use CONF_IS_* macros.
32553         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
32554         CONF_IS_* macros.
32555         * scripts/gen-posix-conf-vars.awk: New file.
32557 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
32559         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
32560         fegetround): Add no-op macros to avoid linknamespace issues.
32562         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
32563         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
32565         * sysdeps/unix/sysv/linux/tile/sysdep.h
32566         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
32567         assembly-specific section to avoid a redefinition warning.
32569         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
32570         long before casting to pointer to avoid a cast warning.
32572 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
32574         * sysdeps/tile/tilegx/Implies: New file.
32576 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
32578         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
32580 2014-12-23  Florian Weimer  <fweimer@redhat.com>
32582         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
32584 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
32587         not define.
32588         * sysdeps/unix/sysv/linux/utimes.c: Do not include
32589         <kernel-features.h>.
32590         (__utimes) [__NR_utimes]: Make code unconditional.
32591         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
32592         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32593         (__ASSUME_UTIMES): Do not undefine.
32594         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32595         (__ASSUME_UTIMES): Likewise.
32596         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32597         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
32598         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
32599         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
32601 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
32603         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
32605 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
32607         [BZ #17747]
32608         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
32609         alias to weak alias for j0l, y0l.
32610         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
32611         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
32613         [BZ #17746]
32614         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
32615         conversion.
32617 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
32619         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
32620         to zero if not already defined.
32622 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32624         [BZ #17724]
32625         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
32626         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
32627         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
32628         (char *) casts added.
32629         * sysdeps/ieee754/k_standardf.c: New file.
32630         * sysdeps/ieee754/k_standardl.c: Likewise.
32631         * math/Makefile (libm-support): Remove k_standard.
32632         (libm-calls): Add k_standard.
32634 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32636         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32637         Optimize to avoid an unnecessary FPCR read.
32639 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32641         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32642         Optimize to reduce FPCR/FPSR accesses.
32644 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32646         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
32647         Call libc_fetestexcept_aarch64.
32649 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32651         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
32652         Call libc_fesetround_aarch64.
32654 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32656         [BZ #17733]
32657         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
32658         (__bind): Do not define as weak alias.
32659         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
32660         define.
32661         (__getsockname): Do not define as weak alias.
32663 2014-12-22  Will Newton  <will.newton@linaro.org>
32665         * manual/install.texi: Document that we require bison 2.7
32666         or above.
32667         * INSTALL: Regenerate.
32668         * configure.ac: Use AC_CHECK_PROG_VER instead of
32669         AC_PATH_PROG when checking for bison and check for
32670         version 2.7 or above.
32671         * configure: Regenerate.
32673 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
32675         [BZ #17745]
32676         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
32677         * sysdeps/tile/ffsll.c (ffsll): To here.
32679         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
32681 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
32683         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
32684         if not defined.
32685         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
32686         definition.
32687         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32688         hidden ___tls_get_addr.
32689         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32690         hidden __tls_get_addr.
32691         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
32692         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
32693         Likewise.
32695 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32697         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
32698         _dl_init call.
32700 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
32702         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
32703         from "call _dl_init@PLT".
32704         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
32706 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
32708         * manual/search.texi: (Array Sort Function): Clarify stable sorting
32709         guarantees.
32711 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
32713         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
32715 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
32717         [BZ #17744]
32718         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
32719         strnlen.
32721 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
32723         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
32724         of multu on MIPSr6.
32725         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
32726         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
32727         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
32728         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
32729         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
32731 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
32733         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
32734         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
32735         (PTR_SUBU): Use subu for mips32r6/mips64r6.
32736         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
32737         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
32738         mips32r6/mips64r6.
32739         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
32741 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
32743         * string/strncat.c (STRNCAT): Simplify implementation.
32745 2014-12-19  David S. Miller  <davem@davemloft.net>
32747         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
32748         access the quad as both a long double and as a series of 4 words.
32750         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
32751         link_map->l_info array access.
32753 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
32755         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
32757         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
32758         * math/atest-exp2.c (TIMEOUT): Likewise.
32759         * math/atest-sincos.c (TIMEOUT): Likewise.
32761 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32763         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
32764         -Wno-error with -fno-builtin-lround.
32766 2014-12-19  Torvald Riegel  <triegel@redhat.com>
32768         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
32769         Contains futex constants and functions moved over from ...
32770         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
32771         <lowlevellock-futex.h>.
32772         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
32773         (lll_timedwait_tid): Add comments and parentheses around macro
32774         arguments.
32776 2014-12-19  Torvald Riegel  <triegel@redhat.com>
32778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
32779         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
32780         (__lll_private_flag): Remove.
32781         (lll_futex_wait): Likewise.
32782         (lll_futex_timed_wait): Likewise.
32783         (lll_futex_wake): Likewise.
32784         (lll_futex_requeue): Likewise.
32785         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
32786         (__lll_timedwait_tid): Spell out argument names.
32787         (lll_timedwait_tid): Add comments and parentheses around macro
32788         arguments.
32789         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
32790         LLL_SHARED and LLL_PRIVATE usable from assembly code.
32792 2014-12-19  Torvald Riegel  <triegel@redhat.com>
32794         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
32795         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32796         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32797         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
32798         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
32799         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
32800         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
32801         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
32802         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
32803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
32804         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
32805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
32806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
32807         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
32808         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
32809         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
32810         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
32811         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
32812         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
32814 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32816         * sysdeps/x86_64/x32/Makefile: New file.
32818 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32820         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
32821         1L with (mp_limb_t) 1.
32823 2014-12-17  Roland McGrath  <roland@hack.frob.com>
32825         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
32826         * nptl/libc_pthread_init.c: ... here.
32827         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
32828         * nptl/register-atfork.c: ... here.
32830         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
32831         Use pthread_sigmask rather than INTERNAL_SYSCALL.
32832         Use assert_perror to check its return value.
32833         (__gai_create_helper_thread): Likewise.
32835         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
32837         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
32839 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
32841         [BZ #17725]
32842         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
32843         __profil_counter.
32844         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
32845         Likewise.
32846         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
32847         Likewise.
32848         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
32849         Likewise.
32850         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
32851         (profil_counter): Likewise.
32852         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
32853         (profil_counter): Likewise.
32854         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
32855         Likewise.
32856         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
32857         Likewise.
32858         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
32859         (profil_counter): Likewise.
32860         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
32861         Likewise.
32862         [!__profil_counter] (profil_counter): Define as weak alias of
32863         __profil_counter.
32864         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
32865         (profil_counter): Rename to __profil_counter.
32866         [!__profil_counter] (profil_counter): Define as weak alias of
32867         __profil_counter.
32868         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
32869         (profil_counter): Rename to __profil_counter.
32870         [!__profil_counter] (profil_counter): Define as weak alias of
32871         __profil_counter.
32872         * sysdeps/posix/profil.c: Update comment referring to
32873         profil_counter.
32874         (__profil): Use __profil_counter instead of profil_counter.
32875         * sysdeps/posix/sprofil.c (profil_counter): Rename to
32876         __profil_counter.  Use __profil_counter_ushort and
32877         __profil_counter_uint in definitions.
32878         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
32879         instead of profil_counter_uint and profil_counter_ushort.
32881         [BZ #17722]
32882         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
32883         define as weak alias of __inet_makeaddr.
32884         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
32885         as weak alias of __inet_addr.
32886         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
32887         as weak alias of __inet_pton.  Use libc_hidden_weak.
32888         * include/arpa/inet.h (__inet_pton): Declare.  Use
32889         libc_hidden_proto.
32890         (inet_makeaddr): Don't use libc_hidden_proto.
32891         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
32892         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
32893         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
32894         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
32895         Remove variable.
32896         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32897         (test-xfail-POSIX/time.h/linknamespace): Likewise.
32899 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
32901         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
32903 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32905         * stdio-common/bug-vfprintf-nargs.c (do_test):
32906         Cast value to intptr_t to avoid format warning
32907         for usage with PRIdPTR printing macro.
32909 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32911         * libio/tst-widetext.c (do_test):
32912         Use format type %td instead of %Zd for ptrdiff_t
32913         in order to avoid format warning.
32915 2014-12-17  Andreas Schwab  <schwab@suse.de>
32917         * nscd/mem.c (gc): Add size_t cast to match printf format.
32919 2014-12-16  Roland McGrath  <roland@hack.frob.com>
32921         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
32922         (init): Apply PTR_MANGLE to pointers before storing them.
32923         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
32924         before using them.
32926 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
32928         [BZ #17719]
32929         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
32930         define as weak alias of __memrchr.
32931         (__memrchr): Do not define as strong alias of memrchr.
32932         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
32933         Remove variable.
32934         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32935         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32936         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32938         [BZ #17717]
32939         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
32940         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
32941         (if_indextoname): Rename to __if_indextoname and define as weak
32942         alias of __if_indextoname.  Use libc_hidden_weak.
32943         (if_freenameindex): Rename to __if_freenameindex and define as
32944         weak alias of __if_freenameindex.
32945         (if_nameindex): Rename to __if_nameindex and define as weak alias
32946         of __if_nameindex.
32947         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
32948         __if_nametoindex and define as weak alias of __if_nametoindex.
32949         Use libc_hidden_weak.
32950         (if_freenameindex): Rename to __if_freenameindex and define as
32951         weak alias of __if_freenameindex.
32952         (if_nameindex): Rename to __if_nameindex and define as weak alias
32953         of __if_nameindex.
32954         (if_indextoname): Rename to __if_indextoname and define as weak
32955         alias of __if_indextoname.  Use libc_hidden_weak.
32956         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
32957         __if_nametoindex and define as weak alias of __if_nametoindex.
32958         Use libc_hidden_weak.
32959         (if_freenameindex): Rename to __if_freenameindex and define as
32960         weak alias of __if_freenameindex.  Use libc_hidden_weak.
32961         (if_nameindex_netlink): Use __if_freenameindex instead of
32962         if_freenameindex.
32963         (if_nameindex): Rename to __if_nameindex and define as weak alias
32964         of __if_nameindex.  Use libc_hidden_weak.
32965         (if_indextoname): Rename to __if_indextoname and define as weak
32966         alias of __if_indextoname.  Use libc_hidden_weak.
32967         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
32968         libc_hidden_proto.
32969         [!_ISOMAC] (__if_freenameindex): Likewise.
32970         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
32971         if_nametoindex.
32972         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
32973         variable.
32974         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32975         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32976         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32977         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32978         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32979         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32980         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32982         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
32983         Remove variable.
32984         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32985         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32987 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32989         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
32990         subscript above bounds'
32992         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
32993         bounds.
32995 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
32997         * libio/tst-fopenloc.c: Use test-skeleton.c.
32999         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33000         (entry): Rename to ITEM.
33001         (do_test, comp): Adjust.
33003         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33005 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33007         * string/tester.c: Include <libc-internal.h>.
33008         (test_memset): Ignore -Wmemset-transposed-args.
33010 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33012         * misc/tst-mntent2.c (do_test): Fix warning.
33014 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33016         * elf/tst-unique4lib.cc(a): Mark as used.
33018 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33020         [BZ #17630]
33021         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33022         names.
33024 2014-12-16  Allan McRae  <allan@archlinux.org>
33026         * stdio-common/Makefile (tests): Re-add bug26.
33028 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33030         [BZ #17657]
33031         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33032         static array.
33034 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33036         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33037         (__lll_lock_wait): Likewise.
33038         (__lll_timedlock_wait): Likewise.
33039         (__lll_timedwait_tid): Likewise.
33040         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33041         (__lll_robust_timedlock_wait): Likewise.
33042         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33043         (lll_cond_trylock): Likewise.
33044         (__lll_lock): Likewise.
33045         (__lll_robust_lock): Likewise.
33046         (__lll_cond_lock): Likewise.
33047         (lll_robust_cond_lock): Likewise.
33048         (__lll_timedlock): Likewise.
33049         (__lll_robust_timedlock): Likewise.
33050         (__lll_unlock): Likewise.
33051         (__lll_robust_unlock): Likewise.
33052         (lll_wait_tid): Likewise.
33053         (lll_timedwait_tid): Likewise.
33055 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33057         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33059 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33061         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33063 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33065         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33066         * stdio-common/tst-sprintf.c: Likewise.
33068 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33070         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33072 2014-12-15  Jeff Law  <law@redhat.com>
33074         [BZ #16617]
33075         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33076         on the heap.  (CVE-2012-3406)
33077         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33078         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33079         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33081 2014-12-15  Will Newton  <will.newton@linaro.org>
33083         * manual/install.texi: Bump required version of texinfo
33084         to 4.7 from 4.5.
33085         * INSTALL: Regenerated.
33086         * configure.ac: Check for makeinfo version 4.7 and above.
33087         * configure: Regenerated.
33089 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33091         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33092         PREFIX, string constant to insert between directory and name.
33093         * sysdeps/posix/shm_open.c: Update caller.
33094         * sysdeps/posix/shm_unlink.c: Likewise.
33095         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33096         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33097         (SEM_SHM_PREFIX): New macro.
33098         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33099         [$(have-thread-library) = no].
33100         * nptl/Makefile (libpthread-routines): Add shm-directory.
33101         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33102         * sysdeps/nptl/shm-directory.h: New file.
33103         * sysdeps/posix/shm-directory.c
33104         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33105         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33106         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33107         INTERNAL_SYSCALL.
33108         (__where_is_shmfs): Function removed.
33109         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33110         Variables removed.
33111         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33112         Use SHM_GET_NAME.
33113         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33115         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33116         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33117         unconditional for use inside libpthread.
33118         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33120 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33122         * nptl/pthread_getaffinity.c: New file.
33123         * nptl/pthread_setaffinity.c: New file.
33124         * nptl/pthread_getname.c: New file.
33125         * nptl/pthread_setname.c: New file.
33127         * nptl/pthread_create.c (START_THREAD_DEFN)
33128         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33130 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33131             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33133         * resolv/res_send.c (send_vc): Disable warning resplen may
33134         be used uninitialized.
33136 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33138         * nptl/tst-mutex6.c
33139         (ATTR_NULL): New define checks ATTR against NULL.
33140         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33141         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33143 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33145         [BZ #17581]
33146         * malloc/hooks.c
33147         (mem2mem_check): Revert my previous change.
33148         (malloc_check_get_size): Revert my previous change.
33149         (mem2chunk_check): Revert my previous change.
33151 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33153         * sysdeps/posix/shm-directory.c: New file.
33154         * sysdeps/posix/shm-directory.h: New file.
33155         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33156         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33157         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33158         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33159         Transmute EPERM to EACCES.
33160         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33161         from ...
33162         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33163         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33165 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33167         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33168         pointer and cast to uintptr_t.
33169         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33170         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33171         Add cast to avoid warning.
33172         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33174 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33176         * nptl/semaphore.h: Move to ...
33177         * sysdeps/pthread/semaphore.h: ... here.
33178         * Makefile (installed-headers): Change nptl/semaphore.h to
33179         sysdeps/pthread/semaphore.h.
33181 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33183         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33184         generated error format strings.
33186         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33187         -Wformat-extra-args warnings for scanf formats.
33188         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33189         test of zero-length format (duh).
33190         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33191         corner-case scanf format test.
33192         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33193         generated fprintf format string.
33194         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33195         corner-case sprintf format tests.
33196         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33197         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33198         -Wformat-extra-args warnings throughout.
33199         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33200         (CFLAGS-scanf4.c): Likewise.
33201         (CFLAGS-scanf7.c): Likewise.
33202         (CFLAGS-tst-sprintf.c): Likewise.
33203         (CFLAGS-tst-printf.c): Likewise.
33204         (CFLAGS-tst-printfsz.c): Likewise.
33206 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33208         * include/cpio.h: New file.
33209         * include/fmtmsg.h: Likewise.
33211         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33212         corresponding format argument to size_t.
33213         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33214         arguments.
33215         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33216         corresponding format argument to size_t.
33217         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33218         arguments.
33219         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33220         corresponding format argument to size_t.
33221         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33222         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33223         (CFLAGS-tst-mbswcs2.c): Likewise.
33224         (CFLAGS-tst-mbswcs3.c): Likewise.
33225         (CFLAGS-tst-mbswcs4.c): Likewise.
33226         (CFLAGS-tst-mbswcs5.c): Likewise.
33227         (CFLAGS-tst-trans.c): Likewise.
33229 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33231         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33232         rather than assuming they won't contain any '%'s.
33234 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33236         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33237         inhibit_loop_to_libcall to avoid recursive calls.
33238         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33239         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33241 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33243         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33244         prototype.
33246 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33248         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33249         integer value instead of boolean.
33251 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33253         * malloc/malloc.c: Fix powerof2 check.
33255 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33257         * locale/programs/locfile.h (maybe_swap_uint32):
33258         Remove inline and add unused attribute.
33260 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33262         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33263         Truncating assembler expression to a .long expression.
33265 2014-12-11  Andreas Schwab  <schwab@suse.de>
33267         * elf/rtld.c (struct map_args): Constify str member.
33268         (do_preload): Constify fname argument.
33270 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33273         constants definition.
33275 2014-12-11  Andreas Schwab  <schwab@suse.de>
33277         [BZ #16657]
33278         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33279         FORCE_ELISION instead of DO_ELISION.
33280         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33281         Remove.
33282         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33283         Likewise.
33285         * iconvdata/gconv-modules: Remove duplicate entry.
33287 2014-12-11  Will Newton  <will.newton@linaro.org>
33289         Merge gettext 0.19.3 into intl/.
33291         This involves a number of cosmetic changes to comments
33292         and ANSI function definitions and prototypes throughout
33293         all the files. The gettext copyright header is used but
33294         with the date ranges taken from the glibc copy.
33296         * NEWS: Add gettext merge to 2.21.
33297         * intl/bindtextdom.c: Switch to gettext copyright.
33298         Use ANSI definitions and prototypes.
33299         Use gl_* locking primitives rather than __libc_* ones.
33300         Use __builtin_expect rather than __glibc_likely/unlikely.
33301         * intl/dcgettext.c: Switch to gettext copyright.
33302         Use ANSI definitions and prototypes.
33303         * intl/dcigettext.c: Switch to gettext copyright.
33304         Use ANSI definitions and prototypes.
33305         (INTDIV0_RAISES_SIGFPE): New define.
33306         Use gl_* locking primitives rather than __libc_* ones.
33307         Include eval-plural.h instead of plural-eval.c.
33308         Use __builtin_expect rather than __glibc_likely/unlikely.
33309         * intl/dcngettext.c: Switch to gettext copyright.
33310         Use ANSI definitions and prototypes.
33311         * intl/dgettext.c: Likewise.
33312         * intl/dngettext.c: Likewise.
33313         * intl/plural-eval.c: Renamed to...
33314         * intl/eval-plural.h: ...this.
33315         * intl/explodename.c: Switch to gettext copyright.
33316         Use ANSI definitions and prototypes.
33317         (_nl_explode_name): Use strchr instead of __rawmemchr.
33318         * intl/finddomain.c: Switch to gettext copyright.
33319         Use ANSI definitions and prototypes.
33320         Use gl_* locking primitives rather than __libc_* ones.
33321         (_nl_find_domain): Use malloc rather than alloca for
33322         allocation of temporary locale name.
33323         * intl/gettext.c: Switch to gettext copyright.
33324         Use ANSI definitions and prototypes.
33325         * intl/gettextP.h: Switch to gettext copyright.
33326         Use ANSI definitions and prototypes.
33327         Use gl_* locking primitives rather than __libc_* ones.
33328         * intl/gmo.h: Switch to gettext copyright.
33329         (struct sysdep_string): Move struct segment_pair outside of
33330         struct definition.
33331         * intl/hash-string.c: Use ANSI definitions and prototypes.
33332         * intl/hash-string.h: Switch to gettext copyright.
33333         Use ANSI definitions and prototypes.
33334         * intl/l10nflist.c: Switch to gettext copyright.
33335         Use ANSI definitions and prototypes.
33336         (_nl_normalize_codeset): Avoid integer overflow.
33337         * intl/loadinfo.h: Switch to gettext copyright.
33338         Use ANSI definitions and prototypes.
33339         (LIBINTL_DLL_EXPORTED): New define.
33340         (PATH_SEPARATOR): New define.
33341         * intl/loadmsgcat.c: Switch to gettext copyright.
33342         * intl/localealias.c: Switch to gettext copyright.
33343         Use ANSI definitions and prototypes.
33344         (_nl_expand_alias): Use PATH_SEPARATOR.
33345         * intl/ngettext.c: Switch to gettext copyright.
33346         Use ANSI definitions and prototypes.
33347         * intl/plural-exp.c: Likewise.
33348         * intl/plural-exp.h: Switch to gettext copyright.
33349         Use ANSI definitions and prototypes.
33350         (struct expression): Move definition of enum operator outside
33351         of struct definition.
33352         * intl/plural.c: Regenerate.
33353         * intl/plural.y: Switch to gettext copyright.
33354         Use ANSI definitions and prototypes.
33355         Port to bison 3.0.
33356         * intl/textdomain.c: Switch to gettext copyright.
33357         Use ANSI definitions and prototypes.
33358         Use gl_* locking primitives rather than __libc_* ones.
33360 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
33362         * debug/warning-nop.c: Add used atrribute.
33364 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33366         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
33368         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
33369         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
33370         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
33372 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33373             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33375         [BZ #17634]
33376         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
33377         Undefine after defining function.  Define as weak alias of
33378         __wcschr.  Use libc_hidden_weak.
33379         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
33380         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
33381         (libc_hidden_def): Also define __GI___wcschr alias.
33382         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
33383         __wcschr and define as weak alias of __wcschr.
33384         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
33385         __wcschr.
33386         [!WCSCHR] (DEFAULT_WCSCHR): Define.
33387         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
33388         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
33389         libc_hidden_weak.  Do not use libc_hidden_def.
33390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
33391         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33392         __GI___wcschr alias.
33393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
33394         [IS_IN (libc)] (wcschr): Define as macro expanding to
33395         __redirect_wcschr.
33396         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
33397         [IS_IN (libc)] (__wcschr_power6): Likewise.
33398         [IS_IN (libc)] (__wcschr_power7): Likewise.
33399         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
33400         instead of wcschr.
33401         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
33402         __libc_wcschr.
33403         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
33404         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
33405         __wcschr and define as weak alias of __wcschr.  Use
33406         libc_hidden_builtin_def.
33407         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
33408         as weak alias of __wcschr.  Use libc_hidden_weak.
33409         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
33410         wcschr.
33411         * time/era.c (_nl_init_era_entries): Likewise.
33412         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
33413         variable.
33414         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33415         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33417 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33419         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
33420         format for long int variable.
33422 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
33424         [BZ #10672]
33425         * manual/search.texi: (Array Sort Function): Remove claim how to make
33426         qsort stable.
33428 2014-12-10  Andreas Schwab  <schwab@suse.de>
33430         [BZ #12847]
33431         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
33432         user-controlled locks.
33434 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
33436         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
33437         register.
33439 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33441         * configure.ac (--disable-werror): New configure option.
33442         (enable_werror): New AC_SUBST.
33443         * configure: Regenerated.
33444         * config.make.in (enable-werror): New variable.
33445         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
33446         -Wno-error=undef.
33447         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
33448         * manual/install.texi (Configuring and compiling): Document
33449         --disable-werror.
33450         * INSTALL: Regenerated.
33451         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
33452         (CFLAGS-tst-chk2.c): Likewise.
33453         (CFLAGS-tst-chk3.c): Likewise.
33454         (CFLAGS-tst-chk4.cc): Likewise.
33455         (CFLAGS-tst-chk5.cc): Likewise.
33456         (CFLAGS-tst-chk6.cc): Likewise.
33457         (CFLAGS-tst-lfschk1.c): Likewise.
33458         (CFLAGS-tst-lfschk2.c): Likewise.
33459         (CFLAGS-tst-lfschk3.c): Likewise.
33460         (CFLAGS-tst-lfschk4.cc): Likewise.
33461         (CFLAGS-tst-lfschk5.cc): Likewise.
33462         (CFLAGS-tst-lfschk6.cc): Likewise.
33464         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
33465         (main): Disable -Wdeprecated-declarations around calls to
33466         register_printf_function.
33468         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
33469         (do_test): Disable -Wdiv-by-zero around some calls to
33470         fwrite_unlocked and fread_unlocked.
33472         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
33473         (DIAG_POP_NEEDS_COMMENT): Likewise.
33474         (_DIAG_STR1): Likewise.
33475         (_DIAG_STR): Likewise.
33476         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
33477         * stdio-common/bug21.c: Include <libc-internal.h>.
33478         (do_test): Disable -Wformat around call to sscanf.
33479         * stdio-common/scanf14.c: Include <libc-internal.h>.
33480         (main): Disable -Wformat around some calls to scanf functions.
33482 2014-12-09  Torvald Riegel  <triegel@redhat.com>
33484         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
33486 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33488         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
33489         stack variable alignment.
33491 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
33493         [BZ #17682]
33494         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
33495         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
33496         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
33497         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
33498         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
33499         __getrlimit instead of getrlimit.
33500         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
33501         __gettimeofday instead of gettimeofday.
33502         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33503         Likewise.
33504         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33505         Likewise.
33506         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33507         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
33508         Remove variable.
33509         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33510         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33512 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33514         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
33515         for wide-character tests.
33517 2014-12-04  Roland McGrath  <roland@hack.frob.com>
33519         * io/openat64.c: #include <libc-internal.h>
33520         (__openat64): Prototypify.  Use ignore_value on MODE.
33521         * io/openat.c: Likewise.
33522         * misc/reboot.c: #include <libc-internal.h>
33523         (reboot): Prototypify.  Use ignore_value on HOWTO.
33524         * misc/ptrace.c: #include <libc-internal.h>
33525         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
33527 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
33529         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
33530         XPG4, UNIX98 and XOPEN2K.
33531         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
33532         Remove variable.
33533         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33535 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33537         * libio/fileops.c: Use ISO C style for function definitions.
33538         * libio/iofopen.c: Likewise.
33539         * libio/wfileops.c: Likewise.
33541         [BZ #17653]
33542         * libio/fileops.c (_IO_new_file_underflow): Unset cached
33543         offset on EOF.
33544         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
33545         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
33546         (fgets_func): Function pointer to fgets and fgetws.
33547         (do_ftell_test): Add test to verify ftell value after read
33548         EOF.
33549         (do_test): Set fgets_func.
33551         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
33552         O_TRUNC flag for w and w+ modes.
33553         (do_rewind_test): Likewise.
33554         (do_ftell_test): Likewise.
33555         (do_write_test): Likewise.
33557         [BZ #17647]
33558         * libio/fileops.c (do_ftell): Seek only when there are
33559         unflushed writes.
33560         * libio/wfileops.c (do_ftell_wide): Likewise.
33561         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
33562         test case.
33563         (do_one_test): Call it.
33565 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
33567         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
33568         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
33569         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
33570         Remove variable.
33571         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33572         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33573         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33575 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33577         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
33578         Remove variable.
33579         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33581         [BZ #17668]
33582         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
33583         as weak alias of __getifaddrs.  Use libc_hidden_weak.
33584         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33585         __freeifaddrs.  Use libc_hidden_weak.
33586         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
33587         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
33588         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33589         __freeifaddrs.  Use libc_hidden_weak.
33590         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
33591         __getifaddrs and define as weak alias of __getifaddrs.  Use
33592         libc_hidden_weak.
33593         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33594         __freeifaddrs.  Use libc_hidden_weak.
33595         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
33596         Remove variable.
33597         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33598         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33600 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
33602         [BZ #17601]
33603         * sysdeps/mips/start.S (__start): Use indirect jump to call
33604         __libc_start_main.
33606 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33608         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
33610         * nptl/tst-mutex1.c: Include <stdbool.h>.
33611         [!ATTR] (ATTR_NULL): New macro.
33612         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
33613         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
33614         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
33616         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
33617         to char *.
33619         [BZ #17665]
33620         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
33621         Change conditional to [__USE_MISC].
33623         [BZ #17664]
33624         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
33625         fgets_unlocked.
33626         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
33627         __fgets_unlocked.
33628         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
33629         fgets_unlocked.
33630         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
33631         Remove variable.
33632         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33633         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33634         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33635         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33636         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33637         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33638         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33639         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33640         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33642         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
33644 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33646         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33647         Remove strpbrk objects.
33648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33649         (__libc_ifunc_impl_list): Remove strpbrk implementation.
33650         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
33651         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
33652         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
33653         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
33655         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33656         Remove strcspn objects.
33657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33658         (__libc_ifunc_impl_list): Remove strcspn implementation.
33659         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
33660         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
33661         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
33662         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
33664         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33665         Remove strspn objetcs.
33666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33667         (__libc_ifunc_impl_list): Remove strspn implementation.
33668         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
33669         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33670         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
33671         * sysdeps/powerpc/powerpc64/strspn.S: New file.
33673 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
33675         [BZ #17581]
33676         * malloc/hooks.c
33677         (mem2mem_check): Add a terminator to the chain of checking blocks.
33678         (malloc_check_get_size): Use it here.
33679         (mem2chunk_check): Ditto.
33681 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33683         * sysdeps/powerpc/powerpc64/strtok.S: New file.
33684         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
33686 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
33688         * bits/ioctl-types.h: Indent preprocessor directives correctly.
33690         * nptl/nptl-init.c: Include libc-internal.h.
33691         (__pthread_initialize_minimal_internal): Use ROUND_UP.
33693         * elf/ldconfig.c (search_dir): Expand comment.
33695 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
33697         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
33698         variable.
33699         (linknamespace-symlist-stdlibs-tests): Likewise.
33700         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
33701         instead of $(objpfx)symlist-stdlibs.
33702         (linknamespace-libs-isoc): New variable.
33703         (linknamespace-libs): Use $(linknamespace-libs-isoc).
33704         (linknamespace-libs-ISO): New variable.
33705         (linknamespace-libs-ISO99): Likewise.
33706         (linknamespace-libs-ISO11): Likewise.
33707         (linknamespace-libs-XPG3): Likewise.
33708         (linknamespace-libs-XPG4): Likewise.
33709         (linknamespace-libs-POSIX): Likewise.
33710         (linknamespace-libs-UNIX98): Likewise.
33711         (linknamespace-libs-XOPEN2K): Likewise.
33712         (linknamespace-libs-POSIX2008): Likewise.
33713         (linknamespace-libs-XOPEN2K8): Likewise.
33714         ($(objpfx)symlist-stdlibs): Replace by
33715         $(linknamespace-symlist-stdlibs-tests).  Use
33716         $(linknamespace-libs-$*) as set of libraries.
33717         ($(linknamespace-header-tests)): Update dependencies.  Use
33718         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
33719         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
33720         * conform/linknamespace.pl: Remove comment about considering
33721         definitions of symbols from irrelevant libraries.
33723 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
33725         [BZ #13862]
33726         * elf/dl-tls.c: Include <atomic.h>.
33727         (oom): Remove #ifdef SHARED/#endif.
33728         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
33729         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
33730         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
33731         big enough.
33732         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
33733         * nptl/Makefile (tests): Add tst-stack4.
33734         (modules-names): Add tst-stack4mod.
33735         ($(objpfx)tst-stack4): New.
33736         (tst-stack4mod.sos): Likewise.
33737         ($(objpfx)tst-stack4.out): Likewise.
33738         ($(tst-stack4mod.sos)): Likewise.
33739         (clean): Likewise.
33740         * nptl/tst-stack4.c: New file.
33741         * nptl/tst-stack4mod.c: Likewise.
33743 2014-11-27  J. Brown  <jb999@gmx.de>
33745         * sysdeps/x86/bits/string.h: Add recent CPUs.
33747 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
33749         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
33750         sigblock.
33752         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
33753         feof.
33755         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
33756         variable.
33758 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
33760         * nscd/connections.c: Include libc-internal.h because of macro
33761         usage ignore_value.
33763 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33765         * string/bits/string3.h (__warn_memset_zero_len): Don't
33766         declare for gcc newer than 5.0.
33767         (memset): Don't test for zero-length __LEN for gcc newer than
33768         5.0.
33770 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
33772         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
33773         size_t for %zu format.
33775         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
33776         difference, not %ju.
33778 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
33780         * include/libc-internal.h (ignore_value): New macro.
33781         * nscd/connections.c (restart): Wrap calls to setuid and setgid
33782         with ignore_value.
33784         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
33785         definition.
33787         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
33788         pthread_cleanup_push to void *.
33790         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
33791         Undefine.
33793         [BZ #16619]
33794         [BZ #16740]
33795         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
33796         instead of 1L << 52.
33798         * libio/bug-rewind.c (do_test): Check fwscanf return values.
33799         * libio/bug-rewind2.c (do_test): Likewise.
33801         * debug/test-stpcpy_chk-ifunc.c: Remove file.
33802         * debug/test-strcpy_chk-ifunc.c: Likewise.
33803         * wcsmbs/test-wcschr-ifunc.c: Likewise.
33804         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33805         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33806         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33807         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33808         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33809         * Rules [$(multi-arch) = no] (tests): Do not filter out
33810         $(tests-ifunc).
33811         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
33812         * debug/Makefile (tests-ifunc): Remove variable.
33813         (tests): Do not add $(tests-ifunc).
33814         * wcsmbs/Makefile (tests-ifunc): Remove variable.
33815         (tests): Do not add $(tests-ifunc).
33816         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
33817         [TEST_IFUNC]: Remove conditionals.
33818         * string/test-string.h (TEST_IFUNC): Remove macro.
33819         [TEST_IFUNC]: Remove conditionals.
33821         * string/test-strchr.c [!WIDE] (L): New macro.
33822         [WIDE] (L): Likewise.
33823         (check1): Use CHAR instead of char.  Use L on string and character
33824         constants.
33826 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
33828         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
33829         tests.
33830         * sysdeps/powerpc/bits/atomic.h
33831         (__arch_atomic_exchange_and_add_32_acq): Add definition.
33832         (__arch_atomic_exchange_and_add_32_rel): Likewise.
33833         (atomic_exchange_and_add_acq): Likewise.
33834         (atomic_exchange_and_add_rel): Likewise.
33835         * sysdeps/powerpc/powerpc32/bits/atomic.h
33836         (__arch_atomic_exchange_and_add_64_acq): Add definition.
33837         (__arch_atomic_exchange_and_add_64_rel): Likewise.
33838         * sysdeps/powerpc/powerpc64/bits/atomic.h
33839         (__arch_atomic_exchange_and_add_64_acq): Add definition.
33840         (__arch_atomic_exchange_and_add_64_rel): Likewise.
33842 2014-11-26  Torvald Riegel  <triegel@redhat.com>
33844         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
33845         Change synchronization of __sched_fifo_min_prio and
33846         __sched_fifo_max_prio.
33847         * nptl/pthread_mutexattr_getprioceiling.c
33848         (pthread_mutexattr_getprioceiling): Likewise.
33849         * nptl/pthread_mutexattr_setprioceiling.c
33850         (pthread_mutexattr_setprioceiling): Likewise.
33851         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
33852         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
33853         Likewise.
33855 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
33857         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
33858         void.
33860 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
33862         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
33863         third argument const.
33865 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
33867         fnmatch: work around GCC compiler warning bug with uninit var
33868         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
33869         This works around a bug with x86-64 GCC 4.9.2 and earlier
33870         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
33871         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
33872         used uninitialized in this function [-Wmaybe-uninitialized]".
33874 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
33876         * posix/bug-regex31.c (main): Return RES not 0.
33878 2014-11-25  Anton Blanchard <anton@samba.org>
33880         * sysdeps/powerpc/bits/atomic.h
33881         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
33883 2014-11-24  Sterling Augustine  <saugustine@google.com>
33885         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
33887 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
33889         [BZ #17608]
33890         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33892 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
33894         [BZ #17633]
33895         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
33896         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33897         variable.
33898         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33899         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33901 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
33903         * string/strncpy.c (strncpy): Improve performance by using memset.
33905 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
33907         * string/strcpy.c (strcpy):
33908         Improve performance by using strlen and memcpy.
33910 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
33912         * string/strcoll_l.c (get_next_seq): __always_inline.
33913         * string/strcoll_l.c (do_compare): __always_inline.
33915 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33917         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
33918         defined.
33919         * include/mqueue.h: Likewise.
33920         * include/stdlib.h: Likewise.
33922         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
33923         (get_null_defines): Adjust.
33924         * sunrpc/Makefile: Adjust comment.
33925         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
33926         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
33927         (CFLAGS-interp.c): Likewise.
33928         (CFLAGS-ldconfig.c): Likewise.
33929         (CPPFLAGS-.os): Likewise.
33930         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33931         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33932         * extra-modules.mk (extra-modules.mk): Likewise.
33933         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
33934         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
33935         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
33936         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
33937         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
33938         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
33939         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
33940         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
33941         * iconvdata/Makefile (CPPFLAGS): Likewise.
33942         (cpp-srcs-left): Add libof for all iconvdata routines.
33943         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
33944         * include/assert.h: Likewise.
33945         * include/ctype.h: Likewise.
33946         * include/errno.h: Likewise.
33947         * include/libc-symbols.h: Likewise.
33948         * include/math.h: Likewise.
33949         * include/netdb.h: Likewise.
33950         * include/resolv.h: Likewise.
33951         * include/stdio.h: Likewise.
33952         * include/stdlib.h: Likewise.
33953         * include/string.h: Likewise.
33954         * include/sys/stat.h: Likewise.
33955         * include/wctype.h: Likewise.
33956         * intl/l10nflist.c: Likewise.
33957         * libidn/idn-stub.c: Likewise.
33958         * libio/libioP.h: Likewise.
33959         * nptl/libc_multiple_threads.c: Likewise.
33960         * nptl/pthreadP.h: Likewise.
33961         * posix/regex_internal.h: Likewise.
33962         * resolv/res_hconf.c: Likewise.
33963         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
33964         * sysdeps/arm/memmove.S: Likewise.
33965         * sysdeps/arm/sysdep.h: Likewise.
33966         * sysdeps/generic/_itoa.h: Likewise.
33967         * sysdeps/generic/symbol-hacks.h: Likewise.
33968         * sysdeps/gnu/errlist.awk: Likewise.
33969         * sysdeps/gnu/errlist.c: Likewise.
33970         * sysdeps/i386/i586/memcpy.S: Likewise.
33971         * sysdeps/i386/i586/memset.S: Likewise.
33972         * sysdeps/i386/i686/memcpy.S: Likewise.
33973         * sysdeps/i386/i686/memmove.S: Likewise.
33974         * sysdeps/i386/i686/mempcpy.S: Likewise.
33975         * sysdeps/i386/i686/memset.S: Likewise.
33976         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33977         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33978         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
33979         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
33980         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33981         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33982         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
33983         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33984         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33985         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33986         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33987         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33988         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33989         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33990         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33991         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33992         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
33993         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
33994         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
33995         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33996         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33997         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33998         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33999         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34000         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34001         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34002         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34003         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34004         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34005         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34006         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34009         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34010         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34011         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34012         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34013         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34014         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34016         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34017         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34018         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34019         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34020         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34021         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34022         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34023         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34024         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34025         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34026         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34027         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34028         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34029         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34030         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34031         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34032         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34033         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34034         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34036         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34037         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34038         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34039         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34040         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34041         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34042         * sysdeps/posix/closedir.c: Likewise.
34043         * sysdeps/posix/opendir.c: Likewise.
34044         * sysdeps/posix/readdir.c: Likewise.
34045         * sysdeps/posix/rewinddir.c: Likewise.
34046         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34047         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34048         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34049         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34050         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34051         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34052         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34057         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34058         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34059         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34060         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34061         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34062         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34065         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34066         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34067         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34068         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34069         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34074         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34081         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34082         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34083         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34084         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34085         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34086         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34087         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34088         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34089         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34090         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34091         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34092         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34093         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34094         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34095         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34096         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34097         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34099         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34100         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34102         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34103         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34104         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34105         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34106         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34107         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34108         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34109         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34110         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34111         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34112         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34113         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34114         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34115         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34116         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34117         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34118         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34119         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34120         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34122         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34123         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34124         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34125         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34126         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34128         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34130         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34132         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34133         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34134         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34135         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34136         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34137         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34138         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34141         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34142         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34144         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34145         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34146         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34147         * sysdeps/unix/alpha/sysdep.S: Likewise.
34148         * sysdeps/unix/alpha/sysdep.h: Likewise.
34149         * sysdeps/unix/make-syscalls.sh: Likewise.
34150         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34152         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34153         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34154         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34155         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34156         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34157         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34158         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34159         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34160         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34161         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34163         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34164         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34165         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34167         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34168         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34169         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34170         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34171         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34172         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34173         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34174         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34175         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34176         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34179         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34180         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34184         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34188         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34189         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34190         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34191         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34192         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34193         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34194         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34197         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34200         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34201         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34202         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34203         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34205         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34206         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34207         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34208         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34209         * sysdeps/x86_64/memcpy.S: Likewise.
34210         * sysdeps/x86_64/memmove.c: Likewise.
34211         * sysdeps/x86_64/memset.S: Likewise.
34212         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34213         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34214         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34215         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34218         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34219         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34220         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34221         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34222         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34223         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34224         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34225         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34226         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34227         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34229         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34230         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34231         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34232         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34233         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34234         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34235         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34236         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34237         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34238         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34239         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34241         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34242         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34243         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34244         * sysdeps/x86_64/strcmp.S: Likewise.
34246         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34248         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34249         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34250         * elf/rtld-Rules: Likewise.
34251         * elf/setup-vdso.h: Likewise.
34252         * include/assert.h: Likewise.
34253         * include/bits/stdlib-float.h: Likewise.
34254         * include/errno.h: Likewise.
34255         * include/sys/stat.h: Likewise.
34256         * include/unistd.h: Likewise.
34257         * sysdeps/aarch64/setjmp.S: Likewise.
34258         * sysdeps/alpha/setjmp.S: Likewise.
34259         * sysdeps/arm/__longjmp.S: Likewise.
34260         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34261         * sysdeps/arm/setjmp.S: Likewise.
34262         * sysdeps/arm/sysdep.h: Likewise.
34263         * sysdeps/generic/_itoa.h: Likewise.
34264         * sysdeps/generic/dl-sysdep.h: Likewise.
34265         * sysdeps/generic/ldsodefs.h: Likewise.
34266         * sysdeps/i386/dl-tls.h: Likewise.
34267         * sysdeps/i386/setjmp.S: Likewise.
34268         * sysdeps/m68k/setjmp.c: Likewise.
34269         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34270         * sysdeps/mach/hurd/opendir.c: Likewise.
34271         * sysdeps/posix/getcwd.c: Likewise.
34272         * sysdeps/posix/opendir.c: Likewise.
34273         * sysdeps/posix/profil.c: Likewise.
34274         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34275         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34276         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34277         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34278         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34279         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34280         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34281         * sysdeps/s390/dl-tls.h: Likewise.
34282         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34283         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34284         * sysdeps/sh/sh3/setjmp.S: Likewise.
34285         * sysdeps/sh/sh4/setjmp.S: Likewise.
34286         * sysdeps/unix/alpha/sysdep.h: Likewise.
34287         * sysdeps/unix/arm/sysdep.S: Likewise.
34288         * sysdeps/unix/i386/sysdep.S: Likewise.
34289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34290         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34291         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34292         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34294         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34295         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34296         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34297         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34298         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34299         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34300         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34301         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34304         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34307         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34308         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34309         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34312         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34313         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34314         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34316         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34317         * sysdeps/x86_64/setjmp.S: Likewise.
34319         * include/math.h: Use IS_IN instead of IS_IN_libm.
34320         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34321         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34323         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34325         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34326         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34327         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34328         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34329         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34330         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34331         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34332         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34333         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34334         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34335         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34336         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34337         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34338         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34339         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34340         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34341         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34342         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34343         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34344         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34345         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34346         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34347         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34348         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34349         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34350         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34351         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34352         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34354         Likewise.
34355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34356         Likewise.
34357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
34358         Likewise.
34359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
34360         Likewise.
34361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
34362         Likewise.
34363         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34364         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
34365         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34366         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34367         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34368         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
34370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
34371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
34372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
34373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
34374         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
34375         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
34376         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34377         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34378         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34379         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34380         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34381         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34382         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34383         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
34384         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
34385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
34386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
34387         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
34388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34389         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
34391         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
34392         * nptl/pthreadP.h: Likewise.
34393         * nptl_db/structs.def: Likewise.
34394         * sysdeps/arm/sysdep.h: Likewise.
34395         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34396         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34397         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
34398         * sysdeps/unix/alpha/sysdep.h: Likewise.
34399         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34401         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34402         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34403         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34404         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34405         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34406         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34407         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34409         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34410         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34411         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34412         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34417         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34418         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34420         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34421         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34422         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34423         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
34424         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34426         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
34427         * nptl/pthreadP.h: Likewise.
34428         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34429         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34430         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34431         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34432         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34433         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34434         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34435         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34436         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34437         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34438         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34439         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34441         Likewise.
34442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34443         Likewise.
34444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34446         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34449         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34450         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34451         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34453         * dlfcn/dladdr.c: Use IS_IN.
34454         * dlfcn/dladdr1.c: Likewise.
34455         * dlfcn/dlclose.c: Likewise.
34456         * dlfcn/dlerror.c: Likewise.
34457         * dlfcn/dlinfo.c: Likewise.
34458         * dlfcn/dlmopen.c: Likewise.
34459         * dlfcn/dlopen.c: Likewise.
34460         * dlfcn/dlsym.c: Likewise.
34461         * dlfcn/dlvsym.c: Likewise.
34463         * include/ifaddrs.h: Use IS_IN.
34464         * inet/check_pf.c: Likewise.
34465         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34466         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
34468         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
34469         IS_IN_ldconfig.
34470         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
34471         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
34473         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
34474         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
34475         IS_IN (libc).
34477         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
34479         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
34480         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34481         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34482         * include/libc-symbols.h (IS_IN_LIB): New macro.
34483         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
34484         * include/netdb.h: Likewise.
34485         * include/stap-probe.h: Remove all uses of IN_LIB.
34487         * Makeconfig (module-cppflags-real): Define MODULE_NAME
34488         instead of IN_MODULE.
34489         * include/libc-symbols.h (IN_MODULE): Define using
34490         MODULE_NAME.
34491         (PASTE_NAME, PASTE_NAME1): New macros.
34492         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
34493         of IN_LIB.
34494         (STAP_PROBE_ASM): Likewise.
34496 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34498         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
34499         __mach_init in dlopened libc.
34501 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
34503         * sysdeps/arm/preconfigure.ac: Delete EABI check.
34504         * sysdeps/arm/preconfigure: Regenerate.
34506 2014-11-21  Roland McGrath  <roland@hack.frob.com>
34508         * nptl/pthread_create.c (__pthread_create_2_1): Set
34509         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
34510         when copying values from IATTR into PD.
34512 2014-11-21  Will Newton  <will.newton@linaro.org>
34513             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
34515         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
34516         Refactor inline-asm.  Also add comment.
34518         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
34519         ElfW macro instead of hardcoded Elf64 types.
34520         (la_aarch64_gnu_pltenter): Likewise.
34521         * sysdeps/aarch64/dl-machine.h
34522         (elf_machine_runtime_setup): Use ElfW(Addr).
34524         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
34525         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
34526         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
34527         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
34528         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
34529         (R_AARCH64_TLS_DTPMOD64): Rename to ..
34530         (R_AARCH64_TLS_DTPMOD): This.
34531         (R_AARCH64_TLS_DTPREL64): Rename to ...
34532         (R_AARCH64_TLS_DTPREL): This.
34533         (R_AARCH64_TLS_TPREL64): Rename to ...
34534         (R_AARCH64_TLS_TPREL): This.
34535         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
34536         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
34537         R_AARCH64_TLS_TPREL64.
34538         (elf_machine_rela): Likewise.
34540 2014-11-21  Torvald Riegel  <triegel@redhat.com>
34542         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
34543         by setting it to 0.  64b atomics are not supported currently.
34545 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34547         [BZ #16469]
34548         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
34549         search domain names.
34551 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34553         [BZ #16469]
34554         * NEWS: Update.
34555         * resolv/res_query.c (__libc_res_nquerydomain): Retain
34556         trailing dot.
34557         * posix/tst-getaddrinfo5.c: New.
34558         * posix/Makefile (tests): Add it.
34560 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34562         [BZ #14498]
34563         * NEWS: Fixed.
34564         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
34565         after parsing line but before break_if_match.
34566         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
34567         if there is a protocol mismatch.
34569 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
34571         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
34572         because the potential race is on the user-supplied stream.
34574 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34576         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
34577         string literal if not passed a buffer.
34578         * manual/job.texi (ctermid): Update reasoning, note deviation
34579         from posix, suggest mtasurace when not passed a buffer, for
34580         future non-preliminary safety notes.
34582 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34584         * manual/users.texi (cuserid): Fix MT-Safety note for the case
34585         of not passing it a buffer.
34586         Reported by Peng Haitao.
34588 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34590         * manual/Makefile ($(objpfx)stamp-summary): Require
34591         check-safety.sh to pass.
34592         * manual/check-safety.sh: Wish for verification that every
34593         @deftypefn and @deftypefun is followed by a @safety remark.
34595 2014-11-20  Roland McGrath  <roland@hack.frob.com>
34597         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
34599         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
34600         PTHREAD_CANCEL_ASYNCHRONOUS.
34601         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
34602         send SIGCANCEL.
34604         * nptl/default-sched.h: New file.
34605         * sysdeps/unix/sysv/linux/default-sched.h: New file.
34606         * nptl/pthread_create.c: Include it.
34607         (__pthread_create_2_1): Use collect_default_sched instead of making
34608         Linux syscalls here directly.
34610 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34612         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
34613         __pthread_once): Use C11 atomics.
34615 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34617         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
34619 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34621         * include/atomic.h (__atomic_link_error, __atomic_check_size,
34622         atomic_thread_fence_acquire, atomic_thread_fence_release,
34623         atomic_thread_fence_seq_cst, atomic_load_relaxed,
34624         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
34625         atomic_compare_exchange_weak_relaxed,
34626         atomic_compare_exchange_weak_acquire,
34627         atomic_compare_exchange_weak_release,
34628         atomic_exchange_acquire, atomic_exchange_release,
34629         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
34630         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
34631         atomic_fetch_and_acquire,
34632         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
34634 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34636         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
34637         USE_ATOMIC_COMPILER_BUILTINS): Define.
34638         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
34639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34640         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
34641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34642         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
34643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34644         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
34645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34646         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
34647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34648         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
34649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34650         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
34651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34652         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
34653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34654         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34656         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34658         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
34659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34660         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34662         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
34663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34664         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34666         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
34667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34668         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
34669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34670         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
34671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34672         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34673         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34674         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
34675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34676         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
34677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34679 2014-11-19  Roland McGrath  <roland@hack.frob.com>
34681         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
34682         the sched_priority value here.  It was already checked when the user
34683         called pthread_attr_setschedparam.
34685         * nptl/tst-bad-schedattr.c: New file.
34686         * nptl/Makefile (tests): Add it.
34688 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
34689             Florian Weimer  <fweimer@redhat.com>
34690             Joseph Myers  <joseph@codesourcery.com>
34691             Adam Conrad  <adconrad@0c3.net>
34692             Andreas Schwab  <schwab@suse.de>
34693             Brooks  <bmoses@google.com>
34695         [BZ #17625]
34696         * wordexp-test.c (__dso_handle): Add prototype.
34697         (__register_atfork): Likewise.
34698         (__app_register_atfork): New function.
34699         (registered_forks): New global.
34700         (register_fork): New function.
34701         (test_case): Add 3 new tests for WRDE_CMDSUB.
34702         (main): Call __app_register_atfork.
34703         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
34704         fork count is non-zero fail the test.
34705         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
34706         is set.
34707         (parse_dollars): Remove check for WRDE_NOCMD.
34708         (parse_dquote): Likewise.
34710 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34712         * Makeconfig (built-modules): List non-library modules to be
34713         built.
34714         (module-cppflags): Include libc-modules.h for
34715         everything except shlib-versions.v.i.
34716         (CPPFLAGS): Use it.
34717         (before-compile): Add libc-modules.h.
34718         ($(common-objpfx)libc-modules.h,
34719         $(common-objpfx)libc-modules.stmp): New targets.
34720         (common-generated): Add libc-modules.h and libc-modules.stmp.
34721         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
34722         * include/libc-symbols.h: Don't include libc-modules.h.
34723         * include/libc-modules.h: Remove file.
34724         * scripts/gen-libc-modules.awk: New script to generate
34725         libc-modules.h.
34726         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
34727         Depend on libc-modules.stmp.
34729         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
34731         * Makeconfig (in-module): Get value of libof set for the
34732         translation unit.
34733         (CPPFLAGS): Use $(in-module).
34734         * Makerules: Don't suffix routine names for nonlib.
34735         * include/libc-modules.h: New file.
34736         * include/libc-symbols.h: Include libc-modules.h
34737         (IS_IN): New macro to replace IS_IN_* macros.
34738         * elf/Makefile: Set libof-* for each routine.
34739         * elf/rtld-Rules: Likewise.
34740         * extra-modules.mk: Likewise.
34741         * iconv/Makefile: Likewise.
34742         * iconvdata/Makefile: Likewise.
34743         * locale/Makefile: Likewise.
34744         * malloc/Makefile: Likewise.
34745         * nss/Makefile: Likewise.
34746         * sysdeps/gnu/Makefile: Likewise.
34747         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
34748         * sysdeps/unix/sysv/linux/Makefile: Likewise.
34749         * sysdeps/s390/s390-64/Makefile: Likewise.
34750         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
34751         CPPFLAGS for nscd instead of nonlib.
34753 2014-11-18  Roland McGrath  <roland@hack.frob.com>
34755         * nptl/createthread.c: New file.
34757         * nptl/createthread.c: Moved ...
34758         * sysdeps/unix/sysv/linux/createthread.c: ... here.
34760         * nptl/createthread.c: Add proper top-line comment.
34761         (do_clone): Folded into ...
34762         (create_thread): ... here.  Take new arguments STOPPED_START and
34763         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
34764         increment __nptl_threads, do event-reporting logic, do
34765         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
34766         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
34767         resource cleanup if sched_setaffinity or sched_setscheduler fails,
34768         just send SIGCANCEL.
34769         * nptl/pthread_create.c: Forward-declare create_thread before
34770         including createthread.c.
34771         (start_thread): Use new macro START_THREAD_DEFN to replace defining
34772         declaration, and new macro START_THREAD_SELF to replace argument.
34773         Remove return statement.
34774         (report_thread_creation): New function.
34775         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
34776         synchronization logic, and __nptl_nthreads increment here, around
34777         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
34778         PD->parent_cancelhandling here, before create_thread.  When
34779         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
34780         __deallocate_stack, and ENOMEM translation here.
34782 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
34784         [BZ #17616]
34785         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
34786         (mptwo): Rename to __mptwo.
34787         (__inv): Use __mptwo instead of mptwo.
34788         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
34789         (mptwo): Rename to __mptwo.
34790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
34791         of mpone and __mptwo instead of mptwo.
34792         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
34793         instead of mpone.
34794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34795         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
34796         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
34797         of mpone and __mptwo instead of mptwo.
34798         (__mpranred): Use __mpone instead of mpone.
34799         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
34800         variable.
34801         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34802         (test-xfail-ISO99/math.h/linknamespace): Likewise.
34803         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34804         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34805         (test-xfail-ISO11/math.h/linknamespace): Likewise.
34806         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34807         (test-xfail-XPG3/math.h/linknamespace): Likewise.
34808         (test-xfail-XPG4/math.h/linknamespace): Likewise.
34809         (test-xfail-POSIX/math.h/linknamespace): Likewise.
34810         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34811         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34812         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34813         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34814         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34815         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34816         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34817         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34818         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34819         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34821 2014-11-18  Tom de Vries  <tom@codesoucery.com>
34823         * manual/signal.texi (Primitives Interrupted by Signals): In section,
34824         replace BSD Handler xref with BSD Signal Handling.
34826 2014-11-17  Richard Henderson  <rth@redhat.com>
34828         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
34829         (_FP_PACK_RAW_2): Remove.
34830         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
34831         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
34832         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
34833         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
34834         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
34835         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
34836         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
34837         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
34838         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
34839         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
34840         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
34841         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
34842         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
34843         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
34844         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
34845         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
34847 2014-11-14  Roland McGrath  <roland@hack.frob.com>
34849         * signal/signal.h [__USE_MISC]
34850         (struct sigvec): Remove type.
34851         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
34852         (sigvec): Remove declaration.
34853         * sysdeps/posix/sigvec.c: Moved ...
34854         * signal/sigvec.c: ... here, replacing old file.
34855         (struct sigvec): New type, copied from old signal.h definition.
34856         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
34857         (__sigvec): Convert definition to prototype.
34858         (sigvec): Replace weak_alias with compat_symbol.
34859         * signal/Versions (libc: GLIBC_2.21): New version set.
34860         * include/signal.h: Remove __sigvec declaration.
34861         * sysdeps/unix/bsd/sigvec.c: Remove file.
34862         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
34863         * manual/signal.texi (BSD Handler): Remove subsection.
34864         Move siginterrupt up to ...
34865         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
34866         (Blocking in BSD): Fold subsection into its parent.
34867         * NEWS: Mention sigvec removal.
34869 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
34871         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
34872         (DLA_FMS): Make definition conditional only on [__FMA4__].
34873         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
34874         definition.
34876         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
34877         Make definition conditional only on [PROF].
34878         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
34879         definition.
34880         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
34881         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
34883         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
34884         !__GNUC__].
34885         * include/signal.h (__sigpause): Move declaration above call to
34886         libc_hidden_proto.
34887         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
34888         variable.
34889         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34890         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34892 2014-11-14  David S. Miller  <davem@davemloft.net>
34894         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
34895         Define before including <string/memcpy.c> and <string/mempcpy.c>.
34897 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
34899         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
34900         * configure: Regenerated.
34901         * manual/install.texi (Tools for Compilation): Document a
34902         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
34903         compiler verified to work.
34904         * INSTALL: Regenerated.
34906         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34907         redeclare with asm name.
34908         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
34909         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
34910         including <string.h>.
34911         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34912         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
34913         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34914         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
34915         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
34917         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34919 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
34921         * stdlib/strtol.c (__strtol): Use prototype definition.
34923         [BZ #17594]
34924         * stdlib/strtol.c (SYM__): New macro.
34925         (SYM__1): Likewise.
34926         (__strtol): Likewise.
34927         (strtol): Rename to __strtol and define as weak alias of
34928         __strtol.  Use libc_hidden_weak.
34930 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34932         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
34933         Use numbered labels in inline assembly.
34935 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34937         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
34938         Add setjmp LIBC_PROBE.
34939         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
34940         Likewise.
34941         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
34942         Add longjmp, longjmp_target LIBC_PROBE.
34943         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
34944         Likewise.
34946 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34949         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
34950         to get rid of unused variable warning.
34952 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34954         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
34955         Check for unwind_backtrace ==  NULL only in SHARED case.
34956         (__backchain_backtrace): Compile only in SHARED case.
34957         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
34958         Likewise.
34959         (__backchain_backtrace): Declare as static.
34961 2014-11-12  Roland McGrath  <roland@hack.frob.com>
34963         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
34964         (__libc_multiple_threads_ptr): Variable moved ...
34965         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
34967 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
34969         * conform/GlibcConform.pm: New file.
34970         * conform/conformtest.pl: Use GlibcConform module.
34971         * conform/linknamespace.pl: New file.
34972         * conform/list-header-symbols.pl: Likewise.
34973         * conform/Makefile (linknamespace-symlists-base): New variable.
34974         (linknamespace-symlists-tests): Likewise.
34975         (linknamespace-header-base): Likewise.
34976         (linknamespace-header-tests): Likewise.
34977         (tests-special): Add new tests.
34978         ($(linknamespace-symlists-tests)): New rule.
34979         (linknamespace-libs): New variable.
34980         ($(objpfx)symlist-stdlibs): New rule.
34981         ($(linknamespace-header-tests)): Likewise.
34982         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
34983         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
34984         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
34985         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
34986         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
34987         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
34988         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
34989         (test-xfail-ISO/math.h/linknamespace): Likewise.
34990         (test-xfail-ISO/signal.h/linknamespace): Likewise.
34991         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
34992         (test-xfail-ISO/time.h/linknamespace): Likewise.
34993         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34994         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
34995         (test-xfail-ISO99/math.h/linknamespace): Likewise.
34996         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34997         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34998         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34999         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35000         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35001         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35002         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35003         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35004         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35005         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35006         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35007         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35008         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35009         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35010         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35011         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35012         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35013         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35014         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35015         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35016         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35017         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35018         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35019         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35020         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35021         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35022         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35023         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35024         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35025         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35026         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35027         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35028         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35029         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35030         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35031         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35032         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35033         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35034         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35035         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35036         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35037         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35038         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35039         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35040         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35041         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35042         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35043         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35044         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35045         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35046         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35047         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35048         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35049         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35050         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35051         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35052         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35053         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35054         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35055         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35056         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35057         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35058         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35059         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35060         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35061         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35062         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35063         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35064         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35065         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35066         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35067         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35068         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35069         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35070         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35071         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35072         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35073         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35074         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35075         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35076         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35077         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35078         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35079         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35080         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35081         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35082         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35083         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35084         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35085         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35086         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35087         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35088         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35089         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35090         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35091         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35092         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35093         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35094         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35095         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35096         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35097         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35098         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35099         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35100         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35101         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35102         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35103         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35104         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35105         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35106         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35107         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35108         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35109         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35110         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35111         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35112         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35113         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35114         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35115         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35116         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35117         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35118         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35119         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35120         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35121         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35122         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35123         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35124         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35125         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35126         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35127         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35128         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35129         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35130         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35131         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35132         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35133         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35134         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35135         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35136         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35137         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35138         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35139         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35140         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35141         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35142         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35144         [BZ #17589]
35145         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35146         of fgets_unlocked.
35148         [BZ #17585]
35149         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35150         (memmem): Rename to __memmem and define as weak alias of
35151         __memmem.  Use libc_hidden_weak.
35152         (__memmem): Use libc_hidden_def.
35153         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35154         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35155         memmem.
35157         [BZ #17582]
35158         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35159         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35160         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35161         and define as weak alias of __fgets_unlocked.  Use
35162         libc_hidden_weak.
35163         (__fgets_unlocked): Use libc_hidden_def.
35164         * include/stdio.h (__fgets_unlocked): Declare.  Use
35165         libc_hidden_proto.
35166         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35167         __fgets_unlocked instead of fgets_unlocked.
35168         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35169         (GET_NPROCS_CONF_PARSER): Likewise.
35170         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35171         (GET_NPROCS_CONF_PARSER): Likewise.
35173         [BZ #17574]
35174         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35175         weak alias of __wmemset.  Use libc_hidden_weak.
35176         (__wmemset): Use libc_hidden_def.
35177         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35178         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35179         of wmemset.
35181         [BZ #17573]
35182         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35183         with asm name __mempcpy.
35184         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35186         [BZ #17572]
35187         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35188         and define as weak alias of __rawmemchr.
35189         (__rawmemchr): Do not define as strong alias of rawmemchr.
35191         [BZ #17571]
35192         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35193         alias of __qsort_r.
35194         (qsort): Call __qsort_r instead of qsort_r.
35195         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35196         (__qsort_r): Declare.  Call libc_hidden_proto.
35197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35198         instead of qsort_r.
35199         * nscd/gai.c (__qsort_r): Define to qsort_r.
35200         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35201         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35202         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35204         [BZ #17570]
35205         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35206         define as weak alias of __malloc_info.
35208         [BZ #17584]
35209         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35210         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35211         (__rewinddir): Use libc_hidden_def.
35212         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35213         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35214         (__rewinddir): Use libc_hidden_def.
35215         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35216         weak alias of __rewinddir.  Don't use libc_hidden_def.
35217         (__rewinddir): Use libc_hidden_def.
35218         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35219         (__rewinddir): Use libc_hidden_proto.
35220         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35221         rewinddir.
35222         (__getcwd): Use __rewinddir instead of rewinddir.
35224         [BZ #17583]
35225         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35226         alias of __fileno.  Use libc_hidden_weak.
35227         (__fileno): Use libc_hidden_def.
35228         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35229         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35230         alias of __ftello.
35231         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35232         __ftello.
35233         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35234         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35235         libc_hidden_def.
35236         (fread_unlocked): Don't use libc_hidden_ver.
35237         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35238         and define as weak alias of __fread_unlocked.  Don't use
35239         libc_hidden_def.
35240         (__fread_unlocked): Use libc_hidden_def.
35241         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35242         (ftello): Don't use libc_hidden_proto.
35243         (__ftello): Declare.  Use libc_hidden_proto.
35244         (fread_unlocked): Don't use libc_hidden_proto.
35245         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35246         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35247         and __ftello instead of fileno, fread_unlocked and ftello.
35249 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35251         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35252         GOT12.
35253         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35254         Likewise.
35255         (_dl_start_user): Likewise.
35256         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35258 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35259             Siddhesh Poyarekar  <siddhesh@redhat.com>
35261         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35262         Move argv and envp down instead of moving argc up.
35263         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35265 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35267         [BZ #17506]
35268         * test-skeleton.c (main): Return successful if one of
35269         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35270         * string/tst-strcoll-overflow.c: Define expected status.
35272 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35274         [BZ #17475]
35275         * locale/iso-639.def: Define Bhili and Tulu language codes.
35277 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35279         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35281 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35283         [BZ #17555]
35284         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35286 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35288         * configure.ac: Updated check of minimal required version to
35289         2.22.
35290         * manual/install.texi (Tools for Compilation): Updated version
35291         number.
35292         * configure: Regenerated.
35293         * INSTALL: Likewise.
35295 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35297         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35298         __tls_get_addr.
35300 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35302         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35303         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35304         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35305         libc_hidden_weak.
35306         (waitpid): Define as alias of __waitpid.
35307         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35308         __waitpid.
35309         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35310         libc_hidden_weak.
35311         (waitpid): Define as alias of __waitpid.
35312         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35313         __libc_waitpid alias.
35314         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35315         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35316         Likewise.
35317         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35318         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35319         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35320         alias.
35321         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35322         __waitpid.
35323         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35324         libc_hidden_weak.
35325         (waitpid): Define as alias of __waitpid.
35327 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35329         * manual/llio.texi: Add comment that write safety has been
35330         fixed in Linux.
35332         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35333         (localplt-build-dso): Add elf/ld.so.
35334         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35335         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35336         and free for ld.so.
35337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35338         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35340         Likewise.
35341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35342         Likewise.
35343         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35344         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35345         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35346         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35347         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35348         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35349         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35350         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35351         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35352         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35353         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35355 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
35357         [BZ #14132]
35358         * include/libc-symbols.h (INTUSE): Remove macro.
35359         (INTDEF): Likewise.
35360         (INTVARDEF): Likewise.
35361         (_INTVARDEF): Likewise.
35362         (INTDEF2): Likewise.
35363         (INTVARDEF2): Likewise.
35364         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
35365         rtld_hidden_def instead of INTVARDEF.
35366         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
35367         (_dl_starting_up_internal): Remove declaration.
35368         (_dl_starting_up): Use rtld_hidden_proto.
35369         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
35370         declaration.
35371         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
35372         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
35373         _dl_starting_up.
35374         * elf/dl-writev.h (_dl_writev): Likewise.
35375         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
35376         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
35377         _dl_starting_up_internal.
35379 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35381         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
35382         test-skeleton.c.
35384 2014-11-05  Will Newton  <will.newton@linaro.org>
35386         * benchtests/Makefile: (bench-malloc): Add malloc thread
35387         scalability benchmark.
35388         * benchtests/bench-malloc-threads.c: New file.
35390 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
35392         * sysdeps/aarch64/strchrnul.S: New file.
35394 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35396         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
35397         definition.
35398         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35399         Likewise.
35400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35401         Likewise.
35402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35403         Likewise.
35404         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35405         Likewise.
35406         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35407         Likewise.
35409 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
35411         * catgets/test-gencat.c: Use test-skeleton.c.
35412         * catgets/tst-catgets.c: Likewise.
35413         * csu/tst-empty.c: Likewise.
35414         * elf/tst-audit2.c: Likewise.
35415         * elf/tst-global1.c: Likewise.
35416         * elf/tst-pathopt.c: Likewise.
35417         * elf/tst-piemod1.c: Likewise.
35418         * elf/tst-tls10.c: Likewise.
35419         * elf/tst-tls11.c: Likewise.
35420         * elf/tst-tls12.c: Likewise.
35421         * gnulib/tst-gcc.c: Likewise.
35422         * iconvdata/tst-e2big.c: Likewise.
35423         * iconvdata/tst-loading.c: Likewise.
35424         * iconv/tst-iconv1.c: Likewise.
35425         * iconv/tst-iconv2.c: Likewise.
35426         * inet/test-inet6_opt.c: Likewise.
35427         * inet/tst-gethnm.c: Likewise.
35428         * inet/tst-network.c: Likewise.
35429         * inet/tst-ntoa.c: Likewise.
35430         * intl/tst-codeset.c: Likewise.
35431         * intl/tst-gettext2.c: Likewise.
35432         * intl/tst-gettext3.c: Likewise.
35433         * intl/tst-ngettext.c: Likewise.
35434         * intl/tst-translit.c: Likewise.
35435         * io/test-stat.c: Likewise.
35436         * libio/test-fmemopen.c: Likewise.
35437         * libio/tst-freopen.c: Likewise.
35438         * libio/tst-sscanf.c: Likewise.
35439         * libio/tst-ungetwc1.c: Likewise.
35440         * libio/tst-ungetwc2.c: Likewise.
35441         * libio/tst-widetext.c: Likewise.
35442         * localedata/tst-ctype.c: Likewise.
35443         * localedata/tst-digits.c: Likewise.
35444         * localedata/tst-leaks.c: Likewise.
35445         * localedata/tst-mbswcs1.c: Likewise.
35446         * localedata/tst-mbswcs2.c: Likewise.
35447         * localedata/tst-mbswcs3.c: Likewise.
35448         * localedata/tst-mbswcs4.c: Likewise.
35449         * localedata/tst-mbswcs5.c: Likewise.
35450         * localedata/tst-setlocale.c: Likewise.
35451         * localedata/tst-trans.c: Likewise.
35452         * localedata/tst-wctype.c: Likewise.
35453         * localedata/tst-xlocale1.c: Likewise.
35454         * login/tst-grantpt.c: Likewise.
35455         * malloc/tst-calloc.c: Likewise.
35456         * malloc/tst-malloc.c: Likewise.
35457         * malloc/tst-mallocstate.c: Likewise.
35458         * malloc/tst-mcheck.c: Likewise.
35459         * malloc/tst-mtrace.c: Likewise.
35460         * malloc/tst-obstack.c: Likewise.
35461         * math/atest-exp2.c: Likewise.
35462         * math/atest-exp.c: Likewise.
35463         * math/atest-sincos.c: Likewise.
35464         * math/test-matherr.c: Likewise.
35465         * math/test-misc.c: Likewise.
35466         * math/test-powl.c: Likewise.
35467         * math/tst-definitions.c: Likewise.
35468         * misc/tst-dirname.c: Likewise.
35469         * misc/tst-efgcvt.c: Likewise.
35470         * misc/tst-fdset.c: Likewise.
35471         * misc/tst-hsearch.c: Likewise.
35472         * misc/tst-mntent2.c: Likewise.
35473         * nptl/tst-sem7.c: Likewise.
35474         * nptl/tst-sem8.c: Likewise.
35475         * nptl/tst-sem9.c: Likewise.
35476         * nss/test-netdb.c: Likewise.
35477         * posix/tst-fnmatch.c: Likewise.
35478         * posix/tst-getlogin.c: Likewise.
35479         * posix/tst-gnuglob.c: Likewise.
35480         * posix/tst-mmap.c: Likewise.
35481         * pwd/tst-getpw.c: Likewise.
35482         * resolv/tst-inet_ntop.c: Likewise.
35483         * rt/tst-timer.c: Likewise.
35484         * stdio-common/test-fseek.c: Likewise.
35485         * stdio-common/test-popen.c: Likewise.
35486         * stdio-common/test-vfprintf.c: Likewise.
35487         * stdio-common/tst-cookie.c: Likewise.
35488         * stdio-common/tst-fileno.c: Likewise.
35489         * stdio-common/tst-gets.c: Likewise.
35490         * stdio-common/tst-obprintf.c: Likewise.
35491         * stdio-common/tst-perror.c: Likewise.
35492         * stdio-common/tst-sprintf2.c: Likewise.
35493         * stdio-common/tst-sprintf3.c: Likewise.
35494         * stdio-common/tst-sprintf.c: Likewise.
35495         * stdio-common/tst-swprintf.c: Likewise.
35496         * stdio-common/tst-tmpnam.c: Likewise.
35497         * stdio-common/tst-unbputc.c: Likewise.
35498         * stdio-common/tst-wc-printf.c: Likewise.
35499         * stdlib/tst-environ.c: Likewise.
35500         * stdlib/tst-fmtmsg.c: Likewise.
35501         * stdlib/tst-limits.c: Likewise.
35502         * stdlib/tst-rand48-2.c: Likewise.
35503         * stdlib/tst-rand48.c: Likewise.
35504         * stdlib/tst-random2.c: Likewise.
35505         * stdlib/tst-random.c: Likewise.
35506         * stdlib/tst-strtol.c: Likewise.
35507         * stdlib/tst-strtoll.c: Likewise.
35508         * stdlib/tst-tls-atexit.c: Likewise.
35509         * stdlib/tst-xpg-basename.c: Likewise.
35510         * string/test-ffs.c: Likewise.
35511         * string/tst-bswap.c: Likewise.
35512         * string/tst-inlcall.c: Likewise.
35513         * string/tst-strtok.c: Likewise.
35514         * string/tst-strxfrm.c: Likewise.
35515         * sysdeps/x86_64/tst-audit10.c: Likewise.
35516         * sysdeps/x86_64/tst-audit3.c: Likewise.
35517         * sysdeps/x86_64/tst-audit4.c: Likewise.
35518         * sysdeps/x86_64/tst-audit5.c: Likewise.
35519         * time/tst-ftime_l.c: Likewise.
35520         * time/tst-getdate.c: Likewise.
35521         * time/tst-mktime3.c: Likewise.
35522         * time/tst-mktime.c: Likewise.
35523         * time/tst-posixtz.c: Likewise.
35524         * time/tst-strptime2.c: Likewise.
35525         * time/tst-strptime3.c: Likewise.
35526         * wcsmbs/tst-btowc.c: Likewise.
35527         * wcsmbs/tst-mbrtowc.c: Likewise.
35528         * wcsmbs/tst-mbsrtowcs.c: Likewise.
35529         * wcsmbs/tst-wchar-h.c: Likewise.
35530         * wcsmbs/tst-wcpncpy.c: Likewise.
35531         * wcsmbs/tst-wcrtomb.c: Likewise.
35532         * wcsmbs/tst-wcsnlen.c: Likewise.
35533         * wcsmbs/tst-wcstof.c: Likewise.
35535 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
35537         [BZ #14132]
35538         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
35539         INTDEF.
35540         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
35541         declaration.
35542         (_dl_mcount): Use rtld_hidden_proto.
35543         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
35544         _dl_mcount.
35545         * elf/rtld.c (_rtld_global_ro): Likewise.
35547         [BZ #14132]
35548         * elf/dl-init.c (_dl_init): Don't use INTDEF.
35549         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
35550         of _dl_init_internal.
35551         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
35552         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
35553         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
35554         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
35555         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
35556         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
35557         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
35558         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
35559         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
35560         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
35561         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
35562         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
35563         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35564         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35565         * sysdeps/tile/dl-start.S (_start): Likewise.
35566         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
35567         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
35569         [BZ #14132]
35570         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
35571         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
35572         (rtld_progname): Make macro definition unconditional.
35573         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
35574         INTDEF.
35575         (dlmopen_doit): Do not use INTUSE with _dl_argv.
35576         (dl_main): Likewise.
35577         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35578         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
35579         instead of _dl_argv_internal.
35580         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35581         __GI__dl_argv instead of INTUSE(_dl_argv).
35582         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
35583         __GI__dl_argv instead of _dl_argv_internal.
35585         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
35586         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
35587         macro.
35588         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
35589         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
35590         New macro.
35591         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
35592         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
35593         macro.
35594         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
35595         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
35597 2014-11-04  Andreas Schwab  <schwab@suse.de>
35599         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
35601 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35603         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
35604         mtvsrd instruction in binary form.
35606 2014-11-03  Andreas Schwab  <schwab@suse.de>
35608         [BZ #17522]
35609         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
35610         for less than MB_LEN_MAX use a local buffer of that size.
35611         * libio/tst-fputws.c: New file.
35612         * libio/Makefile (tests): Add tst-fputws.
35614 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
35616         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
35617         the size of the fpu_fr.fpu_dregs[] array.
35619 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
35621         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
35622         (__nanosleep): Do not define as alias.
35623         (nanosleep): Define as alias of __nanosleep.
35624         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
35625         __libc_nanosleep name.
35627 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
35629         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
35630         install.texi in comment.
35632 2014-10-31  Torvald Riegel  <triegel@redhat.com>
35634         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
35635         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
35636         ... add here and use lwsync or sync ...
35637         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
35638         ... and add here using lwsync.
35640 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35642         * elf/dl-machine-reject-phdr.h: New file.
35643         * elf/dl-load.c: #include that.
35644         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
35645         if that returned true.
35647 2014-10-31  Roland McGrath  <roland@hack.frob.com>
35649         [BZ #17496]
35650         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
35651         gen-as-const-headers chunk.  Add a big scare comment after the last
35652         safe place to touch before-compile.
35654 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
35656         * manual/install.texi (Tools for Compilation): Update autoconf
35657         version requirements.
35658         * INSTALL: Regenerated.
35660         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
35661         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
35662         (__libc_pselect): Likewise.
35664         [BZ #14138]
35665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
35666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35670 2014-10-31  Torvald Riegel  <triegel@redhat.com>
35672         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
35673         correct barrier instruction.
35674         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
35675         Likewise.
35676         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
35677         Likewise.
35679 2014-10-30  Roland McGrath  <roland@hack.frob.com>
35681         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
35682         after defining inlines.  Instead, just use parens to defeat macro
35683         expansion of __isctype in its declaration.
35685 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
35687         * include/sys/uio.h (__libc_readv): Remove declaration.
35688         (__libc_writev): Likewise.
35689         * misc/readv.c (__libc_readv): Rename to __readv.
35690         (__readv): Do not define as alias.
35691         (readv): Define as alias of __readv.
35692         * misc/writev.c (__libc_writev): Rename to __writev.
35693         (__writev): Do not define as alias.
35694         (writev): Define as alias of __writev.
35695         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
35696         (__readv): Do not define as alias.
35697         (readv): Define unconditionally as alias of __readv.
35698         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
35699         (__writev): Do not define as alias.
35700         (writev): Define unconditionally as alias of __writev.
35701         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
35702         name.
35703         (writev): Do not define __libc_writev name.
35705 2014-10-30  Roland McGrath  <roland@hack.frob.com>
35707         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
35708         (convert_charseq): New function, broken out of ...
35709         (use_from_charmap): ... here.  Call it.
35710         (use_to_charmap): Use convert_charseq and free instead of duplicating
35711         its code with a variable-length stack struct.
35713 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
35715         * include/fcntl.h (__libc_creat): Remove declaration.
35716         * io/creat.c (__libc_creat): Rename to creat.
35717         (creat): Do not define as alias.
35718         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
35719         of creat instead of __libc_creat.
35720         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
35721         to creat.
35722         (creat): Do not define as alias.
35723         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
35724         __libc_creat.
35725         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
35726         __libc_creat name.
35727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
35728         Likewise.
35730 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
35732         * manual/llio.texi: Add comments discussing why write() may be
35733         considered MT-unsafe on Linux.
35735 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
35737         * dl-load.c (local_strdup): Remove.
35738         (expand_dynamic_string_token): Use __strdup.
35739         (decompose_rpath): Likewise.
35740         (_dl_map_object): Likewise.
35742 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
35744         [BZ #14132]
35745         * sysdeps/generic/unwind-dw2-fde.c
35746         (__register_frame_info_bases_internal): Do not declare.
35747         (__register_frame_info_table_bases_internal): Likewise.
35748         (__deregister_frame_info_bases_internal): Likewise.
35749         (__register_frame_info_bases): Declare and use hidden_proto before
35750         definition.  Use hidden_def instead of INTDEF.
35751         (__register_frame_info_table_bases): Likewise.
35752         (__deregister_frame_info_bases): Likewise.
35753         (__register_frame_info): Do not use INTUSE.
35754         (__register_frame): Likewise.
35755         (__register_frame_info_table): Likewise.
35756         (__register_frame_table): Likewise.
35757         (__deregister_frame_info): Likewise.
35758         (__deregister_frame): Likewise.
35760 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
35762         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35763         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
35764         not undefine.
35765         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
35766         Likewise.
35767         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
35768         Likewise.
35770 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
35772         [BZ #14138]
35773         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
35774         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
35775         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
35776         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
35777         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
35778         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
35779         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
35780         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
35781         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
35782         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
35783         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
35784         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
35785         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
35786         syscall.
35787         (setfsuid): Likewise.
35788         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
35789         (setfsuid): Likewise.
35790         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
35791         (setfsuid): Likewise.
35792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
35793         Likewise.
35794         (setfsuid): Likewise.
35795         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
35796         (setfsuid): Likewise.
35797         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
35798         Likewise.
35799         (setfsuid): Likewise.
35801 2014-10-27  Andreas Schwab  <schwab@suse.de>
35803         [BZ #17501]
35804         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
35805         check for Slow_SSE4_2 feature bit.
35806         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
35807         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35808         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
35809         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
35811 2014-10-24  Roland McGrath  <roland@hack.frob.com>
35813         * configure.ac: Validate compiler version with a empirical test of
35814         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
35815         $CC -v output.
35816         * configure: Regenerated.
35818         * inet/htons.c (htons): Prototypify.
35819         * inet/htonl.c (htonl): Likewise.
35821 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35823         * string/strncat.c (strncat): Improve performance by using strlen.
35825 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35827         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
35829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35831         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
35832         Call libc_fetestexcept_aarch64.
35834 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35836         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
35837         Call libc_feholdexcept_aarch64.
35839 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35841         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
35842         Call get_rounding_mode.
35844 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35846         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35847         Simplify logic.
35849 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35851         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
35852         Simplify logic.
35854 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
35856         [BZ #14138]
35857         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
35858         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
35859         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
35860         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
35861         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
35862         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
35863         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
35864         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
35865         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
35866         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
35867         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35868         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
35869         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
35870         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
35871         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
35872         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35873         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
35874         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
35875         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
35876         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
35877         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35878         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
35879         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
35880         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
35881         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
35882         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
35883         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
35884         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
35885         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
35886         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
35887         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
35888         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
35889         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
35890         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
35891         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
35892         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
35893         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
35894         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
35895         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
35896         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
35897         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
35898         syscall.
35899         (geteuid): Likewise.
35900         (getgid): Likewise.
35901         (getuid): Likewise.
35902         (getresgid): Likewise.
35903         (getresuid): Likewise.
35904         (getgroups): Likewise.
35905         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
35906         (geteuid): Likewise.
35907         (getgid): Likewise.
35908         (getuid): Likewise.
35909         (getresgid): Likewise.
35910         (getresuid): Likewise.
35911         (getgroups): Likewise.
35912         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
35913         (geteuid): Likewise.
35914         (getgid): Likewise.
35915         (getuid): Likewise.
35916         (getresgid): Likewise.
35917         (getresuid): Likewise.
35918         (getgroups): Likewise.
35919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
35920         Likewise.
35921         (geteuid): Likewise.
35922         (getgid): Likewise.
35923         (getuid): Likewise.
35924         (getresgid): Likewise.
35925         (getresuid): Likewise.
35926         (getgroups): Likewise.
35927         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
35928         (geteuid): Likewise.
35929         (getgid): Likewise.
35930         (getuid): Likewise.
35931         (getresgid): Likewise.
35932         (getresuid): Likewise.
35933         (getgroups): Likewise.
35934         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
35935         Likewise.
35936         (geteuid): Likewise.
35937         (getgid): Likewise.
35938         (getuid): Likewise.
35939         (getgroups): Likewise.
35941         [BZ #14138]
35942         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
35943         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
35944         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
35945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35946         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
35947         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
35948         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
35949         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
35950         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
35951         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
35952         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
35953         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
35954         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
35955         __chown.
35956         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
35957         (lchown): Likewise.
35958         (fchown): Likewise.
35959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
35960         Likewise.
35961         (lchown): Likewise.
35962         (fchown): Likewise.
35963         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
35964         (lchown): Likewise.
35965         (fchown): Likewise.
35966         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
35967         Likewise.
35968         (lchown): Likewise.
35969         (fchown): Likewise.
35971 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35973         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
35974         Simplify logic.
35976 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35978         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35979         Cleanup logic.
35981 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35983         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35984         Remove unused include.
35986 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35988         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
35989         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
35990         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
35991         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
35993 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
35994             Helge Deller <deller@gmx.de>
35996         [BZ #17508]
35997         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
35998         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
35999         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36001 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36003         [BZ #14132]
36004         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36005         Remove macro definition.
36006         (__ashrdi3_v_glibc20): Likewise.
36007         (__lshrdi3_v_glibc20): Likewise.
36008         (__cmpdi2_v_glibc20): Likewise.
36009         (__ucmpdi2_v_glibc20): Likewise.
36010         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36011         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36012         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36013         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36014         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36015         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36017 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36019         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36020         old GNU extension [0] syntax.
36021         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36022         alloca rather than an array member with variable length.
36023         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36024         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36025         (parse_opt): ... here.  Likewise use alloca there.
36026         Validate the -i argument before checking for rootness.
36027         (send_shutdown): New function, broken out of ...
36028         (parse_opt): ... here.
36030 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36032         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36033         macro to get at the _rt_local_ro field.
36034         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36035         ([PIC] case) or _dl_hwcap ([!PIC] case).
36036         * sysdeps/arm/setjmp.S: Likewise.
36038         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36039         * sysdeps/arm/configure.ac: New check to define it.
36040         * sysdeps/arm/configure: Regenerated.
36041         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36042         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36043         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36044         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36045         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36046         Use move/movt pair instead of a load.
36047         (LDST_GLOBAL): Macro removed.
36048         (LDR_GLOBAL): New macro replaces it.
36049         (LDR_HIDDEN): New macro.
36050         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36051         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36053         * setjmp/tst-setjmp-static.c: New file.
36054         * setjmp/Makefile (tests): Add it.
36055         (tests-static): New variable.
36057 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36059         [BZ #17485]
36060         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36062 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36064         [BZ #14132]
36065         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36067 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36069         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36071 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36073         * io/fts.c (dirent_not_directory): New function.
36074         (fts_build): Call it.
36076 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36078         * nptl/version.c (__nptl_main): Use normal __write rather than
36079         INTERNAL_SYSCALL.
36080         (banner): Update copyright years.
36082         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36083         gettimeofday.
36084         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36085         * nptl/pthread_cond_timedwait.c: Likewise.
36086         * nptl/pthread_mutex_timedlock.c: Likewise.
36087         * nptl/sem_timedwait.c: Likewise.
36089         * sysdeps/nptl/bits/libc-lock.h
36090         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36091         (__libc_lock_init_recursive): Return void, not 0.
36092         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36093         (__libc_rwlock_init): Likewise.
36094         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36096 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36098         [BZ #15215]
36099         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36100         (__pthread_once_slow): ... here.
36101         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36102         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36104 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36106         [BZ #15215]
36107         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36108         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36109         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36110         * nptl/pthread_once.c (__pthread_once): Likewise.
36111         Update comments.
36113 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36115         [BZ #14138]
36116         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36117         name.
36118         (writev): Use __libc_writev as strong name.
36119         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36120         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36122 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36124         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36126         * sysdeps/i386/nptl/tls.h
36127         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36128         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36129         New macros.
36130         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36131         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36132         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36133         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36134         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36135         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36137         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36138         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36139         on [__NR_futex].
36140         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36141         broken out of ...
36142         (__pthread_mutex_init): ... here.  Call it.
36143         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36144         Conditionalize PI cases on [__NR_futex].
36145         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36146         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36147         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36149         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36150         conditional on [SIGSETXID].
36151         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36152         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36153         is defined.  Likewise for SIGSETXID.
36154         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36155         Conditionalize definitions on [SIGSETXID].
36156         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36157         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36158         unblocking on [SIGCANCEL].
36160         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36161         [__NR_set_robust_list].
36163 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36165         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36166         (do_compare): Likewise.
36168 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36170         [BZ #15884]
36171         * string/strcoll_l.c: Don't include stdio.h.
36172         (coll_seq): Remove members idxarr and rulearr.
36173         (get_next_seq_cached): Remove function.
36174         (get_next_seq): Likewise.
36175         (get_next_seq_nocache): Rename to get_next_seq.
36176         (do_compare): Remove function.
36177         (do_compare_nocache): Rename to do_compare.
36178         (STRCOLL): Remove weight and rules cache.
36180 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36182         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36183         * sysdeps/arm/sfp-machine.h: ... to here.
36184         * sysdeps/arm/Implies: Remove arm/soft-fp.
36186 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36188         * conform/data/sys/utsname.h-data (*_t): Allow.
36189         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36190         [POSIX] (WEXITED): Do not expect constant.
36191         [POSIX] (WSTOPPED): Likewise.
36192         [POSIX] (WNOHANG): Likewise.
36193         [POSIX] (WNOWAIT): Likewise.
36194         [POSIX] (siginfo_t): Do not expect type or elements.
36195         [POSIX] (pid_t): Do not expect type.
36196         [POSIX] (signal.h): Do not allow header.
36197         [POSIX] (sys/resource.h): Likewise.
36198         [POSIX] (si_*): Do not allow pattern.
36199         [POSIX] (W*): Likewise.
36200         [POSIX] (P_*): Likewise.
36201         [POSIX] (BUS_*): Likewise.
36202         [POSIX] (CLD_*): Likewise.
36203         [POSIX] (FPE_*): Likewise.
36204         [POSIX] (ILL_*): Likewise.
36205         [POSIX] (POLL_*): Likewise.
36206         [POSIX] (SEGV_*): Likewise.
36207         [POSIX] (SI_*): Likewise.
36208         [POSIX] (TRAP_*): Likewise.
36209         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36210         variable.
36212 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36214         [BZ #12926]
36215         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36216         infinite loop when __recvmsg returns 0.
36218 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36220         * CANCEL-FCT-WAIVE: Remove file.
36221         * CANCEL-FILE-WAIVE: Likewise.
36223         [BZ #14132]
36224         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36225         instead of INTVARDEF.
36226         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36227         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36228         rtld_hidden_data_def instead of INTVARDEF.
36229         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36230         * elf/dl-deps.c (expand_dst): Likewise.
36231         * elf/dl-load.c (_dl_dst_count): Likewise.
36232         (_dl_dst_substitute): Likewise.
36233         (decompose_rpath): Likewise.
36234         (_dl_init_paths): Likewise.
36235         (open_path): Likewise.
36236         (_dl_map_object): Likewise.
36237         * elf/rtld.c (dl_main): Likewise.
36238         (process_dl_audit): Likewise.
36239         (process_envvars): Likewise.
36240         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36241         Remove declaration.
36242         (__libc_enable_secure): Use rtld_hidden_proto.
36244 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36246         * elf/dl-load.c
36247         (add_path): New function broken out of _dl_rtld_di_serinfo.
36248         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36250 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36252         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36253         parentheses around macro arguments.
36254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36260         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36265         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36266         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36267         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36268         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36269         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36270         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
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         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36290         Likewise.
36291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36297         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36298         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36301         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36302         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36303         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36312         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36313         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36314         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36316         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36317         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36318         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36319         (_FP_FRAC_SRS_1): Likewise.
36320         (_FP_FRAC_CLZ_1): Likewise.
36321         (_FP_MUL_MEAT_1_imm): Likewise.
36322         (_FP_MUL_MEAT_1_wide): Likewise.
36323         (_FP_MUL_MEAT_1_hard): Likewise.
36324         (_FP_SQRT_MEAT_1): Likewise.
36325         (_FP_FRAC_ASSEMBLE_1): Likewise.
36326         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36327         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36328         (__FP_CLZ_2): Likewise.
36329         (_FP_MUL_MEAT_2_wide): Likewise.
36330         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36331         (_FP_MUL_MEAT_2_gmp): Likewise.
36332         (_FP_MUL_MEAT_2_120_240_double): Likewise.
36333         (_FP_SQRT_MEAT_2): Likewise.
36334         (_FP_FRAC_ASSEMBLE_2): Likewise.
36335         (_FP_FRAC_DISASSEMBLE_2): Likewise.
36336         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36337         (_FP_FRAC_CLZ_4): Likewise.
36338         (_FP_MUL_MEAT_4_wide): Likewise.
36339         (_FP_MUL_MEAT_4_gmp): Likewise.
36340         (_FP_SQRT_MEAT_4): Likewise.
36341         (_FP_FRAC_ASSEMBLE_4): Likewise.
36342         (_FP_FRAC_DISASSEMBLE_4): Likewise.
36343         * soft-fp/op-common.h (_FP_CMP): Likewise.
36344         (_FP_CMP_EQ): Likewise.
36345         (_FP_CMP_UNORD): Likewise.
36346         (_FP_TO_INT): Likewise.
36347         (_FP_FROM_INT): Likewise.
36348         [!__FP_CLZ] (__FP_CLZ): Likewise.
36349         (_FP_DIV_HELP_imm): Likewise.
36350         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36351         Likewise.
36352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
36360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
36361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
36362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
36363         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
36364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
36365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
36366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
36367         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
36368         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
36369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): 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         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
36388         (FP_UNPACK_RAW_SP): Likewise.
36389         (FP_PACK_RAW_S): Likewise.
36390         (FP_PACK_RAW_SP): Likewise.
36391         (FP_UNPACK_S): Likewise.
36392         (FP_UNPACK_SP): Likewise.
36393         (FP_UNPACK_SEMIRAW_S): Likewise.
36394         (FP_UNPACK_SEMIRAW_SP): Likewise.
36395         (FP_PACK_S): Likewise.
36396         (FP_PACK_SP): Likewise.
36397         (FP_PACK_SEMIRAW_S): Likewise.
36398         (FP_PACK_SEMIRAW_SP): Likewise.
36399         (_FP_SQRT_MEAT_S): Likewise.
36400         (FP_CMP_S): Likewise.
36401         (FP_CMP_EQ_S): Likewise.
36402         (FP_CMP_UNORD_S): Likewise.
36403         (FP_TO_INT_S): Likewise.
36404         (FP_FROM_INT_S): Likewise.
36406         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
36408         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
36409         (FP_EX_INVALID_IMZ): Likewise.
36410         (FP_EX_INVALID_IMZ_FMA): Likewise.
36411         (FP_EX_INVALID_ISI): Likewise.
36412         (FP_EX_INVALID_ZDZ): Likewise.
36413         (FP_EX_INVALID_IDI): Likewise.
36414         (FP_EX_INVALID_SQRT): Likewise.
36415         (FP_EX_INVALID_CVI): Likewise.
36416         (FP_EX_INVALID_VC): Likewise.
36417         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
36418         "invalid" exceptions.
36419         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
36420         (_FP_ADD_INTERNAL): Likewise.
36421         (_FP_MUL): Likewise.
36422         (_FP_FMA): Likewise.
36423         (_FP_DIV): Likewise.
36424         (_FP_CMP_CHECK_NAN): Likewise.
36425         (_FP_SQRT): Likewise.
36426         (_FP_TO_INT): Likewise.
36427         (FP_EXTEND): Likewise.
36429 2014-10-09  Allan McRae  <allan@archlinux.org>
36431         * po/fr.po: Update French translation from translation project.
36433 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36435         [BZ #14132]
36436         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
36437         of INTDEF.
36438         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
36439         (__cxa_atexit): Use libc_hidden_proto.
36440         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36442         [BZ #14132]
36443         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
36444         declaration.
36445         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
36446         [!_ISOMAC] (__iswspace_l_internal): Likewise.
36447         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
36448         [!_ISOMAC] (__iswctype_internal): Likewise.
36449         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
36450         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
36451         alias.
36452         (fcntl): Remove __fcntl_internal alias.
36453         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
36454         __connect_internal alias.
36455         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
36456         Likewise.
36458         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
36459         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
36460         FP_DENORM_ZERO.
36461         (_FP_CHECK_FLUSH_ZERO): New macro.
36462         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
36463         (_FP_CMP): Likewise.
36464         (_FP_CMP_EQ): Likewise.
36465         (_FP_TO_INT): Do not set inexact for subnormal arguments if
36466         FP_DENORM_ZERO.
36467         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
36468         (FP_TRUNC): Likewise.
36470         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
36471         treated as invalid conversion, not as normal exponent.
36473         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
36474         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
36475         (_FP_CMP_EQ): Likewise.
36476         (_FP_CMP_UNORD): Likewise.
36477         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
36478         (FP_CMP_EQ_D): Likewise.
36479         (FP_CMP_UNORD_D): Likewise.
36480         * soft-fp/extended.h (FP_CMP_E): Likewise.
36481         (FP_CMP_EQ_E): Likewise.
36482         (FP_CMP_UNORD_E): Likewise.
36483         * soft-fp/quad.h (FP_CMP_Q): Likewise.
36484         (FP_CMP_EQ_Q): Likewise.
36485         (FP_CMP_UNORD_Q): Likewise.
36486         * soft-fp/single.h (FP_CMP_S): Likewise.
36487         (FP_CMP_EQ_S): Likewise.
36488         (FP_CMP_UNORD_S): Likewise.
36489         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
36490         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
36491         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
36492         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
36493         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
36494         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
36495         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
36496         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
36497         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
36498         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
36499         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
36500         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
36501         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
36502         to FP_CMP_Q.
36503         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
36504         FP_CMP_Q.
36505         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
36506         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
36507         FP_CMP_EQ_Q.
36508         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
36509         FP_CMP_Q.
36510         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
36511         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
36512         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
36513         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
36514         FP_CMP_EQ_Q.
36515         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
36516         FP_CMP_Q.
36517         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
36518         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
36519         FP_CMP_EQ_Q.
36520         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
36521         FP_CMP_Q.
36522         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
36523         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
36524         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
36525         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
36526         FP_CMP_EQ_Q.
36528         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
36529         a subnormal result, set the underflow exception if trapping on
36530         underflow is enabled.
36531         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
36532         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
36533         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
36534         redefine to 0.
36535         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
36536         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36537         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36538         * soft-fp/extendxftf2.c (__extendxftf2): Use
36539         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
36541         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
36542         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
36543         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36544         FP_HANDLE_EXCEPTIONS.
36545         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
36546         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36547         FP_HANDLE_EXCEPTIONS.
36548         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
36549         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36550         FP_HANDLE_EXCEPTIONS.
36551         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
36552         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36553         FP_HANDLE_EXCEPTIONS.
36555 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
36557         [BZ #14132]
36558         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
36559         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
36560         use INTUSE.
36561         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
36562         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
36563         Remove alias.
36564         (__adjtimex): Define using libc_hidden_ver.
36565         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
36566         Remove declaration.
36567         (ntp_gettime): Call __adjtimex directly.
36568         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
36569         Remove declaration.
36570         (ntp_gettimex): Call __adjtimex directly.
36571         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
36572         __adjtimex_internal alias.
36574 2014-10-08  Roland McGrath  <roland@hack.frob.com>
36576         [BZ #17460]
36577         * nscd/nscd.c (more_help): Rewrite list of tables collection
36578         using xstrdup and asprintf.
36580         * nscd/nscd_conf.c: Remove local xstrdup declaration.
36582 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36583             Roland McGrath  <roland@hack.frob.com>
36585         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
36586         (do_lookup_unique): ... local function 'enter' here; update callers.
36588 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
36590         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
36591         compat_symbol calls on [SHARED].
36592         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
36593         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
36594         Remove.
36595         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36596         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
36597         (oldsetrlimit): Remove.
36598         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36600         (lchown): New syscall entry.
36601         (oldsetrlimit): Remove.
36602         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36603         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
36604         (oldsetrlimit): Remove.
36605         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36607         [BZ #14138]
36608         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
36609         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
36610         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
36611         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
36612         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36613         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
36614         (fchown): Likewise.
36615         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
36616         (fchown): Likewise.
36617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
36618         Likewise.
36620 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
36623         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
36624         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
36625         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
36626         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
36627         Likewise.
36628         (__old_sem_post): Likewise.
36630 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
36632         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
36633         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
36634         HAVE_CLOCK_GETTIME_VSYSCALL macros.
36635         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
36636         Use INLINE_VSYSCALL macro.
36637         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
36638         __vdso_clock_gettime.
36639         * sysdeps/unix/sysv/linux/tile/init-first.c
36640         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
36641         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
36642         __vdso_clock_gettime.
36644         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
36645         to set up frame more cleanly.
36647         * sysdeps/tile/memcmp.c: New file.
36649         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
36651         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
36652         * sysdeps/tile/tilegx/strcasestr.c: New file.
36653         * sysdeps/tile/tilegx/strnlen.c: New file.
36654         * sysdeps/tile/tilegx/strstr.c: New file.
36656         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
36658 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
36660         * nptl/tst-setuid3.c: Write errors to stdout.
36662 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36664         * elf/dl-deps.c
36665         (preload): New functions broken out of _dl_map_object_deps.
36666         (_dl_map_object_deps):  Remove a nested function. Update call sites.
36668 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
36670         [BZ #14138]
36671         * sysdeps/unix/sysv/linux/execve.c: Remove file.
36672         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
36674 2014-10-01  Steve Ellcey  <sellcey@mips.com>
36676         * sysdeps/mips/strcmp.S: New.
36678 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #14138]
36681         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
36682         (linkat): Likewise.
36683         (mkdirat): Likewise.
36684         (readlinkat): Likewise.
36685         (renameat): Likewise.
36686         (symlinkat): Likewise.
36687         (unlinkat): Likewise.
36688         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
36689         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
36690         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
36691         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
36692         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
36693         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
36694         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
36696 2014-09-30  Will Newton  <will.newton@linaro.org>
36698         * math/math.h: Define long double math functions if
36699         _LIBC_TEST is defined.
36700         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
36702         * localedata/Makefile: Move assignment to tests-special
36703         into an ifdef testing run-built-tests.
36704         * timezone/Makefile: Likewise.
36706 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
36708         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
36709         with $(BASH) not $(SHELL).
36711 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
36712             Matthew LeGendre  <legendre1@llnl.gov>
36714         [BZ #17411]
36715         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
36716         l_reloc_result.
36718 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36720         * stdio-common/printf_fp.c
36721         (hack_digit): New function, broken out of ...
36722         (__printf_fp): ... local function here.  Update call sites.
36723         hack_digit now takes an additional parameter that is a pointer
36724         to a struct of the referenced locals.  Those locals moved inside
36725         the struct and references updated.
36727 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
36729         * aclocal.m4: Require autoconf 2.69.
36730         * configure: Regenerated.
36731         * sysdeps/aarch64/configure: Likewise.
36732         * sysdeps/alpha/configure: Likewise.
36733         * sysdeps/arm/armv7/configure: Likewise.
36734         * sysdeps/arm/configure: Likewise.
36735         * sysdeps/ia64/configure: Likewise.
36736         * sysdeps/mach/configure: Likewise.
36737         * sysdeps/mips/configure: Likewise.
36738         * sysdeps/s390/configure: Likewise.
36739         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
36740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
36742         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
36743         file.
36744         * sysdeps/ia64/configure.ac: Likewise.
36746 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
36748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
36749         specify symbol version for ld.so.  Do not include entry for
36750         libpthread.
36751         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36752         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36753         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36755         [BZ #14171]
36756         * Makeconfig [$(build-shared) = yes]
36757         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
36758         makefiles.
36759         [$(build-shared) = yes && $(soversions.mk-done) = t]
36760         ($(common-objpfx)gnu/lib-names.h): Remove rule.
36761         [$(build-shared) = yes && $(soversions.mk-done) = t]
36762         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
36763         to Makerules.
36764         [$(build-shared) = yes && $(soversions.mk-done) = t]
36765         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
36766         here.
36767         [$(build-shared) = yes && $(soversions.mk-done) = t]
36768         (common-generated): Don't append gnu/lib-names.h and
36769         gnu/lib-names.stmp here.
36770         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
36771         (lib-names-h-abi): New variable.
36772         [$(build-shared) = yes && $(soversions.mk-done) = t]
36773         (lib-names-stmp-abi): Likewise.
36774         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36775         abi-variants] (before-compile): Append
36776         $(common-objpfx)$(lib-names-h-abi).
36777         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36778         abi-variants] (common-generated): Append gnu/lib-names.h.
36779         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36780         abi-variants] (install-others-nosubdir): Depend on
36781         $(inst_includedir)/$(lib-names-h-abi).
36782         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36783         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
36784         [$(build-shared) = yes && $(soversions.mk-done) = t]
36785         ($(common-objpfx)$(lib-names-h-abi)): New rule.
36786         [$(build-shared) = yes && $(soversions.mk-done) = t]
36787         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
36788         [$(build-shared) = yes && $(soversions.mk-done) = t]
36789         (common-generated): Append $(lib-names-h-abi) and
36790         $(lib-names-stmp-abi).
36791         * scripts/lib-names.awk: Do not handle multi being set.
36792         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
36793         Remove variable.
36794         (abi-lp64_be-ld-soname): Likewise.
36795         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
36796         Likewise.
36797         (abi-hard-ld-soname): Likewise.
36798         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
36799         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
36800         Remove variable.
36801         (abi-o32_hard-ld-soname): Likewise.
36802         (abi-o32_soft_2008-ld-soname): Likewise.
36803         (abi-o32_hard_2008-ld-soname): Likewise.
36804         (abi-n32_soft-ld-soname): Likewise.
36805         (abi-n32_hard-ld-soname): Likewise.
36806         (abi-n32_soft_2008-ld-soname): Likewise.
36807         (abi-n32_hard_2008-ld-soname): Likewise.
36808         (abi-n64_soft-ld-soname): Likewise.
36809         (abi-n64_hard-ld-soname): Likewise.
36810         (abi-n64_soft_2008-ld-soname): Likewise.
36811         (abi-n64_hard_2008-ld-soname): Likewise.
36812         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
36813         Likewise.
36814         (abi-64-v2-ld-soname): Likewise.
36815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
36816         ld.so entries.
36817         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
36818         variable.
36819         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
36820         entry.
36821         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
36822         variable.
36823         (abi-64-ld-soname): Likewise.
36824         (abi-x32-ld-soname): Likewise.
36825         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
36826         entry.
36827         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36829 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
36831         [BZ #14138]
36832         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
36833         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
36834         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
36835         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
36836         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
36837         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
36838         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
36839         syscall entry for GLIBC_2.2 symbol version.
36840         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
36841         Likewise.
36842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36843         (setrlimit): Likewise.
36844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
36845         Likewise.
36847 2014-09-23  Will Newton  <will.newton@linaro.org>
36849         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
36850         _LINUX_ARM_SYSDEP_H include guard too.
36851         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
36852         define.
36854 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36856         * sysdeps/unix/sysv/linux/eventfd.c:
36857         Make first argument unsigned.
36858         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
36859         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
36861 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
36863         [BZ #16852]
36864         * socket/recvmmsg.c (recvmmsg): Drop const argument.
36865         * socket/sys/socket.h: Likewise.
36866         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
36868 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36870         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
36872 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
36874         * time/tst-ftime.c: New test.
36875         * time/Makefile (tests): Add tst-ftime.
36877 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
36879         * soft-fp/extended.h: Fix comment formatting.
36880         * soft-fp/op-1.h: Likewise.
36881         * soft-fp/op-2.h: Likewise.
36882         * soft-fp/op-4.h: Likewise.
36883         * soft-fp/op-8.h: Likewise.
36884         * soft-fp/op-common.h: Likewise.
36885         * soft-fp/soft-fp.h: Likewise.
36887         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
36889 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
36891         [BZ #6652]
36892         * Makeconfig (soversions-default-setname): Remove variable.
36893         ($(common-objpfx)soversions.i): Don't pass default_setname to
36894         soversions.awk.
36895         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
36896         oldest_abi to abi-versions.awk.
36897         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
36898         * config.make.in (oldest-abi): Remove variable.
36899         * configure.ac (--enable-oldest-abi): Remove configure option.
36900         * configure: Regenerated.
36901         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
36902         text.
36903         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
36904         * scripts/soversions.awk: Do not handle default_setname variable.
36905         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
36906         variable.
36907         * sysdeps/mach/hurd/configure: Regenerated.
36908         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
36909         variable.
36910         * sysdeps/unix/sysv/linux/configure: Regenerated.
36912 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36914         * elf/Makefile (CFLAGS-interp.c): Remove.
36915         ($(elf-objpfx)runtime-linker.h): Generate header with linker
36916         path string.
36917         * elf/interp.c: Include generated runtime-linker.h
36919         * Makerules (lib%.so): Don't include $(+interp) in
36920         prerequisites.
36921         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
36922         * dlfcn/eval.c: Remove file.
36924         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
36925         macros.
36927         [BZ #17266]
36928         * misc/sys/cdefs.h: Define __extern_always_inline for clang
36929         4.2 and newer.
36931         [BZ #17370]
36932         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
36934 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36935             Jakub Jelinek  <jakub@redhat.com>
36937         [BZ #17266]
36938         * libio/stdio.h: Check definition of __fortify_function
36939         instead of __extern_always_inline to include bits/stdio2.h.
36940         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
36941         check if __extern_always_inline is defined.
36942         [__USE_MISC || __USE_XOPEN]: Likewise.
36943         [__USE_ISOC99] Likewise.
36944         * misc/sys/cdefs.h (__fortify_function): Define only if
36945         __extern_always_inline is defined.
36946         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
36947         __extern_always_inline and __extern_inline only for g++-4.3
36948         and newer or a compatible gcc.
36950 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
36952         [BZ #17371]
36953         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36954         last change to handle zero prefix length.
36956 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36958         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
36959         _SC_REGEX_VERSION.
36961         * posix/getconf.c (vars): Add _POSIX_IPV6 and
36962         _POSIX_RAW_SOCKETS.
36964 2014-09-13  Allan McRae  <allan@archlinux.org>
36966         * po/ru.po: Update Russian translation from translation project.
36968 2014-09-12  Roland McGrath  <roland@hack.frob.com>
36970         * locale/programs/locale.c (show_locale_vars): Inline local function
36971         into its sole call site.  Clean up some style nits.
36972         (print_item): New function, broken out of ...
36973         (show_info): ... local function here.  Clean up style nits.
36975         * locale/programs/ld-ctype.c (set_one_default): New function, broken
36976         out of ...
36977         (set_class_defaults): ... local function set_default here.
36978         Define set_default as a macro locally to pass constant parameters.
36979         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
36980         rather than a shared local.
36982         * stdlib/rpmatch.c (try): New function, broken out of ...
36983         (rpmatch): ... local function here.  Also, prototypify definition.
36985 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
36987         * scripts/soversions.awk: Do not handle configuration names.
36988         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
36989         vendor and os variables to soversions.awk.
36990         * configure.ac: Do not modify gnu-* host_os.
36991         * configure: Regenerated
36992         * shlib-versions: Remove first column with configuration names.
36993         * nptl/shlib-versions: Likewise.
36994         * nptl_db/shlib-versions: Likewise.
36995         * sysdeps/hppa/shlib-versions: Likewise.
36996         * sysdeps/m68k/shlib-versions: Likewise.
36997         * sysdeps/mach/hurd/shlib-versions: Likewise.
36998         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
36999         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37000         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37001         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37002         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37003         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37004         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37005         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37007         Likewise.
37008         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37009         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37010         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37011         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37012         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37013         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37014         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37015         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37018         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37020         Regenerated.
37021         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37023         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37025         * shlib-versions: Remove OS-specific entries.  Moved to files in
37026         sysdeps.
37027         * sysdeps/mach/hurd/shlib-versions: New file.
37028         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37030         * nptl/shlib-versions: Remove architecture-specific entries.
37031         Moved to files in sysdeps.
37032         * shlib-versions: Likewise.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37034         file.
37035         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37036         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37037         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37038         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37040         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37041         (UDP_NO_CHECK6_RX): Likewise.
37043 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37045         * sysdeps/posix/sysconf.c (__sysconf): Spell
37046         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37048 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37050         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37051         loading.
37052         * iconv/Versions (__gconv_transliterate): Export for use from
37053         gconv modules.
37054         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37055         (struct __gconv_trans_data, __gconv_trans_fct,
37056         __gconv_trans_context_fct, __gconv_trans_query_fct,
37057         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37058         definitions.
37059         (struct __gconv_step_data): Remove __trans member.
37060         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37061         longer hidden.  Remove unused trans_data argument.
37062         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37063         (__gconv_translit_find): Remove declaration.
37064         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37065         prototype.
37066         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37067         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37068         trans_data argument.  Add hidden definition.
37069         (__gconv_translit_find): Remove.
37070         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37071         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37072         * iconv/skeleton.c: Remove transliteration initialization.
37073         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37074         __gconv_step_data initialization.
37075         * libio/iofwide.c (__libio_translit_): Remove.
37076         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37077         * wcsmbs/btowc.c (__btowc): Likewise.
37078         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37079         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37080         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37081         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37082         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37083         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37084         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37085         * wcsmbs/wctob.c (wctob): Likewise.
37087 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37089         [BZ #16194]
37090         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37091         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37092         register usage.
37093         * sysdeps/x86/Makefile: Adjust.
37095 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37096             Roland McGrath  <roland@hack.frob.com>
37098         * locale/weight.h: Add include guard.
37099         (findidx): Make static rather than auto; take new parameters
37100         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37101         * locale/weightwc.h: Likewise.
37102         * posix/fnmatch_loop.c
37103         (FCT): Change type of EXTRA from int32_t to wint_t.
37104         Don't include either header inside the function.
37105         Call FINDIDX rather than findidx, and pass new arguments.
37106         #undef FINDIDX at the end of the file.
37107         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37108         FINDIDX before including fnmatch_loop.c for the non-wide version.
37109         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37110         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37111         for the wide version.
37112         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37113         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37114         Pass new arguments to findidx.
37115         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37116         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37117         Don't #include it inside the function.  Pass new arguments to findidx.
37118         * posix/regex_internal.h
37119         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37120         (re_string_elem_size_at): Don't #include it inside the function.
37121         Pass new arguments to findidx.
37122         * string/strcoll_l.c: #include WEIGHT_H at top level.
37123         (get_next_seq): Don't #include it inside the function.
37124         Pass new arguments to findidx.
37125         (get_next_seq_nocache): Likewise.
37126         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37127         (STRXFRM): Don't #include it inside the function.
37128         Pass new arguments to findidx.
37130 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37132         [BZ #17344]
37133         * malloc/malloc.c (unlink): Turn asserts into a call to
37134         malloc_printerr.
37136 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37138         [BZ #17370]
37139         * libio/wfileops (do_ftell_wide): Free OUT.
37141 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37143         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37145 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37147         [BZ #17363]
37148         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37149         group if the current group is empty.
37151 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37153         * benchtests/bench-memset.c (test_main): Add more test from size
37154         from 32 to 512 bytes.
37155         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37156         Add POWER8 memset object.
37157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37158         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37159         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37160         implementation.
37161         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37162         Likewise.
37163         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37164         multiarch POWER8 memset optimization.
37165         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37166         POWER8 memset optimization.
37168         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37169         Remove bzero multiarch objects.
37170         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37171         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37172         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37173         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37174         Remove define.
37175         [__bzero]: Redefine to specific name.
37176         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37177         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37178         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37179         define.
37180         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37181         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37183 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37185         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37186         warnings into errors.
37188         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37189         __cxa_thread_atexit_impl prototype.
37191 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37193         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37194         Fix capitalization of error message.
37196 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37198         * sysdeps/mips/preconfigure: Modify ABI tests.
37200 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37202         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37204 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37205             Carlos O'Donell  <carlos@systemhalted.org>
37207         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37208         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37209         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37210         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37211         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37212         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37213         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37214         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37215         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37216         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37217         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37218         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37219         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37220         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37221         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37222         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37223         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37224         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37225         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37226         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37227         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37228         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37229         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37230         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37231         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37232         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37233         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37234         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37235         Deconditionalize the code that was previously under [RESET_PID].
37236         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37237         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37238         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37239         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37240         include sysdep.h.
37242 2014-09-08  Allan McRae  <allan@archlinux.org>
37244         * version.h (RELEASE): Set to "development".
37245         (VERSION): Set to "2.20.90"
37247 2014-09-07  Allan McRae  <allan@archlinux.org
37249         * version.h (RELEASE): Set to "stable".
37250         (VERSION): Set to "2.20"
37251         * include/features.h (__GLIBC_MINOR__): Set to 20.
37253         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37254         Liebler.
37256         * po/ko.po: Update Korean translation from translation project.
37258 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37260         [BZ #17354]
37261         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37262         macro for handling signed relocations.
37264 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37266         [BZ #17325]
37267         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37268         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37269         assert.
37270         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37271         * iconvdata/ibm935.c (BODY): Likewise.
37272         * iconvdata/ibm937.c (BODY): Likewise.
37273         * iconvdata/ibm939.c (BODY): Likewise.
37274         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37275         assert.
37276         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37277         script.
37278         * iconvdata/run-iconv-test.sh: New test loop for checking for
37279         decoder crashers.
37281 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37283         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37284         libm_hidden_ver.
37286 2014-09-01  Allan McRae  <allan@archlinux.org>
37288         * po/eo.po: Update Esperanto translation from translation project.
37290         * po/ca.po: Update Catalan translation from translation project.
37292 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37294         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37295         __proc_dostop call.
37297 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37299         [BZ #17319]
37300         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37301         to call set_thread_area instead of hand written asm.
37302         (__NR_set_thread_area): Removed define.
37303         (TLS_FLAG_WRITABLE): Likewise.
37304         (__ASSUME_SET_THREAD_AREA): Remove check.
37305         (TLS_EBX_ARG): Remove define.
37306         (TLS_LOAD_EBX): Likewise.
37308 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37310         Simplify atomicity of socket creation in bind.
37312         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37313         looking up the name after linking the file.
37315 2014-08-27  Allan McRae  <allan@archlinux.org>
37317         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37319 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37321         [BZ #17187]
37322         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37323         trans_compare, open_translit, __gconv_translit_find):
37324         Remove module loading code.
37326 2014-08-26  Allan McRae  <allan@archlinux.org>
37328         * po/vi.po: Update Vietnamese translation from translation project.
37330         * po/uk.po: Update Ukrainian translation from translation project.
37332         * po/fr.po: Update French translation from translation project.
37334         * po/ru.po: Update Russian translation from translation project.
37336         * po/pl.po: Update Polish translation from translation project.
37338         * po/cs.po: Update Czech translation from translation project.
37340         * po/de.po: Update German translation from translation project.
37342         * po/bg.po: Update Bulgarian translation from translation project.
37344         * po/sv.po: Update Sweedish translation from translation project.
37346         * po/nl.po: Update Dutch translation from translation project.
37348         * po/es.po: Update Spanish translation from translation project.
37350 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37352         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37354         * catgets/Makefile (CPPFLAGS-gencat): Remove.
37355         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37356         (CPPFLAGS-iconvconfig): Likewise.
37357         * timezone/Makefile (CPPFLAGS-zic): Likewise.
37359         * include/libc-symbols.h: Remove unnecessary check for
37360         NOT_IN_libc.
37361         * nptl/pthreadP.h: Likewise.
37362         * sysdeps/aarch64/setjmp.S: Likewise.
37363         * sysdeps/alpha/setjmp.S: Likewise.
37364         * sysdeps/arm/sysdep.h: Likewise.
37365         * sysdeps/i386/setjmp.S: Likewise.
37366         * sysdeps/m68k/setjmp.c: Likewise.
37367         * sysdeps/posix/getcwd.c: Likewise.
37368         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37369         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37370         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37371         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37372         * sysdeps/sh/sh3/setjmp.S: Likewise.
37373         * sysdeps/sh/sh4/setjmp.S: Likewise.
37374         * sysdeps/unix/alpha/sysdep.h: Likewise.
37375         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37376         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37377         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37378         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37383         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37386         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37388         * sysdeps/x86_64/setjmp.S: Likewise.
37390 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
37392         [BZ #17263]
37393         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
37394         <stdint.h>.
37395         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
37396         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
37398 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37400         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
37402         [BZ #17262]
37403         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
37404         and __x86_64__ when disabling x87 inline functions.
37406 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37408         [BZ #17259]
37409         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
37410         asm statement with __cpuid_count.
37412 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
37414         * configure.ac: Change __ehdr_start code to dereference the struct.
37415         Run readelf on the output to look for relocations.
37416         * configure: Regenerated.
37418 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
37420         [BZ #17261]
37421         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
37422         value to 0.
37423         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
37425 2014-08-12  Roland McGrath  <roland@hack.frob.com>
37427         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
37429 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
37431         [BZ #16892]
37432         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
37433         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
37435 2014-08-12  Sean Anderson  <seanga2@gmail.com>
37437         * malloc/malloc.c: Fix typo in comment.
37439 2014-08-09  Allan McRae  <allan@archlinux.org>
37441         * Regenerate libc.po.
37443 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
37445         * intl/tst-gettext2.sh: Check every lang file for creation.
37447 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37449         * sysdeps/aarch64/fpu/math_private.h
37450         (libc_feholdsetround_noex_aarch64_ctx): New function.
37452 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37454         * sysdeps/arm/armv6/strcpy.S (strcpy):
37455         Fix performance issue in misaligned cases.
37457 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37459         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
37460         Move definition from termios.h.
37461         (struct termio): Likewise.
37462         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37463         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37464         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37465         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
37468         Move definition to ioctl-types.h
37469         (struct termio): Likewise.
37470         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37471         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37472         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37473         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37474         Likewise.
37476 2014-08-05  Richard Henderson  <rth@redhat.com>
37478         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
37479         exceptions.
37480         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
37481         Add fraiseexcpt.
37482         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
37483         Use __feraiseexcept.
37484         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
37485         Protect libm symbols with IS_IN_libm.
37487         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
37489 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
37491         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
37493 2014-08-04  Will Newton  <will.newton@linaro.org>
37495         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
37496         file.
37498 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
37500         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
37501         variants for each function.
37503 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37505         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
37506         appended ...
37507         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
37508         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
37509         appended ...
37510         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
37511         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37512         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
37513         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
37514         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
37515         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
37516         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
37517         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
37518         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
37519         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
37520         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
37521         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
37522         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
37523         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
37524         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
37525         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
37526         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
37527         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
37528         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
37529         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
37530         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
37531         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
37532         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
37533         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
37534         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
37535         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
37536         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
37537         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
37538         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
37539         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
37540         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
37541         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
37542         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
37543         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
37544         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
37545         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
37546         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
37547         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
37548         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
37549         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
37550         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
37551         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
37552         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
37553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
37554         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
37555         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
37556         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
37557         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
37558         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
37559         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
37560         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
37561         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
37562         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
37563         Update #include.
37564         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
37565         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
37567 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37569         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
37570         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
37571         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
37572         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
37573         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
37574         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
37576 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37578         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
37579         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
37580         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37581         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
37583 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37585         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
37586         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
37587         (__libc_vfork): Define function under this name.
37588         (__vfork): Define as an alias.
37589         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
37590         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
37592 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37594         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
37595         that was previously under [RESET_PID].
37596         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
37598 2014-08-04  Andreas Schwab  <schwab@suse.de>
37600         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
37602 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
37604         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
37605         (main): Likewise.
37607 2014-08-01  Roland McGrath  <roland@hack.frob.com>
37609         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
37611 2014-08-01  Richard Henderon  <rth@redhat.com>
37613         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
37614         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
37615         typo in exact zero test.
37616         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37617         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37620 2014-08-01  Roland McGrath  <roland@hack.frob.com>
37622         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
37623         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
37624         * sysdeps/arm/sysdep.h: ... here.
37625         [!__ASSEMBLER__]: Include <stdint.h>.
37627 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37629         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
37630         (HAVE_WCTYPE_H): Likewise.
37631         (HAVE_ISWCTYPE): Likewise.
37632         (ENABLE_NLS): Likewise.
37633         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
37634         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
37636         * posix/regex_internal.c: Check if DEBUG is defined and is
37637         set.
37639         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
37640         (HAVE_MBSRTOWCS): Likewise.
37641         * posix/fnmatch.c: Include string.h unconditionally.
37643 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37645         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
37646         reversal.
37648 2014-07-31  Roland McGrath  <roland@hack.frob.com>
37650         * sysdeps/generic/safe-fatal.h: New file.
37651         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
37652         * nptl/forward.c: Include it.
37653         (__pthread_unwind): Use __safe_fatal as default action, rather
37654         than a bogus use of INTERNAL_SYSCALL that could never work.
37656         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
37657         * configure.ac (libc_cv_builtin_trap): New test.
37658         * configure: Regenerated.
37659         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
37660         (ABORT_INSTRUCTION): Define using __builtin_trap.
37662         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
37663         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
37664         * sysdeps/nptl/nptl-signals.h: New file.
37665         * nptl/pthreadP.h: Include <nptl-signals.h>.
37667 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
37669         * sysdeps/s390/s390-64/utf16-utf32-z9.c
37670         (ONE_DIRECTION): Define.
37671         * sysdeps/s390/s390-64/utf8-utf16-z9.c
37672         (ONE_DIRECTION): Define.
37673         * sysdeps/s390/s390-64/utf8-utf32-z9.c
37674         (ONE_DIRECTION): Define.
37676 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
37678         * sysdeps/s390/Makefile: Delete file.
37679         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
37680         * sysdeps/s390/__longjmp.c: Delete file.
37681         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
37682         Remove fields __flags and __reserved.
37683         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
37684         and add versioning.
37685         * sysdeps/s390/rtld-__longjmp.c: Delete file.
37686         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
37687         * sysdeps/s390/rtld-setjmp.S: Likewise.
37688         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
37689         * sysdeps/s390/s390-32/__longjmp.c: ... here.
37690         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
37691         * sysdeps/s390/s390-32/setjmp.S: ... here.
37692         Add versioning.
37693         (__sigsetjmp): Remove setting __flags field.
37694         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
37695         * sysdeps/s390/s390-64/__longjmp.c: ... here.
37696         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
37697         * sysdeps/s390/s390-64/setjmp.S: ... here.
37698         Add versioning.
37699         (__sigsetjmp): Remove setting __flags field.
37700         * sysdeps/s390/setjmp.S: Delete file.
37701         * sysdeps/s390/sigjmp.c: Likewise.
37702         * sysdeps/s390/v1-longjmp.c: Likewise.
37703         * sysdeps/s390/v1-setjmp.h: Likewise.
37704         * sysdeps/s390/v1-sigjmp.c: Likewise.
37705         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
37706         Remove v1-longjmp_chk.
37707         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
37708         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
37709         Include debug/longjmp_chk.c and add versioning.
37710         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
37711         Include nptl/pt-longjmp.c and add versioning.
37712         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
37713         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
37714         Include __longjmp.c.
37715         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37716         Move to ...
37717         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
37718         (__getcontext): Remove setting __flags field.
37719         Add versioning.
37720         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37721         Don't restore upper high grps.
37722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
37723         Likewise.
37724         (__swapcontext): Remove setting uc_flags field.
37725         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
37726         Delete file.
37727         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37728         Include __longjmp.c.
37729         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37730         Move to ...
37731         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
37732         (__getcontext): Remove setting __flags field.
37733         Add versioning.
37734         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
37735         (__swapcontext): Remove setting uc_flags field.
37736         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
37737         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
37738         Remove fields uc_high_gprs and __reserved.
37739         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
37740         New file with reverted content.
37741         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
37742         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
37743         Regenerated.
37744         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
37745         Regenerated.
37747 2014-07-31  Andreas Schwab  <schwab@suse.de>
37749         * config.h.in (HAVE_IFUNC): Define to 0.
37750         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
37751         definedness.
37753 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
37755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37756         memmove-avx-unaligned, memcpy-avx-unaligned and
37757         mempcpy-avx-unaligned.
37758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37759         Add tests for AVX memcpy functions.
37760         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
37761         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
37762         memcpy_chk.
37763         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
37764         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
37765         memmove_chk.
37766         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
37767         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
37768         mempcpy_chk.
37769         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
37770         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
37771         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
37773 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37775         [BZ #17213]
37776         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
37777         powerpc64le.
37779 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
37781         [BZ #16839]
37782         * manual/llio.texi: Add section about open file description locks.
37783         * manual/examples/ofdlocks.c: Example of open file description
37784         lock usage.
37785         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
37786         F_OFD_SETLK, and F_OFD_SETLKW.
37788 2014-07-23  Allan McRae  <allan@archlinux.org>
37790         * po/es.po: Update Spanish translation from translation project.
37792 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
37794         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
37796 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
37798         [BZ #17078]
37799         * sysdeps/arm/dl-machine.h (elf_machine_rela)
37800         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
37801         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
37803 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
37805         [BZ #17088]
37806         * math/fesetenv.c (__fesetenv)
37807         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
37808         * math/feupdateenv.c (__feupdateenv)
37809         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
37811         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
37812         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37813         (__ASSUME_SOCKETCALL): Do not define.
37815         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
37816         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
37817         (__ASSUME_SOCKETCALL): Do not define.
37818         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
37819         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37820         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37821         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37822         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37823         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
37824         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37825         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37827         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
37828         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
37829         (__ASSUME_SOCKETCALL): Do not define.
37830         (__ASSUME_IPC64): Define unconditionally.
37831         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37832         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37833         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37835         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
37836         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37837         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
37838         Likewise.
37840         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
37841         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
37842         (__ASSUME_SOCKETCALL): Do not define.
37843         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
37844         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37845         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37846         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37847         (__ASSUME_REQUEUE_PI): Define unconditionally.
37848         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
37849         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
37850         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37851         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
37852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37853         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37855         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
37856         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
37857         (__ASSUME_SOCKETCALL): Do not define.
37858         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
37859         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37860         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37861         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
37862         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37863         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37865         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
37866         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
37867         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37868         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
37869         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37870         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
37871         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37872         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
37873         (__ASSUME_GETCPU_SYSCALL): Likewise.
37875         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
37876         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
37877         cases for individual architectures.
37878         * sysdeps/gnu/configure: Regenerated.
37879         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
37880         LIBC_SLIBDIR_RTLDDIR.
37881         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
37882         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
37883         LIBC_SLIBDIR_RTLDDIR.
37884         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
37885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
37886         LIBC_SLIBDIR_RTLDDIR.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37888         Regenerated.
37889         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
37890         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
37891         file.
37892         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
37893         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
37894         file.
37895         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
37896         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
37897         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
37898         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
37900         * sysdeps/aarch64/shlib-versions: Move to ...
37901         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
37902         * sysdeps/alpha/shlib-versions: Move to ...
37903         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
37904         * sysdeps/arm/shlib-versions: Move to ...
37905         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
37906         * sysdeps/hppa/shlib-versions: Move all contents except for
37907         libgcc_s entry to ...
37908         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
37909         entry from ...
37910         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
37911         * sysdeps/ia64/shlib-versions: Move to ...
37912         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
37913         entry from ...
37914         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
37915         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
37916         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
37917         * sysdeps/microblaze/shlib-versions: Move to ...
37918         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
37919         * sysdeps/mips/shlib-versions: Move to ...
37920         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
37921         entry from ...
37922         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
37923         * sysdeps/tile/shlib-versions: Move to ...
37924         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
37925         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
37926         from ...
37927         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
37928         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
37929         entry from ...
37930         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
37932 2014-07-17  Will Newton  <will.newton@linaro.org>
37934         * sysdeps/arm/bits/atomic.h
37935         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
37936         (__arch_compare_and_exchange_bool_16_int): Likewise.
37937         (__arch_compare_and_exchange_bool_64_int): Likewise.
37939         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
37940         into an #else block.
37942 2014-07-16  Roland McGrath  <roland@hack.frob.com>
37944         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
37945         just Linux configurations.  Test empirically that the compiler sets
37946         __ARM_EABI__, rather than using the tuple to decide.
37947         * sysdeps/arm/preconfigure: Regenerated.
37948         * sysdeps/unix/sysv/linux/arm/configure: File removed.
37949         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
37950         contents appended ...
37951         * sysdeps/arm/configure.ac: ... here.
37952         * sysdeps/arm/configure: Regenerated.
37954 2014-07-15  Roland McGrath  <roland@hack.frob.com>
37956         * nptl/pthread_kill.c: New file.
37957         * nptl/pthread_sigmask.c: New file.
37958         * nptl/pthread_sigqueue.c: New file.
37960         * sysdeps/nptl/lowlevellock.h: New file.
37961         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
37962         * sysdeps/nptl/lowlevellock-futex.h: New file.
37964         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
37965         Remove dead declarations.
37967 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
37969         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
37970         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
37971         config-cflags-avx2.
37972         * sysdeps/x86_64/configure.ac: Likewise.
37973         * sysdeps/i386/configure: Regenerated.
37974         * sysdeps/x86_64/configure: Likewise.
37975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37976         memset-avx2 only if config-cflags-avx2 is yes.
37977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37978         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
37979         defined.
37980         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
37981         only if HAVE_AVX2_SUPPORT is defined.
37982         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37984 2014-07-14  Alan Modra  <amodra@gmail.com>
37986         [BZ #17153]
37987         * elf/elf.h (DT_PPC64_NUM): Correct value.
37988         * NEWS: Add to fixed bug list.
37990 2014-07-13  Jim Meyering  <meyering@fb.com>
37992         [BZ 17150]
37993         regex: don't deref NULL upon heap allocation failure
37994         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
37995         failure in one more place.
37996         To trigger the segfault, configure grep -with-included-regex,
37997         build it, and run these commands:
37998         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38000 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38002         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38004 2014-07-11  Richard Henderson  <rth@redhat.com>
38006         * sysdeps/aarch64/libm-test-ulps: Update.
38008 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38010         [BZ #17135]
38011         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38012         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38013         (__nptl_setxid): Initialize error member.  Call
38014         __nptl_setxid_error.
38015         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38016         * nptl/descr.h (struct xid_command): Add error member.
38017         * nptl/tst-setuid3.c: New file.
38018         * nptl/Makefile (tests): Add it.
38020 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38023         New define.
38024         (__lll_trylock): Use __lll_base_trylock.
38025         (__lll_cond_trylock): Likewise.
38027 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38029         * nptl/pthread_create.c (start_thread): Use atomic_or and
38030         lll_futex_wake directly rather than lll_robust_dead.
38031         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38032         (lll_robust_dead): Macro removed.
38033         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38034         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38035         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38036         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38037         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38038         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38039         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38040         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38041         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38042         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38043         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38044         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38046         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38047         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38049         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38050         Use atomic_compare_and_exchange_val_acq directly rather than
38051         lll_robust_trylock.
38052         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38053         (__lll_robust_trylock, lll_robust_trylock): Removed.
38054         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38055         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38056         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38057         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38058         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38059         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38060         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38061         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38062         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38063         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38064         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38065         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38066         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38067         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38069 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38071         * manual/locale.texi (Locale Names): New section documenting
38072         locale name syntax.  Adjust menu and node chaining accordingly.
38073         (Choosing Locale): Reference Locale Names, Locale Categories.
38074         Mention setting LC_ALL=C.  Reflect that name syntax is now
38075         documented.
38076         (Locale Categories): New section title.  Reference Locale Names.
38077         LC_ALL is an environment variable, but not a category.
38078         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38079         description, now in Locale Name.  Reference that section.  Locale
38080         name syntax is now documented.
38082 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38084         [BZ #17137]
38085         * locale/findlocale.c (name_present, valid_locale_name): New
38086         functions.
38087         (_nl_find_locale): Use the loc_name variable to store name
38088         candidates.  Call name_present and valid_locale_name to check and
38089         validate locale names.  Return an error if the locale is invalid.
38091 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38093         * locale/setlocale.c (setlocale): Use strdup for allocating
38094         composite name copy.
38096 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38098         Sync up with gnulib.
38099         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38100         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38101         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38102         and _GL_ARG_NONNULL.
38103         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38104         [!_LIBC]: Include code for Windows and Cygwin.
38105         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38106         Include prototype for int strerror_r.
38107         [!_LIBC] (is_open): New function.
38108         (flush_stdout): New function.
38109         (print_errno_message): Use it.
38110         (error): Likewise.
38111         (error_at_line): Likewise.
38112         (error_tail) Add function attribute macros.  Use
38113         __builtin_expect.
38115         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38117         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38119         * io/ftw.c: Include sys/param.h unconditionally.
38121         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38123         [BZ #17125]
38124         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38125         libc_freeres_ptr.
38126         (freecache): New function to free CACHE on exit.
38128         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38129         initialization.
38131 2014-07-09  David S. Miller  <davem@davemloft.net>
38133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38135         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38136         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38137         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38138         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38139         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38140         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38141         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38142         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38143         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38144         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38145         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38146         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38147         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38149 2014-07-09  Andreas Schwab  <schwab@suse.de>
38151         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38152         output.
38153         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38154         (do_test): Likewise.
38156         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38158 2014-07-09  Will Newton  <will.newton@linaro.org>
38160         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38161         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38162         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38163         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38164         * sysdeps/hppa/start.S (_start): Likewise.
38166 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38168         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38170         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38171         defined.
38173 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38175         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38176         after checking that it is non-NULL.
38178         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38180 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38182         * sysdeps/powerpc/memmove.c: Remove file.
38183         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38184         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38185         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38186         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38187         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38188         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38189         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38190         string memmove instead of removed powerpc one.
38192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38193         [weak_alias]: Fix compiler warning due trailing data.
38194         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38195         [weak_alias]: Likewise.
38196         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38197         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38200         (__libc_ifunc_impl_list): Add memmove functions.
38202 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38204         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38205         Remove code.
38206         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38207         Likewise.
38208         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38209         Likewise.
38210         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38211         Likewise.
38212         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38213         Likewise.
38214         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38215         Likewise.
38216         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38217         Likewise.
38218         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38219         Likewise.
38220         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38221         Likewise.
38222         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38223         Likewise.
38224         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38225         Likewise.
38226         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38227         Likewise.
38228         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38229         Likewise.
38230         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38231         Likewise.
38232         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38233         Likewise.
38234         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38235         Likewise.
38236         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38237         Likewise.
38239 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38241         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38242         to avoid alignment traps in non-cacheable memory.
38243         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38246         multiarch objects.
38247         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38248         file: multiarch power7 memmove.
38249         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38250         multiarch default memmove.
38251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38252         multiarch memove for powerpc32/power4.
38254         * string/bcopy.c: Use full path to include memmove.c.
38255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38256         multiarch objects.
38257         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38258         bcopy for powerpc64.
38259         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38260         bcopy for powerpc64.
38261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38262         and memmove implementations.
38263         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38264         optimized multiarch memmove for POWER7/powerpc64.
38265         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38266         default multiarch memmove for powerpc64.
38267         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38268         multiarch for powerpc64.
38269         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38270         for POWER7/powerpc64.
38271         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38272         memmove for POWER7/powerpc64.
38274         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38275         glibc default one.
38277         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38278         __ELF_NATIVE_CLASS equal to 64.
38280 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38282         * sysdeps/nptl/lowlevellock.h: File removed.
38284         * NEWS: NPTL is no longer an add-on!
38285         * nptl/internaltypes.h: Moved ...
38286         * sysdeps/nptl/internaltypes.h: ... here.
38287         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38288         * sysdeps/nptl/fork.c: Likewise.
38289         * sysdeps/nptl/gai_misc.h: Likewise.
38290         * sysdeps/nptl/librt-cancellation.c: Likewise.
38291         * sysdeps/nptl/jmp-unwind.c: Likewise.
38292         * sysdeps/nptl/setxid.h: Likewise.
38293         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38294         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38295         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38296         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38297         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38298         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38299         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38300         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38301         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38302         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38303         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38304         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38305         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38306         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38307         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38308         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38309         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38310         * nptl/Makeconfig: Moved ...
38311         * sysdeps/nptl/Makeconfig: ... here.
38312         * nptl/configure: File removed.
38313         * nptl/ANNOUNCE: File removed.
38314         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38315         * sysdeps/unix/sysv/linux/configure: Regenerated.
38317         * nptl/Makefile (routines): Add libc_pthread_init,
38318         libc_multiple_threads, register-atfork and unregister-atfork.
38319         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38320         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38321         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38322         pthread-pi-defines.sym, structsem.sym.
38323         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38324         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38325         [$(subdir) = nptl] (tests): Add tst-setgetname.
38326         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38327         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38328         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38329         [!LIBC_SIGACTION]: Remove aliases.
38330         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38331         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38332         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38333         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38334         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38335         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38336         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38337         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38338         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38339         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38340         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38341         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38342         __libc_allocate_rtsig_private.
38343         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38344         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38345         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38346         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38347         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38348         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38349         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38350         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38351         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38352         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38353         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38354         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38355         * nptl/internaltypes.h: ... here.
38356         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38357         * sysdeps/nptl/jmp-unwind.c: ... here.
38358         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
38359         * nptl/libc-lowlevellock.c: ... here.
38360         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
38361         * nptl/libc_multiple_threads.c: ... here.
38362         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
38363         * nptl/libc_pthread_init.c: ... here.
38364         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
38365         * nptl/lowlevelbarrier.sym: ... here.
38366         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
38367         * nptl/lowlevelcond.sym: ... here.
38368         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
38369         * nptl/lowlevellock.c: ... here.
38370         * nptl/lowlevellock.h: Moved ...
38371         * sysdeps/nptl/lowlevellock.h: ... here.
38372         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
38373         * nptl/lowlevelrobustlock.c: ... here.
38374         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
38375         * nptl/lowlevelrobustlock.sym: ... here.
38376         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
38377         * nptl/lowlevelrwlock.sym: ... here.
38378         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
38379         * nptl/pt-fork.c: ... here.
38380         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
38381         * nptl/pthread-pi-defines.sym: ... here.
38382         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
38383         * nptl/pthread_attr_getaffinity.c: ... here.
38384         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
38385         * nptl/pthread_attr_setaffinity.c: ... here.
38386         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
38387         * nptl/pthread_mutex_cond_lock.c: ... here.
38388         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38389         Update #include.
38390         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
38391         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
38392         * nptl/pthread_once.c: ... here, replacing old file.
38393         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
38394         * nptl/pthread_yield.c: ... here.
38395         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
38396         * nptl/register-atfork.c: ... here.
38397         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
38398         * nptl/sem_post.c: ... here.
38399         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
38400         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
38401         * nptl/sem_timedwait.c: ... here.
38402         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
38403         * nptl/sem_trywait.c: ... here.
38404         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
38405         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
38406         * nptl/sem_wait.c: ... here.
38407         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
38408         * nptl/structsem.sym: ... here.
38409         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
38410         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
38411         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
38412         * nptl/unregister-atfork.c: ... here.
38413         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
38414         * nptl/unwindbuf.sym: ... here.
38415         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
38416         * sysdeps/nptl/fork.c: ... here.
38417         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
38418         * sysdeps/nptl/fork.h: ... here.
38419         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
38420         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
38421         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
38422         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
38423         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
38424         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
38425         * sysdeps/unix/sysv/linux/getpid.c: ... here.
38426         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
38427         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
38428         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
38429         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
38430         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
38431         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
38432         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
38433         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
38434         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
38435         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
38436         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
38437         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
38438         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
38439         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
38440         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
38441         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
38442         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
38443         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
38444         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
38445         * sysdeps/unix/sysv/linux/raise.c: ... here.
38446         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
38447         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
38448         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
38449         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
38450         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
38451         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
38452         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
38453         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
38454         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
38455         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
38456         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
38457         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
38458         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
38459         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
38460         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
38462 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38464         * sysdeps/generic/memcopy.h: Add comment for
38465         MEMCPY_OK_FOR_FWD_MEMMOVE.
38467 2014-07-04  Will Newton  <will.newton@linaro.org>
38469         * string/memchr.c: Merge from gnulib.
38470         [_LIBC]: Remove conditionals.
38471         (__ptr_t): Remove define.
38472         (LONG_MAX_32_BITS): Likewise.
38473         (LONG_MAX): Likewise.
38474         (MEMCHR): Use ANSI prototype and optimize algorithm.
38476         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
38478 2014-07-03  Roland McGrath  <roland@hack.frob.com>
38480         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
38481         (lll_futex_timed_wait_bitset): Fix syscall argument count.
38483         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
38484         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
38485         in a bare environment with no <stdlib.h> installed.
38486         * sysdeps/nptl/configure: Regenerated.
38488         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
38490         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
38491         AC_EGREP_CPP for kernel header checks, so they only succeed if
38492         including <linux/version.h> actually works right.
38493         * sysdeps/unix/sysv/linux/configure: Regenerated.
38495         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
38496         value so it's not diagnosed as unused.
38498         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
38499         thing) with "ifeq ($(subdir),rt)".
38501 2014-07-03  Richard Henderson  <rth@redhat.com>
38503         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
38504         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
38505         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
38507         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
38508         (math_force_eval): New.
38510         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
38511         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
38513         * sysdeps/alpha/fpu/s_round.c: Remove file.
38514         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
38516         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
38517         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
38518         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
38519         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
38520         (_dl_start, print_statistics): Likewise.
38521         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
38522         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
38524         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38525         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38526         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38527         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38528         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38529         (HP_SMALL_TIMING_AVAIL): Define.
38530         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38531         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38532         (HP_SMALL_TIMING_AVAIL): Define.
38533         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38534         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38536         * sysdeps/aarch64/hp-timing.h: New file.
38538         * sysdeps/generic/hp-timing.h: Remove dead comment.
38539         * sysdeps/generic/hp-timing-common.h: New file.
38540         * sysdeps/alpha/hp-timing.h: Include it.
38541         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
38542         * sysdeps/i386/i686/hp-timing.h: Likewise.
38543         * sysdeps/ia64/hp-timing.h: Likewise.
38544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38545         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38546         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38547         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38548         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
38549         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
38550         (hp_timing_t): New.
38552         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
38553         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
38554         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
38555         * elf/rtld.c (_dl_start_final): Likewise.
38556         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
38557         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38558         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38559         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38560         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38561         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38562         (HP_TIMING_DIFF_INIT): Remove.
38563         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38564         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38565         (HP_TIMING_DIFF_INIT): Remove.
38566         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38567         * sysdeps/i386/i686/hp-timing.c: Remove file.
38568         * sysdeps/x86_64/hp-timing.c: Remove file.
38569         * sysdeps/ia64/hp-timing.c: Remove file.
38570         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
38571         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
38572         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
38573         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
38575         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
38576         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
38577         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
38578         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38579         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38580         (HP_TIMING_ACCUM): Remove.
38581         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38582         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
38583         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38585         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
38586         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
38587         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
38588         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
38589         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
38590         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38591         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
38592         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38594         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
38596 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
38598         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
38600 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38602         Sync up with gettext.
38603         * intl/loadmsgcat.c: Define O_BINARY if not defined.
38604         [_MSC_VER]: Include malloc.h
38605         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
38606         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
38607         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
38608         TEMP_FAILURE_RETRY.  Cast return of alloca.
38609         [!_LIBC] Call gl_rwlock_init.
38610         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
38612 2014-07-02  Roland McGrath  <roland@hack.frob.com>
38614         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
38615         before checking its value.
38617 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38619         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
38621         * debug/memcpy_chk.c: Don't include pagecopy.h.
38622         * debug/mempcpy_chk.c: Likewise.
38623         * string/memcpy.c: Likewise.
38624         * string/memmove.c: Likewise.
38625         * sysdeps/powerpc/memmove.c: Likewise.
38626         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
38627         definition of PAGE_COPY_FWD_MAYBE here...
38628         * sysdeps/generic/pagecopy.h: ... from here.
38629         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
38631 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38632             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38634         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
38635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
38636         optimizations.
38637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38638         (__libc_ifunc_impl_list): Likewise.
38639         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
38640         multiarch strcat for PPC64.
38641         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
38642         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
38644 2014-07-02  Roland McGrath  <roland@hack.frob.com>
38646         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
38648 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38650         * intl/loadmsgcat.c: Remove declaration of
38651         get_sysdep_segment_value.
38652         (get_sysdep_segment_value): Use ISO C style.
38653         (_nl_load_domain): Use ISO C style.  Get rid of redundant
38654         semicolon.  Fix typo and formatting in comment.
38655         (_nl_unload_domain): Use ISO C style.
38657         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
38659 2014-07-02  Will Newton  <will.newton@linaro.org>
38661         * malloc/obstack.c: Merge from gnulib master.
38662         [HAVE_CONFIG_H]: Remove conditional code.
38663         [!_LIBC]: Include config.h.
38664         [!ELIDE_CODE]: Don't include inttypes.h, include
38665         stdint.h unconditionally.
38666         (print_and_abort): Mark as _Noreturn.
38667         (_obstack_allocated_p): Mark as __attribute_pure__.
38668         (obstack_free): Rename to __obstack_free.
38669         [!__attribute__]: Remove conditional code.
38670         * malloc/obstack.h: Merge from gnulib master.
38671         [__cplusplus]: Move conditional down.
38672         [!__attribute_pure__]: Define __attribute_pure__ here
38673         if it is not already defined.
38674         (_obstack_memory_used): Mark as __attribute_pure__.
38675         [!__obstack_free]: Define as obstack_free.
38676         [__GNUC__]: Remove check for ancient NeXT gcc.
38678 2014-07-02  Will Newton  <will.newton@linaro.org>
38679             Paul Eggert  <eggert@cs.ucla.edu>
38681         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
38683 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38685         * resolv/gethnamaddr.c: Add comment warning that the file is
38686         not maintained.
38688 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
38690         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
38691         entries.
38693         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
38694         entry for aio_cancel and aio_cancel64.
38695         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
38696         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
38697         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
38698         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
38699         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
38700         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
38701         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
38702         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
38703         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
38704         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
38705         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
38706         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
38707         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
38709 2014-07-01  Roland McGrath  <roland@hack.frob.com>
38711         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
38712         * nptl/pthread_mutex_lock.c: Likewise.
38713         * nptl/pthread_mutex_timedlock.c: Likewise.
38714         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
38716 2014-07-01  Richard henderson  <rth@redhat.com>
38718         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
38719         (__isnan, __isnanl): Remove.
38720         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
38722         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38724 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38726         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38728 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38730         * resolv/nss_dns/dns-host.c (getanswer_r)
38731         [MULTI_PTRS_ARE_ALIASES]: Remove code.
38733 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
38735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38736         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
38737         undefine.
38738         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
38739         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
38741 2014-07-01  Roland McGrath <roland@hack.frob.com>
38743         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
38744         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
38746         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
38747         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
38749         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
38750         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
38751         ... here.
38752         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
38753         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
38755         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
38756         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
38757         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
38758         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
38760         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
38761         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
38762         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
38763         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
38764         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
38765         Moved ...
38766         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
38767         ... here.
38768         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
38769         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
38770         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
38771         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
38772         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
38773         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
38774         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
38775         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
38776         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
38777         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
38778         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
38779         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
38780         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
38781         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
38782         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
38783         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
38784         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
38785         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
38786         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
38787         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
38788         ... here.
38789         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
38790         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
38791         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
38792         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
38793         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
38794         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
38795         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
38796         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
38798 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
38800         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
38801         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
38802         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
38803         Add sysdep.
38805 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38809 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
38811         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
38812         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38814         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38816         * sysdeps/arm/libm-test-ulps: Regenerated.
38818 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
38819             Roland McGrath <roland@hack.frob.com>
38821         * test-skeleton.c (signal_handler): Kill the whole process group
38822         before killing the child individually.
38823         (main): Report any failure on `setpgid'.
38825 2014-06-30  Roland McGrath  <roland@hack.frob.com>
38827         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
38828         from _TLS_H to _ARM_NPTL_TLS_H.
38829         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
38830         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
38832 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
38834         [BZ #16539]
38835         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
38836         (__expm1l): Return argument unchanged when small but not
38837         subnormal.
38839         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
38840         include macro name.
38841         (_FP_UNPACK_RAW_1_P): Likewise.
38842         (_FP_PACK_RAW_1): Likewise.
38843         (_FP_PACK_RAW_1_P): Likewise.
38844         (_FP_MUL_MEAT_1_wide): Likewise.
38845         (_FP_MUL_MEAT_DW_1_hard): Likewise.
38846         (_FP_MUL_MEAT_1_hard): Likewise.
38847         (_FP_DIV_MEAT_1_imm): Likewise.
38848         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
38849         (_FP_DIV_MEAT_1_udiv): Likewise.
38850         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
38851         (_FP_UNPACK_RAW_2): Likewise.
38852         (_FP_UNPACK_RAW_2_P): Likewise.
38853         (_FP_PACK_RAW_2): Likewise.
38854         (_FP_PACK_RAW_2_P): Likewise.
38855         (_FP_MUL_MEAT_DW_2_wide): Likewise.
38856         (_FP_MUL_MEAT_2_wide): Likewise.
38857         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
38858         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38859         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
38860         (_FP_MUL_MEAT_2_gmp): Likewise.
38861         (_FP_DIV_MEAT_2_udiv): Likewise.
38862         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
38863         (_FP_FRAC_SRL_4): Likewise.
38864         (_FP_FRAC_SRST_4): Likewise.
38865         (_FP_FRAC_SRS_4): Likewise.
38866         (_FP_UNPACK_RAW_4): Likewise.
38867         (_FP_UNPACK_RAW_4_P): Likewise.
38868         (_FP_PACK_RAW_4): Likewise.
38869         (_FP_PACK_RAW_4_P): Likewise.
38870         (_FP_MUL_MEAT_DW_4_wide): Likewise.
38871         (_FP_MUL_MEAT_4_wide): Likewise.
38872         (_FP_MUL_MEAT_4_gmp): Likewise.
38873         (umul_ppppmnnn): Likewise.
38874         (_FP_DIV_MEAT_4_udiv): Likewise.
38875         (__FP_FRAC_ADD_4): Likewise.
38876         (__FP_FRAC_SUB_3): Likewise.
38877         (__FP_FRAC_SUB_4): Likewise.
38878         (__FP_FRAC_DEC_3): Likewise.
38879         (__FP_FRAC_DEC_4): Likewise.
38880         (__FP_FRAC_ADDI_4): Likewise.
38881         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
38882         (_FP_FRAC_SRL_8): Likewise.
38883         (_FP_FRAC_SRS_8): Likewise.
38885         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
38886         include macro name.
38887         (FP_UNPACK_RAW_EP): Likewise.
38888         (FP_PACK_RAW_E): Likewise.
38889         (FP_PACK_RAW_EP): Likewise.
38890         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
38891         (_FP_ISSIGNAN): Likewise.
38892         (_FP_ADD_INTERNAL): Likewise.
38893         (_FP_FMA): Likewise.
38894         (_FP_CMP): Likewise.
38895         (_FP_SQRT): Likewise.
38896         (_FP_TO_INT): Likewise.
38897         (_FP_FROM_INT): Likewise.
38898         (FP_EXTEND): Likewise.
38899         (_FP_DIV_MEAT_N_loop): Likewise.
38901 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
38903         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
38904         throughout.
38906 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
38908         [BZ #17097]
38909         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
38910         result with correct sign in case of exponents that produce
38911         overflow except for X very close to 1.
38913 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
38915         mktime: merge #if/#ifdef usage from glibc
38916         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
38917         as that works with both Glibc's and Gnulib's style.
38918         See thread starting at Siddhesh Poyarekar's bug report at:
38919         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
38921 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38923         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
38924         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
38925         * sysdeps/tile/tilegx/memmove.c: Remove file.
38927 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
38929         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
38930         abi-name definition.
38931         * scripts/soversions.awk: Do not handle or generate ABI lines.
38932         * shlib-versions: Remove ABI entries.
38933         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
38934         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
38936 2014-06-27  Roland McGrath  <roland@hack.frob.com>
38938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
38939         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
38940         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
38941         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
38942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
38943         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
38944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
38945         Moved ...
38946         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
38947         ... here.
38948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
38949         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
38950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
38951         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
38952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
38953         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
38954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
38955         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
38956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
38957         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
38958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
38959         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
38960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
38961         Moved ...
38962         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
38963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
38964         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
38965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
38966         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
38967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
38968         Moved ...
38969         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
38970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
38971         Moved ...
38972         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
38973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
38974         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
38975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
38976         Moved ...
38977         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
38978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
38979         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
38980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
38981         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
38982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
38983         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
38984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
38985         Moved ...
38986         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
38987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
38988         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
38989         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
38990         Moved ...
38991         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
38992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
38993         Moved ...
38994         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
38995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
38996         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
38997         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
38998         Moved ...
38999         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39000         ... here.
39001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39002         Identical file removed.
39003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39004         Moved ...
39005         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39007         Identical file removed.
39008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39009         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39011         Moved ...
39012         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39013         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39014         Identical file removed.
39015         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39016         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39017         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39018         Identical file removed.
39019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39020         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39021         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39022         Identical file removed.
39023         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39024         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39026         Identical file removed.
39027         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39028         Moved ...
39029         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39030         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39031         Identical file removed.
39032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39033         Moved ...
39034         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39035         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39036         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39038         Identical file removed.
39039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39040         Moved ...
39041         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39042         ... here.
39043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39044         Identical file removed.
39045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39046         Moved ...
39047         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39049         Identical file removed.
39050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39051         Moved ...
39052         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39054         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39056         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39057         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39058         Moved ...
39059         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39060         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39061         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39063         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39064         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39065         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39066         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39067         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39069 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39071         [BZ #17092]
39072         * nscd/nscd.c (monitor_child): Return exit status of child
39073         instead of return value from wait syscall.
39075 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39077         * configure.ac (libc_commonpagesize): Remove variable.
39078         (libc_relro_required): Likewise.
39079         (libc_cv_z_relro): Remove configure test.
39080         * configure: Regenerated.
39081         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39082         variable.
39083         (libc_relro_required): Likewise.
39084         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39085         (libc_relro_required): Likewise.
39086         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39087         (libc_relro_required): Likewise.
39088         * sysdeps/arm/preconfigure: Regenerated.
39089         * sysdeps/ia64/preconfigure: Remove file.
39090         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39091         variable.
39092         (libc_relro_required): Likewise.
39094         [BZ #16561]
39095         [BZ #16562]
39096         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39097         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39098         recompute overflowing results in original rounding mode.
39099         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39100         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39101         recompute overflowing results in original rounding mode.
39102         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39103         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39104         recompute overflowing results in original rounding mode.
39105         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39106         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39107         recompute overflowing results in original rounding mode.
39108         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39109         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39110         recompute overflowing results in original rounding mode.
39111         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39112         (libc_feholdsetround_ctx): New macro.
39113         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39114         * sysdeps/i386/fpu/libm-test-ulps: Update.
39115         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39117 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39119         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39120         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39121         corresponding .cpsetup call.
39123 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39125         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39126         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39127         * sysdeps/arm/Makefile [$(subdir) = csu]
39128         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39129         (static-only-routines): Add aeabi_read_tp here.
39130         (shared-only-routines): Add libc-aeabi_read_tp here.
39131         (CFLAGS-libc-start.c): Add -fexceptions here.
39132         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39133         (sysdep_routines, static-only-routines, shared-only-routines):
39134         Don't add to these here.
39135         (CFLAGS-libc-start.c): Likewise.
39137         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39138         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39139         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39140         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39141         * sysdeps/arm/Makefile [$(subdir) = rt]
39142         (librt-sysdep_routines, librt-shared-only-routines):
39143         Append rt-aeabi_unwind_cpp_pr1 here.
39144         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39145         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39146         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39147         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39148         Append nptl-aeabi_unwind_cpp_pr1 here.
39149         (tests): Filter out tst-cleanupx4 here.
39150         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39151         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39152         Don't do those here.
39154 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39156         * scripts/list-sources.sh: Do not handle ports specially.
39158 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39160         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39161         * sysdeps/arm/feupdateenv.c: Likewise.
39163         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39165 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39167         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39168         trailing whitespace removed.
39169         * scripts/config.guess: Update to version 2014-03-23.
39170         * scripts/config.sub: Update to version 2014-05-01
39171         * scripts/install-sh: Update to version 2013-12-25.23.
39172         * scripts/move-if-change: Update from gnulib.
39174 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39176         * debug/memmove_chk.c: Remove pagecopy.h include.
39178 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39180         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39181         identical to gnulib mktime.
39183 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39185         * configure.ac: Do not test for machine being rs6000.  Do not test
39186         for powerpc*-*soft.
39187         * configure: Regenerated.
39189         [BZ #11505]
39190         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39191         test.
39192         * configure: Regenerated.
39193         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39194         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39195         Remove configure test.
39196         * sysdeps/arm/configure: Regenerated.
39197         * sysdeps/nptl/configure.ac: Do not check
39198         libc_cv_asm_cfi_directives.
39199         * sysdeps/nptl/configure: Regenerated.
39200         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39201         * sysdeps/x86_64/nptl/configure: Remove generated file.
39202         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39203         unconditional.
39204         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39206 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39208         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39209         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39210         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39211         it is defined.
39213         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39214         instead of whether it is defined.
39215         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39216         * sysdeps/hppa/dl-machine.h: Likewise.
39217         * sysdeps/ia64/dl-machine.h: Likewise.
39218         * sysdeps/m68k/dl-machine.h: Likewise.
39219         * sysdeps/microblaze/dl-machine.h: Likewise.
39220         * sysdeps/mips/dl-machine.: Likewise.
39221         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39222         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39223         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39224         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39225         * sysdeps/sh/dl-machine.h: Likewise.
39226         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39227         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39228         * sysdeps/tile/dl-machine.h: Likewise.
39229         * sysdeps/x86_64/dl-machine.h: Likewise.
39231         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39232         code.
39233         (verify_persistent_db): Likewise.
39235 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39238         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39240         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39242         Moved ...
39243         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39244         ... here.
39245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39246         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39248         Identical file removed.
39249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39250         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39252         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39254         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39256         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39258         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39260         Moved ...
39261         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39263         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39265         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39267         Moved ...
39268         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39270         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39272         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39274         Identical file removed.
39275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39276         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39278         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39280         Moved ...
39281         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39282         ... here.
39283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39284         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39286         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39288         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39290         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39292         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39294         Moved ...
39295         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39297         Moved ...
39298         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39300         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39302         Moved ...
39303         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39305         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39307         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39308         folded into ...
39309         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39310         * sysdeps/unix/sysv/linux/s390/Versions
39311         (libpthread: GLIBC_2.19): New version set.
39312         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39313         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39314         (librt: GLIBC_2.3.3): New version set.
39315         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39316         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39317         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39318         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39319         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39320         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39321         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39322         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39323         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39324         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39325         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39326         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39327         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39328         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39329         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39330         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39331         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39332         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39333         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39334         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39335         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39336         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39337         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39338         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39339         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39340         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39341         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39342         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39343         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39344         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39345         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39349         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39351         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39353         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39355         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39357         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
39358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
39359         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
39361         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
39362         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
39363         (__libc_vfork): Define the function under this name.
39364         [!NOT_IN_libc] (__vfork): Make this an alias.
39365         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
39367         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
39368         (__libc_vfork): Define the function under this name.
39369         [!NOT_IN_libc] (__vfork): Make this an alias.
39370         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39371         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
39372         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
39373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
39374         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
39375         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39377         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
39378         code that was previously under [RESET_PID].
39379         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
39380         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
39381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
39383         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
39384         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
39385         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
39386         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
39387         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
39388         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
39389         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
39390         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
39391         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
39392         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
39393         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
39394         Moved ...
39395         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
39396         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39397         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
39398         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
39399         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
39400         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
39401         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
39402         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
39403         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
39404         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
39405         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
39406         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
39407         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
39408         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
39409         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
39410         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
39411         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
39412         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39413         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
39414         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
39415         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
39416         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
39417         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
39418         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
39419         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
39420         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
39421         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
39422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
39423         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
39425 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39427         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
39428         that was previously under [RESET_PID].
39429         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
39431 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39433         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
39434         not undefine and redefine.
39435         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
39436         [O_CLOEXEC]: Make code unconditional.
39437         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
39438         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
39439         <kernel-features.h>.
39440         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
39441         conditional variable definition.
39442         (shm_open) [O_CLOEXEC]: Make code unconditional.
39443         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
39444         code.
39446         * configure.ac (USE_REGPARMS): Don't define here.
39447         * configure: Regenerated.
39448         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
39449         * sysdeps/i386/configure: Regenerated.
39451         * nptl/createthread.c: Don't include kernel-features.h.
39452         * nptl/pthread_cancel.c: Likewise.
39453         * nptl/pthread_condattr_setclock.c: Likewise.
39454         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
39455         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
39456         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
39457         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
39458         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
39459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
39460         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
39462         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39463         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
39464         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
39465         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
39466         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
39467         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
39468         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
39469         * nscd/gai.c: Likewise.
39470         * nss/nss_db/db-open.c: Likewise.
39471         * sysdeps/generic/ldsodefs.h: Likewise.
39472         * sysdeps/sh/nptl/tls.h: Likewise.
39473         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39474         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
39475         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
39476         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
39477         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
39478         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39479         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
39480         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39481         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39482         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
39483         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
39484         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39485         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
39486         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
39487         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
39488         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
39489         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
39490         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
39491         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
39492         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
39493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
39494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
39495         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
39496         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
39497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
39498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
39499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
39500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
39501         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39502         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
39503         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
39504         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
39505         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
39506         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39507         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39508         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39509         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39510         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
39511         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
39512         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
39513         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39514         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
39515         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
39516         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39517         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
39518         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
39519         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
39520         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
39521         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
39522         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
39523         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
39524         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
39525         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
39526         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39527         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
39528         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39529         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39530         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
39531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
39534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
39535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
39536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
39537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
39538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
39539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
39542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
39543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
39544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
39545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
39551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
39552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
39553         * sysdeps/unix/sysv/linux/pread.c: Likewise.
39554         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
39555         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
39556         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
39557         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
39558         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
39559         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
39560         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
39561         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
39562         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
39563         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
39564         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
39565         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
39566         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
39567         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
39568         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
39569         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39570         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
39571         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
39572         * sysdeps/unix/sysv/linux/system.c: Likewise.
39573         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
39574         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
39575         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39576         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39577         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39578         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39579         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39581         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
39582         * configure: Regenerated.
39583         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
39585         * configure.ac (base_machine): Do not set specially for particular
39586         machines here.
39587         * configure: Regenerated.
39588         * sysdeps/powerpc/preconfigure: Move machine and base_machine
39589         settings from configure.ac.
39590         * sysdeps/i386/preconfigure: New file.
39591         * sysdeps/s390/preconfigure: Likewise.
39592         * sysdeps/sh/preconfigure: Likewise.
39593         * sysdeps/sparc/preconfigure: Likewise.
39595 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39597         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
39598         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
39599         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
39600         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
39601         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
39602         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
39603         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
39604         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
39605         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
39606         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
39607         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
39608         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
39609         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
39610         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
39611         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
39612         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
39613         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
39614         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
39615         * sysdeps/sparc/sparc64/Makefile: ... appended here.
39617         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
39618         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
39619         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
39620         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
39621         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
39622         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
39623         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
39624         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
39625         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
39626         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
39627         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
39628         * sysdeps/sparc/sparc32/sem_post.c: ... here.
39629         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
39630         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
39631         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
39632         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
39633         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
39634         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
39635         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
39636         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
39637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
39638         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
39639         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
39640         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
39641         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
39642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
39643         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
39644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
39645         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
39646         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
39647         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
39648         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
39649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
39650         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
39651         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
39652         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
39653         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
39654         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
39656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
39657         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
39658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
39659         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
39660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39661         Moved ...
39662         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
39663         ... here.
39664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
39665         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
39666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
39667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
39668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
39669         Moved ...
39670         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
39671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
39672         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
39673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
39674         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
39675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
39676         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
39677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39678         Moved ...
39679         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
39680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39681         Moved ...
39682         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
39683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
39684         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
39685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39686         Moved ...
39687         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
39688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
39689         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
39691         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
39692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
39693         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
39694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
39695         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
39696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39697         Moved ...
39698         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
39699         ... here.
39700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
39701         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
39702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
39703         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
39704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
39705         Moved ...
39706         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
39707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
39708         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
39709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
39710         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
39711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
39712         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
39713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39714         Moved ...
39715         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
39716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39717         Moved ...
39718         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
39719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
39720         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
39721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39722         Moved ...
39723         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
39724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
39725         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
39726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
39727         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
39729 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39731         * timezone/checktab.awk: Update from tzcode 2014e.
39732         * timezone/private.h: Likewise.
39733         * timezone/tzfile.h: Likewise.
39734         * timezone/zdump.c: Likewise.
39735         * timezone/zic.c: Likewise.
39737         * sysdeps/unix/sysv/linux/kernel-features.h
39738         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
39739         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
39740         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
39741         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39742         Remove conditional code.
39744 2014-06-25  Will Newton  <will.newton@linaro.org>
39746         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
39747         (_dl_arm_cap_flags): Add HWCAP2 values.
39748         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
39749         (_DL_HWCAP_COUNT): Increase to 37.
39750         (_DL_HWCAP_LAST): New define.
39751         (_DL_HWCAP2_LAST): New define.
39752         (_dl_procinfo): Add support for printing
39753         AT_HWCAP2 entries.
39754         (_dl_string_hwcap): Use _dl_hwcap_string.
39756 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39760 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39762         * README: Do not mention ports directory.
39764         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
39765         Remove macro.
39766         * sysdeps/unix/sysv/linux/futimes.c: Do not include
39767         <kernel-features.h>.
39768         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
39769         conditional variable definition.
39770         (__futimes): Update comment.
39771         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
39772         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
39774         [BZ #16560]
39775         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
39776         arguments close to 0.
39777         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
39778         Likewise.
39779         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
39780         Likewise.
39781         * math/auto-libm-test-in: Add more tests of exp10.
39782         * math/auto-libm-test-out: Regenerated.
39783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39785         * sysdeps/unix/sysv/linux/kernel-features.h
39786         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
39787         * sysdeps/unix/sysv/linux/readv.c: Do not include
39788         <kernel-features.h>.
39789         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39790         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39791         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39792         unconditional.
39793         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39794         conditional code.
39795         * sysdeps/unix/sysv/linux/writev.c: Do not include
39796         <kernel-features.h>.
39797         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39798         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39799         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39800         unconditional.
39801         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39802         conditional code.
39804 2014-06-25  Will Newton  <will.newton@linaro.org>
39806         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
39807         comment changes throughout the file.  Remove checks
39808         for HAVE_*_H definitions that are not required.
39809         (__gen_tempname): Call abort if an unknown kind value is
39810         passed.
39812 2014-06-25  Andreas Schwab  <schwab@suse.de>
39814         [BZ #17086]
39815         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
39816         scalbln, scalblnf, scalblnl in libc.
39818 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39820         [BZ #17086]
39821         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
39822         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39823         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39825 2014-06-24  Roland McGrath  <roland@hack.frob.com>
39827         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
39828         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
39829         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
39830         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
39831         Update #include.
39832         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
39833         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
39834         Update #include.
39835         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
39836         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
39837         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
39838         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
39839         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
39840         * sysdeps/x86/bits/pthreadtypes.h: ... here.
39841         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
39842         * sysdeps/x86/bits/semaphore.h: ... here.
39843         * sysdeps/x86/nptl/elide.h: Moved ...
39844         * sysdeps/x86/elide.h: ... here.
39845         * sysdeps/x86_64/nptl/Implies: File removed.
39846         * sysdeps/i386/nptl/Implies: File removed.
39848 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
39850         [BZ #16539]
39851         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
39852         return the argument for normal arguments with exponent below -64.
39853         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39854         Likewise.
39855         * math/auto-libm-test-in: Add another test of expm1.
39856         * math/auto-libm-test-out: Regenerated.
39858         [BZ #16287]
39859         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
39860         calling __erfcl for arguments at least 16.
39861         * math/auto-libm-test-in: Add more tests of erf.
39862         * math/auto-libm-test-out: Regenerated.
39864         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
39865         individual architectures.
39866         * sysdeps/unix/sysv/linux/configure: Regenerated.
39867         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
39868         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
39869         * sysdeps/unix/sysv/linux/powerpc/configure.ac
39870         (ldd_rewrite_script): Define variable.
39871         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
39873         file.
39874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
39875         generated file.
39876         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
39877         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
39878         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
39879         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
39880         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
39881         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
39882         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
39883         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
39885 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39887         [BZ #17084]
39888         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
39889         Rename member __data.d to __data.__elision_data.
39891 2014-06-24  Wilco  <wdijkstr@arm.com>
39893         * NEWS: Add 16918 to fixed bug list.
39895 2014-06-24  Wilco  <wdijkstr@arm.com>
39897         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
39899 2014-06-24  Wilco  <wdijkstr@arm.com>
39901         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
39902         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
39903         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
39904         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
39905         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
39906         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
39907         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
39908         Use _FPU_MASK_RM.
39910 2014-06-24  Wilco  <wdijkstr@arm.com>
39912         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
39914 2014-06-24  Wilco  <wdijkstr@arm.com>
39916         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
39917         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
39918         * sysdeps/arm/fesetround.c (fesetround): Remove space.
39919         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
39921 2014-06-24  Wilco  <wdijkstr@arm.com>
39923         [BZ #16918]
39924         * sysdeps/arm/feupdateenv.c (feupdateenv):
39925         Rewrite to reduce FPSCR accesses and fix return value.
39927 2014-06-24  Wilco  <wdijkstr@arm.com>
39929         * sysdeps/arm/fclrexcpt.c (feclearexcept):
39930         Optimize to avoid unnecessary FPSCR writes.
39931         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
39932         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
39933         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
39934         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
39936 2014-06-24  Wilco  <wdijkstr@arm.com>
39938         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
39939         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
39940         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
39941         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
39942         Call libc_fetestexcept_vfp.
39943         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
39944         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
39945         __SOFTFP__ ifdef so that they can be built for softfp.
39947 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39949         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
39950         argument type signed char.
39952         * Makerules (check-abi): Dump diff of symlist if the test
39953         fails.
39955 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39957         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
39958         using abort.
39960         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39961         Remove unused variable ST.
39963 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39965         [BZ #16354]
39966         [BZ #17061]
39967         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
39968         small arguments before calling __expm1.
39969         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
39970         small arguments before calling __expm1f.
39971         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
39972         small arguments before calling __expm1l.
39973         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39974         Likewise.
39975         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39976         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
39977         spurious underflow for some cosh tests.
39978         * math/auto-libm-test-out: Regenerated.
39979         * sysdeps/i386/fpu/libm-test-ulps: Update.
39981         [BZ #17050]
39982         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
39983         (__ieee754_y1): Set errno if return value overflows.
39984         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
39985         (__ieee754_y1f): Set errno if return value overflows.
39986         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
39987         (__ieee754_y1l): Set errno if return value overflows.
39988         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
39989         (__ieee754_y1l): Set errno if return value overflows.
39990         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
39991         * math/auto-libm-test-out: Regenerated.
39993         * math/gen-auto-libm-tests.c: Document use of
39994         ignore-zero-inf-sign.
39995         (input_flag_type): Add value flag_ignore_zero_inf_sign.
39996         (input_flags): Add ignore-zero-inf-sign.
39997         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
39998         * math/gen-libm-test.pl (generate_testfile): Handle
39999         ignore-zero-inf-sign.
40000         * math/auto-libm-test-in: Mark some cpow tests with
40001         ignore-zero-inf-sign and some with xfail-rounding.
40002         * math/auto-libm-test-out: Regenerated.
40003         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40004         * sysdeps/i386/fpu/libm-test-ulps: Update.
40005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40007         [BZ #16315]
40008         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40009         overflowing or underflowing operations take place with sign of
40010         result.
40011         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40012         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40013         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40014         (__ieee754_pow): Recompute overflowing and underflowing results in
40015         original rounding mode.
40016         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40017         (__powl_helper): Allow negative argument X and scale negated value
40018         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40019         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40020         overflowing or underflowing operations take place with sign of
40021         result.
40022         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40023         Include <math.h>.
40024         * math/auto-libm-test-in: Add more tests of pow.
40025         * math/auto-libm-test-out: Regenerated.
40026         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40027         (pow_tonearest_test_data): Remove.
40028         (pow_test_tonearest): Likewise.
40029         (pow_towardzero_test_data): Likewise.
40030         (pow_test_towardzero): Likewise.
40031         (pow_downward_test_data): Likewise.
40032         (pow_test_downward): Likewise.
40033         (pow_upward_test_data): Likewise.
40034         (pow_test_upward): Likewise.
40035         (main): Don't call removed functions.
40036         * sysdeps/i386/fpu/libm-test-ulps: Update.
40037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40039 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40042         Moved ...
40043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40045         Moved ...
40046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40048         Moved ...
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40051         Moved ...
40052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40054         File removed.
40055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40056         File removed.
40057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40058         File removed.
40059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40060         File removed.
40061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40062         File removed.
40063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40064         File removed.
40065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40066         File removed.
40067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40068         File removed.
40069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40070         File removed.
40071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40072         File removed.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40074         File removed.
40075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40076         File removed.
40077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40078         Moved ...
40079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40081         Moved ...
40082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40083         ... here.
40084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40085         Moved ...
40086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40088         Moved ...
40089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40091         Moved ...
40092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40094         Moved ...
40095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40097         Moved ...
40098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40100         Moved ...
40101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40103         Moved ...
40104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40107         ... here.
40108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40109         Moved ...
40110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40112         Moved ...
40113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40114         ... here.
40115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40116         Moved ...
40117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40118         ... here.
40119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40120         Moved ...
40121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40122         ... here.
40123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40124         Moved ...
40125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40127         Moved ...
40128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40132         Moved ...
40133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40134         ... here.
40135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40136         Moved ...
40137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40138         ... here.
40139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40140         Moved ...
40141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40143         Moved ...
40144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40146         Moved ...
40147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40149         Moved ...
40150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40152         Moved ...
40153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40154         ... here.
40155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40156         Moved ...
40157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40159         Moved ...
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40162         Moved ...
40163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40165         Moved ...
40166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40170         Moved ...
40171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40173         Moved ...
40174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40176         Moved ...
40177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40178         ... here.
40179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40180         Moved ...
40181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40182         ... here.
40183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40184         Moved ...
40185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40186         ... here.
40187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40188         Moved ...
40189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40191         Moved ...
40192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40194         Moved ...
40195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40197         Moved ...
40198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40199         ... here.
40200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40201         Moved ...
40202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40203         ... here.
40204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40205         Moved ...
40206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40207         ... here.
40208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40209         Moved ...
40210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40212         Moved ...
40213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40215 2014-06-23  Will Newton  <will.newton@linaro.org>
40216             Wilco  <wdijkstr@arm.com>
40218         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40219         implementation.  Include get-rounding-mode.h.
40220         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40221         [!libc_feholdsetround_noex_ctx]: Define
40222         libc_feholdsetround_noex_ctx.
40223         [!libc_feholdsetround_noexf_ctx]: Define
40224         libc_feholdsetround_noexf_ctx.
40225         [!libc_feholdsetround_noexl_ctx]: Define
40226         libc_feholdsetround_noexl_ctx.
40227         (libc_feholdsetround_ctx): New function.
40228         (libc_feresetround_ctx): New function.
40229         (libc_feholdsetround_noex_ctx): New function.
40230         (libc_feresetround_noex_ctx): New function.
40232 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40234         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40235         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40236         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40237         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40238         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40239         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40241         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40242         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40243         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40244         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40245         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40246         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40248         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40250         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40251         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40252         Moved ...
40253         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40254         ... here.
40255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40256         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40258         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40260         Moved ...
40261         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40263         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40265         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40267         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40268         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40269         Moved ...
40270         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40272         Moved ...
40273         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40275         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40276         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40277         Moved ...
40278         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40280         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40281         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40282         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40283         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40284         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40286         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40288         Moved ...
40289         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40290         ... here.
40291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40292         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40294         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40296         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40298         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40299         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40300         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40302         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40303         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40304         Moved ...
40305         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40307         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40309         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40310         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40311         Moved ...
40312         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40314         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40315         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40316         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40318         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40319         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40320         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40321         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40322         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40323         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40324         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40325         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40326         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40327         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40328         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40329         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40330         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40331         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40332         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40333         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40334         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40335         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40336         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40337         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40338         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40339         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40340         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40341         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40342         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40343         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40344         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40345         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40347 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40350         (FALLOC_FL_COLLAPSE_RANGE): New macro.
40351         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40352         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40353         (IPV6_PMTUDISC_INTERFACE): Likewise.
40354         (IPV6_PMTUDISC_OMIT): Likewise.
40356 2014-06-23  Andreas Schwab  <schwab@suse.de>
40358         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
40359         Remove unused errout label.
40361 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40363         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
40364         macro: hardware supports Vector Crypto instructions.
40366 2014-06-23  Will Newton  <will.newton@linaro.org>
40368         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
40369         rather than __builtin_expect.
40371         * elf/dl-lookup.c (undefined_msg): Remove variable.
40372         (_dl_lookup_symbol_x): Replace undefined_msg with string
40373         literal.
40375         * elf/dl-lookup.c (do_lookup_unique): New function.
40376         (do_lookup_x): Move STB_GNU_UNIQUE handling code
40377         to a separate function.
40379 2014-06-23  Andreas Schwab  <schwab@suse.de>
40381         [BZ #17079]
40382         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
40383         before reading the next line.
40385 2014-06-23  Will Newton  <will.newton@linaro.org>
40387         * test-skeleton.c (signal_handler): Use printf and %m
40388         rather than perror.  Use printf rather than fprintf to
40389         stderr.  Use puts rather than fputs to stderr.
40390         (main): Likewise.
40392 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
40394         * nscd/nscd.c (thread_info_t): Remove typedef.
40395         (thread_info): Remove variable.
40397 2014-06-21  Allan McRae  <allan@archlinux.org>
40399         * NEWS: Mention CVE-2014-4043.
40401 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40403         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
40404         * nptl/smp.h: ... here.
40406         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40408         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
40409         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
40410         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
40411         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
40413         * nptl/allocatestack.c: Include <stack-aliasing.h>.
40414         * nptl/stack-aliasing.h: New file.
40415         * sysdeps/i386/i686/stack-aliasing.h: New file.
40416         * sysdeps/i386/i686/nptl/Makefile: File removed.
40417         * sysdeps/x86_64/stack-aliasing.h: New file.
40418         * sysdeps/x86_64/nptl/Makefile
40419         (CFLAGS-pthread_create.c): Variable removed.
40421         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
40422         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
40423         old file.
40424         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
40425         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
40426         old file.
40428 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
40430         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40431         (__ASSUME_SIGFRAME_V2): Remove macro.
40432         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
40433         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
40434         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
40435         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
40436         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
40437         Declare as function.  Remove conditional macro definitions.
40438         (__default_rt_sa_restorer): Likewise.
40439         (__default_sa_restorer_v1): Remove declaration.
40440         (__default_sa_restorer_v2): Likewise.
40441         (__default_rt_sa_restorer_v1): Likewise.
40442         (__default_rt_sa_restorer_v2): Likewise.
40443         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
40444         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40445         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
40447 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40449         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40450         (libpthread-routines): Add sysdep.
40451         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
40452         * sysdeps/unix/sysv/linux/sparc/Versions
40453         (libpthread: GLIBC_2.3.3): New version set.
40454         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
40455         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
40456         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
40457         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40458         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
40459         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
40460         Moved ...
40461         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
40462         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
40463         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
40464         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
40465         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
40466         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
40467         * sysdeps/sparc/nptl/sem_init.c: ... here.
40468         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
40469         * sysdeps/sparc/nptl/sem_post.c: ... here.
40470         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
40471         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
40472         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
40473         * sysdeps/sparc/nptl/sem_wait.c: ... here.
40474         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
40475         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
40476         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
40477         (libpthread-routines): Add cpu_relax.
40478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
40479         File removed.
40480         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
40481         (librt: GLIBC_2.3.3): New version set.
40482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
40483         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
40484         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
40485         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
40487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
40488         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
40489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
40490         Moved ...
40491         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
40492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
40493         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
40494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
40495         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
40496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
40497         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
40498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
40499         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
40500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
40501         Moved ...
40502         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
40503         Update #include.
40504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
40505         Moved ...
40506         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
40507         Update #include.
40508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
40509         Moved ...
40510         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
40511         Update #include.
40512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
40513         Moved ...
40514         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
40515         Update #include.
40516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
40517         Moved ...
40518         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
40519         Update #include.
40520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
40521         Moved ...
40522         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
40523         Update #include.
40524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
40525         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
40526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
40527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
40528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
40529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
40530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
40531         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
40532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
40533         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
40534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40535         Moved ...
40536         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
40537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
40538         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
40539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
40540         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
40542 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40544         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
40545         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
40546         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40547         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
40548         * nscd/nscd.c: Likewise.
40549         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
40550         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
40551         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
40552         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
40554         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
40555         <kernel-features.h>.
40556         (init_mq_netlink): Remove conditional have_sock_cloexec
40557         definitions.  Remove code conditional on have_sock_cloexec < 0.
40558         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
40559         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
40560         * sysdeps/unix/sysv/linux/opensock.c: Do not include
40561         <kernel-features.h>.
40562         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
40563         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
40565 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
40567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40568         Add tests for memset_chk and memset.
40570         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
40571         with AVX2_Usable.
40573 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40575         [BZ #16046]
40576         * elf/tst-dl-iter-static.c: New file.
40577         * elf/Makefile (tests-static): Add tst-dl-iter-static.
40579         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
40580         error.
40582 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40584         * sysdeps/unix/sysv/linux/kernel-features.h
40585         (__ASSUME_F_GETOWN_EX): Remove macro.
40586         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
40587         <kernel-features.h>.
40588         (miss_F_GETOWN_EX): Remove variable or macro.
40589         (do_fcntl): Do not check miss_F_GETOWN_EX.
40590         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
40592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
40593         Remove macro.
40594         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
40595         [!__ASSUME_AT_RANDOM]: Remove conditional code.
40596         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
40598         * sysdeps/unix/sysv/linux/kernel-features.h
40599         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
40600         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
40601         [ADJ_OFFSET_SS_READ]: Make code unconditional.
40602         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
40604 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40606         [BZ #17075]
40607         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
40608         Fix calculation of the symbol's value.
40609         * sysdeps/arm/tst-armtlsdescloc.c: New file.
40610         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
40611         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
40612         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
40613         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
40614         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
40615         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
40616         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
40617         (modules-names): Add `tst-armtlsdescmod',
40618         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
40619         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
40620         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40621         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
40622         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
40623         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40624         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
40625         ($(objpfx)tst-armtlsdescloc): New dependency.
40626         ($(objpfx)tst-armtlsdescextnow): Likewise.
40627         ($(objpfx)tst-armtlsdescextlazy): Likewise.
40628         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
40629         TLS scheme support.
40630         * sysdeps/arm/configure: Regenerate.
40632 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40634         * include/fcntl.h (__atfct_seterrno): Remove prototype.
40635         (__atfct_seterrno_2): Likewise.
40636         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
40637         <kernel-features.h>.
40638         (__ASSUME_ATFCTS): Do not undefine and redefine.
40639         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
40640         (__have_atfcts): Remove conditional definition.
40641         (__fxstatat([__NR_fstatat64]: Make code unconditional.
40642         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
40643         unreachable if [__ASSUME_ATFCTS].
40644         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
40645         not undefine and redefine.
40646         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
40647         <kernel-features.h>.
40648         (faccessat) [__NR_faccessat]: Make code unconditional.
40649         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
40650         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
40651         <kernel-features.h>.
40652         (fchmodat) [__NR_fchmodat]: Make code unconditional.
40653         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40654         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
40655         <kernel-features.h>.
40656         (fchownat) [__NR_fchownat]: Make code unconditional.
40657         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
40658         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
40659         <kernel-features.h>.
40660         (futimesat) [__NR_futimesat]: Make code unconditional.
40661         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
40662         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40663         <kernel-features.h>.
40664         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40665         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40666         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40667         <kernel-features.h>.
40668         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
40669         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40670         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
40671         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40672         <kernel-features.h>.
40673         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
40674         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40675         * sysdeps/unix/sysv/linux/linkat.c: Do not include
40676         <kernel-features.h>.
40677         (linkat) [__NR_linkat]: Make code unconditional.
40678         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40679         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
40680         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
40681         <kernel-features.h>.
40682         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
40683         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40684         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
40685         <kernel-features.h>.
40686         (mkdirat) [__NR_mkdirat]: Make code unconditional.
40687         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
40688         * sysdeps/unix/sysv/linux/openat.c: Do not include
40689         <kernel-features.h>.
40690         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
40691         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
40692         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
40693         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
40694         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
40695         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
40696         <kernel-features.h>.
40697         (readlinkat) [__NR_readlinkat]: Make code unconditional.
40698         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
40699         result of INLINE_SYSCALL directly, not via int variable.
40700         * sysdeps/unix/sysv/linux/renameat.c: Do not include
40701         <kernel-features.h>.
40702         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
40703         (renameat) [__NR_renameat]: Make code unconditional.
40704         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
40705         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
40706         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
40707         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
40708         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
40709         (__ASSUME_ATFCTS): Do not undefine and redefine.
40710         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
40711         <kernel-features.h>.
40712         (symlinkat) [__NR_symlinkat]: Make code unconditional.
40713         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40714         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
40715         <kernel-features.h>.
40716         (unlinkat) [__NR_unlinkat]: Make code unconditional.
40717         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40718         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
40719         (__ASSUME_ATFCTS): Do not undefine and redefine.
40720         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40721         <kernel-features.h>.
40722         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40723         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40724         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40725         <kernel-features.h>.
40726         (__xmknodat) [__NR_mknodat]: Make code unconditional.
40727         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40729 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
40731         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
40733 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
40735         [BZ #17069]
40736         * posix/regcomp.c (parse_reg_exp): Deallocate partially
40737         constructed tree before returning error.
40738         * posix/bug-regexp36.c: Expand test case.
40740 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
40742         [BZ #6803]
40743         * math/libm-test.inc (scalbln_test_date):
40744         Add errno expectations.
40745         * math/w_scalblnf.c: New File.
40746         Add wrapper which checks for setting errno to ERANGE.
40747         Add weak_alias for corresponding scalbln function.
40748         * math/w_scalbln.c: Likewise.
40749         * math/w_scalblnl.c: Likewise.
40750         * math/Makefile (libm-calls): Add w_scalbln.
40751         * sysdeps/ieee754/flt-32/s_scalblnf.c:
40752         Remove weak_alias for corresponding scalbln function.
40753         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40754         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40757         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
40758         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40759         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
40760         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40761         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
40762         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
40763         Remove long_double_symbol for scalblnl function in libm, libc.
40764         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
40765         Add wrapper which checks for setting errno to ERANGE.
40766         Add long_double_symbol for scalblnl function in libm, libc.
40767         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
40768         Remove long_double_symbol for scalblnl in libm.
40769         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
40770         Add wrapper which checks for setting errno to ERANGE.
40771         Add long_double_symbol for scalblnl function in libm.
40772         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
40773         Do not use wrapper because of own implementation.
40775 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
40777         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
40778         3 bytes for __pad1 for x32.
40779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
40781 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
40782             H.J. Lu  <hongjiu.lu@intel.com>
40784         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
40785         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
40786         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40787         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40788         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
40790 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
40792         [BZ #17069]
40793         * posix/regcomp.c (parse_expression): Deallocate partially
40794         constructed tree before returning error.
40795         * posix/Makefile.c (tests): Add bug-regex36.
40796         (generated): Add bug-regex36.mtrace.
40797         (tests-special): Add $(objpfx)bug-regex36-mem.out
40798         (bug-regex36-ENV): New variable.
40799         ($(objpfx)bug-regex36-mem.out): New rule.
40800         * posix/bug-regex36.c: New file.
40802 2014-06-19  Will Newton  <will.newton@linaro.org>
40804         * malloc/malloc.c (systrim): If extra is zero then return
40805         early.
40807 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40809         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
40811 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
40813         * sysdeps/aarch64/strchr.S: New file.
40815 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
40817         [BZ #17022]
40818         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
40819         from arguments -2 or below.
40820         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40821         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
40823 2014-06-18  Andreas Schwab  <schwab@suse.de>
40825         [BZ #17062]
40826         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
40827         of a bracket expr not to run off the end of the string.
40828         * posix/Makefile (tests): Add tst-fnmatch3.
40829         * posix/tst-fnmatch3.c: New file.
40831 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
40833         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
40834         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40835         [$(cross-compiling) = no]: Likewise.
40836         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40837         [$(cross-compiling) = no]: Likewise.
40839 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40841         [BZ #17031]
40842         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
40843         double, adjusted for any remainder from the high double.
40844         * math/libm-test.inc (nearbyint): Add tests.
40845         (rint): Likewise.
40847 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40849         * nptl/sysdeps/powerpc/Makefile: Moved ...
40850         * sysdeps/powerpc/nptl/Makefile: ... here.
40851         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
40852         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
40853         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
40854         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
40855         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
40856         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
40857         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
40858         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
40859         * nptl/sysdeps/powerpc/tls.h: Moved ...
40860         * sysdeps/powerpc/nptl/tls.h: ... here.
40862 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
40864         [BZ #16681]
40865         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
40866         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
40867         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
40868         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
40869         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
40870         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
40871         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
40872         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
40873         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
40875 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
40877         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40879 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
40881         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
40882         defined operator.
40884         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
40885         $TIMEOUTFACTOR.
40887 2014-06-16  Florian Weimer  <fweimer@redhat.com>
40889         [BZ #17058]
40890         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
40891         non-executed part of the test.
40893 2014-06-16  Andreas Schwab  <schwab@suse.de>
40895         * string/bits/string2.h (strdup, strndup): Update feature guard.
40897 2014-06-14  David S. Miller  <davem@davemloft.net>
40899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40901 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
40903         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
40904         that was previously under [RESET_PID].
40905         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
40907         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
40908         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
40909         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
40910         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40911         (__libc_vfork): New strong alias.
40912         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
40914 2014-06-14 Andi Kleen  <ak@linux.intel.com>
40916         * sysdeps/generic/elide.h: New file.
40918 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40920         * Makefile (installed-headers): Adjust path of pthread.h header.
40922 2014-06-13  Roland McGrath  <roland@hack.frob.com>
40924         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
40925         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40926         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
40927         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
40929         * nptl/sysdeps/s390/Makefile: Moved ...
40930         * sysdeps/s390/nptl/Makefile: ... here.
40931         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
40932         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
40933         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
40934         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
40935         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
40936         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
40937         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
40938         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
40939         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
40940         * sysdeps/s390/nptl/pthreaddef.h: ... here.
40941         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
40942         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
40943         * nptl/sysdeps/s390/tls.h: Moved ...
40944         * sysdeps/s390/nptl/tls.h: ... here.
40946         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
40947         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
40949 2014-06-13  David S. Miller  <davem@davemloft.net>
40951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
40952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
40953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
40954         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
40955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
40956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
40957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
40958         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
40959         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
40960         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
40961         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
40962         Remove RESET_PID cpp guards.
40963         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
40964         Remove RESET_PID cpp guards.
40965         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
40967 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
40969         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
40970         __sp to uintptr_t.
40972 2014-06-13  Andi Kleen  <ak@linux.intel.com>
40974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
40975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
40976         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
40977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
40978         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
40979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
40980         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
40981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
40982         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
40983         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
40984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
40985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
40986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
40987         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
40988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
40989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
40990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
40991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
40992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
40993         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
40995         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
40996         (pthread_rwlock_rdlock): Add elision.
40997         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
40998         (pthread_rwlock_wrlock): Add elision.
40999         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41000         (pthread_rwlock_trywrlock): Add elision.
41001         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41002         (pthread_rwlock_tryrdlock): Add elision.
41003         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41004         (pthread_rwlock_tryrdlock): Add elision unlock.
41005         * nptl/sysdeps/pthread/pthread.h:
41006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41007         (PTHREAD_RWLOCK_INITIALIZER,
41008         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41009         Handle new elision field.
41010         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41011         * sysdeps/arm/nptl/bits/pthreadtypes.h
41012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41013         * sysdeps/sh/nptl/bits/pthreadtypes.h
41014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41015         * sysdeps/tile/nptl/bits/pthreadtypes.h
41016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41017         * sysdeps/a/nptl/bits/pthreadtypes.h
41018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41019         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41021         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41023         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41025         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41027         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41029         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41031         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41033         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41035         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41036         (elision_init): Set try_xbegin to zero when no RTM.
41037         * sysdeps/x86/nptl/bits/pthreadtypes.h
41038         (pthread_rwlock_t): Change __pad1 to __rwelision.
41039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41041 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41043         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41044         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41045         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41046         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41048 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41050         [BZ #16996]
41051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41052         that the cached result has been set before returning it.
41054 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41056         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41057         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41058         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41059         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41060         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41061         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41063         * nptl/sysdeps/sparc/Makefile: Moved ...
41064         * sysdeps/sparc/nptl/Makefile: ... here.
41065         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41066         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41067         * nptl/sysdeps/sparc/tls.h: Moved ...
41068         * sysdeps/sparc/nptl/tls.h: ... here.
41069         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41070         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41071         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41072         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41073         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41074         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41075         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41076         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41077         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41078         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41079         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41080         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41081         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41082         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41083         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41084         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41085         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41086         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41087         Update #include.
41088         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41089         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41090         Update #include.
41091         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41092         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41093         Update #include.
41094         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41095         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41096         Update #include.
41098         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41100         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41101         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41103         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41104         (struct list_links): Type removed.
41105         (struct thread_node, struct timer_node): Replace struct list_links
41106         with struct list_head.
41107         (list_unlink_ip): Likewise.
41108         * sysdeps/pthread/timer_routines.c
41109         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41110         (list_append, list_insbefore): Likewise.
41111         (list_init): Function removed.
41112         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41113         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41114         * sysdeps/pthread/Makefile: ... here, new file.
41116         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41117         * sysdeps/nptl/Implies: ... here.
41118         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41119         * nptl/sysdeps/pthread/list.h: Moved ...
41120         * include/list.h: ... here.
41121         * nptl/sysdeps/pthread/createthread.c: Moved ...
41122         * nptl/createthread.c: ... here.
41123         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41124         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41125         * nptl/pt-longjmp.c: ... here.
41126         * nptl/sysdeps/pthread/Makefile: Moved ...
41127         * sysdeps/nptl/Makefile: ... here.
41128         * nptl/sysdeps/pthread/Subdirs: Moved ...
41129         * sysdeps/nptl/Subdirs: ... here.
41130         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41131         * sysdeps/nptl/aio_misc.h: ... here.
41132         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41133         * sysdeps/nptl/bits/libc-lock.h: ... here.
41134         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41135         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41136         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41137         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41138         * nptl/sysdeps/pthread/configure: Moved ...
41139         * sysdeps/nptl/configure: ... here.
41140         * nptl/sysdeps/pthread/configure.ac: Moved ...
41141         * sysdeps/nptl/configure.ac: ... here.
41142         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41143         * sysdeps/nptl/gai_misc.h: ... here.
41144         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41145         * sysdeps/nptl/librt-cancellation.c: ... here.
41146         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41147         * sysdeps/nptl/malloc-machine.h: ... here.
41148         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41149         * sysdeps/nptl/pthread-functions.h: ... here.
41150         * nptl/sysdeps/pthread/pthread.h: Moved ...
41151         * sysdeps/nptl/pthread.h: ... here.
41152         * nptl/sysdeps/pthread/setxid.h: Moved ...
41153         * sysdeps/nptl/setxid.h: ... here.
41154         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41155         * sysdeps/nptl/sigfillset.c: ... here.
41156         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41157         * sysdeps/nptl/tcb-offsets.h: ... here.
41158         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41159         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41160         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41161         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41162         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41163         * sysdeps/pthread/allocalim.h: ... here.
41164         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41165         * sysdeps/pthread/bits/sigthread.h: ... here.
41166         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41167         * sysdeps/pthread/flockfile.c: ... here.
41168         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41169         * sysdeps/pthread/ftrylockfile.c: ... here.
41170         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41171         * sysdeps/pthread/funlockfile.c: ... here.
41172         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41173         * sysdeps/pthread/posix-timer.h: ... here.
41174         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41175         * sysdeps/pthread/timer_create.c: ... here.
41176         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41177         * sysdeps/pthread/timer_delete.c: ... here.
41178         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41179         * sysdeps/pthread/timer_getoverr.c: ... here.
41180         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41181         * sysdeps/pthread/timer_gettime.c: ... here.
41182         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41183         * sysdeps/pthread/timer_routines.c: ... here.
41184         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41185         * sysdeps/pthread/timer_settime.c: ... here.
41186         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41187         * sysdeps/pthread/tst-timer.c: ... here.
41188         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41189         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41191         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41192         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41194         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41195         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41196         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41197         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41198         Update #include target.
41199         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41200         * sysdeps/i386/i686/nptl/Makefile: ... here.
41201         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41202         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41203         Update #include target.
41204         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41205         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41206         * nptl/sysdeps/i386/Makefile: Moved ...
41207         * sysdeps/i386/nptl/Makefile: ... here.
41208         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41209         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41210         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41211         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41212         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41213         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41214         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41215         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41216         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41217         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41218         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41219         * nptl/sysdeps/i386/tls.h: Moved ...
41220         * sysdeps/i386/nptl/tls.h: ... here.
41222         * sysdeps/sh/Makefile [$(subdir) = csu]
41223         (gen-as-const-headers): Add tcb-offsets.sym.
41224         * nptl/sysdeps/sh/Makefile: File removed.
41225         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41226         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41227         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41228         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41229         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41230         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41231         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41232         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41233         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41234         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41235         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41236         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41237         * nptl/sysdeps/sh/tls.h: Moved ...
41238         * sysdeps/sh/nptl/tls.h: ... here.
41239         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41240         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41241         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41242         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41243         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41244         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41245         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41246         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41247         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41248         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41250         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41252         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41253         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41254         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41255         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41256         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41257         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41258         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41260         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41262         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41263         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41264         Moved ...
41265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41266         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41267         Moved ...
41268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41270         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41271         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41272         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41273         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41274         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41275         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41276         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41277         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41278         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41279         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41280         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41281         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41282         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41283         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41284         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41285         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41286         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41288 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41290         * posix/spawn_faction_addopen.c: Include string.h.
41292 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41294         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41295         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41296         * nptl/sysdeps/x86_64/Makefile: Moved ...
41297         * sysdeps/x86_64/nptl/Makefile: ... here.
41298         * nptl/sysdeps/x86_64/configure: Moved ...
41299         * sysdeps/x86_64/nptl/configure: ... here.
41300         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41301         * sysdeps/x86_64/nptl/configure.ac: ... here.
41302         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41303         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41304         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41305         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41306         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41307         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41308         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41309         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41310         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41311         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41312         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41313         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41314         * nptl/sysdeps/x86_64/tls.h: Moved ...
41315         * sysdeps/x86_64/nptl/tls.h: ... here.
41316         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41317         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41318         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41319         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41321         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41323 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41327 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41329         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41330         type.
41331         [POSIX] (off_t): Likewise.
41332         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41333         [POSIX] (S_ISBLK): Require macro.
41334         [POSIX] (S_ISCHR): Likewise.
41335         [POSIX] (S_ISDIR): Likewise.
41336         [POSIX] (S_ISFIFO): Likewise.
41337         [POSIX] (S_ISREG): Likewise.
41338         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41339         optional-macro.
41340         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41341         type.
41342         [POSIX] (time_t): Likewise.
41343         [POSIX] (timer_t): Likewise.
41345 2014-06-11  Florian Weimer  <fweimer@redhat.com>
41347         [BZ #17048]
41348         * posix/spawn_int.h (struct __spawn_action): Make the path string
41349         non-const to support deallocation.
41350         * posix/spawn_faction_addopen.c
41351         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41352         * posix/spawn_faction_destroy.c
41353         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
41354         path in all spawn_do_open actions.
41355         * posix/tst-spawn.c (do_test): Exercise the copy operation in
41356         posix_spawn_file_actions_addopen.
41358 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
41360         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
41361         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
41362         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
41363         conditional code always true.
41364         (__libc_vfork): New alias.
41366 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41368         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41369         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
41371         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
41373         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41374         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
41376         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41377         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
41379         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41380         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
41382 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41384         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41385         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
41386         multiarch strcmp for PPC64.
41387         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
41388         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
41389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
41390         multiarch optimizations.
41391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41392         (__libc_ifunc_impl_list): Likewise.
41394 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41396         * benchtests/scripts/validate_benchout.py: New script.
41397         * benchtests/Makefile (bench-func): Call it.
41398         * benchtests/scripts/benchout.schema.json: New file.
41400 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
41402         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
41403         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
41404         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
41405         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41406         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
41407         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
41408         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
41409         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
41410         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41411         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
41412         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
41413         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
41414         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
41415         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
41416         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
41417         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
41418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
41419         Moved ...
41420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
41421         ... here.
41422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
41423         Moved ...
41424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
41425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
41426         Moved ...
41427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
41428         ... here.
41429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
41430         Moved ...
41431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
41432         ... here.
41433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41434         Moved ...
41435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
41436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
41437         Moved ...
41438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
41439         ... here.
41440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
41441         Moved ...
41442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
41443         ... here.
41444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
41445         Moved ...
41446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
41447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
41448         Moved ...
41449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
41450         ... here.
41451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
41452         Moved ...
41453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
41454         ... here.
41455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
41456         Moved ...
41457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
41458         ... here.
41459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
41460         Moved ...
41461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
41462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
41463         Moved ...
41464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
41465         ... here.
41466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
41467         Moved ...
41468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
41469         ... here.
41470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
41471         Moved ...
41472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
41473         ... here.
41474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
41475         Moved ...
41476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
41477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
41478         Moved ...
41479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
41480         ... here.
41481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
41482         Moved ...
41483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
41484         ... here.
41485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
41486         Moved ...
41487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
41488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
41489         Moved ...
41490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
41491         ... here.
41492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
41493         Moved ...
41494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
41495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
41496         Moved ...
41497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
41498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
41499         Moved ...
41500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
41501         ... here.
41502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
41503         Moved ...
41504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
41505         ... here.
41506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
41507         Moved ...
41508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
41509         ... here.
41510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
41511         Moved ...
41512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
41513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
41514         Moved ...
41515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
41516         ... here.
41517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
41518         Moved ...
41519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
41520         ... here.
41521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
41522         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
41523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
41524         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
41525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
41526         Moved ...
41527         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
41528         ... here.
41529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
41530         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
41531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
41532         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
41533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
41534         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
41535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
41536         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
41537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
41538         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
41539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
41540         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
41541         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
41542         Moved ...
41543         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
41544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
41545         Moved ...
41546         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
41547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
41548         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
41549         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
41550         Moved ...
41551         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
41552         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
41553         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
41554         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
41555         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
41556         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
41557         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
41559 2014-06-10  Wilco  <wdijkstr@arm.com>
41561         * math/test-fenv-return.c: New file.
41562         * math/Makefile: Add new test test-fenv-return.
41564 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
41566         [BZ #17042]
41567         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
41568         when x - 1 is zero.
41569         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
41570         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
41571         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
41572         0.0L for an argument of 1.0L.
41573         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
41574         Likewise.
41575         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
41576         value when x - 1 is zero.
41577         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
41578         * sysdeps/i386/fpu/libm-test-ulps: Update.
41579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41581 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
41583         [BZ #15119]
41584         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
41586 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41588         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
41589         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
41591 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41593         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41594         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
41596         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41597         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
41599         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41600         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
41602         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41603         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
41605         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
41606         if not already defined.
41607         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
41608         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
41609         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
41610         (TLS_INIT_TP): Use it.
41611         (TLS_DEFINE_INIT_TP): New macro.
41612         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
41614 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
41616         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
41617         constant.
41618         [POSIX] (IXANY): Likewise.
41619         [POSIX] (OLCUC): Likewise.
41620         [POSIX || POSIX2008] (CBAUD): Do not allow.
41621         [POSIX || POSIX2008] (DEFECHO): Likewise.
41622         [POSIX || POSIX2008] (ECHOCTL): Likewise.
41623         [POSIX || POSIX2008] (ECHOKE): Likewise.
41624         [POSIX || POSIX2008] (ECHOPRT): Likewise.
41625         [POSIX || POSIX2008] (EXTA): Likewise.
41626         [POSIX || POSIX2008] (EXTB): Likewise.
41627         [POSIX || POSIX2008] (FLUSHO): Likewise.
41628         [POSIX || POSIX2008] (LOBLK): Likewise.
41629         [POSIX || POSIX2008] (PENDIN): Likewise.
41630         [POSIX || POSIX2008] (SWTCH): Likewise.
41631         [POSIX || POSIX2008] (VDISCARD): Likewise.
41632         [POSIX || POSIX2008] (VDSUSP): Likewise.
41633         [POSIX || POSIX2008] (VLNEXT): Likewise.
41634         [POSIX || POSIX2008] (VREPRINT): Likewise.
41635         [POSIX || POSIX2008] (VSTATUS): Likewise.
41636         [POSIX || POSIX2008] (VWERASE): Likewise.
41637         (B*): Change to B[0123456789]*.
41638         * conform/data/time.h-data [POSIX || UNIX98]
41639         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
41640         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41641         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
41642         [POSIX] (tm_*): Do not allow.
41644 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
41646         * Makefile (install): Don't set LANGUAGE.
41647         * Makefile.in (install): Likewise.
41648         * assert/Makefile (test-assert-ENV): Remove variable.
41649         (test-assert-perr-ENV): Likewise.
41650         * elf/Makefile (neededtest4-ENV): Likewise.
41651         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41652         [$(cross-compiling) = no]: Don't set LANGUAGE.
41653         * io/ftwtest-sh (LANG): Remove variable.
41654         * libio/Makefile (tst-widetext-ENV): Likewise.
41655         * manual/install.texi (Running make install): Don't refer to
41656         environment settings for make install.
41657         * INSTALL: Regenerated.
41658         * nptl/tst-tls6.sh: Don't set LANG.
41659         * posix/globtest.sh (LANG): Remove variable.
41660         * string/Makefile (tester-ENV): Likewise.
41661         (inl-tester-ENV): Likewise.
41662         (noinl-tester-ENV): Likewise.
41663         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41664         [$(cross-compiling) = no]: Don't set LANGUAGE.
41665         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
41666         without explicit environment settings.
41668 2014-06-06  Roland McGrath  <roland@hack.frob.com>
41670         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
41671         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
41673         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
41675 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
41677         * crypt/crypt-private.h [DOS]: Add some includes taken from the
41678         other files in the crypt directory.
41679         * crypt/crypt.c: Remove duplicate includes.
41680         * crypt/crypt-entry.c: Likewise.
41681         * crypt/crypt_util.c: Likewise.
41683 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
41685         * Makeconfig (run-program-env): New variable.
41686         (run-program-prefix-before-env): Likewise.
41687         (run-program-prefix-after-env): Likewise.
41688         (run-program-prefix): Define in terms of new variables.
41689         (built-program-cmd-before-env): New variable.
41690         (built-program-cmd-after-env): Likewise.
41691         (built-program-cmd): Define in terms of new variables.
41692         (test-program-prefix-before-env): New variable.
41693         (test-program-prefix-after-env): Likewise.
41694         (test-program-prefix): Define in terms of new variables.
41695         (test-program-cmd-before-env): New variable.
41696         (test-program-cmd-after-env): Likewise.
41697         (test-program-cmd): Define in terms of new variables.
41698         * Rules (make-test-out): Use $(run-program-env).
41699         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
41700         (help): Do not mention environment variables.  Mention
41701         --timeoutfactor option.
41702         (timeoutfactor): New variable.
41703         (blacklist_exports): Remove function.
41704         (exports): Remove variable.
41705         (command): Do not include ${exports}.
41706         * manual/install.texi (Configuring and compiling): Do not mention
41707         test wrappers preserving environment variables.  Mention that last
41708         assignment to a variable must take precedence.
41709         * INSTALL: Regenerated.
41710         * benchtests/Makefile (run-bench): Use $(run-program-env).
41711         * catgets/Makefile ($(objpfx)test1.cat): Use
41712         $(built-program-cmd-before-env), $(run-program-env) and
41713         $(built-program-cmd-after-env).
41714         ($(objpfx)test2.cat): Do not specify environment variables
41715         explicitly.
41716         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
41717         $(run-program-env) and $(built-program-cmd-after-env).
41718         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
41719         $(run-program-env) and $(test-program-cmd-after-env).
41720         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
41721         explicitly.
41722         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
41723         run_program_env and test_program_cmd_after_env arguments.
41724         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
41725         * elf/tst-pathopt.sh: Use run_program_env argument.
41726         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
41727         $(test-wrapper-env) and $(run-program-env).
41728         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
41729         run_program_env arguments.
41730         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
41731         * intl/Makefile ($(objpfx)tst-gettext.out): Use
41732         $(test-program-prefix-before-env), $(run-program-env) and
41733         $(test-program-prefix-after-env).
41734         ($(objpfx)tst-gettext2.out): Likewise.
41735         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
41736         run_program_env and test_program_prefix_after_env arguments.
41737         * intl/tst-gettext2.sh: Likewise.
41738         * intl/tst-gettext4.sh: Do not set environment variables
41739         explicitly.
41740         * intl/tst-gettext6.sh: Likewise.
41741         * intl/tst-translit.sh: Likewise.
41742         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
41743         $(test-program-prefix-before-env), $(run-program-env) and
41744         $(test-program-prefix-after-env).
41745         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
41746         run_program_env and test_program_prefix_after_env arguments.
41747         * math/Makefile (run-regen-ulps): Use $(run-program-env).
41748         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
41749         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
41750         explicitly with each use of ${test_wrapper_env}.
41751         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
41752         $(test-program-prefix-before-env), $(run-program-env) and
41753         $(test-program-prefix-after-env).
41754         * posix/tst-getconf.sh: Do not set environment variables
41755         explicitly.
41756         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
41757         run_program_env and test_program_prefix_after_env arguments.
41758         * stdio-common/tst-printf.sh: Do not set environment variables
41759         explicitly.
41760         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
41761         $(test-program-prefix-before-env), $(run-program-env) and
41762         $(test-program-prefix-after-env).
41763         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
41764         run_program_env and test_program_prefix_after_env arguments.
41765         Split $test calls into $test_pre and $test.
41766         * timezone/Makefile (build-testdata): Use
41767         $(built-program-cmd-before-env), $(run-program-env) and
41768         $(built-program-cmd-after-env).
41770 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41772         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
41773         strlen for non SHARED builds.
41775 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41777         * nptl/allocatestack.c (check_list): Inlined function...
41778         (__reclaim_stacks): ... here.
41780 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
41782         [BZ #15698]
41783         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41784         memory overrun.
41786 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
41788         * Rules (make-test-out): Include
41789         LOCPATH=$(common-objpfx)localedata in default environment.
41790         * debug/Makefile (tst-chk1-ENV): Remove variable.
41791         (tst-chk2-ENV): Likewise.
41792         (tst-chk3-ENV): Likewise.
41793         (tst-chk4-ENV): Likewise.
41794         (tst-chk5-ENV): Likewise.
41795         (tst-chk6-ENV): Likewise.
41796         (tst-lfschk1-ENV): Likewise.
41797         (tst-lfschk2-ENV): Likewise.
41798         (tst-lfschk3-ENV): Likewise.
41799         (tst-lfschk4-ENV): Likewise.
41800         (tst-lfschk5-ENV): Likewise.
41801         (tst-lfschk6-ENV): Likewise.
41802         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
41803         (tst-iconv7-ENV): Likewise.
41804         * intl/Makefile (LOCPATH-ENV): Likewise.
41805         (tst-codeset-ENV): Likewise.
41806         (tst-gettext3-ENV): Likewise.
41807         (tst-gettext5-ENV): Likewise.
41808         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
41809         (tst-fopenloc-ENV): Likewise.
41810         (tst-fgetws-ENV): Remove variable.
41811         (tst-ungetwc1-ENV): Likewise.
41812         (tst-ungetwc2-ENV): Likewise.
41813         (bug-ungetwc2-ENV): Likewise.
41814         (tst-swscanf-ENV): Likewise.
41815         (bug-ftell-ENV): Likewise.
41816         (tst-fgetwc-ENV): Likewise.
41817         (tst-fseek-ENV): Likewise.
41818         (tst-ftell-partial-wide-ENV): Likewise.
41819         (tst-ftell-active-handler-ENV): Likewise.
41820         (tst-ftell-append-ENV): Likewise.
41821         * posix/Makefile (tst-fnmatch-ENV): Likewise.
41822         (tst-regexloc-ENV): Likewise.
41823         (bug-regex1-ENV): Likewise.
41824         (tst-regex-ENV): Likewise.
41825         (tst-regex2-ENV): Likewise.
41826         (bug-regex5-ENV): Likewise.
41827         (bug-regex6-ENV): Likewise.
41828         (bug-regex17-ENV): Likewise.
41829         (bug-regex18-ENV): Likewise.
41830         (bug-regex19-ENV): Likewise.
41831         (bug-regex20-ENV): Likewise.
41832         (bug-regex22-ENV): Likewise.
41833         (bug-regex23-ENV): Likewise.
41834         (bug-regex25-ENV): Likewise.
41835         (bug-regex26-ENV): Likewise.
41836         (bug-regex30-ENV): Likewise.
41837         (bug-regex32-ENV): Likewise.
41838         (bug-regex33-ENV): Likewise.
41839         (bug-regex34-ENV): Likewise.
41840         (bug-regex35-ENV): Likewise.
41841         (tst-rxspencer-ENV): Likewise.
41842         (tst-rxspencer-no-utf8-ENV): Likewise.
41843         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
41844         (tst-sscanf-ENV): Likewise.
41845         (tst-swprintf-ENV): Likewise.
41846         (tst-swscanf-ENV): Likewise.
41847         (test-vfprintf-ENV): Likewise.
41848         (scanf13-ENV): Likewise.
41849         (bug14-ENV): Likewise.
41850         (tst-grouping-ENV): Likewise.
41851         * stdlib/Makefile (tst-strtod-ENV): Likewise.
41852         (tst-strtod3-ENV): Likewise.
41853         (tst-strtod4-ENV): Likewise.
41854         (tst-strtod5-ENV): Likewise.
41855         (testmb2-ENV): Likewise./
41856         * string/Makefile (tst-strxfrm-ENV): Likewise.
41857         (tst-strxfrm2-ENV): Likewise.
41858         (bug-strcoll1-ENV): Likewise.
41859         (test-strcasecmp-ENV): Likewise.
41860         (test-strncasecmp-ENV): Likewise.
41861         * time/Makefile (tst-strptime-ENV): Likewise.
41862         (tst-ftime_l-ENV): Likewise.
41863         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
41864         (tst-mbrtowc-ENV): Likewise.
41865         (tst-wcrtomb-ENV): Likewise.
41866         (tst-mbrtowc2-ENV): Likewise.
41867         (tst-c16c32-1-ENV): Likewise.
41868         (tst-mbsnrtowcs-ENV): Likewise.
41870 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
41872         * manual/resource.texi (How to get information about the memory
41873         subsystem?): Fix typo.
41874         Reported by Peon de la Parra Ivan <peon@keba.com>
41876 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
41878         [BZ #16882]
41879         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
41880         (pthread_spin_lock): Branch out of spin loop to proper location.
41881         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
41882         (pthread_spin_lock): Likewise.
41884         * nptl/tst-spin4.c: New test.
41885         * nptl/Makefile (tests): Add tst-spin4.
41887 2014-06-03  Andreas Schwab  <schwab@suse.de>
41889         [BZ #15946]
41890         * resolv/res_send.c (send_dg): Reload file descriptor after
41891         calling reopen.
41893 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
41895         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41897 2014-06-03  Richard Henderson  <rth@redhat.com>
41899         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
41900         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
41901         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
41902         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
41903         in the SAVE_PID block.
41904         (__libc_vfork): New alias.
41905         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
41907         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
41908         child in registers, not on the stack.  Remove RESET_PID conditionals.
41909         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
41911 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41913         * sysdeps/aarch64/libm-test-ulps: Regenerate.
41915 2014-06-03  Wilco  <wdijkstr@arm.com>
41917         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
41918         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41919         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41920         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
41921         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
41922         Likewise.
41924 2014-06-03  Wilco  <wdijkstr@arm.com>
41926         * sysdeps/aarch64/fpu/math_private.h
41927         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
41928         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
41929         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
41930         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41931         Fix declarations.
41933 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41935         * crypt/crypt-private.h: Include ufc-crypt.h.
41936         (__b64_from_24bit): Declare extern.
41937         * crypt/crypt_util.c(__b64_from_24bit): New function.
41938         (b64t): New static const variable.
41939         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
41940         (b64t): Remove variable.
41941         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
41942         * crypt/sha256-crypt.c: Include crypt-private.h.
41943         (b64t): Remove variable.
41944         (__sha256_crypt_r): Remove b64_from_24bit and replace
41945         with __b64_from_24bit.
41946         * crypt/sha512-crypt.c: Likewise.
41948 2014-06-02  Roland McGrath  <roland@hack.frob.com>
41950         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
41951         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
41952         Label the code __libc_vfork rather than __vfork.
41953         [!NOT_IN_libc] (vfork): Define as weak alias.
41954         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
41955         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
41956         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
41958 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41960         * malloc/malloc.c (malloc_info): Fix format specifier for
41961         n_mmaps.
41963 2014-06-02  Wilco  <wdijkstr@arm.com>
41965         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
41966         FPCR write.
41968 2014-06-02  Wilco  <wdijkstr@arm.com>
41970         [BZ #17009]
41971         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
41972         Rewrite to reduce FPCR/FPSR accesses.
41974 2014-06-01  David S. Miller  <davem@davemloft.net>
41976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41978 2014-05-31  David S. Miller  <davem@davemloft.net>
41980         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
41981         to occur in round to nearest mode when |x| >= 2.0
41983 2014-05-30  Richard Henderson  <rth@twiddle.net>
41985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
41986         (PSEUDO_RET_NOERRNO): Remove.
41987         (ret): Don't redefine.
41988         (ret_NOERRNO): Define in terms of ret.
41989         (ret_ERRVAL): Likewise.
41991         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
41992         use of PSEUDO_RET; perform the error check directly.
41994 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
41996         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
41997         with __int128_t.
41999 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42001         * malloc/malloc (malloc_info): Fix formatting.
42003 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42004             Roland McGrath  <roland@hack.frob.com>
42006         * malloc/malloc (malloc_info): Also print mmapped statistics.
42008 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42010         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42011         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42013 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42015         * malloc/malloc.c (malloc_info): Inline mi_arena.
42017 2014-05-29  Richard Henderson  <rth@twiddle.net>
42019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42020         Remove comma before expanding ASM_ARGS_##nr.
42021         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42022         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42023         of ASM_ARGS_##nr.
42024         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42025         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42026         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42027         (ASM_ARGS_1): Add leading comma.
42029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42030         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42031         to __errno_location.
42032         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42033         Remove the expected plt for __errno_location.
42035         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42036         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42037         call to __read_tp.
42039         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42040         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42041         it and break it down.
42042         (DOCARGS_0, DOCARGS_1): Do nothing.
42043         (DOCARGS_2): Update to store into the new stack frame.
42044         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42045         (UNDOCARGS_1): Update to restore from the new stack frame.
42046         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42047         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42049         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42050         (SINGLE_THREAD_P): New parameter for result regno.
42051         (PSEUDO): Update to match; use cbz instead of beq.
42053         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42054         Use ENTRY to define the _nocancel entry point.  Share the syscall
42055         and syscall error check paths with the cancel path.
42056         (PSEUDO_END): New.
42058         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42059         whitespace; tabs before and after asm mnemonics.
42061 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42063         [BZ #15132]
42064         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42065         Call fstat64 or stat64 internally, depending on arguments passed.
42066         Replace stat buffer argument with file descriptor argument.
42067         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42068         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42069         Pass fd to __internal_statvfs instead of calling fstat64.
42070         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42071         Pass fd to __internal_statvfs64 instead of calling fstat64.
42072         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42073         Pass -1 to __internal_statvfs instead of calling stat64.
42074         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42075         Pass -1 to __internal_statvfs64 instead of calling stat64.
42077 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42079         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42080         that was previously under [RESET_PID].
42081         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42083         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42084         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42086 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42088         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42090         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42091         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42093 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42095         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42097 2014-05-27  Andreas Schwab  <schwab@suse.de>
42099         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42100         TLS_INIT_TP macro.
42101         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42102         * elf/rtld.c (init_tls, dl_main): Likewise.
42103         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42104         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42105         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42106         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42107         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42108         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42109         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42110         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42111         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42112         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42113         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42114         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42115         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42116         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42117         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42118         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42119         * sysdeps/generic/tls.h: Update description.
42121 2014-05-27  Will Newton  <will.newton@linaro.org>
42123         [BZ #16990]
42124         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42125         and restore r2 rather than just restoring.
42127 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42129         [BZ #16724]
42130         * libio/tst-ftell-append.c: New test case.
42131         * libio/Makefile (tests): Add test case.
42132         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42133         append mode.
42134         * libio/wfileops.c (do_ftell_wide): Likewise.
42136 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42140         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42141         ...
42142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42144         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42145         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42146         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42147         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42148         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42149         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42151         Moved ...
42152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42154         Moved ...
42155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42156         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42157         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42158         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42159         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42160         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42161         ...
42162         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42163         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42164         Moved ...
42165         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42166         here.
42167         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42168         ...
42169         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42170         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42171         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42173         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42174         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42175         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42176         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42178         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42179         merge into ...
42180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42182         ...
42183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42185         ...
42186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42188         Moved ...
42189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42190         here.
42191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42192         Moved ...
42193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42195         Moved ...
42196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42199         conditional [RESET_PID].
42200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42202         removed.
42203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42204         removed.
42206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42207         <tcb-offsets.h>.
42208         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42209         (__libc_vfork): New strong alias.
42210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42211         removed.
42212         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42213         Removed.
42215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42216         <tcb-offsets.h>.
42217         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42218         (__libc_vfork): New strong alias.
42219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42220         removed.
42221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42222         removed.
42224 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42226         * malloc/malloc.c (mi_arena): New function.
42227         (malloc_info): Remove nested function mi_arena. Call non-nosted
42228         function mi_arena.
42230 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42232         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42233         by insrwi.
42234         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42235         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42236         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42237         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42238         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42239         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42240         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42242 2014-05-26  Andreas Schwab  <schwab@suse.de>
42244         [BZ #16984]
42245         * locale/programs/repertoire.c (repertoire_read): Add slash
42246         between I18NPATH element and file name.
42247         * locale/programs/locfile.c (locfile_read): Likewise.
42249 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42251         * nptl/pthread_mutexattr_settype.c
42252         (__pthread_mutexattr_settype):
42253         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42255 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42257         * nptl/tst-mutex5 (do_test):
42258         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42260 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42262         * benchtests/README: Document 'init' directive.
42263         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42264         BENCH_INIT.
42265         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42266         (parse_file): Recognize 'init' directive.
42268 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42270         [BZ #16796]
42271         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42272         alignment of struct pthread.
42274 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42276         [BZ #16878]
42277         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42278         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42279         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42280         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42282 2014-05-25  Richard Henderson  <rth@twiddle.net>
42284         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42285         (SINGLE_THREAD_P_PIC): Remove.
42286         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42287         (SINGLE_THREAD_P_PIC): Remove.
42289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42290         branch to syscall error ...
42291         (PSEUDO): ... here.
42292         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42293         from __local_syscall_error to .Lsyscall_error.
42294         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42295         (SYSCALL_ERROR): Update label name.
42297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42298         Do not use DOARGS/UNDOARGS.
42299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42300         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42301         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42302         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42303         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42306         block comment.
42308         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42309         define if !NOT_IN_libc.
42310         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42311         define with non-default symbol versions.
42313 2014-05-23  Richard Henderson  <rth@twiddle.net>
42315         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42316         (vfork, __vfork): Define via compat_symbol.
42318         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42319         [!HAVE_IFUNC] (vfork_compat): Remove.
42320         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42322 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42324         [BZ #16978]
42325         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42326         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42327         variable.
42329 2014-05-23  Richard Henderson  <rth@twiddle.net>
42331         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42332         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42333         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42334         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42336         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42337         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42338         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42339         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42340         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42341         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42342         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42343         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42344         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42345         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42346         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42347         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42348         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42349         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42350         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42351         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42352         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42353         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42354         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42355         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42356         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42357         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
42358         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
42359         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
42360         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
42361         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
42362         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
42363         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
42364         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
42365         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
42366         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
42367         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
42368         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
42369         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42370         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
42371         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
42372         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
42373         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
42374         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
42375         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
42376         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
42377         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
42378         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
42379         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
42380         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
42381         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
42382         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
42383         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
42384         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
42385         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
42386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
42387         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
42388         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
42389         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
42390         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
42391         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
42393         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
42394         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
42395         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
42396         before exiting on error.
42397         (__libc_vfork): New strong alias.
42398         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
42399         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
42401         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
42402         that was previously under [RESET_PID].
42403         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
42405         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
42407 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42409         [BZ #16977]
42410         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
42411         value when x - 1 is zero.
42412         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
42413         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
42414         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
42415         0.0L for an argument of 1.0L.
42416         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
42417         Likewise.
42418         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
42419         value when x - 1 is zero.
42420         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
42421         * sysdeps/i386/fpu/libm-test-ulps: Update.
42422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42424 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42426         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
42427         alphasort and versionsort.
42429 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42431         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
42432         macro.
42433         [copysignf]: Likewise.
42435 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42437         * crypt/md5-crypt.c: Fix formatting.
42439 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42441         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
42442         (b64_from_24bit): New function.
42444 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42446         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
42447         libc_hidden_builtin_def to ifunc.
42448         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42449         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
42451 2014-05-21  Roland McGrath  <roland@hack.frob.com>
42453         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
42454         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
42456 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
42458         * nscd/Depend (linuxthreads): Remove.
42459         (nptl): Add.
42460         * resolv/Depend (linuxthreads): Remove.
42461         * rt/Depend (linuxthreads): Remove.
42463         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
42464         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
42465         $(common-objpfx)elf/.
42466         (link-libc-before-gnulib): Likewise.
42467         (elfobjdir): Remove variable.
42468         * Makefile (install): Use $(elf-objpfx) instead of
42469         $(common-objpfx)elf/.
42470         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
42471         $(elfobjdir)/.
42472         (link-libc-deps): Likewise.
42473         ($(common-objpfx)libc.so): Likewise.
42474         ($(common-objpfx)linkobj/libc.so): Likewise.
42475         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
42476         instead of $(common-objpfx)elf/.
42477         (symbolic-link-list): Likewise.
42478         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42479         [$(cross-compiling) = no]: Likewise.
42480         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
42481         $(elfobjdir)/.
42482         (static-gnulib-arch): Likewise.
42483         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42484         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
42485         $(common-objpfx)elf/.
42487 2014-05-21  Richard Henderson  <rth@redhat.com>
42489         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42490         (SINGLE_THREAD_P): Use the correct width load.  Fold
42491         into the ldr offset.
42493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
42494         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
42496 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
42498         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
42499         (libgcc_s_resume): Use __attribute_used__.
42500         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
42501         Likewise.
42503 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42505         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
42506         optimization when used with float constants.
42508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42510 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
42512         [BZ #16915]
42513         * locale/nl_langinfo_l.c: Make direct reference to every
42514         _nl_current_CATEGORY symbol.
42515         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
42516         (tests-static): Add tst-langinfo-static.
42517         (tests-special): Add tst-langinfo-static.out.
42518         ($(objpfx)tst-langinfo.out): Redirect output.
42519         ($(objpfx)tst-langinfo-static.out): New.
42520         * localedata/tst-langinfo.sh: Send output to stdout.
42521         * localedata/tst-langinfo-static.c: New file.
42523         [BZ #16965]
42524         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
42525         when the shift amount is modulo the limb size.
42527 2014-05-20  Richard Henderson  <rth@redhat.com>
42529         [BZ #16967]
42530         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
42531         Change type of sa_flags from unsigned int to int.
42533         [BZ #16966]
42534         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
42536         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
42538 2014-05-20  Will Newton  <will.newton@linaro.org>
42540         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42541         Test the return value of the system call in the nocancel case.
42543 2014-05-20  Will Newton  <will.newton@linaro.org>
42544             Yvan Roux  <yvan.roux@linaro.org>
42546         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
42547         #include of asm/ptrace.h.
42548         (PTRACE_GET_THREAD_AREA): Remove #undef.
42549         (PTRACE_GETHBPREGS): Likewise.
42550         (PTRACE_SETHBPREGS): Likewise.
42551         (struct user_regs_struct): New structure.
42552         (struct user_fpsimd_struct): New structure.
42553         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
42554         #include of asm/ptrace.h and second #include of sys/user.h.
42555         (PTRACE_GET_THREAD_AREA): Remove #undef.
42556         (PTRACE_GETHBPREGS): Likewise.
42557         (PTRACE_SETHBPREGS): Likewise.
42558         (ELF_NGREG): Use new struct user_regs_struct.
42559         (elf_fpregset_t): Use new struct user_fpsimd_struct.
42561 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42563         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
42564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
42566 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
42568         [BZ #16958]
42569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
42570         membar to avoid block loads/stores to overlap previous stores.
42572 2014-05-17  Richard Henderson  <rth@redhat.com>
42574         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
42575         Create the __##syscall_name##_nocancel entry point.
42576         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
42577         Remove; let the sysdep-cancel.h code create it.
42579 2014-05-17  David S. Miller  <davem@davemloft.net>
42581         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
42582         Protect with __USE_GNU.
42583         (TIOCSET_TEMPT): Likewise.
42584         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42585         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
42586         these are already provided in bits/ioctl-types.h
42588 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42590         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
42591         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
42593         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
42594         Use wait4 regardless of [__NR_waitpid].
42596 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42598         PR libgcc/60166
42599         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42600         (_FP_NANSIGN_Q): Set the quiet bit.
42602 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
42604         * benchtests/Makefile
42605         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
42606         not $(common-objpfx)math/libm.so.
42607         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
42608         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
42609         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
42610         $(common-objpfx)dlfcn/libdl.so.
42611         ($(objpfx)tst-audit8): Depend on $(libm), not
42612         $(common-objpfx)math/libm.so.
42613         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
42614         not $(common-objpfx)dlfcn/libdl.so.
42615         * math/Makefile
42616         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42617         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
42618         [$(build-shared) = yes].
42619         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
42620         $(common-objpfx)nptl/libpthread.so.
42621         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
42622         $(common-objpfx)math/libm.so$(libm.so-version) or
42623         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
42624         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
42625         $(common-objpfx)dlfcn/libdl.so.
42626         * setjmp/Makefile (link-libm): Remove variable.
42627         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
42628         * stdio-common/Makefile (link-libm): Remove variable.
42629         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
42630         * stdlib/Makefile (link-libm): Remove variable.
42631         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
42632         ($(objpfx)tst-strtod-round): Likewise.
42633         ($(objpfx)tst-tininess): Likewise.
42634         ($(objpfx)tst-strtod-underflow): Likewise.
42635         ($(objpfx)tst-strtod6): Likewise.
42636         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
42637         $(libdl), not $(common-objpfx)nptl/libpthread.so and
42638         $(common-objpfx)dlfcn/libdl.so.
42640 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42642         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
42643         BSD terminal modes definitions.
42645 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42647         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
42648         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
42650         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
42651         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
42652         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
42653         Don't do #include_next.
42654         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
42655         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
42656         Don't do #include_next.
42657         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
42658         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
42659         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
42660         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
42662 2014-05-16  Allan McRae  <allan@archlinux.org>
42664         * po/sv.po: Update Swedish translation from translation project.
42666         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
42667         in sed expression.
42669 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
42671         [BZ #16917]
42672         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
42673         errno if the TIOCGPTN ioctl fails with an error different than
42674         EINVAL.
42675         * login/tst-ptsname.c: New file.
42676         * login/Makefile (tests): Add tst-ptsname.
42678         [BZ #16943]
42679         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
42680         and prlimit64.
42682 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42684         [BZ #16849]
42685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
42686         herrno to return EAI_AGAIN.
42688 2014-05-14  Roland McGrath  <roland@hack.frob.com>
42690         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
42691         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
42692         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
42693         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
42694         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
42695         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
42696         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
42697         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
42698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
42699         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
42700         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
42701         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
42702         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
42703         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
42704         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
42705         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
42706         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
42707         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
42708         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
42709         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
42710         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
42711         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
42712         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
42713         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
42714         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
42715         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
42716         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
42717         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
42718         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
42719         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
42720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
42721         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
42722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
42723         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
42724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42725         Moved ...
42726         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
42727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
42728         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
42729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
42730         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
42731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
42732         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
42733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
42734         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
42735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
42736         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
42737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
42738         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
42739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
42740         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
42741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
42742         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
42743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
42744         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
42745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
42746         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
42747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
42748         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
42749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
42750         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
42751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
42752         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
42753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42754         Moved ...
42755         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
42756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
42757         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
42758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
42759         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
42760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
42761         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
42762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
42763         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
42764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
42765         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
42766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
42767         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
42768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
42769         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
42770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
42771         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
42772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
42773         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
42774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42775         Moved ...
42776         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
42777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
42778         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
42780         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
42781         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
42782         (libpthread-sysdep_routines): Add elision-related stuff here instead.
42783         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
42784         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
42785         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
42786         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
42787         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
42788         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
42789         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
42790         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
42791         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
42792         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
42793         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
42794         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
42795         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
42796         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
42797         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
42798         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
42799         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
42800         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
42801         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
42802         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
42803         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
42804         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
42805         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
42806         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
42807         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
42808         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
42809         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
42810         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
42812         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
42813         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
42815         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
42816         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
42817         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
42818         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
42819         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
42820         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
42821         Moved ...
42822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
42823         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
42824         Moved ...
42825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
42826         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
42827         Moved ...
42828         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
42829         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
42830         Moved ...
42831         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
42832         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
42833         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
42834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
42835         Moved ...
42836         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
42837         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
42838         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
42839         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
42840         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
42841         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
42842         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
42843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
42844         Moved ...
42845         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
42846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42847         Moved ...
42848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42849         ... here.
42850         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
42851         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
42852         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
42853         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
42854         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42855         Moved ...
42856         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42857         ... here.
42858         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
42859         Moved ...
42860         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
42861         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
42862         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
42863         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
42864         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
42865         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
42866         Moved ...
42867         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
42868         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
42869         Moved ...
42870         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
42871         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
42872         Moved ...
42873         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
42874         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
42875         Moved ...
42876         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
42877         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
42878         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
42879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
42880         Moved ...
42881         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
42882         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
42883         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
42884         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
42885         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
42886         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
42887         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
42888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
42889         Moved ...
42890         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
42891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42892         Moved ...
42893         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42894         ... here.
42895         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
42896         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
42897         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
42898         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
42899         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42900         Moved ...
42901         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42902         ... here.
42903         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
42904         Moved ...
42905         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
42906         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
42907         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
42908         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
42909         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
42910         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
42911         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
42912         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
42913         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
42914         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
42915         Moved ...
42916         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
42917         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
42918         Moved ...
42919         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
42920         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
42921         Moved ...
42922         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
42923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
42924         Moved ...
42925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
42926         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
42927         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
42928         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
42929         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
42930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
42931         Moved ...
42932         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
42933         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
42934         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
42935         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
42936         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
42937         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
42938         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
42939         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
42940         Moved ...
42941         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
42942         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42943         Moved ...
42944         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42945         ... here.
42946         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
42947         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
42948         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
42949         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
42950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42951         Moved ...
42952         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42953         ... here.
42954         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
42955         Moved ...
42956         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
42957         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
42958         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
42959         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
42960         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
42961         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
42962         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
42963         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
42964         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
42965         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
42966         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
42968         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
42969         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
42971         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
42972         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
42974         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
42975         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
42976         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
42977         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
42978         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
42979         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
42980         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
42981         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
42982         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
42983         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
42984         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
42985         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
42986         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
42987         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
42988         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
42989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
42990         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
42991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
42992         Moved ...
42993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
42994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
42995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
42996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
42997         Moved ...
42998         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
42999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43000         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43002         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43004         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43005         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43006         Moved ...
43007         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43009         Moved ...
43010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43014         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43015         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43016         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43017         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43018         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43019         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43020         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43021         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43022         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43023         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43024         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43025         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43026         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43028         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43029         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43030         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43031         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43032         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43034         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43035         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43036         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43037         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43038         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43039         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43040         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43041         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43042         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43043         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43048         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43049         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43050         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43051         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43052         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43053         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43054         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43055         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43056         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43057         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43058         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43059         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43060         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43061         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43063         Update #include.
43064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43065         Likewise.
43066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43067         Likewise.
43068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43069         Likewise.
43070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43071         Likewise.
43072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43073         Likewise.
43074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43075         Likewise.
43076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43077         Likewise.
43078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43079         Likewise.
43080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43081         Likewise.
43082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43091         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43093         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43095         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43098         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43099         that was previously under [RESET_PID].
43100         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43101         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43102         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43104         * sysdeps/i386/nptl/Implies: New file.
43105         * sysdeps/x86_64/nptl/Implies: New file.
43106         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43107         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43108         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43109         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43111         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43112         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43113         (__libc_vfork): New strong alias.
43114         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43115         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43117         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43118         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43119         (__libc_vfork): New strong alias.
43120         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43121         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43123         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43124         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43125         (__libc_vfork): New strong alias.
43126         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43127         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43128         * nptl/pt-vfork.c: New file.
43129         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43130         (libpthread: GLIBC_2.20): New version set (empty).
43132 2014-05-14  Will Newton  <will.newton@linaro.org>
43134         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43135         rather than #if.
43137 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43139         [BZ #16564]
43140         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43141         arguments with exponent 65 or above.
43142         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43143         arguments 0x1p113L or above.
43144         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43145         to arguments 0x1p107L or above.
43146         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43147         positive arguments with exponent 65 or above.
43148         * math/auto-libm-test-in: Add more tests of log1p.
43149         * math/auto-libm-test-out: Regenerated.
43151         [BZ #16928]
43152         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43153         non-finite arguments is +0.
43154         * math/s_cacosf.c (__cacosf): Likewise.
43155         * math/s_cacosl.c (__cacosl): Likewise.
43156         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43157         * sysdeps/i386/fpu/libm-test-ulps: Update.
43158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43160         [BZ #16927]
43161         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43162         value.
43163         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43164         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43165         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43166         for explicit high bit of mantissa when testing for argument equal
43167         to 1.
43168         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43169         * sysdeps/i386/fpu/libm-test-ulps: Update.
43170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43172         [BZ #16516]
43173         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43174         (__erf): Scale by 16 instead of 8 in potentially underflowing
43175         case.  Ensure exception if result actually underflows.
43176         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43177         (__erff): Scale by 16 instead of 8 in potentially underflowing
43178         case.  Ensure exception if result actually underflows.
43179         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43180         (efx8): Remove variable.
43181         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43182         case.  Ensure exception if result actually underflows.
43183         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43184         (efx8): Remove variable.
43185         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43186         case.  Ensure exception if result actually underflows.
43187         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43188         (efx8): Remove variable.
43189         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43190         case.  Ensure exception if result actually underflows.
43191         * math/auto-libm-test-in: Add more tests of erf.
43192         * math/auto-libm-test-out: Regenerated.
43194 2014-05-14  Andreas Schwab  <schwab@suse.de>
43196         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43197         Remove code conditionalized on USE___THREAD.
43199         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43200         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43201         not definedness.
43203 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43205         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43206         Define unconditionally.
43207         (__ASSUME_O_CLOEXEC): Likewise.
43208         (__ASSUME_SOCK_CLOEXEC): Likewise.
43209         (__ASSUME_IN_NONBLOCK): Likewise.
43210         (__ASSUME_PIPE2): Likewise.
43211         (__ASSUME_EVENTFD2): Likewise.
43212         (__ASSUME_SIGNALFD4): Likewise.
43213         (__ASSUME_DUP3): Likewise.
43214         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43215         (__ASSUME_DUP3): Do not define.
43216         (__ASSUME_EVENTFD2): Likewise.
43217         (__ASSUME_IN_NONBLOCK): Likewise.
43218         (__ASSUME_O_CLOEXEC): Likewise.
43219         (__ASSUME_PIPE2): Likewise.
43220         (__ASSUME_SIGNALFD4): Likewise.
43221         (__ASSUME_SOCK_CLOEXEC): Likewise.
43222         (__ASSUME_UTIMES): Undefine.
43223         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43224         (__ASSUME_UTIMES): Do not define.
43225         (__ASSUME_O_CLOEXEC): Likewise.
43226         (__ASSUME_SOCK_CLOEXEC): Likewise.
43227         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43228         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43229         0x020621].
43230         (__ASSUME_PIPE2): Likewise.
43231         (__ASSUME_EVENTFD2): Likewise.
43232         (__ASSUME_SIGNALFD4): Likewise.
43233         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43234         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43235         Do not define.
43236         (__ASSUME_EVENTFD2): Likewise.
43237         (__ASSUME_SIGNALFD4): Likewise.
43238         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43239         (__ASSUME_32BITUIDS): Likewise.
43240         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43241         (__ASSUME_IPC64): Likewise.
43242         (__ASSUME_ST_INO_64_BIT): Likewise.
43243         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43244         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43245         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43246         (__ASSUME_UTIMES): Do not define.
43247         (__ASSUME_PSELECT): Likewise.
43248         (__ASSUME_PPOLL): Likewise.
43249         (__ASSUME_O_CLOEXEC): Likewise.
43250         (__ASSUME_SOCK_CLOEXEC): Likewise.
43251         (__ASSUME_IN_NONBLOCK): Likewise.
43252         (__ASSUME_PIPE2): Likewise.
43253         (__ASSUME_EVENTFD2): Likewise.
43254         (__ASSUME_SIGNALFD4): Likewise.
43255         (__ASSUME_DUP3): Likewise.
43256         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43257         (__ASSUME_UTIMES): Likewise.
43258         (__ASSUME_O_CLOEXEC): Likewise.
43259         (__ASSUME_SOCK_CLOEXEC): Likewise.
43260         (__ASSUME_IN_NONBLOCK): Likewise.
43261         (__ASSUME_PIPE2): Likewise.
43262         (__ASSUME_EVENTFD2): Likewise.
43263         (__ASSUME_SIGNALFD4): Likewise.
43264         (__ASSUME_DUP3): Likewise.
43265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43266         (__ASSUME_UTIMES): 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/mips/kernel-features.h (__ASSUME_IPC64):
43275         Likewise.
43276         (__ASSUME_UTIMES): Likewise.
43277         (__ASSUME_EVENTFD2): Likewise.
43278         (__ASSUME_SIGNALFD4): Likewise.
43279         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43280         (__ASSUME_O_CLOEXEC): Likewise.
43281         (__ASSUME_SOCK_CLOEXEC): Likewise.
43282         (__ASSUME_IN_NONBLOCK): Likewise.
43283         (__ASSUME_PIPE2): Likewise.
43284         (__ASSUME_EVENTFD2): Likewise.
43285         (__ASSUME_SIGNALFD4): Likewise.
43286         (__ASSUME_DUP3): Likewise.
43287         (__ASSUME_UTIMES): Undefine.
43289         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43290         feclearexcept.  Remove symbol versioning code.
43291         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43292         symbol versioning code.
43293         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43294         symbol versioning code.
43295         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43296         feupdateenv.  Remove symbol versioning code.
43297         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43298         fegetexceptflag.  Remove symbol versioning code.
43299         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43300         fesetexceptflag.  Remove symbol versioning code.
43301         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43302         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43303         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43304         (__posix_fadvise64_l32): Remove prototype.
43305         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43306         code.
43308 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43310         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43311         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43312         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43313         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43315 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43317         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43318         current working directory
43320 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43322         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43323         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43324         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43325         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43326         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43327         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43328         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43329         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43330         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43331         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43332         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43333         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43334         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43335         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43336         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43337         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43338         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43339         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43340         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43341         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43342         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43343         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43344         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43345         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43346         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43347         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43348         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43349         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43350         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43351         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43352         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43353         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43354         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43355         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43356         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43357         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
43358         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
43359         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
43360         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
43361         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
43362         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
43363         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
43365         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
43366         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
43368         * sysdeps/unix/sysv/linux/arm/Makefile
43369         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
43370         Add rt-aeabi_unwind_cpp_pr1.
43371         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
43372         Add nptl-aeabi_unwind_cpp_pr1.
43373         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
43374         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
43375         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
43376         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43377         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
43378         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43380         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
43381         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
43382         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
43383         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
43385         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
43386         Deconditionalize the code that was previously under [RESET_PID].
43387         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
43389         * sysdeps/generic/exit-thread.h: New file.
43390         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
43391         * include/unistd.h (__exit_thread): Remove declaration.
43392         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
43393         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
43394         * csu/libc-start.c: Include <exit-thread.h>.
43395         (LIBC_START_MAIN): Pass no argument to __exit_thread.
43396         * nptl/pthread_create.c: Include <exit-thread.h>.
43397         (start_thread): Call __exit_thread in place of __exit_thread_inline.
43398         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
43399         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
43400         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
43401         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
43402         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
43403         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
43404         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43405         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
43406         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
43407         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
43408         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
43409         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
43410         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
43411         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
43412         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
43413         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
43415 2014-05-13  Andreas Schwab  <schwab@suse.de>
43417         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
43419 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
43421         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43422         (__ASSUME_UTIMES): Do not condition on kernel version.
43423         (__ASSUME_PSELECT): Define unconditionally.
43424         (__ASSUME_PPOLL): Likewise.
43425         (__ASSUME_ATFCTS): Likewise.
43426         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
43427         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
43428         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
43429         (__ASSUME_UTIMENSAT): Define unconditionally.
43430         (__ASSUME_PRIVATE_FUTEX): Likewise.
43431         (__ASSUME_FALLOCATE): Likewise.
43432         (__ASSUME_O_CLOEXEC): Likewise.
43433         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
43434         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
43435         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
43436         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
43437         (__ASSUME_IN_NONBLOCK): Likewise.
43438         (__ASSUME_PIPE2): Likewise.
43439         (__ASSUME_EVENTFD2): Likewise.
43440         (__ASSUME_SIGNALFD4): Likewise.
43441         (__ASSUME_DUP3): Likewise.
43442         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43443         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
43444         (__ASSUME_AT_RANDOM): Likewise.
43445         (__ASSUME_PREADV): Likewise.
43446         (__ASSUME_PWRITEV): Likewise.
43447         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
43448         (__ASSUME_F_GETOWN_EX): Define unconditionally.
43449         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
43450         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43451         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
43452         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43453         (__ASSUME_O_CLOEXEC): Define unconditionally.
43454         (__ASSUME_PSELECT): Do not undefine conditionally.
43455         (__ASSUME_PPOLL): Likewise.
43456         (__ASSUME_ATFCTS): Likewise.
43457         (__ASSUME_SET_ROBUST_LIST): Likewise.
43458         (__ASSUME_UTIMENSAT): Likewise.
43459         (__ASSUME_FDATASYNC): Define unconditionally.
43460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43461         (__ASSUME_SIGFRAME_V2): Likewise.
43462         )__ASSUME_EVENTFD2): Likewise.
43463         (__ASSUME_SIGNALFD4): Likewise.
43464         (__ASSUME_PSELECT): Do not undefine conditionally.
43465         (__ASSUME_PPOLL): Likewise.
43466         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43467         (__ASSUME_PSELECT): Define unconditionally.
43468         (__ASSUME_PPOLL): Likewise.
43469         (__ASSUME_O_CLOEXEC): Likewise.
43470         (__ASSUME_SOCK_CLOEXEC): Likewise.
43471         (__ASSUME_IN_NONBLOCK): Likewise.
43472         (__ASSUME_PIPE2): Likewise.
43473         (__ASSUME_EVENTFD2): Likewise.
43474         (__ASSUME_SIGNALFD4): Likewise.
43475         (__ASSUME_DUP3): Likewise.
43476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43477         (__ASSUME_O_CLOEXEC): Likewise.
43478         (__ASSUME_SOCK_CLOEXEC): Likewise.
43479         (__ASSUME_IN_NONBLOCK): Likewise.
43480         (__ASSUME_PIPE2): Likewise.
43481         (__ASSUME_EVENTFD2): Likewise.
43482         (__ASSUME_SIGNALFD4): Likewise.
43483         (__ASSUME_DUP3): Likewise.
43484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43485         (__ASSUME_EVENTFD2): Likewise.
43486         (__ASSUME_SIGNALFD4): Likewise.
43487         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43489 2014-05-12  Andreas Schwab  <schwab@suse.de>
43491         [BZ #16932]
43492         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
43493         (_nss_nis_gethostbyname4_r): Return error if item length is larger
43494         than maximum RPC packet size.
43495         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
43496         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
43497         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
43498         (_nss_nis_getservbyport_r): Likewise.
43500 2014-05-12  Will Newton  <will.newton@linaro.org>
43502         * malloc/Makefile (tests): Add tst-mallopt.
43503         * malloc/tst-mallopt.c: New file.
43505 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43507         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
43508         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
43510 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43512         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
43513         (tst-tlsmod6.so): Likewise.
43515 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43517         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
43519 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
43521         [BZ #16064]
43522         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
43523         and <dl-procinfo.h>.
43524         (__fegetenv): Save SSE state in envp->__eip if supported.
43525         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
43526         envp->__eip if supported.
43527         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
43528         and <dl-procinfo.h>.
43529         (__fesetenv): Always set __eip, __cs_selector, __opcode,
43530         __data_offset and __data_selector in environment to 0.  Set SSE
43531         state if supported.
43532         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
43533         test-fenv-sse.
43534         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
43535         -mfpmath=sse.
43536         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
43538 2014-05-09  Will Newton  <will.newton@linaro.org>
43540         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
43541         and libc_relro_required for ARM.
43542         * sysdeps/arm/preconfigure: Regenerate.
43544 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
43545             Stefan Liebler  <stli@linux.vnet.ibm.com>
43547         * config.make.in (enable-lock-elision): New Makefile variable.
43548         * configure.ac: Likewise.
43549         * configure: Regenerate.
43550         * sysdeps/s390/configure.ac:
43551         Add check for gcc transactions support.
43552         * sysdeps/s390/configure: Regenerate.
43553         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
43554         Build elision files if enabled.
43555         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
43556         Add lock elision support for s390.
43557         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
43558         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
43559         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
43560         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
43561         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
43562         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
43563         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43564         Likewise.
43565         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
43566         Likewise.
43567         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
43568         Likewise.
43569         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
43570         Likewise.
43571         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
43572         (__lll_timedlock_elision, __lll_lock_elision)
43573         (__lll_unlock_elision, __lll_trylock_elision)
43574         (lll_timedlock_elision, lll_lock_elision)
43575         (lll_unlock_elision, lll_trylock_elision): Add.
43576         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43577         (pthread_mutex_t): Add lock elision support for s390.
43579 2014-05-14  Wilco  <wdijkstr@arm.com>
43581         * sysdeps/arm/fclrexcpt.c: Cleanup.
43582         * sysdeps/arm/fedisblxcpt.c: Cleanup.
43583         * sysdeps/arm/feenablxcpt.c: Cleanup.
43584         * sysdeps/arm/fegetenv.c: Cleanup.
43585         * sysdeps/arm/fegetexcept.c: Cleanup.
43586         * sysdeps/arm/fegetround.c: Cleanup.
43587         * sysdeps/arm/feholdexcpt.c: Cleanup.
43588         * sysdeps/arm/fesetenv.c: Cleanup.
43589         * sysdeps/arm/fesetround.c: Cleanup.
43590         * sysdeps/arm/feupdateenv.c: Cleanup.
43591         * sysdeps/arm/fgetexcptflg.c: Cleanup.
43592         * sysdeps/arm/fraiseexcpt.c: Cleanup.
43593         * sysdeps/arm/fsetexcptflg.c: Cleanup.
43594         * sysdeps/arm/ftestexcept.c: Cleanup.
43595         * sysdeps/arm/get-rounding-mode.h: Cleanup.
43596         * sysdeps/arm/setfpucw.c: Cleanup.
43598 2014-05-09  Will Newton  <will.newton@linaro.org>
43600         * sysdeps/arm/armv7/strcmp.S: New file.
43601         * NEWS: Mention addition of ARMv7 optimized strcmp.
43603 2014-05-08  Roland McGrath  <roland@hack.frob.com>
43605         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
43606         look for %.ac rather than %.in.
43608         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
43609         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
43610         * sysdeps/mach/hurd/configure: Regenerated.
43611         * sysdeps/unix/sysv/linux/configure: Regenerated.
43613         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
43615 2014-05-07  Steve Ellcey  <sellcey@mips.com>
43617         [BZ# 16922]
43618         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
43619         (LONG_SUB): Ditto.
43620         (PTR_SUB): Ditto.
43622 2014-05-07  Andreas Schwab  <schwab@suse.de>
43624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
43625         when skipping over non-matching result from nscd.
43627 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
43629         [BZ #16876]
43630         * nptl/sockperf.c (client): Check socket return value.
43632         [BZ #16877]
43633         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
43634         nscd security class.
43636 2014-05-06  Roland McGrath  <roland@hack.frob.com>
43638         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
43639         * sysdeps/arm/unwind.h: ... here.
43641 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
43643         [BZ# 16916]
43644         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
43645         Define.
43647 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43649         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
43650         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
43651         multiarch strncpy for PPC64.
43652         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
43653         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
43654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
43655         multiarch optimizations.
43656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43657         (__libc_ifunc_impl_list): Likewise.
43658         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
43659         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
43660         multiarch stpncpy for PPC64.
43661         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
43662         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
43664 2014-05-06  Andreas Schwab  <schwab@suse.de>
43666         [BZ #16912]
43667         * gmon/mcount.c (_MCOUNT_DECL): Use
43668         atomic_compare_and_exchange_bool_acq instead of
43669         catomic_compare_and_exchange_bool_acq.
43671 2014-05-05  Roland McGrath  <roland@hack.frob.com>
43673         * elf/Makefile (others, install-bin): Remove pldd.
43674         (pldd-modules): Variable removed.
43675         ($(objpfx)pldd): Target removed.
43676         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
43677         (others, install-bin): Append pldd here.
43678         ($(objpfx)pldd): New target.
43680         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
43681         to 0, so the first #if test emitted later doesn't see it undefined.
43682         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
43683         * sysdeps/gnu/errlist.c: Regenerated.
43685 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43687         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43688         [libc_hidden_builtin_def]: Define to empty value.
43689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
43690         [libc_hidden_builtin_def]: Likewise.
43691         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
43692         [libc_hidden_builtin_def]: Likewise.
43693         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
43694         [libc_hidden_builtin_def]: Likewise.
43695         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
43696         __redirect_memcpy and define ifunc as default hidden symbol.
43697         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
43698         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
43700 2014-05-04  Adam Conrad  <adconrad@0c3.net>
43702         * locale/iso-4217.def: Reintroduce XDR currency.
43704 2014-05-04  Allan McRae  <allan@archlinux.org>
43706         * po/eo.po: Update Esperanto translation from translation project.
43708 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
43710         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
43711         and FEATURE_INDEX_MAX to 1.
43712         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
43714 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43716         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
43717         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
43718         * iconvdata/big5.c (ONE_DIRECTION): Define.
43719         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
43720         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
43721         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
43722         * iconvdata/cp932.c (ONE_DIRECTION): Define.
43723         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
43724         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
43725         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
43726         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
43727         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
43728         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
43729         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
43730         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
43731         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
43732         * iconvdata/gbk.c (ONE_DIRECTION): Define.
43733         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
43734         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
43735         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
43736         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
43737         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
43738         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
43739         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
43740         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
43741         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
43742         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
43743         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
43744         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
43745         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
43746         * iconvdata/iso646.c (ONE_DIRECTION): Define.
43747         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
43748         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
43749         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
43750         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
43751         * iconvdata/johab.c (ONE_DIRECTION): Define.
43752         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
43753         * iconvdata/sjis.c (ONE_DIRECTION): Define.
43754         * iconvdata/t.61.c (ONE_DIRECTION): Define.
43755         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
43756         * iconvdata/tscii.c (ONE_DIRECTION): Define.
43757         * iconvdata/uhc.c (ONE_DIRECTION): Define.
43758         * iconvdata/unicode.c (ONE_DIRECTION): Define.
43759         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
43760         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
43761         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
43763 2014-05-01  Roland McGrath  <roland@hack.frob.com>
43765         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
43766         (_IO_JUMPS_OFFSET): Define to 0.
43768         * nptl/sysdeps/pthread/bits/libc-lock.h
43769         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43770         (__libc_lock_define_initialized_recursive): Always define using
43771         initializer.  Modern compilers treat uninitialized (implicit zero) and
43772         explicit zero initializers the same (i.e. put the datum in bss).
43774 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43776         * nscd/nscd-client.h: Include <string.h>.
43778 2014-05-01  David S. Miller  <davem@davemloft.net>
43780         [BZ #16885]
43781         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
43782         multiple zero bytes exist at the end of a string.
43783         Reported by Aurelien Jarno <aurelien@aurel32.net>
43785         * string/test-strcmp.c (check): Add explicit test for situations where
43786         there are multiple zero bytes after the first.
43788 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43790         [BZ #16890]
43791         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
43792         when compiling wprintf.
43793         * stdio-common/tstdiomisc.c (t3): New function.
43794         (main): Call it.
43796 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43798         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
43799         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
43800         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
43801         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
43803 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43805         * stdlib/longlong.h: Updated from GCC.
43807 2014-05-01  Will Newton  <will.newton@linaro.org>
43808             Bernard Ogden  <bernie.ogden@linaro.org>
43810         * NEWS: Update fixed bug list.
43812         [BZ #15119]
43813         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
43815 2014-04-30  David S. Miller  <davem@davemloft.net>
43817         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
43818         (libc_feholdexcept_setround_sparc_ctx): New function.
43819         (libc_fesetenv_sparc_ctx): Likewise.
43820         (libc_feupdateenv_sparc_ctx): Likewise.
43821         (libc_feholdsetround_sparc_ctx): Likewise.
43822         (libc_feholdexcept_setround_ctx): Define.
43823         (libc_feholdexcept_setroundf_ctx): Likewise.
43824         (libc_feholdexcept_setroundl_ctx): Likewise.
43825         (libc_fesetenv_ctx): Likewise.
43826         (libc_fesetenvf_ctx): Likewise.
43827         (libc_fesetenvl_ctx): Likewise.
43828         (libc_feupdateenv_ctx): Likewise.
43829         (libc_feupdateenvf_ctx): Likewise.
43830         (libc_feupdateenvl_ctx): Likewise.
43831         (libc_feresetround_ctx): Likewise.
43832         (libc_feresetroundf_ctx): Likewise.
43833         (libc_feresetroundl_ctx): Likewise.
43834         (libc_feholdsetround_ctx): Likewise.
43835         (libc_feholdsetroundf_ctx): Likewise.
43836         (libc_feholdsetroundl_ctx): Likewise.
43838         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43839         with __USE_GNU instead of XOPEN cpp guards.
43841         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
43842         0.
43844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43845         with XOPEN cpp guards.
43847 2014-04-30  Julian Brown  <julian@codesourcery.com>
43849         [BZ #16888]
43850         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
43851         handling.
43853 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
43855         [BZ #9894]
43856         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
43857         Change to 2.6.32.
43858         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
43859         * sysdeps/unix/sysv/linux/configure: Regenerated.
43860         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
43861         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
43862         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
43863         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
43864         * README: Update reference to required Linux kernel version.
43865         * manual/install.texi (Linux): Update reference to required Linux
43866         kernel headers version.
43867         * INSTALL: Regenerated.
43869         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
43870         header inclusion.
43871         [POSIX] (limits.h): Likewise.
43872         [POSIX] (math.h): Likewise.
43873         [POSIX] (sys/wait.h): Likewise.
43874         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
43875         function.
43876         [POSIX] (stddef.h): Do not allow header inclusion.
43878 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43880         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
43882 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
43884         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
43885         Return immediately after lll_futex_wake.
43887 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43889         [BZ #16791]
43890         * nscd/nscd-client.h (datahead_init_common): Initialize entire
43891         structure.
43892         (datahead_init_pos): Call datahead_init_common early.
43893         (datahead_init_neg): Likewise.
43895         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
43896         datahead_init_neg): New functions.
43897         * nscd/aicache.c (addhstaiX): Use them.
43898         * nscd/grpcache.c (cache_addgr): Likewise.
43899         * nscd/hstcache.c (cache_addhst): Likewise.
43900         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43901         * nscd/netgroupcache.c (do_notfound): Likewise.
43902         (addgetnetgrentX): Likewise.
43903         (addinnetgrX): Likewise.
43904         * nscd/pwdcache.c (cache_addpw): Likewise.
43905         * nscd/servicescache.c (cache_addserv): Likewise.
43907 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43908             Atsushi Onoe  <atsushi@onoe.org>
43910         [BZ #14308]
43911         [BZ #12994]
43912         [BZ #13651]
43913         * resolv/res_query.c (__libc_res_nsearch): Return if at least
43914         one response is valid.
43915         * resolv/res_send.c (send_dg): Check for validity of other
43916         response if the current response is a referral.
43918 2014-04-29  Steve Ellcey  <sellcey@mips.com>
43920         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
43922 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
43924         [BZ #16823]
43925         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
43926         Always divide by positive zero when computing -Inf result.
43927         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43928         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43930 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43932         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
43933         FPSCR if value do not change.
43934         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43935         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
43936         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
43937         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43938         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
43939         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
43940         function.
43942 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
43944         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
43945         * sysdeps/unix/sysv/linux/hppa: Move directory from
43946         ports/systeps/unix/sysv/linux/hppa.
43947         * README: Update listing for hppa-*-linux-gnu.
43949 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
43951         [BZ #16754]
43952         * manual/stdio.texi (Hook functions): Fix types of stream hook
43953         functions.
43954         [BZ #16854]
43955         * socket/sys/socket.h: Fix typo in comment.
43957 2014-04-28  Wilco  <wdijkstr@arm.com>
43959         * sysdeps/arm/fenv_private.h: New file.
43960         * sysdeps/arm/math_private.h: New file.
43961         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
43963 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
43965         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
43966         with __int128_t.
43967         (La_x86_64_retval): Likewise.
43969 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
43971         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
43972         fpsr if value didn't change.
43973         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
43974         to fpcr if value didn't change.
43975         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
43976         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
43977         fpsr or fpcr if value didn't change.
43978         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43979         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
43980         fpcr if value didn't change.
43981         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
43982         to fpsr if value didn't change.
43984 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43986         * nptl/tst-sem3.c: Use test-skeleton.c
43987         (main): Rename to do_test.  Use return instead of
43988         exit.
43989         * nptl/tst-sem4.c: Use test-skeleton.c
43990         (main): Rename to do_test.
43992 2014-04-22  David S. Miller  <davem@davemloft.net>
43994         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
43995         (struct sigaction): New struct member __glibc_reserved0, change
43996         type of sa_flags to int.
43998 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44000         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44001         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44003 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44005         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44006         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44008 2014-04-22  Will Newton  <will.newton@linaro.org>
44009             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44011         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44012         (__longjmp): Add longjmp and longjmp_target SystemTap
44013         probes.
44014         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44015         (__sigsetjmp): Add setjmp SystemTap probe.
44017 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44019         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44020         match manual order.
44022 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44024         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44026         * sysdeps/powerpc/fpu/fenv_private.h
44027         (libc_feholdexcept_setroundl_ctx): Define to
44028         libc_feholdexcept_setround_ppc_ctx.
44029         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44030         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44031         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44032         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44034 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44036         * sysdeps/aarch64/math-tests.h: New file.
44038 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44040         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44041         New.
44042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44043         Check and set bit_AVX2_Usable.
44044         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44045         macro.
44046         (bit_AVX2): Likewise.
44047         (index_AVX2_Usable): Likewise.
44048         (CPUID_AVX2): Likewise.
44049         (HAS_AVX2): Likewise.
44051 2014-04-17  Will Newton  <will.newton@linaro.org>
44053         * manual/setjmp.texi (System V contexts): Add note that
44054         calling setcontext on a context created by a call to a
44055         signal handler is undefined.  Update text to note that
44056         setcontext from a signal handler is possible but not
44057         recommended.
44059         [BZ #16629]
44060         * stdlib/tst-setcontext.c: Include signal.h.
44061         (main): Check that the signal stack before and
44062         after swapcontext is the same.
44064         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44065         Re-implement to restore registers in user code and avoid
44066         rt_sigreturn system call.
44068 2014-04-17  Wilco  <wdijkstr@arm.com>
44070         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44071         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44072         * math/test-fenv.c: Skip exception trap tests on targets which only
44073         support non-stop mode.
44075 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44076             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44078         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44079         (libc_feholdsetround_aarch64_ctx)
44080         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44081         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44082         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44083         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44084         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44085         (libc_feresetround_noexl_ctx): Define.
44087 2014-04-16  Richard Henderson  <rth@redhat.com>
44089         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44091         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44092         unwind tables.
44094         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44095         const from the non-libc, non-ldso copy.
44097         * sysdeps/alpha/libm-test-ulps: Regenerate.
44099 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44100             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44102         * sysdeps/aarch64/fpu/math_private.h: New file.
44104 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44106         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44108 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44110         [BZ #16275]
44111         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44112         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44114         Intel MPX bound registers before _dl_profile_fixup.
44115         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44116         registers after _dl_profile_fixup.  Save and restore bound
44117         registers bnd0/bnd1 when calling _dl_call_pltexit.
44118         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44119         (LR_BND_OFFSET): Likewise.
44120         (LRV_BND0_OFFSET): Likewise.
44121         (LRV_BND1_OFFSET): Likewise.
44123 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44125         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44126         to...
44127         * sysdeps/mach/hurd/i386/tls.h: ... here.
44128         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44129         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44130         fields.
44132 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44134         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44136 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44138         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44140 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44142         [BZ #14770]
44143         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44144         * sysdeps/s390/configure: Regenerate.
44146         [BZ #16824]
44147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44148         Set round-to-nearest internally to reduce error accumulation.
44150 2014-04-16  Alan Modra  <amodra@gmail.com>
44152         [BZ #16740]
44153         [BZ #16619]
44154         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44155         * math/libm-test.inc (frexp_test_data): Add tests.
44156         * NEWS: Update fixed bug list.
44158 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44160         * benchtests/Makefile: Depend on libraries in build directory.
44161         (bench-math): Separate out math tests.
44162         (bench-pthread): Separate out pthread tests.
44163         (bench): Include math and pthread tests.
44165 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44167         [BZ #16831]
44168         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44169         _dl_debug_initialize.
44171         * configure.ac: Remove SELinux header check.
44172         * configure: Regenerate.
44173         * nscd/selinux.c (perms): Array of const char* to permission names.
44174         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44175         default policy. Call string_to_security_class and string_to_av_perm to
44176         translate strings. Enforce default policy and call avs_has_perm with
44177         results of translated strings.
44179 2014-04-13  David S. Miller  <davem@davemloft.net>
44181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44183 2014-04-12  Allan McRae  <allan@archlinux.org>
44185         [BZ #16838]
44186         * manual/string.texi (Collation Functions): Fix qsort argument
44187         order in example.
44188         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44190 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44192         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44193         Make the test a no-op if there are no exceptions defined.
44195 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44197         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44198         enable-hardcoded-path-in-tests
44200 2014-04-11  Will Newton  <will.newton@linaro.org>
44202         * benchtests/Makefile (extra-objs): Add json-lib.o.
44203         (bench-func): Tidy up JSON output.
44204         * benchtests/bench-skeleton.c: Include json-lib.h.
44205         (main): Use JSON library functions to do output of
44206         benchmark results.
44207         * benchtests/bench-timing-type.c (main): Output the
44208         timing type simply, leaving formatting to the user.
44209         * benchtests/json-lib.c: New file.
44210         * benchtests/json-lib.h: Likewise.
44212 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44214         [BZ #15215]
44215         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44216         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44217         memory barriers.  Add comments.
44218         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44219         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44220         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44221         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44222         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44223         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44225 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44227         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44228         * sysdeps/s390/s390-64/configure.ac: ... this ...
44229         * sysdeps/s390/configure.ac: ... to here.
44230         * sysdeps/s390/s390-32/configure: Delete file.
44231         * sysdeps/s390/s390-64/configure: Delete file.
44232         * sysdeps/s390/configure: Regenerate.
44234 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44236         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44238 2014-04-11  Will Newton  <will.newton@linaro.org>
44240         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44241         to zero if it is not defined elsewhere.  (mtrim): Test
44242         the value of MALLOC_DEBUG with #if rather than #ifdef.
44244 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44246         * benchtests/pthread_once-inputs: New file.
44247         * benchtests/pthread_once-source.c: New file.
44248         * benchtests/README: Update documentation.
44250 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44251             H.J. Lu  <hongjiu.lu@intel.com>
44253         [BZ #16275]
44254         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44255         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44256         * sysdeps/x86_64/configure: Regenerated.
44257         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44258         macro.
44259         (REGISTER_SAVE_RAX): Likewise.
44260         (REGISTER_SAVE_RCX): Likewise.
44261         (REGISTER_SAVE_RDX): Likewise.
44262         (REGISTER_SAVE_RSI): Likewise.
44263         (REGISTER_SAVE_RDI): Likewise.
44264         (REGISTER_SAVE_R8): Likewise.
44265         (REGISTER_SAVE_R9): Likewise.
44266         (REGISTER_SAVE_BND0): Likewise.
44267         (REGISTER_SAVE_BND1): Likewise.
44268         (REGISTER_SAVE_BND2): Likewise.
44269         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44270         bound registers when calling _dl_fixup.
44272 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44274         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44275         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44276         of its definition.
44277         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44278         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44279         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44280         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44281         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44282         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44283         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44285 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44287         [BZ #15514]
44288         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44289         pathconf(_PC_NAME_MAX).
44291 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44293         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44294         Remove macro usage.
44295         (__PTHREAD_SPINS): Move definition to ...
44296         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44297         (__PTHREAD_SPINS): ... here.
44298         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44299         (__PTHREAD_SPIN): Likewise.
44300         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44301         (__PTHREAD_SPIN): Likewise.
44302         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44303         (__PTHREAD_SPIN): Likewise.
44304         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44305         (__PTHREAD_SPIN): Likewise.
44306         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44307         (__PTHREAD_SPIN): Likewise.
44308         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44309         (__PTHREAD_SPIN): Likewise.
44310         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44311         (__PTHREAD_SPIN): Likewise.
44312         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44313         (__PTHREAD_SPIN): Likewise.
44314         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44315         (__PTHREAD_SPIN): Likewise.
44316         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44317         (__PTHREAD_SPIN): Likewise.
44318         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44319         (__PTHREAD_SPIN): Likewise.
44320         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44321         (__PTHREAD_SPIN): Likewise.
44323         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44324         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44325         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44326         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44327         imply folder.
44328         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44329         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44330         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44331         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44332         correct imply path.
44333         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44334         strlen symbol for non multi-arch builds.
44335         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44336         missing hidden_def and weak_alias.
44338 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
44340         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44342 2014-04-07  Will Newton  <will.newton@linaro.org>
44344         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44345         and contents.  [!_LIBC] Remove #ifndef and contents.
44346         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
44347         * string/memccpy.c (__memccpy): Use ANSI prototype.
44348         * string/memfrob.c (memfrob): Likewise.
44349         * string/strcoll.c (STRCOLL): Likewise.
44350         * string/strlen.c (strlen): Likewise.
44351         * string/strtok.c (STRTOK): Likewise.
44352         * string/strcat.c: Remove unused #include of memcopy.h.
44353         (strcat): Use ANSI prototype.
44354         * string/strchr.c: Remove unused #include of memcopy.h.
44355         (strchr): Use ANSI prototype.
44356         * string/strcmp.c: Remove unused #include of memcopy.h.
44357         (strcmp): Use ANSI prototype.
44358         * string/strcpy.c: Remove unused #include of memcopy.h.
44359         (strcpy): Use ANSI prototype.
44361 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44363         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
44364         * config.make.in (config-extra-cppflags): Set it from
44365         libc_extra_cppflags.
44366         * configure.ac (libc_extra_cflags): Make it accumulate over
44367         configure fragments.
44368         (libc_extra_cppflags): New flag.
44369         * configure. Regenerate.
44370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44371         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
44372         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
44373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
44375         [BZ #16815]
44376         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
44377         result for FE_DOWNWARD rounding mode.
44378         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
44379         Likewise.
44380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44382 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
44384         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
44385         in function argument name.
44387 2014-04-03  David Svoboda  <svoboda@cert.org>
44389         [BZ #5666]
44390         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
44391         explicitly.
44393 2014-04-03  Roland McGrath  <roland@hack.frob.com>
44395         * elf/dl-unmap-segments.h: New file.
44396         * sysdeps/generic/ldsodefs.h
44397         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
44398         * elf/dl-close.c: Include <dl-unmap-segments.h>.
44399         * elf/dl-fptr.c: Likewise.
44400         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
44401         * sysdeps/aarch64/tlsdesc.c: Likewise.
44402         * sysdeps/arm/tlsdesc.c: Likewise.
44403         * sysdeps/i386/tlsdesc.c: Likewise.
44404         * sysdeps/tile/dl-runtime.c: Likewise.
44405         * sysdeps/x86_64/tlsdesc.c: Likewise.
44406         * elf/dl-load.h: New file.
44407         * elf/dl-load.c: Include it.
44408         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
44409         Macros moved to dl-load.h.
44410         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
44411         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
44412         Use _dl_unmap_segments in place of __munmap.
44413         Break out segment-mapping loop into ...
44414         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
44416 2014-04-03  Will Newton  <will.newton@linaro.org>
44418         * elf/dl-lookup.c (do_lookup_x): Remove comment
44419         referring to nested function and move variable
44420         declarations down to before first use.
44422 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
44424         [BZ #16799]
44425         [BZ #16800]
44426         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
44427         with 0 numerator.
44428         * math/s_catanf.c (__catanf): Likewise.
44429         * math/s_catanh.c (__catanh): Likewise.
44430         * math/s_catanhf.c (__catanhf): Likewise.
44431         * math/s_catanhl.c (__catanhl): Likewise.
44432         * math/s_catanl.c (__catanl): Likewise.
44433         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
44434         by positive zero when computing -Inf result.
44435         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
44436         (catanh_test): Likewise.
44437         * sysdeps/i386/fpu/libm-test-ulps: Update.
44438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44440         [BZ #16789]
44441         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
44442         instead of using underflowing value in computing result.
44443         * math/s_clog10.c (__clog10): Likewise.
44444         * math/s_clog10f.c (__clog10f): Likewise.
44445         * math/s_clog10l.c (__clog10l): Likewise.
44446         * math/s_clogf.c (__clogf): Likewise.
44447         * math/s_clogl.c (__clogl): Likewise.
44448         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
44449         (clog10_test): Likewise.
44450         * sysdeps/i386/fpu/libm-test-ulps: Update.
44451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44453 2014-04-02  Alan Modra  <amodra@gmail.com>
44455         [BZ #16739]
44456         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
44457         output when value is near a power of two.  Use int64_t for lx and
44458         remove casts.  Use decimal rather than hex exponent constants.
44459         Don't use long double multiplication when double will suffice.
44460         * math/libm-test.inc (nextafter_test_data): Add tests.
44461         * NEWS: Add 16739 and 16786 to bug list.
44463         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
44465         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
44467 2014-04-01  Will Newton  <will.newton@linaro.org>
44469         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
44470         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
44472 2014-04-01  Florian Weimer  <fweimer@redhat.com>
44474         [BZ #13347]
44475         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
44476         * nptl/tst-setuid2.c: New file.
44477         * nptl/Makefile (xtests): Add tst-setuid2.
44479 2014-04-01  Alan Modra  <amodra@gmail.com>
44481         [BZ #16786]
44482         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
44484 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44486         [BZ #6803]
44487         [BZ #6804]
44488         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
44489         set errno as appropriate.
44490         * math/w_scalbf.c (__scalbf): Likewise.
44491         * math/w_scalbl.c (__scalbl): Likewise.
44492         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
44493         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
44494         * math/libm-test.inc (scalb_test_data): Add errno expectations.
44495         Add more NaN tests.
44497         [BZ #16349]
44498         * math/w_atan2.c: Include <errno.h>.
44499         (__atan2): Set errno for result underflowing to zero.
44500         * math/w_atan2f.c: Include <errno.h>.
44501         (__atan2f): Set errno for result underflowing to zero.
44502         * math/w_atan2l.c: Include <errno.h>.
44503         (__atan2l): Set errno for result underflowing to zero.
44504         * math/auto-libm-test-in: Don't allow missing errno for some atan2
44505         tests.
44506         * math/auto-libm-test-out: Regenerated.
44508 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44510         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44511         Encode instruction correctly in little endian.
44512         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44513         Likewise.
44514         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44515         Likewise.
44516         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44517         Likewise.
44518         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44519         Likewise.
44521 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44523         [BZ #9894]
44524         * sysdeps/unix/sysv/linux/kernel-features.h
44525         [__sparc__ && !__arch64__ && !__sparc_v9__]
44526         (__ASSUME_SET_ROBUST_LIST): Do not define.
44527         [__sparc__ && !__arch64__ && !__sparc_v9__]
44528         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44529         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
44530         Likewise.
44531         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44532         (__ASSUME_FUTEX_LOCK_PI): Undefine.
44533         (__ASSUME_REQUEUE_PI): Likewise.
44534         (__ASSUME_SET_ROBUST_LIST): Likewise.
44535         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44536         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
44537         Undefine.
44538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44539         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
44540         Likewise.
44541         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
44542         Likewise.
44543         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
44544         Likewise.
44545         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44546         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
44547         Undefine.
44548         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
44549         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
44550         Likewise.
44552         [BZ #16648]
44553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44554         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
44555         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
44557 2014-03-31  Will Newton  <will.newton@linaro.org>
44559         * benchtests/Makefile (bench): Add ffs and ffsll to list
44560         of tests.
44561         * benchtests/ffs-inputs: New file.
44562         * benchtests/ffsll-inputs: Likewise.
44564 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
44566         [BZ #16770]
44567         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
44568         too large before casting to int.
44569         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
44570         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
44571         * math/libm-test.inc (scalb_test_data): Add more tests.
44573 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44575         * benchtests/Makefile (DETAILED_OPT): New make option.
44576         (bench-func): Run benchmark program with -d if DETAILED_OPT is
44577         set.
44578         * benchtests/bench-skeleton.c: Include stdbool.h.
44579         (main): Store and print timings per input.
44580         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
44581         member to each argument value.
44582         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
44583         (_print_arg_data): Initialize per-input timing to 0.
44585         * benchtests/Makefile (timing-type): New binary.
44586         (bench-clean): Also remove bench-timing-type.
44587         (bench): New target for timing-type.
44588         (bench-func): Print output in JSON format.
44589         * benchtests/bench-skeleton.c (main): Print output in JSON
44590         format.
44591         * benchtests/bench-timing-type.c: New file.
44592         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
44593         (TIMING_PRINT_STATS): Remove.
44594         * benchtests/scripts/bench.py (_print_arg_data): Store variant
44595         name separately.
44597         * benchtests/bench-modf.c: Remove.
44598         * benchtests/modf-inputs: New inputs file.
44600 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
44602         [BZ #16362]
44603         * math/s_clog10.c (M_PI_LOG10E): New macro.
44604         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
44605         imaginary parts are 0.
44606         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
44607         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
44608         imaginary parts are 0.
44609         * math/s_clog10l.c (M_PI_LOG10El): New macro.
44610         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
44611         imaginary parts are 0.
44612         * math/libm-test.inc (clog10_test_data): Update expected results
44613         for when real and imaginary parts are 0.
44615 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
44617         * elf/dl-load.c: Finish conversion of __builtin_expect into
44618         __glibc_{un}likely.
44620 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
44622         [BZ #16348]
44623         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
44624         1+x for argument with exponent below -67.
44625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
44626         Likewise.
44627         * math/auto-libm-test-in: Add more tests of exp.
44628         * math/auto-libm-test-out: Regenerated.
44630 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44632         [BZ #16759]
44633         * inet/getnetgrent_r.c (get_nonempty_val): New function.
44634         (nscd_getnetgrent): Use it.
44636         [BZ #16760]
44637         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
44638         of stpcpy.
44640 2014-03-27  Andi Kleen  <ak@linux.intel.com>
44642         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
44643         (lll_robust_lock, lll_cond_lock, lll_timedlock)
44644         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44645         (lll_robust_unlock): Remove out of line section. Use cfi
44646         intrinsics.
44647         (LLL_STUB_UNWIND_INFO*): Remove.
44648         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
44649         (lll_robust_lock, lll_cond_lock, lll_timedlock)
44650         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44651         (lll_robust_unlock): Remove out of line section. Use cfi
44652         intrinsics.
44653         (LLL_STUB_UNWIND_INFO*): Remove.
44655 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44657         [BZ #16758]
44658         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
44659         blank values.
44661 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
44663         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
44665 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
44667         [BZ #16198]
44668         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
44669         fnstenv.
44670         * math/test-fenv-preserve.c: New file.
44671         * math/Makefile (tests): Add test-fenv-preserve.
44673 2014-03-26  Will Newton <will.newton@linaro.org>
44675         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
44677 2014-03-25  Roland McGrath  <roland@hack.frob.com>
44679         * scripts/versionlist.awk: Partition the version sets and emit all
44680         GLIBC_* (sorted) before all others (sorted).
44682 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
44684         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
44685         GLIBC_2.2.5 version.
44687 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44689         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
44690         calls.
44692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
44693         previous change.
44695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44697 2014-03-25  Andreas Schwab  <schwab@suse.de>
44699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
44700         label to be used after in6ailist is initialized.
44702 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44704         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44705         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44707 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
44709         [BZ #16357]
44710         [BZ #16599]
44711         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
44712         min_plus_half.
44713         (fp_formats): Update initializers.
44714         (init_fp_formats): Initialize new field.
44715         (output_for_one_input_case): Allow underflow for results up to
44716         min_plus_half.
44717         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
44718         * math/auto-libm-test-in: Don't mark some underflows from asin and
44719         atanh as spurious.
44720         * math/auto-libm-test-out: Regenerated.
44721         * sysdeps/i386/fpu/libm-test-ulps: Update.
44722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44724 2014-03-25  Andreas Schwab  <schwab@suse.de>
44726         * libio/Makefile (tst-ftell-partial-wide-ENV)
44727         (tst-ftell-active-handler-ENV): Define.
44729 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
44731         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
44733 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
44735         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
44737 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
44739         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
44740         * sysdeps/x86_64/fpu/multiarch/e_exp.c
44741         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
44743 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
44745         [BZ #16634]
44746         * elf/dl-load.c (open_verify): Add mode parameter.
44747         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
44748         (open_path): Change from boolean 'secure' to complete flag 'mode'
44749         (_dl_map_object): Adjust.
44750         * elf/Makefile (tests): Add tst-dlopen-aout.
44751         * elf/tst-dlopen-aout.c: New test.
44753 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
44755         [BZ #16714]
44756         * sysdeps/unix/sysv/linux/s390/bits/stat.h
44757         (struct stat): Rename member pad0 to __glibc_reserved0.
44759         [BZ #16712]
44760         * sysdeps/s390/s390-32/bits/wordsize.h
44761         (__WORDSIZE32_SIZE_ULONG): New define.
44762         * sysdeps/s390/s390-64/bits/wordsize.h
44763         (__WORDSIZE32_SIZE_ULONG): Likewise.
44764         * sysdeps/generic/stdint.h (SIZE_MAX):
44765         Define as UL if __WORDSIZE32_SIZE_ULONG.
44767         [BZ #16713]
44768         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
44769         (__glibc_reserved0): New variable.
44770         (sa_flags): Change type to int.
44772         * posix/Makefile (before-compile): Use += before-compile instead
44773         of a :=.
44775         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44776         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44778 2014-03-20  Andreas Schwab  <schwab@suse.de>
44780         [BZ #16743]
44781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
44782         non-matching result from nscd.
44784 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44786         * scripts/bench.py: Moved to ...
44787         * benchtests/scripts/bench.py: ... here.
44788         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
44790 2014-03-24  Andreas Schwab  <schwab@suse.de>
44792         [BZ #16002]
44793         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
44794         alloca_account and account alloca use for struct in6ailist.
44796 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
44798         [BZ #16284]
44799         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
44800         rounding mode to recompute results that overflow to infinity or
44801         underflow to zero.
44802         * math/auto-libm-test-in: Don't mark tests as expected to fail for
44803         bug 16284.
44804         * math/auto-libm-test-out: Regenerated.
44805         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
44806         (ccosh_test): Likewise.
44807         (csin_test_data): Use plus_oflow.
44808         (csin_test): Use ALL_RM_TEST.
44809         (csinh_test_data): Use plus_oflow.
44810         (csinh_test): Use ALL_RM_TEST.
44811         * sysdeps/i386/fpu/libm-test-ulps: Update.
44812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44814 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
44816         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
44817         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
44818         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
44820         [BZ #16731]
44821         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
44822         when x - 1 is zero.
44823         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
44824         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
44825         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44826         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
44827         argument is 1.
44828         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
44829         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
44830         zero.
44831         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
44832         * sysdeps/i386/fpu/libm-test-ulps: Update.
44833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44835 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44837         * scripts/bench.pl: Remove file.
44838         * scripts/bench.py: New benchmark script.
44839         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
44840         * benchtests/README: Mention python dependency.
44841         * scripts/pylintrc: New file.
44842         * scripts/pylint: New file.
44844         * bits/mathdef.h: Use #ifdef instead of #if.
44845         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
44846         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44847         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
44848         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44849         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
44850         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44852 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44853             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44855         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
44856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
44857         and strpbrk-ppc64 objects.
44858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44859         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
44860         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
44861         multiarch strpbrk for POWER7.
44862         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
44863         multiarch strpbrk for PPC64.
44864         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
44865         ifunc selector.
44866         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
44867         strpbrk for POWER7.
44869 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
44871         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
44872         (atan_test): Likewise.
44873         (atanh_test_data): Use NO_TEST_INLINE for two tests.
44874         (atanh_test): Use ALL_RM_TEST.
44875         (atan2_test_data): Likewise.
44876         (cabs_test): Likewise.
44877         (cacosh_test): Likewise.
44878         (carg_test): Likewise.
44879         (casin_test): Likewise.
44880         (casinh_test): Likewise.
44881         (cbrt_test): Likewise.
44882         (csqrt_test): Likewise.
44883         (erf_test): Likewise.
44884         (erfc_test): Likewise.
44885         (pow10_test): Likewise.
44886         (exp2_test): Likewise.
44887         (hypot_test): Likewise.
44888         (j0_test): Likewise.
44889         (j1_test): Likewise.
44890         (lgamma_test): Likewise.
44891         (gamma_test): Likewise.
44892         (sincos_test): Likewise.
44893         (tanh_test): Likewise.
44894         (y0_test): Likewise.
44895         (y1_test): Likewise.
44896         * sysdeps/i386/fpu/libm-test-ulps: Update.
44897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44899 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44901         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
44902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
44903         and strcspn-ppc64 objects.
44904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44905         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
44906         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
44907         multiarch strcspn for POWER7.
44908         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
44909         multiarch strcspn for PPC64.
44910         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
44911         ifunc selector.
44912         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
44913         strcspn for POWER7.
44915 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
44917         * math/gen-libm-test.pl (generate_testfile): Expect only function
44918         name as argument to AUTO_TESTS_* and pass results for all rounding
44919         modes to parse_args.
44920         (parse_auto_input): Separate inputs of automatic tests from
44921         outputs before storing in %auto_tests.
44922         * math/libm-test.inc (acos_test_data): Update call to
44923         AUTO_TESTS_f_f.
44924         (acos_test): Use ALL_RM_TEST.
44925         (acos_tonearest_test_data): Remove.
44926         (acos_test_tonearest): Likewise.
44927         (acos_towardzero_test_data): Likewise.
44928         (acos_test_towardzero): Likewise.
44929         (acos_downward_test_data): Likewise.
44930         (acos_test_downward): Likewise.
44931         (acos_upward_test_data): Likewise.
44932         (acos_test_upward): Likewise.
44933         (acosh_test_data): Update call to AUTO_TESTS_f_f.
44934         (asin_test_data): Likewise.
44935         (asin_test): Use ALL_RM_TEST.
44936         (asin_tonearest_test_data): Remove.
44937         (asin_test_tonearest): Likewise.
44938         (asin_towardzero_test_data): Likewise.
44939         (asin_test_towardzero): Likewise.
44940         (asin_downward_test_data): Likewise.
44941         (asin_test_downward): Likewise.
44942         (asin_upward_test_data): Likewise.
44943         (asin_test_upward): Likewise.
44944         (asinh_test_data): Update call to AUTO_TESTS_f_f.
44945         (atan_test_data): Likewise.
44946         (atanh_test_data): Likewise.
44947         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
44948         (cabs_test_data): Update call to AUTO_TESTS_c_f.
44949         (carg_test_data): Likewise.
44950         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
44951         (ccos_test_data): Update call to AUTO_TESTS_c_c.
44952         (ccosh_test_data): Likewise.
44953         (cexp_test_data): Likewise.
44954         (clog_test_data): Likewise.
44955         (clog10_test_data): Likewise.
44956         (cos_test_data): Update call to AUTO_TESTS_f_f.
44957         (cos_test): Use ALL_RM_TEST.
44958         (cos_tonearest_test_data): Remove.
44959         (cos_test_tonearest): Likewise.
44960         (cos_towardzero_test_data): Likewise.
44961         (cos_test_towardzero): Likewise.
44962         (cos_downward_test_data): Likewise.
44963         (cos_test_downward): Likewise.
44964         (cos_upward_test_data): Likewise.
44965         (cos_test_upward): Likewise.
44966         (cosh_test_data): Update call to AUTO_TESTS_f_f.
44967         (cosh_test): Use ALL_RM_TEST.
44968         (cosh_tonearest_test_data): Remove.
44969         (cosh_test_tonearest): Likewise.
44970         (cosh_towardzero_test_data): Likewise.
44971         (cosh_test_towardzero): Likewise.
44972         (cosh_downward_test_data): Likewise.
44973         (cosh_test_downward): Likewise.
44974         (cosh_upward_test_data): Likewise.
44975         (cosh_test_upward): Likewise.
44976         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
44977         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
44978         (ctan_test_data): Likewise.
44979         (ctan_test): Use ALL_RM_TEST.
44980         (ctan_tonearest_test_data): Remove.
44981         (ctan_test_tonearest): Likewise.
44982         (ctan_towardzero_test_data): Likewise.
44983         (ctan_test_towardzero): Likewise.
44984         (ctan_downward_test_data): Likewise.
44985         (ctan_test_downward): Likewise.
44986         (ctan_upward_test_data): Likewise.
44987         (ctan_test_upward): Likewise.
44988         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
44989         (ctanh_test): Use ALL_RM_TEST.
44990         (ctanh_tonearest_test_data): Remove.
44991         (ctanh_test_tonearest): Likewise.
44992         (ctanh_towardzero_test_data): Likewise.
44993         (ctanh_test_towardzero): Likewise.
44994         (ctanh_downward_test_data): Likewise.
44995         (ctanh_test_downward): Likewise.
44996         (ctanh_upward_test_data): Likewise.
44997         (ctanh_test_upward): Likewise.
44998         (erf_test_data): Update call to AUTO_TESTS_f_f.
44999         (erfc_test_data): Likewise.
45000         (exp_test_data): Likewise.
45001         (exp_test): Use ALL_RM_TEST.
45002         (exp_tonearest_test_data): Remove.
45003         (exp_test_tonearest): Likewise.
45004         (exp_towardzero_test_data): Likewise.
45005         (exp_test_towardzero): Likewise.
45006         (exp_downward_test_data): Likewise.
45007         (exp_test_downward): Likewise.
45008         (exp_upward_test_data): Likewise.
45009         (exp_test_upward): Likewise.
45010         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45011         (exp10_test): Use ALL_RM_TEST.
45012         (exp10_tonearest_test_data): Remove.
45013         (exp10_test_tonearest): Likewise.
45014         (exp10_towardzero_test_data): Likewise.
45015         (exp10_test_towardzero): Likewise.
45016         (exp10_downward_test_data): Likewise.
45017         (exp10_test_downward): Likewise.
45018         (exp10_upward_test_data): Likewise.
45019         (exp10_test_upward): Likewise.
45020         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45021         (expm1_test_data): Likewise.
45022         (expm1_test): Use ALL_RM_TEST.
45023         (expm1_tonearest_test_data): Remove.
45024         (expm1_test_tonearest): Likewise.
45025         (expm1_towardzero_test_data): Likewise.
45026         (expm1_test_towardzero): Likewise.
45027         (expm1_downward_test_data): Likewise.
45028         (expm1_test_downward): Likewise.
45029         (expm1_upward_test_data): Likewise.
45030         (expm1_test_upward): Likewise.
45031         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45032         (fma_test): Use ALL_RM_TEST.
45033         (fma_towardzero_test_data): Remove.
45034         (fma_test_towardzero): Likewise.
45035         (fma_downward_test_data): Likewise.
45036         (fma_test_downward): Likewise.
45037         (fma_upward_test_data): Likewise.
45038         (fma_test_upward): Likewise.
45039         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45040         (j0_test_data): Update call to AUTO_TESTS_f_f.
45041         (j1_test_data): Likewise.
45042         (jn_test_data): Update call to AUTO_TESTS_if_f.
45043         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45044         (log_test_data): Update call to AUTO_TESTS_f_f.
45045         (log10_test_data): Likewise.
45046         (log1p_test_data): Likewise.
45047         (log2_test_data): Likewise.
45048         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45049         (pow_tonearest_test_data): Likewise.
45050         (sin_test_data): Update call to AUTO_TESTS_f_f.
45051         (sin_test): Use ALL_RM_TEST.
45052         (sin_tonearest_test_data): Remove.
45053         (sin_test_tonearest): Likewise.
45054         (sin_towardzero_test_data): Likewise.
45055         (sin_test_towardzero): Likewise.
45056         (sin_downward_test_data): Likewise.
45057         (sin_test_downward): Likewise.
45058         (sin_upward_test_data): Likewise.
45059         (sin_test_upward): Likewise.
45060         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45061         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45062         (sinh_test): Use ALL_RM_TEST.
45063         (sinh_tonearest_test_data): Remove.
45064         (sinh_test_tonearest): Likewise.
45065         (sinh_towardzero_test_data): Likewise.
45066         (sinh_test_towardzero): Likewise.
45067         (sinh_downward_test_data): Likewise.
45068         (sinh_test_downward): Likewise.
45069         (sinh_upward_test_data): Likewise.
45070         (sinh_test_upward): Likewise.
45071         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45072         (sqrt_test): Use ALL_RM_TEST.
45073         (sqrt_tonearest_test_data): Remove.
45074         (sqrt_test_tonearest): Likewise.
45075         (sqrt_towardzero_test_data): Likewise.
45076         (sqrt_test_towardzero): Likewise.
45077         (sqrt_downward_test_data): Likewise.
45078         (sqrt_test_downward): Likewise.
45079         (sqrt_upward_test_data): Likewise.
45080         (sqrt_test_upward): Likewise.
45081         (tan_test_data): Update call to AUTO_TESTS_f_f.
45082         (tan_test): Use ALL_RM_TEST.
45083         (tan_tonearest_test_data): Remove.
45084         (tan_test_tonearest): Likewise.
45085         (tan_towardzero_test_data): Likewise.
45086         (tan_test_towardzero): Likewise.
45087         (tan_downward_test_data): Likewise.
45088         (tan_test_downward): Likewise.
45089         (tan_upward_test_data): Likewise.
45090         (tan_test_upward): Likewise.
45091         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45092         (tgamma_test_data): Likewise.
45093         (y0_test_data): Likewise.
45094         (y1_test_data): Likewise.
45095         (yn_test_data): Update call to AUTO_TESTS_if_f.
45096         (main): Do not call removed functions.
45098 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45100         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45101         (ldexp_test_data): Remove.
45102         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45103         scalbn_test_data.
45104         (scalb_test): Use ALL_RM_TEST.
45106 2014-03-19  Andreas Schwab  <schwab@suse.de>
45108         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45110 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45112         [BZ #16649]
45113         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45114         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45115         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45116         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45117         (__ASSUME_PREADV): Undefine.
45118         (__ASSUME_PWRITEV): Likewise.
45120 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45122         * bits/mman-linux.h: Add comment about non-Linux use.
45123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45124         bits/mman-linux.h resting place.
45126         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45127         * bits/mman-linux.h: ... here.
45129 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45131         * conform/conformtest.pl: Add standard definition when calling C
45132         preprocessor on data files.
45133         (checknamespace): Remove unused variable.
45135 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45137         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45138         minus_oflow, plus_uflow and minus_uflow in expected results.
45139         * math/libm-test.inc (scalbn_test_data): Add more tests of
45140         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45141         minus_uflow.
45142         (scalbn_test): Use ALL_RM_TEST.
45143         (scalbln_test_data): Add more tests of negative arguments.  Use
45144         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45145         (scalbln_test): Use ALL_RM_TEST.
45147 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45149         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45151 2014-03-18  Will Newton  <will.newton@linaro.org>
45153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45154         inaccurate comment.
45156 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45158         * Makerules [!subdir] (check-abi): Exit with error status if a
45159         test failed.
45161 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45163         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45164         for rint.  Include results for all rounding modes.
45165         (nearbyint_test): Use ALL_RM_TEST.
45166         (rint_test_data): Include all tests used for nearbyint.
45168 2014-03-17  Will Newton  <will.newton@linaro.org>
45170         * nptl/sysdeps/pthread/pthread.h: Revert previous
45171         change.
45173         * sysdeps/generic/ldsodefs.h: Revert previous
45174         change.
45176         * libio/genops.c: Revert previous change.
45177         * libio/libioP.h: Likewise.
45178         * stdio-common/vfprintf.c: Likewise.
45180         * sysdeps/generic/math_private.h: Revert previous
45181         change.
45183         * sysdeps/generic/math_private.h: Check whether
45184         HAVE_RM_CTX is defined with #ifdef rather
45185         than #if.
45187         * argp/argp-fmtstream.h: Check whether
45188         __STRICT_ANSI__ is defined with #ifdef rather
45189         than #if.
45190         * argp/argp.h: Likewise.
45192         * libio/genops.c: Check whether
45193         _IO_JUMPS_OFFSET is defined with #ifdef rather
45194         than #if.
45195         * libio/libioP.h: Likewise.
45196         * stdio-common/vfprintf.c: Likewise.
45198         * sysdeps/generic/ldsodefs.h: Check whether
45199         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45200         than #if.
45202         * nptl/sysdeps/pthread/pthread.h: Check
45203         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45204         its value.
45206 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45208         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45209         setting O_APPEND.
45210         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45211         test case.
45213         [BZ #16680]
45214         * libio/fileops.c (_IO_file_open): Seek to end of file but
45215         don't cache the offset.
45216         (get_file_offset): Remove function.
45217         (do_ftell): Use cached offset when available.
45218         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45219         don't cache the offset.
45220         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45221         case.
45222         (do_one_test): Call it.
45223         (do_ftell_test): Fix up expected old offset for a+ mode.
45224         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45225         available.
45227         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45228         up test status with function return status.
45229         (do_write_test): Likewise.
45230         (do_append_test): Likewise.
45232         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45233         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45234         Remove.
45236 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45238         * math/gen-libm-test.pl (parse_args): Handle results specified for
45239         each rounding mode separately.
45240         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45241         tests and results from lrint_tonearest_test_data,
45242         lrint_towardzero_test_data, lrint_downward_test_data and
45243         lrint_upward_test_data.
45244         (lrint_test): Use ALL_RM_TEST.
45245         (lrint_tonearest_test_data): Remove.
45246         (lrint_test_tonearest): Likewise.
45247         (lrint_towardzero_test_data): Likewise.
45248         (lrint_test_towardzero): Likewise.
45249         (lrint_downward_test_data): Likewise.
45250         (lrint_test_downward): Likewise.
45251         (lrint_upward_test_data): Likewise.
45252         (lrint_test_upward): Likewise.
45253         (llrint_test_data): Merge in per-rounding-mode tests and results
45254         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45255         llrint_downward_test_data and llrint_upward_test_data.
45256         (llrint_test): Use ALL_RM_TEST.
45257         (llrint_tonearest_test_data): Remove.
45258         (llrint_test_tonearest): Likewise.
45259         (llrint_towardzero_test_data): Likewise.
45260         (llrint_test_towardzero): Likewise.
45261         (llrint_downward_test_data): Likewise.
45262         (llrint_test_downward): Likewise.
45263         (llrint_upward_test_data): Likewise.
45264         (llrint_test_upward): Likewise.
45265         (rint_test_data): Merge in per-rounding-mode tests and results
45266         from rint_tonearest_test_data, rint_towardzero_test_data,
45267         rint_downward_test_data and rint_upward_test_data.  Add
45268         per-rounding-mode results for tests not in those arrays.
45269         (rint_test): Use ALL_RM_TEST.
45270         (rint_tonearest_test_data): Remove.
45271         (rint_test_tonearest): Likewise.
45272         (rint_towardzero_test_data): Likewise.
45273         (rint_test_towardzero): Likewise.
45274         (rint_downward_test_data): Likewise.
45275         (rint_test_downward): Likewise.
45276         (rint_upward_test_data): Likewise.
45277         (rint_test_upward): Likewise.
45278         (main): Don't call removed functions.
45280 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45282         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45283         "Compiled on ..." crapola.  It is anti-useful.
45285 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45287         * scripts/evaluate-test.sh: Handle fourth argument to determine
45288         whether test run should stop on failure.
45289         * Makeconfig (stop-on-test-failure): New variable.
45290         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45291         $(stop-on-test-failure).
45292         * Makefile (tests): Give a summary of results from testing and
45293         exit with failure status if they include an ERROR or FAIL.
45294         (xtests): Likewise.
45295         * manual/install.texi (Configuring and compiling): Mention
45296         stop-on-test-failure=y.
45297         * INSTALL: Regenerated.
45299 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45301         * scripts/versionlist.awk: New file.
45302         * Makerules [$(build-shared) = yes]
45303         (postclean-generated): Add Versions.def, not Versions.def.v and
45304         Versions.def.v.i.
45305         ($(common-objpfx)Versions.def.v.i): Target removed.
45306         ($(common-objpfx)Versions.def): New target.
45307         ($(common-objpfx)Versions.all): Depend on that rather that
45308         $(common-objpfx)Versions.def.v.
45309         * Versions.def: File removed.
45311         * Makeconfig (+gccwarn): Add -Wundef.
45312         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45313         a dl-sysdep.h breaking its contract.
45314         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45315         * include/stackinfo.h: New file.
45316         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45317         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45318         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45319         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45320         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45321         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45322         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45323         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45324         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45325         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45326         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45327         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45328         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45329         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45330         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45332 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45334         [BZ #16707]
45335         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45336         implementation.
45337         * math/libm-test.inc (round_test_data): Add more tests.
45339         [BZ #16706]
45340         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45341         implementation.
45342         * math/libm-test.inc (nearbyint_test_data): Add more tests.
45344         [BZ #16701]
45345         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45346         implementation.
45347         * math/libm-test.inc (ceil_test_data): Add more tests.
45349         * math/libm-test.inc (trunc_test_data): Add more tests related to
45350         BZ#16414.
45352 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45354         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45355         with #if rather than #ifdef.
45356         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
45358 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
45360         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
45361         first.  Disable AVX-512 GCC support if assembler doesn't support
45362         it.
45363         * sysdeps/x86_64/configure: Regenerated.
45365 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
45367         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
45368         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
45369         (__old_pthread_attr_setstack): Likewise.
45370         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
45371         [!_STACK_GROWS_DOWN]: Likewise.
45373 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
45375         * config.make.in (have-bash2): Delete.
45376         * configure.ac (libc_cv_have_bash2): Delete.
45377         * configure: Regenerate.
45378         * elf/Makefile (common-ldd-rewrite): Rename to ...
45379         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
45380         (sh-ldd-rewrite): Delete.
45381         (bash-ldd-rewrite): Delete.
45382         (have-bash2): Delete checks.
45383         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
45384         ldd-rewrite.
45386         * config.make.in (have-ksh): Delete.
45387         (KSH): Delete.
45388         * configure.ac (libc_cv_have_ksh): Delete.
45389         * configure: Regenerate.
45391         * elf/Makefile: Delete $(have-ksh) check.
45392         ($(objpfx)sotruss): Change KSH to BASH.
45393         * elf/sotruss.ksh: Rename to ...
45394         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
45395         function style to match POSIX.  Drop ksh vim mode setting.
45397         * manual/time.texi (Specifying the Time Zone with TZ): Change
45398         Tuesday to Thursday.
45400         * debug/tst-longjmp_chk2.c: Update header comment.
45401         (stackoverflow_handler): Add comment.  Call assert on pass value.
45403 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
45405         [BZ #16194]
45406         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
45407         (HAVE_AVX512_ASM_SUPPORT): Likewise.
45408         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
45409         (La_x86_64_vector): Add zmm.
45410         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45411         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
45412         ($(objpfx)tst-audit10): New target.
45413         ($(objpfx)tst-audit10.out): Likewise.
45414         (tst-audit10-ENV): New.
45415         (AVX512-CFLAGS): Likewise.
45416         (CFLAGS-tst-audit10.c): Likewise.
45417         (CFLAGS-tst-auditmod10a.c): Likewise.
45418         (CFLAGS-tst-auditmod10b.c): Likewise.
45419         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
45420         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
45421         * sysdeps/x86_64/configure: Regenerated.
45422         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45423         AVX-512 zmm register support.
45424         (_dl_x86_64_save_sse): Likewise.
45425         (_dl_x86_64_restore_sse): Likewise.
45426         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
45427         size vector registers.
45428         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
45429         (ZMM_SIZE): Likewise.
45430         * sysdeps/x86_64/tst-audit10.c: New file.
45431         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
45432         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
45434 2014-03-13  Roland McGrath  <roland@hack.frob.com>
45436         * configure.ac (HAVE_EHDR_START): New check.
45437         * configure: Regenerated.
45438         * config.h.in (HAVE_EHDR_START): New #undef.
45439         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
45440         assuming the lowest-addressed segment maps the start of the file.
45442 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
45444         * INSTALL: Regenerated.
45446 2014-03-13  Will Newton  <will.newton@linaro.org>
45448         * manual/setjmp.texi (System V contexts): Improve
45449         clarity and grammar of documentation.
45451 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
45453         [BZ #16381]
45454         * elf/Makefile (tests): Add tst-pie2.
45455         (tests-pie): Add tst-pie2.
45456         * elf/tst-pie2.c: New file.
45457         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
45458         for ET_EXEC.
45459         * elf/rtld.c (map_doit): Load executable as lt_executable.
45460         (dl_main): Likewise.
45462 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
45464         [BZ #16642]
45465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45466         (__ASSUME_PSELECT): Undefine.
45468 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45470         [BZ #16689]
45471         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
45472         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
45473         static build.
45474         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
45475         selector for static builds.
45477 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45479         [BZ #16695]
45480         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
45481         key in the buffer.
45483 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45485         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
45486         IFUNC selector for static builds.
45488 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
45490         * sysdeps/mips/math_private.h [__mips_hard_float]
45491         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
45492         libc_feresetround_mips_ctx.
45493         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
45494         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
45495         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
45497         [BZ #16677]
45498         * math/s_nextafter.c (__nextafter): Do not return value from
45499         overflowing computation.
45500         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
45501         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
45502         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
45503         Likewise.
45504         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
45505         Likewise.
45506         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
45507         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
45509 2014-03-11  Roland McGrath  <roland@hack.frob.com>
45511         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
45512         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
45513         Move sfi_sp use from the load-multiple (that no longer sets sp) to
45514         the new mov targetting sp.
45516 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45518         [BZ #16683]
45519         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
45520         Define it for static builds as well.
45521         (NO_BZERO_IMPL): Likewise.
45523 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45525         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
45526         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
45527         multiarch strspn for PPC64.
45528         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
45529         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
45530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45531         (__libc_ifunc_impl_list): Likewise.
45532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
45533         multiarch optimizations
45534         * string/strspn.c (strspn): Using macro to redefine symbol name.
45536 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45537             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45539         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
45540         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
45541         multiarch strncat for PPC64.
45542         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
45543         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
45544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45545         (__libc_ifunc_impl_list): Likewise.
45546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
45547         multiarch optimizations
45549 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45551         [BZ #16639]
45552         * nscd/nscd.service: Make service type forking.
45554 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45556         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
45557         sign in non default rounding modes.
45558         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
45560 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
45562         * math/libm-test.inc (ALL_RM_TEST): New macro.
45563         (ceil_test): Use ALL_RM_TEST.
45564         (cimag_test): Likewise.
45565         (conj_test): Likewise.
45566         (copysign_test): Likewise.
45567         (cproj_test): Likewise.
45568         (creal_test): Likewise.
45569         (fabs_test): Likewise.
45570         (floor_test): Likewise.
45571         (fmax_test): Likewise.
45572         (fmin_test): Likewise.
45573         (fmod_test): Likewise.
45574         (fpclassify_test): Likewise.
45575         (frexp_test): Likewise.
45576         (ilogb_test): Likewise.
45577         (isfinite_test): Likewise.
45578         (finite_test): Likewise.
45579         (isgreater_test): Likewise.
45580         (isgreaterequal_test): Likewise.
45581         (isinf_test): Likewise.
45582         (isless_test): Likewise.
45583         (islessequal_test): Likewise.
45584         (islessgreater_test): Likewise.
45585         (isnan_test): Likewise.
45586         (isnormal_test): Likewise.
45587         (issignaling_test): Likewise.
45588         (isunordered_test): Likewise.
45589         (logb_test): Likewise.
45590         (logb_downward_test_data): Remove.
45591         (logb_test_downward): Likewise.
45592         (lround_test): Use ALL_RM_TEST.
45593         (llround_test): Likewise.
45594         (modf_test): Likewise.
45595         (nexttoward_test): Likewise.
45596         (remainder_test): Likewise.
45597         (drem_test): Likewise.
45598         (remainder_tonearest_test_data): Likewise.
45599         (remainder_test_tonearest): Likewise.
45600         (drem_test_tonearest): Likewise.
45601         (remainder_towardzero_test_data): Likewise.
45602         (remainder_test_towardzero): Likewise.
45603         (drem_test_towardzero): Likewise.
45604         (remainder_downward_test_data): Likewise.
45605         (remainder_test_downward): Likewise.
45606         (drem_test_downward): Likewise.
45607         (remainder_upward_test_data): Likewise.
45608         (remainder_test_upward): Likewise.
45609         (drem_test_upward): Likewise.
45610         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
45611         (round_test): Use ALL_RM_TEST.
45612         (signbit_test): Likewise.
45613         (trunc_test): Likewise.
45614         (significand_test): Likewise.
45615         (main): Don't call removed functions.
45617 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
45619         [BZ #16674]
45620         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
45621         || __USE_XOPEN2K8].
45622         (ILL_ILLOPN): Likewise.
45623         (ILL_ILLADR): Likewise.
45624         (ILL_ILLTRP): Likewise.
45625         (ILL_PRVOPC): Likewise.
45626         (ILL_PRVREG): Likewise.
45627         (ILL_COPROC): Likewise.
45628         (ILL_BADSTK): Likewise.
45629         (FPE_INTDIV): Likewise.
45630         (FPE_INTOVF): Likewise.
45631         (FPE_FLTDIV): Likewise.
45632         (FPE_FLTOVF): Likewise.
45633         (FPE_FLTUND): Likewise.
45634         (FPE_FLTRES): Likewise.
45635         (FPE_FLTINV): Likewise.
45636         (FPE_FLTSUB): Likewise.
45637         (SEGV_MAPERR): Likewise.
45638         (SEGV_ACCERR): Likewise.
45639         (BUS_ADRALN): Likewise.
45640         (BUS_ADRERR): Likewise.
45641         (BUS_OBJERR): Likewise.
45642         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45643         (TRAP_TRACE): Likewise.
45644         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45645         __USE_XOPEN2K8].
45646         (CLD_KILLED): Likewise.
45647         (CLD_DUMPED): Likewise.
45648         (CLD_TRAPPED): Likewise.
45649         (CLD_STOPPED): Likewise.
45650         (CLD_CONTINUED): Likewise.
45651         (POLL_IN): Likewise.
45652         (POLL_OUT): Likewise.
45653         (POLL_MSG): Likewise.
45654         (POLL_ERR): Likewise.
45655         (POLL_PRI): Likewise.
45656         (POLL_HUP): Likewise.
45657         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
45658         Likewise.
45659         (ILL_ILLOPN): Likewise.
45660         (ILL_ILLADR): Likewise.
45661         (ILL_ILLTRP): Likewise.
45662         (ILL_PRVOPC): Likewise.
45663         (ILL_PRVREG): Likewise.
45664         (ILL_COPROC): Likewise.
45665         (ILL_BADSTK): Likewise.
45666         (FPE_INTDIV): Likewise.
45667         (FPE_INTOVF): Likewise.
45668         (FPE_FLTDIV): Likewise.
45669         (FPE_FLTOVF): Likewise.
45670         (FPE_FLTUND): Likewise.
45671         (FPE_FLTRES): Likewise.
45672         (FPE_FLTINV): Likewise.
45673         (FPE_FLTSUB): Likewise.
45674         (SEGV_MAPERR): Likewise.
45675         (SEGV_ACCERR): Likewise.
45676         (BUS_ADRALN): Likewise.
45677         (BUS_ADRERR): Likewise.
45678         (BUS_OBJERR): Likewise.
45679         (BUS_MCEERR_AR): Likewise.
45680         (BUS_MCEERR_AO): Likewise.
45681         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45682         (TRAP_TRACE): Likewise.
45683         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45684         __USE_XOPEN2K8].
45685         (CLD_KILLED): Likewise.
45686         (CLD_DUMPED): Likewise.
45687         (CLD_TRAPPED): Likewise.
45688         (CLD_STOPPED): Likewise.
45689         (CLD_CONTINUED): Likewise.
45690         (POLL_IN): Likewise.
45691         (POLL_OUT): Likewise.
45692         (POLL_MSG): Likewise.
45693         (POLL_ERR): Likewise.
45694         (POLL_PRI): Likewise.
45695         (POLL_HUP): Likewise.
45696         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
45697         (ILL_ILLOPN): Likewise.
45698         (ILL_ILLADR): Likewise.
45699         (ILL_ILLTRP): Likewise.
45700         (ILL_PRVOPC): Likewise.
45701         (ILL_PRVREG): Likewise.
45702         (ILL_COPROC): Likewise.
45703         (ILL_BADSTK): Likewise.
45704         (FPE_INTDIV): Likewise.
45705         (FPE_INTOVF): Likewise.
45706         (FPE_FLTDIV): Likewise.
45707         (FPE_FLTOVF): Likewise.
45708         (FPE_FLTUND): Likewise.
45709         (FPE_FLTRES): Likewise.
45710         (FPE_FLTINV): Likewise.
45711         (FPE_FLTSUB): Likewise.
45712         (SEGV_MAPERR): Likewise.
45713         (SEGV_ACCERR): Likewise.
45714         (BUS_ADRALN): Likewise.
45715         (BUS_ADRERR): Likewise.
45716         (BUS_OBJERR): Likewise.
45717         (BUS_MCEERR_AR): Likewise.
45718         (BUS_MCEERR_AO): Likewise.
45719         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45720         (TRAP_TRACE): Likewise.
45721         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45722         __USE_XOPEN2K8].
45723         (CLD_KILLED): Likewise.
45724         (CLD_DUMPED): Likewise.
45725         (CLD_TRAPPED): Likewise.
45726         (CLD_STOPPED): Likewise.
45727         (CLD_CONTINUED): Likewise.
45728         (POLL_IN): Likewise.
45729         (POLL_OUT): Likewise.
45730         (POLL_MSG): Likewise.
45731         (POLL_ERR): Likewise.
45732         (POLL_PRI): Likewise.
45733         (POLL_HUP): Likewise.
45734         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
45735         Likewise.
45736         (ILL_ILLOPN): Likewise.
45737         (ILL_ILLADR): Likewise.
45738         (ILL_ILLTRP): Likewise.
45739         (ILL_PRVOPC): Likewise.
45740         (ILL_PRVREG): Likewise.
45741         (ILL_COPROC): Likewise.
45742         (ILL_BADSTK): Likewise.
45743         (ILL_BADIADDR): Likewise.
45744         (ILL_BREAK): Likewise.
45745         (FPE_INTDIV): Likewise.
45746         (FPE_INTOVF): Likewise.
45747         (FPE_FLTDIV): Likewise.
45748         (FPE_FLTOVF): Likewise.
45749         (FPE_FLTUND): Likewise.
45750         (FPE_FLTRES): Likewise.
45751         (FPE_FLTINV): Likewise.
45752         (FPE_FLTSUB): Likewise.
45753         (FPE_DECOVF): Likewise.
45754         (FPE_DECDIV): Likewise.
45755         (FPE_DECERR): Likewise.
45756         (FPE_INVASC): Likewise.
45757         (FPE_INVDEC): Likewise.
45758         (SEGV_MAPERR): Likewise.
45759         (SEGV_ACCERR): Likewise.
45760         (SEGV_PSTKOVF): Likewise.
45761         (BUS_ADRALN): Likewise.
45762         (BUS_ADRERR): Likewise.
45763         (BUS_OBJERR): Likewise.
45764         (BUS_MCEERR_AR): Likewise.
45765         (BUS_MCEERR_AO): Likewise.
45766         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45767         (TRAP_TRACE): Likewise.
45768         (TRAP_BRANCH): Likewise.
45769         (TRAP_HWBKPT): Likewise.
45770         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45771         __USE_XOPEN2K8].
45772         (CLD_KILLED): Likewise.
45773         (CLD_DUMPED): Likewise.
45774         (CLD_TRAPPED): Likewise.
45775         (CLD_STOPPED): Likewise.
45776         (CLD_CONTINUED): Likewise.
45777         (POLL_IN): Likewise.
45778         (POLL_OUT): Likewise.
45779         (POLL_MSG): Likewise.
45780         (POLL_ERR): Likewise.
45781         (POLL_PRI): Likewise.
45782         (POLL_HUP): Likewise.
45783         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
45784         (ILL_ILLOPN): Likewise.
45785         (ILL_ILLADR): Likewise.
45786         (ILL_ILLTRP): Likewise.
45787         (ILL_PRVOPC): Likewise.
45788         (ILL_PRVREG): Likewise.
45789         (ILL_COPROC): Likewise.
45790         (ILL_BADSTK): Likewise.
45791         (FPE_INTDIV): Likewise.
45792         (FPE_INTOVF): Likewise.
45793         (FPE_FLTDIV): Likewise.
45794         (FPE_FLTOVF): Likewise.
45795         (FPE_FLTUND): Likewise.
45796         (FPE_FLTRES): Likewise.
45797         (FPE_FLTINV): Likewise.
45798         (FPE_FLTSUB): Likewise.
45799         (SEGV_MAPERR): Likewise.
45800         (SEGV_ACCERR): Likewise.
45801         (BUS_ADRALN): Likewise.
45802         (BUS_ADRERR): Likewise.
45803         (BUS_OBJERR): Likewise.
45804         (BUS_MCEERR_AR): Likewise.
45805         (BUS_MCEERR_AO): Likewise.
45806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45807         (TRAP_TRACE): Likewise.
45808         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45809         __USE_XOPEN2K8].
45810         (CLD_KILLED): Likewise.
45811         (CLD_DUMPED): Likewise.
45812         (CLD_TRAPPED): Likewise.
45813         (CLD_STOPPED): Likewise.
45814         (CLD_CONTINUED): Likewise.
45815         (POLL_IN): Likewise.
45816         (POLL_OUT): Likewise.
45817         (POLL_MSG): Likewise.
45818         (POLL_ERR): Likewise.
45819         (POLL_PRI): Likewise.
45820         (POLL_HUP): Likewise.
45821         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
45822         (ILL_ILLOPN): Likewise.
45823         (ILL_ILLADR): Likewise.
45824         (ILL_ILLTRP): Likewise.
45825         (ILL_PRVOPC): Likewise.
45826         (ILL_PRVREG): Likewise.
45827         (ILL_COPROC): Likewise.
45828         (ILL_BADSTK): Likewise.
45829         (FPE_INTDIV): Likewise.
45830         (FPE_INTOVF): Likewise.
45831         (FPE_FLTDIV): Likewise.
45832         (FPE_FLTOVF): Likewise.
45833         (FPE_FLTUND): Likewise.
45834         (FPE_FLTRES): Likewise.
45835         (FPE_FLTINV): Likewise.
45836         (FPE_FLTSUB): Likewise.
45837         (SEGV_MAPERR): Likewise.
45838         (SEGV_ACCERR): Likewise.
45839         (BUS_ADRALN): Likewise.
45840         (BUS_ADRERR): Likewise.
45841         (BUS_OBJERR): Likewise.
45842         (BUS_MCEERR_AR): Likewise.
45843         (BUS_MCEERR_AO): Likewise.
45844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45845         (TRAP_TRACE): Likewise.
45846         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45847         __USE_XOPEN2K8].
45848         (CLD_KILLED): Likewise.
45849         (CLD_DUMPED): Likewise.
45850         (CLD_TRAPPED): Likewise.
45851         (CLD_STOPPED): Likewise.
45852         (CLD_CONTINUED): Likewise.
45853         (POLL_IN): Likewise.
45854         (POLL_OUT): Likewise.
45855         (POLL_MSG): Likewise.
45856         (POLL_ERR): Likewise.
45857         (POLL_PRI): Likewise.
45858         (POLL_HUP): Likewise.
45859         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
45860         (ILL_ILLOPN): Likewise.
45861         (ILL_ILLADR): Likewise.
45862         (ILL_ILLTRP): Likewise.
45863         (ILL_PRVOPC): Likewise.
45864         (ILL_PRVREG): Likewise.
45865         (ILL_COPROC): Likewise.
45866         (ILL_BADSTK): Likewise.
45867         (FPE_INTDIV): Likewise.
45868         (FPE_INTOVF): Likewise.
45869         (FPE_FLTDIV): Likewise.
45870         (FPE_FLTOVF): Likewise.
45871         (FPE_FLTUND): Likewise.
45872         (FPE_FLTRES): Likewise.
45873         (FPE_FLTINV): Likewise.
45874         (FPE_FLTSUB): Likewise.
45875         (SEGV_MAPERR): Likewise.
45876         (SEGV_ACCERR): Likewise.
45877         (BUS_ADRALN): Likewise.
45878         (BUS_ADRERR): Likewise.
45879         (BUS_OBJERR): Likewise.
45880         (BUS_MCEERR_AR): Likewise.
45881         (BUS_MCEERR_AO): Likewise.
45882         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45883         (TRAP_TRACE): Likewise.
45884         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45885         __USE_XOPEN2K8].
45886         (CLD_KILLED): Likewise.
45887         (CLD_DUMPED): Likewise.
45888         (CLD_TRAPPED): Likewise.
45889         (CLD_STOPPED): Likewise.
45890         (CLD_CONTINUED): Likewise.
45891         (POLL_IN): Likewise.
45892         (POLL_OUT): Likewise.
45893         (POLL_MSG): Likewise.
45894         (POLL_ERR): Likewise.
45895         (POLL_PRI): Likewise.
45896         (POLL_HUP): Likewise.
45897         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
45898         (ILL_ILLOPN): Likewise.
45899         (ILL_ILLADR): Likewise.
45900         (ILL_ILLTRP): Likewise.
45901         (ILL_PRVOPC): Likewise.
45902         (ILL_PRVREG): Likewise.
45903         (ILL_COPROC): Likewise.
45904         (ILL_BADSTK): Likewise.
45905         (ILL_DBLFLT): Likewise.
45906         (ILL_HARDWALL): Likewise.
45907         (FPE_INTDIV): Likewise.
45908         (FPE_INTOVF): Likewise.
45909         (FPE_FLTDIV): Likewise.
45910         (FPE_FLTOVF): Likewise.
45911         (FPE_FLTUND): Likewise.
45912         (FPE_FLTRES): Likewise.
45913         (FPE_FLTINV): Likewise.
45914         (FPE_FLTSUB): Likewise.
45915         (SEGV_MAPERR): Likewise.
45916         (SEGV_ACCERR): Likewise.
45917         (BUS_ADRALN): Likewise.
45918         (BUS_ADRERR): Likewise.
45919         (BUS_OBJERR): Likewise.
45920         (BUS_MCEERR_AR): Likewise.
45921         (BUS_MCEERR_AO): Likewise.
45922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45923         (TRAP_TRACE): Likewise.
45924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45925         __USE_XOPEN2K8].
45926         (CLD_KILLED): Likewise.
45927         (CLD_DUMPED): Likewise.
45928         (CLD_TRAPPED): Likewise.
45929         (CLD_STOPPED): Likewise.
45930         (CLD_CONTINUED): Likewise.
45931         (POLL_IN): Likewise.
45932         (POLL_OUT): Likewise.
45933         (POLL_MSG): Likewise.
45934         (POLL_ERR): Likewise.
45935         (POLL_PRI): Likewise.
45936         (POLL_HUP): Likewise.
45937         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
45938         (ILL_ILLOPN): Likewise.
45939         (ILL_ILLADR): Likewise.
45940         (ILL_ILLTRP): Likewise.
45941         (ILL_PRVOPC): Likewise.
45942         (ILL_PRVREG): Likewise.
45943         (ILL_COPROC): Likewise.
45944         (ILL_BADSTK): Likewise.
45945         (FPE_INTDIV): Likewise.
45946         (FPE_INTOVF): Likewise.
45947         (FPE_FLTDIV): Likewise.
45948         (FPE_FLTOVF): Likewise.
45949         (FPE_FLTUND): Likewise.
45950         (FPE_FLTRES): Likewise.
45951         (FPE_FLTINV): Likewise.
45952         (FPE_FLTSUB): Likewise.
45953         (SEGV_MAPERR): Likewise.
45954         (SEGV_ACCERR): Likewise.
45955         (BUS_ADRALN): Likewise.
45956         (BUS_ADRERR): Likewise.
45957         (BUS_OBJERR): Likewise.
45958         (BUS_MCEERR_AR): Likewise.
45959         (BUS_MCEERR_AO): Likewise.
45960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45961         (TRAP_TRACE): Likewise.
45962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45963         __USE_XOPEN2K8].
45964         (CLD_KILLED): Likewise.
45965         (CLD_DUMPED): Likewise.
45966         (CLD_TRAPPED): Likewise.
45967         (CLD_STOPPED): Likewise.
45968         (CLD_CONTINUED): Likewise.
45969         (POLL_IN): Likewise.
45970         (POLL_OUT): Likewise.
45971         (POLL_MSG): Likewise.
45972         (POLL_ERR): Likewise.
45973         (POLL_PRI): Likewise.
45974         (POLL_HUP): Likewise.
45975         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
45976         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45978         [BZ #16670]
45979         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
45980         before #include of <time.h>.
45981         [!__USE_XOPEN2K] (__need_timespec): Likewise.
45982         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
45983         (test-xfail-UNIX98/sched.h/conform): Likewise.
45985 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45987         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
45988         error absence of trapping exception support.
45989         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45991 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
45993         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
45994         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
45995         * timezone/Makefile (testdata): Move definition above include of
45996         Rules.
45997         (test-zones): New variable.
45998         (tests-special): Add zone files.
45999         (build-testdata): Use $(evaluate-test).
46001         * elf/Makefile (tests-special): Rename tests to end with .out.
46002         ($(objpfx)noload-mem): Likewise.
46003         ($(objpfx)tst-leaks1-mem): Likewise.
46004         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46005         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46006         $(objpfx)test-iconvconfig.out.
46007         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46008         set -e inside subshell and redirect output to file.
46009         * iconvdata/Makefile (generated): Rename tests to end with .out.
46010         Correct type.
46011         (tests-special): Rename tests to end with .out.
46012         ($(objpfx)mtrace-tst-loading): Likewise.
46013         * intl/Makefile (generated): Likewise.
46014         (tests-special): Likewise.
46015         ($(objpfx)mtrace-tst-gettext): Likewise.
46016         * misc/Makefile (generated): Likewise.
46017         (tests-special): Likewise.
46018         ($(objpfx)tst-error1-mem): Likewise.
46019         * nptl/Makefile (tests-special): Likewise.
46020         ($(objpfx)tst-stack3-mem): Likewise.
46021         (generated): Likewise.
46022         * posix/Makefile (generated): Likewise.
46023         (tests-special): Likewise.
46024         (xtests-special): Likewise.
46025         ($(objpfx)tst-fnmatch-mem): Likewise.
46026         ($(objpfx)bug-regex2-mem): Likewise.
46027         ($(objpfx)bug-regex14-mem): Likewise.
46028         ($(objpfx)bug-regex21-mem): Likewise.
46029         ($(objpfx)bug-regex31-mem): Likewise.
46030         ($(objpfx)tst-vfork3-mem): Likewise.
46031         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46032         ($(objpfx)tst-pcre-mem): Likewise.
46033         ($(objpfx)tst-boost-mem): Likewise.
46034         ($(objpfx)bug-ga2-mem): Likewise.
46035         ($(objpfx)bug-glob2-mem): Likewise.
46036         * resolv/Makefile (generate): Likewise.
46037         (tests-special): Likewise.
46038         (xtests-special): Likewise.
46039         (generated): Likewise.
46040         ($(objpfx)mtrace-tst-leaks): Likewise.
46041         ($(objpfx)mtrace-tst-leaks2): Likewise.
46043         * scripts/merge-test-results.sh: New file.
46044         * Makefile (tests-special-notdir): New variable.
46045         (tests): Run merge-test-results.sh.
46046         (xtests): Likewise.
46047         * Rules (tests-special-notdir): New variable.
46048         (xtests-special-notdir): Likewise.
46049         (tests): Run merge-test-results.sh
46050         (xtests): Likewise.
46052         * Makeconfig (test-xfail-name): New variable.
46053         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46054         compute variable name for expected failures.
46055         * conform/Makefile (conformtest-headers-data): New variable.
46056         (conformtest-standards): Likewise.
46057         (conformtest-headers-ISO): Likewise.
46058         (conformtest-headers-ISO99): Likewise.
46059         (conformtest-headers-ISO11): Likewise.
46060         (conformtest-headers-POSIX): Likewise.
46061         (conformtest-headers-XPG3): Likewise.
46062         (conformtest-headers-XPG4): Likewise.
46063         (conformtest-headers-UNIX98): Likewise.
46064         (conformtest-headers-XOPEN2K): Likewise.
46065         (conformtest-headers-POSIX2008): Likewise.
46066         (conformtest-headers-XOPEN2K8): Likewise.
46067         (conformtest-header-list-base): Likewise.
46068         (conformtest-header-list-tests): Likewise.
46069         (conformtest-header-base): Likewise.
46070         (conformtest-header-tests): Likewise.
46071         (tests-special): Add $(conformtest-header-list-tests).  If
46072         [$(fast-check) && !$(cross-compiling)], add
46073         $(conformtest-header-tests) instead of
46074         $(objpfx)run-conformtest.out.
46075         (generated): Add $(conformtest-header-list-base).  If
46076         [$(fast-check) && !$(cross-compiling)], add
46077         $(conformtest-header-base).  Remove previous setting.
46078         ($(conformtest-header-list-tests)): New target.
46079         (test-xfail-run-conformtest): Remove variable.
46080         ($(objpfx)run-conformtest.out): Remove target.
46081         (test-xfail-ISO11/complex.h/conform): New variable.
46082         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46083         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46084         (test-xfail-XPG3/varargs.h/conform): Likewise.
46085         (test-xfail-XPG4/varargs.h/conform): Likewise.
46086         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46087         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46088         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46089         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46090         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46091         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46092         (test-xfail-XPG3/ftw.h/conform): Likewise.
46093         (test-xfail-XPG3/grp.h/conform): Likewise.
46094         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46095         (test-xfail-XPG3/limits.h/conform): Likewise.
46096         (test-xfail-XPG3/pwd.h/conform): Likewise.
46097         (test-xfail-XPG3/search.h/conform): Likewise.
46098         (test-xfail-XPG3/signal.h/conform): Likewise.
46099         (test-xfail-XPG3/stdio.h/conform): Likewise.
46100         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46101         (test-xfail-XPG3/string.h/conform): Likewise.
46102         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46103         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46104         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46105         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46106         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46107         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46108         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46109         (test-xfail-XPG3/termios.h/conform): Likewise.
46110         (test-xfail-XPG3/time.h/conform): Likewise.
46111         (test-xfail-XPG3/unistd.h/conform): Likewise.
46112         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46113         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46114         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46115         (test-xfail-XPG4/netdb.h/conform): Likewise.
46116         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46117         (test-xfail-XPG4/signal.h/conform): Likewise.
46118         (test-xfail-XPG4/stdio.h/conform): Likewise.
46119         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46120         (test-xfail-XPG4/stropts.h/conform): Likewise.
46121         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46122         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46123         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46124         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46125         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46126         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46127         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46128         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46129         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46130         (test-xfail-XPG4/termios.h/conform): Likewise.
46131         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46132         (test-xfail-XPG4/unistd.h/conform): Likewise.
46133         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46134         (test-xfail-POSIX/sched.h/conform): Likewise.
46135         (test-xfail-POSIX/signal.h/conform): Likewise.
46136         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46137         (test-xfail-POSIX/tar.h/conform): Likewise.
46138         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46139         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46140         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46141         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46142         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46143         (test-xfail-UNIX98/sched.h/conform): Likewise.
46144         (test-xfail-UNIX98/signal.h/conform): Likewise.
46145         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46146         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46147         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46148         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46149         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46150         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46151         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46152         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46153         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46154         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46155         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46156         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46157         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46158         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46159         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46160         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46161         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46162         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46163         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46164         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46165         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46166         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46167         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46168         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46169         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46170         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46171         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46172         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46173         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46174         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46175         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46176         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46177         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46178         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46179         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46180         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46181         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46182         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46183         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46184         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46185         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46186         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46187         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46188         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46189         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46190         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46191         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46192         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46193         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46194         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46195         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46196         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46197         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46198         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46199         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46200         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46201         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46202         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46203         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46204         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46205         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46206         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46207         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46208         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46209         (conformtest-cc-flags): Likewise.
46210         ($(conformtest-header-tests): New target.
46211         * conform/check-header-lists.sh: New file.
46212         * conform/run-conformtest.sh: Remove.
46214         * conform/conformtest.pl: Allow ' and \ in values given for
46215         constants.
46216         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46217         inclusion.
46218         [POSIX] (sys/types.h): Likewise.
46219         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46220         inclusion.
46221         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46222         inclusion.
46223         * conform/data/signal.h-data (SIGIO): Remove expectation.
46224         [XPG3] (SIGBUS): Do not expect.
46225         [POSIX || XPG3] (SIGPOLL): Likewise.
46226         [POSIX || XPG3] (SIGPROF): Likewise.
46227         [POSIX || XPG3] (SIGSYS): Likewise.
46228         [XPG3] (SIGTRAP): Likewise.
46229         [POSIX || XPG3] (SIGURG): Likewise.
46230         [POSIX || XPG3] (SIGVTALRM): Likewise.
46231         [POSIX || XPG3] (SIGXCPU): Likewise.
46232         [POSIX || XPG3] (SIGXFSZ): Likewise.
46233         [POSIX] (SA_SIGINFO): Expect.
46234         [XPG3] (siginfo_t): Do not expect type or contents.
46235         [POSIX] (si_pid): Do not expect element.
46236         [POSIX] (si_uid): Likewise.
46237         [POSIX] (si_addr): Likewise.
46238         [POSIX] (si_status): Likewise.
46239         [POSIX] (si_band): Likewise.
46240         [XPG4] (si_value): Likewise.
46241         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46242         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46243         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46244         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46245         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46246         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46247         [POSIX || XPG3] (ILL_COPROC): Likewise.
46248         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46249         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46250         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46251         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46252         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46253         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46254         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46255         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46256         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46257         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46258         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46259         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46260         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46261         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46262         [POSIX || XPG3] (CLD_EXITED): Likewise.
46263         [POSIX || XPG3] (CLD_KILLED): Likewise.
46264         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46265         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46266         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46267         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46268         [POSIX || XPG3] (POLL_IN): Likewise.
46269         [POSIX || XPG3] (POLL_OUT): Likewise.
46270         [POSIX || XPG3] (POLL_MSG): Likewise.
46271         [POSIX || XPG3] (POLL_ERR): Likewise.
46272         [POSIX || XPG3] (POLL_PRI): Likewise.
46273         [POSIX || XPG3] (POLL_HUP): Likewise.
46274         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46275         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46276         (SIG*): Do not allow.
46277         [XPG3] (si_*): Likewise.
46278         [XPG3] (SI_*): Likewise.
46279         [XPG3 || XPG4] (sigev_*): Likewise.
46280         [XPG3 || XPG4] (SIGEV_*): Likewise.
46281         [XPG3 || XPG4] (sival_*): Likewise.
46282         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46283         [POSIX || XPG3] (BUS_*): Likewise.
46284         [POSIX || XPG3] (CLD_*): Likewise.
46285         [POSIX || XPG3] (FPE_*): Likewise.
46286         [POSIX || XPG3] (ILL_*): Likewise.
46287         [POSIX || XPG3] (POLL_*): Likewise.
46288         [POSIX || XPG3] (SEGV_*): Likewise.
46289         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46290         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46291         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46292         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46293         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46294         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46295         Specify type and value.
46296         (TVERSLEN): Likewise.
46297         (REGTYPE): Likewise.
46298         (AREGTYPE): Likewise.
46299         (LNKTYPE): Likewise.
46300         (SYMTYPE): Likewise.
46301         (CHRTYPE): Likewise.
46302         (BLKTYPE): Likewise.
46303         (DIRTYPE): Likewise.
46304         (FIFOTYPE): Likewise.
46305         (CONTTYPE): Likewise.
46306         (TSUID): Likewise.
46307         (TSGID): Likewise.
46308         (TSVTX): Likewise.
46309         (TUREAD): Likewise.
46310         (TUWRITE): Likewise.
46311         (TUEXEC): Likewise.
46312         (TGREAD): Likewise.
46313         (TGWRITE): Likewise.
46314         (TGEXEC): Likewise.
46315         (TOREAD): Likewise.
46316         (TOWRITE): Likewise.
46317         (TOEXEC): Likewise.
46318         [POSIX] (TSVTX): Expect constant.
46320 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46322         * Makefile (tests): Change dependencies to ....
46323         (tests-special): ... additions to this variable.
46324         (tests): Depend on $(tests-special).
46325         * Makerules (check-abi-list): New variable.
46326         (check-abi): Depend on $(check-abi-list).
46327         [$(subdir) = elf] (tests-special): Add
46328         $(objpfx)check-abi-libc.out.
46329         [$(build-shared) = yes && subdir] (tests-special): Add
46330         $(check-abi-list).
46331         [$(build-shared) = yes && subdir] (tests): Do not depend on
46332         check-abi.
46333         * Rules (tests): Depend on $(tests-special).
46334         (xtests): Depend on $(xtests-special).
46335         * catgets/Makefile (tests): Change dependencies to ....
46336         (tests-special): ... additions to this variable.
46337         * conform/Makefile (tests): Change dependencies to ....
46338         (tests-special): ... additions to this variable.
46339         * elf/Makefile (tests): Change dependencies to ....
46340         (tests-special): ... additions to this variable.
46341         * grp/Makefile (tests): Change dependencies to ....
46342         (tests-special): ... additions to this variable.
46343         * iconv/Makefile (xtests): Change dependencies to ....
46344         (xtests-special): ... additions to this variable.
46345         * iconvdata/Makefile (tests): Change dependencies to ....
46346         (tests-special): ... additions to this variable.
46347         * intl/Makefile (tests): Change dependencies to ....
46348         (tests-special): ... additions to this variable.  Also add
46349         $(objpfx)tst-gettext.out.
46350         * io/Makefile (tests): Change dependencies to ....
46351         (tests-special): ... additions to this variable.
46352         * libio/Makefile (tests): Change dependencies to ....
46353         (tests-special): ... additions to this variable.
46354         * malloc/Makefile (tests): Change dependencies to ....
46355         (tests-special): ... additions to this variable.
46356         * misc/Makefile (tests): Change dependencies to ....
46357         (tests-special): ... additions to this variable.
46358         * nptl/Makefile (tests): Change dependencies to ....
46359         (tests-special): ... additions to this variable.
46360         * nptl_db/Makefile (tests): Change dependencies to ....
46361         (tests-special): ... additions to this variable.
46362         * posix/Makefile (tests): Change dependencies to ....
46363         (tests-special): ... additions to this variable.
46364         (xtests): Change dependencies to ....
46365         (xtests-special): ... additions to this variable.
46366         * resolv/Makefile (tests): Change dependencies to ....
46367         (tests-special): ... additions to this variable.
46368         (xtests): Change dependencies to ....
46369         (xtests-special): ... additions to this variable.
46370         * stdio-common/Makefile (tests): Change dependencies to ....
46371         (tests-special): ... additions to this variable.
46372         (do-tst-unbputc): Remove target.
46373         (do-tst-printf): Likewise.
46374         * stdlib/Makefile (tests): Change dependencies to ....
46375         (tests-special): ... additions to this variable.
46376         * string/Makefile (tests): Change dependencies to ....
46377         (tests-special): ... additions to this variable.
46378         * sysdeps/x86/Makefile (tests): Change dependencies to ....
46379         (tests-special): ... additions to this variable.
46381         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
46382         whole file.
46383         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
46384         whole file.
46385         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
46386         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
46388         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
46389         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
46390         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
46391         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
46392         * conform/data/libgen.h-data [XPG3]: Likewise.
46393         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
46394         * conform/data/ndbm.h-data [XPG3]: Likewise.
46395         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46396         * conform/data/netdb.h-data [XPG3]: Likewise.
46397         * conform/data/netinet/in.h-data [XPG3]: Likewise.
46398         * conform/data/poll.h-data [XPG3]: Likewise.
46399         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46400         * conform/data/strings.h-data [XPG3]: Likewise.
46401         * conform/data/stropts.h-data [XPG3]: Likewise.
46402         * conform/data/sys/mman.h-data [XPG3]: Likewise.
46403         * conform/data/sys/resource.h-data [XPG3]: Likewise.
46404         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
46405         Likewise.
46406         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
46407         * conform/data/sys/time.h-data [XPG3]: Likewise.
46408         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
46409         * conform/data/sys/uio.h-data [XPG3]: Likewise.
46410         * conform/data/sys/un.h-data [XPG3]: Likewise.
46411         * conform/data/syslog.h-data [XPG3]: Likewise.
46412         * conform/data/ucontext.h-data [XPG3]: Likewise.
46413         * conform/data/utmpx.h-data [XPG3]: Likewise.
46414         * conform/data/varargs.h-data [UNIX98]: Enable file.
46416         * manual/Makefile (INSTALL_INFO): Remove variable setting.
46418         * math/libm-test.inc (struct test_f_f_data): Move expected results
46419         into structure for each rounding mode.
46420         (struct test_ff_f_data): Likewise.
46421         (struct test_ff_f_data_nexttoward): Likewise.
46422         (struct test_fi_f_data): Likewise.
46423         (struct test_fl_f_data): Likewise.
46424         (struct test_if_f_data): Likewise.
46425         (struct test_fff_f_data): Likewise.
46426         (struct test_c_f_data): Likewise.
46427         (struct test_f_f1_data): Likewise.
46428         (struct test_fF_f1_data): Likewise.
46429         (struct test_ffI_f1_data): Likewise.
46430         (struct test_c_c_data): Likewise.
46431         (struct test_cc_c_data): Likewise.
46432         (struct test_f_i_data): Likewise.
46433         (struct test_ff_i_data): Likewise.
46434         (struct test_f_l_data): Likewise.
46435         (struct test_f_L_data): Likewise.
46436         (struct test_fFF_11_data): Likewise.
46437         (RM_): New macro.
46438         (RM_FE_DOWNWARD): Likewise.
46439         (RM_FE_TONEAREST): Likewise.
46440         (RM_FE_TOWARDZERO): Likewise.
46441         (RM_FE_UPWARD): Likewise.
46442         (RUN_TEST_LOOP_f_f): Update references to expected results.
46443         (RUN_TEST_LOOP_2_f): Likewise.
46444         (RUN_TEST_LOOP_fff_f): Likewise.
46445         (RUN_TEST_LOOP_c_f): Likewise.
46446         (RUN_TEST_LOOP_f_f1): Likewise.
46447         (RUN_TEST_LOOP_fF_f1): Likewise.
46448         (RUN_TEST_LOOP_fI_f1): Likewise.
46449         (RUN_TEST_LOOP_ffI_f1): Likewise.
46450         (RUN_TEST_LOOP_c_c): Likewise.
46451         (RUN_TEST_LOOP_cc_c): Likewise.
46452         (RUN_TEST_LOOP_f_i): Likewise.
46453         (RUN_TEST_LOOP_f_i_tg): Likewise.
46454         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46455         (RUN_TEST_LOOP_f_b): Likewise.
46456         (RUN_TEST_LOOP_f_b_tg): Likewise.
46457         (RUN_TEST_LOOP_f_l): Likewise.
46458         (RUN_TEST_LOOP_f_L): Likewise.
46459         (RUN_TEST_LOOP_fFF_11): Likewise.
46460         * math/gen-libm-test.pl (parse_args): Output four copies of
46461         expected results for each test.
46463         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46464         (__ASSUME_UTIMES): Remove.
46465         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46466         (__ASSUME_UTIMES): Likewise.
46468         * math/gen-auto-libm-tests.c: Update comment on output format.
46469         (output_for_one_input_case): Generate before-rounding and
46470         after-rounding information as conditions on output flags not
46471         floating-point format.
46472         * math/auto-libm-test-out: Regenerated.
46473         * math/gen-libm-test.pl (cond_value): New function.
46474         (or_cond_value): Use cond_value.
46475         (generate_testfile): Handle conditional exceptions.
46477 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
46479         * math/libm-test.inc (max_valid_error): New variable.
46480         (init_max_error): Take new argument specifying whether function
46481         results are exactly determined.  Set max_valid_error and bound
46482         other variables for errors based on this argument.
46483         (set_max_error): Do not record results above max_valid_error.
46484         (check_float_internal): Only accept errors of up to 0.5ulps if
46485         also at most max_valid_error.
46486         (START): Take new argument EXACT and pass it to init_max_error.
46487         (acos_test): Update call to START.
46488         (acos_test_tonearest): Likewise.
46489         (acos_test_towardzero): Likewise.
46490         (acos_test_downward): Likewise.
46491         (acos_test_upward): Likewise.
46492         (acosh_test): Likewise.
46493         (asin_test): Likewise.
46494         (asin_test_tonearest): Likewise.
46495         (asin_test_towardzero): Likewise.
46496         (asin_test_downward): Likewise.
46497         (asin_test_upward): Likewise.
46498         (asinh_test): Likewise.
46499         (atan_test): Likewise.
46500         (atanh_test): Likewise.
46501         (atan2_test): Likewise.
46502         (cabs_test): Likewise.
46503         (cacos_test): Likewise.
46504         (cacosh_test): Likewise.
46505         (carg_test): Likewise.
46506         (casin_test): Likewise.
46507         (casinh_test): Likewise.
46508         (catan_test): Likewise.
46509         (catanh_test): Likewise.
46510         (cbrt_test): Likewise.
46511         (ccos_test): Likewise.
46512         (ccosh_test): Likewise.
46513         (ceil_test): Likewise.
46514         (cexp_test): Likewise.
46515         (cimag_test): Likewise.
46516         (clog_test): Likewise.
46517         (clog10_test): Likewise.
46518         (conj_test): Likewise.
46519         (copysign_test): Likewise.
46520         (cos_test): Likewise.
46521         (cos_test_tonearest): Likewise.
46522         (cos_test_towardzero): Likewise.
46523         (cos_test_downward): Likewise.
46524         (cos_test_upward): Likewise.
46525         (cosh_test): Likewise.
46526         (cosh_test_tonearest): Likewise.
46527         (cosh_test_towardzero): Likewise.
46528         (cosh_test_downward): Likewise.
46529         (cosh_test_upward): Likewise.
46530         (cpow_test): Likewise.
46531         (cproj_test): Likewise.
46532         (creal_test): Likewise.
46533         (csin_test): Likewise.
46534         (csinh_test): Likewise.
46535         (csqrt_test): Likewise.
46536         (ctan_test): Likewise.
46537         (ctan_test_tonearest): Likewise.
46538         (ctan_test_towardzero): Likewise.
46539         (ctan_test_downward): Likewise.
46540         (ctan_test_upward): Likewise.
46541         (ctanh_test): Likewise.
46542         (ctanh_test_tonearest): Likewise.
46543         (ctanh_test_towardzero): Likewise.
46544         (ctanh_test_downward): Likewise.
46545         (ctanh_test_upward): Likewise.
46546         (erf_test): Likewise.
46547         (erfc_test): Likewise.
46548         (exp_test): Likewise.
46549         (exp_test_tonearest): Likewise.
46550         (exp_test_towardzero): Likewise.
46551         (exp_test_downward): Likewise.
46552         (exp_test_upward): Likewise.
46553         (exp10_test): Likewise.
46554         (exp10_test_tonearest): Likewise.
46555         (exp10_test_towardzero): Likewise.
46556         (exp10_test_downward): Likewise.
46557         (exp10_test_upward): Likewise.
46558         (pow10_test): Likewise.
46559         (exp2_test): Likewise.
46560         (expm1_test): Likewise.
46561         (expm1_test_tonearest): Likewise.
46562         (expm1_test_towardzero): Likewise.
46563         (expm1_test_downward): Likewise.
46564         (expm1_test_upward): Likewise.
46565         (fabs_test): Likewise.
46566         (fdim_test): Likewise.
46567         (floor_test): Likewise.
46568         (fma_test): Likewise.
46569         (fma_test_towardzero): Likewise.
46570         (fma_test_downward): Likewise.
46571         (fma_test_upward): Likewise.
46572         (fmax_test): Likewise.
46573         (fmin_test): Likewise.
46574         (fmod_test): Likewise.
46575         (fpclassify_test): Likewise.
46576         (frexp_test): Likewise.
46577         (hypot_test): Likewise.
46578         (ilogb_test): Likewise.
46579         (isfinite_test): Likewise.
46580         (finite_test): Likewise.
46581         (isgreater_test): Likewise.
46582         (isgreaterequal_test): Likewise.
46583         (isinf_test): Likewise.
46584         (isless_test): Likewise.
46585         (islessequal_test): Likewise.
46586         (islessgreater_test): Likewise.
46587         (isnan_test): Likewise.
46588         (isnormal_test): Likewise.
46589         (issignaling_test): Likewise.
46590         (isunordered_test): Likewise.
46591         (j0_test): Likewise.
46592         (j1_test): Likewise.
46593         (jn_test): Likewise.
46594         (ldexp_test): Likewise.
46595         (lgamma_test): Likewise.
46596         (gamma_test): Likewise.
46597         (lrint_test): Likewise.
46598         (lrint_test_tonearest): Likewise.
46599         (lrint_test_towardzero): Likewise.
46600         (lrint_test_downward): Likewise.
46601         (lrint_test_upward): Likewise.
46602         (llrint_test): Likewise.
46603         (llrint_test_tonearest): Likewise.
46604         (llrint_test_towardzero): Likewise.
46605         (llrint_test_downward): Likewise.
46606         (llrint_test_upward): Likewise.
46607         (log_test): Likewise.
46608         (log10_test): Likewise.
46609         (log1p_test): Likewise.
46610         (log2_test): Likewise.
46611         (logb_test): Likewise.
46612         (logb_test_downward): Likewise.
46613         (lround_test): Likewise.
46614         (llround_test): Likewise.
46615         (modf_test): Likewise.
46616         (nearbyint_test): Likewise.
46617         (nextafter_test): Likewise.
46618         (nexttoward_test): Likewise.
46619         (pow_test): Likewise.
46620         (pow_test_tonearest): Likewise.
46621         (pow_test_towardzero): Likewise.
46622         (pow_test_downward): Likewise.
46623         (pow_test_upward): Likewise.
46624         (remainder_test): Likewise.
46625         (drem_test): Likewise.
46626         (remainder_test_tonearest): Likewise.
46627         (drem_test_tonearest): Likewise.
46628         (remainder_test_towardzero): Likewise.
46629         (drem_test_towardzero): Likewise.
46630         (remainder_test_downward): Likewise.
46631         (drem_test_downward): Likewise.
46632         (remainder_test_upward): Likewise.
46633         (drem_test_upward): Likewise.
46634         (remquo_test): Likewise.
46635         (rint_test): Likewise.
46636         (rint_test_tonearest): Likewise.
46637         (rint_test_towardzero): Likewise.
46638         (rint_test_downward): Likewise.
46639         (rint_test_upward): Likewise.
46640         (round_test): Likewise.
46641         (scalb_test): Likewise.
46642         (scalbn_test): Likewise.
46643         (scalbln_test): Likewise.
46644         (signbit_test): Likewise.
46645         (sin_test): Likewise.
46646         (sin_test_tonearest): Likewise.
46647         (sin_test_towardzero): Likewise.
46648         (sin_test_downward): Likewise.
46649         (sin_test_upward): Likewise.
46650         (sincos_test): Likewise.
46651         (sinh_test): Likewise.
46652         (sinh_test_tonearest): Likewise.
46653         (sinh_test_towardzero): Likewise.
46654         (sinh_test_downward): Likewise.
46655         (sinh_test_upward): Likewise.
46656         (sqrt_test): Likewise.
46657         (sqrt_test_tonearest): Likewise.
46658         (sqrt_test_towardzero): Likewise.
46659         (sqrt_test_downward): Likewise.
46660         (sqrt_test_upward): Likewise.
46661         (tan_test): Likewise.
46662         (tan_test_tonearest): Likewise.
46663         (tan_test_towardzero): Likewise.
46664         (tan_test_downward): Likewise.
46665         (tan_test_upward): Likewise.
46666         (tanh_test): Likewise.
46667         (tgamma_test): Likewise.
46668         (trunc_test): Likewise.
46669         (y0_test): Likewise.
46670         (y1_test): Likewise.
46671         (yn_test): Likewise.
46672         (significand_test): Likewise.
46674         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
46675         individual tests in comment.
46676         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
46677         (prev_max_error): New variable.
46678         (prev_real_max_error): Likewise.
46679         (prev_imag_max_error): Likewise.
46680         (compare_ulp_data): Don't refer to test names in comment.
46681         (find_test_ulps): Remove function.
46682         (find_function_ulps): Likewise.
46683         (find_complex_function_ulps): Likewise.
46684         (init_max_error): Take function name as argument.  Look up ulps
46685         for that function.
46686         (print_ulps): Remove function.
46687         (print_max_error): Use prev_max_error instead of calling
46688         find_function_ulps.
46689         (print_complex_max_error): Use prev_real_max_error and
46690         prev_imag_max_error instead of calling find_complex_function_ulps.
46691         (check_float_internal): Take max_ulp parameter instead of calling
46692         find_test_ulps.  Don't call print_ulps.
46693         (check_float): Update call to check_float_internal.
46694         (check_complex): Update calls to check_float_internal.
46695         (START): Pass argument to init_max_error.
46696         * math/gen-libm-test.pl (%results): Don't include "kind"
46697         information.
46698         (parse_ulps): Don't handle ulps of individual tests.
46699         (print_ulps_file): Likewise.
46700         (output_ulps): Likewise.
46701         * math/README.libm-test: Update.
46702         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
46703         individual tests.
46704         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
46705         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
46706         * sysdeps/arm/libm-test-ulps: Likewise.
46707         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
46708         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
46709         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
46710         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
46711         * sysdeps/microblaze/libm-test-ulps: Likewise.
46712         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
46713         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46714         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46715         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
46716         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46717         * sysdeps/sh/libm-test-ulps: Likewise.
46718         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46719         * sysdeps/tile/libm-test-ulps: Likewise.
46720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46722 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
46724         * math/libm-test.inc (print_complex_max_error): Check separately
46725         whether real and imaginary errors are within allowed range and
46726         pass 0 to print_complex_function_ulps instead of value within
46727         allowed range.
46729 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46731         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
46732         formatting.
46733         (get_handles_fopen): Likewise.
46734         (do_write_test): Likewise.
46736         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
46738         * libio/fileops.c (do_ftell): Use cached offset when
46739         available.
46740         * libio/iofwide.c (do_ftell_wide): Likewise.
46741         * libio/iofdopen.c (_IO_new_fdopen): Don't use
46742         _IO_file_attach.
46743         * libio/wfileops.c (_IO_fwide): Don't cache offset.
46745         [BZ #16532]
46746         * libio/libioP.h (get_file_offset): New function.
46747         * libio/fileops.c (get_file_offset): Likewise.
46748         (do_ftell): Likewise.
46749         (_IO_new_file_seekoff): Split out ftell logic.
46750         * libio/wfileops.c (do_ftell_wide): Likewise.
46751         (_IO_wfile_seekoff): Split out ftell logic.
46752         * libio/tst-ftell-active-handler.c: New test case.
46753         * libio/Makefile (tests): Add it.
46755 2014-03-03  Roland McGrath  <roland@hack.frob.com>
46757         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
46758         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
46760 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46762         [BZ #16639]
46763         * nscd/connections.c (nscd_init): Call do_exit.
46764         (start_threads): Call do_exit and notify_parent.
46765         (begin_drop_privileges): Call do_exit.
46766         (finish_drop_privileges): Likewise.
46767         * nscd/selinux.c (preserve_capabilities): Likewise.
46768         (install_real_capabilities): Likewise.
46769         (nscd_selinux_enabled): Likewise.
46770         (avc_create_thread): Likewise.
46771         (avc_alloc_lock): Likewise.
46772         (nscd_avc_init): Likewise.
46773         * nscd/nscd.c (parent_fd): New static variable.
46774         (main): Create a pipe between parent and child processes.
46775         Skip closing parent_fd.
46776         (monitor_child): New function.
46777         (do_exit): Likewise.
46778         (notify_parent): Likewise.
46779         * nscd/nscd.h (notify_parent): Likewise.
46780         (do_exit): Likewise.
46782 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
46784         * malloc/malloc.c (__libc_calloc): Revert last change.
46786 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46790 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46792         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
46793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
46794         implementation.
46795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46796         (__libc_ifunc_impl_list): Likewise.
46797         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
46798         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
46799         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
46800         * string/strrchr.c: Define STRRCHR.
46802 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
46804         * benchtest/bench-strtok.c (simple_strtok): Delete.
46805         (strtok_string): Use as benchmark.
46806         * string/strtok (STRTOK): New macro.
46808 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
46810         * manual/threads.texi: Add header and standard comments to all
46811         functions.
46813         * elf/dl-lookup.c (check_match): New function.
46814         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
46815         (do_lookup_x): Remove nested function check_match. Use non-nested
46816         function check_match.
46818 2014-02-28  Roland McGrath  <roland@hack.frob.com>
46820         * csu/Makefile (generated, before-compile): Use += rather than =.
46821         * catgets/Makefile (generated, generated-dirs): Likewise.
46822         * debug/Makefile (generated): Likewise.
46823         * dlfcn/Makefile (generated): Likewise.
46824         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
46825         * iconvdata/Makefile (before-compile, generated): Likewise.
46826         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
46827         * libio/Makefile (generated): Likewise.
46828         * malloc/Makefile (generated): Likewise.
46829         * manual/Makefile (generated, generated-dirs): Likewise.
46830         * misc/Makefile (generated): Likewise.
46831         * posix/Makefile (generated): Likewise.
46832         * resolv/Makefile (generated): Likewise.
46833         * sunrpc/Makefile (generated, generated-dirs): Likewise.
46834         * timezone/Makefile (generated, generated-dirs): Likewise.
46836         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
46838 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46841         power8 implementation.
46842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
46843         file: POWER8 llround ifunc implementation.
46844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
46845         (__lllround): Add POWER8 implementation.
46846         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
46847         POWER8 llround implementation.
46849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
46850         power8 implementation.
46851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
46852         file: POWER8 llrint ifunc implementation.
46853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
46854         Add POWER8 implementation.
46855         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
46856         POWER8 llrint implementation.
46858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
46859         power8 implementation.
46860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
46861         file: POWER8 finite ifunc implementation.
46862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
46863         Add POWER8 implementation.
46864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
46865         Likewise.
46866         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
46867         POWER8 finite implementation.
46868         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
46870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
46871         power8 implementation.
46872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
46873         file: POWER8 isinf ifunc implementation.
46874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
46875         POWER8 implementation.
46876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46877         Likewise.
46878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
46879         isinf implementation.
46880         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
46882         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
46883         (INIT_ARCH): Add hwcap2 initialization.
46884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46885         power8 implementation.
46886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
46887         file: POWER8 isnan ifunc implementation.
46888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
46889         POWER8 implementation.
46890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
46891         Likewise.
46892         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
46893         isnan implementation.
46894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
46896 2014-02-27  Joey Ye  <joey.ye@arm.com>
46898         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46899         (_FP_NANFRAC_Q): Set to zero.
46901 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46903         [BZ #16623]
46904         * math/auto-libm-test-in: New test inputs.
46905         * math/auto-libm-test-out: Regenerate.
46906         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
46907         and DA.
46908         (__cos): Likewise.
46909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46911 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
46913         * scripts/evaluate-test.sh: Take new argument indicating whether
46914         failure is expected.
46915         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
46916         indicating whether failure is expected.
46917         * conform/Makefile (test-xfail-run-conformtest): New variable.
46918         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
46919         level.
46920         * posix/Makefile (test-xfail-annexc): New variable.
46921         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
46923 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
46925         * argp/Makefile: Include Makeconfig immediately after defining
46926         subdir.
46927         * assert/Makefile: Likewise.
46928         * benchtests/Makefile: Likewise.
46929         * catgets/Makefile: Likewise.
46930         * conform/Makefile: Likewise.
46931         * crypt/Makefile: Likewise.
46932         * csu/Makefile: Likewise.
46933         (all): Remove target.
46934         * ctype/Makefile: Include Makeconfig immediately after defining
46935         subdir.
46936         * debug/Makefile: Likewise.
46937         * dirent/Makefile: Likewise.
46938         * dlfcn/Makefile: Likewise.
46939         * gmon/Makefile: Likewise.
46940         * gnulib/Makefile: Likewise.
46941         * grp/Makefile: Likewise.
46942         * gshadow/Makefile: Likewise.
46943         * hesiod/Makefile: Likewise.
46944         * hurd/Makefile: Likewise.
46945         (all): Remove target.
46946         * iconvdata/Makefile: Include Makeconfig immediately after
46947         defining subdir.
46948         * inet/Makefile: Likewise.
46949         * intl/Makefile: Likewise.
46950         * io/Makefile: Likewise.
46951         * libio/Makefile: Likewise.
46952         (all): Remove target.
46953         * locale/Makefile: Include Makeconfig immediately after defining
46954         subdir.
46955         * login/Makefile: Likewise.
46956         * mach/Makefile: Likewise.
46957         (all): Remove target.
46958         * malloc/Makefile: Include Makeconfig immediately after defining
46959         subdir.
46960         (all): Remove target.
46961         * manual/Makefile: Include Makeconfig immediately after defining
46962         subdir.
46963         * math/Makefile: Likewise.
46964         * misc/Makefile: Likewise.
46965         * nis/Makefile: Likewise.
46966         * nss/Makefile: Likewise.
46967         * po/Makefile: Likewise.
46968         (all): Remove target.
46969         * posix/Makefile: Include Makeconfig immediately after defining
46970         subdir.
46971         * pwd/Makefile: Likewise.
46972         * resolv/Makefile: Likewise.
46973         * resource/Makefile: Likewise.
46974         * rt/Makefile: Likewise.
46975         * setjmp/Makefile: Likewise.
46976         * shadow/Makefile: Likewise.
46977         * signal/Makefile: Likewise.
46978         * socket/Makefile: Likewise.
46979         * soft-fp/Makefile: Likewise.
46980         * stdio-common/Makefile: Likewise.
46981         * stdlib/Makefile: Likewise.
46982         * streams/Makefile: Likewise.
46983         * string/Makefile: Likewise.
46984         * sunrpc/Makefile: Likewise.
46985         (all): Remove target.
46986         * sysvipc/Makefile: Include Makeconfig immediately after defining
46987         subdir.
46988         * termios/Makefile: Likewise.
46989         * time/Makefile: Likewise.
46990         * timezone/Makefile: Likewise.
46991         (all): Remove target.
46992         * wcsmbs/Makefile: Include Makeconfig immediately after defining
46993         subdir.
46994         * wctype/Makefile: Likewise.
46996 2014-02-26  Steve Ellcey  <sellcey@mips.com>
46998         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
46999         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47000         (libc_feholdexcept_setround_mips): Ditto.
47001         (libc_feholdsetround): New.
47002         (libc_feholdsetroundf): New.
47003         (libc_feholdsetroundl): New.
47004         (libc_feupdateenv_test_mips): New.
47005         (libc_feupdateenv_test): New.
47006         (libc_feupdateenv_testf): New.
47007         (libc_feupdateenv_testl): New.
47008         (libc_feresetround): New.
47009         (libc_feresetroundf): New.
47010         (libc_feresetroundl): New.
47011         (libc_fetestexcept_mips): New.
47012         (libc_fetestexcept): New.
47013         (libc_fetestexceptf): New.
47014         (libc_fetestexceptl): New.
47015         (HAVE_RM_CTX): New.
47016         (libc_feholdexcept_setround_mips_ctx): New.
47017         (libc_feholdexcept_setround_ctx): New.
47018         (libc_feholdexcept_setroundf_ctx): New.
47019         (libc_feholdexcept_setroundl_ctx): New.
47020         (libc_fesetenv_mips_ctx): New.
47021         (libc_fesetenv_ctx): New.
47022         (libc_fesetenv_ctxf): New.
47023         (libc_fesetenv_ctxl): New.
47024         (libc_feupdateenv_mips_ctx): New.
47025         (libc_feupdateenv_ctx): New.
47026         (libc_feupdateenvf_ctx): New.
47027         (libc_feupdateenvl_ctx): New.
47028         (libc_feholdsetround_mips_ctx): New.
47029         (libc_feholdsetround_ctx): New.
47030         (libc_feholdsetroundf_ctx): New.
47031         (libc_feholdsetroundl_ctx): New.
47032         (libc_feresetround_mips_ctx): New.
47033         (libc_feresetround_ctx): New.
47034         (libc_feresetroundf_ctx): New.
47035         (libc_feresetroundl_ctx): New.
47037 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47039         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47041         * manual/ipc.texi: New file.
47042         * manual/Makefile (chapters): Add ipc.
47043         * manual/job.texi: Add "Inter-Process Communication" to next.
47044         * manual/process.texi: Add "Inter-Process Communication" to prev.
47046 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47050 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47052         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47054         * manual/arith.texi: Fix spaces after sentences.
47055         * manual/charset.texi: Likewise.
47056         * manual/errno.texi: Likewise.
47057         * manual/install.texi: Likewise.
47058         * manual/llio.texi: Likewise.
47059         * manual/locale.texi: Likewise.
47060         * manual/maint.texi: Likewise.
47061         * manual/math.texi: Likewise.
47062         * manual/memory.texi: Likewise.
47063         * manual/message.texi: Likewise.
47064         * manual/probes.texi: Likewise.
47065         * manual/resource.texi: Likewise.
47066         * manual/signal.texi: Likewise.
47067         * manual/socket.texi: Likewise.
47068         * manual/stdio.texi: Likewise.
47069         * manual/string.texi: Likewise.
47070         * manual/time.texi: Likewise.
47071         * manual/users.texi: Likewise.
47073 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47075         [BZ #16632]
47076         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47077         _DEFAULT_SOURCE is defined.
47079 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47080             Carlos O'Donell  <carlos@redhat.com>
47082         [BZ #16613]
47083         * elf/dl-tls.c (_dl_count_modids): New function.
47084         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47085         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47086         audit library and increment generation counter.
47087         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47088         * elf/tst-audit9.c: New file.
47089         * elf/tst-auditmod9a.c: New file.
47090         * elf/tst-auditmod9b.c: New file.
47091         * elf/Makefile: Add rules to build and run tst-audit9.
47093 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47095         [BZ #15347]
47096         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47098 2014-02-25  Will Newton  <will.newton@linaro.org>
47100         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47101         (__longjmp): Restore sp and lr before restoring callee
47102         saved registers.  Add longjmp and longjmp_target
47103         SystemTap probe point.
47104         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47105         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47106         Define to zero to match jmpbuf layout.
47107         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47108         (__sigsetjmp): Save sp and lr before saving callee
47109         saved registers.  Add setjmp SystemTap probe point.
47111 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47113         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47115 2014-02-24  Andreas Schwab  <schwab@suse.de>
47117         [BZ #15804]
47118         * elf/pldd.c (wait_for_ptrace_stop): New function.
47119         (main): Call it after attaching.
47121 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47123         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47124         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47125         Versions files is now verboten.
47126         * hurd/Versions (libc: GLIBC_2.0):
47127         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47128         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47129         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47130         * mach/Versions: Likewise.
47132         * csu/Versions: Remove unused %include.
47133         * resolv/Versions: Likewise.
47135 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47137         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47138         ($(objpfx)check-local-headers.out): Likewise.
47139         ($(objpfx)begin-end-check.out): Likewise.
47140         * Makerules (check-abi-%.out): Likewise.
47141         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47142         ($(objpfx)test2.cat): Likewise.
47143         ($(objpfx)de/libc.cat): Likewise.
47144         ($(objpfx)test-gencat.out): Likewise.
47145         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47146         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47147         ($(objpfx)noload-mem): Likewise.
47148         ($(objpfx)tst-pathopt.out): Likewise.
47149         ($(objpfx)tst-rtld-load-self.out): Likewise.
47150         ($(objpfx)tst-array1-cmp.out): Likewise.
47151         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47152         ($(objpfx)tst-array2-cmp.out): Likewise.
47153         ($(objpfx)tst-array3-cmp.out): Likewise.
47154         ($(objpfx)tst-array4-cmp.out): Likewise.
47155         ($(objpfx)tst-array5-cmp.out): Likewise.
47156         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47157         ($(objpfx)check-textrel.out): Likewise.
47158         ($(objpfx)check-execstack.out): Likewise.
47159         ($(objpfx)check-localplt.out): Likewise.
47160         ($(objpfx)order2-cmp.out): Likewise.
47161         ($(objpfx)tst-leaks1-mem): Likewise.
47162         ($(objpfx)tst-leaks1-static-mem): Likewise.
47163         ($(objpfx)tst-initorder-cmp.out): Likewise.
47164         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47165         ($(objpfx)tst-unused-dep.out): Likewise.
47166         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47167         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47168         * iconv/Makefile (test-iconvconfig): Likewise.
47169         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47170         ($(objpfx)iconv-test.out): Likewise.
47171         ($(objpfx)tst-tables.out): Likewise.
47172         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47173         ($(objpfx)tst-gettext.out): Likewise.
47174         ($(objpfx)tst-translit.out): Likewise.
47175         ($(objpfx)tst-gettext2.out): Likewise.
47176         ($(objpfx)tst-gettext4.out): Likewise.
47177         ($(objpfx)tst-gettext6.out): Likewise.
47178         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47179         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47180         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47181         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47182         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47183         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47184         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47185         ($(objpfx)wordexp-tst.out): Likewise.
47186         ($(objpfx)annexc.out): Likewise.
47187         ($(objpfx)tst-fnmatch-mem): Likewise.
47188         ($(objpfx)bug-regex2-mem): Likewise.
47189         ($(objpfx)bug-regex14-mem): Likewise.
47190         ($(objpfx)bug-regex21-mem): Likewise.
47191         ($(objpfx)bug-regex31-mem): Likewise.
47192         ($(objpfx)tst-vfork3-mem): Likewise.
47193         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47194         ($(objpfx)tst-pcre-mem): Likewise.
47195         ($(objpfx)tst-boost-mem): Likewise.
47196         ($(objpfx)tst-getconf.out): Likewise.
47197         ($(objpfx)bug-ga2-mem): Likewise.
47198         ($(objpfx)bug-glob2-mem): Likewise.
47199         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47200         ($(objpfx)mtrace-tst-leaks2): Likewise.
47201         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47202         ($(objpfx)tst-printf.out): Likewise.
47203         ($(objpfx)tst-setvbuf1.out): Likewise.
47204         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47205         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47206         ($(objpfx)tst-fmtmsg.out): Likewise.
47207         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47208         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47210         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47211         * bits/sigaction.h [__USE_MISC]: Likewise.
47212         * bits/waitstatus.h: Update #endif comments.
47213         * ctype/ctype.h: Likewise.
47214         * dirent/dirent.h: Likewise.
47215         [__USE_MISC]: Remove redundant conditionals.
47216         * grp/grp.h: Update #endif comments.
47217         [__USE_GNU]: Remove redundant conditionals.
47218         [__USE_MISC]: Likewise.
47219         * inet/netinet/in.h [__USE_GNU]: Likewise.
47220         * io/sys/stat.h [__USE_MISC]: Likewise.
47221         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47222         * libio/bits/stdio.h: Update #endif comments.
47223         [__USE_MISC]: Remove redundant conditionals.
47224         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47225         * libio/stdio.h: Update #endif comments.
47226         [__USE_MISC]: Remove redundant conditionals.
47227         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47228         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47229         * math/math.h: Update #else and #endif comments.
47230         [__USE_MISC]: Remove redundant conditionals.
47231         * misc/sys/uio.h: Update #endif comments.
47232         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47233         * posix/glob.h [__USE_MISC]: Likewise.
47234         * posix/sys/types.h: Update #endif comments.
47235         [__USE_MISC]: Remove redundant conditionals.
47236         * posix/sys/wait.h: Update #endif comments.
47237         [__USE_MISC]: Remove redundant conditionals.
47238         * posix/unistd.h: Update #endif comments.
47239         [__USE_MISC]: Remove redundant conditionals.
47240         * pwd/pwd.h [__USE_GNU]: Likewise.
47241         [__USE_MISC]: Likewise.
47242         * resolv/netdb.h [__USE_GNU]: Likewise.
47243         * signal/signal.h: Update #endif comments.
47244         [__USE_MISC]: Remove redundant conditionals.
47245         * stdlib/stdlib.h: Update #else and #endif comments.
47246         [__USE_MISC]: Remove redundant conditionals.
47247         [__USE_GNU]: Likewise.
47248         * string/bits/string2.h [__USE_MISC]: Likewise.
47249         * string/string.h: Update #endif comments.
47250         [__USE_MISC]: Remove redundant conditionals.
47251         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47252         Likewise.
47253         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47254         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47255         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47256         Likewise.
47257         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47258         Likewise.
47259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47260         comments.
47261         [__USE_MISC]: Remove redundant conditionals.
47262         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47263         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47264         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47265         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47266         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47267         Likewise.
47268         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47269         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47270         Likewise.
47271         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47272         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47273         Likewise.
47274         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47275         Likewise.
47276         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47277         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47278         Likewise.
47279         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47280         Likewise.
47281         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47282         * sysdeps/x86/bits/string.h: Update #endif comments.
47283         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47284         conditionals.
47285         * time/sys/time.h: Update #endif comments.
47286         * time/time.h: Likewise.
47287         [__USE_MISC]: Remove redundant conditionals.
47289 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47291         [BZ #16600]
47292         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47294 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47296         * Versions.def (librt): Add GLIBC_2.17.
47298 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47300         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47301         synonym for _SYS_AUXV_H to allow direct inclusion.
47302         * sysdeps/sparc/bits/hwcap.h: Likewise.
47303         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47304         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47305         * sysdeps/sparc/sysdep.h: Likewise.
47307 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47309         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47311 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47313         * benchtests/bench-strrchr.c: Print length instead of position.
47315 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47317         [BZ #16611]
47318         * sysdeps/unix/sysv/linux/kernel-features.h
47319         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47320         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47321         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47322         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47323         Likewise.
47324         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47325         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47326         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47327         (__ASSUME_SENDMMSG): Define instead of using previous
47328         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47329         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47330         (__ASSUME_SENDMMSG_SYSCALL): Define.
47331         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47332         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47333         Likewise.
47334         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47335         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47336         Likewise.
47337         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47338         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47339         Likewise.
47340         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47341         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47342         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47343         [__ASSUME_SENDMMSG]: Change conditionals to
47344         [__ASSUME_SENDMMSG_SOCKETCALL].
47345         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47346         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47347         Define.
47348         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47349         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47350         Likewise.
47351         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47352         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47353         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47354         [!__ASSUME_SENDMMSG]: Change conditional to
47355         [!__ASSUME_SENDMMSG_SOCKETCALL].
47356         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47357         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47358         Define.
47360         [BZ #16610]
47361         * sysdeps/unix/sysv/linux/kernel-features.h
47362         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
47363         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
47364         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
47365         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
47366         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47367         [__i386__ || __sparc__]
47368         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47369         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
47370         (__ASSUME_RECVMMSG): Define instead of using previous
47371         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
47372         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47373         (__ASSUME_RECVMMSG_SYSCALL): Define.
47374         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47375         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47376         Likewise.
47377         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47379         Likewise.
47380         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47381         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47382         Likewise.
47383         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
47384         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47385         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47386         [__ASSUME_RECVMMSG]: Change condition to
47387         [__ASSUME_RECVMMSG_SOCKETCALL].
47388         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47389         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47390         Define.
47391         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47393         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47394         Likewise.
47395         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
47396         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47397         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47398         [!__ASSUME_RECVMMSG]: Change condition to
47399         [!__ASSUME_RECVMMSG_SOCKETCALL].
47400         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47401         (__ASSUME_RECVMMSG_SYSCALL): Define.
47403         [BZ #16609]
47404         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
47405         __powerpc__ || __s390__ || __sh__ || __sparc__]
47406         (__ASSUME_SOCKETCALL): Define.
47407         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
47408         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
47409         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
47410         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
47411         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47412         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47413         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
47414         (__ASSUME_ACCEPT4): Define instead of using previous
47415         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
47416         __powerpc__ || __sparc__ || __s390__)] condition.
47417         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47418         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47419         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
47420         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47421         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47422         [!__ASSUME_ACCEPT4]: Change condition to
47423         [!__ASSUME_ACCEPT4_SOCKETCALL].
47424         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47425         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
47426         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
47427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47428         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
47429         __ASSUME_ACCEPT4_SYSCALL.
47430         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
47431         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
47432         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47433         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
47434         __ASSUME_ACCEPT4_SYSCALL.
47435         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
47436         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47437         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47438         [__ASSUME_ACCEPT4]: Change condition to
47439         [__ASSUME_ACCEPT4_SOCKETCALL].
47440         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47441         (__ASSUME_SOCKETCALL): Define.
47442         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
47443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47444         (__ASSUME_SOCKETCALL): Define.
47445         (__ASSUME_ACCEPT4): Remove.
47446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
47447         Define.
47448         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47449         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
47450         Likewise.
47451         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47452         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47454         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
47455         macro.
47456         (HWCAP_ARM_LPAE): Likewise.
47457         (HWCAP_ARM_EVTSTRM): Likewise.
47458         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
47459         Add vpfd32, lpae and evtstrm.
47460         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
47461         Increase to 22.
47463 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
47465         * math/auto-libm-test-in: Add tests of clog10.
47466         * math/auto-libm-test-out: Regenerated.
47467         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
47468         * sysdeps/i386/fpu/libm-test-ulps: Update.
47469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47471 2014-02-18  Andreas Schwab  <schwab@suse.de>
47473         [BZ #16574]
47474         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
47475         Store non-zero if the second buffer was newly allocated.
47476         (send_dg): Likewise.
47477         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
47478         to send_vc and send_dg.
47479         (res_nsend): Pass NULL for ansp2_malloced.
47480         * resolv/res_query.c (__libc_res_nquery): Add parameter
47481         answerp2_malloced and pass it down to __libc_res_nsend.
47482         (res_nquery): Pass additional NULL to __libc_res_nquery.
47483         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
47484         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
47485         second answer buffer if answerp2_malloced was set.
47486         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
47487         (__libc_res_nquerydomain): Add parameter
47488         answerp2_malloced and pass it down to __libc_res_nquery.
47489         (res_nquerydomain): Pass additional NULL to
47490         __libc_res_nquerydomain.
47491         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
47492         additional NULL to __libc_res_nsend and __libc_res_nquery.
47493         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
47494         additional NULL to __libc_res_nsearch.
47495         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
47496         parameter of __libc_res_nsearch to check for separately allocated
47497         second buffer.
47498         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
47499         __libc_res_nquery.
47500         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
47501         additional NULL to __libc_res_nquery.
47502         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
47503         __libc_res_nsearch.
47504         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
47505         * include/resolv.h: Update prototypes of __libc_res_nquery,
47506         __libc_res_nsearch, __libc_res_nsend.
47508 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
47510         * math/auto-libm-test-in: Add tests of fma.
47511         * math/auto-libm-test-out: Regenerated.
47512         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
47513         (fma_towardzero_test_data): Likewise.
47514         (fma_downward_test_data): Likewise.
47515         (fma_upward_test_data): Likewise.
47516         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
47517         mpc_mode.
47518         (rounding_modes): Add values for new field.
47519         (func_calc_method): Add value mpfr_fff_f.
47520         (func_calc_desc): Add mpfr_fff_f union field.
47521         (test_function): Add field exact_args.
47522         (FUNC): Add macro argument EXACT_ARGS.
47523         (FUNC_mpfr_f_f): Update call to FUNC.
47524         (FUNC_mpfr_f_f): Likewise.
47525         (FUNC_mpfr_ff_f): Likewise.
47526         (FUNC_mpfr_if_f): Likewise.
47527         (FUNC_mpc_c_f): Likewise.
47528         (FUNC_mpc_c_c): Likewise.
47529         (test_functions): Add fma.  Update calls to FUNC.
47530         (handle_input_arg): Add argument exact_args.
47531         (add_test): Update call to handle_input_arg.
47532         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
47533         (output_for_one_input_case): Update call to calc_generic_results.
47534         Recalculate exact zero results in each rounding mode.
47536         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
47537         non-negative before setting low bit.
47538         * math/auto-libm-test-in: Mark one asin test possibly having
47539         spurious underflow.
47540         * math/auto-libm-test-out: Regenerated.
47541         * sysdeps/i386/fpu/libm-test-ulps: Update.
47542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47544 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
47546         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
47547         * sysdeps/unix/sysv/linux/microblaze: Move directory from
47548         ports/sysdeps/unix/sysv/linux/microblaze.
47549         * README: Add missing listing for microblaze*-*-linux-gnu.
47551 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
47553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
47554         duplicate code
47556 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
47558         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
47559         * sysdeps/unix/sysv/linux/ia64: Move directory from
47560         ports/sysdeps/unix/sysv/linux/ia64.
47561         * README: Update listing for ia64-*-linux-gnu.
47563 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
47564             Joseph Myers  <joseph@codesourcery.com>
47566         * Makeconfig (test-name): New variable.
47567         (evaluate-test): Likewise.
47568         * Makerules (do-test-clean): Remove .test-result files.
47569         (common-mostlyclean): Likewise.
47570         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
47571         * scripts/evaluate-test.sh: New file.
47573 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
47575         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
47576         separate $(objpfx)tst-fopenloc-cmp.out and
47577         $(objpfx)tst-fopenloc-mem.out targets.
47578         (tests): Update dependencies.
47579         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
47580         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
47581         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
47582         (tst-rxspencer-no-utf8-ARGS): New variable.
47583         (tst-rxspencer-no-utf8-ENV): Likewise.
47584         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
47585         instead of $(objpfx)tst-rxspencer-mem.
47586         ($(objpfx)tst-rxspencer-mem): Change target to
47587         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
47588         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
47589         * posix/tst-rxspencer-no-utf8.c: New file.
47591         * elf/Makefile ($(objpfx)order.out): Remove rule.
47592         [$(run-built-tests) = yes] (tests): Depend on
47593         $(objpfx)order-cmp.out.
47594         ($(objpfx)order-cmp.out): New rule.
47595         [$(run-built-tests) = yes] (tests): Depend on
47596         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
47597         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
47598         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
47599         $(objpfx)tst-array5-static-cmp.out.
47600         ($(objpfx)tst-array1.out): Remove rule.
47601         ($(objpfx)tst-array1-cmp.out): New rule.
47602         ($(objpfx)tst-array1-static.out): Remove rule.
47603         ($(objpfx)tst-array1-static-cmp.out): New rule.
47604         ($(objpfx)tst-array2.out): Remove rule.
47605         ($(objpfx)tst-array2-cmp.out): New rule.
47606         ($(objpfx)tst-array3.out): Remove rule.
47607         ($(objpfx)tst-array3-cmp.out): New rule.
47608         ($(objpfx)tst-array4.out): Remove rule.
47609         ($(objpfx)tst-array4-cmp.out): New rule.
47610         ($(objpfx)tst-array5.out): Remove rule.
47611         ($(objpfx)tst-array5-cmp.out): New rule.
47612         ($(objpfx)tst-array5-static.out): Remove rule.
47613         ($(objpfx)tst-array5-static-cmp.out): New rule.
47614         [$(run-built-tests) = yes] (tests): Depend on
47615         $(objpfx)order2-cmp.out.
47616         ($(objpfx)order2.out): Remove rule.
47617         ($(objpfx)order2-cmp.out): New rule.
47618         ($(objpfx)tst-initorder.out): Remove rule.
47619         [$(run-built-tests) = yes] (tests): Depend on
47620         $(objpfx)tst-initorder-cmp.out.
47621         ($(objpfx)tst-initorder-cmp.out): New rule.
47622         ($(objpfx)tst-initorder2.out): Remove rule.
47623         [$(run-built-tests) = yes] (tests): Depend on
47624         $(objpfx)tst-initorder2-cmp.out.
47625         ($(objpfx)tst-initorder2-cmp.out): New rule.
47626         [$(run-built-tests) = yes] (tests): Depend on
47627         $(objpfx)tst-unused-dep-cmp.out.
47628         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
47629         ($(objpfx)tst-unused-dep-cmp.out): New rule.
47630         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
47631         on $(objpfx)tst-setvbuf1-cmp.out.
47632         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
47633         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
47634         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
47635         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
47636         ($(objpfx)tst-svc.out): Remove rule.
47637         ($(objpfx)tst-svc-cmp.out): New rule.
47639 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
47641         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
47642         * ctype/ctype.h [__USE_MISC]: Likewise.
47643         * dirent/dirent.h [__USE_MISC]: Likewise.
47644         * grp/grp.h [__USE_MISC]: Likewise.
47645         * io/fcntl.h [__USE_MISC]: Likewise.
47646         * io/sys/stat.h [__USE_MISC]: Likewise.
47647         * libio/stdio.h [__USE_MISC]: Likewise.
47648         * posix/unistd.h [__USE_MISC]: Likewise.
47649         * pwd/pwd.h [__USE_MISC]: Likewise.
47650         * stdlib.h [__USE_MISC]: Likewise.
47651         * string/bits/string2.h [__USE_MISC]: Likewise.
47652         * string/string.h [__USE_MISC]: Likewise.
47653         * time/time.h [__USE_MISC]: Likewise.
47655 2014-02-13  Andreas Schwab  <schwab@suse.de>
47657         [BZ #16574]
47658         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
47659         second answer buffer if it was separately allocated.
47661 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
47663         * sysdeps/mips/math-tests.h: Include <features.h>.
47664         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47665         (ROUNDING_TESTS_long_double): Do not define.
47666         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47667         (EXCEPTION_TESTS_long_double): Likewise.
47668         * sysdeps/mips/mips64/libm-test-ulps: Update.
47670         * include/features.h (__USE_BSD): Remove macro definitions.
47671         (__USE_SVID): Likewise.
47672         (_BSD_SOURCE): Likewise.
47673         (_SVID_SOURCE): Likewise.
47674         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
47675         from definition of _DEFAULT_SOURCE.
47676         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
47677         [_DEFAULT_SOURCE].
47678         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
47679         * bits/mman.h [__USE_BSD]: Likewise.
47680         * bits/termios.h [__USE_BSD]: Likewise.
47681         * bits/waitstatus.h [__USE_BSD]: Likewise.
47682         * ctype/ctype.h [__USE_SVID]: Likewise.
47683         * dirent/dirent.h [__USE_BSD]: Likewise.
47684         * grp/grp.h [__USE_SVID]: Likewise.
47685         [__USE_BSD]: Likewise.
47686         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
47687         * io/fcntl.h [__USE_BSD]: Likewise.
47688         * io/ftw.h [__USE_BSD]: Likewise.
47689         * io/sys/stat.h [__USE_BSD]: Likewise.
47690         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
47691         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
47692         * libio/stdio.h [__USE_SVID]: Likewise.
47693         [__USE_BSD]: Likewise.
47694         * math/math.h [__USE_SVID]: Likewise.
47695         [__USE_BSD]: Likewise.
47696         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
47697         * misc/bits/syslog.h [__USE_BSD]: Likewise.
47698         * misc/search.h [__USE_SVID]: Likewise.
47699         * misc/sys/mman.h [__USE_BSD]: Likewise.
47700         * misc/sys/syslog.h [__USE_BSD]: Likewise.
47701         * misc/sys/uio.h [__USE_BSD]: Likewise.
47702         * posix/bits/unistd.h [__USE_BSD]: Likewise.
47703         * posix/glob.h [__USE_BSD]: Likewise.
47704         * posix/regex.h [__USE_BSD]: Likewise.
47705         * posix/sys/types.h [__USE_BSD]: Likewise.
47706         [__USE_SVID]: Likewise.
47707         * posix/sys/utsname.h [__USE_SVID]: Likewise.
47708         * posix/sys/wait.h [__USE_BSD]: Likewise.
47709         [__USE_SVID]: Likewise.
47710         * posix/unistd.h [__USE_BSD]: Likewise.
47711         [__USE_SVID]: Likewise.
47712         * pwd/pwd.h [__USE_SVID]: Likewise.
47713         * resolv/netdb.h [__USE_BSD]: Likewise.
47714         * setjmp/setjmp.h [__USE_BSD]: Likewise.
47715         * signal/signal.h [__USE_BSD]: Likewise.
47716         [__USE_SVID]: Likewise.
47717         * socket/sys/socket.h [__USE_BSD]: Likewise.
47718         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
47719         * stdlib/stdlib.h [__USE_BSD]: Likewise.
47720         [__USE_SVID]: Likewise.
47721         * string/bits/string2.h [__USE_BSD]: Likewise.
47722         [__USE_SVID]: Likewise.
47723         * string/bits/string3.h [__USE_BSD]: Likewise.
47724         * string/endian.h [__USE_BSD]: Likewise.
47725         * string/string.h [__USE_SVID]: Likewise.
47726         [__USE_BSD]: Likewise.
47727         * string/strings.h [__USE_BSD]: Likewise.
47728         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
47729         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
47730         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
47731         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
47732         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
47733         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
47734         Likewise.
47735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
47736         Likewise.
47737         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
47738         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
47739         Likewise.
47740         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
47741         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
47742         Likewise.
47743         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
47744         Likewise.
47745         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
47746         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
47747         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
47748         Likewise.
47749         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
47750         Likewise.
47751         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
47752         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
47753         * termios/termios.h [__USE_BSD]: Likewise.
47754         * time/sys/time.h [__USE_BSD]: Likewise.
47755         * time/time.h [__USE_BSD]: Likewise.
47756         [__USE_SVID]: Likewise.
47758         * Makefile (subdir_targets): Remove subdir_lint.out.
47760         * stdio-common/Makefile (do-tst-unbputc): Remove target.
47761         (do-tst-printf): Likewise.
47762         (tests): Depend directly on $(objpfx)tst-unbputc.out and
47763         $(objpfx)tst-printf.out.
47765         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
47767         * Makerules (check-abi-%): Change target to
47768         $(objpfx)check-abi-%.out.
47769         (check-abi target): Update dependencies.
47770         (check-abi-pattern variable): Redirect output of diff to $@.
47771         (check-abi variable): Likewise.
47772         * elf/Makefile (check-abi): Update dependencies.
47774         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
47775         unused.
47776         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
47777         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
47778         subnormal range.
47779         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
47780         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
47781         value has largest subnormal exponent.
47782         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
47783         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
47784         * sysdeps/aarch64/soft-fp/sfp-machine.h
47785         (_FP_TININESS_AFTER_ROUNDING): New macro.
47786         * sysdeps/alpha/soft-fp/sfp-machine.h
47787         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47788         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47789         Likewise.
47790         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
47791         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47792         * sysdeps/mips/soft-fp/sfp-machine.h
47793         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47794         * sysdeps/powerpc/soft-fp/sfp-machine.h
47795         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47796         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47797         Likewise.
47798         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47799         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47800         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47801         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47802         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47803         Likewise.
47805 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
47807         [BZ #16545]
47808         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
47809         model 1.
47811 2014-02-12  Richard Henderson  <rth@redhat.com>
47813         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
47814         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
47815         * sysdeps/unix/sysv/linux/alpha: Move directory from
47816         ports/sysdeps/unix/sysv/linux/alpha.
47817         * README: Update listing for alpha-*-linux-gnu.
47819 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
47821         * include/features.h: Update comment documenting feature test
47822         macros.
47823         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
47824         _DEFAULT_SOURCE.
47825         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
47826         (_SVID_SOURCE): Likewise.
47827         (_DEFAULT_SOURCE): Update description of default features.
47828         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
47829         with _GNU_SOURCE.
47830         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
47831         (S_ISVTX): Likewise.
47832         * manual/math.texi (Mathematical Constants): Likewise.
47833         * manual/signal.texi (Interrupted Primitives): Likewise.
47834         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
47835         * math/test-matherr.c (_SVID_SOURCE): Do not define.
47836         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
47837         Don't refer to _SVID_SOURCE in warning text.
47839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47841         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
47842         already defined.
47843         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
47844         * sysdeps/mips/dl-lookup.c: Remove.
47845         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
47847 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47849         [BZ #16447]
47850         * math/auto-libm-test-in: Add testcase for expl.
47851         * math/auto-libm-test-out: Regenerate.
47852         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
47853         calculation of unsafe.
47854         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
47856 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47858         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
47859         * sysdeps/unix/sysv/linux/aarch64: Move directory from
47860         ports/sysdeps/unix/sysv/linux/aarch64.
47861         * README: Update listing for aarch64*-*-linux-gnu.
47863 2014-02-11  Will Newton  <will.newton@linaro.org>
47865         * manual/probes.texi (Mathematical Function Probes): Use
47866         "triggered" instead of "hit".
47868         * manual/probes.texi (Internal Probes): Add documentation
47869         of setjmp, longjmp and longjmp_target probes.
47871         * include/stap-probe.h: Add comment about probe argument
47872         format.
47874         * malloc/mtrace.c (attribute_hidden): Remove unused macro
47875         definition.  (tr_where, tr_freehook, tr_mallochook,
47876         tr_reallochook, tr_memalignhook): Use ANSI protoype.
47878 2014-02-11  David S. Miller  <davem@davemloft.net>
47880         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47881         processing int_tests.
47883 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
47885         * sysdeps/mips: Move directory from ports/sysdeps/mips.
47886         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47887         * sysdeps/unix/sysv/linux/mips: Move directory from
47888         ports/sysdeps/unix/sysv/linux/mips.
47889         * README: Update listing for mips-*-linux-gnu and
47890         mips64-*-linux-gnu.
47892 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
47894         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
47895         * sysdeps/unix/sysv/linux/m68k: Move directory from
47896         ports/sysdeps/unix/sysv/linux/m68k.
47897         * README: Update listing for m68k-*-linux-gnu.
47899 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
47901         * sysdeps/tile: Move directory from ports/sysdeps/tile.
47902         * sysdeps/unix/sysv/linux/generic: Move directory from
47903         ports/sysdeps/unix/sysv/linux/generic.
47904         * sysdeps/unix/sysv/linux/tile: Move directory from
47905         ports/sysdeps/unix/sysv/linux/tile.
47906         * README: Update listing for tile*-*-linux-gnu.
47908 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
47910         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
47911         __builtin_expect.
47912         * benchtests/bench-memmem.c (simple_memmem): Likewise.
47913         * catgets/open_catalog.c (__open_catalog): Likewise.
47914         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
47915         * debug/confstr_chk.c: Likewise.
47916         * debug/fread_chk.c (__fread_chk): Likewise.
47917         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
47918         * debug/getgroups_chk.c: Likewise.
47919         * debug/mbsnrtowcs_chk.c: Likewise.
47920         * debug/mbsrtowcs_chk.c: Likewise.
47921         * debug/mbstowcs_chk.c: Likewise.
47922         * debug/memcpy_chk.c: Likewise.
47923         * debug/memmove_chk.c: Likewise.
47924         * debug/mempcpy_chk.c: Likewise.
47925         * debug/memset_chk.c: Likewise.
47926         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47927         * debug/strcat_chk.c (__strcat_chk): Likewise.
47928         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
47929         * debug/strncat_chk.c (__strncat_chk): Likewise.
47930         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
47931         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
47932         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
47933         * debug/wcpncpy_chk.c: Likewise.
47934         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47935         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
47936         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
47937         * debug/wcsncpy_chk.c: Likewise.
47938         * debug/wcsnrtombs_chk.c: Likewise.
47939         * debug/wcsrtombs_chk.c: Likewise.
47940         * debug/wcstombs_chk.c: Likewise.
47941         * debug/wmemcpy_chk.c: Likewise.
47942         * debug/wmemmove_chk.c: Likewise.
47943         * debug/wmempcpy_chk.c: Likewise.
47944         * debug/wmemset_chk.c: Likewise.
47945         * dirent/scandirat.c (SCANDIRAT): Likewise.
47946         * dlfcn/dladdr1.c (dladdr1): Likewise.
47947         * dlfcn/dladdr.c (dladdr): Likewise.
47948         * dlfcn/dlclose.c (dlclose_doit): Likewise.
47949         * dlfcn/dlerror.c (__dlerror): Likewise.
47950         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
47951         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
47952         * dlfcn/dlopen.c (dlopen_doit): Likewise.
47953         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
47954         * dlfcn/dlsym.c (dlsym_doit): Likewise.
47955         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
47956         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
47957         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
47958         Likewise.
47959         * elf/dl-conflict.c: Likewise.
47960         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
47961         * elf/dl-dst.h: Likewise.
47962         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
47963         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
47964         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
47965         * elf/dl-init.c (call_init, _dl_init): Likewise.
47966         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
47967         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
47968         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
47969         Likewise.
47970         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
47971         Likewise.
47972         * elf/dl-minimal.c (__libc_memalign): Likewise.
47973         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
47974         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47975         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
47976         * elf/dl-sym.c (do_sym): Likewise.
47977         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
47978         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
47979         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
47980         * elf/dl-writev.h (_dl_writev): Likewise.
47981         * elf/ldconfig.c (search_dir): Likewise.
47982         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
47983         (dl_main): Likewise.
47984         * elf/setup-vdso.h (setup_vdso): Likewise.
47985         * grp/compat-initgroups.c (compat_call): Likewise.
47986         * grp/fgetgrent.c (fgetgrent): Likewise.
47987         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
47988         * grp/putgrent.c (putgrent): Likewise.
47989         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47990         Likewise.
47991         * hurd/hurdinit.c: Likewise.
47992         * iconvdata/8bit-gap.c (struct): Likewise.
47993         * iconvdata/ansi_x3.110.c : Likewise.
47994         * iconvdata/big5.c : Likewise.
47995         * iconvdata/big5hkscs.c : Likewise.
47996         * iconvdata/cp1255.c: Likewise.
47997         * iconvdata/cp1258.c : Likewise.
47998         * iconvdata/cp932.c : Likewise.
47999         * iconvdata/euc-cn.c: Likewise.
48000         * iconvdata/euc-jisx0213.c : Likewise.
48001         * iconvdata/euc-jp.c: Likewise.
48002         * iconvdata/euc-jp-ms.c : Likewise.
48003         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48004         * iconvdata/gb18030.c : Likewise.
48005         * iconvdata/gbbig5.c (const): Likewise.
48006         * iconvdata/gbgbk.c: Likewise.
48007         * iconvdata/gbk.c : Likewise.
48008         * iconvdata/ibm1364.c : Likewise.
48009         * iconvdata/ibm930.c : Likewise.
48010         * iconvdata/ibm932.c: Likewise.
48011         * iconvdata/ibm933.c : Likewise.
48012         * iconvdata/ibm935.c : Likewise.
48013         * iconvdata/ibm937.c : Likewise.
48014         * iconvdata/ibm939.c : Likewise.
48015         * iconvdata/ibm943.c: Likewise.
48016         * iconvdata/iso_11548-1.c: Likewise.
48017         * iconvdata/iso-2022-cn.c : Likewise.
48018         * iconvdata/iso-2022-cn-ext.c : Likewise.
48019         * iconvdata/iso-2022-jp-3.c: Likewise.
48020         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48021         * iconvdata/iso-2022-kr.c : Likewise.
48022         * iconvdata/iso646.c (gconv_end): Likewise.
48023         * iconvdata/iso_6937-2.c : Likewise.
48024         * iconvdata/iso_6937.c : Likewise.
48025         * iconvdata/iso8859-1.c: Likewise.
48026         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48027         * iconvdata/shift_jisx0213.c : Likewise.
48028         * iconvdata/sjis.c : Likewise.
48029         * iconvdata/t.61.c : Likewise.
48030         * iconvdata/tcvn5712-1.c : Likewise.
48031         * iconvdata/tscii.c: Likewise.
48032         * iconvdata/uhc.c : Likewise.
48033         * iconvdata/unicode.c (gconv_end): Likewise.
48034         * iconvdata/utf-16.c (gconv_end): Likewise.
48035         * iconvdata/utf-32.c (gconv_end): Likewise.
48036         * iconvdata/utf-7.c (base64): Likewise.
48037         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48038         * iconv/gconv_close.c (__gconv_close): Likewise.
48039         * iconv/gconv_open.c (__gconv_open): Likewise.
48040         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48041         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48042         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48043         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48044         (ucs4le_internal_loop_single): Likewise.
48045         * iconv/iconv.c (iconv): Likewise.
48046         * iconv/iconv_close.c: Likewise.
48047         * iconv/loop.c (SINGLE): Likewise.
48048         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48049         * include/atomic.h: Likewise.
48050         * inet/inet6_option.c (option_alloc): Likewise.
48051         * intl/bindtextdom.c (set_binding_values): Likewise.
48052         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48053         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48054         * intl/localealias.c (read_alias_file): Likewise.
48055         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48056         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48057         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48058         * libio/fmemopen.c (fmemopen): Likewise.
48059         * libio/iofgets.c (_IO_fgets): Likewise.
48060         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48061         * libio/iofgetws.c (fgetws): Likewise.
48062         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48063         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48064         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48065         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48066         * locale/findlocale.c (_nl_find_locale): Likewise.
48067         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48068         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48069         Likewise.
48070         * locale/setlocale.c (setlocale): Likewise.
48071         * login/programs/pt_chown.c (main): Likewise.
48072         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48073         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48074         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48075         (mmap, mmap64, mremap, munmap): Likewise.
48076         * math/e_exp2l.c: Likewise.
48077         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48078         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48079         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48080         * math/s_catan.c (__catan): Likewise.
48081         * math/s_catanf.c (__catanf): Likewise.
48082         * math/s_catanh.c (__catanh): Likewise.
48083         * math/s_catanhf.c (__catanhf): Likewise.
48084         * math/s_catanhl.c (__catanhl): Likewise.
48085         * math/s_catanl.c (__catanl): Likewise.
48086         * math/s_ccosh.c (__ccosh): Likewise.
48087         * math/s_ccoshf.c (__ccoshf): Likewise.
48088         * math/s_ccoshl.c (__ccoshl): Likewise.
48089         * math/s_cexp.c (__cexp): Likewise.
48090         * math/s_cexpf.c (__cexpf): Likewise.
48091         * math/s_cexpl.c (__cexpl): Likewise.
48092         * math/s_clog10.c (__clog10): Likewise.
48093         * math/s_clog10f.c (__clog10f): Likewise.
48094         * math/s_clog10l.c (__clog10l): Likewise.
48095         * math/s_clog.c (__clog): Likewise.
48096         * math/s_clogf.c (__clogf): Likewise.
48097         * math/s_clogl.c (__clogl): Likewise.
48098         * math/s_csin.c (__csin): Likewise.
48099         * math/s_csinf.c (__csinf): Likewise.
48100         * math/s_csinh.c (__csinh): Likewise.
48101         * math/s_csinhf.c (__csinhf): Likewise.
48102         * math/s_csinhl.c (__csinhl): Likewise.
48103         * math/s_csinl.c (__csinl): Likewise.
48104         * math/s_csqrt.c (__csqrt): Likewise.
48105         * math/s_csqrtf.c (__csqrtf): Likewise.
48106         * math/s_csqrtl.c (__csqrtl): Likewise.
48107         * math/s_ctan.c (__ctan): Likewise.
48108         * math/s_ctanf.c (__ctanf): Likewise.
48109         * math/s_ctanh.c (__ctanh): Likewise.
48110         * math/s_ctanhf.c (__ctanhf): Likewise.
48111         * math/s_ctanhl.c (__ctanhl): Likewise.
48112         * math/s_ctanl.c (__ctanl): Likewise.
48113         * math/w_pow.c: Likewise.
48114         * math/w_powf.c: Likewise.
48115         * math/w_powl.c: Likewise.
48116         * math/w_scalb.c (sysv_scalb): Likewise.
48117         * math/w_scalbf.c (sysv_scalbf): Likewise.
48118         * math/w_scalbl.c (sysv_scalbl): Likewise.
48119         * misc/error.c (error_tail): Likewise.
48120         * misc/pselect.c (__pselect): Likewise.
48121         * nis/nis_callback.c (__nis_create_callback): Likewise.
48122         * nis/nis_call.c (__nisfind_server): Likewise.
48123         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48124         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48125         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48126         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48127         * nis/nis_lookup.c (nis_lookup): Likewise.
48128         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48129         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48130         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48131         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48132         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48133         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48134         * nis/nss_compat/compat-initgroups.c (add_group)
48135         (internal_getgrent_r): Likewise.
48136         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48137         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48138         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48139         (internal_getspnam_r): Likewise.
48140         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48141         (_nss_nis_getaliasbyname_r): Likewise.
48142         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48143         (_nss_nis_getntohost_r): Likewise.
48144         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48145         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48146         (_nss_nis_getgrgid_r): Likewise.
48147         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48148         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48149         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48150         (_nss_nis_gethostbyname4_r): Likewise.
48151         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48152         (initgroups_netid): Likewise.
48153         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48154         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48155         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48156         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48157         (_nss_nis_getprotobynumber_r): Likewise.
48158         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48159         (_nss_nis_getsecretkey): Likewise.
48160         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48161         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48162         (_nss_nis_getpwuid_r): Likewise.
48163         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48164         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48165         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48166         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48167         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48168         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48169         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48170         Likewise.
48171         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48172         (_nss_nisplus_getntohost_r): Likewise.
48173         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48174         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48175         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48176         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48177         Likewise.
48178         * nis/nss_nisplus/nisplus-initgroups.c
48179         (_nss_nisplus_initgroups_dyn): Likewise.
48180         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48181         (_nss_nisplus_getnetbyaddr_r): Likewise.
48182         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48183         (_nss_nisplus_getprotobynumber_r): Likewise.
48184         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48185         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48186         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48187         Likewise.
48188         * nis/nss_nisplus/nisplus-service.c
48189         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48190         (_nss_nisplus_getservbyport_r): Likewise.
48191         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48192         (_nss_nisplus_getspnam_r): Likewise.
48193         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48194         Likewise.
48195         * nscd/aicache.c (addhstaiX): Likewise.
48196         * nscd/cache.c (cache_search, prune_cache): Likewise.
48197         * nscd/connections.c (register_traced_file, send_ro_fd)
48198         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48199         (main_loop_epoll): Likewise.
48200         * nscd/grpcache.c (addgrbyX): Likewise.
48201         * nscd/hstcache.c (addhstbyX): Likewise.
48202         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48203         * nscd/mem.c (gc, mempool_alloc): Likewise.
48204         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48205         (addinnetgrX): Likewise.
48206         * nscd/nscd-client.h (__nscd_acquire_maplock)
48207         (__nscd_drop_map_ref): Likewise.
48208         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48209         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48210         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48211         Likewise.
48212         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48213         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48214         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48215         (__nscd_get_map_ref): Likewise.
48216         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48217         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48218         Likewise.
48219         * nscd/pwdcache.c (addpwbyX): Likewise.
48220         * nscd/selinux.c (preserve_capabilities): Likewise.
48221         * nscd/servicescache.c (addservbyX): Likewise.
48222         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48223         * posix/fnmatch.c (fnmatch): Likewise.
48224         * posix/getopt.c (_getopt_internal_r): Likewise.
48225         * posix/glob.c (glob, glob_in_dir): Likewise.
48226         * posix/wordexp.c (exec_comm_child): Likewise.
48227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48228         (getanswer_r, gaih_getanswer_slice): Likewise.
48229         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48230         * resolv/res_init.c: Likewise.
48231         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48232         * resolv/res_query.c (__libc_res_nquery): Likewise.
48233         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48234         Likewise.
48235         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48236         * stdio-common/perror.c (perror): Likewise.
48237         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48238         * stdio-common/tmpnam.c (tmpnam): Likewise.
48239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48240         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48241         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48242         Likewise.
48243         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48244         * stdlib/putenv.c (putenv): Likewise.
48245         * stdlib/setenv.c (__add_to_environ): Likewise.
48246         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48247         * stdlib/strtol_l.c (INTERNAL): Likewise.
48248         * string/memmem.c (memmem): Likewise.
48249         * string/strerror.c (strerror): Likewise.
48250         * string/strnlen.c (__strnlen): Likewise.
48251         * string/test-memmem.c (simple_memmem): Likewise.
48252         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48253         * sunrpc/pm_getport.c (__get_socket): Likewise.
48254         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48255         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48256         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48257         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48258         Likewise.
48259         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48260         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48261         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48262         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48263         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48264         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48265         Likewise.
48266         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48267         Likewise.
48268         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48269         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48270         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48271         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48272         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48274         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48275         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48276         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48277         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48278         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48279         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48280         Likewise.
48281         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48282         Likewise.
48283         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48284         Likewise.
48285         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48286         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48287         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48288         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48289         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48290         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48291         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48292         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48294         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48295         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48296         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48298         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48300         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48301         Likewise.
48302         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48303         Likewise.
48304         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48305         Likewise.
48306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48307         Likewise.
48308         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48309         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48310         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48311         Likewise.
48312         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48313         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48314         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48315         * sysdeps/posix/sleep.c: Likewise.
48316         * sysdeps/posix/tempname.c: Likewise.
48317         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48318         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48319         Likewise.
48320         * sysdeps/powerpc/powerpc32/dl-machine.h
48321         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48322         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48323         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48324         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48325         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48326         Likewise.
48327         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48328         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48329         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48330         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48331         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48332         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48333         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48334         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48335         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48336         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48338         (elf_machine_lazy_rel): Likewise.
48339         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48340         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48341         (elf_machine_lazy_rel): Likewise.
48342         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48343         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48344         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48345         * sysdeps/unix/grantpt.c (grantpt): Likewise.
48346         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48347         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48348         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48350         Likewise.
48351         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48352         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48353         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48354         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48355         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48356         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48357         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
48358         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
48359         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
48360         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48361         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48362         Likewise.
48363         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
48364         (__posix_fallocate64_l64): Likewise.
48365         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
48366         (posix_fallocate): Likewise.
48367         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
48368         Likewise.
48369         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48370         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
48371         (getifaddrs_internal): Likewise.
48372         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
48373         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
48374         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
48375         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
48376         * sysdeps/unix/sysv/linux/posix_fallocate64.c
48377         (__posix_fallocate64_l64): Likewise.
48378         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
48379         Likewise.
48380         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
48381         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
48382         (__get_clockfreq): Likewise.
48383         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
48384         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
48385         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
48386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48388         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
48389         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
48390         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
48391         Likewise.
48392         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
48393         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
48394         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
48395         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
48396         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48397         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
48398         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
48399         Likewise.
48400         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48401         (posix_fallocate): Likewise.
48402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48403         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
48404         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
48405         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
48406         (elf_machine_rela, elf_machine_rela_relative)
48407         (elf_machine_lazy_rel): Likewise.
48408         * time/asctime.c (asctime_internal): Likewise.
48409         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
48410         * time/tzset.c (__tzset_parse_tz): Likewise.
48411         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
48412         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
48413         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
48414         * wcsmbs/wcsmbsload.h: Likewise.
48416         [BZ #15894]
48417         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
48419         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
48420         (arena_get2): Remove THREAD_STATS conditionals.
48421         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
48422         (__malloc_stats, int): Likewise.
48424 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
48426         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
48427         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
48429         * manual/setjmp.texi: Fix typos/grammar errors.
48431         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
48432         Only return early when n is <= 0.  Delete unused return statement.
48434         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
48435         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
48436         * debug/tst-longjmp_chk3.c: New file.
48438         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
48439         (test_main): Replace code with set_fortify_handler call.
48440         * debug/test-strcpy_chk.c: Likewise.
48441         * debug/tst-chk1.c: Likewise.
48442         * debug/tst-longjmp_chk.c: Likewise.
48443         * test-skeleton.c: Include fcntl.h & paths.h
48444         (set_fortify_handler): Define.
48446         * debug/tst-longjmp_chk.c: Add header comment and include
48447         ../test-skeleton.c.
48448         (do_test): Mark static.
48449         (TEST_FUNCTION): Define.
48451         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
48452         (IP_PMTUDISC_INTERFACE): Likewise.
48453         (IP_MULTICAST_IF): Likewise.
48454         (IP_MULTICAST_TTL): Likewise.
48455         (IP_MULTICAST_LOOP): Likewise.
48456         (IP_ADD_MEMBERSHIP): Likewise.
48457         (IP_DROP_MEMBERSHIP): Likewise.
48458         (IP_UNBLOCK_SOURCE): Likewise.
48459         (IP_BLOCK_SOURCE): Likewise.
48460         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
48461         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
48462         (IP_MSFILTER): Likewise.
48463         (MCAST_JOIN_GROUP): Likewise.
48464         (MCAST_BLOCK_SOURCE): Likewise.
48465         (MCAST_UNBLOCK_SOURCE): Likewise.
48466         (MCAST_LEAVE_GROUP): Likewise.
48467         (MCAST_JOIN_SOURCE_GROUP): Likewise.
48468         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
48469         (MCAST_MSFILTER): Likewise.
48470         (IP_MULTICAST_ALL): Likewise.
48471         (IP_UNICAST_IF): Likewise.
48473         * timezone/Makefile: Delete $(have-ksh) check.
48474         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
48475         * timezone/tzselect.ksh: Add +x mode bits.
48477         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
48478         (ANON_INODE_FS_MAGIC): Likewise.
48479         (BDEVFS_MAGIC): Likewise.
48480         (BINFMTFS_MAGIC): Likewise.
48481         (BTRFS_TEST_MAGIC): Likewise.
48482         (CRAMFS_MAGIC_WEND): Likewise.
48483         (DEBUGFS_MAGIC): Likewise.
48484         (ECRYPTFS_SUPER_MAGIC): Likewise.
48485         (EXT3_SUPER_MAGIC): Likewise.
48486         (EXT4_SUPER_MAGIC): Likewise.
48487         (FUTEXFS_SUPER_MAGIC): Likewise.
48488         (HOSTFS_SUPER_MAGIC): Likewise.
48489         (HUGETLBFS_MAGIC): Likewise.
48490         (MINIX3_SUPER_MAGIC): Likewise.
48491         (MTD_INODE_FS_MAGIC): Likewise.
48492         (NILFS_SUPER_MAGIC): Likewise.
48493         (OPENPROM_SUPER_MAGIC): Likewise.
48494         (PIPEFS_MAGIC): Likewise.
48495         (PSTOREFS_MAGIC): Likewise.
48496         (QNX6_SUPER_MAGIC): Likewise.
48497         (RAMFS_MAGIC): Likewise.
48498         (REISERFS_SUPER_MAGIC_STRING): Likewise.
48499         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
48500         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
48501         (SECURITYFS_MAGIC): Likewise.
48502         (SELINUX_MAGIC): Likewise.
48503         (SMACK_MAGIC): Likewise.
48504         (SOCKFS_MAGIC): Likewise.
48505         (SQUASHFS_MAGIC): Likewise.
48506         (STACK_END_MAGIC): Likewise.
48507         (TMPFS_MAGIC): Likewise.
48508         (USBDEVICE_SUPER_MAGIC): Likewise.
48509         (V9FS_MAGIC): Likewise.
48510         (XENFS_SUPER_MAGIC): Likewise.
48511         (CRAMFS_MAGIC): Fix typo in comment.
48512         (EXT2_SUPER_MAGIC): Update comment.
48513         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
48515 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
48517         * sysdeps/arm: Move directory from ports/sysdeps/arm.
48518         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
48519         * sysdeps/unix/sysv/linux/arm: Move directory from
48520         ports/sysdeps/unix/sysv/linux/arm.
48521         * README: Update listing for arm-*-linux-gnueabi.
48523         * README: Remove mention of am33.
48525 2014-02-07  Roland McGrath  <roland@hack.frob.com>
48527         * bits/sigset.h (__sigemptyset): Use a statement expression rather
48528         than the comma operator, to avoid "rhs of comma has no effect"
48529         compiler warnings.
48530         (__sigfillset, __sigandset, __sigorset): Likewise.
48531         * include/signal.h (__sigemptyset): Likewise.
48532         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
48534 2014-02-07  Allan McRae  <allan@archlinux.org>
48536         * version.h (RELEASE): Set to "development".
48537         (VERSION): Set to "2.19.90"
48538         * NEWS: Add 2.20 section.
48540 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
48542         [BZ #16529]
48543         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
48545 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48547         * manual/contrib.texi: Update entry for Carlos O'Donell,
48548         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
48550 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
48552         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
48554         * sysdeps/unix/sysv/linux/kernel-features.h
48555         [__LINUX_KERNEL_VERSION >= 0x020621]
48556         (__ASSUME_PROC_PID_TASK_COMM): Define.
48558 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48560         [BZ #16398]
48561         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
48562         conversion when destination buffer does not have enough space.
48563         * libio/tst-ftell-partial-wide.c: New test case.
48564         * libio/Makefile (tests): Add tst-ftell-partial-wide.
48566         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
48567         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
48568         Leonard and Allan McRae.
48570 2014-02-04  David S. Miller  <davem@davemloft.net>
48572         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
48573         32-bit.
48575 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48578         New file
48579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48580         New file
48581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48582         New file.
48583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48584         New file.
48585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48586         New file.
48587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48588         New file.
48589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48590         New file.
48591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48592         New file.
48593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48594         New file.
48595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48596         New file.
48597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48598         New file.
48599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48600         New file.
48601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48602         New file.
48604 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48606         * nptl/shlib-versions: Change powerpc*le start to 2.17.
48607         * shlib-versions: Likewise.
48609 2014-02-04  Roland McGrath  <roland@hack.frob.com>
48610             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48612         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
48613         (abilist-pattern): New variable, set to %-le.abilist.
48615         * Makerules (abilist-pattern): New variable.
48616         (vpath): Use $(abilist-pattern) in place of %.abilist.
48617         (check-abi-% pattern rule): Likewise.
48618         (check-abi, update-abi): Likewise.
48620 2014-02-04  Eric Wong  <normalperson@yhbt.net>
48622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48624 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
48626         * manual/startup.texi: Add next, previous, and top entries for
48627         the `Program Arguments' and `Environment Variables' nodes.
48629 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
48631         * manual/macros.texi: Add comments before MTASC-safety macros.
48633         * manual/users.texi: Document MTASC-safety properties.
48635         * manual/threads.texi (pthread_key_create, pthread_key_delete)
48636         (pthread_getspecific, pthread_setspecific): Format with
48637         @deftypefun, and add @safety note.
48638         * manual/signal.texi: Move comments that analyze the above
48639         functions to their home place.
48641 2014-02-03  Allan McRae  <allan@archlinux.org>
48643         * po/sl.po: Update Slovenian translation from translation project.
48645 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
48647         * manual/time.texi (timegm): Add missing blank after @c.
48648         Reported by Joseph Myers <joseph@codesourcery.com>.
48650 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
48652         * manual/check-safety.sh: New.
48653         * manual/Makefile ($(objpfx)stamp-summary): Run it.
48655         * manual/terminal.texi: Document MTASC-safety properties.
48657         * manual/filesys.texi: Document MTASC-safety properties.
48659         * manual/errno.texi: Document MTASC-safety properties.
48661         * manual/intro.texi: Document safety identifiers and
48662         conditionals.
48664         * manual/string.texi (wcstok): Fix prototype.
48665         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
48667         * manual/time.texi: Document MTASC-safety properties.
48669         * manual/string.texi: Document MTASC-safety properties.
48671         * manual/threads.texi: Document MTASC-safety properties.
48673         * manual/stdio.texi: Document MTASC-safety properties.
48675         * manual/syslog.texi: Document MTASC-safety properties.
48677         * manual/sysinfo.texi: Document MTASC-safety properties.
48679         * manual/startup.texi: Document MTASC-safety properties.
48681         * manual/socket.texi: Document MTASC-safety properties.
48683         * manual/signal.texi: Document MTASC-safety properties.
48685 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
48687         * manual/setjmp.texi: Document MTASC-safety properties.
48689         * manual/search.texi: Document MTASC-safety properties.
48691         * manual/resource.texi: Document MTASC-safety properties.
48693         * manual/process.texi: Document MTASC-safety properties.
48695         * manual/platform.texi: Document MTASC-safety properties.
48697         * manual/pipe.texi: Document MTASC-safety properties.
48699         * manual/pattern.texi: Document MTASC-safety properties.
48701         * manual/message.texi: Document MTASC-safety properties.
48703         [BZ #12751]
48704         * manual/memory.texi: Document MTASC-safety properties.
48706         * manual/math.texi: Document MTASC-safety properties.
48708         * manual/locale.texi: Document MTASC-safety properties.
48710         * manual/llio.texi: Document MTASC-safety properties.
48712         * manual/libdl.texi: New.
48714         * manual/lang.texi: Document MTASC-safety properties.
48716         * manual/job.texi: Document MTASC-safety properties.
48718         * manual/getopt.texi: Document MTASC-safety properties.
48720         * manual/ctype.texi: Document MTASC-safety properties.
48722 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
48724         [BZ #16046]
48725         * csu/libc-tls.c (static_map): Remove variable.
48726         (__libc_setup_tls): Use main executable's link map for TLS data.
48727         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
48728         casing for LM_ID_BASE and GL(dl_nns).
48729         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
48730         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
48731         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
48732         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
48733         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
48734         member.
48735         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
48736         l_phnum members.
48738 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
48740         * manual/debug.texi: Document MTASC-safety properties.
48742 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
48744         [BZ #16510]
48745         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
48746         of __x86_64__ when disabling x87 inline functions.
48748 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
48750         * manual/charset.texi: Document MTASC-safety properties.
48752         * manual/crypt.texi: Document MTASC-safety properties.
48754         * manual/conf.texi: Document MTASC-safety properties.
48756         * manual/arith.texi: Document MTASC-safety properties.
48758         * manual/argp.texi: Document MTASC-safety properties.
48760         * manual/macros.texi: Introduce macros to document multi
48761         thread, asynchronous signal and asynchronous cancellation
48762         safety properties.
48763         * manual/intro.texi: Introduce the properties themselves.
48765 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48767         * sysdeps/sh/sh4/Makefile: New file.
48769 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
48771         * math/gen-libm-test.pl ($srcdir): New variable.
48772         ($auto_input): Use it.
48774 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48776         [BZ #16506]
48777         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
48778         access beyond array bounds when parsing netgroups file.
48780         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
48781         the old buffer before realloc.
48783 2014-01-27  Allan McRae  <allan@archlinux.org>
48785         * po/fr.po: Update French translation from translation project.
48787 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48789         * sysdeps/sh/libm-test-ulps: Regenerate.
48791 2014-01-24  David S. Miller  <davem@davemloft.net>
48793         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
48795 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48797         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
48798         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
48800 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48802         [BZ #16474]
48803         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
48804         string pointers after reallocation.
48806 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48808         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
48809         __SH4A__ instead of __SH_FPU_ANY__.
48811 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48813         * sysdeps/sh/fpu_control.h: New file.
48814         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
48815         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
48816         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
48817         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
48818         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
48819         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
48820         * sysdeps/sh/sys/ucontext.h: Remove.
48821         * sysdeps/sh/sys: Remove directory.
48823 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48825         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
48826         s390/sys/ucontext.h.
48827         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
48828         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
48830 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
48832         [BZ #15605]
48833         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
48835 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48837         [BZ#16431]
48838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48839         Adjust the vDSO correctly for internal calls.
48840         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
48842 2014-01-20  Allan McRae  <allan@archlinux.org>
48844         * po/ca.po: Update Catalan translation from translation project.
48846 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
48848         * sysdeps/s390/sotruss-lib.c: New file.
48850 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48852         [BZ#16430]
48853         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
48854         (__GI___gettimeofday): Alias for a different internal symbol to avoid
48855         local calls issues by not having a PLT stub required for IFUNC calls.
48856         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
48858 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
48860         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
48861         * math/test-fpucw-static.c: Likewise.
48863 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48865         [BZ #16453]
48866         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
48868 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48870         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
48871         implementation for powerpc.
48873 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
48875         [BZ #14782]
48876         * sysdeps/posix/system.c (__libc_system): Do not enable
48877         asynchronous cancellation.
48879 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48881         [BZ #16427]
48882         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
48883         handling only for numbers special also in the IEEE case.
48885 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48887         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48889 2014-01-11  Allan McRae  <allan@archlinux.org>
48891         * po/bg.po: Update Bulgarian translation from translation project.
48893         * po/de.po: Update German translation from translation project.
48895 2014-01-10  Roland McGrath  <roland@hack.frob.com>
48897         * sysdeps/generic/gcc-compat.h: New file.
48899 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48901         * benchtests/asin-inputs: Correct slow inputs.
48902         * benchtests/acos-inputs: Likewise.
48904 2014-01-10  Allan McRae  <allan@archlinux.org>
48906         * po:sv.po: Update Swedish translation from translation project.
48908         * po/vi.po: Update Vietnamese translation from translation project.
48910         * po/eo.po: Update Esperanto translation from translation project.
48912         * po/cs.po: Update Czech translation from translation project.
48914         * po/nl.po: Update Dutch translation from translation project.
48916         * po/pl.po: Update Polish translation from translation project.
48918         * po/ru.po: Update Russian translation from translation project.
48920         * po/uk.po: Update Ukrainian translation from translation project.
48922 2014-01-08  Brooks Moses  <bmoses@google.com>
48924         * elf/dl-load.c: Fix comment typo.
48926 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
48928         * po/header.pot: Rename to...
48929         * po/pot.header: ... this.
48930         * po/Makefile: Use pot.header.
48932 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
48933             Maxim Kuvyrkov  <maxim@kugelworks.com>
48935         [BZ #16394]
48936         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
48937         SRC and DEST against LEN.
48939 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48941         [BZ #16414]
48942         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
48943         implementation.
48944         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
48946 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48950 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
48952         [BZ #16408]
48953         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
48954         for large positive arguments.
48956 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
48958         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48960         * math/auto-libm-test-in: Mark various tests with
48961         xfail-rounding:ldbl-128ibm.
48962         * math/auto-libm-test-out: Regenerated.
48964         [BZ #16407]
48965         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48966         Increase overflow threshold.
48968 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
48970         [BZ #14286]
48971         * stdio-common/vfprintf.c: Check for integer overflow.
48973 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48975         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
48976         the first argument and return value of __tls_get_addr_internal.
48978 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48980         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
48981         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
48983 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48985         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
48986         * sysdeps/s390/rtld-global-offsets.sym: New file.
48987         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
48988         GLIBC_2.19 symbol.
48989         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
48990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
48991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
48992         ... this.
48993         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
48994         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
48995         ... this.
48996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48997         Regenerate.
48998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48999         Regenerate.
49000         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49001         halfs of GPRs for high_gprs contexts.
49002         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49003         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49004         field.
49005         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49006         uc_flags field.
49007         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49008         64 bit versions:
49009         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49010         for high GPRs (uc_high_gprs) and for future extensions
49011         (__reserved).
49012         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49013         for future extensions (__reserved).
49014         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49015         64 bit versions:
49016         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49017         SC_HIGHGPRS offset definition.
49018         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49019         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49021         * Versions.def: Add GLIBC_2.19 for libpthread.
49022         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49023         siglongjmp for libpthread with GLIBC_2.19 symver.
49024         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49025         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49026         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49027         * sysdeps/s390/__longjmp.c: New file.
49028         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49029         * sysdeps/s390/longjmp.c: New file.
49030         * sysdeps/s390/setjmp.S: New file.
49031         * sysdeps/s390/sigjmp.S: New file.
49032         * sysdeps/s390/v1-longjmp.c: New file.
49033         * sysdeps/s390/v1-setjmp.h: New file.
49034         * sysdeps/s390/v1-sigjmp.c: New file.
49035         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49036         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49037         GLIBC_2.19 version.
49038         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49039         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49040         versioned symbols for ____longjmp_chk.
49041         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49042         Likewise.
49043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49044         Regenerate.
49045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49046         Regenerate.
49047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49048         Regenerate.
49049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49050         Regenerate.
49051         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49052         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49053         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49054         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49055         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49056         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49057         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49058         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49059         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49060         * sysdeps/s390/rtld-__longjmp.c: New file.
49061         * sysdeps/s390/rtld-setjmp.S: New file.
49063 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49065         [BZ #16400]
49066         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49067         Return -__logl (x) for small positive arguments without evaluating
49068         a polynomial.
49070 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49072         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49073         Rename to ...
49074         (__ptrace_peeksiginfo_args): ... this.
49075         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49076         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49077         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49079 2014-01-06  Allan McRae  <allan@archlinux.org>
49081         * inet/netinet/in.h: Fix typo in comment.
49083 2014-01-05  Andreas Jaeger  <aj@suse.de>
49085         * sysdeps/i386/fpu/libm-test-ulps: Update.
49087 2014-01-05  Allan McRae  <allan@archlinux.org>
49089         * po/libc.pot: Regenerated.
49091         * malloc/memusagestat.c: Fix gettext call formatting.
49093 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49095         * nscd/nscd.c: Improve usage() output.
49097 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49099         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49100         * sysdeps/unix/sysv/linux/configure: Regenerated.
49101         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49102         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49104 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49106         [BZ #16390]
49107         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49108         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49110 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49113         extra tokens at end of #undef directive.
49114         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49115         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49116         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49118 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49120         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49122         * math/auto-libm-test-in: Mark various tests with
49123         xfail-rounding:ldbl-128ibm.
49124         * math/auto-libm-test-out: Regenerated.
49126 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49128         [BZ #16386]
49129         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49130         numbers with subnormal high part when calculating exponent.
49132         [BZ #16385]
49133         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49134         fabs.
49136         [BZ #16384]
49137         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49138         M_LN2l.
49139         (__ieee754_acoshl): Use __log1pl not __log1p.
49141 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49143         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49144         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49145         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49146         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49147         (reused_arena, arena_get2): Convert to GNU style.
49148         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49149         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49150         (memalign_check, __malloc_set_state): Likewise.
49151         * malloc/mallocbug.c (main): Likewise.
49152         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49153         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49154         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49155         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49156         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49157         (__posix_memalign, malloc_info): Likewise.
49158         * malloc/malloc.h: Likewise.
49159         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49160         (mallochook, memalignhook, reallochook, mabort): Likewise.
49161         * malloc/mcheck.h: Likewise.
49162         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49163         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49164         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49165         * malloc/morecore.c (__default_morecore): Likewise.
49166         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49167         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49168         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49169         (print_and_abort): Likewise.
49170         * malloc/obstack.h: Likewise.
49171         * malloc/set-freeres.c (__libc_freeres): Likewise.
49172         * malloc/tst-mallocstate.c (main): Likewise.
49173         * malloc/tst-mtrace.c (main): Likewise.
49174         * malloc/tst-realloc.c (do_test): Likewise.
49176 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49178         [BZ #16366]
49179         * nscd/netgroupcache.c (do_notfound): New function.
49180         (addgetnetgrentX): Use it.
49182         [BZ # 16365]
49183         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49184         NSS_STATUS_NOTFOUND.
49186 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49188         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49191 2014-01-01  Allan McRae  <allan@archlinux.org>
49193         * scripts/update-copyrights: Update configure input file suffix.
49195         * NEWS: Update copyright year.
49196         * catgets/gencat.c: Likewise.
49197         * csu/version.c: Likewise.
49198         * debug/catchsegv.sh: Likewise.
49199         * debug/pcprofiledump.c: Likewise.
49200         * debug/xtrace.sh: Likewise.
49201         * elf/ldconfig.c: Likewise.
49202         * elf/ldd.bash.in: Likewise.
49203         * elf/pldd.c: Likewise.
49204         * elf/sotruss.ksh: Likewise.
49205         * elf/sprof.c: Likewise.
49206         * iconv/iconv_prog.c: Likewise.
49207         * iconv/iconvconfig.c: Likewise.
49208         * locale/programs/locale.c: Likewise.
49209         * locale/programs/localedef.c: Likewise.
49210         * login/programs/pt_chown.c: Likewise.
49211         * malloc/memusage.sh: Likewise.
49212         * malloc/memusagestat.c: Likewise.
49213         * malloc/mtrace.pl: Likewise.
49214         * manual/libc.texinfo: Likewise.
49215         * nscd/nscd.c: Likewise.
49216         * nss/getent.c: Likewise.
49217         * nss/makedb.c: Likewise.
49218         * posix/getconf.c: Likewise.
49219         * scripts/test-installation.pl: Likewise.
49221         * All files with FSF copyright notices: Update copyright dates
49222         using scripts/update-copyrights.
49223         * intl/plural.c: Regenerated.
49224         * locale/programs/charmap-kw.h: Likewise.
49225         * locale/programs/locfile-kw.h: Likewise.
49227 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49229         * sysdeps/unix/sysv/linux/configure: Regenerated.
49230         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49231         the linux/fanotify.h header.
49232         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49233         HAVE_LINUX_FANOTIFY_H is defined.
49235 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49237         * benchtests/cos-inputs: New inputs.
49238         * benchtests/sin-inputs: Likewise.
49240         * benchtests/atan-inputs: New inputs. Fix name of multiple
49241         precision fallback inputs.
49243         * benchtests/atanh-inputs: New inputs.
49244         * benchtests/tanh-inputs: Likewise.
49246         * benchtests/acosh-inputs: New inputs.
49247         * benchtests/asinh-inputs: Likewise.
49249         * benchtests/cosh-inputs: New inputs.
49250         * benchtests/sinh-inputs: Likewise.
49252         * benchtests/acos-inputs: Add more inputs.
49253         * benchtests/asin-inputs: Likewise.
49255 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49257         [BZ #16375]
49258         * manual/arith.texi: Fix spelling.
49259         * manual/charset.texi: Likewise.
49260         * manual/errno.texi: Likewise.
49261         * manual/filesys.texi: Likewise.
49262         * manual/lang.texi: Likewise.
49263         * manual/llio.texi: Likewise.
49264         * manual/locale.texi: Likewise.
49265         * manual/message.texi: Likewise.
49266         * manual/resource.texi: Likewise.
49267         * manual/search.texi: Likewise.
49268         * manual/setjmp.texi: Likewise.
49269         * manual/stdio.texi: Likewise.
49270         * manual/string.texi: Likewise.
49271         * manual/sysinfo.texi: Likewise.
49272         * manual/time.texi: Likewise.
49274 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49276         * po/sl.po: New file.
49278 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49280         * .gitignore: Add core/.gdbinit/.gdb_history.
49282 2013-12-27  Allan McRae  <allan@archlinux.org>
49284         [BZ #16369]
49285         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49286         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49288 2013-12-24  Brooks Moses  <bmoses@google.com>
49290         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49291         all compilers that claim C++98 compliance, not just GCC.
49292         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49293         Likewise.
49295 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49297         * NEWS: Restore accidentally deleted bug-fix entries.
49299 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49300             Ondřej Bílka  <neleai@seznam.cz>
49302         [BZ #15073]
49303         * malloc/malloc.c (_int_free): Perform sanity check only if we
49304         have_lock.
49306 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49308         [BZ #12986]
49309         * manual/stdio.texi (String Input Conversions): Clarify that character
49310         classes are not supported.
49312 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49316 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49318         [BZ #16337]
49319         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49320         Calculate results for small negative arguments directly rather
49321         than using reflection formula with special underflow handling.
49323         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49324         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49325         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49326         (fchflags): Likewise.
49327         (revoke): Likewise.
49328         (setlogin): Likewise.
49329         (sigaltstack): Likewise.
49330         (wait4): Likewise.
49331         (sigblock): Remove.
49332         (sigsetmask): Likewise.
49333         (wait3): Likewise.
49334         (waitpid): Likewise.
49335         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49336         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49337         file.
49338         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49339         * sysdeps/unix/bsd/Makefile: ... here.
49340         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49341         * sysdeps/unix/bsd/Versions: ... here.
49342         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49343         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49344         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49345         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49346         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49347         * sysdeps/unix/bsd/sigblock.c: ... here.
49348         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49349         * sysdeps/unix/bsd/sigsetmask.c: ... here.
49350         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49351         * sysdeps/unix/bsd/sigvec.c: ... here.
49352         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49353         * sysdeps/unix/bsd/tcdrain.c: ... here.
49354         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49355         * sysdeps/unix/bsd/tcgetattr.c: ... here.
49356         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49357         * sysdeps/unix/bsd/tcsetattr.c: ... here.
49358         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
49359         * sysdeps/unix/bsd/wait.c: ... here.
49360         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
49361         * sysdeps/unix/bsd/wait3.c: ... here.
49362         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
49363         * sysdeps/unix/bsd/waitpid.c: ... here.
49365 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
49367         [BZ #16356]
49368         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
49369         round-to-nearest for [!USE_AS_EXPM1L].
49370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
49371         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
49372         more tests of exp and exp10.  Expect some exp10 tests to miss
49373         exceptions or fail in directed rounding modes.
49374         * math/auto-libm-test-out: Regenerated.
49375         * math/libm-test.inc (exp10_tonearest_test_data): New array.
49376         (exp10_test_tonearest): New function.
49377         (exp10_towardzero_test_data): New array.
49378         (exp10_test_towardzero): New function.
49379         (exp10_downward_test_data): New array.
49380         (exp10_test_downward): New function.
49381         (exp10_upward_test_data): New array.
49382         (exp10_test_upward): New function.
49383         (main): Call the new functions.
49384         * sysdeps/i386/fpu/libm-test-ulps: Update.
49385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49387 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
49389         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
49390         asinh, atan, atan2, atanh, cbrt, cos and cosh.
49391         * math/auto-libm-test-out: Regenerated.
49392         * math/libm-test.inc (acosh_test_data): Add more tests.
49393         (atanh_test_data): Likewise.
49394         (ceil_test_data): Likewise.
49395         (copysign_test_data): Likewise.
49396         * sysdeps/i386/fpu/libm-test-ulps: Update.
49397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49399         * timezone/checktab.awk: Update from tzcode 2013i.
49400         * timezone/private.h: Likewise.
49401         * timezone/scheck.c: Likewise.
49402         * timezone/tzfile.h: Likewise.
49403         * timezone/tzselect.ksh: Likewise.
49404         * timezone/zdump.c: Likewise.
49405         * timezone/zic.c: Likewise.
49407         * math/auto-libm-test-in: Add tests of cpow.
49408         * math/auto-libm-test-out: Regenerated.
49409         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
49410         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49411         mpc_cc_c.
49412         (func_calc_desc): Add mpc_cc_c union field.
49413         (test_functions): Add cpow.
49414         (special_fill_2pi): New function.
49415         (special_real_inputs): Add 2pi.
49416         (calc_generic_results): Handle mpc_cc_c.
49417         * sysdeps/i386/fpu/libm-test-ulps: Update.
49418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49420         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
49421         csqrt, ctan and ctanh.
49422         * math/auto-libm-test-out: Regenerated.
49423         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49424         (TEST_COND_x86): Likewise.
49425         (ccos_test_data): Use AUTO_TESTS_c_c.
49426         (ccosh_test_data): Likewise.
49427         (cexp_test_data): Likewise.
49428         (clog_test_data): Likewise.
49429         (csqrt_test_data): Likewise.
49430         (ctan_test_data): Likewise.
49431         (ctan_tonearest_test_data): Likewise.
49432         (ctan_towardzero_test_data): Likewise.
49433         (ctan_downward_test_data): Likewise.
49434         (ctan_upward_test_data): Likewise.
49435         (ctanh_test_data): Likewise.
49436         (ctanh_tonearest_test_data): Likewise.
49437         (ctanh_towardzero_test_data): Likewise.
49438         (ctanh_downward_test_data): Likewise.
49439         (ctanh_upward_test_data): Likewise.
49440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49441         mpc_c_c.
49442         (func_calc_desc): Add mpc_c_c union field.
49443         (FUNC_mpc_c_c): New macro.
49444         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49445         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
49446         ctanh.
49447         (special_fill_min_subnorm_p120): New function.
49448         (special_real_inputs): Add min_subnorm_p120.
49449         (calc_generic_results): Handle mpc_c_c.
49450         * sysdeps/i386/fpu/libm-test-ulps: Update.
49451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49453 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49455         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
49456         (do_sin_slow): New functions.
49457         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
49458         (cslow2, csloww1, csloww2): Use the new functions.
49460         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
49461         Use M to change sign of result instead of X.  Assume X is
49462         positive.
49463         (csloww1): Likewise.
49464         (__sin): Adjust.
49465         (__cos): Adjust.
49467         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
49468         arguments A and DA.
49469         (__sin): Adjust.
49470         (__cos): Likewise.
49472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
49473         (__cos): Likewise.
49474         (sloww1): Don't adjust sign of DX.
49475         (csloww1): Likewise.
49476         (sloww2): Use X directly and don't adjust sign of DX.
49477         (csloww2): Likewise.
49479 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49481         * math/auto-libm-test-in: Add tests of cabs and carg.
49482         * math/auto-libm-test-out: Regenerated.
49483         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
49484         (carg_test_data): Likewise.
49485         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49486         mpc_c_f.
49487         (func_calc_desc): Add mpc_c_f union field.
49488         (test_functions): Add cabs and carg.
49489         (calc_generic_results): Handle mpc_c_f.
49491         * sysdeps/powerpc/powerpc32/libgcc-compat.S
49492         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
49493         as a macro and a compat symbol.
49494         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
49495         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
49496         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
49497         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
49498         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
49499         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
49500         not use .hidden.
49501         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
49502         Likewise.
49503         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
49504         Likewise.
49505         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
49506         Likewise.
49507         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
49508         Likewise.
49509         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
49510         Likewise.
49511         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
49512         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
49513         from GLIBC_2.3.2.
49515 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49519 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49521         * manual/texinfo.tex: Update to version 2013-11-26.10 with
49522         trailing whitespace removed.
49523         * scripts/config.guess: Update to version 2013-11-29.
49524         * scripts/config.sub: Update to version 2013-10-01.
49526         * math/auto-libm-test-in: Add tests of sincos.
49527         * math/auto-libm-test-out: Regenerated.
49528         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
49529         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49530         mpfr_f_11.
49531         (func_calc_desc): Add mpfr_f_11 union field.
49532         (test_functions): Add sincos.
49533         (calc_generic_results): Handle mpfr_f_11.
49534         * sysdeps/i386/fpu/libm-test-ulps: Update.
49535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49537 2013-12-19  Andreas Schwab  <schwab@suse.de>
49539         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
49540         CALL_MCOUNT.
49541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49542         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
49543         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
49545 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49547         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
49548         * sysdeps/i386/fpu/libm-test-ulps: Update.
49549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49551         [BZ #16293]
49552         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
49553         round-to-nearest mode when using frndint.
49554         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
49555         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49556         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49557         Likewise.
49558         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
49559         sinh test to fail.
49560         * math/auto-libm-test-out: Regenerated.
49561         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
49562         (TEST_COND_x86): Likewise.
49563         (expm1_tonearest_test_data): New array.
49564         (expm1_test_tonearest): New function.
49565         (expm1_towardzero_test_data): New array.
49566         (expm1_test_towardzero): New function.
49567         (expm1_downward_test_data): New array.
49568         (expm1_test_downward): New function.
49569         (expm1_upward_test_data): New array.
49570         (expm1_test_upward): New function.
49571         (main): Run the new test functions.
49572         * sysdeps/i386/fpu/libm-test-ulps: Update.
49573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49575         * include/features.h: Update comment documenting feature test
49576         macros.  Mention _DEFAULT_SOURCE in comment.
49577         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
49578         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
49579         _BSD_SOURCE and _SVID_SOURCE.
49580         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
49581         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
49582         !_SVID_SOURCE]: Likewise.
49583         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49584         (__USE_POSIX_IMPLICITLY): Define.
49585         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49586         (_POSIX_SOURCE): Undefine and redefine.
49587         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49588         (_POSIX_C_SOURCE): Likewise.
49589         * manual/creature.texi (_DEFAULT_SOURCE): Document.
49590         (Feature Test Macros): Update documentation of default features.
49592 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49594         * benchtests/Makefile: Add bench-strtok.
49595         * benchtests/bench-strtok.c: New file: strtok benchtest.
49597 2013-12-19  Allan McRae  <allan@archlinux.org>
49599         * manual/install.texi: Suppress menu for plain text output.
49600         * INSTALL: Regenerated.
49602 2013-12-18  Brooks Moses  <bmoses@google.com>
49604         [BZ #15846]
49605         * misc/getauxval.c: Include errno.h.
49606         (__getauxval): Set errno to ENOENT if the requested type is not
49607         found.
49608         * misc/sys/auxv.h (getauxval): Document that it may set errno;
49609         don't declare with __attribute_const__.
49610         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
49611         * manual/startup.texi: Document that getauxval sets errno.
49613 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
49615         * math/auto-libm-test-in: Add tests of jn and yn.
49616         * math/auto-libm-test-out: Regenerated.
49617         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
49618         (yn_test_data): Likewise.
49619         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49620         mpfr_if_f.
49621         (func_calc_desc): Add mpfr_if_f union field.
49622         (FUNC_mpfr_if_f): New macro.
49623         (test_functions): Add jn and yn.
49624         (calc_generic_results): Assert type of second input for
49625         mpfr_ff_f.  Handle mpfr_if_f.
49626         (output_for_one_input_case): Disable all checking for arguments
49627         fitting floating-point types in case of an integer argument.
49628         * sysdeps/i386/fpu/libm-test-ulps: Update.
49629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49632         Don't expect fegetround reference in libm.so.
49634 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49636         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
49637         $(config-cflags-nofma).
49639 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
49641         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
49642         * math/auto-libm-test-out: Regenerated.
49644         [BZ #16338]
49645         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
49646         to determine exponent and adjust argument to have exponent of -1.
49647         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
49648         log2.
49649         * math/auto-libm-test-out: Regenerated.
49650         * sysdeps/i386/fpu/libm-test-ulps: Update.
49651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49653 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
49655         * manual/probes.texi: Remove cases when per-thread arenas are
49656         disabled.
49658 2013-12-18  Andreas Schwab  <schwab@suse.de>
49660         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
49661         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
49662         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
49663         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
49664         * sysdeps/i386/i686/multiarch/Makefile: Update.
49665         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
49667 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49669         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
49670         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
49672 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
49674         [BZ #15968]
49675         Support TZ transition times < 00:00:00.
49676         This is needed for version-3 tz-format files; it supports time
49677         stamps past 2037 for America/Godthab (the only entry in the tz
49678         database for which this change is relevant).
49679         * manual/time.texi (TZ Variable): Document transition times
49680         from -167:59:59 through -00:00:01.
49681         * time/tzset.c (tz_rule): Time of day is now signed.
49682         (__tzset_parse_tz): Parse negative time of day.
49684         Document TZ transition times >= 25:00:00.
49685         * manual/time.texi (TZ Variable): Document transition times from
49686         25:00:00 through 167:59:59.  These are already supported, and this
49687         support will help with version-3 tz-format files.
49689         * manual/time.texi (TZ Variable): Modernize North America example
49690         to reflect current (i.e., 2007-and-later) daylight saving rules.
49692         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
49694 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49696         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
49697         * sysdeps/unix/bsd/bits/stat.h: Likewise.
49698         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
49699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49700         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
49701         * sysdeps/unix/bsd/bsdstat.h: Likewise.
49702         * sysdeps/unix/bsd/clock.c: Likewise.
49703         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
49704         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
49705         * sysdeps/unix/bsd/init-posix.c: Likewise.
49706         * sysdeps/unix/bsd/poll.c: Likewise.
49707         * sysdeps/unix/bsd/ptsname.c: Likewise.
49708         * sysdeps/unix/bsd/seekdir.c: Likewise.
49709         * sysdeps/unix/bsd/setegid.c: Likewise.
49710         * sysdeps/unix/bsd/seteuid.c: Likewise.
49711         * sysdeps/unix/bsd/setgid.c: Likewise.
49712         * sysdeps/unix/bsd/setrgid.c: Likewise.
49713         * sysdeps/unix/bsd/setruid.c: Likewise.
49714         * sysdeps/unix/bsd/setsid.c: Likewise.
49715         * sysdeps/unix/bsd/setuid.c: Likewise.
49716         * sysdeps/unix/bsd/sigaction.c: Likewise.
49717         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
49718         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
49719         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
49720         * sysdeps/unix/bsd/telldir.c: Likewise.
49721         * sysdeps/unix/bsd/times.c: Likewise.
49722         * sysdeps/unix/bsd/usleep.c: Likewise.
49724         * misc/Makefile (install-lib): Remove libbsd-compat.a.
49725         ($(objpfx)libbsd-compat.a): Remove rule.
49727         * include/features.h (__FAVOR_BSD): Do not define.
49728         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
49729         features conflicting with POSIX.
49730         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
49731         (_BSD_SOURCE): Remove description of not being a subset of other
49732         feature test macros.
49733         * manual/job.texi (getpgrp): Do not document BSD version.
49734         (getpgid): Do not document by reference to BSD getpgrp.
49735         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
49736         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
49737         * signal/signal.h [__FAVOR_BSD]: Likewise.
49738         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
49739         instead of making contents conditional on [__FAVOR_BSD].
49740         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
49742 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49746 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49748         [BZ #16314]
49749         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
49750         values below 2**-450, not 2**-500.
49751         * math/auto-libm-test-in: Don't allow spurious underflow from
49752         hypot.
49753         * math/auto-libm-test-out: Regenerated.
49755         [BZ #16316]
49756         [BZ #16330]
49757         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
49758         values of ha and hb and sort them after adjusting subnormal
49759         arguments.
49760         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
49761         Likewise.
49762         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
49763         values of ea and eb and sort them after adjusting subnormal
49764         arguments.
49765         * math/auto-libm-test-in: Do not expect some hypot tests of
49766         subnormals to fail.  Add more hypot tests.
49767         * math/auto-libm-test-out: Regenerated.
49769 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49771         [BZ #13304]
49772         * sysdeps/sh/s_fma.c: New file.
49773         * sysdeps/sh/s_fmaf.c: New file.
49774         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
49775         version.
49776         * sysdeps/sh/Implies: Add sh/soft-fp.
49778 2013-12-16  Roland McGrath  <roland@hack.frob.com>
49780         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
49781         level of indirection to members `objname', `errstring', `malloced'.
49782         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
49783         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
49784         it as the __longjmp argument (just pass 1 instead).
49785         (_dl_catch_error): Initialize C with argument pointers and address of
49786         volatile local ERRCODE rather than copying values out of C at return.
49788 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
49790         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
49791         * math/auto-libm-test-out: Regenerated.
49792         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
49793         (hypot_test_data): Likewise.
49794         (pow_test_data): Likewise.
49795         (pow_tonearest_test_data): Likewise.
49796         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49797         mpfr_ff_f.
49798         (func_calc_desc): Add mpfr_ff_f union field.
49799         (FUNC_mpfr_ff_f): New macro.
49800         (test_functions): Add atan2, hypot and pow.
49801         (special_fill_min): New function.
49802         (special_fill_minus_min): Likewise.
49803         (special_fill_min_subnorm): Likewise.
49804         (special_fill_minus_min_subnorm): Likewise.
49805         (special_real_inputs): Add min, -min, min_subnorm and
49806         -min_subnorm.
49807         (calc_generic_results): Handle mpfr_ff_f.
49808         * sysdeps/i386/fpu/libm-test-ulps: Update.
49809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49811 2013-12-16  Will Newton  <will.newton@linaro.org>
49813         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
49814         (Aligned Memory Blocks): Add documentation for aligned_alloc
49815         and suggest it as an alternative to posix_memalign.
49816         (Hooks for Malloc): Document __memalign_hook is also called
49817         for aligned_alloc.  (Summary of Malloc): Add summary for
49818         aligned alloc.  Document __memalign_hook is also called
49819         for aligned_alloc.
49821 2013-12-16  Will Newton  <will.newton@linaro.org>
49823         * manual/memory.texi (Malloc Examples): Clarify default
49824         alignment documentation.  Suggest posix_memalign rather
49825         than memalign or valloc.
49826         (Aligned Memory Blocks): Remove suggestion to use memalign
49827         or valloc.  Remove obsolete comment about BSD.
49828         Document memalign errno values and mark the function obsolete.
49829         Document posix_memalign returned error codes.  Mark valloc
49830         as obsolete.  (Hooks for Malloc): __memalign_hook is also
49831         called for posix_memalign and valloc.
49832         (Summary of Malloc): Add posix_memalign to function summary.
49833         __memalign_hook is also called for posix_memalign and valloc.
49835 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49837         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
49838         TAYLOR_SIN.
49839         (__sin): Adjust.
49840         (__cos): Likewise.
49841         (sloww): Use mynumber union.  Expand ternary operator into
49842         if-else statements.
49843         (cslow): use mynumber union.
49845 2013-12-16  Allan McRae  <allan@archlinux.org>
49847         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
49848         * configure: Regenerated.
49850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
49852         [BZ #14120]
49853         * configure.ac: Added --enable-maintainer-mode. Check for
49854         autoconf when enabled.
49855         * configure: Regenerated.
49857         * nscd/nscd.service: New file.
49858         * nscd/nscd.tmpfiles: New file.
49860 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
49862         [BZ #12100]
49863         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
49864         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
49865         * sysdeps/x86_64/multiarch/strstr.c: ... here.
49866         (strstr): Add __strstr_sse2_unaligned ifunc.
49867         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
49868         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
49869         (strcasestr): Remove __strcasestr_sse42 ifunc.
49870         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
49871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49874 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49876         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
49877         * sysdeps/sh/bits/fenv.h: ... here.
49878         * sysdeps/sh/sh4/fpu/bits: Remove directory.
49880 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49882         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
49884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
49885         hypotf multiarch implementations.
49886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
49887         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
49888         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
49889         multiarch hypot for PPC64.
49890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49891         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
49892         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
49893         multiarch hypotf for PPC64.
49895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
49896         modff multiarch implementations.
49897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
49898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
49899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
49900         multiarch modf for PPC64.
49901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
49902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
49903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
49904         multiarch modff for PPC64.
49906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
49907         and logl multiarch implementations.
49908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
49909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
49910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
49911         multiarch logb for PPC64.
49912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
49913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
49914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
49915         multiarch logb for PPC64.
49916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
49917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
49918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
49919         multiarch logb for PPC64.
49921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
49922         isinff multiarch implementation.
49923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49924         file.
49925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
49926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
49927         multiarch isinf for PPC64.
49928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
49929         file.
49930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
49931         multiarch isinff for PPC64.
49933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
49934         finitef multiarch implementation.
49935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
49936         file.
49937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
49938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
49939         multiarch finite for PPC64.
49940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
49941         file.
49942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
49943         multiarch finitef for PPC64.
49945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
49946         lrint multiarch implementation.
49947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
49948         file.
49949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
49950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
49951         multiarch llrint for PPC64.
49952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
49953         multiarch lrint for PPC64.
49955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
49956         copysignf multiarch implementation.
49957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
49958         file.
49959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
49960         file.
49961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
49962         multiarch copysign for PPC64.
49963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
49964         multiarch copysignf for PPC64.
49966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
49967         multiarch implementation.
49968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
49969         file.
49970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
49971         file.
49972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
49973         file.
49974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
49975         file.
49976         multiarch llround for PPC64.
49977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
49978         multiarch trunc for PPC64.
49979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
49980         multiarch truncf for PPC64.
49982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
49983         multiarch implementation.
49984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
49985         file.
49986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
49987         file.
49988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
49989         file.
49990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
49991         file.
49992         multiarch llround for PPC64.
49993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
49994         multiarch round for PPC64.
49995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
49996         multiarch roundf for PPC64.
49998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
49999         multiarch implementation.
50000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50001         file.
50002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50003         file.
50004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50005         file.
50006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50007         file.
50008         multiarch llround for PPC64.
50009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50010         multiarch floor for PPC64.
50011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50012         multiarch floorf for PPC64.
50014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50015         multiarch implementation.
50016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50017         file.
50018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50019         file.
50020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50021         file.
50022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50023         file.
50024         multiarch llround for PPC64.
50025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50026         multiarch ceil for PPC64.
50027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50028         multiarch ceilf for PPC64.
50030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50031         multiarch implementation.
50032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50033         file.
50034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50035         file.
50036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50037         file.
50038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50039         multiarch llround for PPC64.
50040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50041         multiarch lround for PPC64.
50043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50044         multiarch implementation.
50045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50048         file.
50049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50052         multiarch isnan for PPC64.
50053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50054         multiarch isnanf for PPC64.
50056         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50057         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50058         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50059         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50060         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50063         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50064         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50065         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50066         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50069         multiarch implementations.
50070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50071         (__libc_ifunc_impl_list): Likewise.
50072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50074         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50075         multiarch stpcpy for PPC64.
50077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50078         multiarch implementations.
50079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50080         (__libc_ifunc_impl_list): Likewise.
50081         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50082         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50083         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50084         multiarch strcpy for PPC64.
50086         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50087         redefine function name.
50088         (_wordcopy_fwd_dest_aligned): Likewise.
50089         (_wordcopy_bwd_aligned): Likewise.
50090         (_wordcopy_bwd_dest_aligned): Likewise.
50091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50092         multiarch implementations.
50093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50094         (__libc_ifunc_impl_list): Likewise.
50095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50097         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50098         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50099         multiarch wcscpy for PPC64.
50101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50102         multiarch implementations.
50103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50104         (__libc_ifunc_impl_list): Likewise.
50105         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50106         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50107         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50108         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50109         multiarch wcscpy for PPC64.
50111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50112         multiarch implementations.
50113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50114         (__libc_ifunc_impl_list): Likewise.
50115         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50116         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50117         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50118         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50119         multiarch wcsrchr for PPC64.
50121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50122         multiarch implementations.
50123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50124         (__libc_ifunc_impl_list): Likewise.
50125         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50126         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50127         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50128         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50129         multiarch wcschr for PPC64.
50131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50132         multiarch implementations.
50133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50134         (__libc_ifunc_impl_list): Likewise.
50135         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50136         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50137         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50138         multiarch strchrnul for PPC64.
50140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50141         implementations.
50142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50143         (__libc_ifunc_impl_list): Likewise.
50144         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50145         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50146         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50147         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50148         strchr for PPC64.
50150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50151         implementations.
50152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50153         (__libc_ifunc_impl_list): Likewise.
50154         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50157         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50158         strncmp for PPC64.
50160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50161         multiarch implementations.
50162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50163         (__libc_ifunc_impl_list): Likewise.
50164         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50165         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50166         strncasecmp for PPC64.
50167         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50168         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50169         multiarch strncasecmp_l for PPC64.
50171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50172         multiarch implementations.
50173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50174         (__libc_ifunc_impl_list): Likewise.
50175         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50177         multiarch strcasecmp for PPC64.
50178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50179         file.
50180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50181         multiarch strcasecmp_l for PPC64.
50183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50184         implementations.
50185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50186         (__libc_ifunc_impl_list): Likewise.
50187         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50188         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50189         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50190         strnlen for PPC64.
50192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50193         implementations.
50194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50195         (__libc_ifunc_impl_list): Likewise.
50196         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50197         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50198         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50199         strlen for PPC64.
50201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50202         implementations.
50203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50204         (__libc_ifunc_impl_list): Likewise.
50205         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50206         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50207         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50208         rawmemrchr for PPC64.
50210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50211         implementation.
50212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50213         (__libc_ifunc_impl_list): Likewise.
50214         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50215         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50216         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50217         memrchr for PPC64.
50219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50220         implementation.
50221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50222         (__libc_ifunc_impl_list): Likewise.
50223         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50224         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50225         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50226         memchr for PPC64.
50228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50229         implementation.
50230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50231         (__libc_ifunc_impl_list): Likewise.
50232         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50233         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50234         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50235         mempcpy for PPC64.
50237         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50238         avoid cretion of __bzero symbol.
50239         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50240         Likewise.
50241         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50242         Likewise.
50243         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50244         Likewise.
50245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50246         multiarch implementations.
50247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50248         (__libc_ifunc_impl_list): Likewise.
50249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50251         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50252         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50253         bzero for PPC32.
50254         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50255         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50256         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50257         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50258         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50259         memset for PPC64.
50260         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50262         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50264         implementations.
50265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50266         (__libc_ifunc_impl_list): Likewise.
50267         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50268         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50269         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50270         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50271         memcmp for PPC64.
50273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50274         multiarch for POWER/PPC64.
50275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50276         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50278         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50279         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50280         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50281         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50282         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50283         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50284         memcpy for PPC64.
50286         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50287         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50288         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50289         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50290         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50291         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50292         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50293         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50294         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50295         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50296         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50297         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50298         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50299         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50300         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50309 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50311         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50313 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50315         * benchtests/Makefile (bench): Add exp2 and log2.
50316         (LDLIBS-bench-exp2): Add -lm.
50317         (LDLIBS-bench-log2): Likewise.
50318         * benchtests/exp2-inputs: New inputs file.
50319         * benchtests/log2-inputs: New inputs file.
50320         * benchtests/log-inputs: Add new inputs.
50321         * benchtests/tan-inputs: Likewise.
50323 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50325         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50326         definition...
50327         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50328         (csloww2): ... from here.
50330         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50331         instead of structures.
50332         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50333         (POLYNOMIAL): Likewise.
50334         (TAYLOR_SLOW): Likewise.
50335         (__sin): Likewise.
50336         (__cos): Likewise.
50337         (slow1): Likewise.
50338         (slow2): Likewise.
50339         (sloww): Likewise.
50340         (sloww1); Likewise.
50341         (sloww2): Likewise.
50342         (bsloww1): Likewise.
50343         (bsloww2): Likewise.
50344         (cslow2): Likewise.
50345         (csloww): Likewise.
50346         (csloww1): Likewise.
50347         (csloww2): Likewise.
50349 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
50351         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50352         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50353         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50354         * malloc/hooks.c (realloc_check): Likewise.
50356         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50357         * malloc/arena.c: Remove PER_THREAD conditional.
50358         [!PER_THREAD]: Remove code.
50359         (ptmalloc_unlock_all2): Likewise.
50360         (ptmalloc_init): Likewise.
50361         (_int_new_arena): Likewise.
50362         (arena_get2): Likewise.
50363         * malloc/hooks.c (__malloc_get_state): Likewise.
50364         (__malloc_set_state): Likewise.
50365         * malloc/malloc.c: Likewise.
50366         (struct malloc_state): Likewise.
50367         (struct malloc_par): Likewise.
50368         (__libc_realloc): Likewise.
50369         (__libc_mallopt): Likewise.
50371 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50373         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50375 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
50377         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
50378         macro to a function.  Check for zero perturb_byte.
50379         (_int_malloc, _int_free): Remove zero perturb_byte checks.
50381         * malloc/malloc.c: (force_reg): Remove.
50382         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
50383         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
50384         force_reg by atomic_forced_read.
50385         * malloc/arena.c (ptmalloc_init): Likewise.
50386         * malloc/hooks.c (top_check): Likewise.
50388 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50392 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
50394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50396 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
50398         * math/auto-libm-test-in: Add tests of lgamma.
50399         * math/auto-libm-test-out: Regenerated.
50400         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
50401         (M_LOG_2_SQRT_PIl): Likewise.
50402         (lgamma_test_data): Use AUTO_TESTS_f_f1.
50403         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50404         mpfr_f_f1.
50405         (func_calc_desc): Add mpfr_f_f1 union field.
50406         (ARGS1): New macro.
50407         (ARGS2): Likewise.
50408         (ARGS3): Likewise.
50409         (ARGS4): Likewise.
50410         (RET1): Likewise.
50411         (RET2): Likewise.
50412         (CALC): Likewise.
50413         (FUNC): Likewise.
50414         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
50415         (test_functions): Add lgamma.
50416         (calc_generic_results): Handle mpfr_f_f1.
50417         * sysdeps/i386/fpu/libm-test-ulps: Update.
50418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50420 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50422         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
50423         __mpn_add_n for PowerPC64/POWER7.
50424         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
50425         __mpn_sub_n for PowerPC64/POWER7.
50427         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
50428         __mpn_addmul_1 for PowerPC64.
50429         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
50430         __mpn_submul_1 for PowerPC64.
50431         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
50432         for PowerPC64.
50433         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
50434         for PowerPC64.
50436 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
50438         [BZ #15089]
50439         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
50441 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50443         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
50445         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
50446         add multiarch folders.
50447         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
50448         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
50449         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
50450         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
50451         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
50452         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
50453         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
50454         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
50455         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
50456         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
50457         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
50458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
50459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
50460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
50461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
50462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
50463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
50465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50466         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
50467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
50468         New file.
50469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
50470         New file.
50471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
50472         multiarch __ieee754_hypot for PowerPC32.
50473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
50474         New file.
50475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
50476         New file.
50477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
50478         multiarch __ieee754_hypotf for PowerPC32.
50480         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
50481         long_double_symbol only if __logbl is defined.
50482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
50483         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
50484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
50485         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
50486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
50487         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
50488         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
50489         path for implementation.
50490         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
50491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
50492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
50493         logb, and logbl multiarch implementations for PowerPC32.
50494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
50495         file.
50496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
50497         file.
50498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
50499         multiarch logb for PowerPC32.
50500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
50501         file.
50502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
50503         file.
50504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
50505         multiarch logbf for PowerPC32.
50506         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
50507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
50508         file.
50509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
50510         multiarch logbl implementation for PowerPC32.
50512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
50513         and modff multiarch implementations.
50514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
50515         New file.
50516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
50517         New file.
50518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
50519         multiarch modf for PowerPC32.
50520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
50521         New file.
50522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
50523         New file.
50524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
50525         multiarch modff for PowerPC32.
50527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
50528         and lrintf multiarch implementations.
50529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
50530         New file.
50531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
50532         New file.
50533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
50534         multiarch lrint for PowerPC32.
50535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
50536         file: multiarch lrintf for PowerPC32.
50538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
50539         and lroundf multiarch implementations.
50540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
50541         New file.
50542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
50543         New file.
50544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
50545         New file.
50546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
50547         multiarch lround for PowerPC32.
50548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
50549         file: multiarch lroundf for PowerPC32.
50551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50552         copysign and copysignf multiarch implementations.
50553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
50554         New file.
50555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
50556         New file.
50557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
50558         file: multiarch copysign for PowerPC32.
50559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
50560         file: multiarch copysignf for PowerPC32.
50562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
50563         and truncf multiarch implementations.
50564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
50565         New file.
50566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
50567         file.
50568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
50569         multiarch trunc for PowerPC32.
50570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
50571         New file.
50572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
50573         New file.
50574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
50575         multiarch truncf for PowerPC32.
50577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
50578         and roundf multiarch implementations.
50579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
50580         New file.
50581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
50582         file.
50583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
50584         multiarch round for PowerPC32.
50585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
50586         New file.
50587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
50588         New file.
50589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
50590         multiarch roundf for PowerPC32.
50592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
50593         and floorf multiarch implementations.
50594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
50595         New file.
50596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
50597         file.
50598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
50599         multiarch floor for PowerPC32.
50600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
50601         New file.
50602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
50603         New file.
50604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
50605         multiarch floorf for PowerPC32.
50607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
50608         and ceilf multiarch implementations.
50609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
50610         New file.
50611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
50612         file.
50613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
50614         multiarch ceil for PowerPC32.
50615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
50616         New file.
50617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
50618         file.
50619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
50620         multiarch ceilf for PowerPC32.
50622         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
50623         is defined.
50624         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
50625         FINITEF is defined.
50626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
50627         and finitef multiarch implementations.
50628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
50629         New file.
50630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
50631         file.
50632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
50633         multiarch finite for PowerPC32.
50634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
50635         New file.
50636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
50637         file: multiarch finitef for PowerPC32.
50639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
50640         and isinff multiarch implementations.
50641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
50642         file.
50643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
50644         file.
50645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
50646         multiarch isinf for PowerPC32.
50647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
50648         New file.
50649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
50650         multiarch isinff for PowerPC32.
50652         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
50653         alias when __isnan is defined.
50654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
50655         and isnanf multiarch implementations.
50656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
50657         file.
50658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
50659         file.
50660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
50661         file.
50662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
50663         file.
50664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
50665         multiarch isnan for PowerPC32.
50666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
50667         New file.
50668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
50669         New file.
50670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
50671         multiarch isnanf for PowerPC32.
50673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
50674         and sqrtf multiarch implementations.
50675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
50676         file.
50677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
50678         file.
50679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
50680         multiarch sqrt for PowerPC32.
50681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
50682         file.
50683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
50684         file.
50685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
50686         multiarch sqrtf for PowerPC32.
50688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
50689         and llroundf multiarch implementations.
50690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
50691         New file.
50692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
50693         New file.
50694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
50695         New file.
50696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
50697         file: multiarch llround for PowerPC32.
50698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
50699         file: multiarch llroundf for PowerPC32.
50701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
50702         multiarch PowerPC32 fpu implementations.
50703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
50704         New file.
50705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
50706         New file.
50707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
50708         multiarch llrint for PowerPC32.
50709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
50710         New file.
50711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
50712         New file.
50713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
50714         file.
50716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
50718         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
50719         file.
50720         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
50721         file.
50722         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
50723         file.
50724         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
50725         multiarch wordcopy for PPC32.
50726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
50727         wordcopy objects.
50728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50729         (__libc_ifunc_impl_list): Likewise.
50730         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
50731         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
50732         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
50733         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
50734         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
50735         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
50737         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
50738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
50739         file.
50740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
50741         file.
50742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
50743         file.
50744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
50745         multiarch wcscpy for PPC32.
50746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
50747         multiarch objects.
50748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50749         (__libc_ifunc_impl_list): Likewise.
50750         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
50751         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
50752         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
50753         sysdeps/powerpc/power6/wcscpy.c.
50755         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
50756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
50757         file.
50758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
50759         file.
50760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
50761         file.
50762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
50763         multiarch wcsrchr for PPC32.
50764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
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/wcsrchr.c: Adjust to use
50771         sysdeps/powerpc/power6/wcsrchr.c.
50773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
50774         file.
50775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
50776         file.
50777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
50778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
50779         multiarch wcschr for PPc32.
50780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
50781         multiarch objects.
50782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50783         (__libc_ifunc_impl_list): Likewise.
50784         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
50785         * sysdeps/powerpc/power6/wcschr.c: ... to here.
50786         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
50787         sysdeps/powerpc/power6/wcschr.c.
50789         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
50790         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
50791         file.
50792         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
50793         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
50794         file: multiarch strchr for PPC32.
50795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
50796         multiarch objects.
50797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50798         (__libc_ifunc_impl_list): Likewise.
50800         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
50801         name.
50802         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
50803         file.
50804         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
50805         file.
50806         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
50807         multiarch strchrnul for PPC32.
50808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
50809         multiarch objects.
50810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50811         (__libc_ifunc_impl_list): Likewise.
50813         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
50814         file.
50815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
50816         multiarch strncasecmp for PPC32.
50817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
50818         file.
50819         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
50820         multiarch strncasecmp_l for PPC32.
50821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
50822         strncasecmp multiarch objects.
50823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50824         (__libc_ifunc_impl_list): Likewise.
50826         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
50827         file.
50828         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
50829         multiarch strncasecmp for PPC32.
50830         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
50831         New file.
50832         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
50833         multiarch strcasecmp_l for PPC32.
50834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
50835         multiarch objects.
50836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50837         (__libc_ifunc_impl_list): Likewise.
50839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
50840         file.
50841         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
50842         file.
50843         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
50844         multiarch strncmp for PPC32.
50845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
50846         multiarch objects.
50847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50848         (__libc_ifunc_impl_list): Likewise.
50850         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
50851         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
50852         file.
50853         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
50854         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
50855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
50856         multiarch objects.
50857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50858         (__libc_ifunc_impl_list): Likewise.
50860         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
50861         file.
50862         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
50863         file.
50864         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
50865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
50866         multiarch objects.
50867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50868         (__libc_ifunc_impl_list): Likewise.
50870         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
50871         file.
50872         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
50873         file.
50874         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
50875         multiarch rawmemchr for PPC32.
50876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
50877         multiarch objects.
50878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50879         (__libc_ifunc_impl_list): Likewise.
50881         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
50882         file.
50883         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
50884         file.
50885         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
50886         file: memrchr multiarch for PPC32.
50887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
50888         multiarch objects.
50889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50890         (__libc_ifunc_impl_list): Likewise.
50892         * string/memchr.c (__memchr): Using macro to redefine symbol name.
50893         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
50894         file.
50895         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
50896         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
50897         multiarch memchr for PPC32.
50898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
50899         multiarch objects.
50900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50901         (__libc_ifunc_impl_list): Likewise.
50903         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
50904         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
50905         file.
50906         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
50907         file.
50908         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
50909         file: multiarch mempcpy for PPC32.
50910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50911         multiarch objects.
50912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50913         (__libc_ifunc_impl_list): Likewise.
50915         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
50916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
50917         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
50918         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
50919         multiarch bzero for PPC32.
50920         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
50921         file.
50922         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
50923         file.
50924         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
50925         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
50926         file: multiarch memset for PPC32.
50927         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
50928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
50929         memset multiarch objects.
50930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50931         (__libc_ifunc_impl_list): Likewise.
50933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
50934         file.
50935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
50936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
50937         memcmp for PPC32.
50938         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
50939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
50940         multiarch objects.
50941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50942         (__libc_ifunc_impl_list): Likewise.
50944         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
50945         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
50946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
50947         file.
50948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
50949         file.
50950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
50951         file.
50952         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
50953         multiarch memcpy for PPC32.
50954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
50955         multiarch objects.
50956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50957         (__libc_ifunc_impl_list): Likewise.
50959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
50960         support multiarch for POWER/PPC32.
50961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
50962         Likewise.
50963         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
50964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
50965         Implies file to make multiarch folder appers before the fpu and
50966         default folder for power4 configuration.
50968 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50970         * scripts/bench.pl: Append volatile keyword to type.
50972 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50974         * sysdeps/sh/sotruss-lib.c: New file.
50975         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
50977 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50981 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
50983         [BZ #6810]
50984         * math/w_tgamma.c: Include <errno.h>.
50985         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
50986         * math/w_tgammaf.c: Include <errno.h>.
50987         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
50988         * math/w_tgammal.c: Include <errno.h>.
50989         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
50990         * math/auto-libm-test-in: Do not allow missing errno on tgamma
50991         underflow.  Add more tgamma tests.
50992         * math/auto-libm-test-out: Regenerated.
50993         * sysdeps/i386/fpu/libm-test-ulps: Update.
50994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50996         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
50997         sin, sinh, tan, tanh, tgamma, y0 and y1.
50998         * math/auto-libm-test-out: Regenerated.
50999         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51000         (TEST_COND_x86): Likewise.
51001         (M_E2l): Remove macro.
51002         (M_E3l): Likewise.
51003         (M_2_SQRT_PIl): Likewise.
51004         (M_SQRT_PIl): Likewise.
51005         (M_1_DIV_El): Likewise.
51006         (log_test_data): Use AUTO_TESTS_f_f.
51007         (log10_test_data): Likewise.
51008         (log1p_test_data): Likewise.
51009         (log2_test_data): Likewise.
51010         (sin_test_data): Likewise.
51011         (sin_tonearest_test_data): Likewise.
51012         (sin_towardzero_test_data): Likewise.
51013         (sin_downward_test_data): Likewise.
51014         (sin_upward_test_data): Likewise.
51015         (sinh_test_data): Likewise.
51016         (sinh_tonearest_test_data): Likewise.
51017         (sinh_towardzero_test_data): Likewise.
51018         (sinh_downward_test_data): Likewise.
51019         (sinh_upward_test_data): Likewise.
51020         (tan_test_data): Likewise.
51021         (tan_tonearest_test_data): Likewise.
51022         (tan_towardzero_test_data): Likewise.
51023         (tan_downward_test_data): Likewise.
51024         (tan_upward_test_data): Likewise.
51025         (tanh_test_data): Likewise.
51026         (tgamma_test_data): Likewise.
51027         (y0_test_data): Likewise.
51028         (y1_test_data): Likewise.
51029         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51030         (special_real_inputs): Add pi/4.
51031         * sysdeps/i386/fpu/libm-test-ulps: Update.
51032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51034 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51036         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51037         "longjmp_target" static probes.
51038         (__longjmp): Rename to __longjmp_symbol.
51039         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51040         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51041         on which longjmp to generate.
51042         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51043         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51044         probe.
51045         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51046         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51047         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51048         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51049         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51050         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51052         __longjmp_symbol based on which __longjmp to generate.
51053         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51054         probe.
51055         (setjmp): Rename to setjmp_symbol.
51056         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51057         (_setjmp): Rename to _setjmp_symbol.
51058         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51059         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51060         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51061         which setjmp to generate.
51062         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51063         "longjmp_target" static probes.
51065 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51067         * benchtests/README: Add note about output arguments.
51068         * benchtests/bench-sincos.c: Remove file.
51069         * benchtests/sincos-inputs: New file.
51070         * scripts/bench.pl: Identify output arguments and define
51071         static variables for them.
51073         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51075         [BZ #15941]
51076         * Makefile (INSTALL): Add install-plain.texi as the primary
51077         dependency.
51078         * manual/install-plain.texi: New file.
51079         * manual/install.texi: Include node directive only for
51080         non-plaintext output.
51082 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51084         * stdlib/longlong.h: Update from GCC.
51086         [BZ #6807]
51087         [BZ #15901]
51088         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51089         * math/w_j0f.c (y0f): Likewise.
51090         * math/w_j0l.c (__y0l): Likewise.
51091         * math/w_j1.c (y1): Likewise.
51092         * math/w_j1f.c (y1f): Likewise.
51093         * math/w_j1l.c (__y1l): Likewise.
51094         * math/w_jn.c (yn): Likewise.
51095         * math/w_jnf.c (ynf): Likewise.
51096         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51097         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51098         value for Bessel function domain errors outside _SVID_ mode.
51099         Adjust sign of return value for yn (negative integer, 0).
51100         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51101         by zero in return for negative x and set sign appropriately for
51102         negative n.
51103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51104         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51105         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51106         expectations in error cases.
51107         (y1_test_data): Likewise.
51108         (yn_test_data): Likewise.
51109         * sysdeps/i386/fpu/libm-test-ulps: Update.
51110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51112 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51114         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51115         "64" to "64-v1".  Add "64-v2".
51116         (abi-64-options): Rename to ...
51117         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51118         (abi-64-condition): Rename to ...
51119         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51120         (abi-64-ld-soname): Rename to ...
51121         (abi-64-v1-ld-soname): ... this.
51122         (abi-64-v2-options): Define.
51123         (abi-64-v2-condition): Likewise.
51124         (abi-64-v2-ld-soname): Likewise.
51125         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51126         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51131 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51132             Alan Modra  <amodra@gmail.com>
51134         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51135         New versions for use with the ELFv2 ABI.
51136         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51137         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51138         declaration.
51139         (struct La_ppc64v2_retval): Likewise.
51140         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51141         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51142         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51143         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51144         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51145         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51146         Do not save or restore CR.
51147         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51148         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51149         return values for ELFv2 ABI.  Fix location of FPR return registers.
51150         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51151         updated values for _CALL_ELF == 2.
51152         (La_regs, La_retval, int_retval): Likewise.
51154 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51156         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51157         (FRAME_MIN_SIZE_PARM): Likewise.
51158         (FRAME_BACKCHAIN): Likewise.
51159         (FRAME_CR_SAVE): Likewise.
51160         (FRAME_LR_SAVE): Likewise.
51161         (FRAME_TOC_SAVE): Likewise.
51162         (FRAME_PARM_SAVE): Likewise.
51163         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51164         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51165         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51166         (call_mcount_parm_offset): New macro.
51167         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51168         (PROF): Use symbolic stack frame offsets.
51169         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51170         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51171         Redefine in terms of FRAME_MIN_SIZE.
51172         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51173         (_dl_profile_resolve): Likewise.  Update comment.
51174         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51175         symbols stack frame offsets.
51176         (__sigsetjmp): Likewise.
51177         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51178         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51179         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51180         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51183         (FRAME_BACKCHAIN): Remove.
51184         (FRAME_CR_SAVE): Likewise.
51185         (FRAME_LR_SAVE): Likewise.
51186         (FRAME_COMPILER_DW): Likewise.
51187         (FRAME_LINKER_DW): Likewise.
51188         (FRAME_TOC_SAVE): Likewise.
51189         (FRAME_PARM_SAVE): Likewise.
51190         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51191         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51192         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51194         (CHECK_SP): Use symbolic stack frame offsets.
51195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51196         zone" instead of caller's parameter save area for temp storage.
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51198         Likewise.  Also, use symbolic stack frame offsets.
51199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51200         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51201         our own stack frame instead of the caller's.
51202         (__socket): Use symbolic stack frame offsets.
51204 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51205             Alan Modra  <amodra@gmail.com>
51207         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51208         Define.
51209         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51210         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51211         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51212         New function.
51213         (elf_machine_fixup_plt): Call it.
51214         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51215         reloc arguments.
51216         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51217         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51218         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51219         r2 before calling target.
51221 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51222             Alan Modra  <amodra@gmail.com>
51224         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51225         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51226         versions of macros to support ELFv2 ABI.
51227         (LOCALENTRY): New macro.
51228         (ENTRY, EALIGN): Use it.
51229         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51230         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51231         fall through into ENTRY entry point.
51232         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51233         Only define if _CALL_ELF != 2.
51235         (elf_machine_matches_host): Verify ABI version matches.
51236         (RTLD_START): Use LOCALENTRY.
51237         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51238         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51239         (PLT_ENTRY_WORDS): New macro.
51240         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51241         (elf_machine_runtime_setup): Support ELFv2 ABI.
51242         (elf_machine_fixup_plt): Likewise.
51243         (elf_machine_plt_conflict): Likewise.
51244         (resolve_ifunc): Likewise.
51245         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51247         Likewise.
51248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51249         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51251         (makecontext): Support ELFv2 ABI.
51252         * elf/elf.h (EF_PPC64_ABI): Define.
51254 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51256         * sysdeps/powerpc/powerpc64/sysdep.h
51257         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51258         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51259         (ENTRY) [ASSEMBLER]: ... but instead here ...
51260         (EALIGN) [ASSEMBLER]: ... and here.
51261         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51262         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51263         (ENTRY_2) [!ASSEMBLER]: Use it.
51264         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51265         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51266         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51267         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51268         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51270         Use PPC64_LOAD_FUNCPTR.
51272         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51274 2013-12-04  Alan Modra  <amodra@gmail.com>
51276         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51277         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51278         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51279         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51282         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51283         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51284         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51285         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51286         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51288 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51291         (__makecontext): Fix incorrect CFI when backtracing out of
51292         context created via makecontext.
51293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51294         (__setcontext): Fix incorrect CFI during switch to new context.
51295         (__novec_setcontext): Likewise.
51297 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51299         [BZ #4772]
51300         * time/strptime_l.c (__strptime_internal): Allow modifiers
51301         in strptime.
51302         * time/tst-strptime.c (day_tests): Add testcase.
51304 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51306         * scripts/bench.pl: Skip over blank lines.
51308 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51310         [BZ #926]
51311         * manual/time.texi (Calendar Time): Clarify what timezone functions
51312         use.
51314 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51318 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51320         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51321         implementation.
51322         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51323         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51324         * debug/memset_chk.c (__memset_chk): Likewise.
51325         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51326         * debug/strncpy_chk.c: Likewise.
51328 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51330         [BZ #15268]
51331         [BZ #15425]
51332         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51333         (__ieee754_exp): For possibly underflowing results, check size of
51334         result and force underflow exception if required.
51335         * math/auto-libm-test-in: Add more tests of exp.
51336         * math/auto-libm-test-out: Regenerated.
51337         * sysdeps/i386/fpu/libm-test-ulps: Update.
51338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51340         [BZ #16283]
51341         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51342         * math/w_exp2f.c (__exp2f): Likewise.
51343         * math/w_exp2l.c (__exp2l): Likewise.
51344         * math/auto-libm-test-in: Do not allow missing errno on exp2
51345         underflow.
51346         * math/auto-libm-test-out: Regenerated.
51348 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
51350         [BZ #16274]
51351         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51352         handle filename validation.
51353         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51354         (do_open): Delete.
51356 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51358         [BZ #6786]
51359         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
51360         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
51361         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
51362         <float.h>.
51363         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
51364         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
51365         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
51367         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51368         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
51369         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51370         * math/auto-libm-test-in: Don't allow missing errno from erfc.
51371         Add more erfc tests.
51372         * math/auto-libm-test-out: Regenerated.
51373         * sysdeps/i386/fpu/libm-test-ulps: Update.
51374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51376         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
51377         exp2, expm1, j0 and j1.
51378         * math/auto-libm-test-out: Regenerated.
51379         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
51380         (erfc_test_data): Likewise.
51381         (exp_test_data): Likewise.
51382         (exp_tonearest_test_data): Likewise.
51383         (exp_towardzero_test_data): Likewise.
51384         (exp_downward_test_data): Likewise.
51385         (exp_upward_test_data): Likewise.
51386         (exp10_test_data): Likewise.
51387         (exp2_test_data): Likewise.
51388         (expm1_test_data): Likewise.
51389         (j0_test_data): Likewise.
51390         (j1_test_data): Likewise.
51391         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
51392         (input_flag_type): Add flag_xfail_rounding.
51393         (input_flags): Add xfail-rounding.
51394         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
51395         (output_for_one_input_case): Handle flag_xfail_rounding.
51396         * sysdeps/i386/fpu/libm-test-ulps: Update.
51397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51399 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
51401         [BZ #16289]
51402         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
51403         division by 0.
51405 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51407         [BZ #16195]
51408         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
51409         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
51410         (STAP_PROBE0): New macro.
51411         (STAP_PROBE1): Likewise.
51412         (STAP_PROBE2): Likewise.
51413         (STAP_PROBE3): Likewise.
51414         (STAP_PROBE4): Likewise.
51416 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
51418         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
51420 2013-12-02  Steve Ellcey  <sellcey@mips.com>
51422         * benchtests/Makefile (bench): Add sqrt.
51423         (LDLIBS-bench-sqrt): New.
51424         * benchtests/sqrt-input: New.
51426 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
51428         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
51429         (GAIH_EAI): Likewise.
51430         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
51431         (gaih_inet): Likewise.
51432         (getaddrinfo): Don't use GAIH_EAI.
51434         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
51435         (struct gaih): Remove definition.
51437 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51439         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
51440         Use HERRNOP directly.
51442 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51446 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
51448         * math/gen-auto-libm-tests.c (test_functions): Add more
51449         single-argument functions.
51450         (special_fill_pi_2): New function.
51451         (special_fill_minus_pi_2): Likewise.
51452         (special_fill_pi_6): Likewise.
51453         (special_fill_minus_pi_6): Likewise.
51454         (special_fill_pi_3): Likewise.
51455         (special_fill_2pi_3): Likewise.
51456         (special_fill_e): Likewise.
51457         (special_fill_1_e): Likewise.
51458         (special_fill_e_minus_1): Likewise.
51459         (special_real_inputs): Add more special inputs.
51460         (output_for_one_input_case): Do not require ERANGE on underflow to
51461         zero if round-to-nearest result does not underflow to zero, unless
51462         exact results required.
51463         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
51464         atan, atanh, cbrt, cos and cosh.
51465         * math/auto-libm-test-out: Regenerated.
51466         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
51467         (acos_tonearest_test_data): Likewise.
51468         (acos_towardzero_test_data): Likewise.
51469         (acos_downward_test_data): Likewise.
51470         (acos_upward_test_data): Likewise.
51471         (acosh_test_data): Likewise.
51472         (asin_test_data): Likewise.
51473         (asin_tonearest_test_data): Likewise.
51474         (asin_towardzero_test_data): Likewise.
51475         (asin_upward_test_data): Likewise.
51476         (asinh_test_data): Likewise.
51477         (atan_test_data): Likewise.
51478         (atanh_test_data): Likewise.
51479         (cbrt_test_data): Likewise.
51480         (cos_test_data): Likewise.
51481         (cos_tonearest_test_data): Likewise.
51482         (cos_towardzero_test_data): Likewise.
51483         (cos_downward_test_data): Likewise.
51484         (cos_upward_test_data): Likewise.
51485         (cosh_test_data): Likewise.
51486         (cosh_tonearest_test_data): Likewise.
51487         (cosh_towardzero_test_data): Likewise.
51488         (cosh_downward_test_data): Likewise.
51489         (cosh_upward_test_data): Likewise.
51490         * sysdeps/i386/fpu/libm-test-ulps: Update.
51491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51493 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
51495         [BZ #6787]
51496         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
51497         * math/w_exp10f.c (__exp10f): Likewise.
51498         * math/w_exp10l.c (__exp10l): Likewise.
51499         * math/libm-test.inc (exp10_test_data): Add more tests and expect
51500         errno settings in existing tests.
51502         [BZ #14032]
51503         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
51504         precision control set to double precision.
51505         * sysdeps/i386/fpu/w_sqrt.c: New file.
51506         * math/auto-libm-test-in: Add more tests.
51507         * math/auto-libm-test-out: Update.
51509         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
51510         (sqrt_test_tonearest): New function.
51511         (sqrt_towardzero_test_data): New variable.
51512         (sqrt_test_towardzero): New function.
51513         (sqrt_downward_test_data): New variable.
51514         (sqrt_test_downward): New function.
51515         (sqrt_upward_test_data): New variable.
51516         (sqrt_test_upward): New function.
51517         (main): Call the new functions.
51519         * math/gen-auto-libm-tests.c: New file.
51520         * math/auto-libm-test-in: Likewise.
51521         * math/auto-libm-test-out: New generated file.
51522         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
51523         variables.
51524         (%beautify): Add generated representations of zero.
51525         (top level): Set $auto_input and call parse_auto_input.
51526         (beautify): Remove trailing "f" from hex float constants.
51527         (parse_args): Handle XFAIL_TEST.
51528         (convert_condition): New function.
51529         (or_value): Likewise.
51530         (or_cond_value): Likewise.
51531         (generate_testfile): Handle AUTO_TESTS_* lines.
51532         (parse_auto_input): New function.
51533         * math/libm-test.inc (XFAIL_TEST): New macro.
51534         (ERRNO_UNCHANGED): Update value.
51535         (ERRNO_EDOM): Likewise.
51536         (ERRNO_ERANGE): Likewise.
51537         (IGNORE_RESULT): Likewise.
51538         (TEST_COND_flt_32): New macro.
51539         (TEST_COND_dbl_64): Likewise.
51540         (TEST_COND_ldbl_96_intel): Likewise.
51541         (TEST_COND_ldbl_96_m68k): Likewise.
51542         (TEST_COND_ldbl_128): Likewise.
51543         (TEST_COND_ldbl_128ibm): Likewise.
51544         (TEST_COND_long32): Likewise.
51545         (TEST_COND_long64): Likewise.
51546         (TEST_COND_before_rounding): Likewise.
51547         (TEST_COND_after_rounding): Likewise.
51548         (enable_test): Handle XFAIL_TEST flag.
51549         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
51550         with finite results.
51551         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
51552         auto-libm-test-out.
51554 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51555             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51557         [BZ #16214]
51558         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
51559         __tls_get_addr_internal instead of __tls_get_offset in order to
51560         avoid GOT pointer dependency.  Make rtld export
51561         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
51562         __tls_get_addr since we are a __tls_get_offset platform.
51563         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
51564         GOT pointer being set up before.
51565         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
51567 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
51569         * manual/math.texi (Errors in Math Functions): Document accuracy
51570         goals.
51572         [BZ #15004]
51573         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
51574         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
51575         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51576         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51577         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51578         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51579         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51580         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51582         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51583         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51584         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51585         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51586         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51587         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51588         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51590         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
51591         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
51592         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
51593         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
51594         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
51595         Likewise.
51596         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
51597         Likewise.
51598         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
51599         Likewise.
51600         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
51601         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
51602         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
51603         atomic-feupdateenv and flt-rounds.
51604         * sysdeps/powerpc/nofpu/Versions (libc): Add
51605         __atomic_feholdexcept, __atomic_feclearexcept,
51606         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
51607         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
51608         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
51609         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
51610         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
51611         here.
51612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
51613         Update.
51615         * manual/arith.texi (FP Exceptions): Document that exceptions may
51616         not be raised when matherr is used.
51617         (Math Error Reporting): Document overflow in directed rounding
51618         modes.  Document that errno may not be set when finite values are
51619         returned on overflow.  Document intent to set errno on underflow
51620         only for underflow to zero.
51622         [BZ #16271]
51623         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
51624         round-to-nearest then adjust result for other rounding modes.
51625         * include/fenv.h (fegetround): Use libm_hidden_proto.
51626         * math/fegetround.c (fegetround): Use libm_hidden_def.
51627         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
51628         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
51629         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51630         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
51631         Likewise.
51632         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
51633         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51634         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
51635         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
51637 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51639         [BZ #16077]
51640         * nss/Versions (libnss_files): Add
51641         _nss_files_gethostbyname3_r.
51642         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
51643         New function.
51644         (HOST_DB_LOOKUP): Remove macro.
51645         (_nss_files_gethostbyname_r): Implement function without the
51646         HOST_DB_LOOKUP macro.
51647         (_nss_files_gethostbyname2_r): Likewise.
51649 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
51651         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
51653 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
51655         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
51656         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
51657         warning.
51659 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51661         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
51662         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
51663         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51664         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
51665         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
51666         __fe_nomask_env_priv and attribute_hidden.
51667         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
51668         (libc_feupdateenv_test_ppc): Likewise.
51669         (libc_feresetround_ppc): Likewise.
51670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51671         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
51672         compat_symbol macro.
51673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51674         (__fe_nomask_env): Likewise.
51675         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
51677 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51679         * string/Makefile: Remove ifunc tests.
51680         * string/test-string.h: Define TEST_IFUNC.
51681         * string/test-bcopy-ifunc.c: Remove.
51682         * string/test-bzero-ifunc.c: Likewise.
51683         * string/test-memccpy-ifunc.c: Likewise.
51684         * string/test-memchr-ifunc.c: Likewise.
51685         * string/test-memcmp-ifunc.c: Likewise.
51686         * string/test-memcpy-ifunc.c: Likewise.
51687         * string/test-memmem-ifunc.c: Likewise.
51688         * string/test-memmove-ifunc.c: Likewise.
51689         * string/test-mempcpy-ifunc.c: Likewise.
51690         * string/test-memrchr-ifunc.c: Likewise.
51691         * string/test-memset-ifunc.c: Likewise.
51692         * string/test-rawmemchr-ifunc.c: Likewise.
51693         * string/test-stpcpy-ifunc.c: Likewise.
51694         * string/test-stpncpy-ifunc.c: Likewise.
51695         * string/test-strcasecmp-ifunc.c: Likewise.
51696         * string/test-strcasestr-ifunc.c: Likewise.
51697         * string/test-strcat-ifunc.c: Likewise.
51698         * string/test-strchr-ifunc.c: Likewise.
51699         * string/test-strchrnul-ifunc.c: Likewise.
51700         * string/test-strcmp-ifunc.c: Likewise.
51701         * string/test-strcpy-ifunc.c: Likewise.
51702         * string/test-strcspn-ifunc.c: Likewise.
51703         * string/test-strlen-ifunc.c: Likewise.
51704         * string/test-strncasecmp-ifunc.c: Likewise.
51705         * string/test-strncat-ifunc.c: Likewise.
51706         * string/test-strncmp-ifunc.c: Likewise.
51707         * string/test-strncpy-ifunc.c: Likewise.
51708         * string/test-strnlen-ifunc.c: Likewise.
51709         * string/test-strpbrk-ifunc.c: Likewise.
51710         * string/test-strrchr-ifunc.c: Likewise.
51711         * string/test-strspn-ifunc.c: Likewise.
51712         * string/test-strstr-ifunc.c: Likewise.
51714 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51716         * benchtests/Makefile: Remove ifunc tests.
51717         * benchtests/bench-string.h: Define TEST_IFUNC.
51718         * benchtests/bench-bcopy-ifunc.c: Remove.
51719         * benchtests/bench-bzero-ifunc.c: Likewise.
51720         * benchtests/bench-memccpy-ifunc.c: Likewise.
51721         * benchtests/bench-memchr-ifunc.c: Likewise.
51722         * benchtests/bench-memcmp-ifunc.c: Likewise.
51723         * benchtests/bench-memcpy-ifunc.c: Likewise.
51724         * benchtests/bench-memmem-ifunc.c: Likewise.
51725         * benchtests/bench-memmove-ifunc.c: Likewise.
51726         * benchtests/bench-mempcpy-ifunc.c: Likewise.
51727         * benchtests/bench-memrchr-ifunc.c: Likewise.
51728         * benchtests/bench-memset-ifunc.c: Likewise.
51729         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
51730         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
51731         * benchtests/bench-stpcpy-ifunc.c: Likewise.
51732         * benchtests/bench-stpncpy-ifunc.c: Likewise.
51733         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
51734         * benchtests/bench-strcasestr-ifunc.c: Likewise.
51735         * benchtests/bench-strcat-ifunc.c: Likewise.
51736         * benchtests/bench-strchr-ifunc.c: Likewise.
51737         * benchtests/bench-strchrnul-ifunc.c: Likewise.
51738         * benchtests/bench-strcmp-ifunc.c: Likewise.
51739         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
51740         * benchtests/bench-strcpy-ifunc.c: Likewise.
51741         * benchtests/bench-strcspn-ifunc.c: Likewise.
51742         * benchtests/bench-strlen-ifunc.c: Likewise.
51743         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
51744         * benchtests/bench-strncat-ifunc.c: Likewise.
51745         * benchtests/bench-strncmp-ifunc.c: Likewise.
51746         * benchtests/bench-strncpy-ifunc.c: Likewise.
51747         * benchtests/bench-strnlen-ifunc.c: Likewise.
51748         * benchtests/bench-strpbrk-ifunc.c: Likewise.
51749         * benchtests/bench-strrchr-ifunc.c: Likewise.
51750         * benchtests/bench-strsep-ifunc.c: Likewise.
51751         * benchtests/bench-strspn-ifunc.c: Likewise.
51752         * benchtests/bench-strstr-ifunc.c: Likewise.
51754 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51756         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
51758 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51760         * resolv/netdb.h: Use __glibc_reserved instead __unused.
51761         * rt/aio.h: Likewise.
51762         * sysdeps/gnu/bits/utmp.h: Likewise.
51763         * sysdeps/gnu/bits/utmpx.h: Likewise.
51764         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51765         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
51766         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
51767         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
51768         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
51769         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
51770         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
51771         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
51772         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
51773         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
51774         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
51775         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
51776         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
51777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
51778         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51779         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
51780         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
51781         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
51782         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
51783         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
51784         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
51785         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
51786         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
51787         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51788         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
51789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51790         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
51791         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
51792         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
51793         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
51794         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
51795         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
51796         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
51797         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
51798         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
51799         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
51800         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
51801         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
51802         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
51803         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
51804         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
51805         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51807 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
51809         [BZ #16245]
51810         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
51811         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
51813 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
51815         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
51816         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
51817         Likewise.
51819 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
51822         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
51823         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
51824         (__fesetround): Remove define.
51825         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
51826         rounding and exceptions handling.
51827         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
51828         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
51829         (__fe_nomask_env): Likewise.
51830         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
51831         __fegetround instead of fegetround.
51832         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51833         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
51835 2013-11-21  Roland McGrath  <roland@hack.frob.com>
51837         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
51838         it's there.
51840         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
51842 2013-11-21  Meador Inge  <meadori@codesourcery.com>
51844         [BZ #11157]
51845         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
51846         (encrypt_r): Likewise.
51847         * malloc/obstack.h (obstack_free): Likewise.
51848         * posix/unistd.h (encrypt): Likewise.
51850 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
51852         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
51853         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
51854         DL_CALL_DT_FINI() that call the functions directly.
51855         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
51856         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
51857         * elf/dl-fini.c: Likewise.
51859 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
51861         * malloc/hooks.c (memalign_check): Add alignment rounding.
51862         * malloc/malloc.c (_mid_memalign): New function.
51863         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
51864         Implement by calling _mid_memalign.
51865         * manual/probes.texi (Memory Allocation Probes): Remove
51866         memory_valloc_retry and memory_pvalloc_retry.
51868 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51870         * locale/programs/locarchive.c (open_archive): Add const
51871         qualifier to ARCHIVEFNAME and copy default fname to
51872         DEFAULT_FNAME.
51874         [BZ #15601]
51875         * libio/tst-widetext.input: Rename Oriya to Odia.
51876         * locale/iso-639.def: Likewise.
51878         * manual/probes.texi (Mathematical Function Probes): Add
51879         documentation for sin, cos, asin and acos probes.
51880         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
51881         (__sin32): Add slowasin probe.
51882         (__cos32): Add slowacos probe.
51883         (__mpsin): Add slowsin probe.
51884         (__mpcos): Add slowcos probe.
51886 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
51888         [BZ #15483]
51889         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
51890         thread-local __sim_exceptions_thread and global
51891         __sim_exceptions_global.
51892         (__sim_disabled_exceptions): Change to thread-local
51893         __sim_disabled_exceptions_thread and global
51894         __sim_disabled_exceptions_global.
51895         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51896         and global __sim_round_mode_global.
51897         (__simulate_exceptions): Use thread-local floating-point state and
51898         set global state from it as needed.
51899         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
51900         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
51901         __sim_round_mode_thread.
51902         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
51903         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
51904         and global __sim_exceptions_global.
51905         (__sim_disabled_exceptions): Change to thread-local
51906         __sim_disabled_exceptions_thread and global
51907         __sim_disabled_exceptions_global.
51908         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51909         and global __sim_round_mode_global.
51910         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
51911         (SIM_SET_GLOBAL): Likewise.
51912         * sysdeps/powerpc/soft-fp/sfp-machine.h
51913         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
51914         __sim_round_mode_thread.
51915         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
51916         __sim_disabled_exceptions_thread.
51917         (__sim_exceptions): Change to __sim_exceptions_thread.
51918         (__sim_disabled_exceptions): Change to
51919         __sim_disabled_exceptions_thread.
51920         (__sim_round_mode): Change to __sim_round_mode_thread.
51921         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
51922         thread-local floating-point state and set global state from it as
51923         needed.
51924         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
51925         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
51926         (__sim_disabled_exceptions): Remove extern declaration.
51927         (feenableexcept): Use thread-local floating-point state and set
51928         global state from it as needed.
51929         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
51930         extern declaration.
51931         (__sim_disabled_exceptions): Likewise.
51932         (__sim_round_mode): Likewise.
51933         (__fegetenv): Use thread-local floating-point state.
51934         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
51935         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51936         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
51937         floating-point state and set global state from it as needed.
51938         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
51939         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
51940         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
51941         Likewise.
51942         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
51943         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
51944         Likewise.
51945         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
51946         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
51947         Use __sim_round_mode_thread.
51948         * math/test-fenv-tls.c: New file.
51949         * math/Makefile (tests): Add test-fenv-tls.
51950         ($(objpfx)test-fenv-tls): Depend on
51951         $(common-objpfx)nptl/libpthread.so.
51953 2013-11-19  Andreas Schwab  <schwab@suse.de>
51955         * locale/programs/locale.c (show_info): Decode wordarray elements.
51956         * locale/categories.def (LC_MONETARY): Add element for
51957         _NL_MONETARY_CRNCYSTR.
51958         * locale/C-monetary.c (conversion_rate): New variable.
51959         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
51960         element.
51962 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
51964         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
51965         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
51967 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51969         * elf/Makefile (tst-auxv): New test.
51970         * elf/tst-auxv.c: New
51971         * elf/rtld.c (dl_main): Adjust AT_EXECFN
51973 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
51975         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
51976         (hidden_proto): Caller changed.
51977         (hidden_tls_proto): New macro.
51978         (libc_hidden_tls_proto): Likewise.
51979         (rtld_hidden_tls_proto): Likewise.
51980         (libm_hidden_tls_proto): Likewise.
51981         (libresolv_hidden_tls_proto): Likewise.
51982         (librt_hidden_tls_proto): Likewise.
51983         (libdl_hidden_tls_proto): Likewise.
51984         (libnss_files_hidden_tls_proto): Likewise.
51985         (libnsl_hidden_tls_proto): Likewise.
51986         (libnss_nisplus_hidden_tls_proto): Likewise.
51987         (libutil_hidden_tls_proto): Likewise.
51989 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
51991         [BZ #10253]
51992         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
51993         (decompose_rpath): Defer expansion to fillin_rpath.
51994         (_dl_init_paths): Pass linkmap to fillin_rpath.
51996 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51998         * benchtests/Makefile: Add strsep.
51999         * benchtests/bench-strsep.c: New file: strsep benchtest.
52000         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52002 2013-11-18  Andreas Schwab  <schwab@suse.de>
52004         * locale/programs/locale.c (show_info) [case byte]: Check for
52005         '\377' instead of '\177'.
52006         * locale/C-monetary.c (not_available): Always use "\377".
52007         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52008         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52009         detect unavailable sign_posn locale elements.
52010         * locale/localeconv.c (__localeconv): For grouping and
52011         mon_grouping handle "\177" and "\377" like no grouping.
52012         (INT_ELEM): New macro.  Use it to set all numeric members.
52013         * locale/programs/ld-monetary.c (monetary_read)
52014         <tok_mon_grouping>: Normalize single -1 to the empty string.
52015         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52016         Likewise.
52018 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52020         [BZ #16055]
52021         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52022         when we match (nil).
52023         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52025 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52027         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52028         (NO_TEST_INLINE): Update value.
52029         (ERRNO_UNCHANGED): Likewise.
52030         (ERRNO_EDOM): Likewise.
52031         (ERRNO_ERANGE): Likewise.
52032         (IGNORE_RESULT): Likewise.
52033         (check_float_internal): Check signs of NaN results if
52034         TEST_NAN_SIGN used.
52035         (check_complex): Pass TEST_NAN_SIGN flag through to second
52036         check_float_internal call.
52037         (copysign_test_data): Add tests with quiet NaNs as second
52038         argument.  Use TEST_NAN_SIGN.
52039         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52040         TEST_NAN_SIGN.
52041         (signbit_test_data): Add tests of quiet NaN argument.
52042         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52044         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52045         $ignore_result.
52046         (parse_args): Handle function results specified as IGNORE.
52047         * math/libm-test.inc (IGNORE_RESULT): New macro.
52048         (check_float_internal): Do not check numerical result if flag
52049         IGNORE_RESULT set.
52050         (check_complex): Pass through IGNORE_RESULT to second
52051         check_float_internal call.
52052         (check_int): Do not check numerical result if flag IGNORE_RESULT
52053         set.
52054         (check_long): Likewise.
52055         (check_bool): Likewise.
52056         (check_longlong): Likewise.
52057         (lrint_test_data): Add tests of infinite and NaN arguments.
52058         (lrint_tonearest_test_data): Likewise.
52059         (lrint_towardzero_test_data): Likewise.
52060         (lrint_downward_test_data): Likewise.
52061         (lrint_upward_test_data): Likewise.
52062         (llrint_test_data): Likewise.
52063         (llrint_tonearest_test_data): Likewise.
52064         (llrint_towardzero_test_data): Likewise.
52065         (llrint_downward_test_data): Likewise.
52066         (llrint_upward_test_data): Likewise.
52067         (lround_test_data): Likewise.
52068         (llround_test_data): Likewise.
52070         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52071         (ERRNO_UNCHANGED): Update value.
52072         (ERRNO_EDOM): Likewise.
52073         (ERRNO_ERANGE): Likewise.
52074         (NO_TEST_INLINE_FLOAT): New macro.
52075         (NO_TEST_INLINE_DOUBLE): Likewise.
52076         (enable_test): New function.
52077         (RUN_TEST_f_f): Check enable_test before running test.
52078         (RUN_TEST_2_f): Likewise.
52079         (RUN_TEST_fff_f): Likewise.
52080         (RUN_TEST_c_f): Likewise.
52081         (RUN_TEST_f_f1): Likewise.
52082         (RUN_TEST_fF_f1): Likewise.
52083         (RUN_TEST_fI_f1): Likewise.
52084         (RUN_TEST_ffI_f1): Likewise.
52085         (RUN_TEST_c_c): Likewise.
52086         (RUN_TEST_cc_c): Likewise.
52087         (RUN_TEST_f_i): Likewise.
52088         (RUN_TEST_f_i_tg): Likewise.
52089         (RUN_TEST_ff_i_tg): Likewise.
52090         (RUN_TEST_f_b): Likewise.
52091         (RUN_TEST_f_b_tg): Likewise.
52092         (RUN_TEST_f_l): Likewise.
52093         (RUN_TEST_f_L): Likewise.
52094         (RUN_TEST_fFF_11): Likewise.
52095         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52096         conditionals.
52097         (cosh_test_data): Likewise.
52098         (exp_test_data): Likewise.
52099         (expm1_test_data): Likewise.
52100         (hypot_test_data): Likewise.
52101         (pow_test_data): Likewise.
52102         (sinh_test_data): Likewise.
52103         (tanh_test_data): Likewise.
52104         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52105         flags argument.
52107         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52108         tests with quiet NaN input and output.
52109         (acosh_test_data): Likewise.
52110         (asin_test_data): Likewise.
52111         (asinh_test_data): Likewise.
52112         (atan_test_data): Likewise.
52113         (atanh_test_data): Likewise.
52114         (atan2_test_data): Likewise.
52115         (cbrt_test_data): Likewise.
52116         (cos_test_data): Likewise.
52117         (cosh_test_data): Likewise.
52118         (erf_test_data): Likewise.
52119         (erfc_test_data): Likewise.
52120         (exp_test_data): Likewise.
52121         (exp10_test_data): Likewise.
52122         (exp2_test_data): Likewise.
52123         (expm1_test_data): Likewise.
52124         (hypot_test_data): Likewise.
52125         (j0_test_data): Likewise.
52126         (j1_test_data): Likewise.
52127         (jn_test_data): Likewise.
52128         (lgamma_test_data): Likewise.
52129         (log_test_data): Likewise.
52130         (log10_test_data): Likewise.
52131         (log1p_test_data): Likewise.
52132         (log2_test_data): Likewise.
52133         (pow_test_data): Likewise.
52134         (scalb_test_data): Likewise.
52135         (sin_test_data): Likewise.
52136         (sincos_test_data): Likewise.
52137         (sinh_test_data): Likewise.
52138         (tan_test_data): Likewise.
52139         (tanh_test_data): Likewise.
52140         (tgamma_test_data): Likewise.
52141         (y0_test_data): Likewise.
52142         (y1_test_data): Likewise.
52143         (yn_test_data): Likewise.
52145         [BZ #16167]
52146         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52147         argument being NaN and avoid computations with second argument in
52148         that case.
52149         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52150         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52151         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52153 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52155         * locale/iso-639.def: Add Chitwani Tharu (the).
52157 2013-11-14  Andreas Schwab  <schwab@suse.de>
52159         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52160         word instead of empty string.
52162 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52165         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52167         (__fe_nomask_env): Likewise.
52169 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52171         * benchtests/bench-timing.h: Include time.h.
52173 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52175         [BZ #15997]
52176         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52177         to 3.4.0 for x32.
52178         * sysdeps/unix/sysv/linux/configure: Regenerated.
52180 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52182         [BZ #16151]
52183         * stdlib/strtod_l.c (round_and_return): Do not consider
52184         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52185         exponent one less than half the least subnormal exponent.
52186         * stdlib/test-strtod-round-data: Add more tests.
52187         * stdlib/tst-strtod-round.c (tests): Regenerated.
52189 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52191         [BZ #14143]
52192         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52193         (__fe_mask_env): Likewise.
52194         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52195         libm_hidden_proto and add function prototype.
52196         (__fe_mask_env): Add function prototype.
52197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52198         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52200         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52202         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52204 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52206         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52207         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52209 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52211         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52212         of htab_find_slot().
52214 2013-11-11  David S. Miller  <davem@davemloft.net>
52216         [BZ #16150]
52217         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52218         symbol in the non-vis3 case in static builds.
52219         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52220         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52221         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52222         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52224 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52226         [BZ #387]
52227         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52228         it is empty.
52230 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52232         * benchtests/Makefile: Add bench-strtod.
52233         * benchtests/bench-strtod.c: New file: strtod benchtest
52235 2013-11-11  Andreas Schwab  <schwab@suse.de>
52237         [BZ #16153]
52238         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52239         terminating NUL in key length.
52241 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52243         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52244         Add artificial ODP entry for vDSO symbol for PPC64.
52245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52246         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52248 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52250         [BZ #15374]
52251         * nss/getent.c (services_keys): Recognize services starting with digit.
52253 2013-11-06  David S. Miller  <davem@davemloft.net>
52255         [BZ #15985]
52256         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52257         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52259 2013-11-06  Will Newton  <will.newton@linaro.org>
52261         * manual/memory.texi (Malloc Examples): Remove register
52262         keyword from examples.
52264 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52266         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52268 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52270         [BZ #6981]
52271         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52272         depending on [__GCC_IEC_559 > 0].
52273         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52274         depending on [__GCC_IEC_559_COMPLEX > 0].
52276 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52278         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52279         to iso-639.def.
52281 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52283         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52285 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52287         [BZ #16112]
52288         * malloc/malloc (malloc_info): Do not handle first bin as
52289         special case.
52291 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52293         * locale/iso-639.def: Add Central Nahuatl (nhn).
52295 2013-11-01  Bruno Haible  <bruno@clisp.org>
52297         [BZ #7003]
52298         * manual/math.texi (BSD Random): Specify range upper bound as
52299         in POSIX.
52301 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52303         * locale/iso-639.def: Add Meadow Mari (mhr).
52305 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52307         [BZ #14752], [BZ #15763]
52308         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52309         Validate name.
52310         * rt/tst_shm.c: Add test for escaping directory.
52312 2013-10-31  Andreas Schwab  <schwab@suse.de>
52314         [BZ #15917]
52315         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52316         followed by 'x' as part of digit sequence.
52317         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52319 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52321         [BZ #16037]
52322         * configure.ac: allow GNU Make 4.0 and greater.
52323         * configure: Regenerated.
52325 2013-10-30  Will Newton  <will.newton@linaro.org>
52327         [BZ #16038]
52328         * malloc/hooks.c (memalign_check): Limit alignment to the
52329         maximum representable power of two.
52330         * malloc/malloc.c (__libc_memalign): Likewise.
52331         * malloc/tst-memalign.c (do_test): Add test for very
52332         large alignment values.
52333         * malloc/tst-posix_memalign.c (do_test): Likewise.
52335 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52337         [BZ #11087]
52338         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52339         (munmap_chunk): Likewise.
52340         (mremap_chunk): Likewise.
52342 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52344         [BZ #15799]
52345         * stdlib/div.c (div): Remove obsolete code.
52346         * stdlib/ldiv.c (ldiv): Likewise.
52347         * stdlib/lldiv.c (lldiv): Likewise.
52349 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52351         [BZ #16071]
52352         * nss/nss_files/files-XXX.c (get_contents_ret): New
52353         enumerator.
52354         (get_contents): New function.
52355         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52357 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
52359         * configure.in: Moved to ...
52360         * configure.ac: ... here. Change reference to configure.in
52361         to configure.ac.
52362         * sysdeps/arm/preconfigure.ac: ... here.
52363         configure.in to configure.ac.
52364         * sysdeps/gnu/configure.in: Moved to ...
52365         * sysdeps/gnu/configure.ac: ... here.
52366         * sysdeps/i386/configure.in: Moved to ...
52367         * sysdeps/i386/configure.ac: ... here.
52368         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
52369         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
52370         * sysdeps/mach/configure.in: Moved to ...
52371         * sysdeps/mach/configure.ac: ... here.
52372         * sysdeps/mach/hurd/configure.in: Moved to ...
52373         * sysdeps/mach/hurd/configure.ac: ... here.
52374         * sysdeps/powerpc/configure.in: Moved to ...
52375         * sysdeps/powerpc/configure.ac: ... here.
52376         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
52377         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
52378         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
52379         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
52380         * sysdeps/s390/s390-32/configure.in: Moved to ...
52381         * sysdeps/s390/s390-32/configure.ac: ... here.
52382         * sysdeps/s390/s390-64/configure.in: Moved to ...
52383         * sysdeps/s390/s390-64/configure.ac: ... here.
52384         * sysdeps/sh/configure.in: Moved to ...
52385         * sysdeps/sh/configure.ac: ... here.
52386         * sysdeps/sparc/configure.in: Moved to ...
52387         * sysdeps/sparc/configure.ac: ... here.
52388         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
52389         * sysdeps/unix/sysv/linux/configure.ac: ... here.
52390         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
52391         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
52392         * sysdeps/x86_64/configure.in: Moved to ...
52393         * sysdeps/x86_64/configure.ac: ... here.
52394         * sysdeps/x86_64/preconfigure.in: Moved to ...
52395         * sysdeps/x86_64/preconfigure.ac: ... here.
52396         * aclocal.m4: Change reference to configure.in to configure.ac.
52397         * config.h.in: Likewise.
52398         * manual/install.texi: Likewise.
52399         * manual/maint.texi: Likewise.
52400         * Makefile: Likewise.
52401         * malloc/Makefile: Likewise.
52402         * nscd/Makefile: Likewise.
52403         * Makeconfig: Change reference to configure.in and
52404         preconfigure.in to configure.ac and preconfigure.ac
52405         respectively.
52406         * INSTALL: Regenerated.
52407         * configure: Likewise.
52408         * sysdeps/gnu/configure: Likewise.
52409         * sysdeps/i386/configure: Likewise.
52410         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
52411         * sysdeps/mach/configure: Likewise.
52412         * sysdeps/mach/hurd/configure: Likewise.
52413         * sysdeps/powerpc/configure: Likewise.
52414         * sysdeps/powerpc/powerpc32/configure: Likewise.
52415         * sysdeps/powerpc/powerpc64/configure: Likewise.
52416         * sysdeps/s390/s390-32/configure: Likewise.
52417         * sysdeps/s390/s390-64/configure: Likewise.
52418         * sysdeps/sh/configure: Likewise.
52419         * sysdeps/sparc/configure: Likewise.
52420         * sysdeps/unix/sysv/linux/configure: Likewise.
52421         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
52422         * sysdeps/x86_64/configure: Likewise.
52423         * sysdeps/x86_64/preconfigure: Likewise.
52425 2013-10-29  Andreas Schwab  <schwab@suse.de>
52427         * stdio-common/Makefile (tst-swscanf-ENV): Define.
52429 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52431         * benchtests/pow-inputs: Add new inputs.
52433         * benchtests/exp-inputs: Add new inputs.
52435         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
52436         conditional check for return value.
52437         (__cos32): Likewise.
52439 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52441         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
52442         to provide a boost for large inputs with word alignment.
52443         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
52444         implementation based on optimized PPC64 strcpy.
52445         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
52446         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
52447         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
52448         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
52450 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52452         [BZ #2801]
52453         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
52455 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52457         [BZ #14876]
52458         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
52459         * time/tst-strptime.c (day_tests): Add testcase.
52461 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52463         [BZ #14029]
52464         * manual/pattern.texi: Acknowledge that fnmatch can fail.
52466 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
52468         [BZ #16074]
52469         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
52470         MAP_FAILED on error.
52472 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52474         [BZ #16072]
52475         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
52476         heap for large requests.
52478 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
52480         [BZ #9954]
52481         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
52482         result if the result has no associated interface.
52483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
52484         interface for all 127.X.Y.Z addresses.
52486 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
52488         * locale/iso-639.def: Add Ligurian (lij)
52490 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
52492         [BZ #15825]
52493         * sunrpc/rpc_main.c: Document rpcgen -5.
52495 2013-10-19  Michael Stahl  <mstahl@redhat.com>
52497         * elf/rtld.c (do_preload): Print the reason why preloading failed.
52499 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52501         [BZ #10278]
52502         * posix/glob.c: Match only directories when trailing slash is present.
52503         * posix/tst-gnuglob.c (my_opendir): Do not open files.
52504         (main): Add testcase.
52506 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52508         [BZ #15670]
52509         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
52511 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
52513         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
52514         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
52515         AUTH_DES and cindex for FIPS 140-2.
52516         (DES Encryption): Add cindex FIPS 46-3.
52518         * locale/locarchive.h (struct locarhandle): Add fname.
52519         * locale/programs/localedef.c (main): Pass ARGV[remaining]
52520         if an optional argument was specified to --list-archive,
52521         otherwise NULL.
52522         * locale/programs/locarchive.c (show_archive_content): Take new
52523         argument fname and pass it via ah.fname to open_archive.
52524         * locale/programs/localedef.h: Update decl.
52525         (open_archive): If AH->fname is non-null, open that file
52526         rather than the default file name, and don't ignore ENOENT.
52527         (create_archive): Set AH.fname to NULL.
52528         (delete_locales_from_archive): Likewise.
52529         (add_locales_to_archive): Likewise.
52530         * locale/programs/locfile.c (write_all_categories): Likewise.
52532 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
52533             Aldy Hernandez  <aldyh@redhat.com>
52535         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
52536         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
52537         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
52538         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
52539         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
52540         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
52541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
52542         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
52543         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
52544         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
52545         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
52546         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
52547         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
52548         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
52549         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
52550         Likewise.
52551         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
52552         Likewise.
52553         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
52554         Likewise.
52555         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
52556         Likewise.
52557         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
52558         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
52559         Likewise.
52560         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
52561         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
52562         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
52563         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
52564         Likewise.
52565         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
52566         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
52567         * sysdeps/powerpc/preconfigure: Likewise.
52568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
52569         Likewise.
52570         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
52571         Replace contents of file by #include of <fenv_libc.h>.
52572         * sysdeps/powerpc/soft-fp/sfp-machine.h
52573         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
52574         and <sys/prctl.h>.
52575         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
52576         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
52577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
52578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
52579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
52580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
52581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
52582         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
52583         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
52584         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
52585         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
52586         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
52587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52588         Allow copysignl PLT reference to be missing.
52590 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
52591             Joseph Myers  <joseph@codesourcery.com
52593         [BZ #15948]
52594         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
52595         single character.
52596         (add_to_tablewc): Assert sequence of wide characters is nonempty.
52598 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52600         * elf/tst-tls-dlinfo.c: Don't include tls.h.
52601         * elf/tst-tls1.c: Likewise.
52602         * elf/tst-tls10.h: Likewise.
52603         * elf/tst-tls14.c: Likewise.
52604         * elf/tst-tls2.c: Likewise.
52605         * elf/tst-tls3.c: Likewise.
52606         * elf/tst-tls4.c: Likewise.
52607         * elf/tst-tls5.c: Likewise.
52608         * elf/tst-tls6.c: Likewise.
52609         * elf/tst-tls7.c: Likewise.
52610         * elf/tst-tls8.c: Likewise.
52611         * elf/tst-tls9.c: Likewise.
52612         * elf/tst-tlsmod1.c: Likewise.
52613         * elf/tst-tlsmod13.c: Likewise.
52614         * elf/tst-tlsmod13a.c: Likewise.
52615         * elf/tst-tlsmod14a.c: Likewise.
52616         * elf/tst-tlsmod16a.c: Likewise.
52617         * elf/tst-tlsmod16b.c: Likewise.
52618         * elf/tst-tlsmod2.c: Likewise.
52619         * elf/tst-tlsmod3.c: Likewise.
52620         * elf/tst-tlsmod4.c: Likewise.
52621         * elf/tst-tlsmod5.c: Likewise.
52622         * elf/tst-tlsmod6.c: Likewise.
52624 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
52626         [BZ #12486]
52627         * malloc/malloc.c: remove checks for statistics.
52629 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
52631         [BZ #15277]
52632         * inet/inet_net.c (inet_network): Detect additional invalid strings.
52633         * inet/tst-network.c: Add testcase.
52635 2013-10-17  Andreas Schwab  <schwab@suse.de>
52637         [BZ #15218]
52638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
52639         to determine canonical name.
52641 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
52643         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
52644         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
52645         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52646         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52647         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52648         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52649         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52650         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52651         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52652         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52653         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52654         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52655         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52656         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52657         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52658         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52660         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52661         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52662         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52663         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52664         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52665         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52666         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
52667         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
52668         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52669         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52670         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
52671         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52672         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
52673         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52674         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52675         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52676         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52677         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52678         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52679         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52680         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52681         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52682         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52683         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52684         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52685         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52686         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52687         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52688         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52689         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52690         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52691         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52692         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52693         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52694         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52695         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52696         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52697         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52698         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52702 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
52704         [BZ #16041]
52705         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
52706         make result into a quiet NaN.
52708 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
52710         * soft-fp/adddf3.c: Fix horizontal whitespace.
52711         * soft-fp/addsf3.c: Likewise.
52712         * soft-fp/addtf3.c: Likewise.
52713         * soft-fp/divdf3.c: Likewise.
52714         * soft-fp/divsf3.c: Likewise.
52715         * soft-fp/divtf3.c: Likewise.
52716         * soft-fp/double.h: Likewise.
52717         * soft-fp/eqdf2.c: Likewise.
52718         * soft-fp/eqsf2.c: Likewise.
52719         * soft-fp/eqtf2.c: Likewise.
52720         * soft-fp/extenddftf2.c: Likewise.
52721         * soft-fp/extended.h: Likewise.
52722         * soft-fp/extendsfdf2.c: Likewise.
52723         * soft-fp/extendsftf2.c: Likewise.
52724         * soft-fp/extendxftf2.c: Likewise.
52725         * soft-fp/fixdfdi.c: Likewise.
52726         * soft-fp/fixdfsi.c: Likewise.
52727         * soft-fp/fixdfti.c: Likewise.
52728         * soft-fp/fixsfdi.c: Likewise.
52729         * soft-fp/fixsfsi.c: Likewise.
52730         * soft-fp/fixsfti.c: Likewise.
52731         * soft-fp/fixtfdi.c: Likewise.
52732         * soft-fp/fixtfsi.c: Likewise.
52733         * soft-fp/fixtfti.c: Likewise.
52734         * soft-fp/fixunsdfdi.c: Likewise.
52735         * soft-fp/fixunsdfsi.c: Likewise.
52736         * soft-fp/fixunsdfti.c: Likewise.
52737         * soft-fp/fixunssfdi.c: Likewise.
52738         * soft-fp/fixunssfsi.c: Likewise.
52739         * soft-fp/fixunssfti.c: Likewise.
52740         * soft-fp/fixunstfdi.c: Likewise.
52741         * soft-fp/fixunstfsi.c: Likewise.
52742         * soft-fp/fixunstfti.c: Likewise.
52743         * soft-fp/floatdidf.c: Likewise.
52744         * soft-fp/floatdisf.c: Likewise.
52745         * soft-fp/floatditf.c: Likewise.
52746         * soft-fp/floatsidf.c: Likewise.
52747         * soft-fp/floatsisf.c: Likewise.
52748         * soft-fp/floatsitf.c: Likewise.
52749         * soft-fp/floattidf.c: Likewise.
52750         * soft-fp/floattisf.c: Likewise.
52751         * soft-fp/floattitf.c: Likewise.
52752         * soft-fp/floatundidf.c: Likewise.
52753         * soft-fp/floatundisf.c: Likewise.
52754         * soft-fp/floatunditf.c: Likewise.
52755         * soft-fp/floatunsidf.c: Likewise.
52756         * soft-fp/floatunsisf.c: Likewise.
52757         * soft-fp/floatunsitf.c: Likewise.
52758         * soft-fp/floatuntidf.c: Likewise.
52759         * soft-fp/floatuntisf.c: Likewise.
52760         * soft-fp/floatuntitf.c: Likewise.
52761         * soft-fp/fmadf4.c: Likewise.
52762         * soft-fp/fmasf4.c: Likewise.
52763         * soft-fp/fmatf4.c: Likewise.
52764         * soft-fp/gedf2.c: Likewise.
52765         * soft-fp/gesf2.c: Likewise.
52766         * soft-fp/getf2.c: Likewise.
52767         * soft-fp/ledf2.c: Likewise.
52768         * soft-fp/lesf2.c: Likewise.
52769         * soft-fp/letf2.c: Likewise.
52770         * soft-fp/muldf3.c: Likewise.
52771         * soft-fp/mulsf3.c: Likewise.
52772         * soft-fp/multf3.c: Likewise.
52773         * soft-fp/negdf2.c: Likewise.
52774         * soft-fp/negsf2.c: Likewise.
52775         * soft-fp/negtf2.c: Likewise.
52776         * soft-fp/op-1.h: Likewise.
52777         * soft-fp/op-2.h: Likewise.
52778         * soft-fp/op-4.h: Likewise.
52779         * soft-fp/op-8.h: Likewise.
52780         * soft-fp/op-common.h: Likewise.
52781         * soft-fp/quad.h: Likewise.
52782         * soft-fp/single.h: Likewise.
52783         * soft-fp/soft-fp.h: Likewise.
52784         * soft-fp/sqrtdf2.c: Likewise.
52785         * soft-fp/sqrtsf2.c: Likewise.
52786         * soft-fp/sqrttf2.c: Likewise.
52787         * soft-fp/subdf3.c: Likewise.
52788         * soft-fp/subsf3.c: Likewise.
52789         * soft-fp/subtf3.c: Likewise.
52790         * soft-fp/truncdfsf2.c: Likewise.
52791         * soft-fp/trunctfdf2.c: Likewise.
52792         * soft-fp/trunctfsf2.c: Likewise.
52793         * soft-fp/trunctfxf2.c: Likewise.
52794         * soft-fp/unorddf2.c: Likewise.
52795         * soft-fp/unordsf2.c: Likewise.
52796         * soft-fp/unordtf2.c: Likewise.
52798 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
52800         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
52801         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
52803 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
52805         * elf/dl-libc.c: Clear initfini list after freeing.
52807 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
52809         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
52810         * soft-fp/addsf3.c: Likewise.
52811         * soft-fp/addtf3.c: Likewise.
52812         * soft-fp/divdf3.c: Likewise.
52813         * soft-fp/divsf3.c: Likewise.
52814         * soft-fp/divtf3.c: Likewise.
52815         * soft-fp/double.h: Likewise.
52816         * soft-fp/eqdf2.c: Likewise.
52817         * soft-fp/eqsf2.c: Likewise.
52818         * soft-fp/eqtf2.c: Likewise.
52819         * soft-fp/extenddftf2.c: Likewise.
52820         * soft-fp/extended.h: Likewise.
52821         * soft-fp/extendsfdf2.c: Likewise.
52822         * soft-fp/extendsftf2.c: Likewise.
52823         * soft-fp/extendxftf2.c: Likewise.
52824         * soft-fp/fixdfdi.c: Likewise.
52825         * soft-fp/fixdfsi.c: Likewise.
52826         * soft-fp/fixdfti.c: Likewise.
52827         * soft-fp/fixsfdi.c: Likewise.
52828         * soft-fp/fixsfsi.c: Likewise.
52829         * soft-fp/fixsfti.c: Likewise.
52830         * soft-fp/fixtfdi.c: Likewise.
52831         * soft-fp/fixtfsi.c: Likewise.
52832         * soft-fp/fixtfti.c: Likewise.
52833         * soft-fp/fixunsdfdi.c: Likewise.
52834         * soft-fp/fixunsdfsi.c: Likewise.
52835         * soft-fp/fixunsdfti.c: Likewise.
52836         * soft-fp/fixunssfdi.c: Likewise.
52837         * soft-fp/fixunssfsi.c: Likewise.
52838         * soft-fp/fixunssfti.c: Likewise.
52839         * soft-fp/fixunstfdi.c: Likewise.
52840         * soft-fp/fixunstfsi.c: Likewise.
52841         * soft-fp/fixunstfti.c: Likewise.
52842         * soft-fp/floatdidf.c: Likewise.
52843         * soft-fp/floatdisf.c: Likewise.
52844         * soft-fp/floatditf.c: Likewise.
52845         * soft-fp/floatsidf.c: Likewise.
52846         * soft-fp/floatsisf.c: Likewise.
52847         * soft-fp/floatsitf.c: Likewise.
52848         * soft-fp/floattidf.c: Likewise.
52849         * soft-fp/floattisf.c: Likewise.
52850         * soft-fp/floattitf.c: Likewise.
52851         * soft-fp/floatundidf.c: Likewise.
52852         * soft-fp/floatundisf.c: Likewise.
52853         * soft-fp/floatunsidf.c: Likewise.
52854         * soft-fp/floatunsisf.c: Likewise.
52855         * soft-fp/floatuntidf.c: Likewise.
52856         * soft-fp/floatuntisf.c: Likewise.
52857         * soft-fp/floatuntitf.c: Likewise.
52858         * soft-fp/fmadf4.c: Likewise.
52859         * soft-fp/fmasf4.c: Likewise.
52860         * soft-fp/fmatf4.c: Likewise.
52861         * soft-fp/gedf2.c: Likewise.
52862         * soft-fp/gesf2.c: Likewise.
52863         * soft-fp/getf2.c: Likewise.
52864         * soft-fp/ledf2.c: Likewise.
52865         * soft-fp/lesf2.c: Likewise.
52866         * soft-fp/letf2.c: Likewise.
52867         * soft-fp/muldf3.c: Likewise.
52868         * soft-fp/mulsf3.c: Likewise.
52869         * soft-fp/multf3.c: Likewise.
52870         * soft-fp/negdf2.c: Likewise.
52871         * soft-fp/negsf2.c: Likewise.
52872         * soft-fp/negtf2.c: Likewise.
52873         * soft-fp/op-1.h: Likewise.
52874         * soft-fp/op-2.h: Likewise.
52875         * soft-fp/op-4.h: Likewise.
52876         * soft-fp/op-8.h: Likewise.
52877         * soft-fp/op-common.h: Likewise.
52878         * soft-fp/quad.h: Likewise.
52879         * soft-fp/single.h: Likewise.
52880         * soft-fp/soft-fp.h: Likewise.
52881         * soft-fp/sqrtdf2.c: Likewise.
52882         * soft-fp/sqrtsf2.c: Likewise.
52883         * soft-fp/sqrttf2.c: Likewise.
52884         * soft-fp/subdf3.c: Likewise.
52885         * soft-fp/subsf3.c: Likewise.
52886         * soft-fp/subtf3.c: Likewise.
52887         * soft-fp/truncdfsf2.c: Likewise.
52888         * soft-fp/trunctfdf2.c: Likewise.
52889         * soft-fp/trunctfsf2.c: Likewise.
52890         * soft-fp/trunctfxf2.c: Likewise.
52891         * soft-fp/unorddf2.c: Likewise.
52892         * soft-fp/unordsf2.c: Likewise.
52893         * soft-fp/unordtf2.c: Likewise.
52895 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
52897         [BZ #15672]
52898         * misc/error.c (error_tail): Fix possible buffer overflow.
52900 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
52902         [BZ #13028]
52903         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
52904         address.
52906 2013-10-14  P. J. McDermott  <pj@pehjota.net>
52908         [BZ #832]
52909         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
52910         testing pipefail option.
52912 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
52914         * soft-fp/double.h: Indent preprocessor directives inside #if.
52915         * soft-fp/extended.h: Likewise.
52916         * soft-fp/op-2.h: Likewise.
52917         * soft-fp/op-4.h: Likewise.
52918         * soft-fp/op-common.h: Likewise.
52919         * soft-fp/quad.h: Likewise.
52920         * soft-fp/single.h: Likewise.
52921         * soft-fp/soft-fp.h: Likewise.
52923 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
52925         * iconv/iconv_prog.c: Fix typos.
52926         * stdio-common/psiginfo-data.h: Likewise.
52928 2013-10-12   Reuben Thomas <rrt@sc3d.org>
52930         [BZ #15764]
52931         * locale/setlocale.c: Fix typo.
52933 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
52935         [BZ #16036]
52936         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
52937         signaling NaN arguments.
52938         * soft-fp/unordsf2.c (__unordsf2): Likewise.
52939         * soft-fp/unordtf2.c (__unordtf2): Likewise.
52941         [BZ #14910]
52942         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
52943         unordered operands.
52944         * soft-fp/gesf2.c (__gesf2): Likewise.
52945         * soft-fp/getf2.c (__getf2): Likewise.
52946         * soft-fp/ledf2.c (__ledf2): Likewise.
52947         * soft-fp/lesf2.c (__lesf2): Likewise.
52948         * soft-fp/letf2.c (__letf2): Likewise.
52950         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
52951         * soft-fp/eqsf2.c (__eqsf2): Likewise.
52952         * soft-fp/eqtf2.c (__eqtf2): Likewise.
52953         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
52954         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
52955         * soft-fp/fixdfti.c (__fixdfti): Likewise.
52956         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
52957         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
52958         * soft-fp/fixsfti.c (__fixsfti): Likewise.
52959         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
52960         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
52961         * soft-fp/fixtfti.c (__fixtfti): Likewise.
52962         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
52963         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
52964         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
52965         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
52966         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
52967         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
52968         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
52969         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
52970         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
52971         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
52972         * soft-fp/floatdisf.c (__floatdisf): Likewise.
52973         * soft-fp/floatsisf.c (__floatsisf): Likewise.
52974         * soft-fp/floattidf.c (__floattidf): Likewise.
52975         * soft-fp/floattisf.c (__floattisf): Likewise.
52976         * soft-fp/floattitf.c (__floattitf): Likewise.
52977         * soft-fp/floatundidf.c (__floatundidf): Likewise.
52978         * soft-fp/floatundisf.c (__floatundisf): Likewise.
52979         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
52980         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
52981         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
52982         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
52983         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
52984         * soft-fp/gesf2.c (__gesf2): Likewise.
52985         * soft-fp/getf2.c (__getf2): Likewise.
52986         * soft-fp/ledf2.c (__ledf2): Likewise.
52987         * soft-fp/lesf2.c (__lesf2): Likewise.
52988         * soft-fp/letf2.c (__letf2): Likewise.
52990         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
52991         Undefine and redefine.
52992         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
52993         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
52994         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
52995         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
52996         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52997         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
52998         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52999         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53000         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53001         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53002         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53003         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53004         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53005         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53006         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53008         [BZ #16032]
53009         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53010         without decrementing exponent if mantissa >= that for the
53011         denominator, not >.
53012         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53013         denominator, not >.  Decrement exponent in < case instead of
53014         incrementing in >= case.
53015         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53016         without decrementing exponent if mantissa >= that for the
53017         denominator, not >.
53019         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53020         computing saturated result for unsigned overflow.
53022 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53023             Jeff Law  <law@redhat.com>
53025         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53026         (atan2Mp): Add systemtap probe marker.
53027         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53028         (__ieee754_log): Add systemtap probe marker.
53029         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53030         (atanMp): Add systemtap probe marker.
53031         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53032         (tanMp): Add systemtap probe marker.
53033         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53034         (__slowexp): Add systemtap probe marker.
53035         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53036         (__slowpow): Add systemtap probe marker.
53037         * manual/probes.texi: Document probes.
53039 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53041         [BZ #15362]
53042         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53043         written.
53044         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53045         written.
53046         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53047         written to buffer but not flushed.
53048         * libio/iofwrite_u.c:  Likewise.
53049         * libio/iopadn.c:  Return bytes returned even if EOF was
53050         encountered.
53051         * libio/iowpadn.c:  Likewise.
53052         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53053         if _IO_padn does not write the whole buffer.
53054         [!COMPILE_WPRINTF] (PAD): Likewise.
53056 2013-10-10  David S. Miller  <davem@davemloft.net>
53058         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53059         directory block.
53061 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53063         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53064         instead of FSF address.
53065         * soft-fp/fixdfti.c: Likewise.
53066         * soft-fp/fixsfti.c: Likewise.
53067         * soft-fp/fixtfti.c: Likewise.
53068         * soft-fp/fixunsdfti.c: Likewise.
53069         * soft-fp/fixunssfti.c: Likewise.
53070         * soft-fp/fixunstfti.c: Likewise.
53071         * soft-fp/floattidf.c: Likewise.
53072         * soft-fp/floattisf.c: Likewise.
53073         * soft-fp/floattitf.c: Likewise.
53074         * soft-fp/floatuntidf.c: Likewise.
53075         * soft-fp/floatuntisf.c: Likewise.
53076         * soft-fp/floatuntitf.c: Likewise.
53077         * soft-fp/trunctfxf2.c: Likewise.
53079         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53080         * soft-fp/fixdfti.c: Likewise.
53081         * soft-fp/fixsfti.c: Likewise.
53082         * soft-fp/fixtfti.c: Likewise.
53083         * soft-fp/fixunsdfti.c: Likewise.
53084         * soft-fp/fixunssfti.c: Likewise.
53085         * soft-fp/fixunstfti.c: Likewise.
53086         * soft-fp/floattidf.c: Likewise.
53087         * soft-fp/floattisf.c: Likewise.
53088         * soft-fp/floattitf.c: Likewise.
53089         * soft-fp/floatuntidf.c: Likewise.
53090         * soft-fp/floatuntisf.c: Likewise.
53091         * soft-fp/floatuntitf.c: Likewise.
53092         * soft-fp/trunctfxf2.c: Likewise.
53094 2013-10-10  David S. Miller  <davem@davemloft.net>
53096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53098 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53100         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53101         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53102         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53103         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53104         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53105         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53106         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53108         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53109         for NaNs before doing comparisons on argument.
53110         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53111         Likewise.
53113 2013-10-10  Will Newton  <will.newton@linaro.org>
53115         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53116         passed to _int_memalign does not overflow.
53118 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53120         * scripts/bench.pl: Add include-sources directive.
53121         * benchtests/README: Update documentation.
53123 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53125         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53126         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53127         instead of FP_INIT_ROUNDMODE.
53128         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53129         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53131         [BZ #16034]
53132         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53133         copy class of input value.
53134         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53135         not handle exceptions.
53136         * soft-fp/negsf2.c (__negsf2): Likewise.
53137         * soft-fp/negtf2.c (__negtf2): Likewise.
53138         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53140 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53142         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53143         semicolon.  From Linux kernel.
53145 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53147         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53149 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53151         [BZ #156]
53152         * manual/socket.texi: Added statement about buffer
53153         for gethostbyname2_r.
53155 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53157         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53158         Use .p2align directive instead, throughout.
53159         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53160         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53161         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53164         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53165         * sysdeps/x86_64/strchr.S: Likewise.
53166         * sysdeps/x86_64/strrchr.S: Likewise.
53168 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53170         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53172         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53174         * sysdeps/generic/math_private.h (__mpsin1): Remove
53175         declaration.
53176         (__mpcos1): Likewise.
53177         (__mpsin): New argument __range_reduce.
53178         (__mpcos): Likewise.
53179         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53180         (slow): Use __mpsin and __mpcos.
53181         (slow1): Likewise.
53182         (slow2): Likewise.
53183         (sloww): Likewise.
53184         (sloww1): Likewise.
53185         (sloww2): Likewise.
53186         (bsloww): Likewise.
53187         (bsloww1): Likewise.
53188         (bsloww2): Likewise.
53189         (cslow2): Likewise.
53190         (csloww): Likewise.
53191         (csloww1): Likewise.
53192         (csloww2): Likewise.
53193         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53194         range_reduce.  Merge in __mpsin1.
53195         (__mpcos): Likewise.
53196         (__mpsin1): Remove.
53197         (__mpcos1): Likewise.
53199 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53201         * locale/loadlocale.c (_nl_intern_locale_data): Use
53202         LOCFILE_ALIGNED_P.
53203         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53204         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53205         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53206         obstack data is appropriately aligned.
53207         (obstack_int32_grow_fast): Likewise.
53208         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53209         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53210         (add_locale_uint32_array): Likewise.
53212 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53214         * benchtests/Makefile: Remove ARGLIST and RET variables.
53215         ($(objpfx)bench-%.c): Pass only function name to the script.
53216         * benchtests/README: Update documentation.
53217         * benchtests/acos-inputs: Add new directives.
53218         * benchtests/acosh-inputs: Likewise.
53219         * benchtests/asin-inputs: Likewise.
53220         * benchtests/asinh-inputs: Likewise.
53221         * benchtests/atan-inputs: Likewise.
53222         * benchtests/atanh-inputs: Likewise.
53223         * benchtests/cos-inputs: Likewise.
53224         * benchtests/cosh-inputs: Likewise.
53225         * benchtests/exp-inputs: Likewise.
53226         * benchtests/log-inputs: Likewise.
53227         * benchtests/pow-inputs: Likewise.
53228         * benchtests/rint-inputs: Likewise.
53229         * benchtests/sin-inputs: Likewise.
53230         * benchtests/sinh-inputs: Likewise.
53231         * benchtests/tan-inputs: Likewise.
53232         * benchtests/tanh-inputs: Likewise.
53233         * scripts/bench.pl: Add support for new directives.
53235 2013-10-07  Alan Modra  <amodra@gmail.com>
53237         * README: Fix careless merge.
53239 2013-10-05  Alan Modra  <amodra@gmail.com>
53241         * NEWS: Mention powerpc64le support and bugs fixed.
53242         * README: Both big-endian and little-endian powerpc64 supported.
53244 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53246         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53247         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53248         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53249         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53251 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53253         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53254         match prototype.
53256 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53258         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53259         Move -mhard-float appending from
53260         ports/sysdeps/powerpc/powerpc32/Makefile.
53261         [$(with-fp) = yes] (ASFLAGS): Likewise.
53262         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53263         * sysdeps/powerpc/nofpu: Move directory from
53264         ports/sysdeps/powerpc/nofpu.
53265         * sysdeps/powerpc/soft-fp: Move directory from
53266         ports/sysdeps/powerpc/soft-fp.
53267         * sysdeps/powerpc/powerpc32/405: Move directory from
53268         ports/sysdeps/powerpc/powerpc32/405.
53269         * sysdeps/powerpc/powerpc32/440: Move directory from
53270         ports/sysdeps/powerpc/powerpc32/440.
53271         * sysdeps/powerpc/powerpc32/464: Move directory from
53272         ports/sysdeps/powerpc/powerpc32/464.
53273         * sysdeps/powerpc/powerpc32/476: Move directory from
53274         ports/sysdeps/powerpc/powerpc32/476.
53275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53276         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53278         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53280         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53282         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53284         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53285         * README: Update for powerpc-*-linux-gnu software floating point
53286         support in libc.
53288         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53289         case to powerpc/powerpc32*.
53290         * sysdeps/unix/sysv/linux/configure: Regenerated.
53292         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53293         (_FPU_MASK_OM): Define as 0x04.
53294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53296         0x00c10080.
53297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53298         0x0000003c.
53299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53302         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53303         getcontext_e500.
53304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53305         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53306         setcontext_e500.
53307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53308         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53309         and setcontext_e500.
53311 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53313         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53315 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53317         * manual/threads.texi (Default Thread Attributes): Fix typo.
53319 2013-10-04  Will Newton  <will.newton@linaro.org>
53321         * malloc/Makefile: Add tst-memalign.
53322         * malloc/tst-memalign.c: New file.
53324         * malloc/tst-posix_memalign.c: Add comments.
53325         (do_test): Add comments and call free on all potentially
53326         allocated pointers. Add space after cast.
53328         * malloc/tst-pvalloc.c: Add comments.
53329         (do_test): Add comments and call free on all potentially
53330         allocated pointers. Remove duplicate check for NULL pointer.
53331         Add space after cast.
53333         * malloc/tst-valloc.c: Add comments.
53334         (do_test): Add comments and call free on all potentially
53335         allocated pointers. Remove duplicate check for NULL pointer.
53336         Add space after cast.
53338 2013-10-04  Alan Modra  <amodra@gmail.com>
53340         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53341         Use stdint types in rather than __attribute__((mode())).
53342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53344 2013-10-04  Alan Modra  <amodra@gmail.com>
53346         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53347         Correct handling of unaligned relocs for little-endian.
53348         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53350 2013-10-04  Alan Modra  <amodra@gmail.com>
53352         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53353         * configure: Regenerate.
53354         * nptl/shlib-versions: Powerpc*le starts at 2.18.
53355         * shlib-versions: Likewise.
53357 2013-10-04  Alan Modra  <amodra@gmail.com>
53359         * string/tester.c (test_memrchr): Increment reported test cycle.
53361 2013-10-04  Alan Modra  <amodra@gmail.com>
53363         * string/test-memcpy.c (do_one_test): When reporting errors, print
53364         string address and don't overrun end of string.
53366 2013-10-04  Alan Modra  <amodra@gmail.com>
53368         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
53369         insrdi.  Make better use of reg selection to speed exit slightly.
53370         Schedule entry path a little better.  Remove useless "are we done"
53371         checks on entry to main loop.  Handle wrapping around zero address.
53372         Correct main loop count.  Handle single left-over word from main
53373         loop inline rather than by using loop_small.  Remove extra word
53374         case in loop_small caused by wrong loop count.  Add little-endian
53375         support.
53376         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53377         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
53378         cache hint.
53379         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53380         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
53381         support.  Avoid rlwimi.
53382         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
53384 2013-10-04  Alan Modra  <amodra@gmail.com>
53386         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
53387         insrdi.  Formatting.
53388         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
53389         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53390         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
53391         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53392         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53393         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
53395 2013-10-04  Alan Modra  <amodra@gmail.com>
53397         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
53398         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53399         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
53400         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
53401         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53402         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53403         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53404         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53405         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
53406         use of regs.  Use power7 mtocrf.  Tidy function tails.
53408 2013-10-04  Alan Modra  <amodra@gmail.com>
53410         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
53411         Formatting.  Consistently use rXXX register defines or rN defines.
53412         Use early exit labels that avoid restoring unused non-volatile regs.
53413         Make cr field use more consistent with rWORDn compares.  Rename
53414         regs used as shift registers for unaligned loop, using rN defines
53415         for short lifetime/multiple use regs.
53416         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53417         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
53418         addi 1,1,64 to pop stack frame.  Simplify return value code.
53419         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53421 2013-10-04  Alan Modra  <amodra@gmail.com>
53423         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
53424         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
53425         rather than rlwimi.
53426         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
53427         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
53428         little-endian support.  Correct typos.
53429         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
53430         rather than rlwimi.
53431         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
53432         in loop and entry code to keep "and." results.
53433         (strchr): Add little-endian support.  Comment.  Move cntlzd
53434         earlier in tail.
53435         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
53437 2013-10-04  Alan Modra  <amodra@gmail.com>
53439         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
53440         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
53441         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
53442         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
53444 2013-10-04  Alan Modra  <amodra@gmail.com>
53446         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53447         (rTMP): Define as r11.
53448         (strcmp): Add little-endian support.  Optimise tail.
53449         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
53450         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53451         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53452         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53453         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53454         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53455         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53457 2013-10-04  Alan Modra  <amodra@gmail.com>
53459         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
53460         little-endian support.  Remove unnecessary "are we done" tests.
53461         Handle "s" wrapping around zero and extremely large "size".
53462         Correct main loop count.  Handle single left-over word from main
53463         loop inline rather than by using small_loop.  Correct comments.
53464         Delete "zero" tail, use "end_max" instead.
53465         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
53467 2013-10-04  Alan Modra  <amodra@gmail.com>
53469         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
53470         support.  Don't branch over align.
53471         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
53472         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
53473         support.  Rearrange tmp reg use to suit.  Comment.
53474         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
53476 2013-10-04  Alan Modra  <amodra@gmail.com>
53478         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
53480 2013-10-04  Alan Modra  <amodra@gmail.com>
53482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
53483         conditional form of branch and link when obtaining pc.
53484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
53486 2013-10-04  Alan Modra  <amodra@gmail.com>
53488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
53489         HIWORD/LOWORD.
53490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
53491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
53493 2013-10-04  Alan Modra  <amodra@gmail.com>
53495         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
53496         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
53497         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
53498         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
53499         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53500         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53501         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
53502         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53503         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
53504         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
53506 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53507             Alistair Popple <alistair@ozlabs.au.ibm.com>
53508             Alan Modra <amodra@gmail.com>
53510         [BZ #15723]
53511         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
53512         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
53513         _dl_hwcap access for little-endian.
53514         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
53515         destroy vmx regs when saving unaligned.
53516         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
53517         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
53518         destroy vmx regs when saving unaligned.
53520 2013-10-04  Alan Modra  <amodra@gmail.com>
53522         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
53523         Don't use a union to pack hi/low value.
53525 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53527         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
53528         for little-endian.
53529         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
53531         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53532         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53533         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53535 2013-10-04  Alan Modra  <amodra@gmail.com>
53537         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
53538         constants to usual value for .cst8 section, and remove redundant
53539         high address load.
53540         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
53541         constant for 0x1p52.  Load little-endian words of double from
53542         correct stack offsets.
53544 2013-10-04  Alan Modra  <amodra@gmail.com>
53546         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
53547         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
53548         words of double from correct stack offsets.
53549         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
53550         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
53551         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53552         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53553         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53554         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53555         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53556         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
53557         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
53558         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53559         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53560         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53561         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53562         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53563         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53564         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
53565         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
53567 2013-10-04  Alan Modra  <amodra@gmail.com>
53569         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
53570         64-bit int/double union.
53571         (_FPU_SETCW): Likewise.
53572         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
53573         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
53575 2013-10-04  Alan Modra  <amodra@gmail.com>
53577         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
53578         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
53580 2013-10-04  Alan Modra  <amodra@gmail.com>
53582         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
53583         use vector int constants.
53584         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
53586 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53588         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
53589         array with long long.
53590         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
53591         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
53592         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
53593         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
53594         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
53595         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
53596         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
53597         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
53598         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
53599         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
53600         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
53601         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
53602         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
53604 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53606         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
53607         (__signbit): Likewise.  Correct for little-endian.
53608         (__signbitl): Call __signbit.
53609         (lrint): Correct for little-endian.
53610         (lrintf): Call lrint.
53612 2013-10-04  Alan Modra  <amodra@gmail.com>
53614         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
53615         union 32-bit int array member with 64-bit int array.
53616         (t515, tm256): Double rather than long double.
53617         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
53619 2013-10-04  Alan Modra  <amodra@gmail.com>
53621         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
53622         Delete.
53623         (IEEE854_LONG_DOUBLE_BIAS): Delete.
53624         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
53625         version of math_ldbl.h.
53627 2013-10-04  Alan Modra  <amodra@gmail.com>
53629         [BZ #15734], [BZ #15735]
53630         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
53631         all uses of ieee875 long double macros and unions.  Simplify test
53632         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
53633         ldbl_extract_mantissa value for ix,iy exponents.  Properly
53634         normalize after ldbl_extract_mantissa, and don't add hidden bit
53635         already handled.  Don't treat low word of ieee854 mantissa like
53636         low word of IBM long double and mask off bit when testing for
53637         zero.
53638         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
53639         all uses of ieee875 long double macros and unions.  Simplify tests
53640         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
53641         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
53642         two1022, instead use their values.  Recognise that tests for large
53643         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
53644         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
53645         Rewrite all uses of ieee875 long double macros and unions.  Simplify
53646         test for 0.0L and nan.  Correct negation.
53647         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
53648         ieee875 long double macros and unions.  Correct output for large
53649         magnitude x.  Correct absolute value calculation.
53650         (__erfcl): Likewise.
53651         * math/libm-test.inc: Add tests for errors discovered in IBM long
53652         double versions of fmodl, remainderl, erfl and erfcl.
53654 2013-10-04  Alan Modra  <amodra@gmail.com>
53656         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
53657         all uses of ieee854 long double macros and unions.  Simplify tests
53658         for long doubles that are fully specified by the high double.
53659         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
53660         Likewise.
53661         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
53662         Remove dead code too.
53663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
53664         (__ieee754_ynl): Likewise.
53665         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
53666         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
53667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
53668         Remove dead code too.
53669         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
53670         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
53671         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
53672         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
53673         Simplify.
53674         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
53675         Simplify.
53676         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
53677         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
53678         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
53679         Comment on variable precision.
53680         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
53681         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53682         Likewise.
53683         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
53684         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53685         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53686         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
53687         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
53689 2013-10-04  Alan Modra  <amodra@gmail.com>
53691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
53692         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
53693         all uses of ieee854 long double macros and unions.
53694         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
53695         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53696         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
53697         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
53698         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
53699         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53700         Likewise.
53701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
53702         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53703         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
53704         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53705         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
53706         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
53707         Simplify sign and nan test too.
53708         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
53709         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
53710         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
53711         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
53712         Likewise.
53713         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53714         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
53715         Likewise.
53716         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53717         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
53718         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
53719         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
53720         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
53721         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
53723 2013-10-04  Alan Modra  <amodra@gmail.com>
53725         * stdio-common/printf_size.c (__printf_size): Don't use
53726         union ieee854_long_double in fpnum union.
53727         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
53728         signbit macro to retrieve sign from long double.
53729         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
53730         retrieve sign from long double.
53731         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
53732         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
53733         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
53734         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53735         * math/test-misc.c (main): Don't use union ieee854_long_double.
53737 2013-10-04  Alan Modra  <amodra@gmail.com>
53739         [BZ #15680]
53740         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
53741         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
53742         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
53743         calculation.  Remove unnecessary test for denormal exponent.
53744         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
53745         Correct handling of denormals.  Avoid undefined shift behaviour.
53746         Correct normalisation of low mantissa when low double is denormal.
53747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
53748         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
53749         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
53750         Correct normalisation of low mantissa.  Test for overflow of high
53751         mantissa and normalise.
53752         (ldbl_nearbyint): Use more readable constant for two52.
53753         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
53754         (__mpn_construct_long_double): Fix test for overflow of high
53755         mantissa and correct normalisation.  Avoid undefined shift.
53757 2013-10-04  Alan Modra  <amodra@gmail.com>
53759         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53760         (union ibm_extended_long_double): Define as an array of ieee754_double.
53761         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
53762         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
53763         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
53764         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53765         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53766         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
53767         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53768         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53770         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
53771         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53773 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
53775         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
53776         page size instead of calling getpagesize.
53778         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
53779         (LOCFILE_ALIGN_MASK): Likewise.
53780         (LOCFILE_ALIGN_UP): Likewise.
53781         (LOCFILE_ALIGNED_P): Likewise.
53782         * locale/programs/ld-collate.c (collate_output): Use the new
53783         macros instead of __alignof__ (int32_t).
53784         * locale/weight.h (findidx): Likewise.
53786 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
53788         [BZ #431]
53789         * manual/string.texi: Fix strncat and wcsncat.
53791 2013-10-03  Brooks Moses  <bmoses@google.com>
53793         [BZ #15915]
53794         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
53795         * Makerules: ...here, and adjust associated comments.
53797 2013-10-02  Will Newton  <will.newton@linaro.org>
53799         * malloc/Makefile: Add tst-pvalloc.
53800         * malloc/tst-pvalloc.c: New file.
53802 2013-10-02  Will Newton  <will.newton@linaro.org>
53804         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
53805         improve test coverage.
53807 2013-10-02  Will Newton  <will.newton@linaro.org>
53809         * malloc/Makefile: Add tst-posix_memalign.
53810         * malloc/tst-posix_memalign.c: New file.
53812 2013-10-01  Eric Blake  <eblake@redhat.com>
53814         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
53815         Use __THROWNL rather than __THROW on static functions.
53817 2013-09-30  Petr Machata  <pmachata@redhat.com>
53819         * elf/elf.h (R_AARCH64_ABS16): New macro.
53820         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
53821         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
53822         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
53823         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
53824         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
53825         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
53826         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
53827         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
53828         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
53829         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
53830         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
53831         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
53832         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
53833         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
53834         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
53835         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
53836         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
53837         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
53838         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
53839         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
53840         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
53841         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
53842         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
53843         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
53844         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
53845         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
53846         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
53847         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
53848         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
53849         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
53850         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
53851         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
53852         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
53853         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
53854         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
53855         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
53856         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
53857         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
53858         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
53859         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
53860         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
53861         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
53862         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
53863         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
53864         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
53865         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
53866         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
53867         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
53868         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
53869         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
53870         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
53871         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
53872         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
53873         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
53874         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
53875         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
53876         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
53877         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
53878         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
53879         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
53880         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
53881         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
53882         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
53883         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
53884         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
53885         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
53886         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
53887         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
53888         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
53889         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
53890         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
53891         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
53892         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
53893         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
53894         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
53895         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
53896         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
53897         (R_AARCH64_TLSDESC_LDR): Likewise.
53898         (R_AARCH64_TLSDESC_ADD): Likewise.
53899         (R_AARCH64_TLSDESC_CALL): Likewise.
53901 2013-09-30  Andreas Schwab  <schwab@suse.de>
53903         [BZ #15048]
53904         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
53905         the nss database lookup.
53906         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53909 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
53911         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
53913 2013-09-28  P. J. McDermott  <pj@pehjota.net>
53915         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
53916         ${Bash-specific parameter/pattern/string} parameter expansion.
53917         * sysdeps/unix/make-syscalls.sh: Likewise.
53919 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53921         * sysdeps/sh/stackguard-macros.h: New file.
53923 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
53925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53926         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
53927         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
53928         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
53929         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53930         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
53932 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53934         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
53935         Fix thread ID register.
53937 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
53939         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
53940         [POSIX || UNIX98]: Require rather than permitting all symbols from
53941         <time.h>.
53942         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
53943         element of struct sched_param.
53944         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
53945         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
53946         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
53947         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
53948         constant.
53950 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
53952         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
53953         argument calculation.
53955 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
53957         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
53958         Expect macro.
53959         [POSIX] (pthread_attr_t): Do not require type.
53960         [POSIX] (pthread_cond_t): Likewise.
53961         [POSIX] (pthread_condattr_t): Likewise.
53962         [POSIX] (pthread_key_t): Likewise.
53963         [POSIX] (pthread_mutex_t): Likewise.
53964         [POSIX] (pthread_mutexattr_t): Likewise.
53965         [POSIX] (pthread_once_t): Likewise.
53966         [POSIX] (pthread_t): Likewise.
53967         [POSIX-based standards] (pthread_atfork): Expect function.
53969 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
53970             Richard Sandiford  <richard@codesourcery.com>
53972         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
53973         (swap_endianness_p): New extern variable.
53974         (set_big_endian): New inline function.
53975         (maybe_swap_uint32): Likewise.
53976         (maybe_swap_uint32_array): Likewise.
53977         (maybe_swap_uint32_obstack): Likewise.
53978         * locale/programs/locfile.c: Include <stdbool.h>.
53979         (swap_endianness_p): New variable.
53980         (add_locale_uint32): Call maybe_swap_uint32.
53981         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
53982         (write_locale_data): Call maybe_swap_uint32_array.
53983         * locale/programs/ld-collate.c (obstack_int32_grow): Call
53984         maybe_swap_uint32.
53985         (obstack_int32_grow_fast): Likewise.
53986         (output_weightwc): Call maybe_swap_uint32_obstack.
53987         (collate_output): Likewise.
53988         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
53989         (OPT_LITTLE_ENDIAN): Likewise.
53990         (options): Add --little-endian and --big-endian options.
53991         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
53992         * locale/programs/locarchive.c: Include "locfile.h".
53993         (GET): New macro.
53994         (SET): Likewise.
53995         (INC): Likewise.
53996         (create_archive): Use the new macros to access fields of
53997         structures directly mapped from or written to locale archives.
53998         (oldlocrecentcmp): Likewise.
53999         (enlarge_archive): Likewise.
54000         (insert_name): Likewise.
54001         (add_alias): Likewise.
54002         (add_locale): Likewise.
54003         (delete_locales_from_archive): Likewise.
54004         (show_archive_content): Likewise.
54005         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54006         locale data.
54008 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54010         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54011         http://www.gnu.org/doc/freemanuals.texi.
54012         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54014 2013-09-24  Will Newton  <will.newton@linaro.org>
54016         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54017         macro.
54019 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54021         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54022         unsigned char.
54024 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54026         * manual/threads.texi (POSIX Threads): Fix a typo.
54028 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54030         [BZ #14547]
54031         * string/tst-strcoll-overflow.c: New test case.
54032         * string/Makefile (xtests): Add tst-strcoll-overflow.
54033         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54034         cache if string sizes may cause integer overflow.
54036         [BZ #14547]
54037         * string/strcoll_l.c (coll_seq): New members rule, idx,
54038         save_idx and back_us.
54039         (get_next_seq_nocache): New function.
54040         (do_compare_nocache): New function.
54041         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54042         when malloc fails.
54044 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54046         [BZ #15754]
54047         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54048         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54049         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54051         [BZ #15754]
54052         * elf/Makefile (tests): Add tst-ptrguard1.
54053         (tests-static): Add tst-ptrguard1-static.
54054         (tst-ptrguard1-ARGS): Define.
54055         (tst-ptrguard1-static-ARGS): Define.
54056         * elf/tst-ptrguard1.c: New file.
54057         * elf/tst-ptrguard1-static.c: New file.
54058         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54059         * sysdeps/i386/stackguard-macros.h: Likewise.
54060         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54061         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54062         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54063         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54064         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54065         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54067 2013-09-23  Hector Marco  <hecmargi@upv.es>
54068             Ismael Ripoll  <iripoll@disca.upv.es>
54069             Carlos O'Donell  <carlos@redhat.com>
54071         [BZ #15754]
54072         * sysdeps/generic/stackguard-macros.h: Define
54073         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54074         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54075         Define __pointer_chk_guard_local.
54076         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54077         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54079 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54081         [BZ #15859]
54082         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54084 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54086         * include/string.h (__ffs): Declare as hidden.
54087         * string/ffs.c (__ffs): Define as hidden.
54088         * sysdeps/i386/ffs.c (__ffs): Likewise.
54089         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54090         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54091         * sysdeps/s390/ffs.c (__ffs): Likewise.
54092         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54094 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54096         * NEWS: Mention malloc probes.
54098         * malloc/arena.c (new_heap): New memory_heap_new probe.
54099         (grow_heap): New memory_heap_more probe.
54100         (shrink_heap): New memory_heap_less probe.
54101         (heap_trim): New memory_heap_free probe.
54102         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54103         (systrim): New memory_sbrk_less probe.
54104         * manual/probes.texi: Document them.
54106         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54107         * manual/probes.texi: Document it.
54109         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54110         (__libc_realloc): Add memory_realloc_retry probe.
54111         (__libc_memalign): Add memory_memalign_retry probe.
54112         (__libc_valloc): Add memory_valloc_retry probe.
54113         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54114         (__libc_calloc): Add memory_calloc_retry probe.
54115         * manual/probes.texi: Document them.
54117         * malloc/arena.c (get_free_list): Add probe
54118         memory_arena_reuse_free_list.
54119         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54120         and memory_arena_reuse.
54121         (arena_get2) [!PER_THREAD]: Likewise.
54122         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54123         memory_arena_reuse_realloc.
54124         * manual/probes.texi: Document them.
54126         * malloc/malloc.c (__libc_free): Add
54127         memory_mallopt_free_dyn_thresholds probe.
54128         (__libc_mallopt): Add multiple memory_mallopt probes.
54129         * manual/probes.texi: Document them.
54131         * malloc/malloc.c: Include stap-probe.h.
54132         (__libc_mallopt): Add memory_mallopt probe.
54133         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54134         * manual/probes.texi: New.
54135         * manual/Makefile (chapters): Add probes.
54136         * manual/threads.texi: Set next node.
54138 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54140         [BZ #15963, #13985]
54141         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54142         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54143         Add `Chinese' to `nan' entry name.
54145 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54147         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54148         (POLYNOMIAL): Likewise.
54149         (TAYLOR_SINCOS): Likewise.
54150         (TAYLOR_SLOW): Likewise.
54151         (__sin): Use TAYLOR_SINCOS.
54152         (__cos): Likewise.
54153         (slow): Use TAYLOR_SLOW.
54154         (sloww): Likewise.
54155         (bsloww): Likewise.
54156         (csloww): Likewise.
54158 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54160         * stdlib/strtod_l.c: Fix buffer overrun.
54162 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54164         * benchtests/Makefile (bench): Add sincos.
54165         * benchtests/bench-sincos.c: New file.
54167         * math/libm-test.inc (cos_test_data): New test inputs.
54168         (sin_test_data): Likewise.
54170         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54171         macro.
54172         (__sin): Use it.
54173         (__cos): Likewise.
54174         (slow1): Likewise.
54175         (slow2): Likewise.
54176         (sloww1): Likewise.
54177         (sloww2): Likewise.
54178         (bsloww1): Likewise.
54179         (bsloww2): Likewise.
54180         (cslow2): Likewise.
54181         (csloww1): Likewise.
54182         (csloww2): Likewise.
54184         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54185         function.
54186         (__sin): Use it.
54187         (__cos): Likewise.
54189         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54190         gotos.
54191         (__cos): Likewise.
54193 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54195         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54196         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54197         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54198         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54199         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54200         * elf/cache.c (print_entry): Handle the new cache flags.
54202 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54203             Aldy Hernandez  <aldyh@redhat.com>
54205         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54206         Change condition to [_SOFT_FLOAT].
54207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54219         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54222         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54223         declaration.
54225 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54227         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54228         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54229         (__longjmp): Use LOAD_GP to load saved GPRs.
54230         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54231         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54232         (__sigsetjmp): Use SAVE_GP to save GPRs.
54234         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54235         Do not append -msoft-float.
54236         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54238 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54240         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54242 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54244         [BZ #15966]
54245         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54246         (_FPU_GETCW): Use initial "__" on variable and field names but not
54247         on macro parameter name.
54248         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54249         parentheses around reference to macro parameter.
54251 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54253         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54254         prototype.
54255         (ctype_startup): Use uint32_t in cast and sizeof for
54256         ctype->charnames.
54258 2013-09-11  Jia Liu  <proljc@gmail.com>
54260         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54261         __daddr_t_defined.
54262         [__FreeBSD__]: Likewise.
54264 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54267         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54268         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54269         (strchr): Remove __strchr_sse42 ifunc selection.
54270         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54271         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54273 2013-09-11  Will Newton  <will.newton@linaro.org>
54275         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54276         parameter to RES. Remove hardcoded 1000 value.
54277         * benchtests/bench-skeleton.c (main): Pass RES parameter
54278         to TIMING_INIT and multiply result by 1000.
54280 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54284 2013-09-11  Andreas Schwab  <schwab@suse.de>
54286         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54287         if not defined.
54288         (O_TMPFILE) [__USE_GNU]: Define.
54289         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54290         Define.
54292 2013-09-11  Will Newton  <will.newton@linaro.org>
54294         [BZ #15857]
54295         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54296         does not overflow.
54298 2013-09-11  Will Newton  <will.newton@linaro.org>
54300         [BZ #15856]
54301         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54302         does not overflow.
54304 2013-09-11  Will Newton  <will.newton@linaro.org>
54306         [BZ #15855]
54307         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54308         does not overflow.
54310 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54312         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54314         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54315         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54316         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54318 2013-09-10  Allan McRae  <allan@archlinux.org>
54320         [BZ #15748]
54321         * manual/arith.texi (Parsing of Floats): Clarify
54322         cross-reference.
54324         [BZ #15849]
54325         * manual/install.texi (Running make install): Mention
54326         --enable-pt-chown.
54327         * INSTALL: Regenerated.
54329 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54331         * csu/init-first.c (_init): Remove the !SHARED condition around
54332         FPU control word initialization.
54333         * elf/dl-support.c (_dl_fpu_control): New variable.
54334         (_dl_aux_init) <AT_FPUCW>: Initialize it.
54335         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54336         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54337         * math/test-fpucw-static.c: New file.
54338         * math/test-fpucw-ieee.c: New file.
54339         * math/test-fpucw-ieee-static.c: New file.
54340         * math/Makefile (tests): Add `test-fpucw-ieee' and
54341         `$(tests-static)'.
54342         (tests-static): New variable.
54343         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54344         dependency to...
54345         [($(build-shared),yes)]
54346         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54347         ... this.
54348         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54349         New dependency.
54351 2013-09-09  Allan McRae  <allan@archlinux.org>
54353         [BZ #15939]
54354         * manual/string.texi (Collation Functions): Fix typo in
54355         strcoll example.
54356         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54358         [BZ #15893]
54359         * stdlib/isomac.c (get_null_defines): Fix memory leak.
54361         [BZ #15892]
54362         * libio/memstream.c (open_memstream): Fix memory leak.
54363         * libio/wmemstream.c (open_wmemstream): Likewise.
54365         [BZ #15895]
54366         * nscd/netgroupcache.c: Fix nesting of ifdefs.
54368 2013-09-09  Will Newton  <will.newton@linaro.org>
54370         * malloc/Makefile: Add tst-realloc to tests.
54371         * malloc/tst-realloc.c: New file.
54373 2013-09-09  Allan McRae  <allan@archlinux.org>
54375         [BZ #15844]
54376         * COPYING: Update from GNU website to fix FSF address.
54377         * COPYING.LIB: Likewise.
54379 2013-09-06  David S. Miller  <davem@davemloft.net>
54381         * po/zh_TW.po: Update Chinese (traditional) translation from
54382         translation project.
54384 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
54385             Joseph Myers  <joseph@codesourcery.com>
54387         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
54388         "localeinfo.h".
54389         (obstack_chunk_alloc): New macro.
54390         (obstack_chunk_free): Likewise.
54391         (record_offset): New function.
54392         (init_locale_data): Likewise.
54393         (align_locale_data): Likewise.
54394         (add_locale_empty): Likewise.
54395         (add_locale_raw_data): Likewise.
54396         (add_locale_raw_obstack): Likewise.
54397         (add_locale_string): Likewise.
54398         (add_locale_wstring): Likewise.
54399         (add_locale_uint32): Likewise.
54400         (add_locale_uint32_array): Likewise.
54401         (add_locale_char): Likewise.
54402         (start_locale_structure): Likewise.
54403         (end_locale_structure): Likewise.
54404         (start_locale_prelude): Likewise.
54405         (end_locale_prelude): Likewise.
54406         (write_locale_data): Take locale_file structure rather than an
54407         iovec.
54408         * locale/programs/locfile.h: Include "obstack.h".
54409         (struct locale_file): Change to store locale file contents instead
54410         of header.
54411         (init_locale_data): New prototype.
54412         (align_locale_data): Likewise.
54413         (add_locale_empty): Likewise.
54414         (add_locale_raw_data): Likewise.
54415         (add_locale_raw_obstack): Likewise.
54416         (add_locale_string): Likewise.
54417         (add_locale_wstring): Likewise.
54418         (add_locale_uint32): Likewise.
54419         (add_locale_uint32_array): Likewise.
54420         (add_locale_char): Likewise.
54421         (start_locale_structure): Likewise.
54422         (end_locale_structure): Likewise.
54423         (start_locale_prelude): Likewise.
54424         (end_locale_prelude): Likewise.
54425         (write_locale_data): Update prototype.
54426         * locale/programs/3level.h (struct TABLE): Remove result field.
54427         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
54428         Use new locale_file interface.
54429         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
54430         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
54431         * locale/programs/ld-address.c (address_output): Use new
54432         locale_file interface.
54433         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
54434         NO_ADD_LOCALE.
54435         (collate_finish): Don't call collseq_table_finalize.
54436         (collate_output): Use new locale_file interface.
54437         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
54438         in file.
54439         (NO_FINALIZE): Change to NO_ADD_LOCALE.
54440         (TABLE): Move defines earlier in file.
54441         (ELEMENT): Likewise.
54442         (DEFAULT): Likewise.
54443         (wctrans_table_add): Move macro and inline function earlier in
54444         file.
54445         (struct wctype_table): Move type earlier in file.
54446         (add_locale_wctype_table): New static prototype.
54447         (struct locale_ctype_t): Use logical types instead of struct iovec
54448         pointers for members.
54449         (ctype_output): Use new locale_file interface.
54450         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
54451         new locale_file interface.
54452         (allocate_arrays): Update for use of new locale_file interface.
54453         * locale/programs/ld-identification.c (identification_output): Use
54454         new locale_file interface.
54455         * locale/programs/ld-measurement.c (measurement_output): Likewise.
54456         * locale/programs/ld-messages.c (messages_output): Likewise.
54457         * locale/programs/ld-monetary.c (monetary_output): Likewise.
54458         * locale/programs/ld-name.c (name_output): Likewise.
54459         * locale/programs/ld-numeric.c (numeric_output): Likewise.
54460         * locale/programs/ld-paper.c (paper_output): Likewise.
54461         * locale/programs/ld-telephone.c (telephone_output): Likewise.
54462         * locale/programs/ld-time.c (time_output): Likewise.
54464 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54466         * benchtests/Makefile: Add memrchr benchmark.
54467         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
54468         benchmark as memrchr.
54469         * benchtests/bench-memrchr-ifunc.c: New file.
54470         * benchtests/bench-memrchr.c: New file.
54472 2013-09-06   Will Newton  <will.newton@linaro.org>
54474         * benchtests/Makefile (string-bench): Add memcpy.
54476 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
54477             Cong Wang  <amwang@redhat.com>
54479         [BZ #15850]
54480         * sysdeps/unix/sysv/linux/bits/in.h
54481         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
54482         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
54483         before __USE_KERNEL_IPV6_DEFS uses.
54484         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
54485         IPPROTO_BEETPH.
54486         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
54487         sockaddr_in6, or ipv6_mreq.
54489 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54491         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
54492         memory access for final bytes in some large inputs.
54493         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
54495 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54497         * string/test-memrchr.c: New file.
54498         * string/test-memrchr-ifunc.c: New file.
54499         * string/Makefile: Add new memrchr testcase.
54501 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
54503         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
54504         fanotify_init returns EPERM.
54506 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54508         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
54509         errors.
54510         (top level): Treat second token from macro or constant entries for
54511         allowed headers as allowed.
54512         * include/complex.h: Condition internal declarations on
54513         [!_ISOMAC].
54514         * include/fenv.h: Condition include of <stdbool.h> and internal
54515         declarations on [!_ISOMAC].
54517 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
54519         [BZ #15923]
54520         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
54522 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54524         * configure.in (--enable-versioning): Remove configure option.
54525         (libc_cv_asm_symver_directive): Remove configure test.
54526         (libc_cv_ld_version_script_option): Likewise.
54527         (VERSIONING): Remove variable and AC_SUBST.
54528         (DO_VERSIONING): Remove AC_DEFINE.
54529         * configure: Regenerated.
54530         * config.h.in (DO_VERSIONING): Remove macro.
54531         * Makerules [$(versioning) = yes]: Change conditionals to
54532         [$(build-shared) = yes].
54533         * config.make.in (versioning): Remove variable.
54534         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
54535         [$(build-shared) = yes].
54536         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
54537         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
54538         * elf/Makefile [$(versioning) = yes]: Change conditionals to
54539         [$(build-shared) = yes].
54540         * extra-lib.mk [$(versioning) = yes]: Likewise.
54541         * hurd/Makefile [$(versioning) = yes]: Likewise.
54542         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
54543         [SHARED].
54544         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
54545         [SHARED].
54546         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54547         [SHARED && !NO_HIDDEN].
54548         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
54549         [SHARED].
54550         [SHARED && DO_VERSIONING]: Likewise..
54551         * libio/Makefile [$(versioning) = yes]: Change conditionals to
54552         [$(build-shared) = yes].
54553         * manual/install.texi (--disable-versioning): Remove
54554         documentation.
54555         * INSTALL: Regenerated.
54556         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
54557         to [SHARED].
54558         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
54559         [$(build-shared) = yes].
54560         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
54561         * sysdeps/i386/i686/multiarch/strstr-c.c
54562         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54563         [SHARED && !NO_HIDDEN].
54564         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
54565         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
54566         * sysdeps/powerpc/powerpc32/dl-machine.c
54567         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
54568         * sysdeps/powerpc/powerpc32/sysdep.h
54569         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
54570         to [SHARED && PIC && !NO_HIDDEN].
54571         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
54572         conditional to [SHARED].
54574 2013-09-04   Will Newton  <will.newton@linaro.org>
54576         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
54577         * benchtests/bench-string.h: Include bench-timing.h instead
54578         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
54579         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
54580         call to HP_TIMING_DIFF_INIT.
54581         * benchtests/bench-memccpy.c: Use bench-timing.h macros
54582         instead of hp-timing.h macros.
54583         * benchtests/bench-memchr.c: Likewise.
54584         * benchtests/bench-memcmp.c: Likewise.
54585         * benchtests/bench-memcpy.c: Likewise.
54586         * benchtests/bench-memmem.c: Likewise.
54587         * benchtests/bench-memmove.c: Likewise.
54588         * benchtests/bench-memset.c: Likewise.
54589         * benchtests/bench-rawmemchr.c: Likewise.
54590         * benchtests/bench-strcasecmp.c: Likewise.
54591         * benchtests/bench-strcasestr.c: Likewise.
54592         * benchtests/bench-strcat.c: Likewise.
54593         * benchtests/bench-strchr.c: Likewise.
54594         * benchtests/bench-strcmp.c: Likewise.
54595         * benchtests/bench-strcpy.c: Likewise.
54596         * benchtests/bench-strcpy_chk.c: Likewise.
54597         * benchtests/bench-strlen.c: Likewise.
54598         * benchtests/bench-strncasecmp.c: Likewise.
54599         * benchtests/bench-strncat.c: Likewise.
54600         * benchtests/bench-strncmp.c: Likewise.
54601         * benchtests/bench-strncpy.c: Likewise.
54602         * benchtests/bench-strnlen.c: Likewise.
54603         * benchtests/bench-strpbrk.c: Likewise.
54604         * benchtests/bench-strrchr.c: Likewise.
54605         * benchtests/bench-strspn.c: Likewise.
54606         * benchtests/bench-strstr.c: Likewise.
54608 2013-09-04  Will Newton  <will.newton@linaro.org>
54610         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
54612 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
54614         [BZ #15427]
54615         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
54616         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
54617         * math/libm-test.inc (lgamma_test_data): Add more tests.
54618         * sysdeps/i386/fpu/libm-test-ulps: Update.
54619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54621 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
54623         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
54624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54625         Add ifunc.
54626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54627         Add strcmp-sse2-unaligned
54628         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
54630 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
54632         * Versions.def (libc): Add GLIBC_2.19.
54634 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
54636         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
54637         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
54639 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
54641         [BZ #14155]
54642         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
54643         intermediate calculations in recurrence.
54644         (__ieee754_ynf): Likewise.
54645         * math/libm-test.inc (jn_test_data): Do not allow spurious
54646         underflow exception.  Add more tests.
54647         (yn_test_data): Add more tests.
54648         * sysdeps/i386/fpu/libm-test-ulps: Update.
54649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54651 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
54653         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
54655 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
54657         * csu/init-first.c: Fix then/than typos.
54658         * locale/programs/ld-collate.c: Likewise.
54659         * locale/programs/linereader.h: Likewise.
54660         * manual/charset.texi: Likewise.
54661         * manual/filesys.texi: Likewise.
54662         * manual/stdio.texi: Likewise.
54663         * manual/string.texi: Likewise.
54664         * stdlib/fmtmsg.c: Likewise.
54665         * sysdeps/i386/stpncpy.S: Likewise.
54666         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54667         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54668         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54669         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54671 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
54673         * elf/dl-open.c: Fix typos.
54674         * iconvdata/gbbig5.c: Likewise.
54675         * iconvdata/iso-2022-jp.c: Likewise.
54676         * iconv/gconv_int.h: Likewise.
54677         * iconv/loop.c: Likewise.
54678         * nis/rpcsvc/nis.h: Likewise.
54679         * resolv/ns_name.c: Likewise.
54680         * stdio-common/vfscanf.c: Likewise.
54681         * streams/stropts.h: Likewise.
54682         * sunrpc/rpc_thread.c: Likewise.
54683         * sysdeps/i386/strpbrk.S: Likewise.
54684         * sysdeps/ieee754/k_standard.c: Likewise.
54685         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54687         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
54688         * sysdeps/mach/hurd/profil.c: Likewise.
54689         * sysdeps/s390/dl-procinfo.h: Likewise.
54690         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
54691         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
54692         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
54693         * sysdeps/x86_64/dl-trampoline.S: Likewise.
54694         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54696 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
54698         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
54699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
54701 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
54703         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
54704         aix specific files.
54705         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
54706         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
54707         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
54708         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
54709         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
54710         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
54711         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
54712         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
54714 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
54715             Roland McGrath  <roland@hack.frob.com>
54717         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
54718         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
54720 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54722         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
54723         __executable_start symbol instead of _start.
54725 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
54727         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
54728         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
54729         Move macros to...
54730         * sysdeps/gnu/ldsodefs.h: ... this new file.
54732         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
54733         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
54734         instead of ELFOSABI_LINUX.
54736         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
54737         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
54738         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
54739         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
54740         Likewise.
54741         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
54742         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
54743         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
54744         Likewise.
54745         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54746         (ibm_extended_long_double): Add ieee_nan member.
54747         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
54748         (do_test): New function.
54750         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
54751         TEST_TRUNC.
54752         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
54753         functions, renamed from truncdfsf_test, trunctfsf_test,
54754         trunctfdf_test.
54755         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
54756         functions.
54757         (do_test): Run all these.
54759 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
54761         * argp/argp-help.c: Fix typos.
54762         * argp/argp-parse.c: Likewise.
54763         * debug/backtracesyms.c: Likewise.
54764         * elf/elf.h: Likewise.
54765         * malloc/malloc.c: Likewise.
54766         * nis/nis_print.c: Likewise.
54767         * resolv/res_comp.c: Likewise.
54768         * stdlib/stdlib.h: Likewise.
54769         * sunrpc/clnt_tcp.c: Likewise.
54770         * sunrpc/clnt_udp.c: Likewise.
54771         * sunrpc/clnt_unix.c: Likewise.
54772         * sysdeps/unix/bsd/ptsname.c: Likewise.
54773         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
54774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
54775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
54776         Likewise.
54777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
54778         Likewise.
54779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
54780         Likewise.
54781         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54783 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54785         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
54786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54788 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
54790         [BZ #15897]
54791         * dlfcn/Makefile (tests): Add bug-dl-leaf.
54792         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
54793         ($(objpfx)bug-dl-leaf): New rule.
54794         ($(objpfx)bug-dl-leaf.so): Likewise.
54795         ($(objpfx)bug-dl-leaf.out): Likewise.
54796         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
54797         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
54798         * dlfcn/bug-dl-leaf.c: New test.
54799         * dlfcn/bug-dl-leaf-lib.c: Likewise.
54800         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
54801         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
54802         (dlclose): Likewise.
54803         (dlmopen): Likewise.
54805 2013-08-27  Roland McGrath  <roland@hack.frob.com>
54807         * include/netdb.h [!_ISOMAC]:
54808         Don't include <tls.h>.
54809         (h_errno, __libc_h_errno): Move declaration and macros out of
54810         [_LIBC_REENTRANT].
54812         * include/resolv.h [_RESOLV_H_]:
54813         Don't include <tls.h>.
54814         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
54815         * resolv/res_libc.c: Don't include <tls.h>.
54816         (_res): Use __attribute__ ((nocommon)) in place of
54817         __attribute__ ((section (".bss"))).
54819         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
54820         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
54822         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
54824         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
54825         only under [SIOCGIFCONF && SIOCGIFNETMASK].
54827         * resolv/res_mkquery.c: Include <sys/time.h>.
54829         * inet/ifreq.c: Moved to ...
54830         * sysdeps/unix/ifreq.c: ... here.
54831         * inet/ifreq.c: New file, true stub version.
54833         * socket/sa_len.c: New file.
54834         * socket/Makefile (aux): Add it.
54835         * sysdeps/unix/sysv/linux/Makefile
54836         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
54837         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
54838         and #include <socket/sa_len.c>.
54839         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
54840         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
54842         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
54843         * bits/socket.h: ... here.
54845         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
54846         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
54847         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
54849 2013-08-27  Andreas Schwab  <schwab@suse.de>
54851         [BZ #15736]
54852         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
54853         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
54854         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
54855         * string/test-strcasecmp.c (test_main): Run tests in several
54856         locales.
54857         * string/test-strncasecmp.c (test_main): Likewise.
54859         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
54860         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
54861         to __strcasecmp_nonascii and __strncasecmp_nonascii.
54862         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
54863         (__strncasecmp_ssse3) [PIC]: Likewise.
54865 2013-08-26  Roland McGrath  <roland@hack.frob.com>
54867         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
54869         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
54870         instead of explicitly declaring xdecrypt.
54871         * nis/nss_nis/nis-publickey.c: Likewise.
54873 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54875         [BZ #15890]
54876         * nscd/aicache.c: Include res_hconf.h.
54877         (addhstaiX): Initialize res_hconf.
54879 2013-08-26  Andreas Schwab  <schwab@suse.de>
54881         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
54882         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
54884 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54886         * nscd/aicache.c (addhstaiX): Fix indentation.
54888 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
54890         * configure.ac: Quote $build_pt_chown test.
54891         * configure: Regenerated.
54893 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
54895         [BZ #15532]
54896         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
54897         * math/s_cexpf.c (__cexpf): Likewise.
54898         * math/s_cexpl.c (__cexpl): Likewise.
54899         * math/libm-test.inc (cexp_test_data): Correct expected return
54900         value for NaN + i0.  Add another test.
54902 2013-08-22  David S. Miller  <davem@davemloft.net>
54904         * po/ca.po: Update Catalan translation from translation project.
54905         * po/uk.po: Add Ukrainian translations from translation project.
54907 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
54909         [BZ #15797]
54910         * math/s_fdim.c (__fdim): Check for infinite arguments if result
54911         is infinite, not alongside NaN test.
54912         * math/s_fdimf.c (__fdimf): Likewise.
54913         * math/s_fdiml.c (__fdiml): Likewise.
54914         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
54915         errno is unchanged.
54917 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
54919         * argp/argp-help.c: Fix typos.
54920         * crypt/speeds.c: Likewise.
54921         * csu/check_fds.c: Likewise.
54922         * elf/dl-load.c: Likewise.
54923         * elf/dl-open.c: Likewise.
54924         * elf/reldep3.c: Likewise.
54925         * elf/reldep.c: Likewise.
54926         * elf/sprof.c: Likewise.
54927         * iconv/iconv_charmap.c: Likewise.
54928         * iconv/skeleton.c: Likewise.
54929         * iconv/strtab.c: Likewise.
54930         * io/lockf64.c: Likewise.
54931         * libio/libioP.h: Likewise.
54932         * resolv/gai_notify.c: Likewise.
54933         * resolv/ns_name.c: Likewise.
54934         * resolv/ns_samedomain.c: Likewise.
54935         * resolv/res_send.c: Likewise.
54936         * stdlib/random.c: Likewise.
54937         * sunrpc/rpc/xdr.h: Likewise.
54938         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
54939         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54940         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54941         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54942         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54943         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54945         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54946         * sysdeps/mach/hurd/check_fds.c: Likewise.
54947         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54948         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54949         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54950         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54951         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54952         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54953         * sysdeps/pthread/aio_notify.c: Likewise.
54954         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
54955         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
54956         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
54957         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54958         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54960 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54962         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
54963         version if bit_Slow_SSE4_2 is set.
54964         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54965         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54967 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54969         [BZ #15867]
54970         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
54971         trampoline stack frame information.
54972         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
54973         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
54974         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
54975         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
54976         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
54977         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54978         (_libc_vdso_platform_setup): Initialize the signal trampolines.
54979         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
54980         sa_flags value.
54981         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
54982         interrupting a syscall and set with option SA_SIGINFO.
54984 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
54986         [BZ #15531]
54987         * math/s_cproj.c (__cproj): Only return an infinity if one part of
54988         argument is infinite.
54989         * math/s_cprojf.c (__cprojf): Likewise.
54990         * math/s_cprojl.c (__cprojl): Likewise.
54991         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
54992         * math/libm-test.inc (cproj_test_data): Add more tests.
54994         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
54996         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
54997         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
54998         size.  Use __ffs to determine corresponding shift.
55000 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55001             Roland McGrath  <roland@hack.frob.com>
55003         * Makefile (INSTALL): Remove trailing blank lines from output of
55004         makeinfo.
55006 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55008         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55009         Align 32 bit compat elf_greg to 8 bytes.
55011 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55013         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55015 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55017         * string/strcoll_l.c (coll_seq): New structure.
55018         (get_next_seq_cached): New function.
55019         (get_next_seq): New function.
55020         (do_compare): New function.
55021         (STRCOLL): Use GNU style definition.  Simplify implementation
55022         by using get_next_seq, get_next_seq_cached and do_compare.
55024 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55026         [BZ #14699]
55027         CVE-2013-4237
55028         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55029         member.
55030         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55031         member.
55032         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55033         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55034         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55035         conditional.
55036         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55037         GETDENTS_64BIT_ALIGNED.
55038         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55039         * manual/filesys.texi (Reading/Closing Directory): Document
55040         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55041         strongly.
55042         * manual/conf.texi (Limits for Files): Add portability note to
55043         NAME_MAX, PATH_MAX.
55044         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55046 2013-08-13  Andreas Schwab  <schwab@suse.de>
55048         [BZ #15749]
55049         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55050         of fabs.
55051         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55052         LDBL_MAX_EXP >= 16384]: Add tests for it.
55054 2013-08-12  David S. Miller  <davem@davemloft.net>
55056         * version.h (RELEASE): Set to "development".
55057         (VERSION): Set to "2.18.90".
55058         * NEWS: Add 2.19 section.
55060 2013-08-03  David S. Miller  <davem@davemloft.net>
55062         * po/ko.po: Update Korean translation from translation project.
55064 2013-08-01  David S. Miller  <davem@davemloft.net>
55066         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55067         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55068         Bilka.
55070 2013-07-30  David S. Miller  <davem@davemloft.net>
55072         * po/fr.po: Update French translation from translation project.
55074 2013-07-28  David S. Miller  <davem@davemloft.net>
55076         * po/cs.po: Update Czech translation from translation project.
55078         * po/sv.po: Update Swedish translation from translation project.
55080 2013-07-27  David S. Miller  <davem@davemloft.net>
55082         * po/eo.po: Update Esperanto translation from translation project.
55084         * po/vi.po: Update Vietnamese translation from translation project.
55086         * po/de.po: Update German translation from translation project.
55088 2013-07-26  David S. Miller  <davem@davemloft.net>
55090         * po/bg.po: Update Bulgarian translation from translation project.
55092         * po/nl.po: Update Dutch translation from translation project.
55093         * po/pl.po: Update Polish translation from translation project.
55094         * po/ru.po: Update Russian translation from translation project.
55096 2013-07-24  David S. Miller  <davem@davemloft.net>
55098         * po/libc.pot: Update.
55100 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55102         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55103         variable page size.
55104         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55105         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55106         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55108 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55110         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55112 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55113             Andreas Schwab  <schwab@suse.de>
55114             Roland McGrath  <roland@hack.frob.com>
55115             Joseph Myers  <joseph@codesourcery.com>
55116             Carlos O'Donell  <carlos@redhat.com>
55118         [BZ #15755]
55119         * config.h.in: Define HAVE_PT_CHOWN.
55120         * config.make.in (build-pt-chown): New variable.
55121         * configure.in (--enable-pt_chown): New configure option.
55122         * configure: Regenerate.
55123         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55124         build-pt-chown is enabled.
55125         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55126         pt_chown to fix pty ownership.
55127         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55128         CLOSE_ALL_FDS.
55129         * manual/install.texi (Configuring and compiling): Mention
55130         --enable-pt_chown. Add @findex for grantpt.
55131         * INSTALL: Regenerate.
55133 2013-07-20  David S. Miller  <davem@davemloft.net>
55135         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55136         difference between 32-bit and 64-bit.
55138 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55140         [BZ #15711]
55141         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55142         Avoid system header dependency with -ffreestanding.
55143         ($(objpfx)bits/syscall%d): Likewise.
55145 2013-07-13  David S. Miller  <davem@davemloft.net>
55147         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55148         underflows from atanl/atan2l due to bug 15319.
55149         (casinh_test_data): Likewise.
55151 2013-07-07  David S. Miller  <davem@davemloft.net>
55153         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55155 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55157         * sysdeps/i386/fpu/libm-test-ulps: Update.
55158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55160 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55162         * configure.in (--enable-lock-elision): Fix message text.
55163         * INSTALL: Regenerate.
55164         * configure: Regenerate.
55166 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55170 2013-07-03  Andreas Jaeger  <aj@suse.de>
55172         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55173         define.
55174         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55175         (ptrace_peeksiginfo_args): Add.
55176         (__ptrace_peeksiginfo_flags): Add.
55177         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55178         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55179         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55181 2013-07-03  Allan McRae  <allan@archlinux.org>
55183         * sysdeps/i386/fpu/libm-test-ulps: Update.
55185 2013-07-02  David S. Miller  <davem@davemloft.net>
55187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55189 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55193 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55195         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55198 2013-07-02  Andi Kleen <ak@linux.intel.com>
55200         * config.h.in (ENABLE_LOCK_ELISION): Add.
55201         * configure.in (--enable-lock-elision): Add option.
55202         * manual/install.texi: Document --enable lock elision.
55203         * configure: Regenerate
55204         * INSTALL: Regenerate.
55206 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55208         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55209         SSE4.2 strcasecmp for libc.a.
55210         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55212 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55214         [BZ #13304]
55215         * soft-fp/op-common.h (_FP_FMA): New macro.
55216         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55217         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55218         (_FP_MUL_MEAT_1_imm): ... here.
55219         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55220         (_FP_MUL_MEAT_1_wide): ... here.
55221         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55222         (_FP_MUL_MEAT_1_hard): ... here.
55223         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55224         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55225         (_FP_MUL_MEAT_2_wide): ... here.
55226         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55227         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55228         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55229         (_FP_MUL_MEAT_2_gmp): ... here.
55230         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55231         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55232         (_FP_MUL_MEAT_4_wide): ... here.
55233         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55234         (_FP_MUL_MEAT_4_gmp): ... here.
55235         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55236         (_FP_WFRACBITS_DW_S): Likewise.
55237         (_FP_WFRACXBITS_DW_S): Likewise.
55238         (_FP_HIGHBIT_DW_S): Likewise.
55239         (FP_FMA_S): Likewise.
55240         (_FP_FRAC_HIGH_DW_S): Likewise.
55241         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55242         (_FP_WFRACBITS_DW_D): Likewise.
55243         (_FP_WFRACXBITS_DW_D): Likewise.
55244         (_FP_HIGHBIT_DW_D): Likewise.
55245         (FP_FMA_D): Likewise.
55246         (_FP_FRAC_HIGH_DW_D): Likewise.
55247         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55248         (_FP_WFRACBITS_DW_E): Likewise.
55249         (_FP_WFRACXBITS_DW_E): Likewise.
55250         (_FP_HIGHBIT_DW_E): Likewise.
55251         (FP_FMA_E): Likewise.
55252         (_FP_FRAC_HIGH_DW_E): Likewise.
55253         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55254         (_FP_WFRACBITS_DW_Q): Likewise.
55255         (_FP_WFRACXBITS_DW_Q): Likewise.
55256         (_FP_HIGHBIT_DW_Q): Likewise.
55257         (FP_FMA_Q): Likewise.
55258         (_FP_FRAC_HIGH_DW_Q): Likewise.
55259         * soft-fp/fmasf4.c: New file.
55260         * soft-fp/fmadf4.c: Likewise.
55261         * soft-fp/fmatf4.c: Likewise.
55263 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55266         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55267         Silvermont.
55268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55269         macro.
55270         (index_Slow_SSE4_2): Likewise.
55271         (index_Prefer_PMINUB_for_stringop): Likewise.
55272         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55273         bit_Slow_SSE4_2 is set.
55274         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55275         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55277 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55279         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55280         rtld_global._dl_hwcap2.
55281         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55282         POWER8.
55283         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55284         POWER8 feature descriptions defined in _dl_hwcap2.
55285         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55286         string handling for POWER8 feature bits.
55287         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55288         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55289         _dl_powerpc_cap_flags.
55290         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55291         * sysdeps/powerpc/rtld-global-offsets.sym
55292         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55293         _dl_hwcap2 in the rtld_global_ro structure.
55295 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55297         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55298         hardware capabilities in support of AT_HWCAP2.
55299         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55300         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55301         GLRO(dl_hwcap2).
55302         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55303         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55304         explicitly the unknown a_type display mechanism is used.
55305         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55306         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55307         struct member.
55308         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55309         to macro prototype for AT_HWCAP2 support.
55310         * sysdeps/i386/dl-procinfo.h: Likewise.
55311         * sysdeps/s390/dl-procinfo.h: Likewise.
55312         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55313         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55314         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55315         return -1 for unknown a_type display fallback.
55316         * sysdeps/sparc/dl-procinfo.h: Likewise.
55317         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55318         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55320 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55322         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55323         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55325 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55327         [BZ #12492]
55328         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55329         mprotect making __stack_prot writable.
55331 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
55332             Joseph Myers  <joseph@codesourcery.com>
55334         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55335         as being properly aligned.
55337 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
55339         * dlfcn/modstatic5.c: New file.
55340         * dlfcn/tststatic5.c: New file.
55341         * dlfcn/Makefile (tests): Add tststatic5.
55342         (tests-static): Likewise.
55343         (modules-names): Add modstatic5.
55344         (tststatic5-ENV): New variable.
55345         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55347         [BZ #15022]
55348         * elf/dl-support.c (_dl_main_map): New variable.
55349         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55350         (_dl_nns, _dl_load_adds): Set to 1.
55351         (_dl_initial_searchlist): Refer to _dl_main_map.
55352         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55353         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55354         call to _dl_get_origin.
55355         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55356         around call_map.
55357         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
55358         * dlfcn/modstatic3.c: New file.
55359         * dlfcn/tststatic3.c: New file.
55360         * dlfcn/tststatic4.c: New file.
55361         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
55362         (tests-static): Likewise.
55363         (modules-names): Add modstatic3.
55364         (tststatic3-ENV, tststatic4-ENV): New variables.
55365         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
55366         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
55368 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
55370         * configure.in (CC): Require GCC version 4.4 or later.
55371         * configure: Regenerated.
55372         * manual/install.texi (Tools for Compilation): Update GCC version
55373         requirement.
55374         * INSTALL: Regenerated.
55376 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55378         [BZ #15674]
55379         * string/test-memcmp.c (check2): New.
55380         (main): Call check2.
55382         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
55384 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
55386         [BZ #15022]
55387         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
55388         over to...
55389         (dl_open_worker) [!SHARED]: ... here.
55391 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55393         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
55395 2013-06-25  Richard Henderson  <rth@redhat.com>
55397         * locale/programs/locarchive.c: Include <libc-internal.h>
55399 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
55401         * manual/texinfo.tex: Update to version 2013-06-21.17, with
55402         trailing whitespace removed.
55404 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55406         [BZ #10283]
55407         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
55408         * locale/programs/locarchive.c: Include libc-mmap.h.
55409         (prepare_address_space): Take two new outputs (the mmap base and len).
55410         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
55411         values.
55412         (create_archive): Declare new mmap base and len values for
55413         prepare_address_space, and store the result in ah.
55414         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
55415         (enlarge_archive): If ah->mmap_base is not NULL, use that and
55416         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55417         Declare new mmap base and len values for
55418         prepare_address_space, and store the result in new_ah.
55419         (open_archive): Declare new mmap base and len values for
55420         prepare_address_space, and store the result in ah.
55421         (close_archive): If ah->mmap_base is not NULL, use that and
55422         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55423         * sysdeps/generic/libc-mmap.h: New file.
55425 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55427         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
55428         (ALIGN_UP): Likewise.
55429         (PTR_ALIGN_DOWN): Likewise.
55430         (PTR_ALIGN_UP): Likewise.
55432 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55434         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
55435         entry mapped to PPC_PLATFORM_POWER8.
55436         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
55437         POWER8.
55438         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
55439         (_dl_string_platform): Add case for exporting platform position for
55440         POWER8.
55441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
55442         search path to sysdeps/powerpc/powerpc32/power8 directory.
55443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
55444         search path to sysdeps/powerpc/powerpc64/power8 directory.
55445         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
55446         power7 directories.
55447         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
55448         power7 directories.
55450 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55452         * INSTALL: Regenerate.
55454         * nscd/connections.c (nscd_init): Fix comment.
55456 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
55458         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
55460         [BZ #15667]
55461         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
55462         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
55464 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55466         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
55467         DL_DST_REQ_STATIC.
55468         (DL_DST_REQ_STATIC): Remove macro.
55470 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
55472         [BZ #7006]
55473         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
55474         with a shift of 0 bits.
55476 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55478         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
55479         $(tststatic-ENV).
55481 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55483         [BZ #15655]
55484         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
55486 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55488         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
55489         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
55490         accepts -fno-tree-loop-distribute-patterns.
55491         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
55492         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
55493         recursive call.
55494         * string/memset.c (memset): Likewise.
55495         * string/test-memmove.c (simple_memmove): Disable loop transformation
55496         to library calls.
55497         * string/test-memset.c (simple_memset): Likewise.
55498         * benchtests/bench-memmove.c (simple_memmove): Likewise.
55499         * benchtests/bench-memset.c (simple_memset): Likewise.
55500         * configure: Regenerated.
55502 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
55504         * math/test-misc.c (main): Ignore fesetround failure when failures
55505         of subsequent rounding tests would be ignored.
55507         [BZ #15654]
55508         * math/fedisblxcpt.c (fedisableexcept): Return 0.
55509         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
55510         * math/fegetenv.c (__fegetenv): Return 0.
55511         * math/fegetexcept.c (fegetexcept): Return 0.
55512         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
55513         FE_TONEAREST.
55514         * math/feholdexcpt.c (feholdexcept): Return 0.
55515         * math/fesetenv.c (__fesetenv): Return 0.
55516         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
55517         argument FE_TONEAREST.
55518         * math/feupdateenv.c (__feupdateenv): Return 0.
55519         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
55521 2013-06-18  Roland McGrath  <roland@hack.frob.com>
55523         * elf/rtld-Rules (rtld-compile-command.S): New variable.
55524         (rtld-compile-command.s, rtld-compile-command.c): New variables.
55525         ($(objpfx)rtld-%.os rules): Use them.
55527 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55529         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
55530         fields.
55532 2013-06-17  Roland McGrath  <roland@hack.frob.com>
55534         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
55535         length of target pattern, then descending length of dependency pattern.
55536         * configure.in (AWK): Require gawk 3.1.2 or newer.
55537         * manual/install.texi (Tools for Compilation): Say that we do.
55538         * configure: Regenerated.
55540         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
55541         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
55542         * scripts/sysd-rules.awk: ... this new script.
55543         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
55544         than a glob-style pattern.
55546 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
55548         * math/test-misc.c (main): Do not treat incorrectly rounded
55549         conversions as failure unless ROUNDING_TESTS passes.
55551 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
55553         [BZ #15631]
55554         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
55555         restore exception state around main square root computation, then
55556         check for inexactness explicitly.
55558         * math/libm-test.inc (fma_test_data): Add another test.
55560 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55562         * manual/threads.texi (Non-POSIX Extensions): New document
55563         node.  Document pthread_getattr_default_np and
55564         pthread_setattr_default_np.
55566         * Versions.def (libpthread): Add GLIBC_2.18.
55567         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
55568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55569         Likewise.
55570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55571         Likewise.
55572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55573         Likewise.
55574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55575         Likewise.
55576         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
55577         Likewise.
55578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55579         Likewise.
55580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55581         Likewise.
55582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55583         Likewise.
55584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55585         Likewise.
55587 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55590         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
55592 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55593             H.J. Lu  <hjl.tools@gmail.com>
55595         [BZ #15627]
55596         * sysdeps/x86_64/rtld-memset.c: Remove file.
55597         * sysdeps/x86_64/rtld-memset.S: New file.
55599 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
55601         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
55602         (test_in_one_mode): Take arguments for whether the rounding mode
55603         is supported for each floating-point type.
55604         (do_test): Pass new arguments to test_in_one_mode using
55605         ROUNDING_TESTS.
55607 2013-06-13  Roland McGrath  <roland@hack.frob.com>
55609         * posix/tst-waitid.c (do_test): Distinguish different instances of
55610         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
55611         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
55612         before entering the kernel for waitpid.
55614 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55616         * NEWS: Fix note on clock function precision.  Text by Roland
55617         McGrath.
55619 2013-06-13  Roland McGrath  <roland@hack.frob.com>
55621         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
55622         it into place only when and if the sanity check passes.
55624 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
55626         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
55627         output for whether conversion result is exact.  Take argument
55628         indicating whether type is IBM long double.
55629         (round_for_all): Change need_exact field to ibm_ld.
55630         * stdlib/tst-strtod-round.c (struct exactness): New type.
55631         (struct test): Change bool ld_ok field to struct exactness exact.
55632         (TEST): Update all definitions for change to field.
55633         (tests): Regenerate array contents.
55634         (test_in_one_mode): Take pointer to new field instead of old ld_ok
55635         field value.  Check for IBM long double here.
55636         (do_test): Update calls to test_in_one_mode.
55638 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55640         [BZ #12515]
55641         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
55642         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
55644 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55646         [BZ #15605]
55647         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
55648         generated by the compiler on loop optimizations.
55649         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
55650         general definitions.
55652 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
55654         * math/bug-nextafter.c: Include <math-tests.h>.
55655         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55656         the relevant type.
55657         * math/bug-nexttoward.c: Include <math-tests.h>.
55658         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55659         the relevant type.
55660         * math/test-misc.c: Include <math-tests.h>.
55661         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55662         the relevant type.
55664 2013-06-12  Andreas Jaeger  <aj@suse.de>
55666         * po/ia.po: Update Interlingua translation from translation
55667         project.
55669 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55671         * include/fenv.h: Include stdbool.h.
55672         (struct rm_ctx): New structure.
55673         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
55674         Define macro.
55675         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
55676         (SET_RESTORE_ROUNDF): Likewise.
55677         (SET_RESTORE_ROUNDL): Likewise.
55678         (SET_RESTORE_ROUND_NOEX): Likewise.
55679         (SET_RESTORE_ROUND_NOEXF): Likewise.
55680         (SET_RESTORE_ROUND_NOEXL): Likewise.
55681         (SET_RESTORE_ROUND_53BIT): Likewise.
55682         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
55683         (libc_feresetround_noexf_ctx): Likewise.
55684         (libc_feresetround_noexl_ctx): Likewise.
55685         (libc_feholdsetround_53bit_ctx): Likewise.
55686         (libc_feresetround_53bit_ctx): Likewise.
55687         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
55688         (libc_feholdexcept_setround_sse_ctx): New function.
55689         (libc_fesetenv_sse_ctx): Likewise.
55690         (libc_feupdateenv_sse_ctx): Likewise.
55691         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
55692         (libc_feholdexcept_setround_387_ctx): Likewise.
55693         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
55694         (libc_feholdsetround_387_prec_ctx): Likewise.
55695         (libc_feholdsetround_387_ctx): Likewise.
55696         (libc_feholdsetround_387_53bit_ctx): Likewise.
55697         (libc_feholdsetround_sse_ctx): Likewise.
55698         (libc_feresetround_sse_ctx): Likewise.
55699         (libc_feresetround_387_ctx): Likewise.
55700         (libc_feupdateenv_387_ctx): Likewise.
55701         (libc_feholdexcept_setroundf_ctx): Define macro.
55702         (libc_fesetenvf_ctx): Likewise.
55703         (libc_feupdateenvf_ctx): Likewise.
55704         (libc_feholdsetroundf_ctx): Likewise.
55705         (libc_feresetroundf_ctx): Likewise.
55706         (libc_feholdexcept_setround_ctx): Likewise.
55707         (libc_fesetenv_ctx): Likewise.
55708         (libc_feupdateenv_ctx): Likewise.
55709         (libc_feholdsetround_ctx): Likewise.
55710         (libc_feresetround_ctx): Likewise.
55711         (libc_feholdexcept_setroundl_ctx): Likewise.
55712         (libc_feupdateenvl_ctx): Likewise.
55713         (libc_feholdsetroundl_ctx): Likewise.
55714         (libc_feresetroundl_ctx): Likewise.
55715         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
55716         (libc_feresetround_53bit_ctx): Likewise.
55718 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55720         * locale/iso-639.def: Convert to UTF-8.
55722 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
55724         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
55725         (EXCEPTION_TESTS_double): Likewise.
55726         (EXCEPTION_TESTS_long_double): Likewise.
55727         (EXCEPTION_TESTS): Likewise.
55728         * math/libm-test.inc (test_exceptions): Only test exceptions if
55729         EXCEPTION_TESTS (FLOAT).
55731 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55733         * benchtests/Makefile (string-bench): Add strcpy_chk and
55734         stpcpy_chk.
55735         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
55736         * benchtests/bench-stpcpy_chk.c: New file.
55737         * benchtests/bench-strcpy_chk-ifunc.c: New file.
55738         * benchtests/bench-strcpy_chk.c: New file.
55739         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
55740         code.
55741         (do_test): Likewise.
55743 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55745         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
55746         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
55747         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
55748         with tabs where appropriate.
55749         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
55750         dl-procinfo.h.
55751         [PPC_PLATFORM_PPC440]: Likewise.
55752         [PPC_PLATFORM_PPC464]: Likewise.
55753         [PPC_PLATFORM_PPC476]: Likewise.
55754         (_dl_string_platform): Add support for detecting ppc405, ppc440,
55755         ppc464, and ppc476 platform strings merging from ports/
55756         dl-procinfo.h.
55758 2013-06-11  Andreas Schwab  <schwab@suse.de>
55760         [BZ #14991]
55761         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
55762         (from_ucs4_idx): Regenerate.
55763         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
55764         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
55765         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
55766         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
55767         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
55768         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
55769         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
55770         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
55771         from FROM_LOOP and TO_LOOP specific macros.
55772         (BODY): Handle combining characters.
55773         * iconvdata/BIG5HKSCS.irreversible: Update.
55774         * iconvdata/BIG5HKSCS.precomposed: New file.
55775         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
55776         characters.
55777         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
55779 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55781         * include/sys/time.h: Fix indentation and add copyright header.
55783         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
55784         (do_test): Likewise.
55785         * string/test-memchr.c (do_one_test): Likewise.
55786         (do_test): Likewise.
55787         * string/test-memcmp.c (do_one_test): Likewise.
55788         (do_test): Likewise.
55789         * string/test-memcpy.c (do_one_test): Likewise.
55790         (do_test): Likewise.
55791         * string/test-memmem.c (do_one_test): Likewise.
55792         (do_test): Likewise.
55793         (do_random_tests): Likewise.
55794         * string/test-memmove.c (do_one_test): Likewise.
55795         (do_test): Likewise.
55796         * string/test-memset.c (do_one_test): Likewise.
55797         (do_test): Likewise.
55798         * string/test-rawmemchr.c (do_one_test): Likewise.
55799         (do_test): Likewise.
55800         * string/test-strcasecmp.c (do_one_test): Likewise.
55801         (do_test): Likewise.
55802         * string/test-strcasestr.c (do_one_test): Likewise.
55803         (do_test): Likewise.
55804         * string/test-strcat.c (do_one_test): Likewise.
55805         (do_test): Likewise.
55806         * string/test-strchr.c (do_one_test): Likewise.
55807         (do_test): Likewise.
55808         * string/test-strcmp.c (do_one_test): Likewise.
55809         (do_test): Likewise.
55810         * string/test-strcpy.c (do_one_test): Likewise.
55811         (do_test): Likewise.
55812         * string/test-string.h: Likewise.
55813         (test_init): Likewise.
55814         * string/test-strlen.c (do_one_test): Likewise.
55815         (do_test): Likewise.
55816         * string/test-strncasecmp.c (do_one_test): Likewise.
55817         (do_test): Likewise.
55818         * string/test-strncat.c (do_one_test): Likewise.
55819         (do_test): Likewise.
55820         * string/test-strncmp.c (do_one_test): Likewise.
55821         (do_test_limit): Likewise.
55822         (do_test): Likewise.
55823         * string/test-strncpy.c (do_one_test): Likewise.
55824         (do_test): Likewise.
55825         * string/test-strnlen.c (do_one_test): Likewise.
55826         (do_test): Likewise.
55827         * string/test-strpbrk.c (do_one_test): Likewise.
55828         (do_test): Likewise.
55829         * string/test-strrchr.c (do_one_test): Likewise.
55830         (do_test): Likewise.
55831         * string/test-strspn.c (do_one_test): Likewise.
55832         (do_test): Likewise.
55833         * string/test-strstr.c (do_one_test): Likewise.
55834         (do_test): Likewise.
55836         * benchtests/Makefile (string-bench): Add string benchmarks.
55837         * benchtests/bench-bcopy-ifunc.c: New file.
55838         * benchtests/bench-bcopy.c: New file.
55839         * benchtests/bench-bzero-ifunc.c: New file.
55840         * benchtests/bench-bzero.c: New file.
55841         * benchtests/bench-memccpy-ifunc.c: New file.
55842         * benchtests/bench-memccpy.c: New file.
55843         * benchtests/bench-memchr-ifunc.c: New file.
55844         * benchtests/bench-memchr.c: New file.
55845         * benchtests/bench-memcmp-ifunc.c: New file.
55846         * benchtests/bench-memcmp.c: New file.
55847         * benchtests/bench-memmem-ifunc.c: New file.
55848         * benchtests/bench-memmem.c: New file.
55849         * benchtests/bench-memmove-ifunc.c: New file.
55850         * benchtests/bench-memmove.c: New file.
55851         * benchtests/bench-mempcpy-ifunc.c: New file.
55852         * benchtests/bench-mempcpy.c: New file.
55853         * benchtests/bench-memset-ifunc.c: New file.
55854         * benchtests/bench-memset.c: New file.
55855         * benchtests/bench-rawmemchr-ifunc.c: New file.
55856         * benchtests/bench-rawmemchr.c: New file.
55857         * benchtests/bench-stpcpy-ifunc.c: New file.
55858         * benchtests/bench-stpcpy.c: New file.
55859         * benchtests/bench-stpncpy-ifunc.c: New file.
55860         * benchtests/bench-stpncpy.c: New file.
55861         * benchtests/bench-strcasecmp-ifunc.c: New file.
55862         * benchtests/bench-strcasecmp.c: New file.
55863         * benchtests/bench-strcasestr-ifunc.c: New file.
55864         * benchtests/bench-strcasestr.c: New file.
55865         * benchtests/bench-strcat-ifunc.c: New file.
55866         * benchtests/bench-strcat.c: New file.
55867         * benchtests/bench-strchr-ifunc.c: New file.
55868         * benchtests/bench-strchr.c: New file.
55869         * benchtests/bench-strchrnul-ifunc.c: New file.
55870         * benchtests/bench-strchrnul.c: New file.
55871         * benchtests/bench-strcmp-ifunc.c: New file.
55872         * benchtests/bench-strcmp.c: New file.
55873         * benchtests/bench-strcpy-ifunc.c: New file.
55874         * benchtests/bench-strcpy.c: New file.
55875         * benchtests/bench-strcspn-ifunc.c: New file.
55876         * benchtests/bench-strcspn.c: New file.
55877         * benchtests/bench-strlen-ifunc.c: New file.
55878         * benchtests/bench-strlen.c: New file.
55879         * benchtests/bench-strncasecmp-ifunc.c: New file.
55880         * benchtests/bench-strncasecmp.c: New file.
55881         * benchtests/bench-strncat-ifunc.c: New file.
55882         * benchtests/bench-strncat.c: New file.
55883         * benchtests/bench-strncmp-ifunc.c: New file.
55884         * benchtests/bench-strncmp.c: New file.
55885         * benchtests/bench-strncpy-ifunc.c: New file.
55886         * benchtests/bench-strncpy.c: New file.
55887         * benchtests/bench-strnlen-ifunc.c: New file.
55888         * benchtests/bench-strnlen.c: New file.
55889         * benchtests/bench-strpbrk-ifunc.c: New file.
55890         * benchtests/bench-strpbrk.c: New file.
55891         * benchtests/bench-strrchr-ifunc.c: New file.
55892         * benchtests/bench-strrchr.c: New file.
55893         * benchtests/bench-strspn-ifunc.c: New file.
55894         * benchtests/bench-strspn.c: New file.
55895         * benchtests/bench-strstr-ifunc.c: New file.
55896         * benchtests/bench-strstr.c: New file.
55898         * benchtests/Makefile: Disable parallel execution of targets.
55899         (string-bench): Add memcpy.
55900         (benchset): New variable to store a list of benchmark sets.
55901         (bench-func): Renamed from bench.
55902         (bench-set): New target.
55903         (bench): Depend on bench-func and bench-set.
55904         * benchtests/README: Add section on benchmark sets.
55905         * benchtests/bench-memcpy-ifunc.c: New file.
55906         * benchtests/bench-memcpy.c: New file.
55907         * benchtests/bench-string.h: New file.
55909 2013-06-11  Andreas Schwab  <schwab@suse.de>
55911         [BZ #15577]
55912         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
55913         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
55914         values in the triple.
55915         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
55916         terminator in the group key.
55918 2013-06-11  Andreas Jaeger  <aj@suse.de>
55920         * po/zh_TW.po: Update Chinese (traditional) translation from
55921         translation project.
55923 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55925         * include/time.h (__clock_gettime): Add libc_hidden_proto.
55926         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
55927         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
55928         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55929         (clock_getcpuclockid): Likewise.
55930         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
55931         Add weak_alias and libc_hidden_def.
55932         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
55933         * rt/clock_gettime.c (clock_gettime): Rename to
55934         __clock_gettime.  Add weak_alias and libc_hidden_def.
55935         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
55936         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
55937         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
55938         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
55939         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
55940         Likewise.
55941         * rt/clock_settime.c (clock_settime): Rename to
55942         __clock_settime.  Add weak_alias and libc_hidden_def.
55943         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
55945 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
55947         * mach/err_boot.sub: Remove trailing whitespace.
55948         * mach/err_ipc.sub: Likewise.
55949         * mach/err_mach.sub: Likewise.
55951         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
55952         (ROUNDING_TESTS_double): Likewise.
55953         (ROUNDING_TESTS_long_double): Likewise.
55954         (ROUNDING_TESTS): Likewise.
55955         * math/libm-test.inc: Include <math-tests.h>.
55956         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
55957         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55958         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55959         (IF_ROUND_INIT_FE_UPWARD): Likewise.
55961 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55963         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
55964         of assigning.
55966 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
55968         * sysdeps/gnu/errlist.awk: Do not generate space at end of
55969         otherwise empty TRANS lines.
55970         * sysdeps/gnu/errlist.c: Regenerated.
55972         * catgets/gencat.c (error_print): Use (void) in function
55973         definition.
55974         * crypt/crypt_util.c (__init_des): Likewise.
55975         * crypt/speeds.c (Stop): Likewise.
55976         (main): Likewise.
55977         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
55978         * inet/ruserpass.c (token): Likewise.
55979         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
55980         * intl/localealias.c (extend_alias_table): Likewise.
55981         * intl/plural-exp.c (init_germanic_plural): Likewise.
55982         * libio/fcloseall.c (__fcloseall): Likewise.
55983         * libio/genops.c (_IO_flush_all): Likewise.
55984         (_IO_flush_all_linebuffered): Likewise.
55985         (_IO_cleanup): Likewise.
55986         (_IO_iter_begin): Likewise.
55987         (_IO_iter_end): Likewise.
55988         (_IO_list_lock): Likewise.
55989         (_IO_list_unlock): Likewise.
55990         (_IO_list_resetlock): Likewise.
55991         * libio/getchar.c (getchar): Likewise.
55992         * libio/getchar_u.c (getchar_unlocked): Likewise.
55993         * libio/getwchar.c (getwchar): Likewise.
55994         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
55995         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
55996         * login/getpt.c (__getpt): Likewise.
55997         * login/tst-utmp.c (main): Likewise.
55998         * malloc/hooks.c (__malloc_check_init): Likewise.
55999         * malloc/malloc.c (__malloc_stats): Likewise.
56000         * malloc/mtrace.c (tr_break): Likewise.
56001         (mtrace): Likewise.
56002         (muntrace): Likewise.
56003         * misc/fstab.c (endfsent): Likewise.
56004         * misc/getclktck.c (__getclktck): Likewise.
56005         * misc/getdtsz.c (__getdtablesize): Likewise.
56006         * misc/gethostid.c (gethostid): Likewise.
56007         * misc/getpagesize.c (__getpagesize): Likewise.
56008         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56009         (__get_nprocs): Likewise.
56010         (__get_phys_pages): Likewise.
56011         (__get_avphys_pages): Likewise.
56012         * misc/getttyent.c (getttyent): Likewise.
56013         (setttyent): Likewise.
56014         (endttyent): Likewise.
56015         * misc/getusershell.c (getusershell): Likewise.
56016         (endusershell): Likewise.
56017         (setusershell): Likewise.
56018         (initshells): Likewise.
56019         * misc/hsearch.c (__hdestroy): Likewise.
56020         * misc/sync.c (sync): Likewise.
56021         * misc/syslog.c (closelog_internal): Likewise.
56022         (closelog): Likewise.
56023         * misc/ttyslot.c (ttyslot): Likewise.
56024         * misc/vhangup.c (vhangup): Likewise.
56025         * posix/fork.c (__fork): Likewise.
56026         * posix/getegid.c (__getegid): Likewise.
56027         * posix/geteuid.c (__geteuid): Likewise.
56028         * posix/getgid.c (__getgid): Likewise.
56029         * posix/getpid.c (__getpid): Likewise.
56030         * posix/getppid.c (__getppid): Likewise.
56031         * posix/getuid.c (__getuid): Likewise.
56032         * posix/pause.c (pause): Likewise.
56033         * posix/setpgrp.c (setpgrp): Likewise.
56034         * posix/setsid.c (__setsid): Likewise.
56035         * posix/test-vfork.c (noop): Likewise.
56036         * resolv/gethnamaddr.c (_endhtent): Likewise.
56037         (_gethtent): Likewise.
56038         (ht_endhostent): Likewise.
56039         (gethostent): Likewise.
56040         (dns_service): Likewise.
56041         * stdlib/drand48.c (drand48): Likewise.
56042         * stdlib/lrand48.c (lrand48): Likewise.
56043         * stdlib/mrand48.c (mrand48): Likewise.
56044         * stdlib/rand.c (rand): Likewise.
56045         * stdlib/random.c (__random): Likewise.
56046         * stdlib/setenv.c (clearenv): Likewise.
56047         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56048         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56049         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56050         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56051         (__get_nprocs): Likewise.
56052         (__get_phys_pages): Likewise.
56053         (__get_avphys_pages): Likewise.
56054         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56055         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56056         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56057         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56058         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56059         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56060         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56061         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56062         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56063         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56064         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56065         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56066         * sysdeps/posix/clock.c (clock): Likewise.
56067         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56068         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56069         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56070         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56071         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56073         (__get_nprocs_conf): Likewise.
56074         (__get_phys_pages): Likewise.
56075         (__get_avphys_pages): Likewise.
56076         * time/clock.c (clock): Likewise.
56077         * time/tzset.c (__tzname_max): Likewise.
56079 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56081         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56082         (__bswap_32): Do not use "register".
56083         * crypt/crypt.c (_ufc_doit_r): Likewise.
56084         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56085         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56086         * gmon/gmon.c (__monstartup): Likewise.
56087         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56088         * hurd/hurdmalloc.c (more_memory): Likewise.
56089         (malloc): Likewise.
56090         (free): Likewise.
56091         (realloc): Likewise.
56092         (malloc_fork_prepare): Likewise.
56093         (malloc_fork_parent): Likewise.
56094         (malloc_fork_child): Likewise.
56095         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56096         (_svcauth_des): Likewise.
56097         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56098         * inet/inet_net.c (inet_network): Likewise.
56099         * inet/inet_netof.c (inet_netof): Likewise.
56100         * inet/rcmd.c (__validuser2_sa): Likewise.
56101         * io/fts.c (fts_open): Likewise.
56102         (fts_load): Likewise.
56103         (fts_close): Likewise.
56104         (fts_read): Likewise.
56105         (fts_children): Likewise.
56106         (fts_build): Likewise.
56107         (fts_stat): Likewise.
56108         (fts_sort): Likewise.
56109         (fts_alloc): Likewise.
56110         (fts_lfree): Likewise.
56111         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56112         (_IO_file_xsgetn): Likewise.
56113         (_IO_file_xsgetn_mmap): Likewise.
56114         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56115         (_IO_cookie_write): Likewise.
56116         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56117         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56118         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56119         * malloc/obstack.c (_obstack_begin): Likewise.
56120         (_obstack_begin_1): Likewise.
56121         (_obstack_newchunk): Likewise.
56122         (_obstack_allocated_p): Likewise.
56123         (obstack_free): Likewise.
56124         (_obstack_memory_used): Likewise.
56125         * misc/getttyent.c (getttynam): Likewise.
56126         (getttyent): Likewise.
56127         (skip): Likewise.
56128         (value): Likewise.
56129         * misc/getusershell.c (initshells): Likewise.
56130         * misc/syslog.c (__vsyslog_chk): Likewise.
56131         * misc/ttyslot.c (ttyslot): Likewise.
56132         * nis/nis_hash.c (__nis_hash): Likewise.
56133         * posix/fnmatch_loop.c (FCT): Likewise.
56134         * posix/getconf.c (print_all): Likewise.
56135         (main): Likewise.
56136         * posix/getopt.c (exchange): Likewise.
56137         * posix/glob.c (globfree): Likewise.
56138         (prefix_array): Likewise.
56139         (__glob_pattern_type): Likewise.
56140         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56141         (NS_GET32): Likewise.
56142         (NS_PUT16): Likewise.
56143         (NS_PUT32): Likewise.
56144         * resolv/gethnamaddr.c (getanswer): Likewise.
56145         (gethostbyname2): Likewise.
56146         (gethostbyaddr): Likewise.
56147         (_gethtent): Likewise.
56148         (_gethtbyname2): Likewise.
56149         (_gethtbyaddr): Likewise.
56150         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56151         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56152         * resolv/res_init.c (__res_vinit): Likewise.
56153         (net_mask): Likewise.
56154         * resolv/res_mkquery.c (outchar): Likewise.
56155         (PRINT): Likewise.
56156         * stdio-common/printf_fp.c (outchar): Likewise.
56157         (PRINT): Likewise.
56158         * stdio-common/printf_fphex.c (outchar): Likewise.
56159         (PRINT): Likewise.
56160         * stdio-common/printf_size.c (outchar): Likewise.
56161         (PRINT): Likewise.
56162         * stdio-common/test_rdwr.c (main): Likewise.
56163         * stdio-common/tfformat.c (matches): Likewise.
56164         * stdio-common/vfprintf.c (outchar): Likewise.
56165         (printf_unknown): Likewise.
56166         (buffered_vfprintf): Likewise.
56167         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56168         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56169         (ReadFile): Likewise.
56170         * stdlib/qsort.c (SWAP): Likewise.
56171         (_quicksort): Likewise.
56172         * stdlib/setenv.c (__add_to_environ): Likewise.
56173         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56174         * stdlib/strtol_l.c (__strtol_l): Likewise.
56175         * stdlib/tst-strtod.c (main): Likewise.
56176         * stdlib/tst-strtol.c (main): Likewise.
56177         * stdlib/tst-strtoll.c (main): Likewise.
56178         * string/bits/string2.h (__strcmp_cc): Likewise.
56179         (__strcmp_cg): Likewise.
56180         (__strcspn_c1): Likewise.
56181         (__strcspn_c2): Likewise.
56182         (__strcspn_c3): Likewise.
56183         (__strspn_c1): Likewise.
56184         (__strspn_c2): Likewise.
56185         (__strspn_c3): Likewise.
56186         (__strsep_1c): Likewise.
56187         (__strsep_2c): Likewise.
56188         (__strsep_3c): Likewise.
56189         * string/memccpy.c (__memccpy): Likewise.
56190         * string/stpcpy.c (__stpcpy): Likewise.
56191         * string/strcmp.c (strcmp): Likewise.
56192         * string/strrchr.c (strrchr): Likewise.
56193         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56194         Likewise.
56195         * sysdeps/mach/hurd/getcwd.c
56196         (_hurd_canonicalize_directory_name_internal): Likewise.
56197         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56198         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56199         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56200         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56201         Likewise, in both definitions.
56202         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56203         definitions.
56204         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56205         64] (__bswap_64): Likewise.
56206         * time/test_time.c (main): Likewise.
56207         * time/tzfile.c (__tzfile_read): Likewise.
56208         (__tzfile_compute): Likewise.
56209         * time/tzset.c (__tzset_parse_tz): Likewise.
56210         (tzset_internal): Likewise.
56211         (compute_change): Likewise.
56212         * wcsmbs/wcscat.c (__wcscat): Likewise.
56213         * wcsmbs/wcschr.c (wcschr): Likewise.
56214         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56215         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56216         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56217         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56218         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56219         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56220         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56221         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56222         * wcsmbs/wmemset.c (wmemset): Likewise.
56224 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56226         * scripts/config.guess: Update to version 2013-05-16.
56227         * scripts/config.sub: Update to version 2013-04-24.
56228         * scripts/install-sh: Update to version 2011-11-20.07.
56229         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56230         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56232 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56234         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56235         * elf/sln.c: Likewise.
56236         * hurd/hurd/ioctl.h: Likewise.
56237         * hurd/hurdmalloc.c: Likewise.
56238         * hurd/xattr.c: Likewise.
56239         * include/shlib-compat.h: Likewise.
56240         * inet/ruserpass.c: Likewise.
56241         * libio/iofgets_u.c: Likewise.
56242         * libio/iofgetws_u.c: Likewise.
56243         * locale/programs/ld-identification.c: Likewise.
56244         * locale/programs/ld-time.c: Likewise.
56245         * mach/msg-destroy.c: Likewise.
56246         * nss/nss_files/files-netgrp.c: Likewise.
56247         * resolv/res_data.c: Likewise.
56248         * soft-fp/op-1.h: Likewise.
56249         * soft-fp/op-2.h: Likewise.
56250         * soft-fp/op-4.h: Likewise.
56251         * soft-fp/op-common.h: Likewise.
56252         * stdio-common/printf_fphex.c: Likewise.
56253         * stdlib/strtod_l.c: Likewise.
56254         * sunrpc/rpc/clnt.h: Likewise.
56255         * sysdeps/generic/framestate.c: Likewise.
56256         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56257         * sysdeps/i386/bsd-setjmp.S: Likewise.
56258         * sysdeps/i386/__longjmp.S: Likewise.
56259         * sysdeps/i386/setjmp.S: Likewise.
56260         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56261         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56263         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56264         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56265         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56266         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56267         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56268         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56269         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56270         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56271         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56272         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56273         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56274         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56275         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56276         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56277         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56278         * sysdeps/ieee754/support.c: Likewise.
56279         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56280         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56281         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56282         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56283         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56284         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56285         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56286         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56287         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56288         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56289         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56290         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56291         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56292         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56293         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56294         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56295         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56298 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56300         * posix/transbug.c: Remove executable mode.
56302 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56304         * crypt/speeds.c: Remove trailing whitespace.
56305         * dlfcn/default.c: Likewise.
56306         * elf/ifuncdep2.c: Likewise.
56307         * elf/ifuncmain1.c: Likewise.
56308         * elf/ifuncmain1vis.c: Likewise.
56309         * elf/testobj.h: Likewise.
56310         * elf/tst-stackguard1.c: Likewise.
56311         * gmon/sys/gmon.h: Likewise.
56312         * hurd/hurdmsg.c: Likewise.
56313         * hurd/new-fd.c: Likewise.
56314         * hurd/ports-get.c: Likewise.
56315         * iconvdata/ibm1008_420.c: Likewise.
56316         * inet/tst-getni1.c: Likewise.
56317         * inet/tst-getni2.c: Likewise.
56318         * libio/ioungetc.c: Likewise.
56319         * libio/wfiledoalloc.c: Likewise.
56320         * manual/libm-err-tab.pl: Likewise.
56321         * math/w_dremf.c: Likewise.
56322         * misc/ftruncate.c: Likewise.
56323         * posix/bug-glob2.c: Likewise.
56324         * posix/tst-pcre.c: Likewise.
56325         * posix/wait4.c: Likewise.
56326         * resolv/README: Likewise.
56327         * resolv/res_debug.h: Likewise.
56328         * resolv/tst-inet_ntop.c: Likewise.
56329         * setjmp/bug269-setjmp.c: Likewise.
56330         * soft-fp/extended.h: Likewise.
56331         * soft-fp/op-1.h: Likewise.
56332         * soft-fp/op-2.h: Likewise.
56333         * soft-fp/op-4.h: Likewise.
56334         * soft-fp/op-8.h: Likewise.
56335         * soft-fp/testit.c: Likewise.
56336         * stdio-common/bug16.c: Likewise.
56337         * stdlib/random.c: Likewise.
56338         * sunrpc/rpcsvc/rquota.x: Likewise.
56339         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56340         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56341         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56342         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56343         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56344         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56345         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56346         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56347         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56348         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56349         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56350         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56351         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56352         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56353         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56354         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56355         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56356         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56357         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56358         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56359         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56360         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56361         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
56362         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56363         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56364         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56366         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56367         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56368         * sysdeps/ieee754/s_lib_version.c: Likewise.
56369         * sysdeps/mach/hurd/check_fds.c: Likewise.
56370         * sysdeps/mach/hurd/getsockname.c: Likewise.
56371         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
56372         * sysdeps/mach/hurd/recvfrom.c: Likewise.
56373         * sysdeps/powerpc/bits/link.h: Likewise.
56374         * sysdeps/powerpc/dl-procinfo.c: Likewise.
56375         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
56376         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
56377         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
56378         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56379         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56380         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
56381         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56382         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
56383         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56384         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
56385         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56386         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
56387         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56388         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56389         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56390         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56391         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56392         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56393         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56394         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56395         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
56396         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56397         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56398         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
56399         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56400         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56401         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56402         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56404         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56405         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56406         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56407         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56408         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
56409         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56410         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
56411         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56412         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
56413         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
56414         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
56415         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
56416         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
56417         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
56418         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56419         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
56420         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
56421         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56422         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
56423         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
56424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56425         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56426         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56427         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56428         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
56429         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
56430         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
56431         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56432         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
56433         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
56434         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
56435         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
56436         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
56437         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56438         * sysdeps/powerpc/sysdep.h: Likewise.
56439         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56440         * sysdeps/s390/s390-64/sub_n.S: Likewise.
56441         * sysdeps/sh/dl-trampoline.S: Likewise.
56442         * sysdeps/sh/memset.S: Likewise.
56443         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
56444         * sysdeps/sh/strlen.S: Likewise.
56445         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
56446         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
56447         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
56448         * sysdeps/sparc/sparc32/rem.S: Likewise.
56449         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
56450         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
56451         * sysdeps/sparc/sparc32/strchr.S: Likewise.
56452         * sysdeps/sparc/sparc32/udiv.S: Likewise.
56453         * sysdeps/sparc/sparc32/urem.S: Likewise.
56454         * sysdeps/sparc/sparc64/add_n.S: Likewise.
56455         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56456         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
56457         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
56458         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
56459         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
56460         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
56461         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
56462         * sysdeps/unix/bsd/times.c: Likewise.
56463         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
56464         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
56465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
56466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
56467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
56468         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
56469         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56470         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
56471         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
56472         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
56473         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
56474         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56475         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
56476         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56477         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56478         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
56479         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56480         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
56481         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
56482         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
56483         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
56484         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
56485         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56486         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
56487         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
56488         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
56489         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
56490         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56491         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
56492         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
56493         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
56494         * sysdeps/x86_64/strcspn.S: Likewise.
56496 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56498         * locale/C-translit.h: Revert #include <stdint.h> because this is a
56499         generated file.  Regenerate properly from gen-translit.pl.
56500         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
56501         locale/C-translit.h.
56503 2013-06-05  Andreas Schwab  <schwab@suse.de>
56505         [BZ #15100]
56506         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
56507         week as 6 instead of -1.
56508         * time/tst-strptime.c (day_tests): Add test case.
56510 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56512         * sysdeps/generic/math_private.h
56513         (libc_feholdexcept_setround_53bit): Replace with
56514         libc_feholdsetround_53bit.
56515         (libc_feupdateenv_53bit): Replace with
56516         libc_feresetround_53bit.
56517         (SET_RESTORE_ROUND_53BIT): Adjust.
56519 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56521         * string/test-strchrnul.c: Add copyright header.
56523         * posix/tst-getaddrinfo4.c: Increase test timeout.
56525 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
56527         [BZ #15536]
56528         * math/libm-test.inc (MAX_EXP): Remove
56529         (MIN_EXP): Define.
56530         (ulp): Use MIN_EXP - MANT_DIG.
56531         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
56533 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
56535         * po/be.po: Revert last change.
56536         * po/zh_CN.po: Likewise.
56537         * po/header.pot: Likewise.
56539 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
56541         * Makefile ($(common-objpfx)linkobj/libc.so): Define
56542         link-libc-deps to empty as target-specific variable.
56543         * Makerules (link-libc-args): New variable.
56544         (libc-for-link): Likewise.
56545         (link-libc-deps): Likewise.
56546         (lib%.so): Depend on $(link-libc-deps).  Link with
56547         $(link-libc-args).
56548         (build-module): Link with $(link-libc-args).
56549         (build-module-asneeded): Likewise.
56550         (build-module-helper-objlist): Filter out $(link-libc-deps) from
56551         list of objects.
56552         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
56553         target-specific variable.
56554         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
56555         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
56556         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
56557         libc.
56558         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
56559         libc and ld.so.
56560         ($(objpfx)libpcprofile.so): Likewise.
56561         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
56562         libc_nonshared.a.
56563         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
56564         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
56565         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
56566         $(link-libc-deps).
56567         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
56568         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
56569         * login/Makefile ($(objpfx)libutil.so): Likewise.
56570         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
56571         * math/Makefile ($(objpfx)libm.so): Likewise.
56572         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
56573         $(objpfx)libnsl.so): Define libc-for-link as target-specific
56574         variable instead of depending directly on libc.
56575         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
56576         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
56577         $(link-libc-deps).
56578         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
56579         libc.
56580         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
56581         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
56582         ($(objpfx)libanl.so): Likewise.
56583         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
56584         ld.so.
56585         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
56586         $(link-libc-deps).
56587         * sysdeps/i386/fpu/Makefile: Remove file.
56588         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
56589         ($(objpfx)libm.so): Remove dependency on ld.so.
56591 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
56593         [BZ # 15553]
56594         * nis/yp_xdr.c (XDRMAXNAME): Define.
56595         (XDRMAXRECORD): Define.
56596         (xdr_domainname): Use XDRMAXNAME.
56597         (xdr_mapname): Likewise.
56598         (xdr_peername): Likewise.
56599         (xdr_keydat): Use XDRMAXRECORD.
56600         (xdr_valdat): Likewise.
56602 2013-05-30  Jeff Law  <law@redhat.com>
56604         [BZ #14256]
56605         * manual/errno.texi (ESTALE): Update to account for more than
56606         just NFS file systems.
56607         * sysdeps/gnu/errlist.c: Regenerated.
56609 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56611         [BZ #15465]
56612         * elf/Makefile (tests): Add tst-null-argv.
56613         (modules-names):  Add tst-null-argv-lib.
56614         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
56615         (tst-null-argv-ENV): Set environment for tst-null-argv.
56616         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
56617         (RTLD_PROGNAME): New macro.
56618         * elf/tst-null-argv.c: New test case.
56619         * elf/tst-null-argv-lib.c: Library for test case.
56620         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
56621         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
56622         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
56623         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
56624         * elf/dl-init.c (call_init): Likewise.
56625         (_dl_init): Likewise.
56626         * elf/dl-load.c (print_search_path): Likewise.
56627         (_dl_map_object): Likewise.
56628         * elf/dl-lookup.c (do_lookup_x): Likewise.
56629         (add_dependency): Likewise.
56630         (_dl_lookup_symbol_x): Likewise.
56631         (_dl_debug_bindings): Likewise.
56632         * elf/dl-open.c (_dl_show_scope): Likewise.
56633         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56634         * elf/dl-version.c (match_symbol): Likewise.
56635         (_dl_check_map_versions): Likewise.
56636         * elf/rtld.c (dl_main): Likewise.
56637         (print_unresolved): Use RTLD_PROGNAME.
56638         (print_missing_version): Likewise.
56639         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
56640         (elf_machine_rela): Likewise.
56641         * sysdeps/powerpc/powerpc32/dl-machine.c
56642         (__process_machine_rela): Likewise.
56643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56644         Likewise.
56645         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56646         Likewise.
56647         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
56648         Likewise.
56649         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
56651         Likewise.
56652         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
56653         Likewise.
56654         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56656 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
56658         * po/be.po: Add descriptive title.
56659         * po/zh_CN.po: Likewise.
56660         * po/header.pot: Likewise.
56662 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
56664         * locale/programs/locarchive.c (create_archive): Inlucde fname in
56665         error message.
56666         (enlarge_archive): Likewise.
56668 2013-05-28  Ben North  <ben@redfrontdoor.org>
56670         * manual/arith.texi (frexp): It is the magnitude of the return
56671         value which lies in [0.5, 1), not the return value itself.
56673 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56677 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
56679         * stdio-common/bug26.c (main): Correct fscanf template.
56681         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
56682         declare _dl_skip_args.
56684         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
56685         Don't declare.
56687         * manual/platform.texi: Add missing @end deftypefun.
56689 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
56691         [BZ #15529]
56692         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
56693         bit of mantissa of 2^16382.
56694         * math/libm-test.inc (hypot_test_data): Add more tests.
56696         * math/libm-test.inc: Add drem and pow10 to list of tested
56697         functions.
56698         (pow10_test): New function.
56699         (drem_test): Likewise.
56700         (drem_test_tonearest): Likewise.
56701         (drem_test_towardzero): Likewise.
56702         (drem_test_downward): Likewise.
56703         (drem_test_upward): Likewise.
56704         (main): Call the new functions.
56706         * math/libm-test.inc (finite_test_data): Remove.
56707         (finite_test): Run tests from isfinite_test_data.
56708         (gamma_test_data): Remove.
56709         (gamma_test): Run tests from lgamma_test_data.
56710         * sysdeps/i386/fpu/libm-test-ulps: Update.
56711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56713 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56715         * manual/platform.texi: Add PowerPC PPR function set documentation.
56716         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
56717         implementation.
56719 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
56721         * math/libm-test.inc (MAX_EXP): Define.
56722         (ULPDIFF): Define.
56723         (ulp): New function.
56724         (check_float_internal): Use ULPDIFF.
56725         (cpow_test): Disable failing test.
56726         (check_ulp): Test ulp() implementation.
56727         (main): Call check_ulp before starting tests.
56729 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
56731         * math/gen-libm-test.pl (generate_testfile): Do not handle
56732         START_DATA and END_DATA.
56733         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
56734         END_DATA.
56735         (acos_tonearest_test_data): Likewise.
56736         (acos_towardzero_test_data): Likewise.
56737         (acos_downward_test_data): Likewise.
56738         (acos_upward_test_data): Likewise.
56739         (acosh_test_data): Likewise.
56740         (asin_test_data): Likewise.
56741         (asin_tonearest_test_data): Likewise.
56742         (asin_towardzero_test_data): Likewise.
56743         (asin_downward_test_data): Likewise.
56744         (asin_upward_test_data): Likewise.
56745         (asinh_test_data): Likewise.
56746         (atan_test_data): Likewise.
56747         (atanh_test_data): Likewise.
56748         (atan2_test_data): Likewise.
56749         (cabs_test_data): Likewise.
56750         (cacos_test_data): Likewise.
56751         (cacosh_test_data): Likewise.
56752         (carg_test_data): Likewise.
56753         (casin_test_data): Likewise.
56754         (casinh_test_data): Likewise.
56755         (catan_test_data): Likewise.
56756         (catanh_test_data): Likewise.
56757         (cbrt_test_data): Likewise.
56758         (ccos_test_data): Likewise.
56759         (ccosh_test_data): Likewise.
56760         (ceil_test_data): Likewise.
56761         (cexp_test_data): Likewise.
56762         (cimag_test_data): Likewise.
56763         (clog_test_data): Likewise.
56764         (clog10_test_data): Likewise.
56765         (conj_test_data): Likewise.
56766         (copysign_test_data): Likewise.
56767         (cos_test_data): Likewise.
56768         (cos_tonearest_test_data): Likewise.
56769         (cos_towardzero_test_data): Likewise.
56770         (cos_downward_test_data): Likewise.
56771         (cos_upward_test_data): Likewise.
56772         (cosh_test_data): Likewise.
56773         (cosh_tonearest_test_data): Likewise.
56774         (cosh_towardzero_test_data): Likewise.
56775         (cosh_downward_test_data): Likewise.
56776         (cosh_upward_test_data): Likewise.
56777         (cpow_test_data): Likewise.
56778         (cproj_test_data): Likewise.
56779         (creal_test_data): Likewise.
56780         (csin_test_data): Likewise.
56781         (csinh_test_data): Likewise.
56782         (csqrt_test_data): Likewise.
56783         (ctan_test_data): Likewise.
56784         (ctan_tonearest_test_data): Likewise.
56785         (ctan_towardzero_test_data): Likewise.
56786         (ctan_downward_test_data): Likewise.
56787         (ctan_upward_test_data): Likewise.
56788         (ctanh_test_data): Likewise.
56789         (ctanh_tonearest_test_data): Likewise.
56790         (ctanh_towardzero_test_data): Likewise.
56791         (ctanh_downward_test_data): Likewise.
56792         (ctanh_upward_test_data): Likewise.
56793         (erf_test_data): Likewise.
56794         (erfc_test_data): Likewise.
56795         (exp_test_data): Likewise.
56796         (exp_tonearest_test_data): Likewise.
56797         (exp_towardzero_test_data): Likewise.
56798         (exp_downward_test_data): Likewise.
56799         (exp_upward_test_data): Likewise.
56800         (exp10_test_data): Likewise.
56801         (exp2_test_data): Likewise.
56802         (expm1_test_data): Likewise.
56803         (fabs_test_data): Likewise.
56804         (fdim_test_data): Likewise.
56805         (finite_test_data): Likewise.
56806         (floor_test_data): Likewise.
56807         (fma_test_data): Likewise.
56808         (fma_towardzero_test_data): Likewise.
56809         (fma_downward_test_data): Likewise.
56810         (fma_upward_test_data): Likewise.
56811         (fmax_test_data): Likewise.
56812         (fmin_test_data): Likewise.
56813         (fmod_test_data): Likewise.
56814         (fpclassify_test_data): Likewise.
56815         (frexp_test_data): Likewise.
56816         (gamma_test_data): Likewise.
56817         (hypot_test_data): Likewise.
56818         (ilogb_test_data): Likewise.
56819         (isfinite_test_data): Likewise.
56820         (isgreater_test_data): Likewise.
56821         (isgreaterequal_test_data): Likewise.
56822         (isinf_test_data): Likewise.
56823         (isless_test_data): Likewise.
56824         (islessequal_test_data): Likewise.
56825         (islessgreater_test_data): Likewise.
56826         (isnan_test_data): Likewise.
56827         (isnormal_test_data): Likewise.
56828         (issignaling_test_data): Likewise.
56829         (isunordered_test_data): Likewise.
56830         (j0_test_data): Likewise.
56831         (j1_test_data): Likewise.
56832         (jn_test_data): Likewise.
56833         (ldexp_test_data): Likewise.
56834         (lgamma_test_data): Likewise.
56835         (lrint_test_data): Likewise.
56836         (lrint_tonearest_test_data): Likewise.
56837         (lrint_towardzero_test_data): Likewise.
56838         (lrint_downward_test_data): Likewise.
56839         (lrint_upward_test_data): Likewise.
56840         (llrint_test_data): Likewise.
56841         (llrint_tonearest_test_data): Likewise.
56842         (llrint_towardzero_test_data): Likewise.
56843         (llrint_downward_test_data): Likewise.
56844         (llrint_upward_test_data): Likewise.
56845         (log_test_data): Likewise.
56846         (log10_test_data): Likewise.
56847         (log1p_test_data): Likewise.
56848         (log2_test_data): Likewise.
56849         (logb_test_data): Likewise.
56850         (logb_downward_test_data): Likewise.
56851         (lround_test_data): Likewise.
56852         (llround_test_data): Likewise.
56853         (modf_test_data): Likewise.
56854         (nearbyint_test_data): Likewise.
56855         (nextafter_test_data): Likewise.
56856         (nexttoward_test_data): Likewise.
56857         (pow_test_data): Likewise.
56858         (pow_tonearest_test_data): Likewise.
56859         (pow_towardzero_test_data): Likewise.
56860         (pow_downward_test_data): Likewise.
56861         (pow_upward_test_data): Likewise.
56862         (remainder_test_data): Likewise.
56863         (remainder_tonearest_test_data): Likewise.
56864         (remainder_towardzero_test_data): Likewise.
56865         (remainder_downward_test_data): Likewise.
56866         (remainder_upward_test_data): Likewise.
56867         (remquo_test_data): Likewise.
56868         (rint_test_data): Likewise.
56869         (rint_tonearest_test_data): Likewise.
56870         (rint_towardzero_test_data): Likewise.
56871         (rint_downward_test_data): Likewise.
56872         (rint_upward_test_data): Likewise.
56873         (round_test_data): Likewise.
56874         (scalb_test_data): Likewise.
56875         (scalbn_test_data): Likewise.
56876         (scalbln_test_data): Likewise.
56877         (signbit_test_data): Likewise.
56878         (sin_test_data): Likewise.
56879         (sin_tonearest_test_data): Likewise.
56880         (sin_towardzero_test_data): Likewise.
56881         (sin_downward_test_data): Likewise.
56882         (sin_upward_test_data): Likewise.
56883         (sincos_test_data): Likewise.
56884         (sinh_test_data): Likewise.
56885         (sinh_tonearest_test_data): Likewise.
56886         (sinh_towardzero_test_data): Likewise.
56887         (sinh_downward_test_data): Likewise.
56888         (sinh_upward_test_data): Likewise.
56889         (sqrt_test_data): Likewise.
56890         (tan_test_data): Likewise.
56891         (tan_tonearest_test_data): Likewise.
56892         (tan_towardzero_test_data): Likewise.
56893         (tan_downward_test_data): Likewise.
56894         (tan_upward_test_data): Likewise.
56895         (tanh_test_data): Likewise.
56896         (tgamma_test_data): Likewise.
56897         (trunc_test_data): Likewise.
56898         (y0_test_data): Likewise.
56899         (y1_test_data): Likewise.
56900         (yn_test_data): Likewise.
56901         (significand_test_data): Likewise.
56903         * math/gen-libm-test.pl (@functions): Remove variable.
56904         (generate_testfile): Don't handle START and END lines.
56905         * math/libm-test.inc (START): New macro.
56906         (END): Likewise.
56907         (END_COMPLEX): Likewise.
56908         (acos_test): Use END macro without arguments.
56909         (acos_test_tonearest): Likewise.
56910         (acos_test_towardzero): Likewise.
56911         (acos_test_downward): Likewise.
56912         (acos_test_upward): Likewise.
56913         (acosh_test): Likewise.
56914         (asin_test): Likewise.
56915         (asin_test_tonearest): Likewise.
56916         (asin_test_towardzero): Likewise.
56917         (asin_test_downward): Likewise.
56918         (asin_test_upward): Likewise.
56919         (asinh_test): Likewise.
56920         (atan_test): Likewise.
56921         (atanh_test): Likewise.
56922         (atan2_test): Likewise.
56923         (cabs_test): Likewise.
56924         (cacos_test): Use END_COMPLEX macro without arguments.
56925         (cacosh_test): Likewise.
56926         (carg_test): Use END macro without arguments.
56927         (casin_test): Use END_COMPLEX macro without arguments.
56928         (casinh_test): Likewise.
56929         (catan_test): Likewise.
56930         (catanh_test): Likewise.
56931         (cbrt_test): Use END macro without arguments.
56932         (ccos_test): Use END_COMPLEX macro without arguments.
56933         (ccosh_test): Likewise.
56934         (ceil_test): Use END macro without arguments.
56935         (cexp_test): Use END_COMPLEX macro without arguments.
56936         (cimag_test): Use END macro without arguments.
56937         (clog_test): Use END_COMPLEX macro without arguments.
56938         (clog10_test): Likewise.
56939         (conj_test): Likewise.
56940         (copysign_test): Use END macro without arguments.
56941         (cos_test): Likewise.
56942         (cos_test_tonearest): Likewise.
56943         (cos_test_towardzero): Likewise.
56944         (cos_test_downward): Likewise.
56945         (cos_test_upward): Likewise.
56946         (cosh_test): Likewise.
56947         (cosh_test_tonearest): Likewise.
56948         (cosh_test_towardzero): Likewise.
56949         (cosh_test_downward): Likewise.
56950         (cosh_test_upward): Likewise.
56951         (cpow_test): Use END_COMPLEX macro without arguments.
56952         (cproj_test): Likewise.
56953         (creal_test): Use END macro without arguments.
56954         (csin_test): Use END_COMPLEX macro without arguments.
56955         (csinh_test): Likewise.
56956         (csqrt_test): Likewise.
56957         (ctan_test): Likewise.
56958         (ctan_test_tonearest): Likewise.
56959         (ctan_test_towardzero): Likewise.
56960         (ctan_test_downward): Likewise.
56961         (ctan_test_upward): Likewise.
56962         (ctanh_test): Likewise.
56963         (ctanh_test_tonearest): Likewise.
56964         (ctanh_test_towardzero): Likewise.
56965         (ctanh_test_downward): Likewise.
56966         (ctanh_test_upward): Likewise.
56967         (erf_test): Use END macro without arguments.
56968         (erfc_test): Likewise.
56969         (exp_test): Likewise.
56970         (exp_test_tonearest): Likewise.
56971         (exp_test_towardzero): Likewise.
56972         (exp_test_downward): Likewise.
56973         (exp_test_upward): Likewise.
56974         (exp10_test): Likewise.
56975         (exp2_test): Likewise.
56976         (expm1_test): Likewise.
56977         (fabs_test): Likewise.
56978         (fdim_test): Likewise.
56979         (finite_test): Likewise.
56980         (floor_test): Likewise.
56981         (fma_test): Likewise.
56982         (fma_test_towardzero): Likewise.
56983         (fma_test_downward): Likewise.
56984         (fma_test_upward): Likewise.
56985         (fmax_test): Likewise.
56986         (fmin_test): Likewise.
56987         (fmod_test): Likewise.
56988         (fpclassify_test): Likewise.
56989         (frexp_test): Likewise.
56990         (gamma_test): Likewise.
56991         (hypot_test): Likewise.
56992         (ilogb_test): Likewise.
56993         (isfinite_test): Likewise.
56994         (isgreater_test): Likewise.
56995         (isgreaterequal_test): Likewise.
56996         (isinf_test): Likewise.
56997         (isless_test): Likewise.
56998         (islessequal_test): Likewise.
56999         (islessgreater_test): Likewise.
57000         (isnan_test): Likewise.
57001         (isnormal_test): Likewise.
57002         (issignaling_test): Likewise.
57003         (isunordered_test): Likewise.
57004         (j0_test): Likewise.
57005         (j1_test): Likewise.
57006         (jn_test): Likewise.
57007         (ldexp_test): Likewise.
57008         (lgamma_test): Likewise.
57009         (lrint_test): Likewise.
57010         (lrint_test_tonearest): Likewise.
57011         (lrint_test_towardzero): Likewise.
57012         (lrint_test_downward): Likewise.
57013         (lrint_test_upward): Likewise.
57014         (llrint_test): Likewise.
57015         (llrint_test_tonearest): Likewise.
57016         (llrint_test_towardzero): Likewise.
57017         (llrint_test_downward): Likewise.
57018         (llrint_test_upward): Likewise.
57019         (log_test): Likewise.
57020         (log10_test): Likewise.
57021         (log1p_test): Likewise.
57022         (log2_test): Likewise.
57023         (logb_test): Likewise.
57024         (logb_test_downward): Likewise.
57025         (lround_test): Likewise.
57026         (llround_test): Likewise.
57027         (modf_test): Likewise.
57028         (nearbyint_test): Likewise.
57029         (nextafter_test): Likewise.
57030         (nexttoward_test): Likewise.
57031         (pow_test): Likewise.
57032         (pow_test_tonearest): Likewise.
57033         (pow_test_towardzero): Likewise.
57034         (pow_test_downward): Likewise.
57035         (pow_test_upward): Likewise.
57036         (remainder_test): Likewise.
57037         (remainder_test_tonearest): Likewise.
57038         (remainder_test_towardzero): Likewise.
57039         (remainder_test_downward): Likewise.
57040         (remainder_test_upward): Likewise.
57041         (remquo_test): Likewise.
57042         (rint_test): Likewise.
57043         (rint_test_tonearest): Likewise.
57044         (rint_test_towardzero): Likewise.
57045         (rint_test_downward): Likewise.
57046         (rint_test_upward): Likewise.
57047         (round_test): Likewise.
57048         (scalb_test): Likewise.
57049         (scalbn_test): Likewise.
57050         (scalbln_test): Likewise.
57051         (signbit_test): Likewise.
57052         (sin_test): Likewise.
57053         (sin_test_tonearest): Likewise.
57054         (sin_test_towardzero): Likewise.
57055         (sin_test_downward): Likewise.
57056         (sin_test_upward): Likewise.
57057         (sincos_test): Likewise.
57058         (sinh_test): Likewise.
57059         (sinh_test_tonearest): Likewise.
57060         (sinh_test_towardzero): Likewise.
57061         (sinh_test_downward): Likewise.
57062         (sinh_test_upward): Likewise.
57063         (sqrt_test): Likewise.
57064         (tan_test): Likewise.
57065         (tan_test_tonearest): Likewise.
57066         (tan_test_towardzero): Likewise.
57067         (tan_test_downward): Likewise.
57068         (tan_test_upward): Likewise.
57069         (tanh_test): Likewise.
57070         (tgamma_test): Likewise.
57071         (trunc_test): Likewise.
57072         (y0_test): Likewise.
57073         (y1_test): Likewise.
57074         (yn_test): Likewise.
57075         (significand_test): Likewise.
57077 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57079         [BZ #15381]
57080         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57082 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57084         [BZ #14894]
57085         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57086         __ppc_mdoio and __ppc_mdoom.
57087         * manual/platform.texi: Document new functions __ppc_yield,
57088         __ppc_mdoio and __ppc_mdoom.
57090 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57092         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57093         (main): Mention "tls" pseudo-hwcap is legacy.
57094         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57096 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57098         * math/gen-libm-test.pl (parse_args): Output only string of
57099         arguments as text for test name, not full call or descriptions of
57100         tests for extra outputs.
57101         (generate_testfile): Do not pass function name to parse_args.
57102         Generate this_func variable from START.
57103         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57104         field to arg_str.
57105         (struct test_ff_f_data): Likewise.
57106         (test_ff_f_data_nexttoward): Likewise.
57107         (struct test_fi_f_data): Likewise.
57108         (struct test_fl_f_data): Likewise.
57109         (struct test_if_f_data): Likewise.
57110         (struct test_fff_f_data): Likewise.
57111         (struct test_c_f_data): Likewise.
57112         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57113         (struct test_fF_f1_data): Likewise.
57114         (struct test_ffI_f1_data): Likewise.
57115         (struct test_c_c_data): Rename test_name field to arg_str.
57116         (struct test_cc_c_data): Likewise.
57117         (struct test_f_i_data): Likewise.
57118         (struct test_ff_i_data): Likewise.
57119         (struct test_f_l_data): Likewise.
57120         (struct test_f_L_data): Likewise.
57121         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57122         and extra2_name.
57123         (COMMON_TEST_SETUP): New macro.
57124         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57125         (COMMON_TEST_CLEANUP): Likewise.
57126         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57127         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57128         macros.
57129         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57130         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57131         macros.
57132         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57133         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57134         cleanup macros.
57135         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57136         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57137         macros.
57138         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57139         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57140         macros.
57141         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57142         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57143         cleanup macros.
57144         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57145         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57146         cleanup macros.
57147         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57148         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57149         cleanup macros.
57150         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57151         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57152         macros.
57153         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57154         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57155         macros.
57156         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57157         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57158         macros.
57159         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57160         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57161         cleanup macros.
57162         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57163         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57164         cleanup macros.
57165         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57166         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57167         macros.
57168         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57169         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57170         cleanup macros.
57171         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57172         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57173         macros.
57174         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57175         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57176         macros.
57177         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57178         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57179         cleanup macros.
57180         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57182 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57184         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57185         to _sifields.sigfault.
57186         (si_addr_lsb): Define new macro.
57187         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57189         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57191 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57193         [BZ #15441]
57194         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57195         returns -1.
57196         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57197         null return -1.
57198         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57199         loading the domain.
57201 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57203         * math/gen-libm-test.pl (parse_args): Do not include expected
57204         result in test name.
57205         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57207         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57208         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57209         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57212 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57214         * benchtests/Makefile: Sort function entries.
57216         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57217         tanh, asinh, acosh, atanh.
57218         * benchtests/acos-inputs: New file.
57219         * benchtests/acosh-inputs: New file.
57220         * benchtests/asin-inputs: New file.
57221         * benchtests/asinh-inputs: New file.
57222         * benchtests/atanh-inputs: New file.
57223         * benchtests/cosh-inputs: New file.
57224         * benchtests/log-inputs: New file.
57225         * benchtests/sinh-inputs: New file.
57226         * benchtests/tanh-inputs: New file.
57228 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57230         [BZ #15339]
57231         * posix/tst-getaddrinfo4.c: New test.
57232         * posix/Makefile (tests): Add it.
57234 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57236         [BZ #15339]
57237         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57238         when no services were used.
57239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57240         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57242 2013-05-21  Andreas Schwab  <schwab@suse.de>
57244         [BZ #15014]
57245         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57246         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57247         successful.
57248         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57249         redundant variable declarations and reallocation of buffer when
57250         parsing as IPv6 address.  Always set NSS status when called from
57251         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57252         buffer too small.  Correct computation of needed size.
57253         * nss/Makefile (tests): Add test-digits-dots.
57254         * nss/test-digits-dots.c: New test.
57256 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57258         * benchtests/Makefile: Remove instructions for adding
57259         benchmark tests.
57260         * benchtests/README: New file to explain how to execute and
57261         enhance the benchmark tests.
57263 2013-05-21  Andreas Schwab  <schwab@suse.de>
57265         [BZ #15493]
57266         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57267         * setjmp/tst-sigsetjmp.c: New test.
57269 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57271         * sysdeps/x86_64/memset.S (memset): New implementation.
57272         (__bzero): Likewise.
57273         (__memset_tail): New function.
57275 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57277         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57278         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57279         __memcpy_sse2_unaligned ifunc selection.
57280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57281         Add memcpy-sse2-unaligned.S.
57282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57283         Add: __memcpy_sse2_unaligned.
57285 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57287         [BZ #15490]
57288         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57289         math_force_eval before restoring floating-point envrionment.
57290         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57291         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57292         Likewise.
57293         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57294         <math_private.h>.
57295         (__nearbyintl): Use math_force_eval before restoring
57296         floating-point environment.
57297         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57299         * math/gen-libm-test.pl (special_functions): Remove.
57300         (parse_args): Don't handle TEST_extra.  Handle functions with no
57301         return value.
57302         * math/libm-test.inc (struct test_sincos_data): Replace with
57303         struct test_fFF_11_data.
57304         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57305         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57306         (sincos_test_data): Change element type to struct
57307         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57308         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57309         RUN_TEST_LOOP_sincos.
57310         * math/README.libm-test: Don't mention special handling of
57311         individual functions.
57312         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57314         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57315         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57316         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57319         * math/gen-libm-test.pl (get_variable): Remove function.
57320         (parse_args): Don't show pointer parameters to call in test
57321         names.  Use "extra output N" in test names for extra outputs
57322         rather than naming variables.
57324 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57326         [BZ #15488]
57327         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57328         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57329         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57330         double tests.
57331         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57332         disable.
57333         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57334         check_long_double.
57336         * math/gen-libm-test.pl (@tests): Remove variable.
57337         ($count): Likewise.
57338         (new_test): Remove function.
57339         (show_exceptions): New function.
57340         (special_functions): Use show_exceptions instead of new_test.
57341         (parse_args): Likewise.
57342         (generate_testfile): Pass only function name in generated call to
57343         print_max_error or print_complex_max_error.
57344         (get_ulps): Do not handle complex tests specially.
57345         (output_test): Rename to ...
57346         (get_all_ulps_for_test): ... this.  Return a string rather than
57347         printing to a file.  Require ulps to be present.
57348         (output_ulps): Generate arrays rather than #defines.
57349         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57350         (struct ulp_data): New type.
57351         (BUILD_COMPLEX_ULP): Remove macro.
57352         (compare_ulp_data): New function.
57353         (find_ulps): Likewise.
57354         (find_test_ulps): Likewise.
57355         (find_function_ulps): Likewise.
57356         (find_complex_function_ulps): Likewise.
57357         (print_max_error): Determine allowed ulps using
57358         find_function_ulps.
57359         (print_complex_max_error): Determine allowed ulps using
57360         find_complex_function_ulps.
57361         (check_float_internal): Determine max ulps using find_test_ulps.
57362         (check_float): Do not take max_ulp parameter.  Update call to
57363         check_float_internal.
57364         (check_complex): Likewise.
57365         (check_int): Do not take max_ulp parameter.
57366         (check_long): Likewise.
57367         (check_bool): Likewise.
57368         (check_longlong): Likewise.
57369         (struct test_f_f_data): Remove max_ulp field.
57370         (struct test_ff_f_data): Likewise.
57371         (struct test_ff_f_data_nexttoward): Likewise.
57372         (struct test_fi_f_data): Likewise.
57373         (struct test_fl_f_data): Likewise.
57374         (struct test_if_f_data): Likewise.
57375         (struct test_fff_f_data): Likewise.
57376         (struct test_c_f_data): Likewise.
57377         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
57378         (struct test_fF_f1_data): Likewise.
57379         (struct test_ffI_f1_data): Likewise.
57380         (struct test_c_c_data): Remove max_ulp field.
57381         (struct test_cc_c_data): Likewise.
57382         (struct test_f_i_data): Likewise.
57383         (struct test_ff_i_data): Likewise.
57384         (struct test_f_l_data): Likewise.
57385         (struct test_f_L_data): Likewise.
57386         (struct test_sincos_data): Likewise.
57387         (RUN_TEST_f_f): Do not handle ulps.
57388         (RUN_TEST_LOOP_f_f): Likewise.
57389         (RUN_TEST_2_f): Likewise.
57390         (RUN_TEST_LOOP_2_f): Likewise.
57391         (RUN_TEST_fff_f): Likewise.
57392         (RUN_TEST_LOOP_fff_f): Likewise.
57393         (RUN_TEST_c_f): Likewise.
57394         (RUN_TEST_LOOP_c_f): Likewise.
57395         (RUN_TEST_f_f1): Likewise.
57396         (RUN_TEST_LOOP_f_f1): Likewise.
57397         (RUN_TEST_fF_f1): Likewise.
57398         (RUN_TEST_LOOP_fF_f1): Likewise.
57399         (RUN_TEST_fI_f1): Likewise.
57400         (RUN_TEST_LOOP_fI_f1): Likewise.
57401         (RUN_TEST_ffI_f1): Likewise.
57402         (RUN_TEST_LOOP_ffI_f1): Likewise.
57403         (RUN_TEST_c_c): Likewise.
57404         (RUN_TEST_LOOP_c_c): Likewise.
57405         (RUN_TEST_cc_c): Likewise.
57406         (RUN_TEST_LOOP_cc_c): Likewise.
57407         (RUN_TEST_f_i): Likewise.
57408         (RUN_TEST_LOOP_f_i): Likewise.
57409         (RUN_TEST_f_i_tg): Likewise.
57410         (RUN_TEST_LOOP_f_i_tg): Likewise.
57411         (RUN_TEST_ff_i_tg): Likewise.
57412         (RUN_TEST_LOOP_ff_i_tg): Likewise.
57413         (RUN_TEST_f_b): Likewise.
57414         (RUN_TEST_LOOP_f_b): Likewise.
57415         (RUN_TEST_f_b_tg): Likewise.
57416         (RUN_TEST_LOOP_f_b_tg): Likewise.
57417         (RUN_TEST_f_l): Likewise.
57418         (RUN_TEST_LOOP_f_l): Likewise.
57419         (RUN_TEST_f_L): Likewise.
57420         (RUN_TEST_LOOP_f_L): Likewise.
57421         (RUN_TEST_sincos): Likewise.
57422         (RUN_TEST_LOOP_sincos): Likewise.
57424 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
57426         [BZ #15480]
57427         [BZ #15485]
57428         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
57429         main case of finite arguments, set rounding mode to FE_TONEAREST
57430         and discard exceptions.
57431         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
57432         exceptions.
57433         (remainder_tonearest_test_data): New variable.
57434         (remainder_test_tonearest): New function.
57435         (remainder_towardzero_test_data): New variable.
57436         (remainder_test_towardzero): New function.
57437         (remainder_downward_test_data): New variable.
57438         (remainder_test_downward): New function.
57439         (remainder_upward_test_data): New variable.
57440         (remainder_test_upward): New function.
57441         (main): Call the new test functions.
57443         * math/libm-test.inc (struct test_f_f1_data): Remove field
57444         extra_init.
57445         (struct test_fF_f1_data): Likewise.
57446         (struct test_ffI_f1_data): Likewise.
57447         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
57448         based on value of EXTRA_EXPECTED.
57449         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57450         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
57451         EXTRA_VAR based on value of EXTRA_EXPECTED.
57452         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57453         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
57454         EXTRA_VAR based on value of EXTRA_EXPECTED.
57455         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57456         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
57457         EXTRA_VAR based on value of EXTRA_EXPECTED.
57458         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57459         * math/gen-libm-test.pl (parse_args): Don't output initializers
57460         for extra output values.
57462         * math/libm-test.inc (check_int): Expect result to be exactly
57463         equal to expected value and do not handle ulps.
57464         (check_long): Likewise.
57465         (check_longlong): Likewise.
57467         * math/libm-test.inc (ceil_test_data): Test for "inexact"
57468         exceptions.
57469         (cimag_test_data): Likewise.
57470         (conj_test_data): Likewise.
57471         (copysign_test_data): Likewise.
57472         (cproj_test_data): Likewise.
57473         (creal_test_data): Likewise.
57474         (fabs_test_data): Likewise.
57475         (fdim_test_data): Likewise.
57476         (finite_test_data): Likewise.
57477         (floor_test_data): Likewise.
57478         (fmax_test_data): Likewise.
57479         (fmin_test_data): Likewise.
57480         (fmod_test_data): Likewise.
57481         (fpclassify_test_data): Likewise.
57482         (frexp_test_data): Likewise.
57483         (ilogb_test_data): Likewise.
57484         (isfinite_test_data): Likewise.
57485         (isgreater_test_data): Likewise.
57486         (isgreaterequal_test_data): Likewise.
57487         (isinf_test_data): Likewise.
57488         (isless_test_data): Likewise.
57489         (islessequal_test_data): Likewise.
57490         (islessgreater_test_data): Likewise.
57491         (isnan_test_data): Likewise.
57492         (isnormal_test_data): Likewise.
57493         (issignaling_test_data): Likewise.
57494         (isunordered_test_data): Likewise.
57495         (ldexp_test_data): Likewise.
57496         (lrint_test_data): Likewise.
57497         (lrint_test_data) [TEST_FLOAT]: Disable one test.
57498         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
57499         (lrint_tonearest_test_data): Test for "inexact" exceptions.
57500         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57501         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
57502         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57503         test input.
57504         (lrint_towardzero_test_data): Test for "inexact" exceptions.
57505         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57506         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
57507         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
57508         that test input.
57509         (lrint_downward_test_data): Test for "inexact" exceptions.
57510         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57511         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
57512         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57513         test input.
57514         (lrint_upward_test_data): Test for "inexact" exceptions.
57515         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
57516         test input.
57517         (llrint_test_data): Test for "inexact" exceptions.
57518         (llrint_test_data) [TEST_FLOAT]: Disable one test.
57519         (llrint_tonearest_test_data): Test for "inexact" exceptions.
57520         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57521         (llrint_towardzero_test_data): Test for "inexact" exceptions.
57522         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57523         (llrint_downward_test_data): Test for "inexact" exceptions.
57524         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57525         (llrint_upward_test_data): Test for "inexact" exceptions.
57526         (logb_test_data): Likewise.
57527         (logb_downward_test_data): Likewise.
57528         (nextafter_test_data): Likewise.
57529         (nexttoward_test_data): Likewise.
57530         (remainder_test_data): Likewise.
57531         (remquo_test_data): Likewise.
57532         (scalbn_test_data): Likewise.
57533         (scalbln_test_data): Likewise.
57534         (signbit_test_data): Likewise.
57535         (sqrt_test_data): Likewise.
57536         (significand_test_data): Likewise.
57538 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57540         [BZ #15424]
57541         * benchtests/bench-modf.c (struct args): Mark arg0 as
57542         volatile.
57543         * scripts/bench.pl: Mark members of struct args as volatile.
57545 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57547         [BZ # 15497]
57548         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
57549         negative infinity on POWER6 or lower.
57550         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
57552 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
57554         [BZ #15442]
57555         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
57556         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
57557         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
57558         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
57559         (_FP_SETQNAN): New macro.
57560         (_FP_SETQNAN_SEMIRAW): Likewise.
57561         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
57562         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
57563         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
57564         (FP_EXTEND): Use _FP_FRAC_SNANP.
57565         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
57566         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
57567         into account.
57568         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57569         New macro.
57570         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57571         Likewise.
57573 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57575         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
57576         with DIVIDE_BY_ZERO_EXCEPTION.
57577         (gamma_test_data): Likewise.
57578         (lgamma_test_data): Likewise.
57579         (log_test_data): Likewise.
57580         (log10_test_data): Likewise.
57581         (log2_test_data): Likewise.
57582         (tgamma_test_data): Likewise.
57584         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
57585         (acos_test_tonearest): Likewise.
57586         (acos_test_towardzero): Likewise.
57587         (acos_test_downward): Likewise.
57588         (acos_test_upward): Likewise.
57589         (acosh_test): Likewise.
57590         (asin_test): Likewise.
57591         (asin_test_tonearest): Likewise.
57592         (asin_test_towardzero): Likewise.
57593         (asin_test_downward): Likewise.
57594         (asin_test_upward): Likewise.
57595         (asinh_test): Likewise.
57596         (atan_test): Likewise.
57597         (atanh_test): Likewise.
57598         (atan2_test): Likewise.
57599         (cabs_test): Likewise.
57600         (cacos_test): Likewise.
57601         (cacosh_test): Likewise.
57602         (casin_test): Likewise.
57603         (casinh_test): Likewise.
57604         (catan_test): Likewise.
57605         (catanh_test): Likewise.
57606         (cbrt_test): Likewise.
57607         (ccos_test): Likewise.
57608         (ccosh_test): Likewise.
57609         (cexp_test): Likewise.
57610         (clog_test): Likewise.
57611         (clog10_test): Likewise.
57612         (cos_test): Likewise.
57613         (cos_test_tonearest): Likewise.
57614         (cos_test_towardzero): Likewise.
57615         (cos_test_downward): Likewise.
57616         (cos_test_upward): Likewise.
57617         (cosh_test): Likewise.
57618         (cosh_test_tonearest): Likewise.
57619         (cosh_test_towardzero): Likewise.
57620         (cosh_test_downward): Likewise.
57621         (cosh_test_upward): Likewise.
57622         (cpow_test): Likewise.
57623         (csin_test): Likewise.
57624         (csinh_test): Likewise.
57625         (csqrt_test): Likewise.
57626         (ctan_test): Likewise.
57627         (ctan_test_tonearest): Likewise.
57628         (ctan_test_towardzero): Likewise.
57629         (ctan_test_downward): Likewise.
57630         (ctan_test_upward): Likewise.
57631         (ctanh_test): Likewise.
57632         (ctanh_test_tonearest): Likewise.
57633         (ctanh_test_towardzero): Likewise.
57634         (ctanh_test_downward): Likewise.
57635         (ctanh_test_upward): Likewise.
57636         (erf_test): Likewise.
57637         (erfc_test): Likewise.
57638         (exp_test): Likewise.
57639         (exp_test_tonearest): Likewise.
57640         (exp_test_towardzero): Likewise.
57641         (exp_test_downward): Likewise.
57642         (exp_test_upward): Likewise.
57643         (exp10_test): Likewise.
57644         (exp2_test): Likewise.
57645         (expm1_test): Likewise.
57646         (fmod_test): Likewise.
57647         (gamma_test): Likewise.
57648         (hypot_test): Likewise.
57649         (j0_test): Likewise.
57650         (j1_test): Likewise.
57651         (jn_test): Likewise.
57652         (lgamma_test): Likewise.
57653         (log_test): Likewise.
57654         (log10_test): Likewise.
57655         (log1p_test): Likewise.
57656         (log2_test): Likewise.
57657         (logb_test_downward): Likewise.
57658         (pow_test): Likewise.
57659         (pow_test_tonearest): Likewise.
57660         (pow_test_towardzero): Likewise.
57661         (pow_test_downward): Likewise.
57662         (pow_test_upward): Likewise.
57663         (remainder_test): Likewise.
57664         (remquo_test): Likewise.
57665         (sin_test): Likewise.
57666         (sin_test_tonearest): Likewise.
57667         (sin_test_towardzero): Likewise.
57668         (sin_test_downward): Likewise.
57669         (sin_test_upward): Likewise.
57670         (sincos_test): Likewise.
57671         (sinh_test): Likewise.
57672         (sinh_test_tonearest): Likewise.
57673         (sinh_test_towardzero): Likewise.
57674         (sinh_test_downward): Likewise.
57675         (sinh_test_upward): Likewise.
57676         (sqrt_test): Likewise.
57677         (tan_test): Likewise.
57678         (tan_test_tonearest): Likewise.
57679         (tan_test_towardzero): Likewise.
57680         (tan_test_downward): Likewise.
57681         (tan_test_upward): Likewise.
57682         (tanh_test): Likewise.
57683         (tgamma_test): Likewise.
57684         (y0_test): Likewise.
57685         (y1_test): Likewise.
57686         (yn_test): Likewise.
57688         * math/gen-libm-test.pl (adjust_arg): Remove function.
57689         (special_function): Remove argument $in_func.  Only handle
57690         generating output for tables of tests, not inside functions.
57691         (parse_args): Likewise.
57692         (generate_testfile): Remove variable $in_func.  Update call to
57693         parse_args.
57694         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
57695         (MINUS_ZERO_INIT): Rename macro to minus_zero.
57696         (PLUS_INFTY_INIT): Rename macro to plus_infty.
57697         (MINUS_INFTY_INIT): Rename macro to minus_infty.
57698         (QNAN_VALUE_INIT): Rename macro to qnan_value.
57699         (MAX_VALUE_INIT): Rename macro to max_value.
57700         (MIN_VALUE_INIT): Rename macro to min_value.
57701         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
57702         (plus_zero): Remove variable.
57703         (minus_zero): Likewise.
57704         (plus_infty): Likewise.
57705         (minus_infty): Likewise.
57706         (qnan_value): Likewise.
57707         (max_value): Likewise.
57708         (min_value): Likewise.
57709         (min_subnorm_value): Likewise.
57711 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57713         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
57714         uint64_t or uint32_t usage.
57715         * crypt/sha256-block.c: Likewise.
57716         * crypt/sha256-crypt.c: Likewise.
57717         * crypt/sha256.c: Likewise.
57718         * crypt/sha512-block.c: Likewise.
57719         * crypt/sha512-crypt.c: Likewise.
57720         * crypt/sha512.c: Likewise.
57721         * debug/backtrace-tst.c: Likewise.
57722         * debug/pcprofiledump.c: Likewise.
57723         * elf/cache.c: Likewise.
57724         * elf/dl-cache.c: Likewise.
57725         * elf/dl-misc.c: Likewise.
57726         * elf/dl-profile.c: Likewise.
57727         * elf/dl-support.c: Likewise.
57728         * elf/ldconfig.c: Likewise.
57729         * elf/sprof.c: Likewise.
57730         * iconv/dummy-repertoire.c: Likewise.
57731         * iconv/iconv_charmap.c: Likewise.
57732         * iconv/skeleton.c: Likewise.
57733         * iconvdata/8bit-generic.c: Likewise.
57734         * iconvdata/cp737.h: Likewise.
57735         * iconvdata/cp775.h: Likewise.
57736         * iconvdata/ibm1008.h: Likewise.
57737         * iconvdata/ibm1025.h: Likewise.
57738         * iconvdata/ibm1046.h: Likewise.
57739         * iconvdata/ibm1097.h: Likewise.
57740         * iconvdata/ibm1112.h: Likewise.
57741         * iconvdata/ibm1122.h: Likewise.
57742         * iconvdata/ibm1123.h: Likewise.
57743         * iconvdata/ibm1124.h: Likewise.
57744         * iconvdata/ibm1129.h: Likewise.
57745         * iconvdata/ibm1130.h: Likewise.
57746         * iconvdata/ibm1132.h: Likewise.
57747         * iconvdata/ibm1133.h: Likewise.
57748         * iconvdata/ibm1137.h: Likewise.
57749         * iconvdata/ibm1140.h: Likewise.
57750         * iconvdata/ibm1141.h: Likewise.
57751         * iconvdata/ibm1142.h: Likewise.
57752         * iconvdata/ibm1143.h: Likewise.
57753         * iconvdata/ibm1144.h: Likewise.
57754         * iconvdata/ibm1145.h: Likewise.
57755         * iconvdata/ibm1146.h: Likewise.
57756         * iconvdata/ibm1147.h: Likewise.
57757         * iconvdata/ibm1148.h: Likewise.
57758         * iconvdata/ibm1149.h: Likewise.
57759         * iconvdata/ibm1153.h: Likewise.
57760         * iconvdata/ibm1154.h: Likewise.
57761         * iconvdata/ibm1155.h: Likewise.
57762         * iconvdata/ibm1156.h: Likewise.
57763         * iconvdata/ibm1157.h: Likewise.
57764         * iconvdata/ibm1158.h: Likewise.
57765         * iconvdata/ibm1160.h: Likewise.
57766         * iconvdata/ibm1161.h: Likewise.
57767         * iconvdata/ibm1162.h: Likewise.
57768         * iconvdata/ibm1163.h: Likewise.
57769         * iconvdata/ibm1164.h: Likewise.
57770         * iconvdata/ibm1166.h: Likewise.
57771         * iconvdata/ibm1167.h: Likewise.
57772         * iconvdata/ibm12712.h: Likewise.
57773         * iconvdata/ibm1390.h: Likewise.
57774         * iconvdata/ibm1399.h: Likewise.
57775         * iconvdata/ibm16804.h: Likewise.
57776         * iconvdata/ibm4517.h: Likewise.
57777         * iconvdata/ibm4899.h: Likewise.
57778         * iconvdata/ibm4909.h: Likewise.
57779         * iconvdata/ibm4971.h: Likewise.
57780         * iconvdata/ibm5347.h: Likewise.
57781         * iconvdata/ibm803.h: Likewise.
57782         * iconvdata/ibm856.h: Likewise.
57783         * iconvdata/ibm901.h: Likewise.
57784         * iconvdata/ibm902.h: Likewise.
57785         * iconvdata/ibm9030.h: Likewise.
57786         * iconvdata/ibm9066.h: Likewise.
57787         * iconvdata/ibm921.h: Likewise.
57788         * iconvdata/ibm922.h: Likewise.
57789         * iconvdata/ibm9448.h: Likewise.
57790         * iconvdata/isiri-3342.h: Likewise.
57791         * iconvdata/jis0201.h: Likewise.
57792         * include/link.h: Likewise.
57793         * include/netdb.h: Likewise.
57794         * inet/check_native.c: Likewise.
57795         * inet/check_pf.c: Likewise.
57796         * inet/getipv4sourcefilter.c: Likewise.
57797         * inet/getnameinfo.c: Likewise.
57798         * inet/getsourcefilter.c: Likewise.
57799         * inet/htonl.c: Likewise.
57800         * inet/setipv4sourcefilter.c: Likewise.
57801         * inet/setsourcefilter.c: Likewise.
57802         * inet/test-inet6_opt.c: Likewise.
57803         * inet/tst-network.c: Likewise.
57804         * locale/C-collate.c: Likewise.
57805         * locale/C-ctype.c: Likewise.
57806         * locale/C-time.c: Likewise.
57807         * locale/C-translit.h: Likewise.
57808         * locale/loadarchive.c: Likewise.
57809         * locale/programs/3level.h: Likewise.
57810         * locale/programs/charmap.c: Likewise.
57811         * locale/programs/charmap.h: Likewise.
57812         * locale/programs/ld-address.c: Likewise.
57813         * locale/programs/ld-collate.c: Likewise.
57814         * locale/programs/ld-ctype.c: Likewise.
57815         * locale/programs/ld-identification.c: Likewise.
57816         * locale/programs/ld-measurement.c: Likewise.
57817         * locale/programs/ld-messages.c: Likewise.
57818         * locale/programs/ld-monetary.c: Likewise.
57819         * locale/programs/ld-name.c: Likewise.
57820         * locale/programs/ld-numeric.c: Likewise.
57821         * locale/programs/ld-paper.c: Likewise.
57822         * locale/programs/ld-telephone.c: Likewise.
57823         * locale/programs/ld-time.c: Likewise.
57824         * locale/programs/linereader.c: Likewise.
57825         * locale/programs/locale.c: Likewise.
57826         * locale/programs/locarchive.c: Likewise.
57827         * locale/programs/locfile.h: Likewise.
57828         * locale/programs/repertoire.c: Likewise.
57829         * locale/programs/simple-hash.c: Likewise.
57830         * locale/programs/simple-hash.h: Likewise.
57831         * malloc/memusage.c: Likewise.
57832         * malloc/memusagestat.c: Likewise.
57833         * nis/nis_defaults.c: Likewise.
57834         * nis/nis_hash.c: Likewise.
57835         * nis/nis_print.c: Likewise.
57836         * nis/nis_xdr.c: Likewise.
57837         * nscd/connections.c: Likewise.
57838         * nscd/hstcache.c: Likewise.
57839         * nscd/nscd_gethst_r.c: Likewise.
57840         * nscd/nscd_getserv_r.c: Likewise.
57841         * nscd/nscd_helper.c: Likewise.
57842         * nscd/servicescache.c: Likewise.
57843         * nss/makedb.c: Likewise.
57844         * nss/nss_db/db-XXX.c: Likewise.
57845         * nss/nss_db/db-initgroups.c: Likewise.
57846         * nss/nss_db/db-netgrp.c: Likewise.
57847         * nss/nss_files/files-network.c: Likewise.
57848         * nss/nss_files/files-parse.c: Likewise.
57849         * posix/bug-regex5.c: Likewise.
57850         * posix/fnmatch_loop.c: Likewise.
57851         * posix/regcomp.c: Likewise.
57852         * posix/regexec.c: Likewise.
57853         * posix/tst-rfc3484-2.c: Likewise.
57854         * posix/tst-rfc3484-3.c: Likewise.
57855         * posix/tst-rfc3484.c: Likewise.
57856         * resolv/nss_dns/dns-canon.c: Likewise.
57857         * resolv/nss_dns/dns-network.c: Likewise.
57858         * resolv/res_init.c: Likewise.
57859         * resolv/res_mkquery.c: Likewise.
57860         * resolv/tst-aton.c: Likewise.
57861         * stdlib/cxa_atexit.c: Likewise.
57862         * stdlib/cxa_finalize.c: Likewise.
57863         * stdlib/gen-fpioconst.c: Likewise.
57864         * stdlib/strtol_l.c: Likewise.
57865         * string/tst-endian.c: Likewise.
57866         * sunrpc/auth_des.c: Likewise.
57867         * sunrpc/clnt_udp.c: Likewise.
57868         * sunrpc/rtime.c: Likewise.
57869         * sunrpc/svcauth_des.c: Likewise.
57870         * sunrpc/xdr.c: Likewise.
57871         * sunrpc/xdr_intXX_t.c: Likewise.
57872         * sunrpc/xdr_rec.c: Likewise.
57873         * sysdeps/generic/ldconfig.h: Likewise.
57874         * sysdeps/generic/ldsodefs.h: Likewise.
57875         * sysdeps/generic/memusage.h: Likewise.
57876         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57877         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
57878         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
57879         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57882         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57883         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57884         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57886         * sysdeps/posix/getaddrinfo.c: Likewise.
57887         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57888         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57889         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57890         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57891         * sysdeps/powerpc/test-gettimebase.c: Likewise.
57892         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57893         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
57894         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
57895         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
57896         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
57897         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57898         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57899         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
57900         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
57901         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
57902         * sysdeps/x86_64/dl-tls.h: Likewise.
57903         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
57904         * time/alt_digit.c: Likewise.
57905         * time/era.c: Likewise.
57906         * wcsmbs/tst-c16c32-1.c: Likewise.
57908 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57910         * math/libm-test.inc (struct test_sincos_data): New type.
57911         (RUN_TEST_LOOP_sincos): New macro.
57912         (sincos_test_data): New variable.
57913         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
57915 2013-05-16  Richard Henderson  <rth@redhat.com>
57917         * math/atest-exp2.c (LIMB64): New macro.
57918         (CONSTSZ): New macro.
57919         (mp_exp1, mp_exp_m1, mp_log2): New variables.
57920         (hexdig): Move ...
57921         (print_mpn_fp): ... to function scope.
57922         (read_mpn_hex): Remove.
57923         (get_log2): Remove.
57924         (exp2_mpn): Use mp_log2.
57925         (main): Use mp_exp1.
57927 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57929         * math/libm-test.inc: Remove comment about not testing "inexact"
57930         exceptions.
57931         (INEXACT_EXCEPTION): New macro.
57932         (NO_INEXACT_EXCEPTION): Likewise.
57933         (INVALID_EXCEPTION_OK): Update value.
57934         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57935         (OVERFLOW_EXCEPTION_OK): Likewise.
57936         (UNDERFLOW_EXCEPTION_OK): Likewise.
57937         (IGNORE_ZERO_INF_SIGN): Likewise.
57938         (ERRNO_UNCHANGED): Likewise.
57939         (ERRNO_EDOM): Likewise.
57940         (ERRNO_ERANGE): Likewise.
57941         (test_exceptions): Handle testing "inexact" exceptions.
57942         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
57943         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
57944         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
57945         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
57946         INEXACT_EXCEPTION.
57947         (rint_towardzero_test_data): Likewise.
57948         (rint_downward_test_data): Likewise.
57949         (rint_upward_test_data): Likewise.
57951         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
57952         with OVERFLOW_EXCEPTION.
57953         (exp10_test_data): Likewise.
57954         (exp2_test_data): Likewise.
57955         (expm1_test_data): Likewise.
57956         (lgamma_test_data): Likewise.
57957         (pow_test_data): Likewise.
57958         (tgamma_test_data): Likewise.
57959         (yn_test_data): Remove duplicate test of overflow.
57961         * math/libm-test.inc (struct test_cc_c_data): New type.
57962         (RUN_TEST_LOOP_cc_c): New macro.
57963         (cpow_test_data): New variable.
57964         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
57966         * math/libm-test.inc (struct test_f_L_data): New type.
57967         (RUN_TEST_LOOP_f_L): New macro.
57968         (llrint_test_data): New variable.
57969         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
57970         (llrint_tonearest_test_data): New variable.
57971         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
57972         (llrint_towardzero_test_data): New variable.
57973         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
57974         (llrint_downward_test_data): New variable.
57975         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
57976         (llrint_upward_test_data): New variable.
57977         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
57978         (llround_test_data): New variable.
57979         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
57981 2013-05-13  Peter Collingbourne  <pcc@google.com>
57983         * math/atest-exp2.c (get_log2): Remove const attribute.
57985 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
57987         * math/libm-test.inc (struct test_f_l_data): New type.
57988         (RUN_TEST_LOOP_f_l): New macro.
57989         (lrint_test_data): New variable.
57990         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
57991         (lrint_tonearest_test_data): New variable.
57992         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
57993         (lrint_towardzero_test_data): New variable.
57994         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
57995         (lrint_downward_test_data): New variable.
57996         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
57997         (lrint_upward_test_data): New variable.
57998         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
57999         (lround_test_data): New variable.
58000         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58002 2013-05-15  Peter Collingbourne  <pcc@google.com>
58004         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58005         (EXTRACT_WORDS64) Use where appropriate.
58006         (INSERT_WORDS64) Likewise.
58008         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58009         constraints with x constraints.
58010         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58012         * malloc/obstack.c (_obstack_compat): Add initializer.
58014 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58016         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58017         si_trapno and add si_addr_lsb to _sifields.sigfault.
58018         (si_trapno): Remove macro.
58019         (si_addr_lsb): Define new macro.
58020         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58022 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58024         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58025         instead of TEST_f_l.
58026         (llrint_test_tonearest): Likewise.
58027         (llrint_test_towardzero): Likewise.
58028         (llrint_test_downward): Likewise.
58029         (llrint_test_upward): Likewise.
58030         (llround_test): Likewise.
58032         * math/libm-test.inc (struct test_f_i_data): Add comment.
58033         (RUN_TEST_LOOP_f_b): New macro.
58034         (RUN_TEST_LOOP_f_b_tg): Likewise.
58035         (finite_test_data): New variable.
58036         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58037         (isfinite_test_data): New variable.
58038         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58039         (isinf_test_data): New variable.
58040         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58041         (isnan_test_data): New variable.
58042         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58043         (isnormal_test_data): New variable.
58044         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58045         (issignaling_test_data): New variable.
58046         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58047         (signbit_test_data): New variable.
58048         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58050         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58051         with INVALID_EXCEPTION.
58052         (acosh_test_data): Likewise.
58053         (asin_test_data): Likewise.
58054         (atanh_test_data): Likewise.
58055         (fmod_test_data): Likewise.
58056         (log_test_data): Likewise.
58057         (log10_test_data): Likewise.
58058         (log2_test_data): Likewise.
58059         (pow_test_data): Likewise.
58060         (sqrt_test_data): Likewise.
58061         (y0_test_data): Likewise.
58062         (y1_test_data): Likewise.
58063         (yn_test_data): Likewise.
58065         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58066         function contents.
58068         * math/libm-test.inc (struct test_ff_i_data): New type.
58069         (RUN_TEST_LOOP_ff_i_tg): New macro.
58070         (isgreater_test_data): New variable.
58071         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58072         (isgreaterequal_test_data): New variable.
58073         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58074         (isless_test_data): New variable.
58075         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58076         (islessequal_test_data): New variable.
58077         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58078         (islessgreater_test_data): New variable.
58079         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58080         (isunordered_test_data): New variable.
58081         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58083 2013-05-14  David S. Miller  <davem@davemloft.net>
58085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58087 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58089         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58091         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58092         extra_test to int.
58093         (struct test_f_i_data): Change type of max_ulp to int.
58095         * math/libm-test.inc (test_ffI_f1_data): New type.
58096         (RUN_TEST_LOOP_ffI_f1): New macro.
58097         (remquo_test_data): New variable.
58098         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58100         * setjmp/tst-setjmp-fp.c: New file.
58101         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58102         (link-libm): New variable.
58103         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58105         * math/libm-test.inc (struct test_f_i_data): New type.
58106         (RUN_TEST_LOOP_f_i): New macro.
58107         (RUN_TEST_LOOP_f_i_tg): Likewise.
58108         (fpclassify_test_data): New variable.
58109         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58110         (ilogb_test_data): New variable.
58111         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58113         * math/libm-test.inc (scalbln_test): Correct function name in END
58114         call.
58116         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58117         (RUN_TEST_LOOP_fI_f1): New macro.
58118         (frexp_test_data): New variable.
58119         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58121         * math/libm-test.inc (struct test_fF_f1_data): New type.
58122         (RUN_TEST_LOOP_fF_f1): New macro.
58123         (modf_test_data): New variable.
58124         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58126         * math/libm-test.inc (struct test_f_f1_data): New type.
58127         (RUN_TEST_LOOP_f_f1): New macro.
58128         (gamma_test_data): New variable.
58129         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58130         (lgamma_test_data): New variable.
58131         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58133 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58135         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58136         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58137         (main): Comment "tls" pseudo-hwcap.
58139 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58141         * math/libm-test.inc (struct test_fl_f_data): New type.
58142         (RUN_TEST_LOOP_fl_f): New variable.
58143         (scalbln_test_data): New variable.
58144         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58146         * math/libm-test.inc (struct test_fi_f_data): New type.
58147         (RUN_TEST_LOOP_fi_f): New macro.
58148         (ldexp_test_data): New variable.
58149         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58150         (scalbn_test_data): New variable.
58151         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58153         * math/libm-test.inc (struct test_c_f_data): New type.
58154         (RUN_TEST_LOOP_c_f): New macro.
58155         (cabs_test_data): New variable.
58156         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58157         (carg_test_data): New variable.
58158         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58159         (cimag_test_data): New variable.
58160         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58161         (creal_test_data): New variable.
58162         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58164         * math/libm-test.inc (struct test_if_f_data): New type.
58165         (RUN_TEST_LOOP_if_f): New macro.
58166         (jn_test_data): New variable.
58167         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58168         (yn_test_data): New variable.
58169         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58171         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58173 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58175         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58176         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58178 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58180         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58181         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58182         (bench-deps): Add bench-timing.h.
58183         * benchtests-bench-skeleton.c: Include bench-timing.h.
58184         (main): Use TIMING_* macros instead of clock_gettime.
58185         * benchtests/bench-timing.h: New file.
58187         [BZ #14582]
58188         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58189         Renamed from _LIB_VERSION.
58190         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58192 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58194         * math/libm-test.inc (struct test_fff_f_data): New type.
58195         (RUN_TEST_LOOP_fff_f): New macro.
58196         (fma_test_data): New variable.
58197         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58198         (fma_towardzero_test_data): New variable.
58199         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58200         (fma_downward_test_data): New variable.
58201         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58202         (fma_upward_test_data): New variable.
58203         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58205         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58206         (struct test_c_c_data): New type.
58207         (RUN_TEST_LOOP_c_c): New macro.
58208         (cacos_test_data): New variable.
58209         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58210         (cacosh_test_data): New variable.
58211         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58212         (casin_test_data): New variable.
58213         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58214         (casinh_test_data): New variable.
58215         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58216         (catan_test_data): New variable.
58217         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58218         (catanh_test_data): New variable.
58219         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58220         (ccos_test_data): New variable.
58221         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58222         (ccosh_test_data): New variable.
58223         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58224         (cexp_test_data): New variable.
58225         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58226         (clog_test_data): New variable.
58227         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58228         (clog10_test_data): New variable.
58229         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58230         (conj_test_data): New variable.
58231         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58232         (cproj_test_data): New variable.
58233         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58234         (csin_test_data): New variable.
58235         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58236         (csinh_test_data): New variable.
58237         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58238         (csqrt_test_data): New variable.
58239         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58240         (ctan_test_data): New variable.
58241         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58242         (ctan_tonearest_test_data): New variable.
58243         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58244         (ctan_towardzero_test_data): New variable.
58245         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58246         (ctan_downward_test_data): New variable.
58247         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58248         (ctan_upward_test_data): New variable.
58249         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58250         (ctanh_test_data): New variable.
58251         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58252         (ctanh_tonearest_test_data): New variable.
58253         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58254         (ctanh_towardzero_test_data): New variable.
58255         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58256         (ctanh_downward_test_data): New variable.
58257         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58258         (ctanh_upward_test_data): New variable.
58259         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58260         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58261         of BUILD_COMPLEX.
58263         * math/libm-test.inc (struct test_ff_f_data): New type.
58264         (struct test_ff_f_data_nexttoward): Likewise.
58265         (RUN_TEST_LOOP_2_f): New macro.
58266         (RUN_TEST_LOOP_ff_f): Likewise.
58267         (atan2_test_data): New variable.
58268         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58269         (copysign_test_data): New variable.
58270         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58271         (fdim_test_data): New variable.
58272         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58273         (fmax_test_data): New variable.
58274         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58275         (fmin_test_data): New variable.
58276         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58277         (fmod_test_data): New variable.
58278         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58279         (hypot_test_data): New variable.
58280         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58281         (nextafter_test_data): New variable.
58282         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58283         (nexttoward_test_data): New variable.
58284         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58285         (pow_test_data): New variable.
58286         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58287         (pow_tonearest_test_data): New variable.
58288         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58289         (pow_towardzero_test_data): New variable.
58290         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58291         (pow_downward_test_data): New variable.
58292         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58293         (pow_upward_test_data): New variable.
58294         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58295         (remainder_test_data): New variable.
58296         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58297         (scalb_test_data): New variable.
58298         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58299         * sysdeps/i386/fpu/libm-test-ulps: Update.
58301 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58303         * math/libm-test.inc (fma_test): Use max_value instead of local
58304         variable fltmax.
58305         (nextafter_test): Likewise.
58307         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58308         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58309         (acos_downward_test_data): New variable.
58310         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58311         (acos_upward_test_data): New variable.
58312         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58313         (acosh_test_data): New variable.
58314         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58315         (asin_test_data): New variable.
58316         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58317         (asin_tonearest_test_data): New variable.
58318         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58319         (asin_towardzero_test_data): New variable.
58320         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58321         (asin_downward_test_data): New variable.
58322         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58323         (asin_upward_test_data): New variable.
58324         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58325         (asinh_test_data): New variable.
58326         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58327         (atan_test_data): New variable.
58328         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58329         (atanh_test_data): New variable.
58330         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58331         (cbrt_test_data): New variable.
58332         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58333         (ceil_test_data): New variable.
58334         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58335         (cos_test_data): New variable.
58336         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58337         (cos_tonearest_test_data): New variable.
58338         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58339         (cos_towardzero_test_data): New variable.
58340         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58341         (cos_downward_test_data): New variable.
58342         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58343         (cos_upward_test_data): New variable.
58344         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58345         (cosh_test_data): New variable.
58346         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58347         (cosh_tonearest_test_data): New variable.
58348         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58349         (cosh_towardzero_test_data): New variable.
58350         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58351         (cosh_downward_test_data): New variable.
58352         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58353         (cosh_upward_test_data): New variable.
58354         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58355         (erf_test_data): New variable.
58356         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58357         (erfc_test_data): New variable.
58358         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
58359         (exp_test_data): New variable.
58360         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
58361         (exp_tonearest_test_data): New variable.
58362         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58363         (exp_towardzero_test_data): New variable.
58364         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58365         (exp_downward_test_data): New variable.
58366         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58367         (exp_upward_test_data): New variable.
58368         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58369         (exp10_test_data): New variable.
58370         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
58371         (exp2_test_data): New variable.
58372         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
58373         (expm1_test_data): New variable.
58374         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
58375         (fabs_test_data): New variable.
58376         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
58377         (floor_test_data): New variable.
58378         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
58379         (j0_test_data): New variable.
58380         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
58381         (j1_test_data): New variable.
58382         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
58383         (log_test_data): New variable.
58384         (log_test): Run tests with RUN_TEST_LOOP_f_f.
58385         (log10_test_data): New variable.
58386         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
58387         (log1p_test_data): New variable.
58388         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
58389         (log2_test_data): New variable.
58390         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
58391         (logb_test_data): New variable.
58392         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
58393         (logb_downward_test_data): New variable.
58394         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58395         (nearbyint_test_data): New variable.
58396         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
58397         (rint_test_data): New variable.
58398         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
58399         (rint_tonearest_test_data): New variable.
58400         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58401         (rint_towardzero_test_data): New variable.
58402         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58403         (rint_downward_test_data): New variable.
58404         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58405         (rint_upward_test_data): New variable.
58406         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58407         (round_test_data): New variable.
58408         (round_test): Run tests with RUN_TEST_LOOP_f_f.
58409         (sin_test_data): New variable.
58410         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
58411         (sin_tonearest_test_data): New variable.
58412         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58413         (sin_towardzero_test_data): New variable.
58414         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58415         (sin_downward_test_data): New variable.
58416         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58417         (sin_upward_test_data): New variable.
58418         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58419         (sinh_test_data): New variable.
58420         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
58421         (sinh_tonearest_test_data): New variable.
58422         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58423         (sinh_towardzero_test_data): New variable.
58424         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58425         (sinh_downward_test_data): New variable.
58426         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58427         (sinh_upward_test_data): New variable.
58428         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58429         (sqrt_test_data): New variable.
58430         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
58431         (tan_test_data): New variable.
58432         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
58433         (tan_tonearest_test_data): New variable.
58434         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58435         (tan_towardzero_test_data): New variable.
58436         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58437         (tan_downward_test_data): New variable.
58438         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58439         (tan_upward_test_data): New variable.
58440         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58441         (tanh_test_data): New variable.
58442         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
58443         (tgamma_test_data): New variable.
58444         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
58445         (trunc_test_data): New variable.
58446         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
58447         (y0_test_data): New variable.
58448         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
58449         (y1_test_data): New variable.
58450         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
58451         (significand_test_data): New variable.
58452         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
58454 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
58456         [BZ #12387]
58457         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
58459 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58461         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
58463 2013-05-10  Andreas Jaeger  <aj@suse.de>
58465         [BZ #15448]
58466         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
58467         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
58469 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58471         * math/gen-libm-test.pl (adjust_arg): New function.
58472         (special_functions): Handle generating output in both functions
58473         and arrays.
58474         (parse_args): Likewise.
58475         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
58476         $in_func argument to parse_args.
58477         * math/libm-test.inc (struct test_f_f_data): New type.
58478         (IF_ROUND_INIT_): New macro.
58479         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
58480         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58481         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58482         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58483         (ROUND_RESTORE_): Likewise.
58484         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
58485         (ROUND_RESTORE_FE_TONEAREST): Likewise.
58486         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
58487         (ROUND_RESTORE_FE_UPWARD): Likewise.
58488         (RUN_TEST_LOOP_f_f): New macro.
58489         (acos_test_data): New variable.
58490         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
58491         (acos_tonearest_test_data): New variable.
58492         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58494 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58496         * benchtests/bench-skeleton.c (startup): Fix coding style.
58498 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58500         [BZ #6809]
58501         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
58502         negative infinity argument.
58503         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
58504         negative infinity argument.
58505         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
58506         negative infinity argument.
58507         * math/libm-test.inc (tgamma_test): Expect errno to be set for
58508         domain errors.
58510 2013-05-10  Florian Weimer  <fweimer@redhat.com>
58512         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
58513         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
58514         * iconv/iconv_prog.c (main): Likewise.
58515         * locale/programs/charmap-dir.c (charmap_readdir)
58516         (fopen_uncompressed): Likewise.
58517         * locale/programs/locfile.c (siblings_uncached)
58518         (write_locale_data): Use lstat64 instead of lstat.
58519         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
58520         stat.
58522 2013-05-10  Andreas Jaeger  <aj@suse.de>
58524         [BZ #15395]
58525         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
58526         localization.
58527         Include <locale.h>.
58529 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
58531         * elf/dl-close.c (_dl_close_worker): Add comments.
58533 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
58535         [BZ #15359]
58536         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
58537         high part of pi/2.
58538         (__ieee754_rem_pio2l): Update comments.
58540         [BZ #15429]
58541         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
58542         high part of pi/2.
58543         (__ieee754_rem_pio2l): Update comments.
58545         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
58546         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
58548         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
58549         M_PI_4l.
58551         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
58552         (M_PI_34_LOG10El): Likewise.
58553         (M_PI2_LOG10El): Likewise.
58554         (M_PI4_LOG10El): Likewise.
58555         (M_PI_LOG10El): Likewise.
58557 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58561 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
58563         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
58564         (MINUS_ZERO_INIT): Likewise.
58565         (PLUS_INFTY_INIT): Likewise.
58566         (MINUS_INFTY_INIT): Likewise.
58567         (QNAN_VALUE_INIT): Likewise.
58568         (MAX_VALUE_INIT): Likewise.
58569         (MIN_VALUE_INIT): Likewise.
58570         (MIN_SUBNORM_VALUE_INIT): Likewise.
58571         (plus_zero): Initialize with PLUS_ZERO_INIT.
58572         (minus_zero): Initialize with MINUS_ZERO_INIT.
58573         (plus_infty): Initialize with PLUS_INFTY_INIT.
58574         (minus_infty): Initialize with MINUS_INFTY_INIT.
58575         (qnan_value): Initialize with QNAN_VALUE_INIT.
58576         (max_value): Initialize with MAX_VALUE_INIT.
58577         (min_value): Initialize with MIN_VALUE_INIT.
58578         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
58580         * math/libm-test.inc (RUN_TEST_if_f): New macro.
58581         (jn_test): Use TEST_if_f instead of TEST_ff_f.
58582         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
58583         (yn_test): Use TEST_if_f instead of TEST_ff_f.
58585         * math/libm-test.inc (RUN_TEST_f_f): New macro.
58586         (RUN_TEST_2_f): Likewise.
58587         (RUN_TEST_ff_f): Likewise.
58588         (RUN_TEST_fi_f): Likewise.
58589         (RUN_TEST_fl_f): Likewise.
58590         (RUN_TEST_fff_f): Likewise.
58591         (RUN_TEST_c_f): Likewise.
58592         (RUN_TEST_f_f1): Likewise.
58593         (RUN_TEST_fF_f1): Likewise.
58594         (RUN_TEST_fI_f1): Likewise.
58595         (RUN_TEST_ffI_f1): Likewise.
58596         (RUN_TEST_c_c): Likewise.
58597         (RUN_TEST_cc_c): Likewise.
58598         (RUN_TEST_f_i): Likewise.
58599         (RUN_TEST_f_i_tg): Likewise.
58600         (RUN_TEST_ff_i_tg): Likewise.
58601         (RUN_TEST_f_b): Likewise.
58602         (RUN_TEST_f_b_tg): Likewise.
58603         (RUN_TEST_f_l): Likewise.
58604         (RUN_TEST_f_L): Likewise.
58605         (RUN_TEST_sincos): Likewise.
58606         * math/gen-libm-test.pl (new_test): Take new argument to indicate
58607         whether to show exceptions.  Do not include ");\n" in return
58608         value.
58609         (special_functions): Output call to RUN_TEST_sincos instead of
58610         check_float calls.  Update calls to new_test.
58611         (parse_args): Output call to single RUN_TEST_* macro instead of
58612         check_* calls and other assignments.  Update calls to new_test.
58614         [BZ #2546]
58615         [BZ #2560]
58616         [BZ #5159]
58617         [BZ #15426]
58618         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
58619         input to result for tgamma overflow.
58620         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
58621         (gamma_coeff): New variable.
58622         (NCOEFF): New macro.
58623         (gamma_positive): New function.
58624         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
58625         underflow here.  Use gamma_positive instead of exp (lgamma) for
58626         other arguments.
58627         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
58628         (gamma_coeff): New variable.
58629         (NCOEFF): New macro.
58630         (gammaf_positive): New function.
58631         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
58632         underflow here.  Use gamma_positive instead of exp (lgamma) for
58633         other arguments.
58634         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
58635         (gamma_coeff): New variable.
58636         (NCOEFF): New macro.
58637         (gammal_positive): New function.
58638         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
58639         underflow here.  Use gamma_positive instead of exp (lgamma) for
58640         other arguments.
58641         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
58642         (gamma_coeff): New variable.
58643         (NCOEFF): New macro.
58644         (gammal_positive): New function.
58645         (__ieee754_gammal_r): Handle positive infinity, overflow and
58646         underflow here.  Handle NaN the same as positive infinity.  Remove
58647         check x < 0xffffffff for negative integers.  Use gamma_positive
58648         instead of exp (lgamma) for other arguments.
58649         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
58650         (gamma_coeff): New variable.
58651         (NCOEFF): New macro.
58652         (gammal_positive): New function.
58653         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
58654         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
58655         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
58656         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
58657         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
58658         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
58659         * sysdeps/generic/math_private.h (__gamma_productf): New
58660         prototype.
58661         (__gamma_product): Likewise.
58662         (__gamma_productl): Likewise.
58663         * math/Makefile (libm-calls): Add gamma_product.
58664         * math/libm-test.inc (tgamma_test): Add more tests.
58665         * sysdeps/i386/fpu/libm-test-ulps: Update.
58666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58668 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
58670         * benchtests/bench-skeleton.c (main): Preheat CPU.
58672 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
58674         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
58676 2013-05-07  Roland McGrath  <roland@hack.frob.com>
58678         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
58679         and _dl_skip_args_internal.
58681 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
58683         * manual/message.texi (Message Translation): Talk about users.
58684         Message to key mapping impacts design.
58686 2013-05-06  Roland McGrath  <roland@hack.frob.com>
58688         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
58690         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
58692         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
58693         * sysdeps/wordsize-64/glob64.c: ... here.
58695         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
58696         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
58697         New macros.
58699         * debug/getlogin_r_chk.c: Moved to ...
58700         * login/getlogin_r_chk.c: ... here.
58701         * debug/Makefile (routines): Move getlogin_r_chk to ...
58702         * login/Makefile (routines): ... here.
58703         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
58704         * login/Versions (libc: GLIBC_2.4): ... here.
58706         * io/poll.c (__poll): Renamed from poll.
58707         Add libc_hidden_def.
58708         (poll): Define as weak alias.
58710         * debug/ptsname_r_chk.c: Moved to ...
58711         * login/ptsname_r_chk.c: ... here.
58712         * debug/Makefile (routines): Move ptsname_r_chk to ...
58713         * login/Makefile (routines): ... here.
58714         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
58715         * login/Versions (libc: GLIBC_2.4): ... here.
58717         * posix/getlogin.c: Moved to ...
58718         * login/getlogin.c: ... here.
58719         * posix/getlogin_r.c: Moved to ...
58720         * login/getlogin_r.c: ... here.
58721         * posix/getlogin_r.c: Moved to ...
58722         * login/getlogin_r.c: ... here.
58723         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
58724         * login/Makefile (routines): ... here.
58725         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
58726         * login/Versions (libc: GLIBC_2.0): ... here.
58728         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
58729         (setrlimit): Define as weak alias.
58731         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
58732         Call __ names for open, ftruncate, and close.
58733         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
58734         (truncate): Define as weak alias.
58736 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
58738         * math/gen-libm-test.pl (parse_args): Initialize x before each
58739         test of frexp, modf and remquo.
58741         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
58742         test signgam value.
58744 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58746         [BZ #15418]
58747         [BZ #15419]
58748         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
58749         internal tests.
58750         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58752 2013-05-06  Roland McGrath  <roland@hack.frob.com>
58754         * elf/dl-writev.h: New file.
58755         * elf/dl-misc.c: Include it.
58756         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
58757         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
58759 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
58761         * math/libm-test.inc (noXFails): Remove variable.
58762         (noXPasses): Likewise.
58763         (BUILD_COMPLEX_INT): Remove macro.
58764         (print_screen): Remove xfail argument.
58765         (print_screen_max_error): Likewise.
58766         (update_stats): Likewise.
58767         (print_max_error): Likewise.  Update calls to other affected
58768         functions.
58769         (print_complex_max_error): Likewise.
58770         (test_single_exception): Update calls to print_screen.
58771         (test_single_errno): Likewise.
58772         (check_float_internal): Remove xfail argument.  Update calls to
58773         other affected functions.
58774         (check_float): Likewise.
58775         (check_complex): Likewise.
58776         (check_int): Likewise.
58777         (check_long): Likewise.
58778         (check_bool): Likewise.
58779         (check_longlong): Likewise.
58780         (main): Don't print noXFails and noXPasses.
58781         * math/gen-libm-test.pl (top level): Don't mention expected
58782         failure handling in comment.
58783         (new_test): Don't handle expected failures.
58784         (parse_args): Don't mention expected failure handling in comment.
58785         (generate_testfile): Don't handle expected failures.
58786         (parse_ulps): Likewise.
58787         (print_ulps_file): Likewise.
58788         (get_failure): Remove function.
58789         (output_test): Don't handle expected failures.
58790         * make/README.libm-test: Don't mention expected failure handling.
58792         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
58793         (minus_zero): Likewise.
58794         (plus_infty): Likewise.
58795         (minus_infty): Likewise.
58796         (qnan_value): Likewise.
58797         (max_value): Likewise.
58798         (min_value): Likewise.
58799         (min_subnorm_value): Likewise.
58800         (initialize): Do not initialize those variables dynamically.
58802 2013-05-03  Roland McGrath  <roland@hack.frob.com>
58804         * io/open.c (__open_2): Moved to ...
58805         * io/open_2.c: ... this new file.
58806         * io/open64.c (__open64_2): Moved to ...
58807         * io/open64_2.c: ... this new file.
58808         * io/openat.c (__openat_2): Moved to ...
58809         * io/openat_2.c: ... this new file.
58810         * io/openat64.c (__openat64_2): Moved to ...
58811         * io/openat64_2.c: ... this new file.
58812         * io/Makefile (routines): Add them.
58813         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
58814         * sysdeps/unix/sysv/linux/open_2.c: File removed.
58815         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
58816         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
58817         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
58818         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
58819         (__openat64): Add hidden_ver.
58820         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
58821         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
58823         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
58824         Separately conditionalize setting of GLRO(dl_sysinfo) so
58825         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
58826         as well, but the actual setting is only under [NEED_DL_SYSINFO].
58828 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58830         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
58831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
58832         definition.
58833         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
58834         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58835         (_libc_vdso_platform_setup): Add __vdso_time initialization.
58836         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
58837         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
58839 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
58841         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
58842         test signgam value.
58844         * math/libm-test.inc (hypot_test): Do not use
58845         IGNORE_ZERO_INF_SIGN.
58847 2013-05-03  Andreas Jaeger  <aj@suse.de>
58849         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
58850         Linux 3.9.
58851         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
58852         (PF_MAX): Adjust for VSOCK change.
58854 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58858 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
58860         [BZ #15264]
58861         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
58862         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
58863         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
58865 2013-05-02  David S. Miller  <davem@davemloft.net>
58867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58869 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
58871         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
58873 2013-05-01  Roland McGrath  <roland@hack.frob.com>
58875         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
58877 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
58879         [BZ #14952]
58880         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
58881         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58882         Use __attribute__ ((__gnu_inline__)).
58883         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58884         Don't use __attribute__ ((__gnu_inline__)).
58886 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
58888         [BZ #15423]
58889         * math/s_catan.c (__catan): Handle small real or imaginary part of
58890         input specially to avoid spurious underflow.
58891         * math/s_catanf.c (__catanf): Likewise.
58892         * math/s_catanh.c (__catanh): Likewise.
58893         * math/s_catanhf.c (__catanhf): Likewise.
58894         * math/s_catanhl.c (__catanhl): Likewise.
58895         * math/s_catanl.c (__catanl): Likewise.
58896         * math/libm-test.inc (catan_test): Add more tests.
58897         (catanh_test): Likewise.
58898         * sysdeps/i386/fpu/libm-test-ulps: Update.
58899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58901 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58905 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
58907         [BZ #15416]
58908         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
58909         accurately for denominator in atan2.
58910         * math/s_catanf.c (__catanf): Likewise.
58911         * math/s_catanh.c (__catanh): Likewise.
58912         * math/s_catanhf.c (__catanhf): Likewise.
58913         * math/s_catanhl.c (__catanhl): Likewise.
58914         * math/s_catanl.c (__catanl): Likewise.
58915         * math/libm-test.inc (catan_test): Add more tests.
58916         (catanh_test): Likewise.
58917         * sysdeps/i386/fpu/libm-test-ulps: Update.
58918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58920 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58922         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
58924         * benchtests/Makefile (bench): Remove slow benchmarks.
58925         * benchtests/atan-inputs: Add slow benchmark inputs.
58926         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
58927         (BENCH_FUNC): Accept variant offset.
58928         (VARIANT): Define.
58929         * benchtests/bench-skeleton.c (main): Run benchmark for each
58930         variant.
58931         * benchtests/cos-inputs: Add slow benchmark inputs.
58932         * benchtests/exp-inputs: Likewise.
58933         * benchtests/pow-inputs: Likewise.
58934         * benchtests/sin-inputs: Likewise.
58935         * benchtests/slowatan-inputs: Remove.
58936         * benchtests/slowatan.c: Remove.
58937         * benchtests/slowcos-inputs: Remove.
58938         * benchtests/slowcos.c: Remove.
58939         * benchtests/slowexp-inputs: Remove.
58940         * benchtests/slowexp.c: Remove.
58941         * benchtests/slowpow-inputs: Remove.
58942         * benchtests/slowpow.c: Remove.
58943         * benchtests/slowsin-inputs: Remove.
58944         * benchtests/slowsin.c: Remove.
58945         * benchtests/slowtan-inputs: Remove.
58946         * benchtests/slowtan.c: Remove.
58947         * benchtests/tan-inputs: Add slow benchmark inputs.
58948         * scripts/bench.pl: Parse comments and directives.
58950         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
58951         in CPPFLAGS.
58952         ($(objpfx)bench-%.c): Remove *-ITER.
58953         * benchtests/bench-modf.c: Remove definition of ITER.
58954         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
58955         (main): Loop for DURATION seconds instead of fixed number of
58956         iterations.
58957         * scripts/bench.pl: Don't expect iterations in parameters.
58959 2013-04-29  Roland McGrath  <roland@hack.frob.com>
58961         * io/fchdir.c (__fchdir): Renamed from fchdir.
58962         (fchdir): Define as weak alias.
58964 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
58966         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
58967         (ERRNO_EDOM): Likewise.
58968         (ERRNO_ERANGE): Likewise.
58969         (noErrnoTests): New variable.
58970         (init_max_error): Set errno to 0.
58971         (test_single_errno): New function.
58972         (test_errno): Likewise.
58973         (check_float_internal): Call test_errno.  Set errno to 0.
58974         (check_complex): Refer to errno tests in comment.
58975         (check_int): Call test_errno.  Set errno to 0.
58976         (check_long): Likewise.
58977         (check_bool): Likewise.
58978         (check_longlong): Likewise.
58979         (cos_test): Use ERRNO_* flags for errno tests instead of
58980         check_int.
58981         (expm1_test): Likewise.
58982         (fmod_test): Likewise.
58983         (ilogb_test): Likewise.
58984         (lgamma_test): Likewise.
58985         (pow_test): Likewise.
58986         (remainder_test): Likewise.
58987         (sin_test): Likewise.
58988         (tan_test): Likewise.
58989         (yn_test): Likewise.
58990         (initialize): Set errno to 0.
58991         (main): Print number of errno tests.
58992         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
58994 2013-04-29  Andreas Jaeger  <aj@suse.de>
58996         [BZ #15084]
58997         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
58998         and RES_USEVC.
59000         [BZ #15085]
59001         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59002         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59003         unimplemented.
59005         [BZ #15380]
59006         * stdlib/random.c (__initstate): Return NULL if
59007         __initstate fails.
59009         [BZ #15086]
59010         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59011         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59012         RES_SNGLKUPREOP.
59014 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59018 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59020         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59021         of individual tests.
59022         (casin_test): Likewise.
59023         (casinh_test): Likewise.
59025 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59027         [BZ #15409]
59028         * math/s_catan.c (__catan): Handle arguments with large real or
59029         imaginary part separately without squaring.
59030         * math/s_catanf.c (__catanf): Likewise.
59031         * math/s_catanh.c (__catanh): Likewise.
59032         * math/s_catanhf.c (__catanhf): Likewise.
59033         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59034         and redefine.
59035         (__catanhl): Handle arguments with large real or imaginary part
59036         separately without squaring.
59037         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59038         and redefine.
59039         (__catanl): Handle arguments with large real or imaginary part
59040         separately without squaring.
59041         * math/libm-test.inc (catan_test): Add more tests.
59042         (catanh_test): Likewise.
59043         * sysdeps/i386/fpu/libm-test-ulps: Update.
59044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59046 2013-04-27  Andreas Jaeger  <aj@suse.de>
59048         [BZ #15007]
59049         * stdlib/stdlib.h: Update guards for qecvt.
59050         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59051         <stdlib.h>.
59053 2013-04-27  Allan McRae  <allan@archlinux.org>
59055         * sysdeps/i386/fpu/libm-test-ulps: Update.
59057 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59059         [BZ #15406]
59060         * math/s_catan.c: Include <float.h>.
59061         (__catan): Ensure underflow exception occurs for underflowed
59062         result.
59063         * math/s_catanf.c: Include <float.h>.
59064         (__catanf): Ensure underflow exception occurs for underflowed
59065         result.
59066         * math/s_catanh.c: Include <float.h>.
59067         (__catanh): Ensure underflow exception occurs for underflowed
59068         result.
59069         * math/s_catanhf.c: Include <float.h>.
59070         (__catanhf): Ensure underflow exception occurs for underflowed
59071         result.
59072         * math/s_catanhl.c: Include <float.h>.
59073         (__catanhl): Ensure underflow exception occurs for underflowed
59074         result.
59075         * math/s_catanl.c: Include <float.h>.
59076         (__catanl): Ensure underflow exception occurs for underflowed
59077         result.
59078         * math/libm-test.inc (catan_test): Add more tests.
59079         (catanh_test): Likewise.
59081         [BZ #15405]
59082         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59083         underflowed result.
59084         * math/s_ccoshf.c (__ccoshf): Likewise.
59085         * math/s_ccoshl.c (__ccoshl): Likewise.
59086         * math/s_csin.c (__csin): Likewise.
59087         * math/s_csinf.c (__csinf): Likewise.
59088         * math/s_csinh.c (__csinh): Likewise.
59089         * math/s_csinhf.c (__csinhf): Likewise.
59090         * math/s_csinhl.c (__csinhl): Likewise.
59091         * math/s_csinl.c (__csinl): Likewise.
59092         * math/libm-test.inc (ccos_test): Add more tests.
59093         (ccosh_test): Likewise.
59094         (csin_test): Likewise.
59095         (csinh_test): Likewise.
59097 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59099         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59100         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59101         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59102         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59103         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59104         powerpc/power5+/fpu folders.
59105         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59108 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59112 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59114         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59115         additions to variable.
59116         [$(config-machine) = x86_64] (modules-names): Likewise.
59117         ($(objpfx)tst-audit3): Remove dependency.
59118         ($(objpfx)tst-audit3.out): Likewise.
59119         ($(objpfx)tst-audit4): Likewise.
59120         ($(objpfx)tst-audit4.out): Likewise.
59121         ($(objpfx)tst-audit5): Likewise.
59122         ($(objpfx)tst-audit5.out): Likewise.
59123         ($(objpfx)tst-audit6): Likewise.
59124         ($(objpfx)tst-audit6.out): Likewise.
59125         ($(objpfx)tst-audit7): Likewise.
59126         ($(objpfx)tst-audit7.out): Likewise.
59127         (tst-audit3-ENV): Remove variable.
59128         (tst-audit4-ENV): Likewise.
59129         (tst-audit5-ENV): Likewise.
59130         (tst-audit6-ENV): Likewise.
59131         (tst-audit7-ENV): Likewise.
59132         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59133         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59134         addition to variable.
59135         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59136         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59137         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59138         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59139         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59140         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59141         tst-audit3, tst-audit4 and tst-audit5.
59142         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59143         tst-audit6 and tst-audit7.
59144         [$(subdir) = elf] (modules-names): Add audit modules for those
59145         tests.
59146         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59147         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59148         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59149         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59150         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59151         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59152         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59153         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59154         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59155         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59156         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59157         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59158         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59159         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59160         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59161         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59162         Likewise.
59163         [$(subdir) = elf && $(config-cflags-avx) = yes]
59164         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59165         [$(subdir) = elf && $(config-cflags-avx) = yes]
59166         (CFLAGS-tst-auditmod4a.c): Likewise.
59167         [$(subdir) = elf && $(config-cflags-avx) = yes]
59168         (CFLAGS-tst-auditmod4b.c): Likewise.
59169         [$(subdir) = elf && $(config-cflags-avx) = yes]
59170         (CFLAGS-tst-auditmod6b.c): Likewise.
59171         [$(subdir) = elf && $(config-cflags-avx) = yes]
59172         (CFLAGS-tst-auditmod6c.c): Likewise.
59173         [$(subdir) = elf && $(config-cflags-avx) = yes]
59174         (CFLAGS-tst-auditmod7b.c): Likewise.
59175         * elf/tst-audit3.c: Move to ...
59176         * sysdeps/x86_64/tst-audit3.c: ... here.
59177         * elf/tst-audit4.c: Move to ...
59178         * sysdeps/x86_64/tst-audit4.c: ... here.
59179         * elf/tst-audit5.c: Move to ...
59180         * sysdeps/x86_64/tst-audit5.c: ... here.
59181         * elf/tst-audit6.c: Move to ...
59182         * sysdeps/x86_64/tst-audit6.c: ... here.
59183         * elf/tst-audit7.c: Move to ...
59184         * sysdeps/x86_64/tst-audit7.c: ... here.
59185         * elf/tst-auditmod3a.c: Move to ...
59186         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59187         * elf/tst-auditmod3b.c: Move to ...
59188         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59189         * elf/tst-auditmod4a.c: Move to ...
59190         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59191         * elf/tst-auditmod4b.c: Move to ...
59192         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59193         * elf/tst-auditmod5a.c: Move to ...
59194         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59195         * elf/tst-auditmod5b.c: Move to ...
59196         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59197         * elf/tst-auditmod6a.c: Move to ...
59198         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59199         * elf/tst-auditmod6b.c: Move to ...
59200         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59201         * elf/tst-auditmod6c.c: Move to ...
59202         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59203         * elf/tst-auditmod7a.c: Move to ...
59204         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59205         * elf/tst-auditmod7b.c: Move to ...
59206         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59208 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59210         [BZ #15366]
59211         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59212         define unconditionally.
59213         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59214         define unconditionally.
59215         (INT8_C, INT16_C, etc.): Likewise.
59217 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59219         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59220         __ehdr_start with hidden visibility.
59222         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59224 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59226         * math/libm-test.inc (cos_test): Use accurate hex constants.
59227         (sincost_test): Likewise.
59229 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59231         * math/libm-test.inc (catan_test): Add more tests.
59232         (catanh_test): Likewise.
59234         * math/s_catanf.c (__catanf): Use suffixed floating-point
59235         constants.
59236         * math/s_catanhf.c (__catanhf): Likewise.
59237         * math/s_catanhl.c (__catanhl): Likewise.
59238         * math/s_catanl.c (__catanl): Likewise.
59240         [BZ #15394]
59241         * math/s_catan.c (__catan): Calculate imaginary part of result
59242         with log1p not log unless computing log of number close to 0.
59243         * math/s_catanf.c (__catanf): Likewise.
59244         * math/s_catanl.c (__catanl): Likewise.
59245         * math/s_catanh.c (__catanh): Calculate real part of result with
59246         log1p not log unless computing log of number close to 0.
59247         * math/s_catanhf.c (__catanhf): Likewise.
59248         * math/s_catanhl.c (__catanhl): Likewise.
59249         * math/libm-test.inc (catan_test): Add more tests.
59250         (catanh_test): Likewise.
59251         * sysdeps/i386/fpu/libm-test-ulps: Update.
59252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59254 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59256         * benchtests/Makefile: Mention files in which fast and slow
59257         paths of math functions are implemented.
59259 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59261         * sysdeps/posix/timespec_get.c: New file.
59263 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59265         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59266         POWER.
59267         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59268         for POWER.
59269         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59270         powerpc/power5/fpu folders.
59271         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59272         * benchtests/Makefile: Add modf testcase.
59273         * benchtests/bench-modf.c: New file: Benchmark test for mo
59275 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59277         [BZ #14888]
59278         * time/Makefile (tests): Add tst-strptime-whitespace.
59279         * time/strptime_l.c (get_number): Use ISSPACE.
59280         (__strptime_internal): Likewise.
59281         * time/tst-strptime-whitespace.c: New test case.
59283 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59285         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59286         member.
59287         (_nss_files_init): Set it here.
59289 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59291         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59292         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59293         unsigned.
59295 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59297         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59299 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59302         size just once.
59304 2013-04-21  David S. Miller  <davem@davemloft.net>
59306         * po/ru.po: Update Russion translation from translation project.
59308 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59310         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59311         and setfsgid.
59313 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59315         * configure.in: Remove i386 configure warning. Remove i386 case.
59316         * configure: Regenerate.
59317         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59318         Add example to error message.
59319         * sysdeps/i386/configure: Regenerate.
59321 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59323         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59324         slowtan.
59325         * benchtests/cos-inputs: New file.
59326         * benchtests/slowcos-inputs: New file.
59327         * benchtests/slowcos.c: New file.
59328         * benchtests/slowtan-inputs: New file.
59329         * benchtests/slowtan.c: New file.
59330         * benchtests/tan-inputs: New file.
59332 2013-04-16  Roland McGrath  <roland@hack.frob.com>
59334         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59335         considered kosher.
59337 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59339         * benchtests/Makefile: Include cppflags-iterator.mk to add
59340         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59342         * Makefile.in (bench-clean): New target.
59343         * benchtests/Makefile (bench-clean): Likewise.
59345 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
59347         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59349 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
59351         * stdio-common/tstdiomisc.c: Fix coding-style violation.
59353 2013-04-15  Andreas Schwab  <schwab@suse.de>
59355         * nscd/grpcache.c (cache_addgr): Properly check for short write.
59356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59357         * nscd/pwdcache.c (cache_addpw): Likewise.
59358         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
59359         more than recsize.
59361 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59363         * benchtests/Makefile (bench): Write all output to
59364         bench-out.tmp together.
59366 2013-04-15  Andreas Schwab  <schwab@suse.de>
59368         * nscd/nscd.c (main): Don't fork again after closing files.
59370 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59372         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
59374         * benchtests/Rules (bench-deps): Collect dependencies into a
59375         single variable.  Add Makefile to dependencies.
59376         ($(objpfx)bench-%.c): Depend on bench-deps.
59378 2013-04-12  Roland McGrath  <roland@hack.frob.com>
59379             Xavier Roche  <roche+kml2@exalead.com>
59381         [BZ #15361]
59382         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
59383         just that it's a file descriptor.
59384         * manual/llio.texi (Synchronizing AIO Operations): Update description
59385         for EBADF error from aio_fsync.
59387 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59389         * Rules (bench): Move target definition...
59390         * benchtests/Makefile: ... here.
59392 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
59394         * math/libm-test.inc (cos_test): Fix PI/2 test.
59395         (sincos_test): Likewise.
59396         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
59397         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59399 2013-04-11  Andreas Schwab  <schwab@suse.de>
59401         [BZ #13988]
59402         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59403         accept exponent character only when digits were seen.
59404         * stdio-common/Makefile (tests): Add bug26.
59405         * stdio-common/bug26.c: New file.
59407         [BZ #14293]
59408         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
59409         non-freeable.
59411 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59413         * Makeconfig (rtld-prefix): Define built linker prefix.
59414         * Rules (run-bench): Use it.
59415         * math/Makefile (run-regen-ulps): Likewise.
59417         * Rules (bench): Remove eval.
59419 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59420             Roland McGrath  <roland@hack.frob.com>
59421             Ondrej Bilka  <neleai@seznam.cz>
59423         [BZ #15346]
59424         * time/getdate.c: Include ctype.h and alloca.h.
59425         (__getdate_r): Trim leading and trailing spaces of input.
59426         * time/tst-getdate.c (tests): Add tests with leading and
59427         trailing spaces.
59429 2013-04-08  Roland McGrath  <roland@hack.frob.com>
59431         [BZ #14280]
59432         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
59433         when computing value.
59435 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59437         * math/README.libm-test (How can I generate "libm-test-ulps"?):
59438         Use testrun.sh to run libm tests.
59440         [BZ #15309]
59441         * elf/dl-open.c (dl_open_worker): memset all of seen array.
59443 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
59445         [BZ #15264]
59446         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
59448 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59450         * Makefile.in (regen-ulps): New target.
59451         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
59452         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
59453         [ifneq (no,$(PERL)] (regen-ulps): New target.
59454         [ifeq (no,$(PERL)] (regen-ulps): New target.
59455         * math/libm-test.inc (ulps_file_name): Define.
59456         (output_dir): New variable.
59457         (options): Add "output-dir" option.
59458         (parse_opt): Handle 'o' case.
59459         (main): If output_dir is non-NULL use it as a prefix
59460         otherwise use "".
59461         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
59463 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59465         [BZ #10060, #10062]
59466         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
59467         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
59468         fail configure if __sync_val_compare_and_swap is not inlined.
59469         * sysdeps/i386/configure: Regenerate.
59470         * configure.in: Build for i686 when configured for i386.
59471         * configure: Regenerate.
59472         * README: Remove i386 reference.
59474 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59476         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
59477         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59479 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59481         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
59482         (lmsnanval): New variables.
59483         (F): Add conversion tests.
59484         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
59485         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
59487         * stdio-common/tstdiomisc.c (F): Properly collect individual
59488         tests' results.
59490         [BZ #14686, #15336]
59491         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
59492         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59493         Instead, use input NaN values or generate a qNaN by arithmetic
59494         operation.  Also fix bugs to comply with the standard.
59495         * math/libm-test.inc (remainder_test): Add more tests.
59497         [BZ #15335, #15342]
59498         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
59499         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
59500         input NaN values or generate a qNaN by arithmetic operation.
59502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
59503         unreachable code.
59505         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
59506         definitions.
59508 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
59510         [BZ #14478]
59511         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
59512         underflowed result.
59513         * math/s_cexpf.c (__cexpf): Likewise.
59514         * math/s_cexpl.c (__cexpl): Likewise.
59515         * math/libm-test.inc (cexp_test): Add more tests.
59517 2013-04-03  Andreas Schwab  <schwab@suse.de>
59519         [BZ #15330]
59520         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
59521         order arrays from heap if bigger than alloca cutoff.
59523 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
59525         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
59526         (SNAN_TESTS_double): Refer to GCC PR56831.
59527         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
59528         GCC PR56828.
59530 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59532         * Rules (bench): Move bench.out after the run is complete.
59534         * Rules (bench): Echo currently running benchmark.
59536         * benchtests/Makefile (bench): Add atan and slowatan.
59537         * benchtests/atan-inputs: New file.
59538         * benchtests/slowatan-inputs: New file.
59539         * benchtests/slowatan.c: New file.
59541         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
59542         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
59543         its value.
59545         [BZ #15305]
59546         * sysdeps/unix/sysv/linux/kernel-features.h
59547         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
59548         __ASSUME_XFS_RESTRICTED_CHOWN.
59549         * sysdeps/unix/sysv/linux/pathconf.c
59550         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
59551         Save and restore errno.
59553 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
59555         [BZ #15327]
59556         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
59557         arguments using __kernel_casinh.
59558         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
59559         arguments using __kernel_casinhf.
59560         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
59561         arguments using __kernel_casinhl.
59562         * math/libm-test.inc (cacosh_test): Add more tests.
59563         * sysdeps/i386/fpu/libm-test-ulps: Update.
59564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59566 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59568         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
59569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
59571         * bench/Makefile (bench): Add sin and slowsin.
59572         * benchtests/sin-inputs: New file.
59573         * benchtests/slowsin-inputs: New file.
59574         * benchtests/slowsin.c: New file.
59576         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
59577         (bench): Add slowexp and slowpow.
59578         (exp-ITER): Increase iterations.
59579         (pow-ITER): Likewise.
59580         * benchtests/exp-inputs: Change input.
59581         * benchtests/pow-inputs: Likewise.
59582         * benchtests/slowexp-inputs: New file.
59583         * benchtests/slowexp.c: New file.
59584         * benchtests/slowpow-inputs: New file.
59585         * benchtests/slowpow.c: New file.
59587 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59589         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
59590         instructions.
59591         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59592         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
59593         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59594         * benchtests/Makefile: Add rint benchtest.
59595         * benchtests/rint-inputs: Input for rint benchtest.
59597 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59599         * Versions.def (libm): Add GLIBC_2.18.
59600         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
59601         hidden libm prototypes.
59602         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
59603         * math/Makefile (libm-calls): Add s_issignaling.
59604         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
59605         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
59606         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
59607         declaration.
59608         * math/math.h [__USE_GNU] (issignaling): New macro.
59609         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
59610         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
59611         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
59612         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
59613         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
59614         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
59615         * manual/arith.texi (issignaling): New section.
59616         * manual/libm-err-tab.pl (@all_functions): Update comment.
59617         * math/gen-libm-test.pl (parse_args): Apply special handling for
59618         issignaling.
59619         * math/libm-test.inc (print_float, issignaling_test): New
59620         functions.
59621         (check_float_internal): Add issignaling checks.
59622         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
59623         default definition.
59624         * sysdeps/powerpc/math-tests.h: New file.
59625         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
59626         tests.
59627         * math/test-snan.c (TEST_FUNC): Likewise.
59629 2013-03-30  David S. Miller  <davem@davemloft.net>
59631         * po/de.po: Update from translation team.
59633 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
59635         [BZ #10357]
59636         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59637         imaginary part less than 1.0 and real part less than 0.5
59638         specially.
59639         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59640         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59641         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
59642         (cacos_test): Add more tests.
59643         (casin_test): Likewise.
59644         (casinh_test): Likewise.
59645         * sysdeps/i386/fpu/libm-test-ulps: Update.
59646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59648 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59650         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
59651         ONE with its value.
59653         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
59654         (__pow_mp): Replace ONE and MONE with their values.
59655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59656         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
59657         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59658         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
59659         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59660         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59662         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
59664         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
59665         (__pow_mp): Replace ZERO and MZERO with their values.
59666         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59667         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59668         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59670         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59671         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
59672         (__sqr): Likewise.
59674         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
59676         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
59678 2013-03-28  Roland McGrath  <roland@hack.frob.com>
59680         * include/stdlib.h [!SHARED] (__call_tls_dtors):
59681         Declare with __attribute__ ((weak)).
59682         * stdlib/exit.c (__libc_atexit) [!SHARED]:
59683         Call __call_tls_dtors only if it's not NULL.
59685 2013-03-28  Roland McGrath  <roland@hack.frob.com>
59687         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
59688         didn't do it already, then set _dl_phdr and _dl_phnum based on the
59689         magic __ehdr_start linker symbol if it's defined.
59690         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
59691         them up here if it was already done.
59693         * elf/dl-support.c (_dl_phdr): Make pointer to const.
59694         (_dl_aux_init): Use const in cast when setting it.
59695         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
59696         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
59697         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
59699         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
59700         Declare them here.
59701         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
59702         * csu/libc-tls.c: Nor here.
59703         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
59705         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
59706         (__libc_message): Never call vsyslog.
59708 2013-03-28  Alan Modra  <amodra@gmail.com>
59710         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
59711         Define as empty.
59712         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
59713         Likewise.
59715 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59717         [BZ #15214]
59718         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
59719         underflow.
59720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59722 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59724         [BZ #15304]
59725         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
59726         Don't add gid passed as argument.
59728         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
59730 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
59732         [BZ #15307]
59733         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59734         imaginary part between 1.0 and 1.5 and real part less than 0.5
59735         specially.
59736         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59737         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59738         * math/libm-test.inc (cacos_test): Add more tests.
59739         (casin_test): Likewise.
59740         (casinh_test): Likewise.
59741         * sysdeps/i386/fpu/libm-test-ulps: Update.
59742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59744 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59746         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
59747         constants.
59748         (norm): Likewise.
59749         (denorm): Likewise.
59750         (__dbl_mp): Likewise.
59751         (add_magnitudes): Likewise.
59752         (sub_magnitudes): Likewise.
59753         (__add): Likewise.
59754         (__sub): Likewise.
59755         (__mul): Likewise.
59756         (__sqr): Likewise.
59757         (__inv): Likewise.
59758         (__dvd): Likewise.
59760         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
59761         commented code.
59762         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
59763         (__dubcos): Likewise.
59764         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
59765         (__ieee754_acos): Likewise.
59766         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59767         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
59768         (__exp1): Likewise.
59769         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59770         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59771         (log1): Likewise.
59772         (my_log2): Likewise.
59773         (checkint): Likewise.
59774         * sysdeps/ieee754/dbl-64/e_remainder.c
59775         (__ieee754_remainder): Likewise.
59776         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
59778         (bsloww): Likewise.
59779         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59781         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59782         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
59783         MANTISSA_STORE_T to store computations on mantissa.  Use
59784         macros for rounding and division.
59785         (denorm): Likewise.
59786         (__dbl_mp): Likewise.
59787         (add_magnitudes): Likewise.
59788         (sub_magnitudes): Likewise.
59789         (__mul): Likewise.
59790         (__sqr): Likewise.
59791         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
59792         powers of two in terms of TWOPOW macro.
59793         (mp_no): Make type of mantissa as MANTISSA_T.
59794         [!RADIXI]: Define RADIXI.
59795         [!TWO52]: Define TWO52.
59796         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59798 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59800         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
59801         llroundl symbol when building for PPC32.
59803 2013-03-24  Mark H Weaver  <mhw@netris.org>
59805         * manual/arith.texi (Normalization Functions): Fix prototypes for
59806         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
59808 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59810         [BZ #13889]
59811         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
59812         high value to check if expl overflow.
59813         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
59814         to check for underflow and overflow.
59815         * math/libm-test.inc: Add exp test.
59817 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
59819         [BZ #11120]
59820         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
59821         with NOT_IN_libc.
59823 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59825         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
59826         symbol.
59828 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59830         * math/gen-libm-test.pl (parse_args, special_functions): Properly
59831         wrap blocks consisting of several statements.
59833         * sysdeps/generic/math-tests.h: New file.
59834         * sysdeps/i386/fpu/math-tests.h: Likewise.
59835         * math/test-snan.c: Include it.
59836         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
59838 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
59840         [BZ #15285]
59841         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
59842         (__ieee754_j0l): Do not improve calculations using cos of twice
59843         input for inputs above LDBL_MAX / 2.0L.
59844         (__ieee754_y0l): Likewise.
59845         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
59846         (__ieee754_j1l): Do not improve calculations using cos of twice
59847         input for inputs above LDBL_MAX / 2.0L.
59848         (__ieee754_y1l): Likewise.
59849         * math/libm-test.inc (j0_test): Add another test.
59850         (j1_test): Likewise.
59851         (y0_test): Likewise.
59852         (y1_test): Likewise.
59853         * sysdeps/i386/fpu/libm-test-ulps: Update.
59855 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59857         * Rules ($(objpfx)bench-%.c): Include code from a C source
59858         file.
59860 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
59862         [BZ #15287]
59863         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59864         imaginary part 1.0 and real part less than 0.5 specially.
59865         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59866         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59867         * math/libm-test.inc (cacos_test): Add more tests.
59868         (casin_test): Likewise.
59869         (casinh_test): Likewise.
59870         * sysdeps/i386/fpu/libm-test-ulps: Update.
59871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59873 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59875         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
59876         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
59878 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
59880         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59881         * config.make.in (config-cflags-sse4): Remove variable.
59882         (config-cflags-avx): Likewise.
59883         (config-cflags-sse2avx): Likewise.
59884         (config-cflags-novzeroupper): Likewise.
59885         (config-asflags-i686): Likewise.
59886         (have-mfma4): Likewise.
59887         (have-as-vis3): Likewise.
59888         (MIG): Likewise.
59889         * configure.in (MIG): Do not AC_SUBST.
59890         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
59891         (libc_cv_cc_sse4): Do not AC_SUBST.
59892         (libc_cv_cc_avx): Likewise.
59893         (libc_cv_cc_sse2avx): Likewise.
59894         (libc_cv_cc_novzeroupper): Likewise.
59895         (libc_cv_cc_fma4): Likewise.
59896         (libc_cv_as_i686): Likewise.
59897         (libc_cv_sparc_as_vis3): Likewise.
59898         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
59899         LIBC_CONFIG_VAR.
59900         (config-asflags-i686): Likewise.
59901         (config-cflags-avx): Likewise.
59902         (config-cflags-sse2avx): Likewise.
59903         (have-mfma4): Likewise.
59904         (config-cflags-novzeroupper): Likewise.
59905         * sysdeps/mach/configure.in (MIG): Likewise.
59906         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
59907         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
59908         LIBC_CONFIG_VAR.
59909         (config-cflags-avx): Likewise.
59910         (config-cflags-sse2avx): Likewise.
59911         (have-mfma4): Likewise.
59912         (config-cflags-novzeroupper): Likewise.
59913         * configure: Regenerated.
59914         * sysdeps/i386/configure: Likewise.
59915         * sysdeps/mach/configure: Likewise.
59916         * sysdeps/sparc/configure: Likewise.
59917         * sysdeps/x86_64/configure: Likewise.
59919 2013-03-20  Roland McGrath  <roland@hack.frob.com>
59921         [BZ #14812]
59922         * locale/programs/localedef.c (options): Put N_ translation marker
59923         on argument names, not just descriptions.
59925 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59927         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
59929 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
59931         [BZ #14176]
59932         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
59934 2013-03-19  Roland McGrath  <roland@hack.frob.com>
59936         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
59937         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
59938         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
59939         [!BEFORE_ABORT] (before_abort): New function.
59940         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
59941         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
59942         (writev_for_fatal): New function.
59943         (WRITEV_FOR_FATAL): New macro; call that.
59944         (backtrace_and_maps): New function.
59945         (BEFORE_ABORT): New macro; call that.
59946         (struct str_list): Type removed.
59947         (__libc_message, __libc_fatal): Functions removed.
59948         Include <sysdeps/posix/libc_fatal.c> instead.
59950 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
59952         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
59953         constants.
59954         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
59955         double constants.
59957 2013-03-19  Andreas Schwab  <schwab@suse.de>
59959         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
59960         * sysdeps/gnu/configure: Regenerate.
59962         * configure.in: Substitute libc_cv_rtlddir.
59963         * configure: Regenerate.
59964         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
59965         * Makeconfig (rtlddir, inst_rtlddir): New variables.
59966         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
59967         * elf/Makefile (install-others, CFLAGS-interp.c)
59968         (ldso_install, common-ldd-rewrite): Likewise.
59969         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
59970         $(inst_slibdir)/$(rtld-installed-name).
59971         * scripts/rellns-sh: Add -p option.
59972         * Makerules (make-shlib-link): Use rellns-sh to get relative name
59973         for source.
59975 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59977         * manual/nptl.texi: Renamed to ...
59978         * manual/threads.texi: ... this.
59979         * manual/Makefile (chapters): Update.
59981 2013-03-18  Roland McGrath  <roland@hack.frob.com>
59983         [BZ #14812]
59984         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
59985         on argument names, not just descriptions.
59986         * malloc/memusagestat.c (options): Likewise.
59987         * nss/getent.c (options): Likewise.
59989 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
59991         [BZ #14812]
59992         * iconv/iconv_prog.c (options): Put N_ translation marker
59993         on argument names, not just descriptions.
59994         * iconv/iconvconfig.c (options): Likewise.
59996 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
59998         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
59999         implementation which is faster on all x86_64 architectures.
60000         Tested on AMD, Intel Nehalem, SNB, IVB.
60001         * sysdeps/x86_64/strnlen.S: Likewise.
60003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60004         Remove all multiarch strlen and strnlen versions.
60005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60006         Remove strlen and strnlen related parts.
60008         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60009         Inline strlen part.
60010         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60012         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60013         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60014         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60015         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60016         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60017         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60019 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60021         * manual/memory.texi (Malloc Tunable Parameters):
60022         Sort parameters alphabetically. Add comments for missing entries.
60024 2013-03-17  David S. Miller  <davem@davemloft.net>
60026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60028 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60030         [BZ #15283]
60031         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60032         for arguments at most half maximum finite value.
60033         * math/libm-test.inc (j0_test): Add more tests.
60034         (j1_test): Likewise.
60035         (y0_test): Likewise.
60036         (y1_test): Likewise.
60037         * sysdeps/i386/fpu/libm-test-ulps: Update.
60038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60040         [BZ #14155]
60041         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60042         1 / x and functions P and Q for arguments above 0x1p256L.
60043         (__ieee754_y0l): Likewise.
60044         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60045         (__ieee754_y1l): Likewise.
60046         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60047         (j1_test): Likewise.
60048         (y0_test): Likewise.
60049         (y1_test): Likewise.
60051 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60053         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60054         variable.
60056 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60058         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60059         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60060         zero since it's initialized to EXEC_PAGESIZE.
60062         * sysdeps/unix/sysv/linux/ldsodefs.h
60063         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60064         * sysdeps/generic/ldsodefs.h: ... here.
60066 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60068         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60070         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60071         math/test-snan.c.
60072         * math/test-snan.c: Renamed from
60073         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60074         * math/Makefile (tests): Add test-snan.
60075         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60076         test-powerpc-snan.
60078         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60079         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60080         functions.
60081         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60082         __builtin_nan family of functions.
60083         * math/libm-test.inc (initialize): Initialize qnan_value with
60084         __builtin_nan family of functions.
60085         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60086         Remove variables.
60087         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60088         Remove functions.
60089         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60090         storage class.  Initialize qNaN_var and sNaN_var with
60091         __builtin_nan and __builtin_nans families of functions,
60092         respectively.
60094         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60095         (sqrt_test): Remove duplicate test with qNaN input.
60096         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60097         (round_test, signbit_test, significand_test): Note missing +/-Inf
60098         as well as qNaN tests.
60100         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60101         qNaN_var.  Fix a few strings, too.
60102         * math/libm-test.inc (nan_value): Rename to qnan_value.
60103         * math/gen-libm-test.pl (%beautify): Adjust to that.
60104         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60105         * math/test-misc.c (main): Likewise.
60106         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60107         to __qnan_bytes, and __qnan_union, respectively.
60108         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60109         Likewise.
60110         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60111         and lqnanval, respectively.
60112         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60113         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60114         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60115         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60117         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60118         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60119         doubles.
60121         * math/test-misc.c (main): Fix copy'n'pastos.
60122         * misc/tst-efgcvt.c (special): Likewise.
60124         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60125         Remove declarations.
60127 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60129         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60130         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60131         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60132         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60134 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60136         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60137         macro to return vdso values correctly in IFUNC implementations.
60138         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60139         Optimization by using IFUNC.
60141 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60142             Richard Henderson  <rth@redhat.com>
60143             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60145         * Makefile.in (bench): New target.
60146         * NEWS: Mention the benchmark framework.
60147         * Rules (bench): Likewise.
60148         (binaries-bench): Generate binaries for functions to
60149         benchmark.
60150         * benchtests/Makefile: New makefile for benchmark tests.
60151         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60152         programs.
60153         * benchtests/exp-inputs: New input file for EXP function.
60154         * benchtests/pow-inputs: New input file for POW function.
60155         * scripts/bench.pl: New script to generate source files for
60156         benchmark programs.
60158 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60160         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60161         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60162         computations on mantissa.  Use macros for rounding and
60163         division.
60164         (denorm): Likewise.
60165         (__dbl_mp): Likewise.
60166         (add_magnitudes): Likewise.
60167         (sub_magnitudes): Likewise.
60168         (__mul): Likewise.
60169         (__sqr): Likewise.
60170         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60171         powers of two in terms of TWOPOW macro.
60172         (mp_no): Make type of mantissa as MANTISSA_T.
60173         [!RADIXI]: Define RADIXI.
60174         [!TWO52]: Define TWO52.
60175         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60177         * manual/nptl.texi (cindex): Modify threads to pthreads.
60179 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60181         * sysdeps/x86_64/preconfigure: Regenerated.
60183 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60185         [BZ #14155]
60186         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60187         0x1p28 and above.
60188         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60189         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60190         0x1p28 and above.
60191         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60192         * math/libm-test.inc (j0_test): Do not allow one spurious
60193         underflow exception.
60194         (y1_test): Likewise.
60196 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60198         * manual/Makefile (chapters): Add nptl.
60199         * manual/debug.texi (Debugging Support): Add link to Threads
60200         chapter.
60201         * manual/nptl.texi: New file.
60203         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60205 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60207         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60208         for non-NULL pointer before the memory validity test. Pointed
60209         out by Holger Brunck <holger.brunck@keymile.com>.
60211 2013-03-13  Andreas Schwab  <schwab@suse.de>
60213         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60214         instead of .os.
60216 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60218         * timezone/zic.c: Update from tzcode 2013b.
60220 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60222         * manual/install.texi (Configuring and compiling):
60223         Mention i686 and i586.
60224         * INSTALL: Regenerate.
60226 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60228         * sysdeps/init_array/elf-init.c: New file.
60229         * csu/elf-init.c
60230         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60231         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60233         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60234         __gmon_start__ as global, but as static with a .preinit_array pointer.
60235         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60236         * sysdeps/init_array/crti.S: New file, empty except for comments.
60237         * sysdeps/init_array/crtn.S: Likewise.
60239 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60241         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60242         definining bcopy.
60243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60244         Remove Prefer_SSE_for_memop.
60245         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60246         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60247         HAS_PREFER_SSE_FOR_MEMOP.
60248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60249         memset-x86-64.
60250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60251         Remove bzero, memset ifunc support.
60252         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60253         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60254         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60255         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60257 2013-03-11  Andreas Schwab  <schwab@suse.de>
60259         [BZ #15234]
60260         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60261         by SHLIB_COMPAT.
60262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60263         (GLIBC_2.16): Remove pthread_atfork.
60265 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60267         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60268         (ptestcases.h): Likewise.
60270 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60272         * Makeconfig ($(common-objpfx)config.status): Depend on
60273         sysdeps/*/preconfigure{,.in} too.
60275 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60277         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60278         (__free_hook): Use void * instead of __malloc_ptr_t.
60279         (__malloc_hook): Likewise.
60280         (__realloc_hook): Likewise.
60281         (__memalign_hook): Likewise.
60282         (__after_morecore_hook): Likewise.
60283         * malloc/arena.c (save_malloc_hook): Likewise.
60284         (save_free_hook): Likewise.
60285         * malloc/hooks.c (malloc_hook_ini): Likewise.
60286         (realloc_hook_ini): Likewise.
60287         (memalign_hook_ini): Likewise.
60288         * malloc/malloc.c (malloc_hook_ini): Likewise.
60289         (realloc_hook_ini): Likewise.
60290         (memalign_hook_ini): Likewise.
60291         (__free_hook): Likewise.
60292         (__malloc_hook): Likewise.
60293         (__realloc_hook): Likewise.
60294         (__memalign_hook): Likewise.
60295         (__libc_malloc): Likewise.
60296         (__libc_free): Likewise.
60297         (__libc_realloc): Likewise.
60298         (__libc_memalign): Likewise.
60299         (__libc_valloc): Likewise.
60300         (__libc_pvalloc): Likewise.
60301         (__libc_calloc): Likewise.
60302         (__posix_memalign): Likewise.
60303         * malloc/morecore.c (__sbrk): Likewise.
60304         (__default_morecore): Likewise.
60306         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60308         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60309         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60310         __malloc_ptrdiff_t.
60312         * malloc/malloc.h (__malloc_size_t): Remove macro.
60313         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60314         __malloc_size_t.
60315         (old_memalign_hook): Likewise.
60316         (old_realloc_hook): Likewise.
60317         (struct hdr): Likewise.
60318         (flood): Likewise.
60319         (mallochook): Likewise.
60320         (memalignhook): Likewise.
60321         (reallochook): Likewise.
60322         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60323         (tr_old_realloc_hook): Likewise.
60324         (tr_old_memalign_hook): Likewise.
60325         (tr_mallochook): Likewise.
60326         (tr_reallochook): Likewise.
60327         (tr_memalignhook): Likewise.
60329 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60331         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60332         default_ldbl_pack and using as default implementation.
60333         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60334         implementation.
60335         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60336         redundant definition.
60337         (ldbl_insert_mantissa): Likewise.
60338         (ldbl_canonicalize): Likewise.
60339         (ldbl_nearbyint): Likewise.
60340         (ldbl_pack): Rename to ldbl_pack_ppc.
60341         (ldbl_unpack): Rename to ldbl_unpack_ppc.
60342         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60343         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60345 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60348         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60349         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60350         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60351         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60352         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60353         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60354         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60356 2013-03-07  Andreas Jaeger  <aj@suse.de>
60358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60359         bits/mman-linux.h.
60361 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60363         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
60364         Include mpa.h and declare __MPEXP.
60365         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
60366         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60367         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60368         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
60369         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60370         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60371         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
60373         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
60374         (__slowpow): Use long double EXPL and LOGL functions to
60375         compute POW.
60376         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60377         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60378         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
60379         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60380         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60381         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
60383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
60384         intermediate variable to calculate exponent.
60385         (__sqr): Likewise.
60386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60387         Likewise.
60388         (__sqr): Likewise.
60390         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
60391         [!NO__SQR]: Define __sqr.
60392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
60393         and NO__SQR.  Remove all code except __mul and __sqr.  Include
60394         sysdeps/ieee754/dbl-64/mpa.c.
60395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60397         [BZ #12723]
60398         * posix/Makefile (tests): Add tst-pathconf.
60399         * posix/tst-pathconf.c: New test case.
60400         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
60401         _PC_PIPE_BUF.
60402         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
60404 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
60406         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
60408 2013-03-06  Andreas Jaeger  <aj@suse.de>
60410         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
60411         definition via __MAP_ANONYMOUS.
60413         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
60414         it's not part of Linux headers.
60416         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
60417         (MAP_HUGE_MASK): Define.
60419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60420         Define.
60421         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60422         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60423         Define.
60424         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60425         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60426         Define.
60427         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60428         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
60429         Define.
60430         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60432         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
60433         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
60434         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
60435         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
60436         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
60437         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
60439         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60440         Handle f2fs.
60442         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60443         Handle f2fs and efivarfs.
60445         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
60446         f2fs.
60448         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
60449         (EFIVARFS_MAGIC): Add.
60450         (F2FS_LINK_MAX): Add.
60452 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60454         * stdio-common/vfprintf.c: Replace __builtin_expect with
60455         __glibc_unlikely.
60457 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
60459         [BZ #13550]
60460         * sysdeps/generic/bp-sym.h: Remove file.
60461         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
60462         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
60463         <bp-sym.h> and <bp-asm.h>.
60464         (__longjmp): Don't use BP_SYM.
60465         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
60466         and <bp-asm.h>.
60467         (memcpy): Don't use BP_SYM.
60468         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
60469         <bp-sym.h> and <bp-asm.h>.
60470         (memcpy): Don't use BP_SYM.
60471         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
60472         <bp-asm.h>.
60473         (memcpy): Don't use BP_SYM.
60474         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
60475         <bp-asm.h>.
60476         (memset): Don't use BP_SYM.
60477         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60478         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60479         (__bzero): Don't use BP_SYM.
60480         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60481         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60482         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
60483         <bp-sym.h> and <bp-asm.h>.
60484         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60485         pointers.
60486         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
60487         <bp-sym.h> and <bp-asm.h>.
60488         (memcpy): Don't use BP_SYM.
60489         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
60490         <bp-sym.h> and <bp-asm.h>.
60491         (memset): Don't use BP_SYM.
60492         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60493         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60494         (__bzero): Don't use BP_SYM.
60495         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60496         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60497         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
60498         <bp-sym.h> and <bp-asm.h>.
60499         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60500         pointers.
60501         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
60502         <bp-sym.h> and <bp-asm.h>.
60503         (memcpy): Don't use BP_SYM.
60504         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
60505         <bp-sym.h> and <bp-asm.h>.
60506         (memset): Don't use BP_SYM.
60507         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60508         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60509         (__bzero): Don't use BP_SYM.
60510         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60511         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60512         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
60513         <bp-sym.h> and <bp-asm.h>.
60514         (__memchr): Don't use BP_SYM.
60515         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
60516         <bp-sym.h> and <bp-asm.h>.
60517         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60518         pointers.
60519         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
60520         <bp-sym.h> and <bp-asm.h>.
60521         (memcpy): Don't use BP_SYM.
60522         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
60523         <bp-sym.h> and <bp-asm.h>.
60524         (__mempcpy): Don't use BP_SYM.
60525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
60526         <bp-sym.h> and <bp-asm.h>.
60527         (__memrchr): Don't use BP_SYM.
60528         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
60529         <bp-sym.h> and <bp-asm.h>.
60530         (memset): Don't use BP_SYM.
60531         (__bzero): Likewise.
60532         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
60533         <bp-sym.h> and <bp-asm.h>.
60534         (__rawmemchr): Don't use BP_SYM.
60535         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
60536         <bp-sym.h> and <bp-asm.h>.
60537         (__STRCMP): Don't use BP_SYM.
60538         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
60539         <bp-sym.h> and <bp-asm.h>.
60540         (strchr): Don't use BP_SYM.
60541         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
60542         <bp-sym.h> and <bp-asm.h>.
60543         (__strchrnul): Don't use BP_SYM.
60544         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
60545         <bp-sym.h> and <bp-asm.h>.
60546         (strlen): Don't use BP_SYM.
60547         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
60548         <bp-sym.h> and <bp-asm.h>.
60549         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60550         pointers.
60551         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
60552         <bp-sym.h> and <bp-asm.h>.
60553         (__strnlen): Don't use BP_SYM.
60554         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
60555         <bp-sym.h> and <bp-asm.h>.
60556         (__GI__setjmp): Don't use BP_SYM.
60557         (_setjmp): Likewise.
60558         (__sigsetjmp): Likewise.
60559         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
60560         (L(start_addresses)): Don't use BP_SYM.
60561         (_start): Likewise.
60562         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
60563         <bp-asm.h>.
60564         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
60565         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
60566         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60567         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60568         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
60569         <bp-asm.h>.
60570         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
60571         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
60572         about bounded pointers.
60573         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60574         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60575         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
60576         <bp-asm.h>.
60577         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60578         about bounded pointers.  Remove GKM FIXME comments.
60579         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60580         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
60581         <bp-asm.h>.
60582         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
60583         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
60584         Remove GKM FIXME comments.
60585         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60586         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60587         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
60588         <bp-asm.h>.
60589         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60590         about bounded pointers.  Remove GKM FIXME comment.
60591         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
60592         and <bp-asm.h>.
60593         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60594         pointers.
60595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
60596         <bp-sym.h> and <bp-asm.h>.
60597         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
60599         <bp-sym.h> and <bp-asm.h>.
60600         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
60601         comment.
60603 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60605         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
60606         call free(NULL).
60608 2013-03-05  David S. Miller  <davem@davemloft.net>
60610         * po/es.po: Update from translation team.
60612 2013-03-05  Andreas Jaeger  <aj@suse.de>
60614         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
60615         <bits/mman-linux.h>.
60616         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60617         is fine.
60618         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
60619         <bits/mman-linux.h> to end of file.
60620         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60621         is fine.
60622         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
60623         <bits/mman-linux.h> to end of file.
60624         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60625         is fine.
60626         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
60627         <bits/mman-linux.h> to end of file.
60629         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
60630         (MCL_CURRENT, MCL_FUTURE): Define here.
60632 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60634         [BZ #15232]
60635         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
60636         attribute_hidden.
60637         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60639 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60641         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
60642         fourth parameter needed for rt_sigprocmask syscall.
60643         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
60644         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60645         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
60646         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60647         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60648         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
60650 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
60652         [BZ #13550]
60653         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
60654         comment about bounded pointers.
60655         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
60656         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
60658 2013-03-04  Andreas Jaeger  <aj@suse.de>
60660         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
60661         common definitions.
60663         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
60664         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
60665         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
60666         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60667         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60668         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60670 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60672         [BZ #15055]
60673         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
60674         __ieee754_sqrl instead of __sqrl.
60676 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
60678         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
60679         * sysdeps/powerpc/fpu_control.h: ... here.
60680         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
60681         * sysdeps/powerpc/bits/fenvinline.h: ... here.
60682         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
60683         * sysdeps/powerpc/bits/mathinline.h: ... here.
60685 2013-03-01  Roland McGrath  <roland@hack.frob.com>
60687         * elf/dl-hwcaps.c (_dl_important_hwcaps):
60688         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
60689         to just [NEED_DL_SYSINFO_DSO].
60690         * elf/dl-support.c: Likewise.
60691         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
60692         * elf/rtld.c (dl_main): Likewise.
60693         * elf/setup-vdso.h (setup_vdso): Likewise.
60694         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
60695         * sysdeps/unix/sysv/linux/dl-sysdep.c
60696         (_dl_discover_osversion): Likewise.
60698 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
60700         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
60701         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60703 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
60705         * NEWS: Mention libm performance improvements and non-x86 PI
60706         futex support.
60708         * csu/libc-start.c (__pthread_initialize_minimal): Change
60709         function arguments.
60710         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60712 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
60714         [BZ #13550]
60715         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
60716         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
60717         <bp-sym.h> and <bp-asm.h>.
60718         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60719         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
60720         and <bp-asm.h>.
60721         (memcpy): Don't use BP_SYM.
60722         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
60723         <bp-asm.h>.
60724         (__mpn_add_n): Don't use BP_SYM.
60725         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
60726         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
60727         and <bp-asm.h>.
60728         (__mpn_addmul_1): Don't use BP_SYM.
60729         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60730         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
60731         <bp-sym.h>.
60732         (_setjmp): Don't use BP_SYM.
60733         (__novmx_setjmp): Likewise.
60734         (__GI__setjmp): Likewise.
60735         (__vmx_setjmp): Likewise.
60736         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
60737         <bp-sym.h>.
60738         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
60739         (__bzero): Don't use BP_SYM.
60740         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60741         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60742         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
60743         <bp-sym.h> and <bp-asm.h>.
60744         (memcpy): Don't use BP_SYM.
60745         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
60746         <bp-sym.h> and <bp-asm.h>.
60747         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60748         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
60749         <bp-sym.h> and <bp-asm.h>.
60750         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60751         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
60752         <bp-asm.h>.
60753         (__mpn_lshift): Don't use BP_SYM.
60754         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60755         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
60756         <bp-asm.h>.
60757         (memset): Don't use BP_SYM.
60758         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60759         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60760         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
60761         <bp-asm.h>.
60762         (__mpn_mul_1): Don't use BP_SYM.
60763         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60764         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
60765         <bp-sym.h> and <bp-asm.h>.
60766         (memcmp): Don't use BP_SYM.
60767         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
60768         <bp-sym.h> and <bp-asm.h>.
60769         (memcpy): Don't use BP_SYM.
60770         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
60771         <bp-sym.h> and <bp-asm.h>.
60772         (memset): Don't use BP_SYM.
60773         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
60774         <bp-sym.h> and <bp-asm.h>.
60775         (strncmp): Don't use BP_SYM.
60776         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
60777         <bp-sym.h> and <bp-asm.h>.
60778         (memcpy): Don't use BP_SYM.
60779         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
60780         <bp-sym.h> and <bp-asm.h>.
60781         (memset): Don't use BP_SYM.
60782         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
60783         <bp-sym.h> and <bp-asm.h>.
60784         (__memchr): Don't use BP_SYM.
60785         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
60786         <bp-sym.h> and <bp-asm.h>.
60787         (memcmp): Don't use BP_SYM.
60788         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
60789         <bp-sym.h> and <bp-asm.h>.
60790         (memcpy): Don't use BP_SYM.
60791         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
60792         <bp-sym.h> and <bp-asm.h>.
60793         (__mempcpy): Don't use BP_SYM.
60794         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
60795         <bp-sym.h> and <bp-asm.h>.
60796         (__memrchr): Don't use BP_SYM.
60797         * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
60801         <bp-sym.h> and <bp-asm.h>.
60802         (__rawmemchr): Don't use BP_SYM.
60803         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
60804         <bp-sym.h> and <bp-asm.h>.
60805         (__STRCMP): Don't use BP_SYM.
60806         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
60807         <bp-sym.h> and <bp-asm.h>.
60808         (strchr): Don't use BP_SYM.
60809         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
60810         <bp-sym.h> and <bp-asm.h>.
60811         (__strchrnul): Don't use BP_SYM.
60812         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
60813         <bp-sym.h> and <bp-asm.h>.
60814         (strlen): Don't use BP_SYM.
60815         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
60816         <bp-sym.h> and <bp-asm.h>.
60817         (strncmp): Don't use BP_SYM.
60818         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
60819         <bp-sym.h> and <bp-asm.h>.
60820         (__strnlen): Don't use BP_SYM.
60821         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
60822         <bp-asm.h>.
60823         (__mpn_rshift): Don't use BP_SYM.
60824         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60825         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
60826         <bp-sym.h> and <bp-asm.h>.
60827         (__sigsetjmp): Don't use BP_SYM.
60828         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
60829         (L(start_addresses)): Don't use BP_SYM.
60830         (_start): Likewise.
60831         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
60832         <bp-asm.h>.
60833         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
60834         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60835         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60836         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
60837         <bp-asm.h>.
60838         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
60839         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60840         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60841         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
60842         <bp-asm.h>.
60843         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
60844         comments.
60845         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60846         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
60847         <bp-asm.h>.
60848         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
60849         FIXME comments.
60850         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60851         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60852         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
60853         <bp-asm.h>.
60854         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
60855         comment.
60856         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
60857         and <bp-asm.h>.
60858         (strncmp): Don't use BP_SYM,
60859         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
60860         <bp-asm.h>.
60861         (__mpn_sub_n): Don't use BP_SYM.
60862         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60863         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
60864         and <bp-asm.h>.
60865         (__mpn_submul_1): Don't use BP_SYM.
60866         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
60868         <bp-sym.h> and <bp-asm.h>.
60869         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
60871         <bp-sym.h> and <bp-asm.h>.
60872         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
60873         comment.
60875 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60877         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
60878         Use ZK to minimize writes to Z.
60879         (sub_magnitudes): Simplify code a bit.
60880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
60881         Use ZK to minimize writes to Z.
60882         (sub_magnitudes): Simplify code a bit.
60884 2013-02-27  Roland McGrath  <roland@hack.frob.com>
60886         * csu/gmon-start.c: Add special exception to license text.
60888 2013-02-27  Richard Henderson  <rth@redhat.com>
60890         * scripts/config.guess: Update from config.git.
60891         * scripts/config.sub: Likewise.
60893 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60895         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
60897         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
60899         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
60901         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
60903         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
60905 2013-02-26  Roland McGrath  <roland@hack.frob.com>
60907         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
60908         [$(build-shared = yes].
60910 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60912         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
60913         (__mul): Reduce iterations for calculating mantissa.
60915         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
60916         MPTWO.
60917         (__mpranred): Likewise.
60919         [BZ #15160]
60920         * malloc/memusagestat.c (main): Draw graphs for heap and stack
60921         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
60923 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
60925         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
60926         Define __attribute__.
60928 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60930         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
60931         unused.
60932         * posix/regex_internal.h (__attribute): Remove.
60933         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60934         (re_string_context_at): Likewise.
60935         (bitset_not): Use __attribute__ and mark function as possibly
60936         unused.
60937         (bitset_merge): Likewise.
60938         (bitset_mask): Likewise.
60939         (re_string_char_size_at): Likewise.
60940         (re_string_wchar_at): Likewise.
60941         (re_string_elem_size_at): Likewise.
60943 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60945         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
60946         code.
60947         (cc32): Likewise.
60949         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
60950         (__acr): Likewise.
60951         (__cpy): Likewise.
60952         (norm): Likewise.
60953         (denorm): Likewise.
60954         (__dbl_mp): Likewise.
60955         (add_magnitudes): Likewise.
60956         (sub_magnitudes): Likewise.
60957         (__mul): Likewise.
60958         (__inv): Likewise.
60960         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
60961         style.
60963         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
60964         style.
60966         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
60967         code.
60969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
60970         up changes with default code.
60971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
60972         Likewise.
60974 2013-02-24  Allan McRae  <allan@archlinux.org>
60976         * manual/socket.texi (The Internet Namespace): Order menu items
60977         to match that in the file.
60979         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
60980         node listing of the info page menu.
60982 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
60984         [BZ #13550]
60985         * sysdeps/i386/bp-asm.h: Remove file.
60986         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60987         (PARMS): Do not use macros from bp-asm.h.
60988         (S1): Likewise.
60989         (S2): Likewise.
60990         (SIZE): Likewise.
60991         (__mpn_add_n): Do not use BP_SYM
60992         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
60993         "bp-asm.h".
60994         (PARMS): Do not use macros from bp-asm.h.
60995         (S1): Likewise.
60996         (SIZE): Likewise.
60997         (__mpn_addmul_1): Do not use BP_SYM
60998         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
60999         "bp-asm.h".
61000         (PARMS): Do not use macros from bp-asm.h.
61001         (SIGMSK): Likewise.
61002         (_setjmp): Likewise.  Do not use BP_SYM.
61003         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61004         "bp-asm.h".
61005         (PARMS): Do not use macros from bp-asm.h.
61006         (SIGMSK): Likewise.
61007         (setjmp): Likewise.  Do not use BP_SYM.
61008         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61009         "bp-asm.h".
61010         (PARMS): Do not use macros from bp-asm.h.
61011         (__frexp): Do not use BP_SYM.
61012         (frexp): Likewise.
61013         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61014         "bp-asm.h".
61015         (PARMS): Do not use macros from bp-asm.h.
61016         (__frexpf): Do not use BP_SYM.
61017         (frexpf): Likewise.
61018         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61019         "bp-asm.h".
61020         (PARMS): Do not use macros from bp-asm.h.
61021         (__frexpl): Do not use BP_SYM.
61022         (frexpl): Likewise.
61023         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61024         "bp-asm.h".
61025         (PARMS): Do not use macros from bp-asm.h.
61026         (__remquo): Do not use BP_SYM.
61027         (remquo): Likewise.
61028         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61029         "bp-asm.h".
61030         (PARMS): Do not use macros from bp-asm.h.
61031         (__remquof): Do not use BP_SYM.
61032         (remquof): Likewise.
61033         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61034         "bp-asm.h".
61035         (PARMS): Do not use macros from bp-asm.h.
61036         (__remquol): Do not use BP_SYM.
61037         (remquol): Likewise.
61038         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61039         "bp-asm.h".
61040         (PARMS): Do not use macros from bp-asm.h.
61041         (DEST): Likewise.
61042         (SRC): Likewise.
61043         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61044         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61045         "bp-asm.h".
61046         (PARMS): Do not use macros from bp-asm.h.
61047         (strlen): Do not use BP_SYM.
61048         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61049         "bp-asm.h".
61050         (PARMS): Do not use macros from bp-asm.h.
61051         (S1): Likewise.
61052         (S2): Likewise.
61053         (SIZE): Likewise.
61054         (__mpn_add_n): Do not use BP_SYM.
61055         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61056         "bp-asm.h".
61057         (PARMS): Do not use macros from bp-asm.h.
61058         (S1): Likewise.
61059         (SIZE): Likewise.
61060         (__mpn_addmul_1): Do not use BP_SYM.
61061         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61062         weak_alias.
61063         (bzero): Likewise.
61064         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61065         "bp-asm.h".
61066         (PARMS): Do not use macros from bp-asm.h.
61067         (S): Likewise.
61068         (SIZE): Likewise.
61069         (__mpn_lshift): Do not use BP_SYM.
61070         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61071         "bp-asm.h".
61072         (PARMS): Do not use macros from bp-asm.h.
61073         (DEST): Likewise.
61074         (SRC): Likewise.
61075         (LEN): Likewise.
61076         (memcpy): Likewise.  Do not use BP_SYM.
61077         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61078         libc_hidden_def and weak_alias.
61079         (mempcpy): Do not use BP_SYM in weak_alias.
61080         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61081         "bp-asm.h".
61082         (PARMS): Do not use macros from bp-asm.h.
61083         (DEST): Likewise.
61084         (LEN): Likewise.
61085         [!BZERO_P] (CHR): Likewise.
61086         (memset): Likewise.  Do not use BP_SYM.
61087         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61088         "bp-asm.h".
61089         (PARMS): Do not use macros from bp-asm.h.
61090         (S1): Likewise.
61091         (SIZE): Likewise.
61092         (__mpn_mul_1): Do not use BP_SYM.
61093         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61094         "bp-asm.h".
61095         (PARMS): Do not use macros from bp-asm.h.
61096         (S): Likewise.
61097         (SIZE): Likewise.
61098         (__mpn_rshift): Do not use BP_SYM.
61099         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61100         "bp-asm.h".
61101         (PARMS): Do not use macros from bp-asm.h.
61102         (STR): Likewise.
61103         (CHR): Likewise.
61104         (strchr): Likewise.  Do not use BP_SYM.
61105         (index): Do not use BP_SYM in weak_alias.
61106         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61107         "bp-asm.h".
61108         (PARMS): Do not use macros from bp-asm.h.
61109         (DEST): Likewise.
61110         (SRC): Likewise.
61111         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61112         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61113         "bp-asm.h".
61114         (PARMS): Do not use macros from bp-asm.h.
61115         (strlen): Do not use BP_SYM.
61116         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61117         "bp-asm.h".
61118         (PARMS): Do not use macros from bp-asm.h.
61119         (S1): Likewise.
61120         (S2): Likewise.
61121         (SIZE): Likewise.
61122         (__mpn_sub_n): Do not use BP_SYM.
61123         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61124         "bp-asm.h".
61125         (PARMS): Do not use macros from bp-asm.h.
61126         (S1): Likewise.
61127         (SIZE): Likewise.
61128         (__mpn_submul_1): Do not use BP_SYM.
61129         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61130         "bp-asm.h".
61131         (PARMS): Do not use macros from bp-asm.h.
61132         (S1): Likewise.
61133         (S2): Likewise.
61134         (SIZE): Likewise.
61135         (__mpn_add_n): Do not use BP_SYM.
61136         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61137         weak_alias.
61138         (bzero): Likewise.
61139         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61140         "bp-asm.h".
61141         (PARMS): Do not use macros from bp-asm.h.
61142         (BLK2): Likewise.
61143         (LEN): Likewise.
61144         (memcmp): Do not use BP_SYM.
61145         (bcmp): Do not use BP_SYM in weak_alias.
61146         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61147         "bp-asm.h".
61148         (PARMS): Do not use macros from bp-asm.h.
61149         (DEST): Likewise.
61150         (SRC): Likewise.
61151         (LEN): Likewise.
61152         (memcpy): Likewise.  Do not use BP_SYM.
61153         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61154         "bp-asm.h".
61155         (PARMS): Do not use macros from bp-asm.h.
61156         (DEST): Likewise.
61157         (SRC): Likewise.
61158         (LEN): Likewise.
61159         (memmove): Likewise.  Do not use BP_SYM.
61160         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61161         "bp-asm.h".
61162         (PARMS): Do not use macros from bp-asm.h.
61163         (DEST): Likewise.
61164         (SRC): Likewise.
61165         (LEN): Likewise.
61166         (__mempcpy): Likewise.  Do not use BP_SYM.
61167         (mempcpy): Do not use BP_SYM in weak_alias.
61168         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61169         "bp-asm.h".
61170         (PARMS): Do not use macros from bp-asm.h.
61171         (DEST): Likewise.
61172         (LEN): Likewise.
61173         [!BZERO_P] (CHR): Likewise.
61174         (memset): Likewise.  Do not use BP_SYM.
61175         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61176         "bp-asm.h".
61177         (PARMS): Do not use macros from bp-asm.h.
61178         (STR2): Likewise.
61179         (strcmp): Do not use BP_SYM.
61180         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61181         "bp-asm.h".
61182         (PARMS): Do not use macros from bp-asm.h.
61183         (STR): Likewise.
61184         (DELIM): Likewise.
61185         [USE_AS_STRTOK_R] (SAVE): Likewise.
61186         (FUNCTION): Likewise.  Do not use BP_SYM.
61187         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61188         aliases.
61189         (strtok_r): Likewise.
61190         (__GI___strtok_r): Likewise.
61191         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61192         (PARMS): Do not use macros from bp-asm.h.
61193         (S): Likewise.
61194         (SIZE): Likewise.
61195         (__mpn_lshift): Do not use BP_SYM.
61196         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61197         (PARMS): Do not use macros from bp-asm.h.
61198         (STR): Likewise.
61199         (CHR): Likewise.
61200         (__memchr): Do not use BP_SYM.
61201         (memchr): Do not use BP_SYM in weak_alias.
61202         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61203         (PARMS): Do not use macros from bp-asm.h.
61204         (BLK2): Likewise.
61205         (LEN): Likewise.
61206         (memcmp): Do not use BP_SYM.
61207         (bcmp): Do not use BP_SYM in weak_alias.
61208         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61209         (PARMS): Do not use macros from bp-asm.h.
61210         (S1): Likewise.
61211         (SIZE): Likewise.
61212         (__mpn_mul_1): Do not use BP_SYM.
61213         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61214         "bp-asm.h".
61215         (PARMS): Do not use macros from bp-asm.h.
61216         (STR): Likewise.
61217         (CHR): Likewise.
61218         (__rawmemchr): Do not use BP_SYM.
61219         (rawmemchr): Do not use BP_SYM in weak_alias.
61220         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61221         (PARMS): Do not use macros from bp-asm.h.
61222         (S): Likewise.
61223         (SIZE): Likewise.
61224         (__mpn_rshift): Do not use BP_SYM.
61225         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61226         (PARMS): Do not use macros from bp-asm.h.
61227         (SIGMSK): Likewise.
61228         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61229         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61230         (_start): Do not use BP_SYM.
61231         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61232         (PARMS): Do not use macros from bp-asm.h.
61233         (DEST): Likewise.
61234         (SRC): Likewise.
61235         (__stpcpy): Likewise.  Do not use BP_SYM.
61236         (stpcpy): Do not use BP_SYM in weak_alias.
61237         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61238         "bp-asm.h".
61239         (PARMS): Do not use macros from bp-asm.h.
61240         (DEST): Likewise.
61241         (SRC): Likewise.
61242         (LEN): Likewise.
61243         (__stpncpy): Likewise.  Do not use BP_SYM.
61244         (stpncpy): Do not use BP_SYM in weak_alias.
61245         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61246         (PARMS): Do not use macros from bp-asm.h.
61247         (STR): Likewise.
61248         (CHR): Likewise.
61249         (strchr): Likewise.  Do not use BP_SYM.
61250         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61251         "bp-asm.h".
61252         (PARMS): Do not use macros from bp-asm.h.
61253         (STR): Likewise.
61254         (CHR): Likewise.
61255         (__strchrnul): Likewise.  Do not use BP_SYM.
61256         (strchrnul): Do not use BP_SYM in weak_alias.
61257         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61258         "bp-asm.h".
61259         (PARMS): Do not use macros from bp-asm.h.
61260         (STOP): Likewise.
61261         (strcspn): Do not use BP_SYM.
61262         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61263         "bp-asm.h".
61264         (PARMS): Do not use macros from bp-asm.h.
61265         (STR): Likewise.
61266         (STOP): Likewise.
61267         (strpbrk): Likewise.  Do not use BP_SYM.
61268         * sysdeps/i386/strrchr.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         (strrchr): Likewise.  Do not use BP_SYM.
61274         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61275         (PARMS): Do not use macros from bp-asm.h.
61276         (SKIP): Likewise.
61277         (strspn): Do not use BP_SYM.
61278         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61279         (PARMS): Do not use macros from bp-asm.h.
61280         (STR): Likewise.
61281         (DELIM): Likewise.
61282         (SAVE): Likewise.
61283         (FUNCTION): Likewise.  Do not use BP_SYM.
61284         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61285         aliases.
61286         (strtok_r): Likewise.
61287         (__GI___strtok_r): Likewise.
61288         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61289         (PARMS): Do not use macros from bp-asm.h.
61290         (S1): Likewise.
61291         (S2): Likewise.
61292         (SIZE): Likewise.
61293         (__mpn_sub_n): Do not use BP_SYM.
61294         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61295         "bp-asm.h".
61296         (PARMS): Do not use macros from bp-asm.h.
61297         (S1): Likewise.
61298         (SIZE): Likewise.
61299         (__mpn_submul_1): Do not use BP_SYM.
61300         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61301         <bp-sym.h>.
61302         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61303         and <bp-asm.h>.
61304         (PARMS): Do not use macros from bp-asm.h.
61305         (FLAGS): Likewise.
61306         (PTID): Likewise.
61307         (TLS): Likewise.
61308         (CTID): Likewise.
61309         (__clone): Do not use BP_SYM.
61310         (clone): Do not use BP_SYM in weak_alias.
61311         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61312         and <bp-asm.h>.
61313         (PARMS): Do not use macros from bp-asm.h.
61314         (LEN): Likewise.
61315         (__mmap64): Do not use BP_SYM.
61316         (mmap64): Do not use BP_SYM in weak_alias.
61317         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61318         <bp-sym.h> and <bp-asm.h>.
61319         (PARMS): Do not use macros from bp-asm.h.
61320         (__posix_fadvise64_l64): Do not use BP_SYM.
61321         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61322         (PARMS): Do not use macros from bp-asm.h.
61323         (NSOPS): Likewise.
61324         (semtimedop): Do not use BP_SYM.
61325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61326         and <bp-asm.h>.
61328 2013-02-21  Allan McRae  <allan@archlinux.org>
61330         * manual/message.texi (Charset conversion in gettext):
61331         Move @end statement to beginning of line.
61333 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61336         static.
61337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61338         Likewise.
61340         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61341         (denorm): Likewise.
61342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61345 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61347         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61348         tail-call to the resolved function if pltexit isn't needed.
61350 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61353         or Y being zero as being unlikely.
61354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61355         Likewise.
61357 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
61359         * manual/nss.texi (System Databases and Name Service Switch):
61360         Remove frobnicate @pxref.
61362 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61364         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61365         __attribute__ ((unused)) to __attribute__ ((__unused__)).
61367 2013-02-20  Petr Machata  <pmachata@redhat.com>
61369         * elf/elf.h (R_ARM_TARGET1): New macro.
61370         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
61371         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
61372         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
61373         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
61374         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
61375         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
61376         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
61377         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
61378         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
61379         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
61380         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
61381         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
61382         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
61383         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
61384         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
61385         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
61386         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
61387         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61388         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
61389         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
61390         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
61391         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
61392         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
61393         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
61394         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
61395         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
61396         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
61397         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61398         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
61399         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
61400         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
61401         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
61402         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
61403         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
61404         (R_ARM_THM_GOT_BREL12): Likewise.
61405         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
61406         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
61407         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
61408         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
61409         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
61410         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
61411         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
61412         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
61413         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
61415 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61417         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61418         __attribute_used__ to __attribute__ ((unused)).
61420 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61422         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
61423         powerpc mpa.c.
61424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
61425         comment formatting.
61426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61428 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
61430         [BZ #13550]
61431         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
61432         Remove macro.
61433         (ENTER): Remove both macro definitions.
61434         (LEAVE): Likewise.
61435         (CHECK_BOUNDS_LOW): Likewise.
61436         (CHECK_BOUNDS_HIGH): Likewise.
61437         (CHECK_BOUNDS_BOTH): Likewise.
61438         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
61439         (RETURN_BOUNDED_POINTER): Likewise.
61440         (RETURN_NULL_BOUNDED_POINTER): Likewise.
61441         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
61442         (POP_ERRNO_LOCATION_RETURN): Likewise.
61443         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
61444         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61445         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
61446         macros.
61447         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61448         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
61449         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
61450         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
61451         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
61452         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
61453         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
61454         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
61455         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
61456         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
61457         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
61458         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
61459         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61460         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
61461         removed macros.
61462         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61463         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
61464         macros.
61465         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61466         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
61467         * sysdeps/i386/i586/memset.S (memset): Likewise.
61468         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
61469         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61470         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
61471         macros.
61472         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61473         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
61474         Change uses of L(2) to L(out).
61475         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
61476         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
61477         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
61478         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61479         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
61480         removed macros.
61481         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61482         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
61483         macros.
61484         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61485         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
61486         (RETURN): Do not use macro LEAVE.
61487         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
61488         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
61489         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
61490         * sysdeps/i386/i686/memset.S (memset): Likewise.
61491         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
61492         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
61493         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61494         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
61495         Likewise.
61496         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61497         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
61498         L(1_2) and L(1_3) into L(1).
61499         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61500         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
61501         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61502         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
61503         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61504         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
61505         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
61506         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61507         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
61508         macros.
61509         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
61510         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61511         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
61512         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
61513         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
61514         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61515         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
61516         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
61517         * sysdeps/i386/strcspn.S (strcspn): Likewise.
61518         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
61519         * sysdeps/i386/strrchr.S (strrchr): Likewise.
61520         * sysdeps/i386/strspn.S (strspn): Likewise.
61521         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
61522         conditional code.
61523         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61524         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
61525         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61526         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
61527         L(1_3) into L(1_1).
61528         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
61529         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61530         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
61531         macros.
61532         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61534 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
61536         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
61537         macro.
61539 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61541         * math/atest-exp.c (exp_mpn): Remove ROUND.
61542         * math/atest-exp2.c (exp_mpn): Likewise.
61543         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
61545         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
61546         * stdlib/tst-tls-atexit-lib.c: Likewise.
61547         * stdlib/tst-tls-atexit.c: Likewise.
61549 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61551         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
61552         and __attribute_alloc_size__.
61554 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61556         * include/programs/xmalloc.h: Change __attribute_alloc_size to
61557         __attribute_alloc_size__.
61558         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
61559         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
61561 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61563         * include/programs/xmalloc.h: New file.
61564         * catgets/gencat.c: Include it.
61565         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
61566         * elf/pldd.c: Likewise.
61567         * iconv/iconv_charmap.c: Likewise.
61568         * iconv/iconvconfig.c: Likewise.
61569         * iconv/strtab.c: Likewise.
61570         * locale/programs/locale.c: Likewise.
61571         * locale/programs/localedef.h: Likewise.
61572         * locale/programs/simple-hash.c: Likewise.
61573         * nscd/nscd.h: Likewise.
61574         * nss/makedb.c: Likewise.
61575         * sysdeps/generic/ldconfig.h: Likewise.
61577 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61579         * Versions.def: Add GLIBC_2.18.
61580         * include/link.h (struct link_map): New member l_tls_dtor_count.
61581         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
61582         (__call_tls_dtors): Likewise.
61583         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
61584         __cxa_thread_atexit_impl.
61585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61586         Likewise.
61587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61588         Likewise.
61589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
61590         Likewise.
61591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
61592         Likewise.
61593         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
61595         Likewise.
61596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
61597         Likewise.
61598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61600         Likewise.
61601         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
61602         (tests): Add test case tst-tls-atexit.
61603         (modules-names): Add shared library for tst-tls-atexit.
61604         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
61605         (GLIBC_PRIVATE): Add __call_tls_dtors.
61606         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
61607         for libstdc++.
61608         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
61609         * stdlib/tst-tls-atexit.c: New test case.
61610         * stdlib/tst-tls-atexit-lib.c: New test case.
61612         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
61614         * elf/Versions (ld): Add _dl_find_dso_for_object.
61615         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
61616         * elf/dl-open.c (_dl_find_dso_for_object): New function.
61617         (dl_open_worker): Use _dl_find_dso_for_object.
61618         * elf/dl-sym.c (do_sym): Likewise.
61619         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
61621 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61623         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
61624         Syntactic changes only.
61625         (_dl_runtime_profile): Do a tail-call to the resolved function.
61627 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
61629         [BZ #13550]
61630         * sysdeps/x86_64/bp-asm.h: Remove file.
61631         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
61632         <bp-sym.h> and <bp-asm.h>.
61633         (__clone): Do not use BP_SYM.
61634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
61635         <bp-sym.h> and <bp-asm.h>.
61636         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61637         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
61638         "bp-asm.h".
61639         (_setjmp): Do not use BP_SYM.
61640         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
61641         "bp-asm.h".
61642         (setjmp): Do not use BP_SYM.
61643         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
61644         libc_hidden_def.
61645         (mempcpy): Do not use BP_SYM in weak_alias.
61646         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
61647         "bp-asm.h".
61648         (strchr): Do not use BP_SYM.
61649         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
61650         "bp-asm.h".
61651         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
61652         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
61653         (_start): Do not use BP_SYM.
61654         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
61655         "bp-asm.h".
61656         (strcat): Do not use BP_SYM.
61657         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
61658         "bp-asm.h".
61659         (STRCMP): Do not use BP_SYM.
61660         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
61661         "bp-asm.h".
61662         (STRCPY): Do not use BP_SYM.
61663         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
61664         "bp-asm.h".
61665         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
61666         "bp-asm.h".
61667         (FUNCTION): Do not use BP_SYM.
61668         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
61669         weak_alias.
61670         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
61672 2013-02-17  Andreas Jaeger  <aj@suse.de>
61674         * time/Versions: Sort entries.
61675         * string/Versions: Likewise.
61676         * resolv/Versions: Likewise.
61677         * posix/Versions: Likewise.
61678         * iconv/Versions: Likewise.
61679         * elf/Versions: Likewise.
61680         * wcsmbs/Versions: Likewise.
61682 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61684         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
61685         loop termination condition.
61687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
61688         variable to calculate EZ.
61689         (__sqr): Likewise.
61691         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
61692         the lower precision input.
61694 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
61696         [BZ #13550]
61697         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
61698         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
61699         (run-via-rtld-prefix): Do not handle %-bp tests.
61700         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
61701         (all-object-suffixes): Remove .ob.
61702         (bppfx): Remove variable.
61703         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
61704         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
61705         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
61706         [$(build-bounded) = yes] (libtype.ob): Likewise.
61707         * Makerules (elide-routines.ob): Remove variable.
61708         (do-tests-clean): Do not handle *-bp.out.
61709         (common-mostlyclean): Do not handle *-bp and *-bp.out.
61710         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
61711         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
61712         (tests): Do not include $(tests-bp.out).
61713         (xtests): Do not include $(xtests-bp.out).
61714         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
61715         [$(build-bounded) = yes] ($(addprefix
61716         $(objpfx),$(binaries-bounded))): Remove rule.
61717         ($(objpfx)%-bp.out): Remove rule.
61718         * config.make.in (build-bounded): Remove variable.
61719         * crypt/Makefile [$(build-bounded) = yes]
61720         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
61721         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
61722         append to variable.
61723         [$(build-bounded) = yes] (install-lib): Likewise.
61724         [$(build-bounded) = yes] (generated): Likewise.
61725         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
61726         Remove rule.
61727         * intl/Makefile [$(build-bounded) = yes]
61728         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
61729         * math/Makefile [$(build-bounded) = yes]
61730         ($(tests:%=$(objpfx)%-bp): Likewise.
61731         * misc/Makefile [$(build-bounded) = yes]
61732         ($(objpfx)tst-tsearch-bp): Likewise.
61733         * nptl/Makeconfig (bounded-thread-library): Remove variable.
61734         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
61735         Remove dependency.
61736         * string/Makefile (o-objects.ob): Remove variable.
61737         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
61738         (CFLAGS-.ob): Remove variable.
61739         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
61740         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
61741         both definitions of variable.
61742         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
61743         (ASFLAGS-.ob): Remove variable.
61745 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
61747         [BZ #13550]
61748         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
61749         Remove __BOUNDED_POINTERS__ from condition.
61750         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
61751         * string/bits/string2.h [!__NO_STRING_INLINES &&
61752         !__BOUNDED_POINTERS__]: Likewise.
61753         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
61754         Likewise.
61755         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
61756         Remove conditional code.
61757         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
61758         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
61759         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
61760         condition.
61762         [BZ #13550]
61763         * csu/libc-start.c: Do not include <bp-sym.h>.
61764         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
61765         * elf/dl-open.c: Do not include <bp-sym.h>.
61766         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
61767         * math/fegetenv.c: Do not include <bp-sym.h>.
61768         (fegetenv): Do not use BP_SYM in versioned symbols.
61769         * nptl/sysdeps/pthread/bits/libc-lockP.h
61770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
61771         <bp-sym.h>.
61772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61773         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
61774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61775         (__pthread_mutex_destroy): Likewise.
61776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61777         (__pthread_mutex_lock): Likewise.
61778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61779         (__pthread_mutex_trylock): Likewise.
61780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61781         (__pthread_mutex_unlock): Likewise.
61782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61783         (__pthread_mutexattr_init): Likewise.
61784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61785         (__pthread_mutexattr_destroy): Likewise.
61786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61787         (__pthread_mutexattr_settype): Likewise.
61788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61789         (__pthread_rwlock_init): Likewise.
61790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61791         (__pthread_rwlock_destroy): Likewise.
61792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61793         (__pthread_rwlock_rdlock): Likewise.
61794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61795         (__pthread_rwlock_tryrdlock): Likewise.
61796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61797         (__pthread_rwlock_wrlock): Likewise.
61798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61799         (__pthread_rwlock_trywrlock): Likewise.
61800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61801         (__pthread_rwlock_unlock): Likewise.
61802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61803         (__pthread_key_create): Likewise.
61804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61805         (__pthread_setspecific): Likewise.
61806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61807         (__pthread_getspecific): Likewise.
61808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
61809         Likewise.
61810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61811         (_pthread_cleanup_push_defer): Likewise.
61812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61813         (_pthread_cleanup_pop_restore): Likewise.
61814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61815         (pthread_setcancelstate): Likewise.
61816         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
61817         <bp-sym.h>.
61818         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
61819         (memchr): Do not use BP_SYM in weak_alias.
61820         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
61821         (fegetenv): Do not use BP_SYM in versioned symbols.
61822         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
61823         (fesetenv): Do not use BP_SYM in versioned symbols.
61824         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61825         (feupdateenv): Do not use BP_SYM in versioned symbols.
61826         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61827         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61828         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
61829         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
61830         (open64): Do not use BP_SYM in weak_alias.
61831         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
61832         (fegetenv): Do not use BP_SYM in versioned symbols.
61833         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
61834         (fesetenv): Do not use BP_SYM in versioned symbols.
61835         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61836         (feupdateenv): Do not use BP_SYM in versioned symbols.
61837         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
61838         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
61839         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
61840         (feraiseexcept): Do not use BP_SYM in versioned symbols.
61841         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61842         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61843         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
61844         <bp-sym.h>.
61845         (__libc_start_main): Do not use BP_SYM.
61847 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
61850         redundant return line.
61851         (norm): Likewise.
61852         (denorm): Likewise.
61853         (dbl_mp): Likewise.
61854         (sub_magnitudes): Likewise.
61855         (__add): Likewise.
61856         (__sub): Likewise.
61857         (__mul): Likewise.
61858         (__inv): Likewise.
61859         (__dvd): Likewise.
61860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
61861         (norm): Likewise.
61862         (denorm): Likewise.
61863         (dbl_mp): Likewise.
61864         (sub_magnitudes): Likewise.
61865         (__add): Likewise.
61866         (__sub): Likewise.
61867         (__mul): Likewise.
61868         (__inv): Likewise.
61869         (__dvd): Likewise.
61871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
61872         instead of __mul.
61873         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61874         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
61875         (cc32): Likewise.
61877         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
61878         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
61879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
61880         of __mul for squares.
61881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
61882         function
61883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
61884         Likewise.
61885         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
61886         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61888 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
61890         [BZ #13550]
61891         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
61892         code.
61893         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
61894         prototype or function definition.  Rename ubp_* variables and
61895         parameters.  Remove argv definitions conditional on
61896         [__BOUNDED_POINTERS__].
61897         * debug/backtrace.c (__backtrace): Do not use __unbounded.
61898         * elf/dl-runtime.c (_dl_fixup): Likewise.
61899         * include/set-hooks.h (RUN_HOOK): Likewise.
61900         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
61901         definition.
61902         * string/strcpy.c (strcpy): Do not use __unbounded.
61903         * sysdeps/generic/frame.h (struct layout): Likewise.
61904         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
61905         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
61906         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
61907         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
61908         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
61909         (__backtrace): Likewise.
61910         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
61911         use __ptrvalue.
61912         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
61913         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
61914         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
61915         Likewise.
61916         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
61917         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
61918         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
61919         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61920         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
61921         Do not use __unbounded.
61922         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
61923         Rename __unboundedrlimits parameter to rlimits in prototype.
61924         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
61925         Do not use __unbounded.
61926         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
61927         not use __ptrvalue.
61928         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61929         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
61930         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61931         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
61932         __ptrvalue or __unbounded.
61933         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
61934         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
61935         use __unbounded.
61936         (__new_msgctl): Do not use __ptrvalue.
61937         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
61938         __unbounded.
61939         (__libc_msgrcv): Do not use __ptrvalue.
61940         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
61941         startup_info): Do not use __unbounded.
61942         (__libc_start_main): Likewise.  Rename ubp_* variables and
61943         parameters.  Remove argv definitions conditional on
61944         [__BOUNDED_POINTERS__].
61945         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
61946         __ptrvalue.
61947         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
61948         use __unbounded.
61949         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
61950         or __ptrvalue.
61951         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
61952         use __unbounded.
61953         (__new_shmctl): Do not use __ptrvalue.
61954         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
61955         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
61956         Likewise.
61957         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
61958         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
61959         (__libc_sigaction): Likewise.
61960         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
61961         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
61962         Likewise.
61963         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61965 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
61967         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
61969         * string/mempcpy.c: Implement by calling memcpy.
61971 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
61975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
61976         evaluation.
61978         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
61979         values in the mantissa.
61981         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
61982         minimize writes to Z.
61983         (sub_magnitudes): Simplify code a bit.
61985 2013-02-12  Roland McGrath  <roland@hack.frob.com>
61987         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
61988         from the message.  The linker prefixes all warnings with that already.
61990 2013-02-12  Andreas Schwab  <schwab@suse.de>
61992         [BZ #15078]
61993         * posix/regexec.c (extend_buffers): Add parameter min_len.
61994         (check_matching): Pass minimum needed length.
61995         (clean_state_log_if_needed): Likewise.
61996         (get_subexp): Likewise.
61997         * posix/Makefile (tests): Add bug-regex34.
61998         (bug-regex34-ENV): Define.
61999         * posix/bug-regex34.c: New file.
62001         [BZ #11561]
62002         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62003         elements compare against the byte sequence of it, not its name.
62004         * posix/Makefile (tests): Add bug-regex35.
62005         (bug-regex35-ENV): Define.
62006         * posix/bug-regex35.c: New file.
62008 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62010         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62011         comment.
62012         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62013         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62014         (CHECK_EOL): Add undef.
62016 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62018         * bits/stdlib-bsearch.h: New file.
62019         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62020         * stdlib/stdlib.h: Likewise.
62022 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62024         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62025         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62026         declaration.
62027         * manual/search.texi (Array Search Function): Add missing const in
62028         lfind prototype.
62029         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62030         declaration to use rlim_t.
62031         (Basic Scheduling Functions): Remove erroneous const from
62032         sched_getparam prototype.  Remove erroneous * from
62033         sched_get_priority_max and sched_get_priority_min prototypes.
62034         (Resource Usage): Fix summary @comment on vtimes to refer to
62035         sys/vtimes.h rather than vtimes.h.
62036         Add missing *s in vtimes prototype.
62037         (Limits on Resources): Fix ulimit prototype to return long int.
62038         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62039         prototypes to use long int rather than double.
62040         (BSD Random): Fix initstate and setstate to use char *, not void *.
62041         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62042         prototype to make second argument 'struct aiocb64 *const[]'.
62043         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62044         (Status of AIO Operations): Remove erroneous const in aio_return and
62045         aio_return64 prototypes.
62046         (Synchronizing I/O): Fix sync prototype to return void.
62047         * manual/startup.texi (Suboptions): Remove an erroneous const in
62048         getsubopt prototype.
62049         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62050         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62051         use size_t rather than int.
62052         (Scanning All Users): Likewise for getpwent_r.
62053         (Setting Groups): Add missing const to setgroups prototype.
62054         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62055         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62056         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62057         'const void *' rather than 'const char *'.
62058         (Host Address Functions): Likewise for inet_ntop.
62059         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62060         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62061         ssize_t for return value.
62062         (Sending Data): Likewise for send, sendto, sendmsg.
62063         (Socket Option Functions): Add a missing const in setsockopt prototype.
62064         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62065         use wchar_t for the argument.
62066         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62067         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62068         take no arguments.
62069         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62070         double/float/long double for second argument.
62071         Fix return types of significand, significandf, significandl.
62072         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62073         argument in fchmod prototype.
62074         (File Owner): Use uid_t and gid_t in fchown prototype.
62075         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62076         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62077         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62078         use 'const struct dirent **' as argument types to CMP function pointer
62079         argument.
62080         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62081         (File Times): Fix summary magic @comment for struct utimbuf and utime
62082         to refer to utime.h, not time.h.
62083         * manual/string.texi (Argz Functions): Add missing const in
62084         argz_extract and argz_next prototypes.
62085         (Finding Tokens in a String): Likewise for basename.
62086         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62087         (Copying and Concatenation): Fix typo in wmemmove prototype.
62088         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62089         (Signal Stack): Remove erroneous const in sigstack prototype.
62090         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62091         prototype.
62092         (Simple Calendar Time): Likewise for stime.
62093         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62094         prototype.
62095         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62096         say sys/sysctl.h instead.
62097         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62098         and vsyslog prototypes.
62100 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62102         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62103         Remove.
62105 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62107         * misc/sys/mman.h: Fix typo in mremap comment.
62109 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62111         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62112         the '\0' terminator.
62114 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62116         [BZ #13550]
62117         * debug/segfault.c: Don't include <bp-checks.h>.
62118         * sysdeps/generic/bp-checks.h: Remove file.
62119         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62120         (__GETDENTS): Don't use CHECK_N.
62121         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62122         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62123         (__getgroups): Don't use CHECK_N.
62124         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62125         (setgroups): Don't use CHECK_N.
62126         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62127         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62128         (__libc_msgrcv): Don't use CHECK_N.
62129         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62130         (__libc_msgsnd): Don't use CHECK_N.
62131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62132         <bp-checks.h>.
62133         (__libc_pread): Don't use CHECK_N.
62134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62135         include <bp-checks.h>.
62136         (__libc_pread64): Don't use CHECK_N.
62137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62138         include <bp-checks.h>.
62139         (__libc_pwrite): Don't use CHECK_N.
62140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62141         include <bp-checks.h>.
62142         (__libc_pwrite64): Don't use CHECK_N.
62143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62144         <bp-checks.h>.
62145         (__libc_pread): Don't use CHECK_N.
62146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62147         include <bp-checks.h>.
62148         (__libc_pread64): Don't use CHECK_N.
62149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62150         include <bp-checks.h>.
62151         (__libc_pwrite): Don't use CHECK_N.
62152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62153         include <bp-checks.h>.
62154         (__libc_pwrite64): Don't use CHECK_N.
62155         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62156         (do_pread): Don't use CHECK_N.
62157         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62158         (do_pread64): Don't use CHECK_N.
62159         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62160         (do_pwrite): Don't use CHECK_N.
62161         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62162         (do_pwrite64): Don't use CHECK_N.
62163         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62164         (__libc_readv): Don't use CHECK_N.
62165         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62166         (semop): Don't use CHECK_N.
62167         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62168         <bp-checks.h>.
62169         (semtimedop): Don't use CHECK_N.
62170         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62171         (__libc_pread): Don't use CHECK_N.
62172         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62173         <bp-checks.h>.
62174         (__libc_pread64): Don't use CHECK_N.
62175         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62176         <bp-checks.h>.
62177         (__libc_pwrite): Don't use CHECK_N.
62178         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62179         <bp-checks.h>.
62180         (__libc_pwrite64): Don't use CHECK_N.
62181         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62182         <bp-checks.h>.
62183         (__libc_msgrcv): Don't use CHECK_N.
62184         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62185         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62186         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62187         (__libc_writev): Don't use CHECK_N.
62189 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62191         * string/strcpy.c: Removed unused variable.
62193         * Makeconfig (+sysdep-includes): Define with := rather than =.
62194         Use an existing include/ subdir of each sysdeps dir before it.
62196 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62198         * nscd/connection.c (register_traced_file): Comment function.
62199         [HAVE_INOTIFY] (union __inev): Define.
62200         [HAVE_INOTIFY] (inotify_check_files): New function.
62201         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62202         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62203         clear_db_cache.
62204         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62206 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62208         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62209         loaded if not already and that a failure is permanent.
62211 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62213         [BZ #15006]
62214         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62215         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62217 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62219         [BZ #13550]
62220         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62221         (CHECK_1_NULL_OK): Likewise.
62222         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62223         (__fxstat): Do not use CHECK_1.
62224         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62225         <bp-checks.h>.
62226         (___fxstat64): Do not use CHECK_1.
62227         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62228         <bp-checks.h>.
62229         (__fxstatat): Do not use CHECK_1.
62230         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62231         <bp-checks.h>.
62232         (__fxstatat64): Do not use CHECK_1.
62233         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62234         <bp-checks.h>.
62235         (__fxstat): Do not use CHECK_1.
62236         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62237         <bp-checks.h>.
62238         (__fxstatat): Do not use CHECK_1.
62239         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62240         <bp-checks.h>.
62241         (__getresgid): Do not use CHECK_1.
62242         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62243         <bp-checks.h>.
62244         (__getresuid): Do not use CHECK_1.
62245         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62246         <bp-checks.h>.
62247         (__lxstat): Do not use CHECK_1.
62248         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62249         <bp-checks.h>.
62250         (__old_msgctl): Do not use CHECK_1.
62251         (__new_msgctl): Likewise.
62252         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62253         <bp-checks.h>.
62254         (__new_setrlimit): Do not use CHECK_1.
62255         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62256         <bp-checks.h>.
62257         (__old_shmctl): Do not use CHECK_1.
62258         (__new_shmctl): Likewise.
62259         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62260         <bp-checks.h>.
62261         (__xstat): Do not use CHECK_1.
62262         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62263         (__lxstat): Do not use CHECK_1.
62264         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62265         <bp-checks.h>.
62266         (___lxstat64): Do not use CHECK_1.
62267         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62268         (__old_msgctl): Do not use CHECK_1.
62269         (__new_msgctl): Likewise.
62270         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62271         <bp-checks.h>.
62272         (__gettimeofday): Do not use CHECK_1.
62273         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62274         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62275         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62276         <bp-checks.h>.
62277         (__gettimeofday): Do not use CHECK_1.
62278         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62279         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62280         (__new_shmctl): Do not use CHECK_1.
62281         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62282         <bp-checks.h>.
62283         (do_sigtimedwait): Do not use CHECK_1.
62284         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62285         <bp-checks.h>.
62286         (do_sigwaitinfo): Do not use CHECK_1.
62287         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62288         <bp-checks.h>.
62289         (msgctl): Do not use CHECK_1.
62290         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62291         <bp-checks.h>.
62292         (shmctl): Do not use CHECK_1.
62293         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62294         (ustat): Do not use CHECK_1.
62295         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62296         <bp-checks.h>.
62297         (__fxstat): Do not use CHECK_1.
62298         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62299         <bp-checks.h>.
62300         (__fxstatat): Do not use CHECK_1.
62301         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62302         <bp-checks.h>.
62303         (__lxstat): Do not use CHECK_1.
62304         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62305         <bp-checks.h>.
62306         (__xstat): Do not use CHECK_1.
62307         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62308         (__xstat): Do not use CHECK_1.
62309         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62310         (___xstat64): Do not use CHECK_1.
62312         [BZ #13550]
62313         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62314         definitions.
62315         (CHECK_BOUNDS_HIGH): Likewise.
62316         * string/strcpy.c: Do not include <bp-checks.h>.
62317         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62319 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62321         * nscd/nscd-client.h (__nscd_drop_map_ref):
62322         Add __attribute__ ((unused)).
62323         * nis/nss-nisplus.h (niserr2nss): Likewise.
62325         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62326         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62328         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62329         Remove inline keyword.
62330         * include/rounding-mode.h (round_away): Likewise.
62331         * libio/wfileops.c (adjust_wide_data): Likewise.
62332         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62333         (__m128i_strloadu_tolower): Likewise.
62334         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62335         (__m128i_strloadu_tolower): Likewise.
62336         * time/mktime.c (ydhms_diff): Likewise.
62337         * locale/elem-hash.h (elem_hash): Likewise.
62338         * locale/setlocale.c (setdata): Likewise.
62339         * posix/regex_internal.h (re_string_char_size_at): Likewise.
62340         (re_string_wchar_at): Likewise.
62341         (bitset_not, bitset_merge, bitset_mask): Likewise.
62342         [!(__GNUC__ > 3)] (inline): Remove macro.
62343         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62344         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62345         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62346         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62347         * string/memcmp.c (memcmp_bytes): Likewise.
62348         * locale/programs/locarchive.c (compute_hashval): Likewise.
62349         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62350         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62351         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62352         * nss/getent.c (print_rpc, print_protocols): Likewise.
62353         (print_passwd, print_group, print_aliases): Likewise.
62354         * nis/nss-nisplus.h (niserr2nss): Likewise.
62355         * nscd/connections.c (restart_p): Likewise.
62356         Change return type to bool.
62358 2013-02-05  Roland McGrath  <roland@hack.frob.com>
62360         * Makeconfig (all-Depend-files): Add existing
62361         $(sorted-subdirs:=/Depend) files.
62362         (all-subdirs): Remove nss.
62363         * sysdeps/unix/inet/Subdirs: Add it here instead.
62364         * hesiod/Depend: New file.
62366         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
62367         instead of calling alloca.
62369         * io/lseek.c (__lseek): Rename to __libc_lseek.
62370         Define __lseek as an alias.
62372         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
62374 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
62376         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
62377         else clause and remove check for non-standard endianness.
62379 2013-02-04  David S. Miller  <davem@davemloft.net>
62381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62383 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
62385         [BZ #13550]
62386         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
62387         (__ubp_memchr): Remove prototype.
62388         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
62389         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62390         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
62391         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62392         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
62393         Remove alias.
62394         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
62395         (__ubp_memchr): Likewise.
62396         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
62397         (__ubp_memchr): Likewise.
62398         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
62399         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
62400         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
62401         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
62402         CHECK_STRING.
62403         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
62404         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
62405         (__getcwd): Do not use CHECK_STRING.
62406         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62407         <bp-checks.h>.
62408         (__real_chown): Do not use CHECK_STRING.
62409         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
62410         <bp-checks.h>.
62411         (fchownat): Do not use CHECK_STRING.
62412         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
62413         CHECK_STRING.
62414         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62415         <bp-checks.h>.
62416         (__lchown): Do not use CHECK_STRING.
62417         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62418         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62419         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62420         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
62421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62422         include <bp-checks.h>.
62423         (truncate64): Do not use CHECK_STRING.
62424         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62425         <bp-checks.h>.
62426         (__real_chown): Do not use CHECK_STRING.
62427         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62428         <bp-checks.h>.
62429         (__lchown): Do not use CHECK_STRING.
62430         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62431         <bp-checks.h>.
62432         (__chown): Do not use CHECK_STRING.
62433         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
62434         <bp-checks.h>.
62435         (truncate64): Do not use CHECK_STRING.
62436         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
62437         Likewise.
62438         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
62439         (__xmknod): Do not use CHECK_STRING.
62440         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
62441         <bp-checks.h>.
62442         (__xmknodat): Do not use CHECK_STRING.
62443         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62444         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
62446 2013-02-04  Andreas Schwab  <schwab@suse.de>
62448         [BZ #14142]
62449         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
62450         * include/netdb.h: Likewise for h_errno.
62451         * elf/tst-stackguard1.c: Include <tls.h>.
62453 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
62455         * elf/link.h (struct link_map): Extend the l_addr comment.
62456         * include/link.h (struct link_map): Likewise.
62458 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
62460         [BZ #13550]
62461         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
62462         (BOUNDED_1): Remove macro.
62463         * debug/backtrace.c: Don't include <bp-checks.h>.
62464         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
62465         (__backtrace): Likewise.
62466         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
62467         <bp-checks.h>.
62468         (__backtrace): Don't use BOUNDED_1.
62469         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
62470         <bp-checks.h>.
62471         (__backtrace): Don't use BOUNDED_1.
62472         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
62473         (__backtrace): Don't use BOUNDED_1.
62474         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
62475         (shmat): Don't use BOUNDED_N.
62477 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
62479         [BZ #13550]
62480         * sysdeps/generic/bp-start.h: Remove file.
62481         * csu/libc-start.c: Don't include <bp-start.h>.
62482         (LIBC_START_MAIN): Set up __environ directly instead of using
62483         INIT_ARGV_and_ENVIRON.
62484         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
62485         <bp-start.h>.
62487         [BZ #13550]
62488         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
62489         definitions.
62490         (CHECK_FCNTL): Likewise.
62491         (CHECK_N_PAGES): Likewise.
62493         [BZ #13550]
62494         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
62495         definitions.
62496         (CHECK_SIGSET_NULL_OK): Likewise.
62497         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
62498         <bp-checks.h>.
62499         (sigpending): Don't use CHECK_SIGSET.
62500         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
62501         <bp-checks.h>.
62502         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62503         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
62504         <bp-checks.h>.
62505         (do_sigsuspend): Don't use CHECK_SIGSET.
62506         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
62507         use CHECK_SIGSET.
62508         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
62509         (do_sigwait): Don't use CHECK_SIGSET.
62510         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
62511         use CHECK_SIGSET.
62512         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
62513         include <bp-checks.h>.
62514         (sigpending): Don't use CHECK_SIGSET.
62515         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
62516         include <bp-checks.h>.
62517         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62518         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
62519         <bp-checks.h>.
62520         (sigpending): Don't use CHECK_SIGSET.
62521         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
62522         <bp-checks.h>.
62523         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62525         [BZ #13550]
62526         * sysdeps/generic/bp-semctl.h: Remove file.
62527         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
62528         <bp-checks.h> and <bp-semctl.h>.
62529         (__old_semctl): Don't use CHECK_SEMCTL.
62530         (__new_semctl): Likewise.
62531         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
62532         and <bp-semctl.h>.
62533         (__old_semctl): Don't use CHECK_SEMCTL.
62534         (__new_semctl): Likewise.
62535         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
62536         <bp-checks.h> and <bp-semctl.h>.
62537         (__old_semctl): Don't use CHECK_SEMCTL.
62538         (__new_semctl): Likewise.
62539         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
62540         <bp-checks.h> and <bp-semctl.h>.
62541         (semctl): Don't use CHECK_SEMCTL.
62543         [BZ #13550]
62544         * Makerules (elide-bp-thunks): Remove variable.
62545         (elide-routines.oS): Don't use $(elide-bp-thunks).
62546         (elide-routines.os): Likewise.
62547         (elide-routines.o): Likewise.
62548         (elide-routines.op): Likewise.
62549         (elide-routines.og): Likewise.
62550         (objects): Don't use $(bp-thunks).
62551         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
62552         include.
62553         (common-generated): Do not add s-proto-bp.d.
62554         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
62555         (int): Likewise.
62556         (typ): Likewise.
62557         Do not generate makefile rules for bounded-pointer thunks.
62558         * sysdeps/generic/bp-thunks.h: Remove file.
62559         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
62560         * sysdeps/unix/s-proto-bp.S: Likewise.
62562         [BZ #15062]
62563         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
62564         parts of result separately when argument is not close to line from
62565         -i to i and one part of argument is small.
62566         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62567         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62568         * math/libm-test.inc (cacos_test): Add more tests.
62569         (casin_test): Likewise.
62570         (casinh_test): Likewise.
62571         * sysdeps/i386/fpu/libm-test-ulps: Update.
62572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62574 2013-01-31  David S. Miller  <davem@davemloft.net>
62576         * po/de.po: Update from translation team.
62578 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
62580         * time/tzfile.c: Include stdint.h for SIZE_MAX.
62582 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
62584         * configure.in (_AC_PROG_CC_C89): New definition.
62585         * configure: Regenerate.
62587         * configure.in (AC_PROG_CPP): New definition.
62588         * configure: Regenerate.
62590 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62592         * debug/tst-backtrace.h: New file.
62593         * debug/tst-backtrace2.c: Include tst-backtrace.h.
62594         (ret): Remove variable.
62595         (x): Likewise.
62596         (FAIL): Remove macro.
62597         (NO_INLINE): Likewise.
62598         (fn1): Use match function instead of strstr.
62599         * debug/tst-backtrace3.c: Include tst-backtrace.h.
62600         (ret): Remove variable.
62601         (x): Likewise.
62602         (FAIL): Remove macro.
62603         (NO_INLINE): Likewise.
62604         (fn): Use match function instead of strstr.
62605         * debug/tst-backtrace4.c: Include tst-backtrace.h.
62606         (ret): Remove variable.
62607         (x): Likewise.
62608         (FAIL): Remove macro.
62609         (NO_INLINE): Likewise.
62610         (handle_signal): Use match function instead of strstr.
62611         * debug/tst-backtrace5.c: Include tst-backtrace.h.
62612         (ret): Remove variable.
62613         (x): Likewise.
62614         (FAIL): Remove macro.
62615         (NO_INLINE): Likewise.
62616         (handle_signal): Use match function instead of strstr.
62618 2013-01-23  Roland McGrath  <roland@hack.frob.com>
62620         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
62622 2013-01-23  David S. Miller  <davem@davemloft.net>
62624         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
62625         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
62626         argument of CAS if possible.
62627         * sysdeps/sparc/sparc64/bits/atomic.h
62628         (__arch_compare_and_exchange_val_32_acq): Likewise.
62629         (__arch_compare_and_exchange_val_64_acq): Likewise.
62631 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
62633         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
62634         * sysdeps/posix/ulimit.c: ... this.
62635         Include <limits.h>.
62636         * sysdeps/unix/bsd/ulimit.c: Remove file.
62638 2013-01-23  Adam Conrad  <adconrad@0c3.net>
62640         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
62641         (LDFLAGS-tst-array5): Likewise.
62643 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62645         [BZ #15036]
62646         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
62647         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
62648         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
62649         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
62651 2013-01-21  David S. Miller  <davem@davemloft.net>
62653         * sysdeps/sparc/backtrace.c: New file.
62654         * sysdeps/sparc/sparc32/backtrace.h: New file.
62655         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
62656         * sysdeps/sparc/sparc64/backtrace.h: New file.
62657         * sysdeps/sparc/sparc64/backtrace.c: Delete.
62658         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
62659         -funwind-tables.
62661 2013-01-21  Andreas Schwab  <schwab@suse.de>
62663         [BZ #15020]
62664         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
62665         closed its stdout.
62667 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
62669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
62670         "mpa2.h".
62671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62673 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
62674             Mark Mitchell  <mark@codesourcery.com>
62675             Tom de Vries  <tom@codesourcery.com>
62676             Paul Pluzhnikov  <ppluzhnikov@google.com>
62678         * debug/tst-backtrace2.c: New file.
62679         * debug/tst-backtrace3.c: Likewise.
62680         * debug/tst-backtrace4.c: Likewise.
62681         * debug/tst-backtrace5.c: Likewise.
62682         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
62683         (CFLAGS-tst-backtrace3.c): Likewise.
62684         (CFLAGS-tst-backtrace4.c): Likewise.
62685         (CFLAGS-tst-backtrace5.c): Likewise.
62686         (LDFLAGS-tst-backtrace2): Likewise.
62687         (LDFLAGS-tst-backtrace3): Likewise.
62688         (LDFLAGS-tst-backtrace4): Likewise.
62689         (LDFLAGS-tst-backtrace5): Likewise.
62690         (tests): Add new tests tst-backtrace2, tst-backtrace3,
62691         tst-backtrace4 and tst-backtrace5.
62693 2013-01-18  Anton Blanchard  <anton@samba.org>
62694             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62696         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
62697         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
62698         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
62699         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
62700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62701         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
62702         "+r" and remove output regs list as redundant.  Add explicit inline
62703         asm to specify register of return val to work around compiler codegen
62704         bug.  Remove (int) cast on return value.  Add return type parameter to
62705         use in macro so that this macro does not truncate return value for
62706         64-bit values.
62707         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
62708         pass to INTERNAL_VSYSCALL_NCS.
62709         (INLINE_VSYSCALL): Add 'long int' as return type to
62710         INTERNAL_VSYSCALL_NCS macro invocation.
62711         (INTERNAL_VSYSCALL): Add 'long int' as return type to
62712         INTERNAL_VSYSCALL_NCS macro invocation.
62713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62715 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62717         [BZ #14496]
62718         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
62719         Fix application of SIMD FP exception mask.
62721         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
62722         mp_no from a power of two.
62723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
62724         __mpexp_twomm1.  Use __pow_mp.
62726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
62727         multiplication.
62729 2013-01-17  David S. Miller  <davem@davemloft.net>
62731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62733 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
62735         [BZ #15023]
62736         * include/complex.h: Condition contents on [!_COMPLEX_H].
62737         (__kernel_casinhf): New prototype.
62738         (__kernel_casinh): Likewise.
62739         (__kernel_casinhl): Likewise.
62740         * math/Makefile (libm_calls): Add k_casinh.
62741         * math/k_casinh.c: New file.
62742         * math/k_casinhf.c: Likewise.
62743         * math/k_casinhl.c: Likewise.
62744         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
62745         finite nonzero arguments.
62746         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
62747         finite nonzero arguments.
62748         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
62749         finite nonzero arguments.
62750         * math/s_casinh.c: Do not include <float.h>.
62751         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
62752         * math/s_casinhf.c: Do not include <float.h>.
62753         (__casinhf): Move code for finite nonzero arguments to
62754         k_casinhf.c.
62755         * math/s_casinhl.c: Do not include <float.h>.
62756         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
62757         redefine.
62758         (__casinhl): Move code for finite nonzero arguments to
62759         k_casinhl.c.
62760         * math/libm-test.inc (cacos_test): Add more tests.
62761         * sysdeps/i386/fpu/libm-test-ulps: Update.
62762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62764 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
62766         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
62767         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
62768         [!HAVE_MREMAP]: Remove [defined linux] case.
62769         * malloc/arena.c: Do not include <malloc-sysdep.h>.
62771 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62773         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
62775 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
62777         * elf/elf.h (R_386_SIZE32): New relocation.
62778         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
62779         R_386_SIZE32.
62780         (elf_machine_rela): Likewise.
62781         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62782         R_X86_64_SIZE64 and R_X86_64_SIZE32.
62784 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
62786         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
62787         (FP_FAST_FMA): Do not define.
62788         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
62789         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
62790         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
62791         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
62792         !_SOFT_FLOAT]: Likewise.
62793         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
62794         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
62795         value.
62796         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
62797         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
62798         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
62799         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
62800         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
62801         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
62802         file.
62804 2013-01-16  Andreas Schwab  <schwab@suse.de>
62806         [BZ #14327]
62807         * include/stdlib.h (__mktemp): Add declaration.
62808         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
62809         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
62811 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62813         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
62814         definitions.
62815         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62816         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
62817         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
62818         definitions here.
62819         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
62820         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
62821         definitions.
62822         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
62823         and ONE.
62824         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
62825         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
62826         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
62827         definitions.
62828         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
62829         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
62830         definitions.
62831         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62833         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
62835 2013-01-15  David S. Miller  <davem@davemloft.net>
62837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62838         trunc{,f} to libm-sysdep_routes.
62839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
62841         file.
62842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
62843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
62844         file.
62845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
62846         file.
62847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
62848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
62849         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
62850         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
62851         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
62852         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
62853         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
62854         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
62856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62857         nearbyint{,f} to libm-sysdep_routes.
62858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
62860         New file.
62861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
62862         file.
62863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
62864         New file.
62865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
62866         file.
62867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
62868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
62869         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
62870         file.
62871         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
62872         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
62873         file.
62874         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
62875         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
62876         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
62878         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62879         libc_feholdexcept and libc_fesetenv.
62881 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
62883         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
62885 2013-01-14  David S. Miller  <davem@davemloft.net>
62887         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
62888         (SPARC_ASM_VIS2_IFUNC): Likewise.
62889         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
62890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
62891         use of 'siam' instruction.
62892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
62893         Likewise.
62894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
62895         Likewise.
62896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
62897         Likewise.
62898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
62899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
62900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
62901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
62902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
62903         file.
62904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
62905         file.
62906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
62907         file.
62908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
62909         file.
62910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
62911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
62912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
62913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
62914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
62915         new VIS2 routines.
62916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62919         Likewise.
62920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
62925         routines to libm-sysdep_routines.
62926         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62929         fdim/fdimf to libm-sysdep_routines.
62930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
62931         file.
62932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
62933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
62934         file.
62935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
62936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
62937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
62938         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
62939         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
62940         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
62941         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
62943 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
62946         to optimize copies.
62948         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
62949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
62953         local variable MPTWO.
62954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62955         Likewise.
62957 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
62959         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
62960         GLOB_NOESCAPE.
62962 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
62964         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
62966 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
62968         * manual/pattern.texi (glob_t): Document gl_flags.
62969         (glob64_t): Likewise.
62971 2013-01-11  David S. Miller  <davem@davemloft.net>
62973         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
62974         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
62975         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
62976         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
62977         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
62978         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
62979         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
62980         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
62981         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
62982         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
62983         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
62984         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
62985         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
62987         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62988         sparc V9 rather than using V8 code.
62989         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62990         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62992         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62993         Move to...
62994         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
62995         Here.
62997 2013-01-11  Roland McGrath  <roland@hack.frob.com>
62999         [BZ #14941]
63000         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63001         not in the main loop.
63002         * configure: Regenerated.
63004 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63006         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63007         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63008         to just #else.
63009         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63010         [!__GLIBC_HAVE_LONG_LONG] case.
63011         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63012         condition to just #else.
63013         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63014         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63015         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63016         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63017         unconditional.
63018         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63019         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63020         #elif condition to just #else.
63021         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63022         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63023         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63024         #elif condition to just #else.
63026 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63028         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63029         (EF_MIPS_ARCH_64): Fix value.
63030         (EF_MIPS_ARCH_32R2): New.
63031         (EF_MIPS_ARCH_64R2): New.
63033 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63035         * Makeconfig (+link-pie-before-libc): New.
63036         (+link-pie-after-libc): Likewise.
63037         (+link-pie-tests): Likewise.
63038         (+link-pie): Rewritten.
63039         (link-before-libc): Remove $(config-LDFLAGS).
63040         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63041         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63042         (config-LDFLAGS): Renamed to ...
63043         (rtld-LDFLAGS): This.
63044         (rtld-tests-LDFLAGS): New macro.
63045         (link-libc-rpath-link): Likewise.
63046         (link-libc-tests-rpath-link): Likewise.
63047         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63048         (link-libc): Prepand $(link-libc-rpath-link).
63049         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63050         (test-program-prefix): New macro.
63051         (test-via-rtld-prefix): Likewise.
63052         (test-program-cmd): Likewise.
63053         (host-test-program-cmd): Likewise.
63054         * Makefile ($(common-objpfx)testrun.sh): Replace
63055         $(run-program-prefix) with $(test-program-prefix).
63056         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63057         $(rtld-LDFLAGS).
63058         ($(common-objpfx)shlib.lds): Likewise.
63059         (build-module-helper): Likewise.
63060         ($(common-objpfx)format.lds): Likewise.
63061         * Rules (binaries-pie-tests): New.
63062         (binaries-pie-notests): Likewise.
63063         (binaries-pie): Rewritten.
63064         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63065         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63066         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63067         (make-test-out): Replace $(host-built-program-cmd) with
63068         $(host-test-program-cmd).
63069         * config.make.in (build-hardcoded-path-in-tests): New variable.
63070         * configure.in (--enable-hardcoded-path-in-tests): New configure
63071         option.
63072         (hardcoded_path_in_tests): New AC_SUBST.
63073         * configure: Regenerated.
63074         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63075         $(built-program-cmd) with $(test-program-cmd).
63076         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63077         (test_program_cmd): This.
63078         * elf/Makefile ($(objpfx)order.out): Run test with
63079         $(test-program-prefix).
63080         ($(objpfx)order2.out): Likewise.
63081         ($(objpfx)tst-initorder.out): Likewise.
63082         ($(objpfx)tst-initorder2.out): Likewise.
63083         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63084         $(test-program-cmd).
63085         ($(objpfx)tst-array1-static.out): Likewise.
63086         ($(objpfx)tst-array2.out): Likewise.
63087         ($(objpfx)tst-array3.out): Likewise.
63088         ($(objpfx)tst-array4.out): Likewise.
63089         ($(objpfx)tst-array5.out): Likewise.
63090         ($(objpfx)tst-array5-static.out): Likewise.
63091         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63092         $(test-program-cmd).
63093         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63094         $(run-program-prefix) with $(test-program-prefix).
63095         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63096         (test_program_prefix): This.
63097         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63098         $(run-program-prefix) with $(test-program-prefix).
63099         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63100         (test_program_prefix): This.
63101         * iconvdata/tst-tables.sh: Likewise.
63102         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63103         $(run-program-prefix) with $(test-program-prefix).
63104         ($(objpfx)tst-translit.out): Likewise.
63105         ($(objpfx)tst-gettext2.out): Likewise.
63106         ($(objpfx)tst-gettext4.out): Likewise.
63107         ($(objpfx)tst-gettext6.out): Likewise.
63108         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63109         (test_program_prefix): This.
63110         * intl/tst-gettext2.sh: Likewise.
63111         * intl/tst-gettext4.sh  Likewise.
63112         * intl/tst-gettext6.sh: Likewise.
63113         * intl/tst-translit.sh: Likewise.
63114         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63115         with $(test-program-cmd).
63116         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63117         $(run-program-prefix) with $(test-program-prefix).
63118         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63119         (test_program_prefix): This.
63120         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63121         $(run-program-prefix) with $(test-program-prefix).
63122         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63123         (test_program_prefix): This.
63124         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63125         * posix/Makefile ($(objpfx)globtest.out): Replace
63126         $(run-via-rtld-prefix) and $(test-wrapper) with
63127         $(test-program-prefix) and $(test-via-rtld-prefix).
63128         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63129         $(test-program-prefix).
63130         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63131         $(host-test-program-cmd).
63132         (tst-spawn-ARGS): Likewise.
63133         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63134         $(test-program-prefix).
63135         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63136         (test_via_rtld_prefix): This.
63137         (test_wrapper): Renamed to ...
63138         (test_program_prefix): This.
63139         (run_program_prefix): Replaced by test_program_prefix.
63140         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63141         (test_program_prefix): This.
63142         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63143         with $(host-test-program-cmd).
63144         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63145         $(run-program-prefix) with $(test-program-prefix).
63146         ($(objpfx)tst-printf.out): Likewise.
63147         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63148         $(test-program-cmd).
63149         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63150         (test_program_prefix): This.
63151         * stdio-common/tst-unbputc.sh: Likewise.
63152         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63153         $(run-program-prefix) with $(test-program-prefix).
63154         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63155         (test_program_prefix): This.
63156         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63157         $(built-program-cmd) with $(test-program-cmd).
63159 2013-01-11  Andreas Jaeger  <aj@suse.de>
63161         [BZ #15003]
63162         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63163         value. Sync with Linux 3.7.
63165 2013-01-10  David S. Miller  <davem@davemloft.net>
63167         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63168         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63169         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63171 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63173         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63174         never set.
63175         * configure: Regenerated.
63177 2013-01-10  David S. Miller  <davem@davemloft.net>
63179         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63180         sparc V9 rather than using V8 code.
63181         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63182         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63184 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63186         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63187         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63188         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63189         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63190         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63191         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63192         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63193         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63194         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63195         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63196         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63197         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63198         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63199         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63200         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63201         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63202         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63203         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63204         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63205         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63206         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63207         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63208         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63209         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63210         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63211         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63212         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63214 2013-01-10  David S. Miller  <davem@davemloft.net>
63216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63218 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63220         * posix/Makefile (tests-static): New variable.
63221         (tests): Add $(tests-static).
63222         (tst-exec-static-ARGS): New variable.
63223         (tst-spawn-static-ARGS): Likewise.
63224         * posix/tst-exec-static.c: New file.
63225         * posix/tst-spawn-static.c: Likewise.
63226         * posix/tst-exec.c: Support run directly.
63227         * posix/tst-spawn.c: Likewise.
63229 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63231         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63232         long.
63233         * math/bits/mathcalls.h (llrint): Likewise.
63234         (llround): Likewise.
63235         * stdlib/stdlib.h (struct drand48_data): Likewise.
63236         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63237         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63238         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63239         Likewise.
63240         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63241         Likewise.
63242         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63243         (elf_greg_t): Likewise.
63244         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63245         (__jmp_buf): Likewise.
63246         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63247         definitions.
63248         (llrint): Likewise, for all definitions.
63249         (llrintl): Likewise.
63251         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63252         Remove [__GNUC__] condition.
63253         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63254         condition to just [__USE_ISOC99].
63255         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63257 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63259         [BZ #14200]
63260         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63261         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63262         defined.
63263         (_POSIX_V6_ILP32_OFF32): Likewise.
63264         (_XBS5_ILP32_OFF32): Likewise.
63265         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63266         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63268 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63270         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63273         doubles __mpexp_twomm1.  Adjust usage.
63274         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63275         Remove.
63277 2013-01-10  Andreas Schwab  <schwab@suse.de>
63279         [BZ #14964]
63280         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63281         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63283 2013-01-09  David S. Miller  <davem@davemloft.net>
63285         [BZ #15003]
63286         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63287         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63288         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63289         (TCP_FASTOPEN): Define.
63290         (tcp_repair_opt): New structure.
63291         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63292         enum values.
63293         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63294         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63295         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63296         (tcp_cookie_transactions): New structure.
63298 2013-01-09  Anton Blanchard  <anton@samba.org>
63300         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63301         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63302         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63303         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63305 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63307         * include/features.h (__USE_ANSI): Remove.
63309 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63311         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63313         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63315 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63317         * sysdeps/s390/fpu/libm-test-ulps: Update.
63319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63321         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63322         (__acr): Likewise.
63323         (__cpy): Likewise.
63324         (norm): Likewise.
63325         (denorm): Likewise.
63326         (__mp_dbl): Likewise.
63327         (__dbl_mp): Likewise.
63328         (add_magnitudes): Likewise.
63329         (sub_magnitudes): Likewise.
63330         (__add): Likewise.
63331         (__sub): Likewise.
63332         (__mul): Likewise.
63333         (__inv): Likewise.
63334         (__dvd): Likewise.
63335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63336         (__acr): Likewise.
63337         (__cpy): Likewise.
63338         (norm): Likewise.
63339         (denorm): Likewise.
63340         (__mp_dbl): Likewise.
63341         (__dbl_mp): Likewise.
63342         (add_magnitudes): Likewise.
63343         (sub_magnitudes): Likewise.
63344         (__add): Likewise.
63345         (__sub): Likewise.
63346         (__mul): Likewise.
63347         (__inv): Likewise.
63348         (__dvd): Likewise.
63349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63350         (__acr): Likewise.
63351         (__cpy): Likewise.
63352         (norm): Likewise.
63353         (denorm): Likewise.
63354         (__mp_dbl): Likewise.
63355         (__dbl_mp): Likewise.
63356         (add_magnitudes): Likewise.
63357         (sub_magnitudes): Likewise.
63358         (__add): Likewise.
63359         (__sub): Likewise.
63360         (__mul): Likewise.
63361         (__inv): Likewise.
63362         (__dvd): Likewise.
63364 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
63366         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
63367         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
63368         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
63369         2 && __USE_EXTERN_INLINES]: Likewise.
63371 2013-01-08  Andreas Jaeger  <aj@suse.de>
63373         [BZ# 14985]
63374         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
63375         Remove.
63376         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63377         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63379 2013-01-07  Anton Blanchard  <anton@samba.org>
63381         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
63382         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63383         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
63384         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63385         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63386         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63387         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
63388         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63390         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63391         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63392         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63393         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63394         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63395         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63396         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63397         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63398         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63399         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
63400         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63401         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
63402         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
63403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63404         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63405         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
63406         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63407         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63408         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
63410         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63411         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
63412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63413         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63415         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63416         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63417         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63418         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63419         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
63420         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
63421         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
63422         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63423         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63425 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
63427         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
63428         (__MALLOC_PMT): Likewise.
63429         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
63430         [__GNUC__], only on [_LIBC].
63431         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63432         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63433         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63434         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
63435         forward declaration.
63436         (realloc_hook_ini): Likewise.
63437         (memalign_hook_ini): Likewise.
63438         (__libc_memalign): Do not use __MALLOC_PMT in variable
63439         declaration.
63440         (__libc_valloc): Likewise.
63441         (__libc_pvalloc): Likewise.
63442         (__libc_calloc): Likewise.
63443         (__posix_memalign): Likewise.
63445         [BZ #14996]
63446         * math/s_casinh.c: Include <float.h>.
63447         (__casinh): Do not do computation with squaring and square root
63448         for large arguments.
63449         * math/s_casinhf.c: Include <float.h>.
63450         (__casinhf): Do not do computation with squaring and square root
63451         for large arguments.
63452         * math/s_casinhl.c: Include <float.h>.
63453         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
63454         (__casinhl): Do not do computation with squaring and square root
63455         for large arguments.
63456         * math/libm-test.inc (casin_test): Add more tests.
63457         (casinh_test): Likewise.
63458         * sysdeps/i386/fpu/libm-test-ulps: Update.
63459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63461 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
63463         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
63464         (__x86_64_raw_data_cache_size): Likewise.
63465         (__x86_64_data_cache_size_half): Likewise.
63466         (__x86_64_raw_data_cache_size_half): Likewise.
63467         (__x86_64_shared_cache_size): Likewise.
63468         (__x86_64_raw_shared_cache_size): Likewise.
63469         (__x86_64_shared_cache_size_half): Likewise.
63470         (__x86_64_raw_shared_cache_size_half): Likewise.
63471         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
63472         to ...
63473         (__x86_data_cache_size): This.
63474         (__x86_64_raw_data_cache_size): Renamed to ...
63475         (__x86_raw_data_cache_size): This.
63476         (__x86_64_data_cache_size_half): Renamed to ...
63477         (__x86_data_cache_size_half): This.
63478         (__x86_64_raw_data_cache_size_half): Renamed to ...
63479         (__x86_raw_data_cache_size_half): This.
63480         (__x86_64_shared_cache_size): Renamed to ...
63481         (__x86_shared_cache_size): This.
63482         (__x86_64_raw_shared_cache_size): Renamed to ...
63483         (__x86_raw_shared_cache_size): This.
63484         (__x86_64_shared_cache_size_half): Renamed to ...
63485         (__x86_shared_cache_size_half): This.
63486         (__x86_64_raw_shared_cache_size_half): Renamed to ...
63487         (__x86_raw_shared_cache_size_half): This.
63488         * sysdeps/x86_64/memcpy.S: Updated.
63489         * sysdeps/x86_64/memset.S: Likewise.
63490         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63491         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63492         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63494 2013-01-04  David S. Miller  <davem@davemloft.net>
63496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63498 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
63500         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
63501         1 to avoid redefinition warning.
63502         (__USE_GNU): Don't define.
63503         (init_signaling_nan): Protoize.
63505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63507 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63509         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
63510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
63511         (__cpymn): Likewise.
63512         (norm): Remove commented code.
63513         (denorm): Likewise.
63514         (__mp_dbl): Likewise.
63515         (__inv): Likewise.
63516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
63517         (__cpymn): Likewise.
63518         (norm): Remove commented code.
63519         (denorm): Likewise.
63520         (__mp_dbl): Likewise.
63521         (__inv): Likewise.
63523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
63524         mp_no value for 1.0 and 2.0.
63525         (norm): Use RADIXI instead of radixi.d.
63526         (denorm): Likewise.
63527         (__mul): Use 0.0 instead of zero.d.
63528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
63529         mp_no value for 1.0 and 2.0.
63530         (norm): Use RADIXI instead of radixi.d.
63531         (denorm): Likewise.
63532         (__mul): Use 0.0 instead of zero.d.
63534 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
63536         [BZ #14994]
63537         * math/s_casinh.c (__casinh): Reduce finite argument to first
63538         quadrant then set signs of results at the end.
63539         * math/s_casinhf.c (__casinhf): Likewise.
63540         * math/s_casinhl.c (__casinhl): Likewise.
63541         * math/libm-test.inc (casin_test): Add more tests.
63542         (casinh_test): Likewise.
63543         * sysdeps/i386/fpu/libm-test-ulps: Update.
63544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63546 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63548         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
63550         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
63552         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
63553         declarations.
63554         (denorm): Likewise.
63555         (__mp_dbl): Likewise.
63556         (__inv): Likewise.
63558         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
63559         and adjust the header comment.
63561         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
63562         variable name from declaration.
63564 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
63566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63567         Initialize COMMON_CPUID_INDEX_7 element.
63568         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
63569         (CPUID_RTM): Likewise.
63570         (HAS_RTM): Likewise.
63571         (COMMON_CPUID_INDEX_7): New enum.
63573 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
63575         [BZ #14981]
63576         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
63577         size is zero, record memory as freed.
63579 2013-01-03  Andreas Jaeger  <aj@suse.de>
63581         * po/ia.po: Add new Interlingua translation.
63583 2012-01-03  Allan McRae  <allan@archlinux.org>
63585         * locale/programs/localedef.c: Fix description of '--posix' flag.
63587 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
63589         * NEWS: Update dates in second copyright notice.
63590         * README: Update copyright dates in example.
63591         * manual/libc.texinfo: Update copyright dates.
63592         * scripts/test-installation.pl: Update copyright date in --version
63593         output.
63595         * hurd/ctty-input.c: Fix copyright notice formatting.
63596         * hurd/ctty-output.c: Likewise.
63597         * hurd/dtable.c: Likewise.
63598         * hurd/hurd-raise.c: Likewise.
63599         * hurd/hurdprio.c: Likewise.
63600         * hurd/msgportdemux.c: Likewise.
63601         * misc/sys/file.h: Likewise.
63602         * misc/sys/ioctl.h: Likewise.
63603         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
63604         * sysdeps/mach/hurd/chdir.c: Likewise.
63605         * sysdeps/mach/hurd/fchdir.c: Likewise.
63606         * sysdeps/mach/hurd/rename.c: Likewise.
63607         * sysdeps/mach/hurd/rmdir.c: Likewise.
63608         * sysdeps/mach/hurd/seekdir.c: Likewise.
63609         * sysdeps/mach/hurd/setsid.c: Likewise.
63610         * sysdeps/posix/wait3.c: Likewise.
63612         * All files with FSF copyright notices: Update copyright dates
63613         using scripts/update-copyrights.
63614         * intl/plural.c: Regenerated.
63615         * locale/programs/charmap-kw.h: Likewise.
63616         * locale/programs/locfile-kw.h: Likewise.
63618 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63620         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
63621         four values.
63623         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
63624         calculation loop and add branch prediction.
63626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
63627         check access beyond bounds of m1np.
63629         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63630         MPTWO.
63631         (__inv): Remove local variable MPTWO to use the global
63632         constant.
63633         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
63634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63635         variable MPTWO.
63636         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
63637         MP3HALFS static const.
63639 2013-01-01  David S. Miller  <davem@davemloft.net>
63641         * po/ca.po: Update from translation team.
63643 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
63645         * scripts/update-copyrights: New file.
63646         * Makeconfig: Reformat copyright notice.
63647         * ctype/ctype.h: Likewise.
63648         * debug/swprintf_chk.c: Likewise.
63649         * elf/dl-cache.c: Likewise.
63650         * elf/dl-debug.c: Likewise.
63651         * elf/dl-object.c: Likewise.
63652         * grp/initgroups.c: Likewise.
63653         * hurd/Makefile: Likewise.
63654         * hurd/hurd/signal.h: Likewise.
63655         * hurd/hurdfault.c: Likewise.
63656         * hurd/hurdioctl.c: Likewise.
63657         * hurd/hurdlookup.c: Likewise.
63658         * hurd/intr-msg.c: Likewise.
63659         * iconv/gconv_open.c: Likewise.
63660         * libio/swprintf.c: Likewise.
63661         * locale/lc-ctype.c: Likewise.
63662         * locale/nl_langinfo.c: Likewise.
63663         * mach/Machrules: Likewise.
63664         * mach/Makefile: Likewise.
63665         * malloc/obstack.h: Likewise.
63666         * manual/Makefile: Likewise.
63667         * manual/tsort.awk: Likewise.
63668         * misc/bits/stab.def: Likewise.
63669         * nis/nis_print_group_entry.c: Likewise.
63670         * nis/nis_table.c: Likewise.
63671         * nis/nss_compat/compat-pwd.c: Likewise.
63672         * nis/nss_compat/compat-spwd.c: Likewise.
63673         * po/Makefile: Likewise.
63674         * posix/fnmatch.c: Likewise.
63675         * posix/regex.h: Likewise.
63676         * resolv/Makefile: Likewise.
63677         * resolv/nss_dns/dns-network.c: Likewise.
63678         * resolv/res_hconf.c: Likewise.
63679         * scripts/gen-sorted.awk: Likewise.
63680         * soft-fp/soft-fp.h: Likewise.
63681         * stdio-common/printf.h: Likewise.
63682         * stdlib/monetary.h: Likewise.
63683         * stdlib/random.c: Likewise.
63684         * stdlib/random_r.c: Likewise.
63685         * sysdeps/generic/Makefile: Likewise.
63686         * sysdeps/gnu/Makefile: Likewise.
63687         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63688         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63689         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63690         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63691         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63692         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63693         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63694         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63695         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63697         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63698         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63699         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63700         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63701         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63703         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63704         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63705         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63706         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63707         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63708         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63709         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63710         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63711         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
63712         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63713         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63714         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
63715         * sysdeps/mach/hurd/errnos.awk: Likewise.
63716         * sysdeps/mach/hurd/fork.c: Likewise.
63717         * sysdeps/mach/hurd/getcwd.c: Likewise.
63718         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
63719         * sysdeps/mach/hurd/mmap.c: Likewise.
63720         * sysdeps/mach/hurd/utimes.c: Likewise.
63721         * sysdeps/mach/hurd/xmknod.c: Likewise.
63722         * sysdeps/posix/profil.c: Likewise.
63723         * sysdeps/posix/readdir_r.c: Likewise.
63724         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63725         * sysdeps/powerpc/bits/setjmp.h: Likewise.
63726         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
63727         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63729         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63730         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63731         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63733         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63734         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63735         * sysdeps/pthread/lio_listio.c: Likewise.
63736         * sysdeps/sparc/dl-procinfo.h: Likewise.
63737         * sysdeps/unix/i386/sysdep.S: Likewise.
63738         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
63739         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
63740         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
63741         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
63742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63743         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
63744         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
63745         * sysdeps/unix/sysv/linux/speed.c: Likewise.
63746         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
63747         * sysdeps/wordsize-32/divdi3.c: Likewise.
63748         * time/sys/time.h: Likewise.
63749         * wcsmbs/Makefile: Likewise.
63751 2013-01-01  David S. Miller  <davem@davemloft.net>
63753         * po/fr.po: Update from translation team.
63755         * catgets/gencat.c: Update copyright year.
63756         * csu/version.c: Likewise.
63757         * debug/catchsegv.sh: Likewise.
63758         * debug/pcprofiledump.c: Likewise.
63759         * debug/xtrace.sh: Likewise.
63760         * elf/ldconfig.c: Likewise.
63761         * elf/ldd.bash.in: Likewise.
63762         * elf/pldd.c: Likewise.
63763         * elf/sotruss.ksh: Likewise.
63764         * elf/sprof.c: Likewise.
63765         * iconv/iconv_prog.c: Likewise.
63766         * iconv/iconvconfig.c: Likewise.
63767         * locale/programs/locale.c: Likewise.
63768         * locale/programs/localedef.c: Likewise.
63769         * login/programs/pt_chown.c: Likewise.
63770         * malloc/memusage.sh: Likewise.
63771         * malloc/memusagestat.c: Likewise.
63772         * malloc/mtrace.pl: Likewise.
63773         * nscd/nscd.c: Likewise.
63774         * nss/getent.c: Likewise.
63775         * nss/makedb.c: Likewise.
63776         * posix/getconf.c: Likewise.
63778 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63780         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
63781         numbers.
63783 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
63785         * math/bits/mathcalls.h (modf): Use __nonnull.
63787 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63789         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
63790         (split): Use macro CN instead of the bare value.
63791         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
63792         could be used.
63793         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
63794         instead of the bare value.
63795         (power1): Likewise.
63797 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
63800         __ATAN_TWOM.
63801         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63803         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
63804         their values.
63805         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63806         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63807         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
63808         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63810 2012-12-28  Andreas Jaeger  <aj@suse.de>
63812         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
63813         values are from Linux 3.7.
63815         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
63816         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
63818 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63820         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
63821         TRUE case.
63823         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
63824         (norm): Likewise.
63825         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
63826         variables with preprocessor constants.
63827         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63828         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63829         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63831 2012-12-27  Bruno Haible  <bruno@clisp.org>
63833         [BZ #14317]
63834         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
63835         only if needed.
63837 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
63840         and use variable directly.
63841         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
63843         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63844         MPONE.
63845         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
63846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63847         variable MPONE.
63848         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63849         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63850         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
63851         include directive.  Remove local variable MPONE.
63852         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
63853         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
63854         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63856 2012-12-25  David S. Miller  <davem@davemloft.net>
63858         * version.h (RELEASE): Set to "development".
63859         (VERSION): Set to "2.17.90".
63860         * NEWS: Add 2.18 section.
63862 2012-12-21  David S. Miller  <davem@davemloft.net>
63864         * po/hr.po: Update from translation team.
63866 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63868         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
63870 2012-12-19  Steve Ellcey  <sellcey@mips.com>
63872         * NEWS:  Mention new memcpy for MIPS.
63874 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63876         * manual/contrib.texi (Contributors): Spelling correction.
63878 2012-12-15  David S. Miller  <davem@davemloft.net>
63880         * po/ru.po: Update from translation team.
63882 2012-12-13  David S. Miller  <davem@davemloft.net>
63884         * NEWS: Mention IFUNC testsuite enhancements.
63886         * po/pl.po: Update from translation team.
63887         * po/bg.po: Likewise.
63889         * manual/contrib.texi (Contributors): Update entries for Hongjiu
63890         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
63892 2012-12-11  David S. Miller  <davem@davemloft.net>
63894         * po/sv.po: Update from translation team.
63896         * po/vi.po: Update from translation team.
63898         * po/cs.po: Update from translation team.
63900         * po/de.po: Update from translation team.
63901         * po/eo.po: Likewise.
63902         * po/nl.po: Likewise.
63904 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63906         [BZ #14246]
63907         * manual/argp.texi (Argp Helper Functions): Move node to follow
63908         Argp Parsing State.
63910         [BZ #14872]
63911         * manual/conf.texi (Limits on File System Capacity): Mention if
63912         terminating null is included in the max size.
63914 2012-12-10  Andreas Jaeger  <aj@suse.de>
63916         * po/cs.po: Update from translation team.
63918 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63920         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
63921         void pointer and cast to uintptr_t.
63922         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
63923         path.
63924         * sysdeps/s390/s390-64/memcpy.S: Likewise.
63925         * sysdeps/s390/s390-64/memset.S: Likewise.
63927 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
63929         [BZ #14833]
63930         * menual/message.texi (Message Translation): Fix typos.
63931         (Helper programs for gettext): Likewise.
63933 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
63935         [BZ #14898]
63936         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
63937         Change to -1.
63939 2012-12-07  David S. Miller  <davem@davemloft.net>
63941         * po/libc.pot: Update.
63943 2012-12-07  Richard Henderson  <rth@redhat.com>
63945         [BZ #10114]
63946         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
63947         normal/normal case to before the switch.
63948         (_FP_DIV): Likewise.
63950 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
63951             Mike Frysinger  <vapier@gentoo.org>
63953         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
63954         check for __NR_fadvise64_64.
63956 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
63958         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
63959         0, not just to plain "0" as a statement.
63960         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
63961         with cw.
63963 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
63965         * NEWS: Use sourceware.org in Bugzilla URL.
63967 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
63970         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63972         * stdio-common/tst-put-error.c (do_test): Add newline to the
63973         padded test to ensure flush.
63975 2012-12-05  Jeff Law  <law@redhat.com>
63977         * sunrpc/etc.rpc (fedfs_admin): Add entry.
63979 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
63981         * README: Don't refer to ports add-on as distributed separately.
63982         Mention AArch64 in list of systems supported in the ports add-on.
63984         * LICENSES: Add more non-FSF copyright and license notices.
63986         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
63987         ((unused)).
63989         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
63991         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
63992         10000 as width of padded output.
63994 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
63996         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
63998         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
63999         variable LX with __attribute__ ((unused)).
64000         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64001         Likewise.
64002         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64004         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64005         with __attribute__ ((unused)).
64007 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64009         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64011 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64013         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64014         (CFLAGS-nldbl-acos.c): New variable.
64015         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64016         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64017         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64018         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64019         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64020         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64021         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64022         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64023         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64024         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64025         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64026         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64027         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64028         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64029         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64030         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64031         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64032         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64033         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64034         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64035         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64036         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64037         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64038         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64039         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64040         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64041         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64042         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64043         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64044         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64045         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64046         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64047         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64048         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64049         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64050         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64051         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64052         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64053         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64054         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64055         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64056         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64057         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64058         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64059         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64060         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64061         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64062         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64063         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64064         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64065         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64066         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64067         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64068         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64069         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64070         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64071         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64072         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64073         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64074         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64075         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64076         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64077         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64078         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64079         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64080         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64081         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64082         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64083         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64084         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64085         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64086         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64087         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64088         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64089         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64090         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64091         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64092         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64093         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64094         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64095         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64096         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64097         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64098         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64099         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64100         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64101         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64102         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64103         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64104         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64105         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64106         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64107         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64108         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64109         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64110         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64111         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64114         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64116         [BZ #14914]
64117         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64118         whole low double instead of just low 47 bits when splitting values
64119         into two parts.
64121 2012-12-03  Allan McRae  <allan@archlinux.org>
64123         * manual/stdio.texi (Predefined Printf Handlers): Remove
64124         @hsep and @vsep usage.
64126 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64128         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64129         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64131 2012-12-03  Jeff Law  <law@redhat.com>
64133         * time/sys/time.h (settimeofday): Do not mark TV argument
64134         as __nonnull.
64136 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64138         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64139         when currently writing and seek to current position when not.
64140         * libio/Makefile (tests): Remove bug-fclose1.
64141         * libio/bug-fclose1.c: Delete.
64143 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64145         * manual/arith.texi (feenableexcept): Fix typo.
64146         (fedisableexcept): Likewise.
64148 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64150         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64151         second, differently-typed declaration, rather than a cast.
64153 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64155         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64156         * include/rpc/svc.h: ... here.
64158 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64160         [BZ #13013]
64161         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64162         depending n and resplen2 to catch cases where answer
64163         equals answerp2.
64165 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64167         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64168         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64170 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64172         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64174 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64176         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64178 2012-11-28  Jeff Law  <law@redhat.com>
64180         [BZ #13761]
64181         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64182         dataset_temporary.  Track alloca usage into alloca_used.
64183         If dataset is large allocate and release it via malloc/free.
64185 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64187         [BZ #14197]
64188         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64190 2012-11-28  David S. Miller  <davem@davemloft.net>
64192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64194 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64196         [BZ #14803]
64197         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64198         of pi/2 rounded to nearest to 64 bits.
64199         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64200         nearest to 64 bits.
64201         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64202         bits.
64204 2012-11-28  Jeff Law <law@redhat.com>
64205             Martin Osvald <mosvald@redhat.com>
64207         [BZ #14889]
64208         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64209         * sunrpc/svc.c: Include time.h.
64210         (__svc_accept_failed): New function.
64211         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64212         any reason other than EINTR, call __svc_accept_failed.
64213         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64214         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64216 2012-11-28  Andreas Schwab  <schwab@suse.de>
64218         * scripts/abilist.awk: Also handle indirect functions in .opd
64219         section.
64221 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64223         [BZ #13881]
64224         * sysdeps/x86/fpu/powl_helper.c: New file.
64225         * sysdeps/x86/fpu/Makefile: Likewise.
64226         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64227         (p3): New object.
64228         (__ieee754_powl): Use __powl_helper for finite arguments except
64229         integer exponents below 8.
64230         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64231         (p3): New object.
64232         (__ieee754_powl): Use __powl_helper for finite arguments except
64233         integer exponents below 8.
64234         * math/libm-test.inc (pow_test): Add more tests and enable some
64235         previously disabled tests.
64236         * sysdeps/i386/fpu/libm-test-ulps: Update.
64237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64239 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64240             Carlos O'Donell  <carlos_odonell@mentor.com>
64242         * nss/makedb.c (is_prime): Assert that input is odd and greater
64243         than 4.  Note that fact in a comment too.
64244         (next_prime): Add 4 to input.
64246 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64248         [BZ #11741]
64249         * libio/Makefile (tests): Add test case tst-fwrite-error.
64250         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64251         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64252         * libio/tst-fwrite-error.c: New test case.
64254 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64256         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64257         before casting to void *.
64258         * include/libc-internal.h (__pointer_type): New macro.
64259         (__integer_if_pointer_type_sub): Likewise.
64260         (__integer_if_pointer_type): Likewise.
64261         (cast_to_integer): Likewise.
64262         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64263         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64264         before casting to atomic64_t.
64265         (atomic_exchange_acq): Likewise.
64266         (__arch_exchange_and_add_body): Likewise.
64267         (__arch_add_body): Likewise.
64268         (atomic_add_negative): Likewise.
64269         (atomic_add_zero): Likewise.
64271 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64273         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64274         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64275         (add_fdes): Likewise.
64276         (linear_search_fdes): Likewise.
64277         (binary_search_unencoded_fdes): Likewise.
64279 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64281         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64283 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64285         * configure.in: Autodetect C++ header directories.
64286         * configure: Regenerated.
64288 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64290         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64292 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64296 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64298         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64299         LDBL_MANT_DIG == 106]: Disable some tests.
64300         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64301         Likewise.
64302         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64303         Likewise.
64305         [BZ #14871]
64306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64307         input for small inputs.  Return +/- pi/2 for large inputs.
64308         * math/libm-test.inc (atan_test): Add more tests.
64310         * sysdeps/generic/unwind-dw2-fde-glibc.c
64311         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64312         __attribute__ ((unused)).
64314         [BZ #14645]
64315         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64316         x * y if x and y are nonzero and z is zero.
64318         [BZ #14811]
64319         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64320         nonzero exponents with absolute value below 0x1p-117 to +/-
64321         0x1p-117.
64323         [BZ #14869]
64324         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64325         up arguments below 2**-450, not just those below 2**-500.
64326         * math/libm-test.inc (hypot_test): Add another test.
64328         [BZ #14868]
64329         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64330         Return a+b for ratio over 2**120, not 2**60.
64331         * math/libm-test.inc (hypot_test): Add another test.
64333         * math/libm-test.inc (clog_test): Use
64334         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64335         (clog10_test): Likewise.
64337         [BZ #6778]
64338         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64340 2012-11-22  Andreas Schwab  <schwab@suse.de>
64342         * sysdeps/i386/fpu/libm-test-ulps: Update.
64344 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
64346         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64347         printf output with newline.
64349 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
64351         [BZ #14865]
64352         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64353         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64354         -z nodlopen, -z initfirst and -z execstack support.
64355         * configure: Regenerated.
64357         * elf/elf.h (DF_1_NODIRECT): New macro.
64358         (DF_1_IGNMULDEF): Likewise.
64359         (DF_1_NOKSYMS): Likewise.
64360         (DF_1_NOHDR): Likewise.
64361         (DF_1_EDITED): Likewise.
64362         (DF_1_NORELOC): Likewise.
64363         (DF_1_SYMINTPOSE): Likewise.
64364         (DF_1_GLOBAUDIT): Likewise.
64365         (DF_1_SINGLETON): Likewise.
64366         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
64367         DT_1_SUPPORTED_MASK bits.
64368         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
64370 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
64372         * sysdeps/unix/make-syscalls.sh: Document prefixes.
64374 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
64376         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
64377         macro.
64379         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
64380         (sendmmsg): Move declarations...
64381         * socket/sys/socket.h: ... here.
64382         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
64383         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
64384         include it from...
64385         * socket/recvmmsg.c: ... this new file.
64386         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
64387         (sendmmsg): Rename to __sendmmsg, create weak alias and make
64388         definition of __sendmmsg hidden.
64389         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
64390         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
64391         Move ENOSYS stub into and include it from...
64392         * socket/sendmmsg.c: ... this new file.
64393         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
64394         (sysdep_routines): Move recvmmsg and sendmmsg...
64395         * socket/Makefile (routines): ... here.
64396         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
64397         (GLIBC_PRIVATE): Add __sendmmsg.
64398         * include/sys/socket.h (__sendmmsg): Add declarations.
64399         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
64400         sendmmsg.
64402 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
64404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
64405         variable I1 with __attribute__ ((unused)).
64406         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64408 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64410         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
64411         DUMMY variables with __attribute__ ((unused)).
64413         * bits/byteswap.h: Include <bits/types.h>.
64414         (__bswap_64): Use __uint64_t instead of unsigned long long int.
64416 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64418         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
64419         string_t.  Do not manually set errno.
64420         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
64421         length with __strnlen.  Make sure to both set errno and return it on
64422         failure.
64424 2012-11-19  David S. Miller  <davem@davemloft.net>
64426         With help from Joseph Myers.
64427         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
64428         very large arguments properly.
64429         * math/libm-test.inc (atan_test): New tests.
64430         (atan2_test): New tests.
64431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64434 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64436         [BZ #14856]
64437         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
64438         Define to 3.
64440         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
64441         [POSIX] (EADDRNOTAVAIL): Likewise.
64442         [POSIX] (EAFNOSUPPORT): Likewise.
64443         [POSIX] (EALREADY): Likewise.
64444         [POSIX] (ECONNABORTED): Likewise.
64445         [POSIX] (ECONNREFUSED): Likewise.
64446         [POSIX] (ECONNRESET): Likewise.
64447         [POSIX] (EDESTADDRREQ): Likewise.
64448         [POSIX] (EDQUOT): Likewise.
64449         [POSIX] (EHOSTUNREACH): Likewise.
64450         [POSIX] (EIDRM): Likewise.
64451         [POSIX] (EISCONN): Likewise.
64452         [POSIX] (ELOOP): Likewise.
64453         [POSIX] (EMULTIHOP): Likewise.
64454         [POSIX] (ENETDOWN): Likewise.
64455         [POSIX] (ENETUNREACH): Likewise.
64456         [POSIX] (ENOBUFS): Likewise.
64457         [POSIX] (ENODATA): Likewise.
64458         [POSIX] (ENOLINK): Likewise.
64459         [POSIX] (ENOMSG): Likewise.
64460         [POSIX] (ENOPROTOOPT): Likewise.
64461         [POSIX] (ENOSR): Likewise.
64462         [POSIX] (ENOSTR): Likewise.
64463         [POSIX] (ENOTCONN): Likewise.
64464         [POSIX] (ENOTSOCK): Likewise.
64465         [POSIX] (EOPNOTSUPP): Likewise.
64466         [POSIX] (EOVERFLOW): Likewise.
64467         [POSIX] (EPROTO): Likewise.
64468         [POSIX] (EPROTONOSUPPORT): Likewise.
64469         [POSIX] (EPROTOTYPE): Likewise.
64470         [POSIX] (ESTALE): Likewise.
64471         [POSIX] (ETIME): Likewise.
64472         [POSIX] (ETXTBSY): Likewise.
64473         [POSIX] (EWOULDBLOCK): Likewise.
64474         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
64475         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
64476         [POSIX] (SEEK_CUR): Likewise.
64477         [POSIX] (SEEK_END): Likewise.
64478         [POSIX || UNIX98] (mode_t): Do not require.
64479         [POSIX] (off_t): Likewise.
64480         [POSIX] (pid_t): Likewise.
64481         [POSIX] (sys/stat.h): Do not allow header.
64482         [POSIX] (unistd.h): Likewise.
64483         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
64484         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
64485         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
64486         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
64487         require.
64488         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
64489         sigevent): Specify elements.
64490         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
64491         entry.
64492         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
64493         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
64495         * conform/data/cpio.h-data [POSIX]: Disable whole file.
64496         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
64497         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
64498         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
64499         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
64500         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
64501         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
64502         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
64503         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
64504         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
64505         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
64506         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
64507         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
64508         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
64509         Likewise.
64510         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
64511         Likewise.
64512         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
64513         Likewise.
64514         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
64515         Likewise.
64516         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
64517         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
64518         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
64519         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
64520         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
64521         Specify lower bound on value.
64522         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
64523         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
64524         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
64525         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
64526         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
64527         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
64528         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
64529         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
64530         value.
64531         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
64532         as optional.
64533         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
64534         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
64535         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
64536         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
64537         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
64538         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
64539         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
64540         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
64541         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
64542         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
64543         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
64544         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
64545         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
64546         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
64547         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
64548         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
64549         entry.
64550         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
64551         optional.
64552         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
64553         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
64554         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
64555         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
64556         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
64557         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
64558         Likewise.
64559         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
64560         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
64561         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
64562         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
64563         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
64564         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
64565         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
64566         as optional.
64567         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
64568         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
64569         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
64570         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
64571         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
64572         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
64573         specify as optional.
64574         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
64575         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
64576         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
64577         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
64578         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
64579         [XPG3] (NL_LANGMAX): Likewise.
64580         [POSIX || XPG3] (NL_MSGMAX): Likewise.
64581         [POSIX || XPG3] (NL_NMAX): Likewise.
64582         [POSIX || XPG3] (NL_SETMAX): Likewise.
64583         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
64584         [XPG3] (NZERO): Likewise.
64585         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
64586         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
64587         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
64588         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
64589         (REG_ERANGE): Expect.
64590         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
64591         optional-constant.
64592         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
64593         Use (void) in prototype.
64594         [POSIX] (*_t): Allow.
64595         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
64596         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
64597         (WRDE_BADVAL): Expect.
64599         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
64600         expect.
64601         [XPG3 || XPG4] (O_RSYNC): Likewise.
64602         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
64603         Likewise.
64604         [XPG3 || XPG4] (pthread_sigmask): Likewise.
64605         [XPG3 || XPG4] (sigqueue): Likewise.
64606         [XPG3 || XPG4] (sigtimedwait): Likewise.
64607         [XPG3 || XPG4] (sigwaitinfo): Likewise.
64608         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
64609         [XPG3 || XPG4] (vsnprintf): Likewise.
64610         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
64611         Likewise.
64612         [XPG3 || XPG4] (blksize_t): Likewise.
64613         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
64614         Likewise.
64615         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
64616         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
64617         [XPG3 || XPG4] (struct itimerspec): Likewise.
64618         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
64619         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
64620         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
64621         [XPG3 || XPG4] (clockid_t): Likewise.
64622         [XPG3 || XPG4] (timer_t): Likewise.
64623         [XPG3 || XPG4] (clock_getres): Likewise.
64624         [XPG3 || XPG4] (clock_gettime): Likewise.
64625         [XPG3 || XPG4] (clock_settime): Likewise.
64626         [XPG3 || XPG4] (nanosleep): Likewise.
64627         [XPG3 || XPG4] (timer_create): Likewise.
64628         [XPG3 || XPG4] (timer_delete): Likewise.
64629         [XPG3 || XPG4] (timer_gettime): Likewise.
64630         [XPG3 || XPG4] (timer_getoverrun): Likewise.
64631         [XPG3 || XPG4] (timer_settime): Likewise.
64632         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
64633         [XPG3 || XPG4] (getlogin_r): Likewise.
64634         [XPG3 || XPG4] (pread): Likewise.
64635         [XPG3 || XPG4] (pthread_atfork): Likewise.
64636         [XPG3 || XPG4] (pwrite): Likewise.
64638         [BZ #14835]
64639         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
64640         <bits/siginfo.h>.
64642 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64644         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
64645         finalizing MALLSTREAM.
64647         * sysdeps/mach/hurd/syncfs.c: New file.
64649 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64651         [BZ #14719]
64652         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
64653         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
64654         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
64655         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
64656         (_nss_dns_gethostbyname4_r): Likewise.
64657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
64658         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
64660 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
64662         [BZ #13763]
64663         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
64665 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
64667         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
64668         * elf/cache.c (print_entry): Print ",AArch64" for
64669         FLAG_AARCH64_LIB64
64671         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
64672         * elf/cache.c (print_entry): Print ",hard-float" for
64673         FLAG_ARM_LIBHF.
64675 2012-11-18  David S. Miller  <davem@davemloft.net>
64677         With help from Joseph Myers.
64678         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
64679         cutoff to 2**-13.
64680         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
64681         cutoff to 2**-25.
64682         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
64683         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
64684         small.
64685         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
64686         * math/libm-test.inc (y0_test): New tests.
64687         (y1_test): New tests.
64688         * sysdeps/i386/fpu/libm-test-ulps: Update.
64689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64692 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
64694         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
64695         64-bit targets.
64696         * configure: Regenerated.
64698 2012-11-17  David S. Miller  <davem@davemloft.net>
64700         [BZ #14811]
64701         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
64702         nonzero exponents with absolute value below 0x1p-128 to +/-
64703         0x1p-128.
64705 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
64707         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
64709         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
64711         * posix/getconf-speclist.c: New file.
64712         * posix/posix-envs.def: Likewise.
64713         * posix/confstr.c (START_ENV_GROUP): New macro.
64714         (END_ENV_GROUP): Likewise.
64715         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64716         (KNOWN_PRESENT_ENV_STRING): Likewise.
64717         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64718         (UNKNOWN_ENVIRONMENT): Likewise.
64719         (confstr): Include posix-envs.def instead of handling
64720         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
64721         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
64722         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
64723         (END_ENV_GROUP): Likewise.
64724         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64725         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64726         (UNKNOWN_ENVIRONMENT): Likewise.
64727         (__sysconf): Include posix-envs.def instead of handling associated
64728         cases directly here.
64729         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
64730         preprocessing getconf-speclist.c rather than running getconf or
64731         generating empty file.
64733 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
64735         * scripts/check-local-headers.sh: Ignore 'mach' headers.
64737 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
64739         [BZ #14672]
64740         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
64742 2012-11-16  David S. Miller  <davem@davemloft.net>
64744         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
64745         smaller than LDBL_EPSILON/2.0L, just return xm1.
64747 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
64749         * elf/tst-array1.c (init): Set constructor priority to 1000.
64750         (fini): Set destructor priority to 1000.
64751         * elf/tst-array2dep.c: Likewise.
64753 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64755         [BZ #11741]
64756         * libio/fileops.c (_IO_new_file_write): Correctly return error.
64757         (_IO_new_file_xsputn): Also return EOF if none of the input
64758         data was written when overflow failed.
64759         * libio/iopadn.c (_IO_padn): Likewise.
64760         * libio/iowpadn.c (_IO_wpadn): Likewise.
64761         * stdio-common/tst-put-error.c: Add copyright notice.
64762         (do_test): Add case for printing padded string.
64763         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
64764         _IO_padn returned error.
64765         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
64766         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
64767         return EOF.
64769 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64771         * libio/libioP.h: Add comment note that the references to C++
64772         bits are now obsolete.
64774 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64776         * math/libm-test.inc (check_complex): Use asprintf.
64778 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
64780         * debug/pcprofiledump.c (print_version): Update copyright year.
64781         * malloc/memusagestat.c (print_version): Likewise.
64783 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
64785         [BZ #14831]
64786         * elf/Makefile (tests): Add tst-audit8.
64787         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
64788         ($(objpfx)tst-audit8.out): New target.
64789         (tst-audit8-ENV): New variable.
64790         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
64791         audit if l_reloc_result is NULL.
64792         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
64793         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
64794         * elf/tst-audit8.c: New file.
64796 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64798         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
64799         * misc/Makefile (CFLAGS-select.c): Define.
64800         * posix/Makefile (CFLAGS-pause.c): Define.
64802 2012-11-13  David S. Miller  <davem@davemloft.net>
64804         * crypt/Makefile: Move test targets after toplevel Rules
64805         inclusion.  Grab any necessary sysdep routines when linking.
64806         * crypt/md5.c (md5_process_block): Remove define, we will always
64807         name it __md5_process_block.
64808         (md5_finish_ctx): Update md5_process_block call.
64809         (md5_stream): Likewise.
64810         (md5_process_bytes): Likewise.
64811         (md5_process_block): Rename to __md5_process_block and move to ...
64812         * crypt/md5-block.c: ... here.
64813         * crypt/sha256.c (sha256_process_block): Move to ...
64814         * crypt/sha256-block.c: ... here.
64815         * crypt/sha512.c (sha512_process_block): Move to ...
64816         * crypt/sha512-block.c: ... here.
64817         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
64818         path.
64819         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
64820         * sysdeps/sparc/sparc64/multiarch/Makefile
64821         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
64822         crypt subdir.
64823         (localedef-aux): Add md5 crypto assembler when in locale subdir.
64824         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
64825         multiarch changes.
64826         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
64827         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
64828         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
64829         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
64830         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
64831         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
64832         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
64833         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
64834         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
64835         file.
64836         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
64837         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
64838         file.
64839         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
64841 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
64843         * timezone/tzselect.ksh: Update from tzcode git revision
64844         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
64845         * timezone/zdump.c: Likewise.
64846         * timezone/zic.c: Likewise.
64847         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
64848         in TZVERSION setting, not $(PKGVERSION).
64849         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
64850         REPORT_BUGS_TO settings.
64852         [BZ #14838]
64853         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
64854         macro.
64856 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64858         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
64859         detection to immediately after _FP_ROUND().
64860         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
64861         bits are 0.
64863 2012-11-11  David S. Miller  <davem@davemloft.net>
64865         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
64866         inttypes.h
64867         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
64868         __close rather than their public counterparts.
64870 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
64872         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
64873         file.
64874         [UNIX98] (sem_timedwait): Do not expect.
64875         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
64876         [XPG4 || UNIX98] (sockatmark): Do not expect.
64877         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
64878         (clock_getcpuclockid): Do not expect.
64879         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
64880         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
64881         Do not expect.
64882         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
64883         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
64884         [UNIX98] (vwscanf): Likewise.
64885         [UNIX98] (vswscanf): Likewise.
64887 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
64889         * timezone/version.h: Remove file.
64890         * timezone/README: Do not refer to version.h.
64891         * timezone/Makefile ($(objpfx)zic.o): New dependency on
64892         $(objpfx)version.h.
64893         ($(objpfx)zdump.o): Likewise.
64894         ($(objpfx)version.h): New target.
64896         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
64897         2012i.
64898         * timezone/README: Don't mention modification to tzselect.ksh.
64899         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
64900         work on unmodified tzselect.ksh.  Substitute version numbers in
64901         tzselect.ksh.
64903         * Makefile (format-me): Remove.
64904         (INSTALL): Adjust indentation.  Use commands directly instead of
64905         using $(format-me).
64907         * aclocal.m4 (ACX_PKGVERSION): New macro.
64908         (ACX_BUGURL): Likewise.
64909         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
64910         (PKGVERSION): New AC_DEFINE_UNQUOTED.
64911         (REPORT_BUGS_TO): Likewise.
64912         * configure: Regenerated.
64913         * config.h.in (PKGVERSION): New macro.
64914         (REPORT_BUGS_TO): Likewise.
64915         * config.make.in (PKGVERSION): New variable.
64916         (PKGVERSION_TEXI): Likewise.
64917         (REPORT_BUGS_TO): Likewise.
64918         (REPORT_BUGS_TEXI): Likewise.
64919         * Makefile (format-me): Use -I$(common-objpfx)manual.
64920         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
64921         ($(common-objpfx)manual/%): New target.
64922         (manual/%): Remove target.
64923         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
64924         (print_version): Use PKGVERSION.
64925         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64926         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
64927         and REPORT_BUGS_TO.
64928         ($(objpfx)xtrace): Likewise.
64929         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
64930         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
64931         (print_version): Use PKGVERSION.
64932         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
64933         (do_version): Use PKGVERSION.
64934         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
64935         REPORT_BUGS_TO.
64936         (common-ldd-rewrite): Likewise.
64937         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
64938         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
64939         (print_version): Use PKGVERSION.
64940         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
64941         * elf/pldd.c (argp_program_bug_address): Remove variable.
64942         (more_help): New function.
64943         (argp): Use more_help.
64944         (print_version): Use PKGVERSION.
64945         * elf/sln.c (main): Use PKGVERSION.
64946         (usage): Use REPORT_BUGS_TO.
64947         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
64948         (top level): Use PKGVERSION.
64949         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
64950         (print_version): Use PKGVERSION.
64951         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
64952         (print_version): Use PKGVERSION.
64953         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
64954         (print_version): Use PKGVERSION.
64955         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
64956         (print_version): Use PKGVERSION.
64957         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
64958         (print_version): Use PKGVERSION.
64959         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
64960         (print_version): Use PKGVERSION.
64961         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
64962         and BUGURL.
64963         ($(objpfx)memusage): Likewise.
64964         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
64965         (do_version): Use PKGVERSION.
64966         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
64967         (print_version): Use PKGVERSION.
64968         * malloc/mtrace.pl ($PACKAGE): Remove variable.
64969         ($PKGVERSION): New variable.
64970         ($REPORT_BUGS_TO): Likewise.
64971         (usage): Use $REPORT_BUGS_TO.
64972         (top level): Use $PKGVERSION.
64973         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
64974         ($(objpfx)pkgvers.texi): New rule.
64975         ($(objpfx)stamp-pkgvers): Likewise.
64976         * manual/install.texi: Include pkgvers.texi.
64977         (--with-pkgversion): Document new configure option.
64978         (--with-bugurl): Likewise.
64979         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
64980         than necessarily for this particular distribution.  Use
64981         REPORT_BUGS_TO for where to report bugs.
64982         * INSTALL: Regenerated.
64983         * manual/libc.texinfo: Include pkgvers.texi.
64984         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
64985         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
64986         (print_version): Use PKGVERSION.
64987         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
64988         (print_version): Use PKGVERSION.
64989         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
64990         (print_version): Use PKGVERSION.
64991         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
64992         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
64993         macro.
64994         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
64995         (print_version): Use PKGVERSION.
64996         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
64997         (print_version): Use PKGVERSION.
64998         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
64999         and PKGVERSION.
65001         * timezone/checktab.awk: Update from tzcode 2012i.
65002         * timezone/ialloc.c: Likewise.
65003         * timezone/private.h: Likewise.
65004         * timezone/scheck.c: Likewise.
65005         * timezone/tzfile.h: Likewise.
65006         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65007         (TZVERSION): Hardcode tzcode version number.
65008         * timezone/zdump.c: Update from tzcode 2012i.
65009         * timezone/zic.c: Likewise.
65010         * timezone/version.h: New file.
65011         * timezone/README: Describe version.h.  Update upstream location.
65013         [BZ #14824]
65014         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65015         (mktemp): Enable declaration.
65016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65017         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65019         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65020         Likewise.
65021         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65022         Likewise.
65023         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65024         Likewise.
65025         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65026         Likewise.
65027         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65028         Likewise.
65029         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65030         Likewise.
65032         [BZ #14821]
65033         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65034         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65035         for copies of such integer values.
65036         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65037         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65039 2012-11-09  Andreas Jaeger  <aj@suse.de>
65041         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65042         definitions and declarations that are provided by
65043         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65045 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65047         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65048         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65049         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65050         definition.
65052 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65054         * elf/elf.h: Update comment before AArch64 relocations.
65056 2012-11-07  David S. Miller  <davem@davemloft.net>
65058         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65059         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65060         (__start_context): Declare.
65061         (__makecontext_ret): Delete.
65062         (__makecontext): Hook up __start_context instead of
65063         __makecontext_ret.
65064         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65065         (sysdep_routines): Add __start_context when in stdlib.
65067 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65069         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65070         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65071         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65072         hardcoded "nm".
65073         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65074         (READELF): New variable.  Use it instead of hardcoded "readelf".
65076 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65078         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65079         * sysdeps/x86/Makefile: Here.
65080         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65081         * sysdeps/x86/tst-xmmymm.sh: This.
65083 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65085         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65086         expectations.
65087         [UNIX98] (pthread_barrier_t): Do not expect.
65088         [UNIX98] (pthread_barrierattr_t): Likewise.
65089         [UNIX98] (pthread_spinlock_t): Likewise.
65090         [UNIX98] (pthread_barrier_destroy): Likewise.
65091         [UNIX98] (pthread_barrier_init): Likewise.
65092         [UNIX98] (pthread_barrier_wait): Likewise.
65093         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65094         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65095         [UNIX98] (pthread_barrierattr_init): Likewise.
65096         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65097         [UNIX98] (pthread_getcpuclockid): Likewise.
65098         [UNIX98] (pthread_mutex_timedlock): Likewise.
65099         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65100         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65101         [UNIX98] (pthread_sigmask): Likewise.
65102         [UNIX98] (pthread_spin_destroy): Likewise.
65103         [UNIX98] (pthread_spin_init): Likewise.
65104         [UNIX98] (pthread_spin_lock): Likewise.
65105         [UNIX98] (pthread_spin_trylock): Likewise.
65106         [UNIX98] (pthread_spin_unlock): Likewise.
65107         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65108         Do not expect.
65109         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65110         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65111         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65112         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65113         [XPG3 || XPG4] (pthread_key_t): Likewise.
65114         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65115         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65116         [XPG3 || XPG4] (pthread_once_t): Likewise.
65117         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65118         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65119         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65120         [XPG3 || XPG4] (pthread_t): Likewise.
65122         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65123         not expect.
65124         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65126         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65127         Change function return type to int.
65129         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65130         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65131         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65132         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65133         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65134         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65135         [!POSIX] (posix_madvise): Likewise.
65136         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65137         && !UNIX98].
65138         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65139         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65140         (mode_t): Likewise.
65141         (posix_mem_offset): Likewise.
65142         (posix_typed_mem_get_info): Likewise.
65143         (posix_typed_mem_open): Likewise.
65145         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65146         Change condition to [XOPEN2K8].
65148         * conform/conformtest.pl: Preprocess allow-header data with -x c
65149         instead of from stdin.
65150         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65151         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65152         [C99-based standards] (cerfc): Likewise.
65153         [C99-based standards] (cexp2): Likewise.
65154         [C99-based standards] (cexpm1): Likewise.
65155         [C99-based standards] (clog10): Likewise.
65156         [C99-based standards] (clog1p): Likewise.
65157         [C99-based standards] (clog2): Likewise.
65158         [C99-based standards] (clgamma): Likewise.
65159         [C99-based standards] (ctgamma): Likewise.
65160         [C99-based standards] (cerff): Likewise.
65161         [C99-based standards] (cerfcf): Likewise.
65162         [C99-based standards] (cexp2f): Likewise.
65163         [C99-based standards] (cexpm1f): Likewise.
65164         [C99-based standards] (clog10f): Likewise.
65165         [C99-based standards] (clog1pf): Likewise.
65166         [C99-based standards] (clog2f): Likewise.
65167         [C99-based standards] (clgammaf): Likewise.
65168         [C99-based standards] (ctgammaf): Likewise.
65169         [C99-based standards] (cerfl): Likewise.
65170         [C99-based standards] (cerfcl): Likewise.
65171         [C99-based standards] (cexp2l): Likewise.
65172         [C99-based standards] (cexpm1l): Likewise.
65173         [C99-based standards] (clog10l): Likewise.
65174         [C99-based standards] (clog1pl): Likewise.
65175         [C99-based standards] (clog2l): Likewise.
65176         [C99-based standards] (clgammal): Likewise.
65177         [C99-based standards] (ctgammal): Likewise.
65178         * conform/data/inttypes.h-data [C99-based standards]: Include
65179         stdint.h-data.  Remove all expectations for stdint.h contents.
65180         [C99-based standards] (PRI*): Do not allow.
65181         [C99-based standards] (SCN*): Likewise.
65182         [C99-based standards] (*_t): Likewise.
65183         [C99-based-standards] (PRId8): Expect macro.
65184         [C99-based-standards] (PRIi8): Likewise.
65185         [C99-based-standards] (PRIo8): Likewise.
65186         [C99-based-standards] (PRIu8): Likewise.
65187         [C99-based-standards] (PRIx8): Likewise.
65188         [C99-based-standards] (PRIX8): Likewise.
65189         [C99-based-standards] (SCNd8): Likewise.
65190         [C99-based-standards] (SCNi8): Likewise.
65191         [C99-based-standards] (SCNo8): Likewise.
65192         [C99-based-standards] (SCNu8): Likewise.
65193         [C99-based-standards] (SCNx8): Likewise.
65194         [C99-based-standards] (PRIdLEAST8): Likewise.
65195         [C99-based-standards] (PRIiLEAST8): Likewise.
65196         [C99-based-standards] (PRIoLEAST8): Likewise.
65197         [C99-based-standards] (PRIuLEAST8): Likewise.
65198         [C99-based-standards] (PRIxLEAST8): Likewise.
65199         [C99-based-standards] (PRIXLEAST8): Likewise.
65200         [C99-based-standards] (SCNdLEAST8): Likewise.
65201         [C99-based-standards] (SCNiLEAST8): Likewise.
65202         [C99-based-standards] (SCNoLEAST8): Likewise.
65203         [C99-based-standards] (SCNuLEAST8): Likewise.
65204         [C99-based-standards] (SCNxLEAST8): Likewise.
65205         [C99-based-standards] (PRIdFAST8): Likewise.
65206         [C99-based-standards] (PRIiFAST8): Likewise.
65207         [C99-based-standards] (PRIoFAST8): Likewise.
65208         [C99-based-standards] (PRIuFAST8): Likewise.
65209         [C99-based-standards] (PRIxFAST8): Likewise.
65210         [C99-based-standards] (PRIXFAST8): Likewise.
65211         [C99-based-standards] (SCNdFAST8): Likewise.
65212         [C99-based-standards] (SCNiFAST8): Likewise.
65213         [C99-based-standards] (SCNoFAST8): Likewise.
65214         [C99-based-standards] (SCNuFAST8): Likewise.
65215         [C99-based-standards] (SCNxFAST8): Likewise.
65216         [C99-based-standards] (PRId16): Likewise.
65217         [C99-based-standards] (PRIi16): Likewise.
65218         [C99-based-standards] (PRIo16): Likewise.
65219         [C99-based-standards] (PRIu16): Likewise.
65220         [C99-based-standards] (PRIx16): Likewise.
65221         [C99-based-standards] (PRIX16): Likewise.
65222         [C99-based-standards] (SCNd16): Likewise.
65223         [C99-based-standards] (SCNi16): Likewise.
65224         [C99-based-standards] (SCNo16): Likewise.
65225         [C99-based-standards] (SCNu16): Likewise.
65226         [C99-based-standards] (SCNx16): Likewise.
65227         [C99-based-standards] (PRIdLEAST16): Likewise.
65228         [C99-based-standards] (PRIiLEAST16): Likewise.
65229         [C99-based-standards] (PRIoLEAST16): Likewise.
65230         [C99-based-standards] (PRIuLEAST16): Likewise.
65231         [C99-based-standards] (PRIxLEAST16): Likewise.
65232         [C99-based-standards] (PRIXLEAST16): Likewise.
65233         [C99-based-standards] (SCNdLEAST16): Likewise.
65234         [C99-based-standards] (SCNiLEAST16): Likewise.
65235         [C99-based-standards] (SCNoLEAST16): Likewise.
65236         [C99-based-standards] (SCNuLEAST16): Likewise.
65237         [C99-based-standards] (SCNxLEAST16): Likewise.
65238         [C99-based-standards] (PRIdFAST16): Likewise.
65239         [C99-based-standards] (PRIiFAST16): Likewise.
65240         [C99-based-standards] (PRIoFAST16): Likewise.
65241         [C99-based-standards] (PRIuFAST16): Likewise.
65242         [C99-based-standards] (PRIxFAST16): Likewise.
65243         [C99-based-standards] (PRIXFAST16): Likewise.
65244         [C99-based-standards] (SCNdFAST16): Likewise.
65245         [C99-based-standards] (SCNiFAST16): Likewise.
65246         [C99-based-standards] (SCNoFAST16): Likewise.
65247         [C99-based-standards] (SCNuFAST16): Likewise.
65248         [C99-based-standards] (SCNxFAST16): Likewise.
65249         [C99-based-standards] (PRId32): Likewise.
65250         [C99-based-standards] (PRIi32): Likewise.
65251         [C99-based-standards] (PRIo32): Likewise.
65252         [C99-based-standards] (PRIu32): Likewise.
65253         [C99-based-standards] (PRIx32): Likewise.
65254         [C99-based-standards] (PRIX32): Likewise.
65255         [C99-based-standards] (SCNd32): Likewise.
65256         [C99-based-standards] (SCNi32): Likewise.
65257         [C99-based-standards] (SCNo32): Likewise.
65258         [C99-based-standards] (SCNu32): Likewise.
65259         [C99-based-standards] (SCNx32): Likewise.
65260         [C99-based-standards] (PRIdLEAST32): Likewise.
65261         [C99-based-standards] (PRIiLEAST32): Likewise.
65262         [C99-based-standards] (PRIoLEAST32): Likewise.
65263         [C99-based-standards] (PRIuLEAST32): Likewise.
65264         [C99-based-standards] (PRIxLEAST32): Likewise.
65265         [C99-based-standards] (PRIXLEAST32): Likewise.
65266         [C99-based-standards] (SCNdLEAST32): Likewise.
65267         [C99-based-standards] (SCNiLEAST32): Likewise.
65268         [C99-based-standards] (SCNoLEAST32): Likewise.
65269         [C99-based-standards] (SCNuLEAST32): Likewise.
65270         [C99-based-standards] (SCNxLEAST32): Likewise.
65271         [C99-based-standards] (PRIdFAST32): Likewise.
65272         [C99-based-standards] (PRIiFAST32): Likewise.
65273         [C99-based-standards] (PRIoFAST32): Likewise.
65274         [C99-based-standards] (PRIuFAST32): Likewise.
65275         [C99-based-standards] (PRIxFAST32): Likewise.
65276         [C99-based-standards] (PRIXFAST32): Likewise.
65277         [C99-based-standards] (SCNdFAST32): Likewise.
65278         [C99-based-standards] (SCNiFAST32): Likewise.
65279         [C99-based-standards] (SCNoFAST32): Likewise.
65280         [C99-based-standards] (SCNuFAST32): Likewise.
65281         [C99-based-standards] (SCNxFAST32): Likewise.
65282         [C99-based-standards] (PRId64): Likewise.
65283         [C99-based-standards] (PRIi64): Likewise.
65284         [C99-based-standards] (PRIo64): Likewise.
65285         [C99-based-standards] (PRIu64): Likewise.
65286         [C99-based-standards] (PRIx64): Likewise.
65287         [C99-based-standards] (PRIX64): Likewise.
65288         [C99-based-standards] (SCNd64): Likewise.
65289         [C99-based-standards] (SCNi64): Likewise.
65290         [C99-based-standards] (SCNo64): Likewise.
65291         [C99-based-standards] (SCNu64): Likewise.
65292         [C99-based-standards] (SCNx64): Likewise.
65293         [C99-based-standards] (PRIdLEAST64): Likewise.
65294         [C99-based-standards] (PRIiLEAST64): Likewise.
65295         [C99-based-standards] (PRIoLEAST64): Likewise.
65296         [C99-based-standards] (PRIuLEAST64): Likewise.
65297         [C99-based-standards] (PRIxLEAST64): Likewise.
65298         [C99-based-standards] (PRIXLEAST64): Likewise.
65299         [C99-based-standards] (SCNdLEAST64): Likewise.
65300         [C99-based-standards] (SCNiLEAST64): Likewise.
65301         [C99-based-standards] (SCNoLEAST64): Likewise.
65302         [C99-based-standards] (SCNuLEAST64): Likewise.
65303         [C99-based-standards] (SCNxLEAST64): Likewise.
65304         [C99-based-standards] (PRIdFAST64): Likewise.
65305         [C99-based-standards] (PRIiFAST64): Likewise.
65306         [C99-based-standards] (PRIoFAST64): Likewise.
65307         [C99-based-standards] (PRIuFAST64): Likewise.
65308         [C99-based-standards] (PRIxFAST64): Likewise.
65309         [C99-based-standards] (PRIXFAST64): Likewise.
65310         [C99-based-standards] (SCNdFAST64): Likewise.
65311         [C99-based-standards] (SCNiFAST64): Likewise.
65312         [C99-based-standards] (SCNoFAST64): Likewise.
65313         [C99-based-standards] (SCNuFAST64): Likewise.
65314         [C99-based-standards] (SCNxFAST64): Likewise.
65315         [C99-based-standards] (PRIdMAX): Likewise.
65316         [C99-based-standards] (PRIiMAX): Likewise.
65317         [C99-based-standards] (PRIoMAX): Likewise.
65318         [C99-based-standards] (PRIuMAX): Likewise.
65319         [C99-based-standards] (PRIxMAX): Likewise.
65320         [C99-based-standards] (PRIXMAX): Likewise.
65321         [C99-based-standards] (SCNdMAX): Likewise.
65322         [C99-based-standards] (SCNiMAX): Likewise.
65323         [C99-based-standards] (SCNoMAX): Likewise.
65324         [C99-based-standards] (SCNuMAX): Likewise.
65325         [C99-based-standards] (SCNxMAX): Likewise.
65326         [C99-based-standards] (PRIdPTR): Likewise.
65327         [C99-based-standards] (PRIiPTR): Likewise.
65328         [C99-based-standards] (PRIoPTR): Likewise.
65329         [C99-based-standards] (PRIuPTR): Likewise.
65330         [C99-based-standards] (PRIxPTR): Likewise.
65331         [C99-based-standards] (PRIXPTR): Likewise.
65332         [C99-based-standards] (SCNdPTR): Likewise.
65333         [C99-based-standards] (SCNiPTR): Likewise.
65334         [C99-based-standards] (SCNoPTR): Likewise.
65335         [C99-based-standards] (SCNuPTR): Likewise.
65336         [C99-based-standards] (SCNxPTR): Likewise.
65337         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65338         allow.
65339         * conform/data/stdint.h-data: Update comments to clarify
65340         requirements.
65341         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
65342         type.
65343         [C99-based standards] (INT8_MAX): Likewise.
65344         [C99-based standards] (INT16_MIN): Likewise.
65345         [C99-based standards] (INT16_MAX): Likewise.
65346         [C99-based standards] (INT32_MIN): Likewise.
65347         [C99-based standards] (INT32_MAX): Likewise.
65348         [C99-based standards] (INT64_MIN): Likewise.
65349         [C99-based standards] (INT64_MAX): Likewise.
65350         [C99-based standards] (UINT8_MAX): Likewise.
65351         [C99-based standards] (UINT16_MAX): Likewise.
65352         [C99-based standards] (UINT32_MAX): Likewise.
65353         [C99-based standards] (UINT64_MAX): Likewise.
65354         [C99-based standards] (INT_LEAST8_MIN): Likewise.
65355         [C99-based standards] (INT_LEAST8_MAX): Likewise.
65356         [C99-based standards] (INT_LEAST16_MIN): Likewise.
65357         [C99-based standards] (INT_LEAST16_MAX): Likewise.
65358         [C99-based standards] (INT_LEAST32_MIN): Likewise.
65359         [C99-based standards] (INT_LEAST32_MAX): Likewise.
65360         [C99-based standards] (INT_LEAST64_MIN): Likewise.
65361         [C99-based standards] (INT_LEAST64_MAX): Likewise.
65362         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
65363         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
65364         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
65365         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
65366         [C99-based standards] (INT_FAST8_MIN): Likewise.
65367         [C99-based standards] (INT_FAST8_MAX): Likewise.
65368         [C99-based standards] (INT_FAST16_MIN): Likewise.
65369         [C99-based standards] (INT_FAST16_MAX): Likewise.
65370         [C99-based standards] (INT_FAST32_MIN): Likewise.
65371         [C99-based standards] (INT_FAST32_MAX): Likewise.
65372         [C99-based standards] (INT_FAST64_MIN): Likewise.
65373         [C99-based standards] (INT_FAST64_MAX): Likewise.
65374         [C99-based standards] (UINT_FAST8_MAX): Likewise.
65375         [C99-based standards] (UINT_FAST16_MAX): Likewise.
65376         [C99-based standards] (UINT_FAST32_MAX): Likewise.
65377         [C99-based standards] (UINT_FAST64_MAX): Likewise.
65378         [C99-based standards] (INTPTR_MIN): Likewise.
65379         [C99-based standards] (INTPTR_MAX): Likewise.
65380         [C99-based standards] (UINTPTR_MAX): Likewise.
65381         [C99-based standards] (INTMAX_MIN): Likewise.
65382         [C99-based standards] (INTMAX_MAX): Likewise.
65383         [C99-based standards] (UINTMAX_MAX): Likewise.
65384         [C99-based standards] (PTRDIFF_MIN): Likewise.
65385         [C99-based standards] (PTRDIFF_MAX): Likewise.
65386         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
65387         [C99-based standards] (SIZE_MAX): Likewise.
65388         [C99-based standards] (WCHAR_MAX): Likewise.
65389         [C99-based standards] (WINT_MAX): Likewise.
65390         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
65391         constraint on value.
65392         [C99-based standards] (WCHAR_MIN): Likewise.
65393         [C99-based standards] (WINT_MIN): Likewise.
65394         [C99-based standards] (*_t): Allow.
65395         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
65396         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
65397         Include math.h-data and complex.h-data.  Remove all expectations
65398         of math.h and complex.h contents.
65399         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
65400         at end of line.
65401         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
65402         (struct tm): Expect tag.
65403         [C99-based-standards] (wcstof): Expect function.
65404         [C99-based-standards] (wcstold): Likewise.
65405         [C99-based-standards] (wcstoll): Likewise.
65406         [C99-based-standards] (wcstoull): Likewise.
65407         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
65408         macro-int-constant.  Specify type.
65409         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
65410         constraint on value.
65411         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65412         Specify type.
65413         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
65414         Specify value.
65415         [ISO C standards]: Do not allow headers.
65416         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
65417         wcs[abcdefghijklmnopqrstuvwxyz]*.
65418         [ISO C standards] (*_t): Do not allow.
65419         * conform/data/wctype.h-data [C99-based standards] (iswblank):
65420         Expect function.
65421         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
65422         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65423         Specify type.
65424         [ISO C standards]: Do not allow headers.
65425         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
65426         is[abcdefghijklmnopqrstuvwxyz]*.
65427         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
65428         to[abcdefghijklmnopqrstuvwxyz]*.
65429         [ISO C standards] (*_t): Do not allow.
65430         * conform/data/stdalign.h-data: New file.
65431         * conform/data/stdbool.h-data: Likewise.
65432         * conform/data/stdnoreturn.h-data: Likewise.
65434 2012-11-07  Roland McGrath  <roland@hack.frob.com>
65436         [BZ #14815]
65437         * manual/filesys.texi (Directory Entries): Typo fix.
65438         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
65440 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65442         * elf/elf.h (EM_AARCH64): New macro.
65443         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
65444         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
65445         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
65446         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
65447         (R_AARCH64_TLSDESC): Likewise.
65448         (NT_ARM_TLS): Likewise.
65449         (NT_ARM_HW_BREAK): Likewise.
65450         (NT_ARM_HW_WATCH): Likewise.
65452 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65454         [BZ #14811]
65455         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
65456         (__ieee754_powl): Saturate nonzero exponents with absolute value
65457         below 0x1p-79 to +/- 0x1p-79.
65458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
65459         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
65460         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
65461         nonzero exponents with absolute value below 0x1p-32 to +/-
65462         0x1p-32.
65463         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
65464         (__ieee754_powl): Saturate nonzero exponents with absolute value
65465         below 0x1p-79 to +/- 0x1p-79.
65466         * math/libm-test.inc (pow_test): Add more tests.
65468 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65470         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
65471         _dl_s390_cap_flags with kernel. Increase string length.
65472         (_dl_s390_platforms): Add z196 and zEC12.
65474 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65476         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
65477         Change XOPEN21K to XOPEN2K.
65479 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
65481         * string/memmove.c: Use memcpy when possible.
65483 2012-11-06  Andreas Jaeger  <aj@suse.de>
65485         * po/eo.po: Update from translation team.
65487 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
65489         [BZ #14793]
65490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
65491         exponent and small x and y exponents, scale x or y up.  Increase
65492         by 2 the exponent used in scaling up.
65493         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65495         * math/libm-test.inc (fma_test): Add more tests.
65496         (fma_test_towardzero): Likewise.
65497         (fma_test_downward): Likewise.
65498         (fma_test_upward): Likewise.
65500 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
65502         [BZ #14805]
65503         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
65504         fenv_t *.
65506         [BZ #14801]
65507         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
65508         namespace for names of struct fields.
65509         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
65510         fenv_t fields.
65511         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
65512         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
65514 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65516         [BZ #3665]
65517         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
65519 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65521         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
65522         PTR_DEMANGLE.
65524         [BZ #5246]
65525         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
65526         PTR_DEMANGLE.
65528 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
65530         [BZ #14797]
65531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
65532         definitely overflow as x * y not x * y + z.
65533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65535         * math/libm-test.inc (fma_test): Add more tests.
65536         (fma_test_towardzero): Likewise.
65537         (fma_test_downward): Likewise.
65538         (fma_test_upward): Likewise.
65540 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65542         [BZ #157]
65544         * include/stub-tag.h: Remove file.
65545         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
65546         '#include' of it.
65547         * manual/maint.texi (Porting): Don't reference it.
65548         * Makerules ($(objpfx)stubs): Likewise.
65549         * dirent/closedir.c: Don't include <stub-tag.h>.
65550         * dirent/dirfd.c: Likewise.
65551         * dirent/fdopendir.c: Likewise.
65552         * dirent/getdents.c: Likewise.
65553         * dirent/getdents64.c: Likewise.
65554         * dirent/opendir.c: Likewise.
65555         * dirent/readdir.c: Likewise.
65556         * dirent/readdir64.c: Likewise.
65557         * dirent/readdir64_r.c: Likewise.
65558         * dirent/readdir_r.c: Likewise.
65559         * dirent/rewinddir.c: Likewise.
65560         * dirent/seekdir.c: Likewise.
65561         * dirent/telldir.c: Likewise.
65562         * gmon/profil.c: Likewise.
65563         * grp/setgroups.c: Likewise.
65564         * inet/if_index.c: Likewise.
65565         * io/access.c: Likewise.
65566         * io/chdir.c: Likewise.
65567         * io/chmod.c: Likewise.
65568         * io/chown.c: Likewise.
65569         * io/close.c: Likewise.
65570         * io/dup.c: Likewise.
65571         * io/dup2.c: Likewise.
65572         * io/dup3.c: Likewise.
65573         * io/euidaccess.c: Likewise.
65574         * io/faccessat.c: Likewise.
65575         * io/fchdir.c: Likewise.
65576         * io/fchmod.c: Likewise.
65577         * io/fchmodat.c: Likewise.
65578         * io/fchown.c: Likewise.
65579         * io/fchownat.c: Likewise.
65580         * io/fcntl.c: Likewise.
65581         * io/flock.c: Likewise.
65582         * io/fstatfs.c: Likewise.
65583         * io/fstatfs64.c: Likewise.
65584         * io/fstatvfs.c: Likewise.
65585         * io/fstatvfs64.c: Likewise.
65586         * io/futimens.c: Likewise.
65587         * io/fxstat.c: Likewise.
65588         * io/fxstat64.c: Likewise.
65589         * io/fxstatat.c: Likewise.
65590         * io/fxstatat64.c: Likewise.
65591         * io/getcwd.c: Likewise.
65592         * io/isatty.c: Likewise.
65593         * io/lchmod.c: Likewise.
65594         * io/lchown.c: Likewise.
65595         * io/link.c: Likewise.
65596         * io/linkat.c: Likewise.
65597         * io/lseek.c: Likewise.
65598         * io/lseek64.c: Likewise.
65599         * io/lxstat64.c: Likewise.
65600         * io/mkdir.c: Likewise.
65601         * io/mkdirat.c: Likewise.
65602         * io/mkfifo.c: Likewise.
65603         * io/mkfifoat.c: Likewise.
65604         * io/open.c: Likewise.
65605         * io/open64.c: Likewise.
65606         * io/openat.c: Likewise.
65607         * io/openat64.c: Likewise.
65608         * io/pipe.c: Likewise.
65609         * io/pipe2.c: Likewise.
65610         * io/poll.c: Likewise.
65611         * io/posix_fadvise.c: Likewise.
65612         * io/posix_fadvise64.c: Likewise.
65613         * io/posix_fallocate.c: Likewise.
65614         * io/posix_fallocate64.c: Likewise.
65615         * io/read.c: Likewise.
65616         * io/readlink.c: Likewise.
65617         * io/readlinkat.c: Likewise.
65618         * io/rmdir.c: Likewise.
65619         * io/sendfile.c: Likewise.
65620         * io/sendfile64.c: Likewise.
65621         * io/statfs.c: Likewise.
65622         * io/statfs64.c: Likewise.
65623         * io/statvfs.c: Likewise.
65624         * io/statvfs64.c: Likewise.
65625         * io/symlink.c: Likewise.
65626         * io/symlinkat.c: Likewise.
65627         * io/ttyname.c: Likewise.
65628         * io/ttyname_r.c: Likewise.
65629         * io/umask.c: Likewise.
65630         * io/unlink.c: Likewise.
65631         * io/unlinkat.c: Likewise.
65632         * io/utime.c: Likewise.
65633         * io/utimensat.c: Likewise.
65634         * io/write.c: Likewise.
65635         * io/xmknod.c: Likewise.
65636         * io/xmknodat.c: Likewise.
65637         * io/xstat.c: Likewise.
65638         * io/xstat64.c: Likewise.
65639         * login/getpt.c: Likewise.
65640         * login/grantpt.c: Likewise.
65641         * login/unlockpt.c: Likewise.
65642         * math/e_acoshl.c: Likewise.
65643         * math/e_acosl.c: Likewise.
65644         * math/e_asinl.c: Likewise.
65645         * math/e_atan2l.c: Likewise.
65646         * math/e_atanhl.c: Likewise.
65647         * math/e_coshl.c: Likewise.
65648         * math/e_expl.c: Likewise.
65649         * math/e_fmodl.c: Likewise.
65650         * math/e_gammal_r.c: Likewise.
65651         * math/e_hypotl.c: Likewise.
65652         * math/e_j0l.c: Likewise.
65653         * math/e_j1l.c: Likewise.
65654         * math/e_jnl.c: Likewise.
65655         * math/e_lgammal_r.c: Likewise.
65656         * math/e_log10l.c: Likewise.
65657         * math/e_log2l.c: Likewise.
65658         * math/e_logl.c: Likewise.
65659         * math/e_powl.c: Likewise.
65660         * math/e_rem_pio2l.c: Likewise.
65661         * math/e_sinhl.c: Likewise.
65662         * math/e_sqrtl.c: Likewise.
65663         * math/fclrexcpt.c: Likewise.
65664         * math/fedisblxcpt.c: Likewise.
65665         * math/feenablxcpt.c: Likewise.
65666         * math/fegetenv.c: Likewise.
65667         * math/fegetexcept.c: Likewise.
65668         * math/fegetround.c: Likewise.
65669         * math/feholdexcpt.c: Likewise.
65670         * math/fesetenv.c: Likewise.
65671         * math/fesetround.c: Likewise.
65672         * math/feupdateenv.c: Likewise.
65673         * math/fgetexcptflg.c: Likewise.
65674         * math/fraiseexcpt.c: Likewise.
65675         * math/fsetexcptflg.c: Likewise.
65676         * math/ftestexcept.c: Likewise.
65677         * math/k_cosl.c: Likewise.
65678         * math/k_rem_pio2l.c: Likewise.
65679         * math/k_sinl.c: Likewise.
65680         * math/k_tanl.c: Likewise.
65681         * math/s_asinhl.c: Likewise.
65682         * math/s_atanl.c: Likewise.
65683         * math/s_cbrtl.c: Likewise.
65684         * math/s_erfl.c: Likewise.
65685         * math/s_expm1l.c: Likewise.
65686         * math/s_log1pl.c: Likewise.
65687         * math/s_tanhl.c: Likewise.
65688         * misc/acct.c: Likewise.
65689         * misc/brk.c: Likewise.
65690         * misc/chflags.c: Likewise.
65691         * misc/chroot.c: Likewise.
65692         * misc/fchflags.c: Likewise.
65693         * misc/fgetxattr.c: Likewise.
65694         * misc/flistxattr.c: Likewise.
65695         * misc/fremovexattr.c: Likewise.
65696         * misc/fsetxattr.c: Likewise.
65697         * misc/fsync.c: Likewise.
65698         * misc/ftruncate.c: Likewise.
65699         * misc/futimes.c: Likewise.
65700         * misc/futimesat.c: Likewise.
65701         * misc/getdomain.c: Likewise.
65702         * misc/getdtsz.c: Likewise.
65703         * misc/gethostid.c: Likewise.
65704         * misc/gethostname.c: Likewise.
65705         * misc/getloadavg.c: Likewise.
65706         * misc/getpagesize.c: Likewise.
65707         * misc/getsysstats.c: Likewise.
65708         * misc/getxattr.c: Likewise.
65709         * misc/gtty.c: Likewise.
65710         * misc/ioctl.c: Likewise.
65711         * misc/lgetxattr.c: Likewise.
65712         * misc/listxattr.c: Likewise.
65713         * misc/llistxattr.c: Likewise.
65714         * misc/lremovexattr.c: Likewise.
65715         * misc/lsetxattr.c: Likewise.
65716         * misc/lutimes.c: Likewise.
65717         * misc/madvise.c: Likewise.
65718         * misc/mincore.c: Likewise.
65719         * misc/mlock.c: Likewise.
65720         * misc/mlockall.c: Likewise.
65721         * misc/mmap.c: Likewise.
65722         * misc/mprotect.c: Likewise.
65723         * misc/msync.c: Likewise.
65724         * misc/munlock.c: Likewise.
65725         * misc/munlockall.c: Likewise.
65726         * misc/munmap.c: Likewise.
65727         * misc/preadv.c: Likewise.
65728         * misc/preadv64.c: Likewise.
65729         * misc/ptrace.c: Likewise.
65730         * misc/pwritev.c: Likewise.
65731         * misc/pwritev64.c: Likewise.
65732         * misc/readv.c: Likewise.
65733         * misc/reboot.c: Likewise.
65734         * misc/remap_file_pages.c: Likewise.
65735         * misc/removexattr.c: Likewise.
65736         * misc/revoke.c: Likewise.
65737         * misc/select.c: Likewise.
65738         * misc/setdomain.c: Likewise.
65739         * misc/setegid.c: Likewise.
65740         * misc/seteuid.c: Likewise.
65741         * misc/sethostid.c: Likewise.
65742         * misc/sethostname.c: Likewise.
65743         * misc/setregid.c: Likewise.
65744         * misc/setreuid.c: Likewise.
65745         * misc/setxattr.c: Likewise.
65746         * misc/sstk.c: Likewise.
65747         * misc/stty.c: Likewise.
65748         * misc/swapoff.c: Likewise.
65749         * misc/swapon.c: Likewise.
65750         * misc/sync.c: Likewise.
65751         * misc/syncfs.c: Likewise.
65752         * misc/syscall.c: Likewise.
65753         * misc/truncate.c: Likewise.
65754         * misc/ualarm.c: Likewise.
65755         * misc/usleep.c: Likewise.
65756         * misc/ustat.c: Likewise.
65757         * misc/utimes.c: Likewise.
65758         * misc/vhangup.c: Likewise.
65759         * misc/writev.c: Likewise.
65760         * posix/_exit.c: Likewise.
65761         * posix/alarm.c: Likewise.
65762         * posix/execve.c: Likewise.
65763         * posix/fexecve.c: Likewise.
65764         * posix/fork.c: Likewise.
65765         * posix/fpathconf.c: Likewise.
65766         * posix/getaddrinfo.c: Likewise.
65767         * posix/getegid.c: Likewise.
65768         * posix/geteuid.c: Likewise.
65769         * posix/getgid.c: Likewise.
65770         * posix/getgroups.c: Likewise.
65771         * posix/getlogin.c: Likewise.
65772         * posix/getlogin_r.c: Likewise.
65773         * posix/getpgid.c: Likewise.
65774         * posix/getpid.c: Likewise.
65775         * posix/getppid.c: Likewise.
65776         * posix/getresgid.c: Likewise.
65777         * posix/getresuid.c: Likewise.
65778         * posix/getsid.c: Likewise.
65779         * posix/getuid.c: Likewise.
65780         * posix/glob64.c: Likewise.
65781         * posix/nanosleep.c: Likewise.
65782         * posix/pathconf.c: Likewise.
65783         * posix/pause.c: Likewise.
65784         * posix/posix_madvise.c: Likewise.
65785         * posix/pread.c: Likewise.
65786         * posix/pread64.c: Likewise.
65787         * posix/pwrite.c: Likewise.
65788         * posix/pwrite64.c: Likewise.
65789         * posix/sched_getaffinity.c: Likewise.
65790         * posix/sched_getp.c: Likewise.
65791         * posix/sched_gets.c: Likewise.
65792         * posix/sched_primax.c: Likewise.
65793         * posix/sched_primin.c: Likewise.
65794         * posix/sched_rr_gi.c: Likewise.
65795         * posix/sched_setaffinity.c: Likewise.
65796         * posix/sched_setp.c: Likewise.
65797         * posix/sched_sets.c: Likewise.
65798         * posix/sched_yield.c: Likewise.
65799         * posix/setgid.c: Likewise.
65800         * posix/setlogin.c: Likewise.
65801         * posix/setpgid.c: Likewise.
65802         * posix/setresgid.c: Likewise.
65803         * posix/setresuid.c: Likewise.
65804         * posix/setsid.c: Likewise.
65805         * posix/setuid.c: Likewise.
65806         * posix/sleep.c: Likewise.
65807         * posix/spawni.c: Likewise.
65808         * posix/sysconf.c: Likewise.
65809         * posix/times.c: Likewise.
65810         * posix/wait.c: Likewise.
65811         * posix/wait3.c: Likewise.
65812         * posix/wait4.c: Likewise.
65813         * posix/waitpid.c: Likewise.
65814         * resolv/gai_sigqueue.c: Likewise.
65815         * resource/getpriority.c: Likewise.
65816         * resource/getrlimit.c: Likewise.
65817         * resource/getrusage.c: Likewise.
65818         * resource/nice.c: Likewise.
65819         * resource/setpriority.c: Likewise.
65820         * resource/setrlimit.c: Likewise.
65821         * resource/ulimit.c: Likewise.
65822         * rt/aio_cancel.c: Likewise.
65823         * rt/aio_fsync.c: Likewise.
65824         * rt/aio_read.c: Likewise.
65825         * rt/aio_sigqueue.c: Likewise.
65826         * rt/aio_suspend.c: Likewise.
65827         * rt/aio_write.c: Likewise.
65828         * rt/clock_getres.c: Likewise.
65829         * rt/clock_gettime.c: Likewise.
65830         * rt/clock_nanosleep.c: Likewise.
65831         * rt/clock_settime.c: Likewise.
65832         * rt/lio_listio.c: Likewise.
65833         * rt/mq_close.c: Likewise.
65834         * rt/mq_getattr.c: Likewise.
65835         * rt/mq_notify.c: Likewise.
65836         * rt/mq_open.c: Likewise.
65837         * rt/mq_receive.c: Likewise.
65838         * rt/mq_send.c: Likewise.
65839         * rt/mq_setattr.c: Likewise.
65840         * rt/mq_timedreceive.c: Likewise.
65841         * rt/mq_timedsend.c: Likewise.
65842         * rt/mq_unlink.c: Likewise.
65843         * rt/shm_open.c: Likewise.
65844         * rt/shm_unlink.c: Likewise.
65845         * rt/timer_create.c: Likewise.
65846         * rt/timer_delete.c: Likewise.
65847         * rt/timer_getoverr.c: Likewise.
65848         * rt/timer_gettime.c: Likewise.
65849         * rt/timer_settime.c: Likewise.
65850         * setjmp/__longjmp.c: Likewise.
65851         * setjmp/setjmp.c: Likewise.
65852         * signal/kill.c: Likewise.
65853         * signal/killpg.c: Likewise.
65854         * signal/raise.c: Likewise.
65855         * signal/sigaction.c: Likewise.
65856         * signal/sigaltstack.c: Likewise.
65857         * signal/sigblock.c: Likewise.
65858         * signal/sigignore.c: Likewise.
65859         * signal/sigintr.c: Likewise.
65860         * signal/signal.c: Likewise.
65861         * signal/sigpause.c: Likewise.
65862         * signal/sigpending.c: Likewise.
65863         * signal/sigqueue.c: Likewise.
65864         * signal/sigreturn.c: Likewise.
65865         * signal/sigset.c: Likewise.
65866         * signal/sigsetmask.c: Likewise.
65867         * signal/sigstack.c: Likewise.
65868         * signal/sigsuspend.c: Likewise.
65869         * signal/sigtimedwait.c: Likewise.
65870         * signal/sigvec.c: Likewise.
65871         * signal/sigwait.c: Likewise.
65872         * signal/sigwaitinfo.c: Likewise.
65873         * signal/sysv_signal.c: Likewise.
65874         * socket/accept.c: Likewise.
65875         * socket/accept4.c: Likewise.
65876         * socket/bind.c: Likewise.
65877         * socket/connect.c: Likewise.
65878         * socket/getpeername.c: Likewise.
65879         * socket/getsockname.c: Likewise.
65880         * socket/getsockopt.c: Likewise.
65881         * socket/isfdtype.c: Likewise.
65882         * socket/listen.c: Likewise.
65883         * socket/recv.c: Likewise.
65884         * socket/recvfrom.c: Likewise.
65885         * socket/recvmsg.c: Likewise.
65886         * socket/send.c: Likewise.
65887         * socket/sendmsg.c: Likewise.
65888         * socket/sendto.c: Likewise.
65889         * socket/setsockopt.c: Likewise.
65890         * socket/shutdown.c: Likewise.
65891         * socket/sockatmark.c: Likewise.
65892         * socket/socket.c: Likewise.
65893         * socket/socketpair.c: Likewise.
65894         * stdio-common/ctermid.c: Likewise.
65895         * stdio-common/cuserid.c: Likewise.
65896         * stdio-common/remove.c: Likewise.
65897         * stdio-common/rename.c: Likewise.
65898         * stdio-common/renameat.c: Likewise.
65899         * stdio-common/tempname.c: Likewise.
65900         * stdlib/getcontext.c: Likewise.
65901         * stdlib/makecontext.c: Likewise.
65902         * stdlib/setcontext.c: Likewise.
65903         * stdlib/swapcontext.c: Likewise.
65904         * stdlib/system.c: Likewise.
65905         * streams/fattach.c: Likewise.
65906         * streams/fdetach.c: Likewise.
65907         * streams/getmsg.c: Likewise.
65908         * streams/getpmsg.c: Likewise.
65909         * streams/putmsg.c: Likewise.
65910         * streams/putpmsg.c: Likewise.
65911         * sysdeps/unix/bsd/getpt.c: Likewise.
65912         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
65913         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
65914         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65916         Likewise.
65917         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
65918         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65919         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
65920         * sysvipc/msgctl.c: Likewise.
65921         * sysvipc/msgget.c: Likewise.
65922         * sysvipc/msgrcv.c: Likewise.
65923         * sysvipc/msgsnd.c: Likewise.
65924         * sysvipc/semctl.c: Likewise.
65925         * sysvipc/semget.c: Likewise.
65926         * sysvipc/semop.c: Likewise.
65927         * sysvipc/semtimedop.c: Likewise.
65928         * sysvipc/shmat.c: Likewise.
65929         * sysvipc/shmctl.c: Likewise.
65930         * sysvipc/shmdt.c: Likewise.
65931         * sysvipc/shmget.c: Likewise.
65932         * termios/tcdrain.c: Likewise.
65933         * termios/tcflow.c: Likewise.
65934         * termios/tcflush.c: Likewise.
65935         * termios/tcgetattr.c: Likewise.
65936         * termios/tcgetpgrp.c: Likewise.
65937         * termios/tcsendbrk.c: Likewise.
65938         * termios/tcsetattr.c: Likewise.
65939         * termios/tcsetpgrp.c: Likewise.
65940         * time/adjtime.c: Likewise.
65941         * time/clock.c: Likewise.
65942         * time/getitimer.c: Likewise.
65943         * time/gettimeofday.c: Likewise.
65944         * time/setitimer.c: Likewise.
65945         * time/settimeofday.c: Likewise.
65946         * time/stime.c: Likewise.
65947         * time/time.c: Likewise.
65949 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
65951         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
65952         /usr/old/bin.
65954         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
65955         instead of spaces.
65956         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
65958 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
65960         [BZ #14796]
65961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
65962         FE_TONEAREST before applying Dekker multiplication and Knuth
65963         addition.  Clear inexact exceptions and check for exact zero
65964         results afterwards.
65965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65966         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65968         * math/libm-test.inc (fma_test): Add more tests.
65969         (fma_test_towardzero): Likewise.
65970         (fma_test_downward): Likewise.
65971         (fma_test_upward): Likewise.
65972         * sysdeps/generic/math_private.h (default_libc_fesetround): New
65973         function.
65974         (libc_fesetround): New macro.
65975         (libc_fesetroundf): Likewise.
65976         (libc_fesetroundl): Likewise.
65977         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
65978         function.
65979         (libc_fesetround_387): Likewise.
65980         (libc_fesetroundf): New macro.
65981         (libc_fesetround): Likewise.
65982         (libc_fesetroundl): Likewise.
65983         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
65984         function.
65985         (libc_fesetroundf): New macro.
65986         (libc_fesetround): Likewise.
65987         (libc_fesetroundl): Likewise.
65988         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
65989         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
65990         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
65991         libm_hidden_ver.
65992         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
65993         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
65994         libm_hidden_def.
65995         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
65996         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
65997         libm_hidden_ver.
65998         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
65999         libm_hidden_def.
66001         [BZ #3439]
66002         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66003         integer constant usable in #if and use that to give value to enum
66004         constant.
66005         (FE_DIVBYZERO): Likewise.
66006         (FE_UNDERFLOW): Likewise.
66007         (FE_OVERFLOW): Likewise.
66008         (FE_INVALID): Likewise.
66009         (FE_INVALID_SNAN): Likewise.
66010         (FE_INVALID_ISI): Likewise.
66011         (FE_INVALID_IDI): Likewise.
66012         (FE_INVALID_ZDZ): Likewise.
66013         (FE_INVALID_IMZ): Likewise.
66014         (FE_INVALID_COMPARE): Likewise.
66015         (FE_INVALID_SOFTWARE): Likewise.
66016         (FE_INVALID_SQRT): Likewise.
66017         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66018         (FE_TONEAREST): Likewise.
66019         (FE_TOWARDZERO): Likewise.
66020         (FE_UPWARD): Likewise.
66021         (FE_DOWNWARD): Likewise.
66022         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66023         (FE_DIVBYZERO): Likewise.
66024         (FE_OVERFLOW): Likewise.
66025         (FE_UNDERFLOW): Likewise.
66026         (FE_INEXACT): Likewise.
66027         (FE_TONEAREST): Likewise.
66028         (FE_DOWNWARD): Likewise.
66029         (FE_UPWARD): Likewise.
66030         (FE_TOWARDZERO): Likewise.
66031         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66032         (FE_UNDERFLOW): Likewise.
66033         (FE_OVERFLOW): Likewise.
66034         (FE_DIVBYZERO): Likewise.
66035         (FE_INVALID): Likewise.
66036         (FE_TONEAREST): Likewise.
66037         (FE_TOWARDZERO): Likewise.
66038         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66039         (FE_OVERFLOW): Likewise.
66040         (FE_UNDERFLOW): Likewise.
66041         (FE_DIVBYZERO): Likewise.
66042         (FE_INEXACT): Likewise.
66043         (FE_TONEAREST): Likewise.
66044         (FE_TOWARDZERO): Likewise.
66045         (FE_UPWARD): Likewise.
66046         (FE_DOWNWARD): Likewise.
66047         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66048         (FE_DIVBYZERO): Likewise.
66049         (FE_OVERFLOW): Likewise.
66050         (FE_UNDERFLOW): Likewise.
66051         (FE_INEXACT): Likewise.
66052         (FE_TONEAREST): Likewise.
66053         (FE_DOWNWARD): Likewise.
66054         (FE_UPWARD): Likewise.
66055         (FE_TOWARDZERO): Likewise.
66057 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66059         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66061 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66063         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66064         commands.  Quote $PWD.
66065         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66066         -x" by "export".
66067         (remove_newlines): Remove.
66069 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66071         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66072         * stdlib/stdlib.h (atof): Moved to ...
66073         * include/bits/stdlib-float.h: Here.  New file.
66074         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66075         * stdlib/bits/stdlib-float.h: New file.
66076         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66077         -mno-sse -mno-mmx.
66078         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66079         <xmmintrin.h>.
66081 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66083         * conform/conformtest.pl (@headers): Add fenv.h.
66084         * conform/data/fenv.h-data: New file.
66085         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66086         include of <math/fenv.h>.
66088         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66089         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66090         && !UNIX98].  Enables tests for XOPEN2K8.
66091         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66092         POSIX2008]: Likewise.
66094         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66095         (struct rusage): Do not expect type or its members.
66097         [BZ #3439]
66098         * math/math.h (FP_NAN): Define macro to integer constant usable in
66099         #if and use that to give value to enum constant.
66100         (FP_INFINITE): Likewise.
66101         (FP_ZERO): Likewise.
66102         (FP_SUBNORMAL): Likewise.
66103         (FP_NORMAL): Likewise.
66105 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66107         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66108         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66109         arguments.
66111 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66113         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66114         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66115         autoconf-time if not.
66116         * configure.in: Remove AC_PREREQ.
66118 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66120         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66121         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66122         of the internal implementation.
66124 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66126         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66127         except include of <misc/sys/syslog.h>.
66129 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66132         function returns with a NULL context exit with zero.
66134 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66136         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66138 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66140         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66141         (run_program_cmd): This.
66142         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66143         (tst_langinfo): New variable.  Use it.
66145 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66147         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66148         floating point opcodes.
66150 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66152         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66153         variable.
66155         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66157         * sysdeps/mach/hurd/powerpc: Remove directory.
66158         * sysdeps/mach/powerpc: Likewise.
66160 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66162         * scripts/check-local-headers.sh: Ignore c++ headers.
66164 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66166         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66167         __libc_cleanup_region_start argument.
66169 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66171         [BZ #14784]
66172         [BZ #14785]
66173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66174         x * y using scaling, not as x * y + z.
66175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66177         * math/libm-test.inc (fma_test): Add more tests.
66178         (fma_test_towardzero): Likewise.
66179         (fma_test_downward): Likewise.
66180         (fma_test_upward): Likewise.
66182 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66184         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66186 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66188         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66189         New variable.
66191 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66193         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66195 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66198         Fix sort order.
66199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66200         Likewise.
66202 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66205         Fix the order of the list for glibc 2.17.
66206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66207         Likewise.
66209 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66213 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66215         [BZ #14610]
66216         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66217         for low part of x being zero before using __atanl (y).
66218         * math/libm-test.inc (atan2_test): Add another test.
66220         * manual/install.texi (Configuring and compiling): Document
66221         general use of test-wrapper and test-wrapper-env.
66222         * INSTALL: Regenerated.
66224         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66225         (__fma): Do not extract and scale down low bits on after-rounding
66226         systems when result rounded to normal precision would have normal
66227         exponent.
66228         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66229         (__fmal): Do not extract and scale down low bits on after-rounding
66230         systems when result rounded to normal precision would have normal
66231         exponent.
66232         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66233         (__fmal): Do not extract and scale down low bits on after-rounding
66234         systems when result rounded to normal precision would have normal
66235         exponent.
66236         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66237         macro.
66238         (fma_test): Add more tests.
66239         (fma_test_towardzero): Likewise.
66240         (fma_test_downward): Likewise.
66241         (fma_test_upward): Likewise.
66243 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66245         * sysdeps/i386/tininess.h: Renamed to ...
66246         * sysdeps/x86/tininess.h: This.
66247         * sysdeps/x86_64/tininess.h: Removed.
66249 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66251         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66252         input.  Use $(build-program-cmd).
66253         ($(objpfx)tst-array1-static.out): Likewise.
66254         ($(objpfx)tst-array2.out): Likewise.
66255         ($(objpfx)tst-array3.out): Likewise.
66256         ($(objpfx)tst-array4.out): Likewise.
66257         ($(objpfx)tst-array5.out): Likewise.
66258         ($(objpfx)tst-array5-static.out): Likewise.
66260 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66262         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66263         if defined.
66265         * nss/nsswitch.h (nss_interface_function): Provide new
66266         macro for use with NSS functions.
66267         * grp/initgroups.c: Use new macro.
66268         * nss/getXXbyYY.c: Likewise.
66269         * nss/getXXbyYY_r.c: Likewise.
66270         * nss/getXXent.c: Likewise.
66271         * nss/getXXent_r.c: Likewise.
66272         * sysdeps/posix/getaddrinfo.c: Likewise.
66274 2012-10-30  Andreas Jaeger  <aj@suse.de>
66276         * po/ru.po: Update Russion translation from translation project.
66278 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66280         [BZ #14152]
66281         [BZ #14783]
66282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66283         result and shift together with sticky bit instead of replicating
66284         round-to-nearest rounding.
66285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66287         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66288         missing underflow exceptions.
66289         (fma_test_towardzero): Add more tests.
66290         (fma_test_downward): Likewise.
66291         (fma_test_upward): Likewise.
66293         [BZ #14047]
66294         * sysdeps/generic/tininess.h: New file.
66295         * sysdeps/i386/tininess.h: Likewise.
66296         * sysdeps/sh/tininess.h: Likewise.
66297         * sysdeps/x86_64/tininess.h: Likewise.
66298         * stdlib/tst-strtod-underflow.c: Likewise.
66299         * stdlib/tst-tininess.c: Likewise.
66300         * stdlib/strtod_l.c: Include <tininess.h>.
66301         (round_and_return): Do not set errno for exact underflow cases.
66302         Force an underflow exception when setting errno for underflow.
66303         Determine underflow based on rounding to normal precision if
66304         TININESS_AFTER_ROUNDING.
66305         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66306         ERANGE for exact underflow cases.
66307         * stdlib/Makefile (tests): Add tst-tininess and
66308         tst-strtod-underflow.
66309         ($(objpfx)tst-tininess): Use $(link-libm).
66310         ($(objpfx)tst-strtod-underflow): Likewise.
66312 2012-10-30  Andreas Jaeger  <aj@suse.de>
66314         [BZ#14767]
66315         * elf/Makefile (tests): Remove conditional for have-initfini-array
66316         since this is now always required and the variable does not exist
66317         anymore.
66318         (tests-static): Likewise.
66319         (modules-names): Likewise.
66321         * po/eo.po: Add Esperanto translation from translation project.
66323         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66324         merged with constructor/destructor.
66325         (init_array): Likewise.
66326         * elf/tst-array2dep.c (fini_array): Likewise.
66327         (init_array): Likewise.
66329 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66331         * manual/message.texi: Delete @cartouche tags.
66333 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
66335         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66336         EOPNOTSUPP.
66337         * sysdeps/mach/hurd/fsync.c: Likewise.
66339         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66340         [_POSIX_REALTIME_SIGNALS]: Change condition to
66341         [_POSIX_REALTIME_SIGNALS > 0].
66343 2012-10-27  Andreas Jaeger  <aj@suse.de>
66345         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66346         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66347         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66348         [__WORDSIZE != 64]: Likewise.
66350 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
66352         *  iconvdata/tst-table.sh: Remove ${SHELL}.
66353         *  iconvdata/tst-tables.sh: Likewise.
66355 2012-10-25  David S. Miller  <davem@davemloft.net>
66357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66358         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
66359         of strtoull.
66361         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
66362         ifunc-impl-list.c
66363         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66364         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
66365         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
66366         file.
66368 2012-10-25  Roland McGrath  <roland@hack.frob.com>
66370         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66371         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
66372         __getdirentries.
66374 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66375             Jim Blandy  <jimb@codesourcery.com>
66377         * scripts/cross-test-ssh.sh: New file.
66378         * manual/install.texi (Configuring and compiling): Document use of
66379         cross-test-ssh.sh.
66380         * INSTALL: Regenerated.
66382 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
66384         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
66385         EOPNOTSUPP.
66387 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66389         * Makeconfig (run-program-prefix): Fix comment.
66391 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66392             Jim Blandy  <jimb@codesourcery.com>
66394         * Makeconfig (test-wrapper): New variable,
66395         (test-wrapper-env): Likewise.
66396         [$(cross-compiling) = yes && $(test-wrapper) != ""]
66397         (run-built-tests): Define to yes.
66398         (run-program-prefix): Use $(test-wrapper).
66399         (built-program-cmd): Likewise.
66400         * Rules (make-test-out): Use $(test-wrapper-env) and
66401         $(host-built-program-cmd).
66402         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
66403         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
66404         tst-pathopt.sh.
66405         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
66406         $(test-wrapper-env) to tst-rtld-load-self.sh.
66407         ($(objpfx)order2.out): Use $(test-wrapper).
66408         ($(objpfx)tst-initorder.out): Likewise.
66409         ($(objpfx)tst-initorder2.out): Likewise.
66410         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
66411         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
66412         (test_wrapper_env): New variable.  Use it to run ld.so.
66413         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
66414         Use it to run ld.so.
66415         (test_wrapper_env): Likewise.
66416         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
66417         $(test-wrapper) to run-iconv-test.sh.
66418         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
66419         (ICONV): Use $test_wrapper.
66420         * posix/Makefile ($(objpfx)globtest.out): Pass
66421         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
66422         globtest.sh, not $(run-program-prefix).
66423         * posix/globtest.sh (run_via_rtld_prefix): New variable.
66424         (test_wrapper): Likewise.
66425         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
66426         set together with run_via_rtld_prefix.
66427         (run_program_prefix): Define in terms of test_wrapper and
66428         run_via_rtld_prefix.
66430 2012-10-24  Roland McGrath  <roland@hack.frob.com>
66432         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
66433         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
66434         Targets removed.
66436         [BZ #14743]
66437         * include/time.h: Remove librt_hidden_proto (clock_gettime).
66438         Declare __clock_getres, __clock_gettime, __clock_settime,
66439         __clock_nanosleep, and __clock_getcpuclockid.
66440         * rt/clock_gettime.c: Define __clock_gettime as an alias.
66441         Remove librt_hidden_def (clock_gettime).
66442         * sysdeps/unix/clock_gettime.c: Likewise.
66443         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
66444         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
66445         * rt/clock_getres.c: Define __clock_getres as an alias.
66446         * sysdeps/posix/clock_getres.c: Likewise.
66447         * rt/clock_settime.c: Define __clock_settime as an alias.
66448         * sysdeps/unix/clock_settime.c: Likewise.
66449         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
66450         * sysdeps/unix/clock_nanosleep.c: Likewise.
66451         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66452         * rt/clock-compat.c: New file.
66453         * rt/Makefile (librt-routines): Add clock-compat and move
66454         $(clock-routines) to ...
66455         (routines): ... here, new variable.
66456         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
66457         Don't add get_clockfreq here.
66458         * rt/Versions (libc: GLIBC_2.17): New version set.
66459         Add clock_* symbols here.
66460         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
66461         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
66462         (GLIBC_2.17): Add clock_* symbols.
66463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66465         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66467         Likewise.
66468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66469         Likewise.
66470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66474         * NEWS: Mention the move.
66476         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
66477         Use __open, __read, __close rather than their public counterparts.
66478         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66479         (__get_clockfreq_via_cpuinfo): Likewise.
66480         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
66481         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
66483         * config.h.in (HAVE_IFUNC): New #undef.
66484         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
66485         was successful.
66486         * configure: Regenerated.
66488 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66490         * configure.in: Move READELF check to start of file.
66491         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
66492         libc_cv_asm_gnu_indirect_function in the process.
66493         * configure: Regenerated.
66495 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66497         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
66498         send the output to /dev/null.
66499         (libc_cv_cc_with_libunwind): Likewise.
66500         (libc_cv_as_noexecstack): Likewise.
66501         * configure: Regenerate.
66503 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66505         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
66507         * posix/globtest.sh (TMPDIR): Do not set.
66508         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
66509         (testout): Likewise.
66511 2012-10-24  Andreas Jaeger  <aj@suse.de>
66513         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
66514         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
66515         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
66516         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
66517         posix_fadvise64, posix_fallocate64.
66519         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
66520         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
66521         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
66522         Likewise.
66523         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
66524         Likewise.
66525         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
66527         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
66528         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
66529         <bits/fcntl-linux.h>.
66530         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
66532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
66533         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
66534         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
66535         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
66536         [__WORDSIZE != 64]: Likewise.
66538 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66540         * Makeconfig (run-built-tests): New variable.
66541         * Rules [$(cross-compiling) = yes]: Change condition to
66542         [$(run-built-tests) = no].
66543         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
66544         to [$(run-built-tests) = yes].
66545         * elf/Makefile [$(cross-compiling) = no]: Likewise.
66546         * grp/Makefile [$(cross-compiling) = no]: Likewise.
66547         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
66548         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
66549         * intl/Makefile [$(cross-compiling) = no]: Likewise.
66550         * io/Makefile [$(cross-compiling) = no]: Likewise.
66551         * libio/Makefile [$(cross-compiling) = no]: Likewise.
66552         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
66553         * misc/Makefile [$(cross-compiling) = no]: Likewise.
66554         * posix/Makefile [$(cross-compiling) = no]: Likewise.
66555         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
66556         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
66557         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
66558         * string/Makefile [$(cross-compiling) = no]: Likewise.
66560         * posix/Makefile ($(objpfx)globtest.out): Pass
66561         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
66562         $(rtld-installed-name).
66563         * posix/globtest.sh (elf_objpfx): Remove variable.
66564         (rtld_installed_name): Likewise.
66565         (library_path): Likewise.
66566         (run_program_prefix): New variable.  Use for running globtest
66567         binary.
66569 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
66570             Joseph Myers  <joseph@codesourcery.com>
66572         * Makeconfig (host-built-program-cmd): New variable.
66573         * elf/Makefile (tst-stackguard1-ARGS): Use
66574         $(host-built-program-cmd).
66575         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
66576         (tst-spawn-ARGS): Likewise.
66577         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
66579 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66580             Jim Blandy  <jimb@codesourcery.com>
66582         * Makeconfig (run-via-rtld-prefix): New variable.
66583         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
66584         (built-program-cmd): Likewise.
66586 2012-10-22  Andreas Jaeger  <aj@suse.de>
66588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
66589         __O_RSYNC if it exists, otherwise to O_SYNC.
66591 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
66592             Joseph Myers  <joseph@codesourcery.com>
66594         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
66595         /dev/null.
66596         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
66597         from /dev/null
66598         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
66599         /dev/null.
66601 2012-10-22  Andreas Jaeger  <aj@suse.de>
66603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
66604         Define always.
66605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
66607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66608         bits/fcntl-linux.h.
66610         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
66611         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
66613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
66614         to __O_LARGEFILE.
66615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
66616         to __O_LARGEFILE.
66618 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
66619             Joseph Myers  <joseph@codesourcery.com>
66621         * config.make.in (NM): New variable.
66623 2012-10-21  Andreas Jaeger  <aj@suse.de>
66625         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
66626         definitions and declarations that are provided by
66627         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66629 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
66631         [BZ #14683]
66632         * elf/Makefile (tests-static): Add tst-leaks1-static.
66633         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
66634         ($(objpfx)tst-leaks1-static): New rule.
66635         ($(objpfx)tst-leaks1-static-mem): Likewise.
66636         (tst-leaks1-static-ENV): New macro.
66637         * elf/dl-open.c (dl_open_worker): Check the main application
66638         only if SHARED is defined.
66639         * elf/tst-leaks1-static.c: New file.
66641 2012-10-20  Andreas Jaeger  <aj@suse.de>
66643         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
66644         generic values for Linux.
66645         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
66646         and declarations that are provided by <bits/fcntl-linux.h> and
66647         include <bits/fcntl-linux.h>.
66648         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66651 2012-10-20  Roland McGrath  <roland@hack.frob.com>
66653         * io/fcntl.h: Move include of <bits/types.h> to the top and
66654         include it unconditionally.
66656 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
66658         * wcsmbs/Makefile (tests-ifunc): New variable.
66659         (tests): Add $(tests-ifunc).
66660         * wcsmbs/test-wcschr-ifunc.c: New file.
66661         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
66662         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
66663         * wcsmbs/test-wcslen-ifunc.c: Likewise.
66664         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
66665         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
66667         * string/Makefile (tests-ifunc): New variable.
66668         (tests): Add $(tests-ifunc).
66669         * string/test-memccpy.c (TEST_NAME): New macro.
66670         * string/test-memchr.c (TEST_NAME): Likewise.
66671         * string/test-memcmp.c (TEST_NAME): Likewise.
66672         * string/test-memcpy.c (TEST_NAME): Likewise.
66673         * string/test-memmem.c (TEST_NAME): Likewise.
66674         * string/test-memmove.c (TEST_NAME): Likewise.
66675         * string/test-memset.c (TEST_NAME): Likewise.
66676         * string/test-rawmemchr.c (TEST_NAME): Likewise.
66677         * string/test-stpcpy.c (TEST_NAME): Likewise.
66678         * string/test-stpncpy.c (TEST_NAME): Likewise.
66679         * string/test-strcasecmp.c (TEST_NAME): Likewise.
66680         * string/test-strcasestr.c (TEST_NAME): Likewise.
66681         * string/test-strcat.c (TEST_NAME): Likewise.
66682         * string/test-strchr.c (TEST_NAME): Likewise.
66683         * string/test-strcmp.c(TEST_NAME): Likewise.
66684         * string/test-strcpy.c (TEST_NAME): Likewise.
66685         * string/test-strcspn.c (TEST_NAME): Likewise.
66686         * string/test-strlen.c (TEST_NAME): Likewise.
66687         * string/test-strncasecmp.c (TEST_NAME): Likewise.
66688         * string/test-strncmp.c (TEST_NAME): Likewise.
66689         * string/test-strncpy.c (TEST_NAME): Likewise.
66690         * string/test-strnlen.c (TEST_NAME): Likewise.
66691         * string/test-strpbrk.c (TEST_NAME): Likewise.
66692         * string/test-strrchr.c (TEST_NAME): Likewise.
66693         * string/test-strspn.c (TEST_NAME): Likewise.
66694         * string/test-strstr.c (TEST_NAME): Likewise.
66695         * string/test-bcopy-ifunc.c: New file.
66696         * string/test-bzero-ifunc.c: Likewise.
66697         * string/test-memccpy-ifunc.c: Likewise.
66698         * string/test-memchr-ifunc.c: Likewise.
66699         * string/test-memcmp-ifunc.c: Likewise.
66700         * string/test-memcpy-ifunc.c: Likewise.
66701         * string/test-memmem-ifunc.c: Likewise.
66702         * string/test-memmove-ifunc.c: Likewise.
66703         * string/test-mempcpy-ifunc.c: Likewise.
66704         * string/test-memset-ifunc.c: Likewise.
66705         * string/test-rawmemchr-ifunc.c: Likewise.
66706         * string/test-stpcpy-ifunc.c: Likewise.
66707         * string/test-stpncpy-ifunc.c: Likewise.
66708         * string/test-strcasecmp-ifunc.c: Likewise.
66709         * string/test-strcasestr-ifunc.c: Likewise.
66710         * string/test-strcat-ifunc.c: Likewise.
66711         * string/test-strchr-ifunc.c: Likewise.
66712         * string/test-strchrnul-ifunc.c: Likewise.
66713         * string/test-strcmp-ifunc.c: Likewise.
66714         * string/test-strcpy-ifunc.c: Likewise.
66715         * string/test-strcspn-ifunc.c: Likewise.
66716         * string/test-strlen-ifunc.c: Likewise.
66717         * string/test-strncasecmp-ifunc.c: Likewise.
66718         * string/test-strncat-ifunc.c: Likewise.
66719         * string/test-strncmp-ifunc.c: Likewise.
66720         * string/test-strncpy-ifunc.c: Likewise.
66721         * string/test-strnlen-ifunc.c: Likewise.
66722         * string/test-strpbrk-ifunc.c: Likewise.
66723         * string/test-strrchr-ifunc.c: Likewise.
66724         * string/test-strspn-ifunc.c: Likewise.
66725         * string/test-strstr-ifunc.c: Likewise.
66727         * debug/Makefile (tests-ifunc): New variable.
66728         (tests): Add $(tests-ifunc).
66729         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
66730         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
66731         * debug/test-stpcpy_chk-ifunc.c: New file.
66732         * debug/test-strcpy_chk-ifunc.c: Likewise.
66734 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66736         [BZ #13601]
66737         * elf/dl-load.c (open_verify): Retry read if the entire ELF
66738         header is not read in.
66740 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
66742         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
66743         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
66744         directly.  Pass built executable to script as
66745         $(built-program-cmd).
66746         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
66747         $testprogram without using LD_LIBRARY_PATH and $ldso.
66749         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
66750         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
66751         $(rtld-installed-name).
66752         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
66753         (rtld_installed_name): Likewise.
66754         (library_path): Likewise.
66755         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
66756         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
66757         $(run-program-prefix) to tst-tables.sh.
66758         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
66759         it to run tst-table-from and tst-table-to.
66760         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
66761         Pass it to tst-table.sh.
66762         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
66763         $(run-program-prefix) to tst-gettext.sh.
66764         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
66765         tst-translit.sh.
66766         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
66767         tst-gettext2.sh.
66768         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
66769         to run tst-gettext.
66770         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
66771         to run tst-gettext2.
66772         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
66773         to run tst-translit.
66774         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
66775         $(run-program-prefix) to tst-mtrace.sh.
66776         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
66777         to run tst-mtrace.
66778         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
66779         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
66780         $(rtld-installed-name).
66781         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
66782         (rtld_installed_name): Likewise.
66783         (run_program_prefix): New variable.  Use it to run wordexp-test.
66785         * Makeconfig (ARCH): Remove all definitions.
66786         (machine): Likewise.
66787         [ARCH]: Remove conditional code.
66788         [!objdir]: Give error.
66789         [!objdir] (objpfx): Remove.
66790         [!objdir] (common-objpfx): Likewise.
66791         [!objdir] (common-objdir): Likewise.
66792         * configure.in (config_makefile): Remove.  Hardcode Makefile in
66793         AC_CONFIG_FILES call.
66794         * configure: Regenerated.
66796         [BZ #13888]
66797         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
66798         or TMPDIR.
66799         (testout): Likewise.
66801         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
66802         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
66803         $(rtld-installed-name).
66804         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
66805         (rtld_installed_name): Likewise.
66806         (runit): Remove function.
66807         (run_getconf): New variable,  Use it for running getconf binary.
66809 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
66811         [BZ #14716]
66812         * string/test-memmem.c (check_result): New function.
66813         (do_one_test): Use it.
66814         (check1): New function.
66815         (test_main): Use it.
66817 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
66819         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
66821 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
66823         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
66824         (_G_LSEEK64): Likewise.
66825         (_G_MMAP64): Likewise.
66826         (_G_FSTAT64): Likewise.
66827         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
66828         (_G_LSEEK64): Likewise.
66829         (_G_MMAP64): Likewise.
66830         (_G_FSTAT64): Likewise.
66831         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
66832         unconditional.  Call __mmap64 directly.
66833         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
66834         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
66835         __lseek64 directly.
66836         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
66837         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
66838         __mmap64 directly.
66839         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
66840         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
66841         __lseek64 directly.
66842         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
66843         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
66844         __lseek64 directly.
66845         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
66846         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
66847         __lseek64 directly.
66848         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
66849         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
66850         __fxstat64 directly.
66851         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
66852         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
66853         unconditional.
66854         (freopen64) [!_G_OPEN64]: Remove conditional code.
66855         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
66856         unconditional.
66857         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
66858         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
66859         unconditional.
66860         (ftello64) [!_G_LSEEK64]: Remove conditional code.
66861         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
66862         unconditional.
66863         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66864         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
66865         unconditional.
66866         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
66867         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
66868         unconditional.
66869         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66870         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
66871         unconditional.
66872         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66873         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
66874         unconditional.
66875         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66877 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66879         [BZ #12140]
66880         * manual/memory.texi (Malloc Tunable Parameters): Add note
66881         about free list pointers overwriting some perturb bytes.
66882         Wording suggested by Roland McGrath.
66884 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
66886         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
66887         (lgamma_test): Likewise.
66888         (tgamma_test): Likewise.
66890 2012-10-16  Florian Weimer  <fweimer@redhat.com>
66892         [BZ #14700]
66893         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
66894         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
66896 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
66898         * NEWS: Mention BZ #14716.
66899         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
66900         when removing AVAILABLE1_USES_J macro.
66902 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
66904         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
66905         (__bswap_64): __uint64_t for unsigned 64-bit int.
66907 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
66909         * include/string.h (memmem): Declare libc hidden alias.
66910         * string/memmem.c (memmem): Define libc hidden alias.
66911         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
66912         __read, __close instead of open, read, close.
66914 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
66916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
66917         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
66918         global and hidden.
66919         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
66920         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
66921         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
66922         Likewise.
66923         (__rawmemchr_sse2): Likewise.
66924         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
66925         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
66926         (__strchr_sse2): Likewise.
66927         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
66928         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
66929         (__strcasecmp_sse2): Likewise.
66930         (__strncasecmp_sse2): Likewise.
66931         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
66932         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
66933         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
66934         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
66935         (__strrchr_sse2): Likewise.
66936         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
66937         ifunc-impl-list.c.
66938         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
66939         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
66940         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
66941         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66942         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
66943         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
66944         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66945         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66946         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
66947         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
66948         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
66949         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
66950         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
66951         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
66952         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
66953         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
66954         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
66955         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
66956         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
66957         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
66958         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
66959         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
66960         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
66961         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66962         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
66963         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66964         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
66965         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66966         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
66967         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
66969         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
66970         global and hidden.
66971         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
66972         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
66973         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
66974         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
66975         Likewise.
66976         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
66977         Likewise.
66978         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
66979         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
66980         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
66981         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
66982         ifunc-impl-list.c.
66983         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66984         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66985         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66986         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66987         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66988         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66989         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66990         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66991         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66992         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66993         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66994         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66995         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66996         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
66997         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
66998         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66999         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67000         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67001         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67002         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67003         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67004         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67005         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67006         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67007         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67008         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67009         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67010         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67011         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67012         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67013         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67014         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67015         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67016         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67017         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67018         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67019         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67020         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67021         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67022         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67023         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67025         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67026         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67027         * include/ifunc-impl-list.h: New file.
67028         * misc/ifunc-impl-list.c: Likewise.
67029         * misc/Makefile (routines): Add ifunc-impl-list.
67030         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67031         * string/test-string.h: Include <ifunc-impl-list.h>.
67032         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67033         TEST_NAME]: New variables.
67034         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67035         are defined.
67036         (test_init): Call __libc_ifunc_impl_list to initialize
67037         func_list if TEST_IFUNC and TEST_NAME are defined.
67039         * string/Makefile (strop-tests): Add bcopy and bzero.
67040         * string/test-bcopy.c: New file.
67041         * string/test-bzero.c: Likewise.
67042         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67043         defined.
67044         * string/test-memset.c: Support bzero test if TEST_BZERO is
67045         defined.
67046         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67047         __libc_memmove.
67048         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67049         __libc_memset.
67050         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67051         of memset.
67053 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67055         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67056         * configure: Regenerated.
67058         * Makeconfig (+link-static-before-libc): Don't include
67059         $(link-static-libc).
67061         * libio/libio.h (_IO_pos_t): Remove.
67063 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67065         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67066         McGrath.
67068 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67070         * crypt/crypt-entry.c: Include fips-private.h.
67071         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67072         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67073         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67074         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67076 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67078         * crypt/crypt-private.h: Include stdbool.h.
67079         (_ufc_setup_salt_r): Return bool.
67080         * crypt/crypt-entry.c: Include errno.h.
67081         (__crypt_r): Return NULL with EINVAL for bad salt.
67082         * crypt/crypt_util.c (bad_for_salt): New.
67083         (_ufc_setup_salt_r): Check that salt is long enough and within
67084         the specified alphabet.
67085         * crypt/badsalttest.c: New file.
67086         * crypt/Makefile (tests): Add it.
67087         ($(objpfx)badsalttest): New.
67089 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67091         * NEWS: Add entry for BZ #14602.
67093 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67095         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67096         type-generic.
67097         * math/libm-test.inc: Update comment listing what functions and
67098         macros are tested.
67099         (isgreater_test): New function.
67100         (isgreaterequal_test): Likewise.
67101         (isless_test): Likewise.
67102         (islessequal_test): Likewise.
67103         (islessgreater_test): Likewise.
67104         (isunordered_test): Likewise.
67105         (main): Call the new functions.
67107 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67109         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67110         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67111         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67112         * sysdeps/i386/configure: Regenerated.
67113         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67114         * sysdeps/mach/configure: Regenerated.
67115         * sysdeps/mach/hurd/configure: Regenerated.
67116         * sysdeps/powerpc/configure: Regenerated.
67117         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67118         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67119         * sysdeps/s390/s390-32/configure: Regenerated.
67120         * sysdeps/s390/s390-64/configure: Regenerated.
67121         * sysdeps/sh/configure: Regenerated.
67122         * sysdeps/sparc/configure: Regenerated.
67123         * sysdeps/unix/sysv/linux/configure: Regenerated.
67124         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67125         * sysdeps/x86_64/configure: Regenerated.
67127         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67128         defined.  Don't check if MAP is NULL.
67130 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67132         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67133         (_G_stat64): Likewise.
67134         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67135         (_G_stat64): Likewise.
67136         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67137         instead of struct _G_stat64.
67138         * libio/fileops.c (mmap_remap_check): Likewise.
67139         (decide_maybe_mmap): Likewise.
67140         (_IO_new_file_seekoff): Likewise.
67141         (_IO_file_stat): Likewise.
67142         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67143         _G_off64_t.
67144         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67145         instead of struct _G_stat64.
67146         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67148 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67150         [BZ #14602]
67151         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67152         Replace with ...
67153         (CHECK_EOL): New macro.
67154         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67155         CHECK_EOL.
67156         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67157         Replace with CHECK_EOL.
67158         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67159         Replace with CHECK_EOL.
67161 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67163         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67164         type-generic.
67165         * math/libm-test.inc: Update comment listing what functions and
67166         macros are tested.
67167         (finite_test): New function.
67168         (isinf_test): Likewise.
67169         (isnan_test): Likewise.
67170         (fpclassify_test): Test subnormal input.
67171         (isfinite_test): Likewise.
67172         (isnormal_test): Likewise.
67173         (main): Call the new functions.
67175 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67177         [BZ #14660]
67178         * Makerules (%.dynsym): Force C locale when running
67179         $(OBJDUMP) --dynamic-syms.
67181 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67183         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67184         <stdint.h>.
67186 2012-10-06  David S. Miller  <davem@davemloft.net>
67188         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67189         upper 32-bits of the length value in %o2 since we use branch-on-register
67190         tests which consider the entire 64-bit register.
67192 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67194         * string/test-strstr.c (check2): Add a test for page boundary.
67196 2012-10-05  David S. Miller  <davem@davemloft.net>
67198         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67199         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67200         file.
67201         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67202         sysdep_routines.
67203         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67204         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67205         and bzero when HWCAP_SPARC_CRYPTO is present.
67207 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67209         [BZ #14602]
67210         * string/test-strstr.c (check2): New function.
67211         (test_main): Call check2.
67213         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67214         and bug-strchr1.
67215         * string/bug-strcasestr1.c (do_test): Moved to ...
67216         * string/test-strcasestr.c (check1): Here.  New function.
67217         (do_one_test): Break out result checking code into ...
67218         (check_result): This.  New function.
67219         (do_one_test): Call check_result.
67220         (test_main): Call check1.
67221         * string/bug-strchr1.c (do_test): Moved to ...
67222         * string/test-strchr.c (check1): Here.  New function.
67223         (do_one_test): Break out result checking code into ...
67224         (check_result): This.  New function.
67225         (do_one_test): Call check_result.
67226         (test_main): Call check1.
67227         * string/bug-strstr1.c (main): Moved to ...
67228         * string/test-strstr.c (check1): Here.  New function.
67229         (do_one_test): Break out result checking code into ...
67230         (check_result): This.  New function.
67231         (do_one_test): Call check_result.
67232         (test_main): Call check1.
67233         * string/bug-strcasestr1.c: Removed.
67234         * string/bug-strchr1.c: Likewise.
67235         * string/bug-strstr1.c: Likewise.
67237         * elf/Makefile (dl-routines): Add hwcaps.
67238         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67239         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67240         (_dl_important_hwcaps): Moved to ...
67241         * elf/dl-hwcaps.c: Here.  New file.
67242         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67244         [BZ #14557]
67245         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67246         if IS_IN_rtld isn't defined.
67248         * elf/dl-support.c (_dl_sysinfo_map): New.
67249         Include "get-dynamic-info.h" and "setup-vdso.h".
67250         (_dl_non_dynamic_init): Call setup_vdso.
67251         * elf/dynamic-link.h: Don't include <assert.h>.
67252         (elf_get_dynamic_info): Moved to ...
67253         * elf/get-dynamic-info.h: Here.  New file.
67254         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67255         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67256         * elf/setup-vdso.h: Here.  New file.
67257         * elf/rtld.c: Include "setup-vdso.h".
67258         (dl_main): Call setup_vdso.
67260 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67262         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67263         creal in comment listing functions tested.  List finite, isinf,
67264         isnan, isless, islessequal, isgreater, isgreaterequal,
67265         islessgreater, isunordered, lgamma_r and pow10 as functions and
67266         macros not tested.  Mention which functions not tested are aliases
67267         for other functions.  Fix typo.  Note that signs of NaNs are not
67268         tested.
67270         * scripts/config.guess: Update from config.git.
67271         * scripts/config.sub: Likewise.
67273 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67275         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67276         * misc/madvise.c (madvise): Renamed to __madvise.
67277         Make madvise a weak alias.
67278         * include/sys/mman.h: Declare __madvise.
67279         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67280         * sysdeps/unix/syscalls.list
67281         (madvise): Make __madvise the strong name, and madvise a weak alias.
67282         * sysdeps/unix/sysv/linux/syscalls.list
67283         (madvise, mmap): Remove redundant entries.
67284         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67285         * malloc/malloc.c (mtrim): Likewise.
67286         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67288 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67290         * sysdeps/mach/hurd/dl-cache.c: File removed.
67291         * config.h.in (USE_LDCONFIG): New #undef.
67292         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67293         * configure: Regenerated.
67294         * elf/Makefile (dl-routines): Add dl-cache only under
67295         [$(use-ldconfig) = yes].
67296         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67297         cache on [USE_LDCONFIG].
67298         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67299         [USE_LDCONFIG].
67300         * elf/rtld.c (dl_main): Likewise.
67302 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67304         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67305         _SC_LEVEL4_CACHE_LINESIZE.
67307 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67309         * sysdeps/unix/bsd/confstr.h: File removed.
67311 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67313         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67314         sys/sdt-config.h.
67316 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67318         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67319         Make 'mapoff' field ElfW(Off) rather than off_t.
67321 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67323         * nscd/Makefile: Remove nscd-cflags and all its users.
67324         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67325         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67327         [BZ #10631]
67328         * malloc.c (malloc_printerr): Clarify error message.
67330 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
67332         [BZ #14648]
67333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67334         Set bit_FMA_Usable if FMA is supported.
67335         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67336         macro.
67337         (bit_FMA4_Usable): Updated.
67338         (index_FMA_Usable): New macro.
67339         (CPUID_FMA): Likewise.
67340         (HAS_FMA): Defined with bit_FMA_Usable.
67342 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67344         * bits/types.h (__swblk_t): Type removed.
67345         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67346         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67348         (__SWBLK_T_TYPE): Likewise.
67349         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67350         (__SWBLK_T_TYPE): Likewise.
67351         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67352         (__SWBLK_T_TYPE): Likewise.
67353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67354         (__SWBLK_T_TYPE): Likewise.
67356 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
67357             Honza Horak <hhorak@redhat.com>
67359         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
67360         (xdr_mapname): Use YPMAXMAP as maxsize.
67361         (xdr_peername): Use YPMAXPEER as maxsize.
67362         (xdr_keydat): Use YPAXRECORD as maxsize.
67363         (xdr_valdat): Use YPMAXRECORD as maxsize.
67365 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67367         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
67369         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
67370         * csu/init-first.c: ... here.
67371         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
67372         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67373         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
67374         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67375         * sysdeps/i386/init-first.c: File removed.
67376         * sysdeps/sh/init-first.c: File removed.
67378 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
67380         [BZ #14645]
67381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
67382         if x * y might underflow to zero and z is zero.
67383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67385         * math/libm-test.inc (min_subnorm_value): New variable.
67386         (fma_test): Add more tests.
67387         (fma_test_towardzero): Likewise.
67388         (fma_test_downward): Likewise.
67389         (fma_test_upward): Likewise.
67390         (initialize): Set min_subnorm_value.
67392 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
67394         [BZ #14638]
67395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
67396         0 + 0.
67397         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
67398         mode for addition resulting in exact zero.
67399         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
67400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
67401         exact 0 + 0.
67402         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67403         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67404         * math/libm-test.inc (fma_test): Add more tests.
67405         (fma_test_towardzero): New function.
67406         (fma_test_downward): Likewise.
67407         (fma_test_upward): Likewise.
67408         (main): Call the new functions.
67410 2012-09-28  David S. Miller  <davem@davemloft.net>
67412         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
67414 2012-09-28  Roland McGrath  <roland@hack.frob.com>
67416         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
67417         instead of SIGALRM.
67419         * sysdeps/gnu/_G_config.h: Moved to ...
67420         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
67421         * sysdeps/mach/hurd/_G_config.h: Moved to ...
67422         * sysdeps/generic/_G_config.h: ... here.
67424         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
67426         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
67428         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
67429         Conditionalize target on [libnss_test1.so-version].
67431         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67433         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
67434         (elfobjdir): Move out of conditionals.
67436         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
67437         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
67438         (__nss_lookup_function): Conditionalize label remove_from_tree on
67439         [!DO_STATIC_NSS || SHARED], matching its only use.
67441 2012-09-28  David S. Miller  <davem@davemloft.net>
67443         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67444         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
67445         file.
67446         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67447         sysdep_routines.
67448         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
67450         when HWCAP_SPARC_CRYPTO is present.
67452 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67454         * io/tst-mknodat.c: Create a FIFO instead of a socket.
67456 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
67458         [BZ #6530]
67459         * stdio-common/vfprintf.c (process_string_arg): Revert
67460         2000-07-22 change.
67462 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
67464         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
67465         for testcase.
67466         * stdio-common/tst-sprintf.c: Include <locale.h>
67467         (main): Test sprintf's handling of incomplete multibyte
67468         characters.
67470 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
67472         * elf/dl-runtime.c (VERSYMIDX): Removed.
67473         * elf/dl-version.c (VERSYMIDX): Likewise.
67474         * elf/do-rel.h (VERSYMIDX): Likewise.
67475         (VALIDX): Likewise.
67476         * elf/dynamic-link.h (VERSYMIDX): Likewise.
67477         * elf/rtld.c (VALIDX): Likewise.
67478         (ADDRIDX): Likewise.
67479         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
67480         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
67481         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
67482         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
67483         (VALIDX): Likewise.
67484         (ADDRIDX): Likewise.
67486 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67488         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
67490 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
67492         [BZ #11438]
67493         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
67494         to global scope.
67495         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
67496         addresses are in the same scope as 192.0.2/24.
67497         * posix/gai.conf: Document new scope table defaults.
67499 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67501         [BZ #5298]
67502         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
67503         for ftell.  Compute offsets from write pointers instead.
67504         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67506 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67508         [BZ #14543]
67509         * libio/Makefile (tests): New test case tst-fseek.
67510         * libio/tst-fseek.c: New test case to verify that fseek/ftell
67511         combination works in wide mode.
67512         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
67513         state when the external buffer state changes.
67515 2012-09-27  David S. Miller  <davem@davemloft.net>
67517         [BZ #14376]
67518         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
67519         pass reloc->r_addend in as the 'high' argument to
67520         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
67522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67524 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67526         * rt/tst-aio2.c: Include <pthread.h>.
67527         * rt/tst-aio3.c: Likewise.
67529 2012-09-27  Steve Ellcey  <sellcey@mips.com>
67531         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
67533 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
67535         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
67536         contents on [SHARED].
67538 2012-09-26  Marek Polacek  <polacek@redhat.com>
67540         [BZ #14530]
67541         [BZ #13741]
67542         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
67543         for C++ and GCC <4.3 as well as for non GCC compilers.
67545 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67549 2012-09-25  Roland McGrath  <roland@hack.frob.com>
67551         * Makefile.in (all, install): Declare with .PHONY.
67552         Reported by Michael Hope <michael.hope@linaro.org>.
67554 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67556         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
67557         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
67558         system header.
67559         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
67560         Likewise.
67561         (sydep_routines): Add the new and the internal functions.
67562         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
67563         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
67564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
67565         (GLIBC_2.17): Add the new function.
67566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67567         (GLIBC_2.17): Likewise.
67568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
67569         (GLIBC_2.17): Likewise.
67570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
67571         (GLIBC_2.17): Likewise.
67572         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
67574 2012-09-25  Alan Modra  <amodra@gmail.com>
67576         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
67577         Add release barrier before setting once_control to say
67578         initialisation is done.  Add hints on lwarx.  Use macro in
67579         place of isync.
67580         (clear_once_control): Add release barrier.
67582 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67584         [BZ #13629]
67585         * math/s_clog.c (__clog): Handle more values close to |z| = 1
67586         specially.
67587         * math/s_clog10.c (__clog10): Likewise.
67588         * math/s_clog10f.c (__clog10f): Likewise.
67589         * math/s_clog10l.c (__clog10l): Likewise.
67590         * math/s_clogf.c (__clogf): Likewise.
67591         * math/s_clogl.c (__clogl): Likewise.
67592         * math/Makefile (libm-calls): Add x2y2m1.
67593         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
67594         (__x2y2m1): Likewise.
67595         (__x2y2m1l): Likewise.
67596         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
67597         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
67598         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
67599         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
67600         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
67601         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
67602         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
67603         * sysdeps/i386/fpu/libm-test-ulps: Update.
67604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67606         [BZ #14621]
67607         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
67608         int as type of variable DEPTH.
67609         (glob): Use size_t instead of int as type of variables NEWCOUNT
67610         and OLD_PATHC.
67612 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67614         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67615         Add s_sincosf-sse2.
67616         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
67617         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
67618         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
67619         macros for using routine as __sincosf_ia32.
67620         Use macro for function declaration and weak_alias.
67621         * sysdeps/i386/fpu/libm-test-ulps: Update.
67623         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
67624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67626         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
67627         subnormal argument.
67628         * math/s_cexpf.c (__cexpf): Likewise.
67629         * math/s_csinf.c (__csinf): Likewise.
67630         * math/s_csinhf.c (__csinhf): Likewise.
67631         * math/s_ctanf.c (__ctanf): Likewise.
67632         * math/s_ctanhf.c (__ctanhf): Likewise.
67633         * math/s_ccosh.c (__ccoshf): Likewise.
67634         * math/s_cexp.c (__cexpl): Likewise.
67635         * math/s_csin.c (__csin): Likewise.
67636         * math/s_csinh.c (__csinh): Likewise.
67637         * math/s_ctan.c (__ctan): Likewise.
67638         * math/s_ctanh.c (ctanh): Likewise.
67639         * math/s_ccoshl.c (__ccoshl): Likewise.
67640         * math/s_cexpl.c (__cexpl): Likewise.
67641         * math/s_csinl.c (__csinl): Likewise.
67642         * math/s_csinhl.c (__csinhl): Likewise.
67643         * math/s_ctanl.c (__ctanl): Likewise.
67644         * math/s_ctanhl.c (__ctanhl): Likewise.
67646 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67648         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
67649         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
67650         (_IO_off_t): Define to __off_t, not _G_off_t.
67651         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
67652         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
67653         (_IO_wint_t): Define to wint_t, not _G_wint_t.
67654         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
67655         type of __dummy and __dummy2 fields.
67656         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
67657         (_G_ssize_t): Likewise.
67658         (_G_off_t): Likewise.
67659         (_G_pid_t): Likewise.
67660         (_G_uid_t): Likewise.
67661         (_G_wchar_t): Likewise.
67662         (_G_wint_t): Likewise.
67663         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
67664         (_G_ssize_t): Likewise.
67665         (_G_off_t): Likewise.
67666         (_G_pid_t): Likewise.
67667         (_G_uid_t): Likewise.
67668         (_G_wchar_t): Likewise.
67669         (_G_wint_t): Likewise.
67670         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
67671         (_G_ssize_t): Likewise.
67672         (_G_off_t): Likewise.
67673         (_G_pid_t): Likewise.
67674         (_G_uid_t): Likewise.
67675         (_G_wchar_t): Likewise.
67676         (_G_wint_t): Likewise.
67678 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67680         * malloc/arena.c: Include malloc-sysdep.h.
67681         (shrink_heap): Use check_may_shrink_heap to decide if madvise
67682         is sufficient to shrink the heap or an unmap is needed.
67683         * sysdeps/generic/malloc-sysdep.h: New file.  Define
67684         new function check_may_shrink_heap.
67685         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
67686         new function check_may_shrink_heap.
67688 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67690         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
67691         comments.
67693 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
67695         * catgets/test-gencat.sh: Add "set -e".
67696         * elf/tst-pathopt.sh: Likewise.
67697         * grp/tst_fgetgrent.sh: Likewise.
67698         * iconvdata/run-iconv-test.sh: Likewise.
67699         * intl/tst-gettext.sh: Likewise.
67700         * intl/tst-gettext2.sh: Likewise.
67701         * intl/tst-gettext4.sh: Likewise.
67702         * intl/tst-gettext6.sh: Likewise.
67703         * intl/tst-translit.sh: Likewise.
67704         * io/ftwtest-sh: Likewise.
67705         * libio/test-freopen.sh: Likewise.
67706         * malloc/tst-mtrace.sh: Likewise.
67707         * posix/globtest.sh: Likewise.
67708         * posix/tst-getconf.sh: Likewise.
67709         * posix/wordexp-tst.sh: Likewise.
67710         * stdio-common/tst-printf.sh: Likewise.
67711         * stdio-common/tst-unbputc.sh: Likewise.
67712         * stdlib/tst-fmtmsg.sh: Likewise.
67713         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67714         * catgets/Makefile: Do not specify -e option when running
67715         testsuite shell scripts.
67716         * elf/Makefile: Likewise.
67717         * grp/Makefile: Likewise.
67718         * iconvdata/Makefile: Likewise.
67719         * intl/Makefile: Likewise.
67720         * io/Makefile: Likewise.
67721         * libio/Makefile: Likewise.
67722         * malloc/Makefile: Likewise.
67723         * posix/Makefile: Likewise.
67724         * stdio-common/Makefile: Likewise.
67725         * stdlib/Makefile: Likewise.
67726         * sysdeps/x86_64/Makefile: Likewise.
67728         * io/ftwtest-sh: Add copyright header.
67729         * posix/globtest.sh: Likewise.
67730         * posix/tst-getconf.sh: Likewise.
67731         * posix/wordexp-tst.sh: Likewise.
67732         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67734 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
67736         [BZ #13679]
67737         * Makeconfig (+link): Defined as $(+link-static) if
67738         $(build-shared) isn't yes.
67739         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
67740         isn't yes.
67741         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
67743         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
67745         [BZ #14562]
67746         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
67747         new chunk size with MALLOC_ALIGN_MASK.
67749 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
67751         [BZ #5044]
67752         * stdio-common/printf_fphex.c: Include <stdbool.h> and
67753         <rounding-mode.h>.
67754         (__printf_fphex): Determine rounding using get_rounding_mode and
67755         round_away.
67756         * stdio-common/tst-printf-round.c (struct hex_test): New
67757         structure.
67758         (hex_tests): New variable.
67759         (test_hex_in_one_mode): New function.
67760         (do_test): Also run tests for hex float output.
67762 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
67764         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
67765         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
67766         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
67767         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
67768         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
67769         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
67770         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
67771         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
67773 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
67775         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
67776         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
67777         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
67778         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
67780 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
67782         [BZ #14579]
67783         * elf/rtld.c (dl_main): Limit the check for self loading to normal
67784         mode only.
67785         * elf/tst-rtld-load-self.sh: New test.
67786         * elf/Makefile: Run it.
67788 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
67790         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
67791         (tst-writev-ENV): Remove.
67792         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
67794 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
67796         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
67798 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
67800         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
67801         unconditional.
67802         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
67803         Likewise.
67804         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
67805         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
67806         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
67807         Likewise.
67809 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
67811         [BZ #14587]
67812         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
67813         * config.make.in (have-cpp-asm-debuginfo): Removed.
67814         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
67815         * configure: Regenerated.
67817 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
67819         [BZ #5044]
67820         * stdio-common/printf_fp.c: Include <stdbool.h> and
67821         <rounding-mode.h>.
67822         (___printf_fp): Determine rounding using get_rounding_mode and
67823         round_away.
67824         * stdio-common/tst-printf-round.c: New file.
67825         * stdio-common/Makefile (tests): Add tst-printf-round.
67826         (link-libm): New variable.
67827         ($(objpfx)tst-printf-round): Depend in $(link-libm).
67829 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
67831         [BZ #14576]
67832         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
67833         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
67834         Likewise.
67835         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
67836         Likewise.
67838 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
67840         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
67841         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67842         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67843         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67845 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
67847         [BZ #14518]
67848         * include/rounding-mode.h: New file.
67849         * sysdeps/generic/get-rounding-mode.h: Likewise.
67850         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
67851         * stdlib/strtod_l.c: Include <rounding-mode.h>.
67852         (MAX_VALUE): New macro.
67853         (MIN_VALUE): Likewise.
67854         (overflow_value): New function.
67855         (underflow_value): Likewise.
67856         (round_and_return): Use overflow_value and underflow_value to
67857         determine return values in overflow and underflow cases.  Use
67858         round_away to determine rounding depending on rounding mode.
67859         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
67860         determine return values in overflow and underflow cases.
67861         * stdlib/tst-strtod-round.c: Include <fenv.h>.
67862         (struct test_results): New structure.
67863         (struct test): Use struct test_results to store expected results
67864         for all rounding modes.
67865         (TEST): Include expected results for all rounding modes.
67866         (test_in_one_mode): New function.
67867         (do_test): Use test_in_one_mode to compute and check results.
67868         Check results for all rounding modes.
67869         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
67870         $(link-libm).
67872 2012-12-09  Allan McRae  <allan@archlinux.org>
67874         * sysdeps/i386/fpu/libm-test-ulps: Update
67876 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
67878         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
67879         (_G_int32_t): Likewise.
67880         (_G_uint16_t): Likewise.
67881         (_G_uint32_t): Likewise.
67882         (_G_HAVE_BOOL): Likewise.
67883         (_G_HAVE_ATEXIT): Likewise.
67884         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67885         (_G_HAVE_IO_FILE_OPEN): Likewise.
67886         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
67887         (_G_int32_t): Likewise.
67888         (_G_uint16_t): Likewise.
67889         (_G_uint32_t): Likewise.
67890         (_G_HAVE_BOOL): Likewise.
67891         (_G_HAVE_ATEXIT): Likewise.
67892         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67893         (_G_HAVE_IO_FILE_OPEN): Likewise.
67894         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67895         (_G_int32_t): Likewise.
67896         (_G_uint16_t): Likewise.
67897         (_G_uint32_t): Likewise.
67898         (_G_HAVE_BOOL): Likewise.
67899         (_G_HAVE_ATEXIT): Likewise.
67900         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67901         (_G_HAVE_IO_FILE_OPEN): Likewise.
67903 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
67905         * csu/libc-tls.c: Update copyright years.
67907 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
67909         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
67910         [!_G_USING_THUNKS]: Remove conditional code.
67911         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
67912         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
67914         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
67915         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
67916         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67917         (_G_VTABLE_LABEL_PREFIX): Likewise.
67918         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67919         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67920         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67921         (_G_VTABLE_LABEL_PREFIX): Likewise.
67922         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67923         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67924         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67925         (_G_VTABLE_LABEL_PREFIX): Likewise.
67926         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67928 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
67930         * libio/Makefile: Include ../Makeconfig before tests.
67931         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
67932         only if $(build-shared) is yes.
67934         * iconv/gconv_db.c: Update copyright years.
67936 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67938         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
67939         unwind info if defined PIC. Fix special cases description.
67940         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
67942         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
67943         DP_HI_MASK entry.
67944         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
67946 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
67948         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
67950         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
67951         is NULL.
67953         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
67954         (LDLIBS-tst-chk4): This.
67955         (LDFLAGS-tst-chk5): Renamed to ...
67956         (LDLIBS-tst-chk5): This.
67957         (LDFLAGS-tst-chk6): Renamed to ...
67958         (LDLIBS-tst-chk6): This.
67959         (LDFLAGS-tst-lfschk4): Renamed to ...
67960         (LDLIBS-tst-lfschk4): This.
67961         (LDFLAGS-tst-lfschk5): Renamed to ...
67962         (LDLIBS-tst-lfschk5): This.
67963         (LDFLAGS-tst-lfschk6): Renamed to ...
67964         (LDLIBS-tst-lfschk6): This.
67966         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
67967         on $(common-objpfx)soversions.mk.
67969 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
67971         [BZ #10014]
67972         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
67973         example host name.
67975 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67977         * malloc/arena.c (arena_get_retry): New function that gets
67978         another arena for the caller to try its request on.
67979         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
67980         current arena cannot fulfill the request.
67981         (__libc_memalign): Likewise.
67982         (__libc_memalign): Likewise.
67983         (__libc_pvalloc): Likewise.
67984         (__libc_calloc): Likewise.
67986 2012-09-05  John Tobey  <john.tobey@gmail.com>
67988         [BZ #13542]
67989         * manual/arith.texi (Operations on Complex): Fix description
67990         of carg branch cut.
67992 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
67994         [BZ #10014]
67995         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
67996         host name.
67998         [BZ #10038]
67999         * manual/memory.texi (Memory): Make order of menu items match
68000         order of sections.
68002 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68004         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68005         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68006         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68008 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68010         * csu/libc-tls.c (static_dtv): Renamed to ...
68011         (_dl_static_dtv): This.  Make it global.
68012         (_dl_initial_dtv): Removed.
68013         (__libc_setup_tls): Updated.
68014         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68015         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68016         DL_INITIAL_DTV.
68018 2012-09-06  Petr Machata  <pmachata@redhat.com>
68020         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68021         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68022         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68023         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68025 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68027         [BZ #14545]
68028         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68029         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68030         freeing dtv[-1].
68032 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68034         [BZ #14544]
68035         * Makeconfig (link-static-before-libc): Replace $(+prector)
68036         with $(+prectorT).
68037         (link-static-after-libc): Replace $(+postctor) with
68038         $(+postctorT).
68039         (link-bounded): Replace $(+prector)/$(+postctor) with
68040         $(+prectorT)/$(+postctorT).
68041         (+prectorT): New macro.
68042         (+postctorT): Likewise.
68044 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68046         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68047         (round_str): Handle values above the maximum for IBM long double
68048         as inexact.
68049         * stdlib/tst-strtod-round.c (tests): Regenerated.
68051 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68053         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68054         assembler flag.
68055         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68056         zarch_nohighgprs around the zarch optimized routines.
68057         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68058         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68059         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68060         for zarch.
68062 2012-09-05  David S. Miller  <davem@davemloft.net>
68064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68066         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68067         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68068         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68069         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68070         entries.
68072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68074         * malloc/arena.c: Fold copyright years.
68075         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68077 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68079         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68081 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68083         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68085 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68087         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68088         change internal state upon failure.
68090 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68092         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68093         * malloc/memusage.c (mmap): Likewise.
68094         (mmap64, mremap): Likewise.  Adjust name in comment.
68096 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68098         * libio/fileops.c: Fix typos in comments.
68099         * libio/oldfileops.c: Likewise.
68100         * libio/wfileops.c: Likewise.
68102 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68104         [BZ #1349]
68105         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68106         (tst-malloc-usable-ENV): Set environment for test case.
68107         * malloc/hooks.c (malloc_check_get_size): New function to get
68108         requested size.
68109         * malloc/malloc.c (musable): Use malloc_check_get_size.
68110         * malloc/tst-malloc-usable.c: New test case.
68112 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68114         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68116 2012-09-05  Allan McRae  <allan@archlinux.org>
68118         [BZ #13966]
68119         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68120         determine header location.
68121         * configure: Regenerated.
68123 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68125         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68126         float format.
68127         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68128         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68129         format.
68130         (test): Regenerate.
68132 2012-09-04  David S. Miller  <davem@davemloft.net>
68134         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68135         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68136         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68138 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68140         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68141         failures.
68143         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68145 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68147         [BZ #9914]
68148         * libio/iogetdelim.c: Include <limits.h>.
68149         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68150         + len + 1 would overflow.
68152 2012-09-03  Andreas Jaeger  <aj@suse.de>
68154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68155         * sysdeps/i386/fpu/libm-test-ulps: Update.
68157 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68159         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68160         Add s_sinf-sse2, s_conf-sse2.
68162         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68163         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68164         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68165         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68167         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68168         for using routine as __sinf_ia32.
68169         Use macro for function declaration and weak_alias.
68170         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68171         for using routine as __cosf_ia32.
68172         Use macro for function declaration and weak_alias.
68174         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68175         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68177         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68178         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68181         * math/libm-test.inc (cos_test): Add more test cases.
68182         (sin_test): Likewise.
68183         (sincos_test): Likewise.
68185 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68187         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68188         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68189         hidden.
68190         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68192 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68194         [BZ #14538]
68195         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68196         first element of the GOT.
68197         (elf_machine_load_address): Return the difference between
68198         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68200 2012-09-01  Allan McRae  <allan@archlinux.org>
68202         [BZ #13412]
68203         * configure.in (AWK): Require gawk version 3.0 or later.
68204         * configure: Regenerated.
68206 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68208         * sysdeps/unix/sysv/linux/kernel-features.h
68209         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68210         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68211         [__NR_clock_getres]: Make code unconditional.
68212         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68213         (clock_getcpuclockid): Remove code left unreachable by removal of
68214         conditionals.
68215         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68216         code unconditional.
68217         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68218         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68219         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68220         Make code unconditional.
68221         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68222         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68223         * sysdeps/unix/sysv/linux/clock_settime.c
68224         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68225         conditional code.
68226         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68227         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68229 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68231         [BZ #14476]
68232         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68233         scripts/test-installation.pl.
68235         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68236         and $ld_so_version if it is set.
68238 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68240         [BZ #14516]
68241         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68242         failure if reading from procfs failed.
68243         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68245 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68247         * sysdeps/unix/sysv/linux/kernel-features.h
68248         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68249         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68250         Remove conditional code.
68251         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68252         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68253         Remove conditional code.
68254         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68255         * sysdeps/unix/sysv/linux/i386/fxstat.c
68256         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68257         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68258         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68259         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68260         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68261         * sysdeps/unix/sysv/linux/i386/lxstat.c
68262         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68263         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68264         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68265         Remove conditional code.
68266         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68267         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68268         Remove conditional code.
68269         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68270         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68271         <kernel-features.h>.
68272         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68273         Remove.
68274         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68275         Remove conditional code.
68276         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68277         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68278         Remove conditional.
68280 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68282         [BZ #5400]
68283         * NEWS: Add fixed bug number.
68285 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68287         [BZ #14519]
68288         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68289         underflowing exponent in case of negative sign.
68290         * stdlib/tst-strtod-round-data: Add more tests.
68291         * stdlib/tst-strtod-round.c (tests): Regenerated.
68293         [BZ #3479]
68294         * stdlib/strtod_l.c (NDIG): Remove.
68295         (HEXNDIG): Likewise.
68296         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68297         smallest representable value.
68298         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68299         lie within an exact representation of 1/2 ulp of the result.
68300         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68301         unconditionally.
68302         (TENS_P9_IDX): Define unconditionally.
68303         (TENS_P9_SIZE): Likewise.
68304         (TENS_P10_IDX): Likewise.
68305         (TENS_P10_SIZE): Likewise.
68306         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68307         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68308         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68309         entries for 10^2^13 and 10^2^14.
68310         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68311         (TENS_P13_IDX): Define.
68312         (TENS_P13_SIZE): Likewise.
68313         (TENS_P14_IDX): Likewise.
68314         (TENS_P14_SIZE): Likewise.
68315         (_fpioconst_pow10): Change array size to
68316         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68317         unconditional.
68318         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68319         1024]: Add entries for 10^2^13 and 10^2^14.
68320         [LAST_POW10 > _LAST_POW10]: Remove #error.
68321         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68322         (_fpioconst_pow10): Change array size to
68323         FPIOCONST_POW10_ARRAY_SIZE.
68324         * stdlib/gen-fpioconst.c: New file.
68325         * stdlib/gen-tst-strtod-round.c: Likewise.
68326         * stdlib/tst-strtod-round-data: Likewise.
68327         * stdlib/tst-strtod-round.c: Likewise.
68328         * stdlib/Makefile (tests): Add tst-strtod-round.
68330         [BZ #14459]
68331         * stdlib/strtod_l.c: Include <stdint.h>.
68332         (NDEBUG): Do not define.
68333         (round_and_return): Change EXPONENT parameter to type intmax_t.
68334         Rearrange calculations to avoid internal overflow possibilities.
68335         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68336         Rearrange calculations to avoid internal overflow possibilities.
68337         Assert that number fits inside MPNSIZE limbs.
68338         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68339         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
68340         calculations and add assertions to avoid internal overflow
68341         possibilities.  Add casts to avoid signed/unsigned operations.
68342         * stdlib/tst-strtod-overflow.c: New file.
68343         * stdlib/Makefile (tests): Add tst-strtod-overflow.
68345 2012-08-25  Marek Polacek  <polacek@redhat.com>
68347         * time/time.h: Fix some typos in comments.
68349 2012-08-23  Roland McGrath  <roland@hack.frob.com>
68351         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68352         * posix/tst-rfc3484-2.c: Likewise.
68353         * posix/tst-rfc3484-3.c: Likewise.
68355 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
68357         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
68358         (EF_ARM_ABI_FLOAT_HARD): Likewise.
68360 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
68362         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
68363         #include of fxstatat64.c.
68365 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68367         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
68368         * shadow/getspent_r.c: Likewise.
68369         * shadow/getspnam.c: Likewise.
68370         * shadow/getspnam_r.c: Likewise.
68371         * gshadow/getsgent.c: Likewise.
68372         * gshadow/getsgent_r.c: Likewise.
68373         * gshadow/getsgnam.c: Likewise.
68374         * gshadow/getsgnam_r.c: Likewise.
68375         * inet/getnetbyad.c: Likewise.
68376         * inet/getnetbyad_r.c: Likewise.
68377         * inet/getnetbynm.c: Likewise.
68378         * inet/getnetbynm_r.c: Likewise.
68379         * inet/getnetent.c: Likewise.
68380         * inet/getnetent_r.c: Likewise.
68381         * inet/getproto.c: Likewise.
68382         * inet/getproto_r.c: Likewise.
68383         * inet/getprtent.c: Likewise.
68384         * inet/getprtent_r.c: Likewise.
68385         * inet/getprtname.c: Likewise.
68386         * inet/getprtname_r.c: Likewise.
68387         * inet/getrpcbyname.c: Likewise.
68388         * inet/getrpcbyname_r.c: Likewise.
68389         * inet/getrpcbynumber.c: Likewise.
68390         * inet/getrpcbynumber_r.c: Likewise.
68391         * inet/getrpcent.c: Likewise.
68392         * inet/getrpcent_r.c: Likewise.
68393         * inet/getaliasent.c: Likewise.
68394         * inet/getaliasent_r.c: Likewise.
68395         * inet/getaliasname.c: Likewise.
68396         * inet/getaliasname_r.c: Likewise.
68397         * nscd/getgrgid_r.c: Likewise.
68398         * nscd/getgrnam_r.c: Likewise.
68399         * nscd/gethstbyad_r.c: Likewise.
68400         * nscd/gethstbynm3_r.c: Likewise.
68401         * nscd/getpwnam_r.c: Likewise.
68402         * nscd/getpwuid_r.c: Likewise.
68403         * nscd/getsrvbynm_r.c: Likewise.
68404         * nscd/getsrvbypt_r.c: Likewise.
68405         * nscd/gai.c: Likewise.
68407         * configure.in (build_nscd): New substituted variable, set
68408         by --disable-build-nscd and defaults to $use_nscd.
68409         * configure: Regenerated.
68410         * config.make.in (build-nscd): New substituted variable.
68411         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68412         Change conditional to require [$(build-nscd) = yes] as well.
68413         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
68415         [BZ# 13696]
68416         * configure.in (use_nscd): New substituted variable, set by
68417         --disable-nscd.  If enabled, define USE_NSCD.
68418         * configure: Regenerated.
68419         * config.h.in: Add USE_NSCD.
68420         * config.make.in (use-nscd): New substituted variable.
68421         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68422         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
68423         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
68424         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
68425         (CFLAGS-getgrnam_r.c): Likewise.
68426         (CFLAGS-initgroups.c): Likewise.
68427         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
68428         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
68429         Variables removed.
68430         * inet/getnetgrent_r.c
68431         (nscd_setnetgrent): New function, broken out of ...
68432         (setnetgrent): ... here.  Call it.
68433         (innetgr): Conditionalize nscd bits on [USE_NSCD].
68434         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
68435         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
68436         * nscd/Makefile (routines, aux): Move definitions after include of
68437         Makeconfig.  Conditionalize on [$(use-nscd) != no].
68438         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
68439         Conditionalize on [USE_NSCD].
68440         (is_nscd, nscd_init_cb): Likewise.
68441         (nss_load_library): Conditionalize init callback on [USE_NSCD].
68442         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
68443         * nss/nss_db/db-init.c: Likewise.
68444         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
68445         [USE_NSCD].
68446         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
68447         (make_request): Use it.
68448         (cache_valid_p): New function.
68449         (__check_pf): Use it.
68450         * NEWS: Add item for --disable-nscd.
68452 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
68454         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
68455         to support sed >= 4.2.1-20-ga9bf076.
68456         * configure: Regenerated.
68458 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68460         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
68461         Conditionalize whole body on [IREL].
68463 2012-08-22  Jeff Law <law@redhat.com>
68465         [BZ #14505]
68466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
68467         if the family is PF_UNSPEC.
68469 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
68471         * Makerules (lib-version): Rename from V.
68472         (install-lib-nosubdir): Change V to lib-version.
68474 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
68476         [BZ #14252]
68477         * powerpc32/power6/wcschr.c: New file.
68478         * powerpc32/power6/wcscpy.c: New file.
68479         * powerpc32/power6/wcsrchr.c: New file.
68480         * powerpc64/power6/wcschr.c: New file.
68481         * powerpc64/power6/wcscpy.c: New file.
68482         * powerpc64/power6/wcsrchr.c: New file.
68484 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68486         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
68487         (two_way_short_needle): Use it.
68488         * string/strstr.c (AVAILABLE1_USES_J): Define.
68489         * string/strcasestr.c: Likewise.
68491         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
68492         array references.
68493         * string/strcasestr.c (TOLOWER): Make side-effect safe.
68495         [BZ #11607]
68496         * NEWS: Add an entry.
68497         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
68498         define their defaults.
68499         (two_way_short_needle): Detect end-of-string on-the-fly.
68500         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
68501         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
68502         * string/bug-strcasestr1.c: New test.
68503         * string/Makefile: Run it.
68505 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68507         [BZ #11607]
68508         * string/str-two-way.h (two_way_short_needle): Optimize matching of
68509         the first character.
68511 2012-08-21  Roland McGrath  <roland@hack.frob.com>
68513         * csu/elf-init.c (__libc_csu_irel): Function removed.
68514         * csu/libc-start.c (apply_irel): New function.
68515         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
68517 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
68519         * sysdeps/unix/sysv/linux/kernel-features.h
68520         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
68521         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68522         <kernel-features.h>.
68523         [__NR_fadvise64_64]: Make code unconditional.
68524         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
68525         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68526         !__NR_fadvise64_64)]: Likewise.
68527         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68528         !__NR_fadvise64_64))]: Likewise.
68529         [__NR_fadvise64]: Make code unconditional.
68530         [!__NR_fadvise64]: Remove conditional code.
68531         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
68532         <kernel-features.h>.
68533         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68534         unconditional.
68535         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68536         conditional code.
68537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
68538         not include <kernel-features.h>.
68539         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68540         unconditional.
68541         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68542         conditional code.
68543         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
68544         include <kernel-features.h>.
68545         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68546         unconditional.
68547         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68548         conditional code.
68550 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68552         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
68553         slight instruction rearrangements per scrollpipe analysis.
68554         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68556 2012-08-20  Roland McGrath  <roland@hack.frob.com>
68558         * manual/syslog.texi (syslog; vsyslog, closelog):
68559         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
68560         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
68562         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
68563         DSOCAPS to match condition on defining it.
68565 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
68567         * sysdeps/unix/sysv/linux/kernel-features.h
68568         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
68569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
68570         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68571         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
68573         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68574         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
68576         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68577         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68579         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
68580         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
68582         * sysdeps/unix/sysv/linux/kernel-features.h
68583         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
68584         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
68585         unconditional.
68586         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68587         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
68588         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68589         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68590         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
68591         Make code unconditional.
68592         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68593         (__mmap64) [!__NR_mmap2]: Likewise.
68594         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
68595         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68596         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68597         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
68598         [__NR_mmap2]: Make code unconditional.
68599         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68600         (__mmap64) [!__NR_mmap2]: Likewise.
68602 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68604         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
68606 2012-08-18  Andreas Jaeger  <aj@suse.de>
68608         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
68610 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
68612         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
68613         * include/unistd.h (__have_sock_cloexec): Likewise.
68614         (__have_pipe2): Likewise.
68615         (__have_dup3): Likewise.
68617 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
68619         [BZ #9685]
68620         * include/unistd.h (__have_pipe2): Change define into an extern int.
68621         (__have_dup3): Likewise.
68622         * socket/have_sock_cloexec.c: Include fcntl.h.
68623         (__have_pipe2): New variable.
68624         (__have_dup3): Likewise.
68626 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
68628         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
68630 2012-08-17  Marek Polacek  <polacek@redhat.com>
68632         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
68633         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
68635 2012-08-17  Roland McGrath  <roland@hack.frob.com>
68637         * configure.in: Add AC_SUBST for sysheaders.
68638         * configure: Regenerated.
68639         * config.make.in (sysheaders): New substituted variable.
68641         * sysdeps/unix/mkfifo.c: Moved ...
68642         * sysdeps/posix/mkfifo.c: ... here.
68643         * sysdeps/unix/mkfifoat.c: Moved ...
68644         * sysdeps/posix/mkfifoat.c: ... here.
68646         * sysdeps/unix/utime.c: Moved ...
68647         * sysdeps/posix/utime.c: ... here.
68649         * sysdeps/unix/time.c: Moved ...
68650         * sysdeps/posix/time.c: ... here.
68651         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
68652         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
68654         * sysdeps/unix/nice.c: Moved ...
68655         * sysdeps/posix/nice.c: ... here.
68657         * sysdeps/unix/alarm.c: Moved ...
68658         * sysdeps/posix/alarm.c: ... here.
68660         * intl/Makefile ($(codeset_mo)): Depend on the input file.
68662 2012-08-17  Jeff Law <law@redhat.com>
68664         * intl/Makefile (codeset_mo): New variable.
68665         ($(codeset_mo)): New target.
68666         (tst-codeset.out): Depend on that.  Remove explicit rule.
68667         (tst-gettext3.out, tst-gettext5.out): Likewise.
68668         (LOCPATH-ENV, tst-codeset-ENV): New variables.
68669         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
68670         * intl/tst-codeset.sh: Remove.
68671         * intl/tst-gettext3.sh: Likewise.
68672         * intl/tst-gettext5.sh: Likewise.
68674 2012-08-17  Roland McGrath  <roland@hack.frob.com>
68676         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
68677         * sysdeps/unix/syscalls.list: ... here.
68679         * sysdeps/posix/getaddrinfo.c
68680         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
68681         (gaiconf_init, gaiconf_reload): Use them.
68682         [!_STATBUF_ST_NSEC]
68683         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
68684         Define using time_t rather than struct timespec.
68686         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
68687         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
68688         Macros removed.
68689         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
68690         [!NO_THREADS].
68691         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
68692         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
68693         Likewise.
68695         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
68696         __libc_cleanup_push argument.
68698         * bits/param.h: New file.
68699         * misc/sys/param.h: New file.
68700         * include/sys/param.h: New file.
68701         * misc/Makefile (headers): Add bits/param.h.
68702         * sysdeps/generic/sys/param.h: File removed.
68703         * sysdeps/unix/sysv/linux/bits/param.h: New file.
68704         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
68705         * sysdeps/mach/hurd/bits/param.h: New file.
68706         * sysdeps/mach/hurd/sys/param.h: File removed.
68708         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
68709         last change.
68711         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
68712         [_IO_MTSAFE_IO].
68713         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
68714         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
68715         New macros.
68717         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
68718         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
68719         rather than -D_IO_MTSAFE_IO conditionally.
68720         * stdio-common/Makefile (CPPFLAGS): Likewise.
68721         * wcsmbs/Makefile (CPPFLAGS): Likewise.
68722         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
68723         Use $(libio-mtsafe).
68724         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
68725         of -D_IO_MTSAFE_IO.
68726         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
68727         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
68728         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
68729         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
68730         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
68731         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
68732         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
68733         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
68734         (CFLAGS-fread_u_chk.c): Likewise.
68735         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
68736         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
68737         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
68738         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
68739         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
68740         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
68741         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
68742         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
68743         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
68745         * libio/Makefile: Test [$(libc-reentrant) = yes]
68746         instead of [$(filter %REENTRANT, $(defines)) nonempty].
68748         * Makeconfig
68749         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
68750         * sysdeps/pthread/configure: File removed.
68751         * sysdeps/pthread/Makeconfig: New file.
68752         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
68753         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
68755 2012-08-16  Gary Benson  <gbenson@redhat.com>
68757         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
68758         unmapping the first object in a namespace.
68760 2012-08-16  Roland McGrath  <roland@hack.frob.com>
68762         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
68763         (__internal_setnetgrent): ... this.  Add internal_function to
68764         definition.  Add libc_hidden_def.
68765         (setnetgrent): Update caller.
68766         (internal_endnetgrent): Renamed to ...
68767         (__internal_endnetgrent): ... this.  Add internal_function to
68768         definition.  Add libc_hidden_def.
68769         (endnetgrent): Update caller.
68770         (internal_getnetgrent_r): Renamed to ...
68771         (__internal_getnetgrent_r): ... this.  Add internal_function to
68772         definition.  Add libc_hidden_def.
68773         (__getnetgrent_r): Update caller.
68774         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
68776 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
68778         * stdlib/longlong.h: Update from GCC.
68780 2012-08-16  Roland McGrath  <roland@hack.frob.com>
68782         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
68783         on _QL, which is set by umul_ppmm but never used.
68784         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
68785         variables, which are set by GMP macros but never used.
68786         * stdio-common/_itowa.c (_itowa): Likewise.
68787         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
68788         * stdlib/mod_1.c (mpn_mod_1): Likewise.
68790 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
68792         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
68793         struct La_sh_regs is not constant.
68794         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
68795         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
68796         and struct La_sparc64_regs are not constant.
68798 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
68800         * sysdeps/unix/sysv/linux/kernel-features.h
68801         (__ASSUME_POSIX_TIMERS): Remove.
68802         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68803         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68804         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
68805         Make code unconditional.
68806         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68807         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
68808         Make code unconditional.
68809         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68810         * sysdeps/unix/sysv/linux/clock_nanosleep.c
68811         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
68812         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68813         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
68814         Make code unconditional.
68815         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68816         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
68817         (__libc_missing_posix_timers): Remove.
68819 2012-08-15  Roland McGrath  <roland@hack.frob.com>
68821         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
68822         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
68824         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
68826         * elf/dl-sym.c: Include <stdlib.h>.
68828         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
68829         constants, which avoids warnings in 32-bit builds.
68831         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
68832         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
68834         * misc/lseek.c: File moved to ...
68835         * io/lseek.c: ... here.
68837         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
68839         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
68840         shifting LEN more than 31 bits at once.
68842 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68844         [BZ #14195]
68845         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
68846         segmentation fault for a case of two empty input strings.
68847         * string/test-strncasecmp.c (check1): Renamed to...
68848         (bz12205): ...this.
68849         (bz14195): Add new testcase for two empty input strings and N > 0.
68850         (test_main): Call new testcase, adapt for renamed function.
68852 2012-08-15  Andreas Jaeger  <aj@suse.de>
68854         [BZ #14090]
68855         * crypt/md5test2.c: New test, based on test supplied by Serge
68856         Belyshev <belyshev@depni.sinp.msu.ru>.
68857         * crypt/Makefile (xtests): Add md5test-giant..
68858         * crypt/Makefile ($(objpfx)md5test-giant): Add.
68860 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
68862         [BZ #14090]
68863         * crypt/md5.c (md5_process_block): Don't assume the buffer
68864         length is less than 2**32.
68865         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
68866         length is less than 2**64.
68868 2012-08-15  Roland McGrath  <roland@hack.frob.com>
68870         * string/str-two-way.h: Include <sys/param.h>.
68871         (MAX): Macro removed.
68873         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
68874         Move #define and #undef of memmove to just before and after
68875         including <string.h>.
68877         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
68878         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
68879         and after including <string.h>.  Move declarations of
68880         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
68881         to before #include "string/memmove.c".
68883         * include/dirent.h: Declare __getdirentries.
68885         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
68886         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
68888 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
68890         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
68891         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
68892         * sysdeps/i386/configure: Regenerated.
68893         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
68894         STABS_CURRENT_FILE, and STABS_FUN.
68895         (END): Remove call to STABS_FUN_END.
68896         (STABS_CURRENT_FILE1): Delete.
68897         (STABS_CURRENT_FILE): Likewise.
68898         (STABS_FUN): Likewise.
68899         (STABS_FUN_END): Likewise.
68900         (STABS_FUN2): Likewise.
68901         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
68902         * sysdeps/x86_64/configure: Regenerated.
68904 2012-08-14  Roland McGrath  <roland@hack.frob.com>
68906         * elf/dl-open.c: Include <atomic.h>.
68907         * elf/dl-lookup.c: Likewise.
68909 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
68911         * sysdeps/unix/sysv/linux/kernel-features.h
68912         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
68913         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
68914         unconditionally.
68915         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
68916         unconditionally.
68917         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
68918         condition on __ASSUME_CLONE_THREAD_FLAGS.
68920 2012-08-14  Andreas Jaeger  <aj@suse.de>
68922         * sysdeps/i386/fpu/libm-test-ulps: Update.
68924 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
68926         * include/atomic.h (atomic_exchange_and_add): Split into ...
68927         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
68928         New atomic macros.
68930 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
68932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68934 2012-08-13  Jeff Law <law@redhat.com>
68936         * manual/stdio.texi (snprintf): Clarify handling of the trailing
68937         null byte in the output string.
68939 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
68941         * sysdeps/unix/sysv/linux/kernel-features.h
68942         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
68943         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
68944         (__ASSUME_ARG_MAX_STACK_BASED): Define.
68945         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
68946         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
68947         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
68948         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
68950 2012-08-09  Jeff Law <law@redhat.com>
68952         [BZ #13939]
68953         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
68954         When avoid_arena is set, don't retry in the that arena.  Pick the
68955         next one, whatever it might be.
68956         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
68957         (arena_lock): Pass in new parameter to arena_get2.
68958         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
68959         arena_get2.
68960         (__libc_malloc): Unify retrying after main arena failure with
68961         __libc_memalign version.
68962         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
68964 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
68966         [BZ #14166]
68967         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
68968         to __redirect_strstr.
68969         (__strstr_sse42): Use typeof __redirect_strstr.
68970         (__strstr_ia32): Likewise.
68971         (__libc_strstr): New prototype.
68972         (strstr): Renamed to ...
68973         (__libc_strstr): This.
68974         (strstr): New strong alias of __libc_strstr.
68975         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68976         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
68977         __redirect_time.
68978         Include <time.h>.
68979         (__libc_time): New prototype.
68980         (time_ifunc): Replace time with __libc_time.
68981         (time): New strong alias and hidden definition of __libc_time.
68982         (__GI_time): Remove strong alias.
68983         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
68984         Include <stddef.h>.
68985         (memmove): Redefined to __redirect_memmove.
68986         (__memmove_sse2): Use typeof __redirect_memmove.
68987         (__memmove_ssse3): Likewise.
68988         (__memmove_ssse3_back): Likewise.
68989         (__libc_memmove): New prototype.
68990         (memmove): Renamed to ...
68991         (__libc_memmove): This.
68992         (memmove): New strong alias of __libc_memmove.
68994 2012-08-08  Mark Salter  <msalter@redhat.com>
68996         * elf/elf.h
68997         (R_MN10300_TLS_GD): Define.
68998         (R_MN10300_TLS_LD): Likewise.
68999         (R_MN10300_TLS_LDO): Likewise.
69000         (R_MN10300_TLS_GOTIE): Likewise.
69001         (R_MN10300_TLS_IE): Likewise.
69002         (R_MN10300_TLS_LE): Likewise.
69003         (R_MN10300_TLS_DTPMOD): Likewise.
69004         (R_MN10300_TLS_DTPOFF): Likewise.
69005         (R_MN10300_TLS_TPOFF): Likewise.
69006         (R_MN10300_SYM_DIFF): Likewise.
69007         (R_MN10300_ALIGN): Likewise.
69008         (R_MN10300_NUM): Update.
69010 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69013         Remove.
69015 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69017         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69019         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69020         sysdeps/unix -> sysdeps/posix move.
69021         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69023 2012-08-07      Allan McRae     <allan@archlinux.org>
69025         [BZ #14303]
69026         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69027         (SUNOS_CPP): Likewise.
69028         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69029         not found.
69030         (open_input): Call CPP using execvp.
69032 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69034         * sysdeps/unix/sysv/linux/kernel-features.h
69035         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69036         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69037         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69038         (__ASSUME_WAITID_SYSCALL): Likewise.
69039         * sysdeps/unix/sysv/linux/dl-execstack.c
69040         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69041         code unconditional.
69042         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69043         conditional code.
69044         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69045         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69046         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69047         code.
69048         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69049         unconditional.
69050         [__ASSUME_WAITID_SYSCALL]: Likewise.
69051         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69053 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69055         * sysdeps/unix/closedir.c: Renamed to ...
69056         * sysdeps/posix/closedir.c: ... here.
69057         * sysdeps/unix/dirfd.c: Renamed to ...
69058         * sysdeps/posix/dirfd.c: ... here.
69059         * sysdeps/unix/dirstream.h: Renamed to ...
69060         * sysdeps/posix/dirstream.h: ... here.
69061         * sysdeps/unix/fdopendir.c: Renamed to ...
69062         * sysdeps/posix/fdopendir.c: ... here.
69063         * sysdeps/unix/opendir.c: Renamed to ...
69064         * sysdeps/posix/opendir.c: ... here.
69065         * sysdeps/unix/readdir.c: Renamed to ...
69066         * sysdeps/posix/readdir.c: ... here.
69067         * sysdeps/unix/readdir_r.c: Renamed to ...
69068         * sysdeps/posix/readdir_r.c: ... here.
69069         * sysdeps/unix/rewinddir.c: Renamed to ...
69070         * sysdeps/posix/rewinddir.c: ... here.
69071         * sysdeps/unix/seekdir.c: Renamed to ...
69072         * sysdeps/posix/seekdir.c: ... here.
69073         * sysdeps/unix/telldir.c: Renamed to ...
69074         * sysdeps/posix/telldir.c: ... here.
69075         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69076         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69077         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69078         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69080         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69081         * bits/fcntl.h: ... here.
69083         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69084         not 0.
69085         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69086         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69087         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69088         (struct flock): Move l_start, l_len to the beginning.
69089         Use __pid_t for l_pid.
69090         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69091         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69092         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69093         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69094         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69095         [__USE_LARGEFILE64] (struct flock64): New type.
69096         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69098         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69099         * bits/dirent.h: ... here.
69101         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69102         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69104 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69106         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69107         Change from 2.6.0 to 2.6.16.
69108         * sysdeps/unix/sysv/linux/configure: Regenerated.
69109         * sysdeps/unix/sysv/linux/kernel-features.h
69110         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69111         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69112         version.
69113         (__ASSUME_UTIMES): Likewise.
69114         (__ASSUME_CLONE_STOPPED): Remove.
69115         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69116         architectures, not kernel version.
69117         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69118         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69119         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69120         (__ASSUME_WAITID_SYSCALL): Likewise.
69121         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69122         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69123         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69124         refer to older versions.
69126 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69128         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69129         Define alphasort64 as an alias.
69130         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69131         Define versionsort64 as an alias.
69132         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69133         Define scandir64 as an alias.
69134         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69135         Define scandirat64 as an alias.
69136         * dirent/alphasort64.c (alphasort64):
69137         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69138         * dirent/versionsort64.c: Likewise.
69139         * dirent/scandir64.c: Likewise.
69140         * dirent/scandirat64.c: Likewise.
69141         * sysdeps/wordsize-64/alphasort.c: File removed.
69142         * sysdeps/wordsize-64/alphasort64.c: File removed.
69143         * sysdeps/wordsize-64/scandir.c: File removed.
69144         * sysdeps/wordsize-64/scandir64.c: File removed.
69145         * sysdeps/wordsize-64/scandirat.c: File removed.
69146         * sysdeps/wordsize-64/scandirat64.c: File removed.
69147         * sysdeps/wordsize-64/versionsort.c: File removed.
69148         * sysdeps/wordsize-64/versionsort64.c: File removed.
69149         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69150         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69151         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69152         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69153         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69154         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69155         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69156         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69158         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69159         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69160         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69161         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69162         [defined __arch64__ || defined __sparcv9]
69163         (__INO_T_MATCHES_INO64_T): New macro.
69164         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69165         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69166         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69167         * sysdeps/unix/sysv/linux/bits/dirent.h
69168         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69169         (_DIRENT_MATCHES_DIRENT64): New macro.
69171         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69172         Define lockf64 as an alias.
69173         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69174         Define fseeko64 as an alias.
69175         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69176         Define ftello64 as an alias.
69177         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69178         Define _IO_fgetpos64 and fgetpos64 as aliases.
69179         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69180         Define _IO_fsetpos64 and fsetpos64 as aliases.
69181         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69182         Conditionalize body on this.
69183         * libio/fseeko64.c: Likewise.
69184         * libio/ftello64.c: Likewise.
69185         * libio/iofgetpos64.c: Likewise.
69186         * libio/iofsetpos64.c: Likewise.
69187         * sysdeps/wordsize-64/lockf.c: File removed.
69188         * sysdeps/wordsize-64/lockf64.c: File removed.
69189         * sysdeps/wordsize-64/fseeko.c: File removed.
69190         * sysdeps/wordsize-64/fseeko64.c: File removed.
69191         * sysdeps/wordsize-64/ftello.c: File removed.
69192         * sysdeps/wordsize-64/ftello64.c: File removed.
69193         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69194         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69195         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69196         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69197         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69198         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69199         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69200         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69201         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69202         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69203         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69204         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69205         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69206         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69208         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69209         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69210         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69212         [defined __arch64__ || defined __sparcv9]
69213         (__OFF_T_MATCHES_OFF64_T): New macro.
69214         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69215         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69216         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69217         (__OFF_T_MATCHES_OFF64_T): New macro.
69219 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69221         * stdlib/secure-getenv.c (__secure_getenv): Replace
69222         GLIBC_2_16 with GLIBC_2_17.
69224 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69227         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69229 2012-08-03  David S. Miller  <davem@davemloft.net>
69231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69233 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69235         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69236         Remove.
69237         (__ASSUME_CORRECT_SI_PID): Likewise.
69238         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69239         (__ASSUME_TMPFS_NAME): Likewise.
69240         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69241         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69242         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69243         (HAVE_AUX_SECURE): Make definition unconditional.
69244         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69245         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69247 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69249         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69250         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69251         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69252         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69253         __eloop_threshold instead of SYMLOOP_MAX.
69255         * sysdeps/generic/eloop-threshold.h: New file.
69256         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69257         of MAXSYMLINKS.
69258         * elf/chroot_canon.c (chroot_canon): Likewise.
69260 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69262         [BZ #13717]
69263         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69264         Change to 2.6.0 everywhere.
69265         * sysdeps/unix/sysv/linux/configure: Regenerated.
69266         * sysdeps/unix/sysv/linux/kernel-features.h
69267         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69268         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69269         kernel versions.
69270         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69271         (__ASSUME_FUTEX_REQUEUE): Remove.
69272         (__ASSUME_STATFS64): Define unconditionally.
69273         (__ASSUME_AT_SECURE): Likewise.
69274         (__ASSUME_CORRECT_SI_PID): Likewise.
69275         (__ASSUME_TGKILL): Define without depending on kernel version for
69276         i386.
69277         (__ASSUME_UTIMES): Likewise.
69278         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69279         kernel version.
69280         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69281         (__ASSUME_TMPFS_NAME): Likewise.
69282         * README: Update reference to Linux kernel versions.
69284 2012-08-02  Marek Polacek  <polacek@redhat.com>
69286         [BZ# 14150]
69287         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69288         libc_cv_asm_type_prefix with %.
69289         * configure: Regenerated.
69290         * include/libc-symbols.h: Remove comment about
69291         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69292         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69293         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69294         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69295         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69296         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69297         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69298         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69299         * elf/tst-unique2mod1.c: Likewise.
69300         * elf/tst-unique1mod2.c: Likewise.
69301         * elf/tst-unique1mod1.c: Likewise.
69302         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69303         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69304         Replace ASM_TYPE_DIRECTIVE with .type.
69305         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69306         * sysdeps/i386/sysdep.h: Likewise.
69307         * sysdeps/x86_64/sysdep.h: Likewise.
69308         * sysdeps/sh/sysdep.h: Likewise.
69309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69310         Do not define ASM_TYPE_DIRECTIVE.
69311         * sysdeps/powerpc/sysdep.h: Likewise.
69312         * sysdeps/powerpc/powerpc32/sysdep.h:
69313         Replace ASM_TYPE_DIRECTIVE with .type.
69314         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69315         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69316         * sysdeps/i386/fpu/e_powf.S: Likewise.
69317         * sysdeps/i386/fpu/e_expl.S: Likewise.
69318         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69319         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69320         * sysdeps/i386/fpu/e_pow.S: Likewise.
69321         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69322         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69323         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69324         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69325         * sysdeps/i386/fpu/e_log2.S: Likewise.
69326         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69327         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69328         * sysdeps/i386/fpu/e_powl.S: Likewise.
69329         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69330         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69331         * sysdeps/i386/fpu/e_logl.S: Likewise.
69332         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69333         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69334         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69335         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69336         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69337         * sysdeps/i386/fpu/e_log.S: Likewise.
69338         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69339         * sysdeps/i386/fpu/e_logf.S: Likewise.
69340         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69341         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69342         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69343         * sysdeps/i386/fpu/e_log10.S: Likewise.
69344         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69345         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69346         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69347         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69348         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69349         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69350         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69351         * sysdeps/i386/i686/strtok.S: Likewise.
69352         * sysdeps/i386/i386-mcount.S: Likewise.
69353         * sysdeps/i386/strtok.S: Likewise.
69354         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69355         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69356         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69357         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69358         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69359         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69360         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69361         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69362         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69363         * sysdeps/x86_64/_mcount.S: Likewise.
69364         * sysdeps/x86_64/strtok.S: Likewise.
69365         * sysdeps/sh/_mcount.S: Likewise.
69367 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69369         * libio/iofopen.c: Include <fcntl.h>.
69370         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
69371         (_IO_fopen64, fopen64): Define as aliases.
69372         * libio/iofopen64.c: Include <fcntl.h>.
69373         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
69374         Conditionalize body on this.
69375         * sysdeps/wordsize-64/iofopen.c: File removed.
69376         * sysdeps/wordsize-64/iofopen64.c: File removed.
69378 2012-08-01  Marek Polacek  <polacek@redhat.com>
69380         * libc/Makeconfig: Use elf in place of binfmt-subdir.
69381         Use dlfcn directly instead of a variable.
69382         (binfmt-subdir): Do not define.
69383         (dlfcn): Likewise.
69385 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
69387         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
69388         Remove all definitions.
69389         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
69390         <kernel-features.h>.
69391         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69392         (miss_F_GETOWN_EX): Remove all definitions.
69393         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
69394         macro definition.
69395         [!__ASSUME_FCNTL64]: Remove conditional code.
69396         [__ASSUME_FCNTL64]: Make code unconditional.
69397         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
69398         <kernel-features.h>.
69399         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69400         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
69401         (lockf64) [__NR_fcntl64]: Make code unconditional.
69402         (lockf64) [__ASSUME_FCNTL64]: Likewise.
69404         * sysdeps/unix/sysv/linux/kernel-features.h
69405         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
69406         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
69407         Make code unconditional.
69408         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69409         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
69411         [__NR_vfork]: Make code unconditional.
69412         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69413         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
69415         [__NR_vfork]: Make code unconditional.
69416         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69417         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69419 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69421         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
69422         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
69424         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69425         Define mkstemp64 as an alias.
69426         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69427         Define mkstemps64 as an alias.
69428         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69429         Define mkostemp64 as an alias.
69430         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69431         Define mkostemps64 as an alias.
69432         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
69433         Conditionalize body on this.
69434         * misc/mkostemp64.c: Likewise.
69435         * misc/mkostemps64.c: Likewise.
69436         * misc/mkstemps64.c: Likewise.
69437         * sysdeps/wordsize-64/mkstemp64.c: File removed.
69438         * sysdeps/wordsize-64/mkostemp64.c: File removed.
69439         * sysdeps/wordsize-64/mkostemp.c: File removed.
69440         * sysdeps/wordsize-64/mkstemp.c: File removed.
69441         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
69442         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
69443         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
69444         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
69446         [BZ #14138]
69447         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
69448         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
69449         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
69450         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
69452         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69453         compat_symbol macros from <shlib-compat.h> rather than the underlying
69454         default_symbol_version and symbol_version macros, so that DEFAULT
69455         lines in shlib-versions are respected.
69456         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
69458 2012-08-01  Florian Weimer  <fweimer@redhat.com>
69460         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
69461         Declare with warn_unused_result.
69462         (setgid, setregid, setegid, setresgid): Likewise.
69463         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
69464         Likewise.
69465         * WUR-REPORT: Remove set*id functions.
69467 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
69469         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
69471 2012-07-31  Roland McGrath  <roland@hack.frob.com>
69473         [BZ #10191]
69474         * include/sys/socket.h (__libc_accept, __libc_accept4):
69475         Add attribute_hidden.
69476         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
69478         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
69479         use of PTR_MANGLE.
69480         * inet/getnetgrent_r.c (setup): Likewise.
69482         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
69484 2012-07-31  David S. Miller  <davem@davemloft.net>
69486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69488 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
69490         [BZ #13629]
69491         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
69492         value between 1.0 and 2.0 and smaller part has absolute value less
69493         than 1.0.
69494         * math/s_clog10.c (__clog10): Likewise.
69495         * math/s_clog10f.c (__clog10f): Likewise.
69496         * math/s_clog10l.c (__clog10l): Likewise.
69497         * math/s_clogf.c (__clogf): Likewise.
69498         * math/s_clogl.c (__clogl): Likewise.
69499         * math/libm-test.inc (clog_test): Add more tests.
69500         (clog10_test): Likewise.
69501         * sysdeps/i386/fpu/libm-test-ulps: Update.
69502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69504 2012-07-31  Florian Weimer  <fweimer@redhat.com>
69506         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
69507         Exit with zero in case no suitable GID is found, and write a
69508         message to standard error.
69510 2012-07-30  Roland McGrath  <roland@hack.frob.com>
69512         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
69513         rather than to 1.
69514         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
69515         (MAXPATHLEN): Removed.
69516         (NOGROUP, NODEV): New macros.
69517         (setbit, clrbit, isset, isclr): New macros.
69518         (howmany, roundup, powerof2): New macros.
69519         (DEV_BSIZE): New macro.
69521         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
69522         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
69524         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
69525         definition on [!__NO_LONG_DOUBLE_MATH].
69527         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
69528         PTR_MANGLE and PTR_DEMANGLE.
69530         * socket/accept4.c (accept4): Rename to __libc_accept4.
69531         Define accept4 as a weak alias.
69533         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
69534         on [_DIRENT_HAVE_D_TYPE].
69535         * io/ftw.c (ftw_dir): Likewise.
69537         * io/xmknod.c (__xmknod): Don't check PATH for being null.
69539         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
69541         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
69542         Use the BSD numbers rather than the arbitrary ones we had.
69543         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
69544         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
69545         (SIGXCPU, SIGXFSZ): New macros.
69546         (_NSIG): Now 32.
69548         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
69549         initializer on [_LIBC_REENTRANT].
69551         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
69552         definitions inside [_POSIX_MAPPED_FILES].
69554         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
69556         * dirent/opendir.c: Include <fcntl.h>.
69558         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
69559         (__libc_getspecific): Likewise.
69560         (__libc_key_create): Likewise.
69562         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
69563         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
69564         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
69565         (tmpfile64): Define as alias.
69566         * sysdeps/wordsize-64/tmpfile.c: File removed.
69567         * sysdeps/wordsize-64/tmpfile64.c: File removed.
69568         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
69569         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
69571         * stdio-common/vfscanf.c: Include <stdbool.h>.
69572         * nss/makedb.c: Likewise.
69573         * stdio-common/_i18n_number.h: Likewise.
69574         * argp/argp-help.c: Likewise.
69575         * posix/wordexp.c: Likewise.
69576         * sysdeps/posix/spawni.c: Likewise.
69577         * nss/nss_files/files-initgroups.c: Likewise.
69578         * stdio-common/reg-modifier.c: Include <stdlib.h>.
69579         * nss/nss_files/files-initgroups.c: Likewise.
69580         * nss/nss_db/db-netgrp.c: Likewise.
69581         * nss/nss_db/db-initgroups.c: Likewise.
69582         * io/fchmodat.c: Include <sys/stat.h>.
69584         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
69585         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
69587         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
69588         [HAVE_MMAP].
69590         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
69591         Add multiple inclusion protection.
69593 2012-07-27  David S. Miller  <davem@davemloft.net>
69595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69597 2012-07-27  Gary Benson  <gbenson@redhat.com>
69599         [BZ #14298]
69600         * elf/rtld.c: Include <stap-probe.h>.
69601         (dl_main): Added static probes "init_start" and "init_complete".
69602         * elf/dl-load.c: Include <stap-probe.h>.
69603         (lose): Take new parameter "nsid".
69604         Added static probe "map_failed".
69605         (_dl_map_object_from_fd): Pass namespace id to lose.
69606         Added static probe "map_start".
69607         (open_verify): Pass namespace id to lose.
69608         * elf/dl-open.c: Include <stap-probe.h>.
69609         (dl_open_worker) Added static probes "map_complete", "reloc_start"
69610         and "reloc_complete".
69611         * elf/dl-close.c: Include <stap-probe.h>.
69612         (_dl_close_worker): Added static probes "unmap_start" and
69613         "unmap_complete".
69614         * elf/rtld-debugger-interface.txt: New file documenting the above.
69616 2012-07-26  Roland McGrath  <roland@hack.frob.com>
69618         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
69619         rather than a string variable.
69620         * sunrpc/rpc_main.c (h_output): Likewise.
69621         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
69623 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
69625         * inet/check_native.c: New file.
69627 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
69629         [BZ #13629]
69630         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
69631         if larger part has absolute value 1.0.
69632         * math/s_clog10.c (__clog10): Likewise.
69633         * math/s_clog10f.c (__clog10f): Likewise.
69634         * math/s_clog10l.c (__clog10l): Likewise.
69635         * math/s_clogf.c (__clogf): Likewise.
69636         * math/s_clogl.c (__clogl): Likewise.
69637         * math/libm-test.inc (clog_test): Add more tests.
69638         (clog10_test): Likewise.
69639         * sysdeps/i386/fpu/libm-test-ulps: Update.
69640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69642         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
69643         (pltexit): Likewise.
69644         (La_regs): Likewise.
69645         (La_retval): Likewise.
69646         (int_retval): Likewise.
69647         Update #error for removed macros to refer only to definitions in
69648         tst-audit.h.
69649         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
69650         macro.
69651         (pltexit): Likewise.
69652         (La_regs): Likewise.
69653         (La_retval): Likewise.
69654         (int_retval): Likewise.
69655         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
69656         macro.
69657         (pltexit): Likewise.
69658         (La_regs): Likewise.
69659         (La_retval): Likewise.
69660         (int_retval): Likewise.
69661         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
69662         macro.
69663         (pltexit): Likewise.
69664         (La_regs): Likewise.
69665         (La_retval): Likewise.
69666         (int_retval): Likewise.
69667         * elf/tst-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
69680         macro.
69681         (pltexit): Likewise.
69682         (La_regs): Likewise.
69683         (La_retval): Likewise.
69684         (int_retval): Likewise.
69685         * sysdeps/generic/tst-audit.h: Update comment to refer only to
69686         macro definitions in tst-audit.h.
69687         * sysdeps/i386/tst-audit.h: New file.
69688         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
69689         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
69690         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
69691         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
69692         * sysdeps/sh/tst-audit.h: Likewise.
69693         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
69694         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
69695         * sysdeps/x86_64/tst-audit.h: Likewise.
69697 2012-07-26  Andreas Jaeger  <aj@suse.de>
69699         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
69700         ptrace.
69702         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
69703         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
69704         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
69705         PTRACE_O_MASK.
69706         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
69707         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
69708         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
69710         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
69711         value.
69713         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
69714         _sigsys.
69715         (si_call_addr, si_syscall, si_arch): Define new macro.
69716         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
69717         _sigsys.
69718         (si_call_addr, si_syscall, si_arch): Define new marcro.
69719         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
69720         _sigsys.
69721         (si_call_addr, si_syscall, si_arch): Define new macro.
69722         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
69723         _sigsys.
69724         (si_call_addr, si_syscall, si_arch): Define new macro.
69726 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
69728         [BZ #13717]
69729         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69730         Change to 2.4.21 where previously 2.4.1.
69731         * sysdeps/unix/sysv/linux/configure: Regenerated.
69732         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
69733         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
69734         Linux kernel version.
69735         (__ASSUME_STD_AUXV): Remove.
69736         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
69737         kernel version.
69738         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
69739         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
69740         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
69741         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
69742         (__ASSUME_NETLINK_SUPPORT): Likewise.
69743         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
69744         (__no_netlink_support): Remove conditional definition.
69745         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
69746         Remove.
69747         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
69748         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
69749         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
69750         (if_nameindex_ioctl): Remove.
69751         (if_nameindex_netlink): Do not handle __no_netlink_support.
69752         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
69753         code.
69754         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
69755         Remove conditional code.
69756         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
69757         code.
69758         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
69759         unconditional.
69760         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
69761         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
69762         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
69763         Remove.
69764         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
69765         [!__ASSUME_STD_AUXV]: Remove conditional code.
69766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
69767         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
69768         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
69769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
69770         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
69771         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
69772         code.
69773         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
69774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
69775         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
69776         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
69777         conditional code.
69778         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
69779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
69780         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
69781         code.
69782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
69783         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
69784         conditional code.
69785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
69786         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69787         code unconditional.
69788         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69789         conditional code.
69790         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69791         unconditional.
69792         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69793         conditional code.
69794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69795         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69796         unconditional.
69797         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69798         conditional code.
69799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
69800         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69801         code unconditional.
69802         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69803         conditional code.
69804         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69805         unconditional.
69806         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69807         conditional code.
69808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
69809         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69810         code unconditional.
69811         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69812         conditional code.
69813         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69814         unconditional.
69815         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69816         conditional code.
69818 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
69820         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
69821         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
69822         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
69823         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
69824         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
69825         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
69826         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
69827         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
69828         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
69829         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
69830         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
69831         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
69832         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
69833         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
69834         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
69835         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
69836         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
69837         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
69838         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
69839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
69840         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
69841         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
69842         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69844 2012-07-25  Florian Weimer  <fweimer@redhat.com>
69846         * Versions.def: Add GLIBC_2.17.
69847         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
69848         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
69849         Introduce __libc_secure_getenv.
69850         * stdlib/Versions (2.17): Add secure_getenv
69851         (GLIBC_PRIVATE): Add __libc_secure_getenv.
69852         * stdlib/secure-getenv.c: Rename __secure_getenv to
69853         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
69854         symbol __secure_getenv for GLIBC_2.0.
69855         * stdlib/tst-secure-getenv.c: New.
69856         * stdlib/Makefile (tests): Add testcase.
69857         * manual/startup.texi (Environment Access): Document
69858         secure_getenv.
69859         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
69860         __libc_secure_getenv.
69861         * inet/ruserpass.c (ruserpass): Likewise.
69862         * malloc/mtrace.c (mtrace): Likewise.
69863         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
69864         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
69865         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
69866         * sysdeps/posix/tempname.c: Likewise.  Evaluate
69867         HAVE_SECURE_GETENV.
69868         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
69869         __secure_getenv to __libc_secure_getenv.
69870         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
69871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69872         Likewise.
69873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69874         Likewise.
69875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69883 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
69885         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69886         (struct La_i86_retval): Likewise.
69887         (struct La_x86_64_regs): Likewise.
69888         (struct La_x86_64_retval): Likewise.
69889         (struct La_x32_regs): Likewise.
69890         (struct La_x32_retval): Likewise.
69891         (struct La_ppc32_regs): Likewise.
69892         (struct La_ppc32_retval): Likewise.
69893         (struct La_ppc64_regs): Likewise.
69894         (struct La_ppc64_retval): Likewise.
69895         (struct La_sh_regs): Likewise.
69896         (struct La_sh_retval): Likewise.
69897         (struct La_s390_32_regs): Likewise.
69898         (struct La_s390_32_retval): Likewise.
69899         (struct La_s390_64_regs): Likewise.
69900         (struct La_s390_64_retval): Likewise.
69901         (struct La_sparc32_regs): Likewise.
69902         (struct La_sparc32_retval): Likewise.
69903         (struct La_sparc64_regs): Likewise.
69904         (struct La_sparc64_retval): Likewise.
69905         (struct audit_ifaces): Remove architecture-specific pltenter and
69906         pltexit members.
69907         * sysdeps/i386/ldsodefs.h: New file.
69908         * sysdeps/powerpc/ldsodefs.h: Likewise.
69909         * sysdeps/s390/ldsodefs.h: Likewise.
69910         * sysdeps/sh/ldsodefs.h: Likewise.
69911         * sysdeps/sparc/ldsodefs.h: Likewise.
69912         * sysdeps/x86_64/ldsodefs.h: Likewise.
69914 2012-07-25  Marek Polacek  <polacek@redhat.com>
69916         [BZ #6808]
69917         * math/libm-test.inc (yn_test): Add another test.
69918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
69919         to ERANGE when the result is +-Inf.
69920         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
69921         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
69922         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
69923         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
69925 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
69927         * conform/data/time.h-data (NULL): Use macro-constant.  Require
69928         equal to 0.
69929         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
69930         clock_t.
69931         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
69933 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
69935         * configure.in <sysdeps resolving>: Correct printing
69936         Implies_before.
69937         * configure: Regenerate.
69939 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
69941         * math/w_ilogb.c: Include <limits.h>.
69942         * math/w_ilogbl.c: Likewise.
69944 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
69946         * manual/lang.texi (__va_copy): Document primarily as ISO C99
69947         va_copy.  Document allowing for unavailable va_copy only as
69948         pre-C99 compatibility.
69949         * manual/string.texi (Copying and Concatenation): Use va_copy
69950         instead of __va_copy in concat example.
69952 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
69954         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
69955         (__sendto): Use create_address_port.  Initialize APORT and deallocate
69956         it if not null.
69958         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
69959         with O_NOLINK passed to __file_name_lookup.
69961         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
69962         with O_NOLINK passed to __file_name_lookup.
69964         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
69965         negative N or less than NGIDS.
69967         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
69968         type to string_t.  Set ERANGE as errno and return it if NAME is not big
69969         enough.  Use memcpy instead of strncpy.
69971 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
69973         * elf/Makefile (check-data): Remove.
69974         (localplt.data): New vpath directive.
69975         ($(objpfx)check-localplt.out): Use localplt.data from vpath
69976         instead of $(check-data).
69977         * scripts/data/localplt-generic.data: Move to ...
69978         * sysdeps/generic/localplt.data: ... here.
69979         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
69980         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
69981         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
69982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
69983         ... here.
69984         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
69985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
69986         ... here.
69987         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
69988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
69989         ... here.
69990         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
69991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
69992         ... here.
69993         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
69994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
69995         ... here.
69996         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
69997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
69998         ... here.
70000 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70002         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70003         PPC32 and PPC64 files.
70004         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70005         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70007 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70009         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70010         __makecontext_ret to ...
70011         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70012         ... here and call exit if uc_link is NULL.  New file.
70013         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70014         __makecontext_ret.S.
70015         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70016         __makecontext_ret to ...
70017         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70018         ... here and call exit if uc_link is NULL.  New file.
70019         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70020         __makecontext_ret.S.
70022 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70024         * elf/elf.h (R_390_IRELATIVE): New definition.
70025         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70026         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70027         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70028         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70029         (elf_machine_lazy_rel): Likewise.
70030         * sysdeps/s390/dl-irel.h: New file.
70031         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70032         * sysdeps/s390/s390-64/memset.S: New asm code.
70033         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70034         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70035         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70036         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70037         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70038         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70039         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70040         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70041         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70042         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70043         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70044         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70045         * sysdeps/s390/s390-32/memset.S: New asm code.
70046         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70048 2012-07-17  Marek Polacek  <polacek@redhat.com>
70050         [BZ #14349]
70051         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70052         * sysdeps/s390/s390-64/configure.in: Likewise.
70053         * sysdeps/sparc/configure.in: Likewise.
70054         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70055         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70056         * sysdeps/i386/configure.in: Likewise.
70057         * sysdeps/x86_64/configure.in: Likewise.
70058         * sysdeps/sh/configure.in: Likewise.
70059         * sysdeps/s390/s390-32/configure: Regenerated.
70060         * sysdeps/s390/s390-64/configure: Likewise.
70061         * sysdeps/x86_64/configure: Likewise.
70062         * sysdeps/sh/configure: Likewise.
70063         * sysdeps/powerpc/powerpc64/configure: Likewise.
70064         * sysdeps/powerpc/powerpc32/configure: Likewise.
70065         * sysdeps/sparc/configure: Likewise.
70066         * sysdeps/i386/configure: Likewise.
70068         * elf/dl-open.c: Comment fixes.
70070 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70072         * Makefile [CXX] (check-data): Remove.
70073         [CXX] (c++-types.data): New vpath directive.
70074         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70075         vpath.  Do not allow for C++ type data being missing.
70076         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70077         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70078         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70079         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70080         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70081         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70082         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70084         ... here.
70085         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70087         ... here.
70088         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70090         ... here.
70091         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70093         ... here.
70094         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70096         ... here.
70097         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70099         ... here.
70100         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70102         ... here.
70103         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70106         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70107         definitions to architecture-specific files.
70108         (TLS_IE): Likewise.
70109         (TLS_LD): Likewise.
70110         (TLS_GD): Likewise.
70111         * sysdeps/i386/tls-macros.h: New file.
70112         * sysdeps/powerpc/tls-macros.h: Likewise.
70113         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70114         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70115         * sysdeps/sh/tls-macros.h: Likewise.
70116         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70117         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70118         * sysdeps/x86_64/tls-macros.h: Likewise.
70120 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70122         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70123         zero value for regular exit case.
70125         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70126         (__start_context): Preserve zero value for regular exit case.
70128 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70129             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70131         * manual/setjmp.texi (setcontext): Clarify normal process
70132         termination when uc_link is the null pointer.
70133         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70134         exit call.
70136 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70138         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70139         preprocessor.  Test for each exception mask separately.
70141 2012-07-16  Andreas Jaeger  <aj@suse.de>
70143         * po/ru.po: Update from translation team.
70145 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70147         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70148         equal to 0.
70149         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70150         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70151         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70152         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70155 2012-07-13  Andreas Jaeger  <aj@suse.de>
70157         * po/fr.po: Update from translation team.
70159 2012-07-12  Marek Polacek  <polacek@redhat.com>
70161         [BZ #14173]
70162         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70163         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70164         loop condition.
70166 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70168         [BZ #13717]
70169         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70170         Change to 2.4.1 where previously 2.4.0.
70171         * sysdeps/unix/sysv/linux/configure: Regenerated.
70172         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70173         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70174         version.
70175         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70176         (__ASSUME_AT_CLKTCK): Remove.
70177         (__ASSUME_AT_PAGESIZE): Likewise.
70178         (__ASSUME_AT_XID): Likewise.
70179         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70180         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70181         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70182         unconditionally.
70183         (HAVE_AUX_PAGESIZE): Likewise.
70184         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70185         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70186         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70188 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70190         [BZ #14307]
70191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70192         the temporary buffer used to invoke __gethostbyname2_r,
70193         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70194         host_data / struct gaih_addrtuple.
70195         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70196         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70197         header file nss/nsswitch.h.
70198         * nss/nsswitch.h (global scope): Add definition of implementation
70199         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70200         resolv/nss_dns/dns-host.c).
70202 2012-07-11  Andreas Jaeger  <aj@suse.de>
70204         * po/fr.po: Update from translation team.
70206         * po/sv.po: Update from translation team
70207         * po/fr.po: Another update from translation team.
70209 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70211         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70212         for subnormals or multiply small sinh result by itself.
70213         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70216 2012-07-11  David S. Miller  <davem@davemloft.net>
70218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70220 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70222         [BZ #14347]
70223         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70224         (INTERNAL_MARK): Shift it here.
70226 2012-07-10  Marek Polacek  <polacek@redhat.com>
70228         [BZ #14151]
70229         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70230         libc_cv_asm_global_directive with .globl.
70231         * configure: Regenerated.
70232         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70233         with .globl.
70234         * sysdeps/i386/configure: Regenerated.
70235         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70236         with .globl.
70237         * sysdeps/x86_64/configure: Regenerated.
70238         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70239         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70240         * elf/tst-unique2mod2.c: Likewise.
70241         * elf/tst-unique2mod1.c: Likewise.
70242         * elf/tst-unique1mod2.c: Likewise.
70243         * elf/tst-unique1mod1.c: Likewise.
70244         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70245         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70246         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70247         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70248         * sysdeps/mach/sysdep.h: Likewise.
70249         * sysdeps/i386/sysdep.h: Likewise.
70250         * sysdeps/i386/i386-mcount.S: Likewise.
70251         * sysdeps/x86_64/_mcount.S: Likewise.
70252         * sysdeps/x86_64/sysdep.h: Likewise.
70253         * sysdeps/sh/_mcount.S: Likewise.
70254         * sysdeps/sh/sysdep.h: Likewise.
70255         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70256         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70257         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70258         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70259         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70260         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70261         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70262         * locale/localeinfo.h: Likewise.
70263         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70264         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70266 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70268         [BZ #14336]
70269         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70270         system".
70271         * manual/message.texi (The Uniforum approach): Likewise.
70272         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70273         (glibc iconv Implementation): Likewise.
70275 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70277         [BZ #14337]
70278         * math/s_clog.c (__clog): Avoid scaling a value down where that
70279         could result in underflow.
70280         * math/s_clog10.c (__clog10): Likewise.
70281         * math/s_clog10f.c (__clog10f): Likewise.
70282         * math/s_clog10l.c (__clog10l): Likewise.
70283         * math/s_clogf.c (__clogf): Likewise.
70284         * math/s_clogl.c (__clogl): Likewise.
70285         * math/libm-test.inc (clog_test): Add more tests.
70286         (clog10_test): Likewise.
70287         * sysdeps/i386/fpu/libm-test-ulps: Update.
70288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70290 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70292         [BZ #14283]
70293         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70294         by 7 not 8 to examine high bit of fractional part.
70296         [BZ #14042]
70297         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70298         for call to __mcount_internal.
70299         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70300         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70301         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70303 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70305         [BZ #14154]
70306         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70307         approximation for values within 0x1p-13f of an odd multiple of
70308         pi/4.
70309         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70310         exception.  Add more tests.
70311         * sysdeps/i386/fpu/libm-test-ulps: Update.
70313         [BZ #6778]
70314         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70315         inputs and return -1 for them.  Do not check for +Inf in case not
70316         reachable for +Inf.
70317         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70318         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70320         and return -1 for them.  Do not check for +Inf in case not
70321         reachable for +Inf.
70322         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70323         define.
70324         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70325         and return -1 for them.  Do not check for +Inf in case not
70326         reachable for +Inf.
70327         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70328         spurious underflow.
70329         * sysdeps/i386/fpu/libm-test-ulps: Update.
70330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70332 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
70334         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70336 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
70338         [BZ #14157]
70339         [BZ #14331]
70340         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70341         could result in spurious underflow.  Scale down values above
70342         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70343         * math/s_csqrtf.c (__csqrtf): Likewise.
70344         * math/s_csqrtl.c (__csqrtl): Likewise.
70345         * math/libm-test.inc (csqrt_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.
70350 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
70352         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70353         xopen-msg.sed.
70354         * catgets/xopen-msg.awk: New file.
70355         * catgets/xopen-msg.sed: Removed.
70357         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
70358         po2text.sed.
70359         * intl/po2test.awk: New file.
70360         * intl/po2test.sed: Removed.
70362 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
70364         [BZ #14328]
70365         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
70366         or multiply small sinh result by itself.
70367         * math/s_ctanf.c (__ctanf): Likewise.
70368         * math/s_ctanh.c (__ctanh): Likewise.
70369         * math/s_ctanhf.c (__ctanhf): Likewise.
70370         * math/s_ctanhl.c (__ctanhl): Likewise.
70371         * math/s_ctanl.c (__ctanl): Likewise.
70372         * math/libm-test.inc (ctan_test_tonearest): New function.
70373         (ctan_test_towardzero): Likewise.
70374         (ctan_test_downward): Likewise.
70375         (ctan_test_upward): Likewise.
70376         (ctanh_test_tonearest): Likewise.
70377         (ctanh_test_towardzero): Likewise.
70378         (ctanh_test_downward): Likewise.
70379         (ctanh_test_upward): Likewise.
70380         (main): Call these new functions.
70381         * sysdeps/i386/fpu/libm-test-ulps: Update.
70382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70384 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
70386         * .gitignore: Delete /ports entry.
70388 2012-07-03  Andreas Jaeger  <aj@suse.de>
70390         * po/bg.po: Update from translation team.
70391         * po/cs.po: Likewise.
70392         * po/de.po: Likewise.
70393         * po/hr.po: Likewise.
70394         * po/nl.pl: Likewise.
70395         * po/pl.po: Likewise.
70396         * po/vi.po: Likewise.
70398 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
70400         * Makeconfig [!+link] (+link-before-libc): New variable.
70401         [!+link] (+link-after-libc): Likewise.
70402         [!+link] (+link-tests): Likewise.
70403         [!+link] (+link): Define in terms of $(+link-before-libc) and
70404         $(+link-after-libc).
70405         [!+link-static] (+link-static-before-libc): New variable.
70406         [!+link-static] (+link-static-after-libc): Likewise.
70407         [!+link-static] (+link-static-tests): Likewise.
70408         [!+link-static] (+link-static): Define in terms of
70409         $(+link-static-before-libc) and $(+link-static-after-libc).
70410         [build-shared] (link-libc-before-gnulib): New variable.
70411         [build-shared] (link-libc-tests): Likewise.
70412         [build-shared] (link-libc): Define in terms of
70413         $(link-libc-before-gnulib).
70414         [!build-shared] (link-libc-tests): New variable.
70415         (link-libc-static-tests): New variable.
70416         [!gnulib] (gnulib-arch): New variable.
70417         [!gnulib] (gnulib-tests): Likewise.
70418         [!gnulib] (static-gnulib-arch): Likewise.
70419         [!gnulib] (static-gnulib-tests): Likewise.
70420         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
70421         Define with "=" instead of ":=".
70422         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
70423         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
70424         * Rules (binaries-all-notests): New variable.
70425         (binaries-all-tests): Likewise.
70426         (binaries-static-notests): Likewise.
70427         (binaries-static-tests): Likewise.
70428         (binaries-all): Define using $(binaries-all-notests) and
70429         $(binaries-all-tests).
70430         (binaries-static): Define using $(binaries-static-notests) and
70431         $(binaries-static-tests).
70432         (binaries-shared-tests): New variable.
70433         (binaries-shared-notests): Likewise.
70434         (binaries-shared): Remove variable.
70435         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
70436         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
70437         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
70438         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
70439         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
70440         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
70441         * elf/Makefile (sln-modules): New variable.
70442         (extra-objs): Add $(sln-modules:=.o).
70443         (ldconfig-modules): Add static-stubs.
70444         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
70445         * elf/static-stubs.c: New file.
70447         [BZ #14283]
70448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
70449         by 7 not 8 to examine high bit of fractional part.  Use volatile
70450         variables when splitting into final array of floats if
70451         __FLT_EVAL_METHOD__ != 0.
70452         * math/libm-test.inc (cos_test): Add another test.
70453         (sin_test): Likewise.
70454         * sysdeps/i386/fpu/libm-test-ulps: Update.
70456         [BZ #14273]
70457         * math/libm-test.inc (cosh_test): Add more tests.
70459         * version.h (RELEASE): Set to "development".
70460         (VERSION): Set to "2.16.90".
70462 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
70464         * NEWS: Update copyright. Remove last-updated date.
70465         Mention math library bug fixes and timezone data changes.
70466         * README: Mention GNU/Hurd, x32, and HPPA support status.
70468 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
70470         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
70472 2012-06-27  Andreas Jaeger  <aj@suse.de>
70474         * manual/contrib.texi (Contributors): Add Samuel Thibault.
70476 2012-06-25  Andreas Jaeger  <aj@suse.de>
70478         * sysdeps/s390/fpu/libm-test-ulps: Update.
70480 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
70481             Thomas Schwinge  <thomas@codesourcery.com>
70483         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
70484         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
70485         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
70486         fanotify_mark.
70488 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
70490         * sysdeps/mach/start.c: Remove file.
70491         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
70492         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
70493         * sysdeps/sh/init-first.c: Likewise.
70495         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
70496         registers for frame unwinding purposes, add CFI directives.
70497         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70498         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
70499         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
70500         Likewise.
70502         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
70503         __fortify_fail returning.
70504         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70506         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
70507         sysdeps/sh/____longjmp_chk.S.
70508         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
70509         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
70510         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
70511         (gen-as-const-headers): Append sigaltstack-offsets.sym.
70513         * sysdeps/sh/abort-instr.h: New file.
70514         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
70515         process in case exit returns.
70517         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
70518         initialize the GOT register before use.
70520         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
70521         calculation of ARGC > 4.
70523         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
70524         meaningful names to some local labels.
70526 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70527             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70529         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
70530         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
70531         (__arch_compare_and_exchange_val_16_acq): Likewise.
70532         (__arch_compare_and_exchange_val_32_acq): Likewise.
70533         (atomic_exchange_and_add): Fix gUSA sequence.
70534         (atomic_add): Likewise.
70535         (atomic_add_negative): Likewise.
70536         (atomic_add_zero): Likewise.
70537         (atomic_bit_test_set): Likewise.
70539 2012-06-22  Andreas Schwab  <schwab@redhat.com>
70541         [BZ #13579]
70542         * include/link.h (struct link_map): Add l_free_initfini.
70543         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
70544         l_initfini.
70545         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
70546         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
70547         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
70548         set.
70550 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
70552         * configure.in: Use AC_LANG_SOURCE.
70553         * configure: Regenerate.
70555 2012-06-22  Roland McGrath  <roland@hack.frob.com>
70557         * configure.in (libc_cv_localstatedir): New substituted variable.
70558         * configure: Regenerated.
70559         * config.make.in (localstatedir): New variable, substituted from
70560         libc_cv_localstatedir.
70561         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
70562         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
70563         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
70564         * sysdeps/gnu/configure: Regenerated.
70566 2012-06-21  Jeff Law  <law@redhat.com>
70568         [BZ #14277]
70569         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
70570         free.  Simplify list management for _LIBC case.
70572 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
70574         [BZ #14273]
70575         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
70576         Clear sign bit of 64-bit integer value before comparing against
70577         overflow value.
70579         * sysdeps/mach/configure: Regenerated.
70581 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
70583         [BZ #14278]
70584         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
70586 2012-06-21  Jeff Law  <law@redhat.com>
70588         [BZ #13882]
70589         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
70590         uint16_t for elements in the "seen" array to avoid char overflows.
70591         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70592         * elf/dl-open.c (dl_open_worker): Likewise.
70594 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
70596         * scripts/list-sources.sh: Scan PORTS for translations.
70597         * po/libc.pot: Regenerated.
70599 2012-06-21  Andreas Jaeger  <aj@suse.de>
70601         [BZ #12194]
70602         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
70603         warning.
70604         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
70605         * bits/byteswap-16.h (__bswap_16): Likewise.
70606         * bits/byteswap.h (__bswap_constant_16): Likewise.
70608 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
70610         [BZ #14117]
70611         * sysdeps/i386/fpu_control.h: Removed.
70612         * sysdeps/x86_64/fpu_control.h: Moved to ...
70613         * sysdeps/x86/fpu_control.h: Here.
70615         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
70616         (_FPU_SETCW): Likewise.
70618 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
70620         [BZ #14117]
70621         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
70622         * sysdeps/x86/fpu/bits/mathinline.h: This.
70623         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
70625         [BZ #14050]
70626         [BZ #14117]
70627         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
70628         functions if __x86_64__ is defined.
70630 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
70632         * string/endian.h: Add !__ASSEMBLER__ condition for including
70633         conversion interfaces.
70635 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
70637         [BZ #14241]
70638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
70639         of ABS(x) in calculating zero to negative powers other than odd
70640         integers.
70641         * math/libm-test.inc (pow_test): Add more tests.
70643 2012-06-15  Andreas Jaeger  <aj@suse.de>
70645         * manual/contrib.texi (Contributors): Update entry of Liubov
70646         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
70647         Machado Filho.
70649 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
70651         * string/string.h: Add __wur to GNU version of strerror_r.
70653 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
70655         [BZ #14229]
70656         * string/Makefile (tests): Add tst-strtok_r.
70657         * string/tst-strtok_r.c: New file.
70658         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
70659         RAX_LP/RDX_LP on SAVE_PTR.
70661 2012-06-14  Roland McGrath  <roland@hack.frob.com>
70663         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
70665 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
70667         * libm_test.inc (csqrt_test): Allow more spurious underflow
70668         exceptions.
70669         (j0_test): Likewise.
70670         (j1_test): Likewise.
70671         (y0_test): Likewise.
70672         (y1_test): Likewise.
70674 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
70676         * po/Makefile (libc.pot): Use UTF-8 charset.
70678 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
70680         [BZ #14210]
70681         Suppress sign-conversion warning from FD_SET.
70682         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
70683         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
70684         not unsigned long int.
70685         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
70687 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
70689         [BZ #14050]
70690         [BZ #14117]
70691         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
70692         __extern_always_inline instead of __extern_inline.
70693         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
70694         (__signbit): Likewise.
70695         (__signbitl): Support C++ namespace.
70696         (lrintf): New inline function.
70697         (lrint): Likewise.
70698         (llrintf): Likewise.
70699         (llrint): Likewise.
70700         (fmaxf): Likewise.
70701         (fmax): Likewise.
70702         (fminf): Likewise.
70703         (fmin): Likewise.
70704         (rint): Likewise.
70705         (rintf): Likewise.
70706         (ceil): Likewise.
70707         (ceilf): Likewise.
70708         (floor): Likewise.
70709         (floorf): Likewise.
70710         (nearbyint): Likewise.
70711         (nearbyintf): Likewise.
70713 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
70715         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
70716         non-default versions.
70718 2012-06-11  Roland McGrath  <roland@hack.frob.com>
70720         [BZ #14218]
70721         * manual/argp.texi (Argp): Reword argp_parse description slightly.
70723 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
70725         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
70726         (FE_UPWARD, FE_DOWNWARD): Don't define.
70727         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
70728         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70730         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
70731         reading it.
70732         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70733         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70735 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70737         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70738         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
70739         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
70740         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
70742 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
70744         [BZ #14117]
70745         * sysdeps/i386/fpu/bits/fenv.h: Removed.
70746         * sysdeps/i386/fpu/Implies: New file.
70747         * sysdeps/x86_64/fpu/Implies: Likewise.
70748         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
70749         * sysdeps/x86/fpu/bits/fenv.h: This.
70751         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
70752         __SSE_MATH__.
70754 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70756         [BZ #14134]
70757         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
70758         character 0xffff that matches the last element of the
70759         conversion table.
70761 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70763         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
70764         fmodl commit.
70766 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
70769         values higher than 25.6283.
70771 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70773         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
70774         subnormal exponent extraction and add some __builtin_expect.
70775         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
70776         Fix for subnormal mantissa calculation.
70778 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
70780         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
70781         cpu2 is -1 and errno is not ENOSYS.
70783 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
70785         [BZ #14117]
70786         * sysdeps/i386/i486/bits/string.h: Renamed to ...
70787         * sysdeps/x86/bits/string.h: This.
70788         * sysdeps/x86_64/bits/string.h: Removed.
70790         * sysdeps/i386/i486/bits/string.h: Define inline functions only
70791         if not compiling for x86-64, but compiling for >= i486.
70793         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
70794         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
70796         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
70797         New macro from Linux kernel 3.4.0.
70798         (FP_XSTATE_MAGIC2): Likewise.
70799         (FP_XSTATE_MAGIC2_SIZE): Likewise.
70800         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
70801         (struct _fpx_sw_bytes): New struct.
70802         (struct _xsave_hdr): Likewise.
70803         (struct _ymmh_state): Likewise.
70804         (struct _xstate): Likewise.
70806         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
70807         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
70808         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
70809         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
70810         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
70811         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
70813         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
70814         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
70815         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
70816         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
70817         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
70818         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
70820 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70822         [BZ #13743]
70823         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
70824         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
70825         (sysdep_headers): Include sys/platform/ppc.h.
70826         * sysdeps/powerpc/test-gettimebase.c: Test for
70827         __ppc_get_timebase() to catch future ISA opcode/insn changes.
70828         * manual/Makefile (appendices): Include platform.texi.
70829         * manual/contrib.texi (Contributors): Update @node pointers.
70830         * manual/maint.texi (Maintenance): Likewise.
70831         (Platform): New node.
70832         * manual/platform.texi: New file.  Document the new features.
70834 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70835             Jakub Jelinek  <jakub@redhat.com>
70837         [BZ #14188]
70838         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
70839         where __builtin_expect is unavailable.
70841 2012-06-03  David S. Miller  <davem@davemloft.net>
70843         * stdlib/longlong.h: Updated from GCC.
70845 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
70847         [BZ #14042]
70848         * sysdeps/powerpc/powerpc32/mcount.c: New file.
70849         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
70850         __mcount_internal.
70851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70852         (GLIBC_2.16): Likewise.
70854 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70856         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
70858 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
70860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
70861         (default-abi): New variable.
70862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
70863         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
70864         variable.
70865         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
70866         Likewise.
70867         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
70868         Likewise.
70869         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
70870         Likewise.
70872         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
70873         definition.  Document in comment.
70875 2012-06-01  David S. Miller  <davem@davemloft.net>
70877         * stdlib/longlong.h: Updated from GCC.
70879 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70881         [BZ #14117]
70882         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
70883         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
70884         sys/debugreg.h sys/io.h here.
70885         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
70886         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
70887         sys/io.h.
70888         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
70889         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
70890         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
70891         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
70892         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
70893         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
70895         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
70896         Define only if __x86_64__ is defined.
70898 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
70900         [BZ #14048]
70901         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
70902         Use int64_t for variable i.
70903         * math/libm-test.inc (fmod_test): Add more tests.
70905         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
70906         z computation is not scheduled after fetestexcept.
70907         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
70908         Use math_force_eval instead of asm to ensure calculation scheduled
70909         before exception test.
70910         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
70911         Ensure a1 + u.d computation is not scheduled after fetestexcept.
70913 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
70915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
70916         computation is not scheduled after fetestexcept.
70918 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70920         [BZ #14117]
70921         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
70922         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
70924 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70926         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70927         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70929 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
70931         [BZ #14117]
70932         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
70933         <bits/wordsize.h>.
70934         (__WCHAR_MIN): Support __WORDSIZE == 64.
70935         (__WCHAR_MAX): Likewise.
70937         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
70938         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
70940         [BZ #14183]
70941         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
70942         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
70944         [BZ #14117]
70945         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
70946         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
70948         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
70949         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
70951         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
70952         Defined to 1 if __x86_64__ isn't defined.
70953         (_STAT_VER_LINUX_OLD): New.
70954         (st_atime): Remove duplicate.
70955         (st_mtime): Likewise.
70956         (st_ctime): Likewise.
70958 2012-05-31  David S. Miller  <davem@davemloft.net>
70960         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
70961         entries.
70963 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
70965         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
70966         gen-libm-test.pl.
70968         [BZ #14132]
70969         * elf/dl-reloc.c: Include <_itoa.h>.
70970         (_dl_reloc_bad_type): Remove use of INTUSE.
70971         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
70972         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
70973         * stdio-common/psiginfo.c (psiginfo): Likewise.
70974         * stdio-common/psignal.c (psignal): Likewise.
70975         * string/strsignal.c (strsignal): Likewise.
70976         * include/signal.h (_sys_siglist): Declare hidden proto.
70977         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
70978         INTVARDEF with libc_hidden_data_def.
70979         * stdio-common/itoa-udigits.c: Likewise.
70980         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
70981         (_itoa_lower_digits_internal): Remove declaration.
70982         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
70983         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
70984         (_sys_sigabbrev_internal): Remove aliases.
70985         (_sys_siglist): Define hidden alias.
70987 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
70989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70990         bits/sysctl.h.
70992 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
70994         [BZ #14117]
70995         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
70996         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
70998         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
70999         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71000         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71001         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71002         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71003         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71005         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71006         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71007         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71009         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71010         with __addr.
71011         (insw): Likewise.
71012         (insl): Likewise.
71013         (outsb): Likewise.
71014         (outsw): Likewise.
71015         (outsl): Likewise.
71017         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71018         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71019         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71021         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71022         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71023         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71024         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71025         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71026         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71028         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71029         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71031         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71032         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71034         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71035         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71036         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71038         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71039         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71040         to ...
71041         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71043         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71044         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71045         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71047         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71048         for x86-64.
71049         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71051 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71053         * math/math.h (M_El): Use two more decimal places.
71054         (M_LOG2El): Likewise.
71055         (M_LOG10El): Likewise.
71056         (M_LN2l): Likewise.
71057         (M_LN10l): Likewise.
71058         (M_PIl): Likewise.
71059         (M_PI_2l): Likewise.
71060         (M_PI_4l): Likewise.
71061         (M_1_PIl): Likewise.
71062         (M_2_PIl): Likewise.
71063         (M_2_SQRTPIl): Likewise.
71064         (M_SQRT2l): Likewise.
71065         (M_SQRT1_2l): Likewise.
71067 2012-05-31  David S. Miller  <davem@davemloft.net>
71069         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71070         values between float registers.
71071         * sysdeps/sparc/sparc64/memset.S: Likewise.
71072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71074 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71076         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71077         -D_FORTIFY_SOURCE=1.
71078         (CPPFLAGS-tst-longjmp_chk.c): Define.
71079         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71080         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71081         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71082         CFLAGS-tst-wchar-h.c.
71084 2012-05-31  Marek Polacek  <polacek@redhat.com>
71086         [BZ #14132]
71087         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71088         __endmntent_internal): Remove declaration.
71089         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71090         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71091         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71093 2012-05-30  David S. Miller  <davem@davemloft.net>
71095         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71096         (___Q_simulate_exceptions): Use real FP ops rather than writing
71097         into the %fsr.
71098         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71099         Likewise.
71101 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71103         [BZ #14117]
71104         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71105         * sysdeps/x86/bits/xtitypes.h: This.
71107         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71108         * sysdeps/x86/bits/wordsize.h: This.
71110         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71111         * sysdeps/x86/bits/huge_vall.h: This.
71113         * sysdeps/i386/bits/select.h: Removed.
71114         * sysdeps/x86_64/bits/select.h: Renamed to ...
71115         * sysdeps/x86/bits/select.h: This.
71117         * sysdeps/i386/bits/setjmp.h: Removed.
71118         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71119         * sysdeps/x86/bits/setjmp.h: This.
71121         * sysdeps/i386/bits/mathdef.h: Removed.
71122         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71123         * sysdeps/x86/bits/mathdef.h: This.
71125 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71127         [BZ #14132]
71128         * include/sys/socket.h (__connect_internal)
71129         (__libc_sa_len_internal): Remove declaration.
71130         (__connect, __libc_sa_len): Declare hidden_proto.
71131         (SA_LEN): Remove use of INTUSE.
71132         * socket/connect.c: Add libc_hidden_def.
71133         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71134         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71135         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71136         alias.
71137         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71138         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71139         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71140         of adding _internal alias.
71142 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71144         [BZ #14117]
71145         * sysdeps/i386/bits/link.h: Removed.
71146         * sysdeps/i386/bits/linkmap.h: Likewise.
71147         * sysdeps/x86_64/bits/link.h: Renamed to ...
71148         * sysdeps/x86/bits/link.h: This.
71149         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71150         * sysdeps/x86/bits/linkmap.h: This.
71152         * sysdeps/i386/bits/endian.h: Removed.
71153         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71154         * sysdeps/x86/bits/endian.h: This.
71156         * sysdeps/i386/bits/byteswap.h: Removed.
71157         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71158         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71159         * sysdeps/x86/bits/byteswap.h: This.
71160         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71161         * sysdeps/x86/bits/byteswap-16.h: This.
71162         * sysdeps/i386/Implies: Add x86.
71163         * sysdeps/x86_64/Implies: Likewise.
71165 2012-05-30  David S. Miller  <davem@davemloft.net>
71167         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71168         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71169         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71170         (FP_TRAPPING_EXCEPTIONS): Define.
71171         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71172         (FP_TRAPPING_EXCEPTIONS): Define.
71173         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71174         subnormals only when inexact has been signalled or underflow
71175         exceptions are enabled.
71176         (_FP_PACK_CANONICAL): Likewise.
71178 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71180         [BZ #14183]
71181         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71182         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71184 2012-05-30  Richard Henderson  <rth@twiddle.net>
71186         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71187         with #ifndef NOT_IN_libc.
71189         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71190         marked to avoid plt entry.
71192 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71194         [BZ #14112]
71195         * Makeconfig (default-abi): New macro.
71196         (abi-includes): Likewise.
71197         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71198         $(abi-$(default-abi)-lib-soname) for soname if defined.
71199         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71200         abi-variants.
71201         * Makefile (installed-stubs): Likewise.
71202         * include/stubs-biarch.h: Removed.
71203         * scripts/lib-names.awk: Only handle one library at a time.
71204         * scripts/soversions.awk: Remove WORDSIZE support.
71205         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71206         entries.
71207         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71208         Removed.
71209         (syscall-list-default-condition): Likewise.
71210         (syscall-list-default-condition): Likewise.
71211         (syscall-list-includes): Likewise.
71212         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71213         syscall-list-* with abi-*.  Handle undefined abi-variants.
71214         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71215         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71216         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71217         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71218         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71219         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71220         Removed.
71221         (syscall-list-32-options): Likewise.
71222         (syscall-list-32-condition): Likewise.
71223         (syscall-list-64-options): Likewise.
71224         (syscall-list-64-condition): Likewise.
71225         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71226         macro.
71227         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71228         Renamed to ...
71229         (abi-*): This.
71230         (abi-64-ld-soname): New macro.
71231         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71232         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71233         Renamed to ...
71234         (abi-*): This.
71235         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71236         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71238 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71240         * sysdeps/unix/sysv/linux/kernel-features.h
71241         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71242         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71243         include <kernel-features.h>.
71244         [!__NR_ftruncate64]: Remove conditional code.
71245         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71246         [__NR_ftruncate64]: Make code unconditional.
71247         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71248         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71249         include <kernel-features.h>.
71250         [!__NR_ftruncate64]: Remove conditional code.
71251         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71252         [__NR_ftruncate64]: Make code unconditional.
71253         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71255         include <kernel-features.h>.
71256         [!__NR_ftruncate64]: Remove conditional code.
71257         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71258         [__NR_ftruncate64]: Make code unconditional.
71259         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
71267         * configure.in (libc_cv_fpie): Weaken to a compile test using
71268         LIBC_TRY_CC_OPTION.
71269         * configure: Regenerated.
71271 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71277         Refreshed.
71278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71284         Refreshed.
71286 2012-05-27  David S. Miller  <davem@davemloft.net>
71288         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71289         (___Q_zero): New.
71290         (__Q_simulate_exceptions): Return void.  Change to simulate
71291         exceptions by writing into the %fsr.
71292         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71293         (__Qp_handle_exceptions): Likewise.
71294         (numbers): Delete.
71295         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71296         __Qp_handle_exceptions.
71297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71298         __Qp_handle_exceptions.
71299         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71300         as unused and give dummy FP_RND_NEAREST initializer.
71301         (FP_INHIBIT_RESULTS): Define.
71302         (___Q_simulate_exceptions): Update declaration.
71303         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71304         formatting.
71305         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71306         as unused and give dummy FP_RND_NEAREST initializer.
71307         (__Qp_handle_exceptions): Update declaration.
71308         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71309         formatting.
71311 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71313         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71314         the temporary FPU control word.
71315         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71316         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71317         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71318         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71319         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71320         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71321         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71322         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71323         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71324         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71325         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71327 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71329         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71330         fields.
71332 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
71334         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71335         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71336         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71337         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71338         Likewise.
71339         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71340         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71341         Likewise.
71343 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
71345         * po/h.po: Update from translation team.
71347 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
71349         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71351         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71352         handling of denormals.
71353         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71354         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71355         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71356         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71357         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71358         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
71359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
71360         Likewise.
71362 2012-05-26  Marek Polacek  <polacek@redhat.com>
71364         [BZ #14152]
71365         * math/libm-test.inc (fma_test): Don't always expect underflow
71366         exception.
71368 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71370         [BZ #12416]
71371         * elf/tst-execstack.c: Include stackinfo.h.
71372         (do_test): Adjust test case to ensure that pthread_getattr_np
71373         behaviour remains the same after marking stack executable.
71375 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71377         * sysdeps/unix/sysv/linux/kernel-features.h
71378         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
71379         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71380         kernel-features.h.
71381         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71382         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71383         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
71384         kernel-features.h.
71385         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71386         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71388 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
71390         * configure.in: Define the default includes to being none.
71391         * configure: Regenerated.
71393 2012-05-25  Roland McGrath  <roland@hack.frob.com>
71395         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
71396         * sysdeps/x86_64/setjmp.S: Likewise.
71397         * sysdeps/i386/bsd-setjmp.S: Likewise.
71398         * sysdeps/i386/bsd-_setjmp.S: Likewise.
71399         * sysdeps/i386/setjmp.S: Likewise.
71400         * sysdeps/i386/__longjmp.S: Likewise.
71401         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71402         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
71404         * include/stap-probe.h: New file.
71405         * configure.in: Handle --enable-systemtap.
71406         * configure: Regenerated.
71407         * config.h.in (USE_STAP_PROBE): New #undef.
71408         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
71409         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
71410         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
71412 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71414         [BZ #13717]
71415         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71416         to 2.4.0 where earlier.
71417         * sysdeps/unix/sysv/linux/configure: Regenerated.
71418         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71419         <kernel-features.h>.
71420         [__ASSUME_32BITUIDS]: Make code unconditional.
71421         [!__ASSUME_32BITUIDS]: Remove conditional code.
71422         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
71423         <kernel-features.h>.
71424         [__ASSUME_32BITUIDS]: Make code unconditional.
71425         [!__ASSUME_32BITUIDS]: Remove conditional code.
71426         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
71427         [__ASSUME_32BITUIDS]: Make code unconditional.
71428         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
71429         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
71430         <kernel-features.h>.
71431         [__ASSUME_32BITUIDS]: Make code unconditional.
71432         [!__ASSUME_32BITUIDS]: Remove conditional code.
71433         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
71434         <kernel-features.h>.
71435         [__ASSUME_32BITUIDS]: Make code unconditional.
71436         [!__ASSUME_32BITUIDS]: Remove conditional code.
71437         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
71438         <kernel-features.h>.
71439         [__ASSUME_32BITUIDS]: Make code unconditional.
71440         [!__ASSUME_32BITUIDS]: Remove conditional code.
71441         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
71442         <kernel-features.h>.
71443         [__ASSUME_32BITUIDS]: Make code unconditional.
71444         [!__ASSUME_32BITUIDS]: Remove conditional code.
71445         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71446         <kernel-features.h>.
71447         [__ASSUME_32BITUIDS]: Make code unconditional.
71448         [!__ASSUME_32BITUIDS]: Remove conditional code.
71449         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71450         <kernel-features.h>.
71451         [__ASSUME_32BITUIDS]: Make code unconditional.
71452         [!__ASSUME_32BITUIDS]: Remove conditional code.
71453         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
71454         <kernel-features.h>.
71455         [__ASSUME_32BITUIDS]: Make code unconditional.
71456         [!__ASSUME_32BITUIDS]: Remove conditional code.
71457         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71458         <kernel-features.h>.
71459         [__ASSUME_32BITUIDS]: Make code unconditional.
71460         [!__ASSUME_32BITUIDS]: Remove conditional code.
71461         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71462         <kernel-features.h>.
71463         [__ASSUME_32BITUIDS]: Make code unconditional.
71464         [!__ASSUME_32BITUIDS]: Remove conditional code.
71465         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
71466         <kernel-features.h>.
71467         [__ASSUME_32BITUIDS]: Make code unconditional.
71468         [!__ASSUME_32BITUIDS]: Remove conditional code.
71469         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
71470         <kernel-features.h>.
71471         [__NR_setresgid] (__setresgid): Do not declare.
71472         [__ASSUME_32BITUIDS]: Make code unconditional.
71473         [!__ASSUME_32BITUIDS]: Remove conditional code.
71474         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
71475         <kernel-features.h>.
71476         [__NR_setresuid] (__setresuid): Do not declare.
71477         [__ASSUME_32BITUIDS]: Make code unconditional.
71478         [!__ASSUME_32BITUIDS]: Remove conditional code.
71479         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
71488         <kernel-features.h>.
71489         [__ASSUME_32BITUIDS]: Make code unconditional.
71490         [!__ASSUME_32BITUIDS]: Remove conditional code.
71491         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
71492         <kernel-features.h>.
71493         [__ASSUME_32BITUIDS]: Make code unconditional.
71494         [!__ASSUME_32BITUIDS]: Remove conditional code.
71495         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
71496         <kernel-features.h>.
71497         [__ASSUME_32BITUIDS]: Make code unconditional.
71498         [!__ASSUME_32BITUIDS]: Remove conditional code.
71499         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
71500         <kernel-features.h>.
71501         [__ASSUME_32BITUIDS]: Make code unconditional.
71502         [!__ASSUME_32BITUIDS]: Remove conditional code.
71503         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
71504         <kernel-features.h>.
71505         [__ASSUME_32BITUIDS]: Make code unconditional.
71506         [!__ASSUME_32BITUIDS]: Remove conditional code.
71507         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
71508         <kernel-features.h>.
71509         [__ASSUME_32BITUIDS]: Make code unconditional.
71510         [!__ASSUME_32BITUIDS]: Remove conditional code.
71511         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
71512         <kernel-features.h>.
71513         [__ASSUME_32BITUIDS]: Make code unconditional.
71514         [!__ASSUME_32BITUIDS]: Remove conditional code.
71515         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71516         <kernel-features.h>.
71517         [__ASSUME_32BITUIDS]: Make code unconditional.
71518         [!__ASSUME_32BITUIDS]: Remove conditional code.
71519         * sysdeps/unix/sysv/linux/kernel-features.h
71520         (__ASSUME_SETRESUID_SYSCALL): Remove.
71521         (__ASSUME_SETRESGID_SYSCALL): Likewise.
71522         (__ASSUME_32BITUIDS): Likewise.
71523         (__ASSUME_LDT_WORKS): Likewise.
71524         (__ASSUME_O_DIRECTORY): Likewise.
71525         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
71526         architecture but not kernel version.
71527         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
71528         (__ASSUME_MMAP2_SYSCALL): Likewise.
71529         (__ASSUME_STAT64_SYSCALL): Likewise.
71530         (__ASSUME_IPC64): Likewise.
71531         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
71532         <kernel-features.h>.
71533         [__ASSUME_32BITUIDS]: Make code unconditional.
71534         [!__ASSUME_32BITUIDS]: Remove conditional code.
71535         * sysdeps/unix/sysv/linux/opendir.c: Do not include
71536         <kernel-features.h>.
71537         [__ASSUME_O_DIRECTORY]: Make code unconditional.
71538         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
71539         132096]: Remove conditional code.
71540         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
71541         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71542         <kernel-features.h>.
71543         [__ASSUME_32BITUIDS]: Make code unconditional.
71544         [!__ASSUME_32BITUIDS]: Remove conditional code.
71545         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71546         <kernel-features.h>.
71547         [__ASSUME_32BITUIDS]: Make code unconditional.
71548         [!__ASSUME_32BITUIDS]: Remove conditional code.
71549         * sysdeps/unix/sysv/linux/setegid.c: Do not include
71550         <kernel-features.h>.
71551         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
71552         unconditional.
71553         (__setresgid): Do not declare.
71554         [__ASSUME_32BITUIDS]: Make code unconditional.
71555         [!__ASSUME_32BITUIDS]: Remove conditional code.
71556         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
71557         <kernel-features.h>.
71558         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
71559         unconditional.
71560         (__setresuid): Do not declare.
71561         [__ASSUME_32BITUIDS]: Make code unconditional.
71562         [!__ASSUME_32BITUIDS]: Remove conditional code.
71563         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
71568         <kernel-features.h>.
71569         [__ASSUME_32BITUIDS]: Make code unconditional.
71570         [!__ASSUME_32BITUIDS]: Remove conditional code.
71572 2012-05-25  Richard Henderson  <rth@twiddle.net>
71574         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
71575         dl_hwcap to ifunc resolver.
71576         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
71577         elf_ifunc_invoke.
71578         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
71579         dl_hwcap to ifunc resolver.
71580         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
71582 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71584         [BZ #14153]
71585         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
71586         for |x| <= 2**-26, not 2**-57.
71587         * math/libm-test.inc (acos_test): Do not allow spurious underflow
71588         exception.
71590 2012-05-24  Jeff Law  <law@redhat.com>
71592         * stdio-common/Makefile (tests): Add bug25.
71593         * stdio-common/bug25.c: New test.
71595 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71597         [BZ #13576]
71598         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
71599         multiple of MALLOC_ALIGNMENT in size.
71600         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
71602 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71604         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
71605         Require >= 256.
71606         (FILENAME_MAX): Use macro-int-constant.
71607         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
71608         (_IOFBF): Use macro-int-constant.
71609         (_IOLBF): Likewise.
71610         (_IONBF): Likewise.
71611         (SEEK_CUR): Likewise.
71612         (SEEK_END): Likewise.
71613         (SEEK_SET): Likewise.
71614         (TMP_MAX): Likewise.
71615         (EOF): Use macro-int-constant.  Require < 0.
71616         (NULL): Use macro-constant.  Require == 0.
71617         (stdin): Require type to be FILE *.
71618         (stdout): Likewise.
71619         (stderr): Likewise.
71620         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
71621         macro-int-constant.
71622         (EXIT_SUCCESS): Likewise.
71623         (NULL): Use macro-constant.  Require == 0.
71624         (RAND_MAX): Use macro-int-constant.
71625         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
71626         [C99-based standards] (strtof): Require function.
71627         [C99-based standards] (strtold): Likewise.
71628         [C99-based standards] (strtoll): Likewise.
71629         [C99-based standards] (strtoull): Likewise.
71630         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71631         [ISO || ISO99 || ISO11] (limits.h): Likewise.
71632         [ISO || ISO99 || ISO11] (math.h): Likewise.
71633         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
71634         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71635         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71637 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
71639         [BZ #14132]
71640         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
71641         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
71642         * intl/dgettext.c (DCGETTEXT): Likewise.
71643         * intl/gettext.c (DCGETTEXT): Likewise.
71644         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
71645         * posix/regex_internal.h (gettext): Likewise.
71646         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
71647         Remove declaration.
71648         * include/argz.h (__argz_count_internal)
71649         (__argz_stringify_internal): Remove declaration.
71650         (__argz_count, __argz_stringify): Declare hidden proto.
71651         * intl/dcgettext.c: Remove use of INTDEF.
71652         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
71653         * string/argz-stringify.c: Likewise.
71654         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71655         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71656         Declare hidden proto.
71657         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71658         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71659         Declare hidden proto.
71660         * include/stdio.h (__asprintf_internal): Don't declare.
71661         (__asprintf): Don't define as macro.  Declare hidden proto.
71662         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
71663         (__fsetlocking): Declare hidden proto.
71664         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
71665         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
71666         hidden proto.
71667         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
71668         (_IO_setlinebuf): Remove use of INTUSE.
71669         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
71670         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
71671         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
71672         Remove declaration.
71673         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
71674         (_IO_do_flush): Remove use of INTUSE.
71675         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
71676         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
71677         (_IO_adjust_column, _IO_least_wmarker)
71678         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
71679         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
71680         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
71681         (_IO_default_doallocate, _IO_wdefault_doallocate)
71682         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
71683         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
71684         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
71685         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
71686         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
71687         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
71688         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
71689         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
71690         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
71691         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
71692         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
71693         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
71694         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
71695         proto.
71696         (_IO_flush_all_internal, _IO_adjust_column_internal)
71697         (_IO_default_uflow_internal, _IO_default_finish_internal)
71698         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
71699         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
71700         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
71701         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
71702         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
71703         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
71704         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
71705         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
71706         (_IO_file_close_internal, _IO_file_close_it_internal)
71707         (_IO_file_underflow_internal, _IO_file_overflow_internal)
71708         (_IO_file_init_internal, _IO_file_attach_internal)
71709         (_IO_file_fopen_internal, _IO_file_read_internal)
71710         (_IO_file_sync_internal, _IO_file_seek_internal)
71711         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
71712         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
71713         (_IO_str_underflow_internal, _IO_str_overflow_internal)
71714         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
71715         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
71716         (_IO_list_all_internal, _IO_link_in_internal)
71717         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
71718         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
71719         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
71720         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
71721         (_IO_do_write_internal, _IO_padn_internal)
71722         (_IO_getline_info_internal, _IO_getline_internal)
71723         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
71724         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
71725         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
71726         (_IO_vfscanf_internal, _IO_vfprintf_internal)
71727         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
71728         (_IO_init_internal, _IO_un_link_internal): Don't declare.
71729         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
71730         with libc_hidden_ver, remove use of INTUSE.
71731         * libio/genops.c: Likewise.
71732         * libio/freopen.c: Likewise.
71733         * libio/freopen64.c: Likewise.
71734         * libio/iofclose.c: Likewise.
71735         * libio/iofdopen.c: Likewise.
71736         * libio/iofflush.c: Likewise.
71737         * libio/iofflush_u.c: Likewise.
71738         * libio/iofgets.c: Likewise.
71739         * libio/iofgets_u.c: Likewise.
71740         * libio/iofopen.c: Likewise.
71741         * libio/iofopncook.c: Likewise.
71742         * libio/iofread.c: Likewise.
71743         * libio/iofread_u.c: Likewise.
71744         * libio/ioftell.c: Likewise.
71745         * libio/iofwrite.c: Likewise.
71746         * libio/iogetline.c: Likewise.
71747         * libio/iogets.c: Likewise.
71748         * libio/iogetwline.c: Likewise.
71749         * libio/iopadn.c: Likewise.
71750         * libio/iopopen.c: Likewise.
71751         * libio/ioseekoff.c: Likewise.
71752         * libio/ioseekpos.c: Likewise.
71753         * libio/iosetbuffer.c: Likewise.
71754         * libio/iosetvbuf.c: Likewise.
71755         * libio/ioungetc.c: Likewise.
71756         * libio/ioungetwc.c: Likewise.
71757         * libio/iovdprintf.c: Likewise.
71758         * libio/iovsprintf.c: Likewise.
71759         * libio/iovsscanf.c: Likewise.
71760         * libio/memstream.c: Likewise.
71761         * libio/obprintf.c: Likewise.
71762         * libio/oldfileops.c: Likewise.
71763         * libio/oldiofclose.c: Likewise.
71764         * libio/oldiofdopen.c: Likewise.
71765         * libio/oldiofopen.c: Likewise.
71766         * libio/oldiopopen.c: Likewise.
71767         * libio/oldstdfiles.c: Likewise.
71768         * libio/putc.c: Likewise.
71769         * libio/setbuf.c: Likewise.
71770         * libio/setlinebuf.c: Likewise.
71771         * libio/stdfiles.c: Likewise.
71772         * libio/strops.c: Likewise.
71773         * libio/vasprintf.c: Likewise.
71774         * libio/vscanf.c: Likewise.
71775         * libio/vsnprintf.c: Likewise.
71776         * libio/vswprintf.c: Likewise.
71777         * libio/wfiledoalloc.c: Likewise.
71778         * libio/wfileops.c: Likewise.
71779         * libio/wgenops.c: Likewise.
71780         * libio/wmemstream.c: Likewise.
71781         * libio/wstrops.c: Likewise.
71782         * libio/__fpurge.c: Likewise.
71783         * libio/__fsetlocking.c: Likewise.
71784         * assert/assert.c: Likewise.
71785         * debug/fgets_chk.c: Likewise.
71786         * debug/fgets_u_chk.c: Likewise.
71787         * debug/fread_chk.c: Likewise.
71788         * debug/fread_u_chk.c: Likewise.
71789         * debug/gets_chk.c: Likewise.
71790         * debug/obprintf_chk.c: Likewise.
71791         * debug/vasprintf_chk.c: Likewise.
71792         * debug/vdprintf_chk.c: Likewise.
71793         * debug/vsnprintf_chk.c: Likewise.
71794         * debug/vsprintf_chk.c: Likewise.
71795         * malloc/mtrace.c: Likewise.
71796         * misc/error.c: Likewise.
71797         * misc/syslog.c: Likewise.
71798         * stdio-common/asprintf.c: Likewise.
71799         * stdio-common/fxprintf.c: Likewise.
71800         * stdio-common/getw.c: Likewise.
71801         * stdio-common/isoc99_fscanf.c: Likewise.
71802         * stdio-common/isoc99_scanf.c: Likewise.
71803         * stdio-common/isoc99_vfscanf.c: Likewise.
71804         * stdio-common/isoc99_vscanf.c: Likewise.
71805         * stdio-common/isoc99_vsscanf.c: Likewise.
71806         * stdio-common/printf-prs.c: Likewise.
71807         * stdio-common/printf_fp.c: Likewise.
71808         * stdio-common/printf_fphex.c: Likewise.
71809         * stdio-common/printf_size.c: Likewise.
71810         * stdio-common/putw.c: Likewise.
71811         * stdio-common/scanf.c: Likewise.
71812         * stdio-common/sprintf.c: Likewise.
71813         * stdio-common/tmpfile.c: Likewise.
71814         * stdio-common/vfprintf.c: Likewise.
71815         * stdio-common/vfscanf.c: Likewise.
71816         * stdlib/strfmon_l.c: Likewise.
71817         * sunrpc/openchild.c: Likewise.
71818         * sunrpc/xdr_stdio.c: Likewise.
71819         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
71820         * sysdeps/mach/hurd/tmpfile.c: Likewise.
71822 2012-05-24  Roland McGrath  <roland@hack.frob.com>
71824         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71826         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
71827         in the third column, to generate for the shared library an IFUNC
71828         that uses _dl_vdso_vsym.
71829         * Makerules (COMPILE.c, compile-stdin.c): New variables.
71830         * Makeconfig (object-suffixes-noshared): New variable.
71832         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
71833         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
71834         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
71835         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
71837         [BZ #14132]
71838         * include/sys/time.h (__gettimeofday): Remove macro.
71839         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
71840         * time/gettimeofday.c (__gettimeofday): Remove #undef.
71841         Remove INTDEF.
71842         (__gettimeofday): Add libc_hidden_def.
71843         (gettimeofday): Add libc_hidden_weak.
71844         * sysdeps/mach/gettimeofday.c: Likewise.
71845         * sysdeps/posix/gettimeofday.c: Likewise.
71846         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
71847         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
71848         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
71849         (__gettimeofday_internal): Remove strong_alias.
71850         (__gettimeofday): Add libc_hidden_def.
71851         (gettimeofday): Add libc_hidden_weak.
71852         * sysdeps/unix/syscalls.list (gettimeofday):
71853         Remove __gettimeofday_internal alias.
71855 2012-05-24  Daniel Jacobowitz  <drow@false.org>
71856             H.J. Lu  <hongjiu.lu@intel.com>
71858         [BZ #12495]
71859         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
71860         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
71861         (largebin_index_32_big): New.
71862         (largebin_index): Use it for 16-byte alignment.
71863         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
71864         correction with front_misalign.
71866 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
71869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
71870         Likewise.
71871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
71872         Likewise.
71873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71874         Likewise.
71875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
71876         Likewise.
71877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
71878         Likewise.
71879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
71880         Likewise.
71881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
71882         Likewise.
71883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
71884         Likewise.
71885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
71886         Likewise.
71887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
71888         Likewise.
71889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
71890         Likewise.
71891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71892         Likewise.
71894         * scripts/data/c++-types-x32-linux-gnu.data: New file.
71895         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
71897 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71899         [BZ #10846]
71900         [BZ #14036]
71901         * math/libm-test.inc (exp_test): Add test from bug 14036.
71902         (pow_test): Add test from bug 10846.
71904         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71905         and other flags.
71906         (special_function): Do not include flags in test name.
71907         (parse_args): Likewise.
71908         * sysdeps/i386/fpu/libm-test-ulps: Update.
71909         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71910         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
71911         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
71912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71914         * math/gen-libm-test.pl (%beautify): Add entries for underflow
71915         exceptions.
71916         * math/libm-test.inc ("Philosophy"): Update comment about
71917         exception testing.
71918         (UNDERFLOW_EXCEPTION): New macro.
71919         (UNDERFLOW_EXCEPTION_OK): Likewise.
71920         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
71921         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
71922         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
71923         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
71924         (INVALID_EXCEPTION_OK): Update value.
71925         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71926         (OVERFLOW_EXCEPTION_OK): Likewise.
71927         (IGNORE_ZERO_INF_SIGN): Likewise.
71928         (test_exceptions): Handle underflow exceptions.
71929         (acos_test): Update for underflow exception expectations.
71930         (cexp_test): Likewise.
71931         (clog_test): Likewise.
71932         (clog10_test): Likewise.
71933         (csqrt_test): Likewise.
71934         (ctan_test): Likewise.
71935         (ctanh_test): Likewise.
71936         (exp_test): Likewise.
71937         (exp10_test): Likewise.
71938         (exp2_test): Likewise.
71939         (expm1_test): Likewise.
71940         (fma_test): Likewise.
71941         (j0_test): Likewise.
71942         (jn_test): Likewise.
71943         (nexttoward_test): Likewise.
71944         (pow_test): Likewise.
71945         (scalbn_test): Likewise.
71946         (scalbln_test): Likewise.
71947         (tan_test): Likewise.
71948         (y1_test): Likewise.
71949         * sysdeps/i386/fpu/libm-test-ulps: Update.
71950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71952 2012-05-23  David S. Miller  <davem@davemloft.net>
71954         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71955         (__libc_sigaction): Remove unused local variables.
71957 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
71959         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
71961 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
71963         mktime: avoid signed integer overflow
71964         * time/mktime.c (__mktime_internal): Do not mishandle the case
71965         where diff == INT_MIN.
71967         mktime: simplify computation of average
71968         * time/mktime.c (ranged_convert): Use new time_t_avg function
71969         instead of rolling our own (probably-slower) code.
71971         mktime: do not assume signed right shift propagates sign bit
71972         * time/mktime.c (isdst_differ): New static function.
71973         (__mktime_internal): No need to normalize tm_isdst now.
71974         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
71975         tm_isdst values.
71977         mktime: merge another wrapv change from gnulib
71978         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
71979         from some compilers.
71981         mktime: remove incorrect attempt at unusual arithmetics
71982         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
71983         The code didn't really work on such machines anyway.
71984         (TYPE_MINIMUM): Assume two's complement.
71985         (twos_complement_arithmetic): Verify that long_int and time_t
71986         are two's complement (or unsigned, in the latter case).
71988         mktime: check signed shifts on long_int and time_t, too
71989         * time/mktime.c (SHR): Check that shifts work as desired
71990         on the types long_int and time_t too, as SHR is used on
71991         such types.
71993         mktime: do not assume 'long' is wide enough
71994         * time/mktime.c (verify): Move decl up.
71995         (long_int): New type.
71996         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
71997         to remove assumption in the code that 'long' is wide enough to
71998         store year values.  This assumption is not true on x32 and on
71999         some non-glibc platforms.
72001         mktime: merge wrapv change from gnulib
72002         * time/mktime.c (WRAPV): New macro.
72003         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72004         (guess_time_tm, __mktime_internal): Do not assume that signed
72005         integer overflow wraps around; modern compilers generate code
72006         where this assumption is no longer valid.
72008 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72010         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72011         Replace "jmp L(pseudo_end)" with "ret".
72012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72013         Likewise.
72015 2012-05-23  Andreas Jaeger  <aj@suse.de>
72017         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72018         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72020 2012-05-23  Andreas Jaeger  <aj@suse.de>
72021             Maximilian Attems  <max@stro.at>
72023         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72024         New macros.
72026 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72028         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72029         code so that pseudo_end is just ret and the stack pointer is
72030         correct also for static library in error case.
72032 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72034         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72035         move to syscalls.list.
72036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72041         * manual/install.texi (Running make install): Do not mention Linux
72042         kernel version for which pt_chown is not needed.
72043         (Linux): Do not mention problems with nscd with 2.0 kernels.
72044         * INSTALL: Regenerated.
72046 2012-05-23  Andreas Jaeger  <aj@suse.de>
72048         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72049         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72050         macro.
72051         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72052         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72053         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72054         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72055         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72056         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72057         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72058         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72059         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72060         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72061         * sysdeps/unix/sysv/linux/bits/in.h
72062         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72064 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72066         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72067         (PREPARE_VERSION): Just use assert instead, it will be elided
72068         under [NDEBUG] anyway.
72070 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72072         * sysdeps/unix/sysv/linux/Makefile: Include
72073         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72074         (sysdep_routines): Remove sysctl.
72075         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72076         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72077         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72078         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72079         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72081 2012-05-22  Andreas Jaeger  <aj@suse.de>
72083         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72084         that pseudo_end is just ret and the stack pointer is correct also
72085         for static library in error case.
72087 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72089         [BZ #14122]
72090         * nss/nsswitch.c (defconfig_entries): New variable.
72091         (__nss_database_lookup): Don't leak defconfig entries.
72092         (nss_parse_service_list): Don't leak on error paths.
72093         (free_database_entries): New function.
72094         (free_defconfig): New function.
72095         (free_mem): Move common code to free_database_entries.
72097 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72099         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72100         Add arch_prctl.
72101         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72103         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72104         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72106         New macro.
72107         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72108         (INTERNAL_SYSCALL_TYPES): Likewise.
72109         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72110         (LOAD_REGS_TYPES_[1-6]): Likewise.
72111         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72112         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72114 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72116         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72117         copysignl for GLIBC_2_0.
72118         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72119         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72121         logbl for GLIBC_2_0.
72122         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72123         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72125 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72128         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72130         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72131         Use "neg %eax".
72133         * time/mktime.c: Update copyright years.
72135 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72137         mktime: merge comment-quoting-style change from gnulib
72138         * time/mktime.c: Quote 'like this' in comments.
72139         The GNU coding standards suggest that we no longer quote `like this',
72140         as "`" and "'" are typically rendered asymmetrically nowadays.
72141         The typical gnulib style is to quote 'like this' when quoting
72142         code, and "like this" when quoting English.
72144         * time/mktime.c (compile-command): Add "-I.".
72146         mktime: merge mktime-internal.h change from gnulib
72147         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72149         mktime: merge time_r change from gnulib
72150         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72152         mktime: merge DEBUG change from gnulib
72153         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72154         case system <time.h> has a #define.
72156         mktime: merge <sys/types.h> change from gnulib
72157         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72158         since <time.t> is now guaranteed to define time_t.
72160         mktime: merge HAVE_CONFIG_H change from gnulib
72161         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72163 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72166         Use "neg %eax".
72168         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72169         __rlim_t cast.
72170         (struct rusage): Use anonymous union to pad each field to
72171         __syscall_slong_t.
72173 2012-05-21  David S. Miller  <davem@davemloft.net>
72175         * Makefules (o-iterator): Remove .s cases.
72176         (compile-command.s): Delete.
72177         (COMPILE.s): Delete.
72178         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72180 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72182         * configure.in (libc_cv_predef_stack_protector): Only consider
72183         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72184         * configure: Regenerated.
72186 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72189         New macro.  Use R*LP on int and pointer.
72190         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72191         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72192         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72193         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72195         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72196         [__WORDSIZE_TIME64_COMPAT32] instead of
72197         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72198         (struct utmp): Likewise.
72199         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72200         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72201         Renamed to ...
72202         (__WORDSIZE_TIME64_COMPAT32): This.
72203         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72204         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72205         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72206         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72207         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72208         (__WORDSIZE_TIME64_COMPAT32): New macro.
72210 2012-05-21  Andreas Jaeger  <aj@suse.de>
72212         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72213         only if [SHARED]. Add prototype for __wcschr_ia32.
72215 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72217         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72218         of %rbp unmolested in the jmp_buf while mangling the low bits.
72219         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72220         unmolested high bits of %rbp while demangling the low bits.
72221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72223 2012-05-21  Andreas Jaeger  <aj@suse.de>
72225         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72226         * sunrpc/svc_simple.c: Use it for registerrpc.
72227         * sunrpc/xcrypt.c: Use it for passwd2des.
72229         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72231 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72233         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72234         Don't define if [__SYSCALL_WORDSIZE != 32].
72235         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72236         New macro.
72238 2012-05-21  Bruno Haible  <bruno@clisp.org>
72239             Andreas Jaeger  <aj@suse.de>
72241         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72242         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72243         inptr and inend for must_buffer_ch.
72244         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72245         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72246         * stdio-common/Makefile (tests): Remove bug15.
72247         (bug15-ENV): Remove macro.
72248         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72249         anymore.
72251 2012-05-19  Andreas Jaeger  <aj@suse.de>
72252             Roland McGrath  <roland@hack.frob.com>
72254         * manual/contrib.texi: Completely rewritten. It contains now an
72255         alphabetical list of contributors and their contributions.
72257 2012-05-21  Richard Henderson  <rth@twiddle.net>
72259         * misc/getauxval.c (__getauxval): Use unsigned long int.
72260         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72261         (getauxval): Use unsigned long int.
72263 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72265         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72267 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72269         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72270         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72271         __alignof__ (long double).
72273 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72277 2012-05-20  Richard Henderson  <rth@twiddle.net>
72279         * misc/getauxval.c: New file.
72280         * misc/sys/auxv.h: New file.
72281         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72282         (routines): Add getauxval.
72283         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72284         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72285         * elf/dl-sysdep.c (_dl_auxv): Remove.
72286         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72287         * elf/dl-support.c (_dl_auxv): New variable.
72288         (_dl_aux_init): Initialize it.
72289         * manual/startup.texi (Auxiliary Vector): New node.
72290         * sysdeps/generic/bits/hwcap.h: New file.
72291         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72292         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72293         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72294         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72295         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72296         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72298         Update.
72299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72308 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72312 2012-05-19  David S. Miller  <davem@davemloft.net>
72314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72316 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72318         [BZ #14123]
72319         * math/s_ccosh.c: Include <float.h>
72320         (__ccosh): Avoid internal overflow calculating sinh and cosh
72321         values before multiplying by sin and cos values.
72322         * math/s_ccoshf.c: Likewise.
72323         * math/s_ccoshl.c: Likewise.
72324         * math/s_csin.c: Likewise.
72325         * math/s_csinf.c: Likewise.
72326         * math/s_csinl.c: Likewise.
72327         * math/s_csinh.c: Likewise.
72328         * math/s_csinhf.c: Likewise.
72329         * math/s_csinhl.c: Likewise.
72330         * math/libm-test.inc (ccos_test): Add more tests.
72331         (ccosh_test): Likewise.
72332         (csin_test): Likewise.
72333         (csinh_test): Likewise.
72334         * sysdeps/i386/fpu/libm-test-ulps: Update.
72335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72337 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
72339         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72340         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72342         * sysdeps/x86_64/x32/_itoa.h: Add comment.
72344 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72346         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72347         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72348         * sysdeps/powerpc/soft-fp/Versions: Likewise.
72349         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72350         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72351         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72352         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72353         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72354         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72355         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72356         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72357         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
72358         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
72359         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
72360         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
72361         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
72362         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
72363         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
72364         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
72365         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
72366         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
72367         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
72368         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
72369         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
72370         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
72371         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
72372         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
72373         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
72374         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
72375         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
72376         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
72378 2012-05-18  Andreas Jaeger  <aj@suse.de>
72380         * csu/.gitignore: Delete.
72382 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72384         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
72385         (timex): Use __syscall_slong_t.
72387 2012-05-18  Andreas Jaeger  <aj@suse.de>
72388             Carlos O'Donell  <carlos_odonell@mentor.com>
72390         * manual/install.texi (Configuring and compiling): Update
72391         description about files modified in the source directory.
72392         * INSTALL: Regenerated.
72394 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72396         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
72397         value.  Use "or" to set return value to -1.
72398         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
72399         negate return value.
72401 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72403         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
72404         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
72405         failure if the compiler has Graphite support disabled.
72406         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
72407         Likewise.
72408         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
72409         (CFLAGS-memmove.c): Likewise.
72410         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
72411         Likewise.
72413 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72415         * sysdeps/x86_64/x32/_itoa.h: New file.
72417         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
72418         getdents system call only if kernel and user dirents have the
72419         same d_ino and d_off.
72421         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72422         LLONG_MAX != LONG_MAX.
72423         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72424         (_fitoa_word): Likewise.
72426         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
72427         years.
72428         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
72429         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
72430         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
72432         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
72433         include <bits/wordsize.h>.  Check __x86_64__ instead of
72434         __WORDSIZE.
72435         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
72436         if __x86_64__ is defined.  Use anonymous union on fpstate.
72438         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
72439         anonymous union.
72441 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
72443         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
72444         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
72445         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
72446         Refer to _rtld_local_ro instead of _rtld_global_ro.
72447         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
72448         Likewise.
72449         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
72450         Likewise.
72451         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
72452         Likewise.
72453         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
72454         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
72455         of _rtld_global, and rtld_progname instead of _dl_argv[0].
72457         [BZ #10882]
72458         * sysdeps/powerpc/powerpc32/dl-machine.c
72459         (__elf_machine_runtime_setup) [PROF]: Don't reference
72460         _dl_prof_resolve.
72462 2012-05-18  Andreas Jaeger  <aj@suse.de>
72464         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
72465         function only available for GCCs before 3.4 since GCC 3.4
72466         introduced a builtin.
72467         (lrint): Likewise.
72468         (llrintf): Likewise.
72469         (llrint): Likewise.
72470         (fmaxf): Likewise.
72471         (fmax): Likewise.
72472         (fminf): Likewise.
72473         (fmin): Likewise.
72474         (rint): Likewise.
72475         (rintf): Likewise.
72476         (nearbyint): Likewise.
72477         (nearbyintf): Likewise.
72478         (ceil): Likewise.
72479         (ceilf): Likewise.
72480         (floor): Likewise.
72481         (floorf): Likewise.
72483 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72485         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
72486         on both fields and cast pointer to __syscall_ulong_t.
72488         * bits/types.h (__fsword_t): New type.
72489         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
72490         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
72491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72492         (__FSWORD_T_TYPE): Likewise.
72493         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72494         (__FSWORD_T_TYPE): Likewise.
72495         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72496         (__FSWORD_T_TYPE): Likewise.
72497         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
72498         (__FSWORD_T_TYPE): Likewise.
72499         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
72500         __SWORD_TYPE with __fsword_t.
72501         (statfs64): Likewise.
72503 2012-05-17  David S. Miller  <davem@davemloft.net>
72505         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
72507 2012-05-17  Andreas Jaeger  <aj@suse.de>
72509         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
72510         warning.
72512 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72514         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
72516 2012-05-17  Andreas Jaeger  <aj@suse.de>
72518         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
72519         when it is used.
72521 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72523         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
72525 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72527         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
72528         * sysdeps/x86_64/tst-mallocalign1.c: New file.
72530 2012-05-17  Andreas Jaeger  <aj@suse.de>
72531             Carlos O'Donell  <carlos_odonell@mentor.com>
72533         [BZ #14059]
72534         * sysdeps/x86_64/multiarch/init-arch.h
72535         (bit_YMM_Usable): Rename to...
72536         (bit_AVX_Usable): ... this.
72537         (bit_FMA4_Usable): New macro.
72538         (bit_XMM_state): New macro.
72539         (bit_YMM_state): New macro.
72540         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
72541         [__ASSEMBLER__] (index_AVX_Usable): ... this.
72542         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
72543         (CPUID_OSXSAVE): New macro.
72544         (CPUID_AVX): New macro.
72545         (CPUID_FMA4): New macro.
72546         (index_YMM_Usable): Rename to...
72547         (index_AVX_Usable): ... this.
72548         (HAS_AVX): Use HAS_ARCH_FEATURE.
72549         (HAS_FMA4): Likewise.
72550         (HAS_YMM_USABLE): Remove.
72551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72552         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
72553         are present.
72554         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
72555         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
72556         * sysdeps/x86_64/multiarch/Makefile: Likewise.
72557         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
72558         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
72560 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72562         * math/libm-test.c: Support platforms without multiple rounding modes.
72563         * math/bug-nextafter.c: Support platforms without FP exceptions.
72564         * math/bug-nexttoward.c: Likewise.
72565         * math/test-fenv.c: Likewise.
72566         * math/test-misc.c: Likewise.
72567         * stdlib/bug-getcontext.c: Likewise.
72569 2012-05-17  Andreas Jaeger  <aj@suse.de>
72571         * manual/examples/search.c (critter_cmp): Change signature to
72572         avoid warnings.
72573         * manual/string.texi (Collation Functions): Likewise.
72575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72577         * bits/types.h: Fold copyright years.
72578         * bits/typesizes.h: Likewise.
72579         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
72580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
72581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
72582         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
72583         * time/time.h: Likewise.
72585 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
72587         [BZ #208]
72588         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
72589         in instead of returning them.  Return void.
72590         (__libc_mallinfo): Accumulate over all arenas.
72591         (__malloc_stats): Adjust for change in int_mallinfo interface.
72593 2012-05-16  Roland McGrath  <roland@hack.frob.com>
72595         [BZ #10375]
72596         * configure.in (NM): Add AC_CHECK_TOOL for it.
72597         (libc_extra_cflags): New substituted variable.
72598         Check for -fstack-protector being used implicitly.
72599         * configure: Regenerated.
72600         * config.make.in (config-extra-cflags): New variable,
72601         gets @libc_extra_cflags@.
72602         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
72604         [BZ #10375]
72605         * configure.in: Check for _FORTIFY_SOURCE being predefined.
72606         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
72607         * configure: Regenerated.
72608         * config.make.in (CPPUNDEFS): New substituted variable.
72609         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
72610         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
72611         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
72613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72615         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
72616         (mq_attr): Use __syscall_slong_t.
72618 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72620         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
72621         Check __x86_64__ instead of __WORDSIZE.
72622         (_STAT_VER_LINUX): Likewise.
72623         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
72624         __syscall_ulong_t and __syscall_slong_t.
72625         (stat64): Likewise.
72627 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72629         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
72631 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72633         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
72635 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72637         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
72638         __syscall_ulong_t.
72640         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
72641         include <bits/wordsize.h>.  Check __x86_64__ instead of
72642         __WORDSIZE.
72643         (greg_t): Use "__extension__ long long int" if __x86_64__ is
72644         defined.
72645         (mcontext_t): Replace "unsigned long" with "unsigned long long".
72647         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
72648         include <bits/wordsize.h>.  Check __x86_64__ instead of
72649         __WORDSIZE.
72650         (user_regs_struct): Use "__extension__ unsigned long long"
72651         instead of "unsigned long" if __x86_64__ is defined.
72652         (user): Likewise.  Pad after pointer field if __ILP32__ is
72653         defined.
72655 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
72657         * configure.in (makeinfo): Require version 4.5 or later.  Allow
72658         versions 5 to 9.
72659         * configure: Regenerated.
72660         * manual/install.texi (texinfo): Increase version requirement to
72661         4.5 or later.
72662         * INSTALL: Regenerated.
72664         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
72666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72668         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
72670         * sysdeps/x86_64/x32/ffs.c: New file.
72672         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
72673         __syscall_ulong_t.
72674         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
72675         defined.  Use __syscall_ulong_t.
72676         (shminfo): Use __syscall_ulong_t.
72677         (shm_info): Likewise.
72679         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
72680         __syscall_ulong_t.
72682         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
72683         <bits/wordsize.h>.
72684         (msgqnum_t): Use __syscall_ulong_t.
72685         (msglen_t): Likewise.
72686         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
72687         __syscall_ulong_t.
72689         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
72690         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72692         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
72694         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
72695         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
72697         * sysvipc/sys/msg.h (msgbuf): Replace long int with
72698         __syscall_slong_t.
72700         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
72701         include <bits/wordsize.h>.  Check __x86_64__ instead of
72702         __WORDSIZE.
72704         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
72705         "unsigned long long int" if __x86_64__ is defined.
72706         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
72708         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
72709         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72710         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
72712         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
72713         <stdint.h>.
72714         (GET_PC): Cast to uintptr_t first.
72715         (GET_FRAME): Likewise.
72716         (GET_STACK): Likewise.
72718         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
72719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
72720         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
72721         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
72722         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
72723         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
72724         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
72725         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
72726         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
72727         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
72728         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
72729         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
72730         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72731         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
72732         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
72733         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
72734         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
72735         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
72736         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
72737         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
72738         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
72739         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
72740         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
72741         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
72742         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
72743         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
72744         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
72745         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
72746         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
72748 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
72750         * Makerules (+depfiles): Also collect depfiles from .oS in
72751         $(extra-objs).
72752         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
72753         .oS, $(libnldbl-routines)).
72755         * Makerules (native-compile-mkdep-flags): Define.
72756         * sunrpc/Makefile (extra-objs): Add $(addprefix
72757         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
72758         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
72759         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
72760         calling $(make-target-directory).
72762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72764         * bits/types.h (__snseconds_t): Removed.
72765         * time/time.h (struct timespec): Replace __snseconds_t with
72766         __syscall_slong_t.
72767         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
72768         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
72769         Likewise.
72770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72771         (__SNSECONDS_T_TYPE): Likewise.
72772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72773         (__SNSECONDS_T_TYPE): Likewise.
72774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72775         (__SNSECONDS_T_TYPE): Likewise.
72777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72779         * sysdeps/mach/hurd/bits/typesizes.h
72780         (__SYSCALL_SLONG_TYPE): New macro.
72781         (__SYSCALL_ULONG_TYPE): Likewise.
72783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72785         * bits/types.h (__syscall_slong_t): New type.
72786         (__syscall_ulong_t): Likewise.
72788         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
72789         (__SYSCALL_ULONG_TYPE): Likewise.
72790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72791         (__SYSCALL_SLONG_TYPE): Likewise.
72792         (__SYSCALL_ULONG_TYPE): Likewise.
72793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72794         (__SYSCALL_SLONG_TYPE): Likewise.
72795         (__SYSCALL_ULONG_TYPE): Likewise.
72796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72797         (__SYSCALL_SLONG_TYPE): Likewise.
72798         (__SYSCALL_ULONG_TYPE): Likewise.
72800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72802         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
72803         Add sigaltstack-offsets.sym.
72804         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
72805         <sigaltstack-offsets.h>.
72806         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
72807         longjmp_msg pointer.
72808         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
72809         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
72810         signal stack.
72811         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
72813 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
72815         * elf/stackguard-macros.h: Remove file.
72816         * sysdeps/generic/stackguard-macros.h: New file.
72817         * sysdeps/i386/stackguard-macros.h: Likewise.
72818         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
72819         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
72820         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
72821         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
72822         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
72823         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
72824         * sysdeps/x86_64/stackguard-macros.h: Likewise.
72825         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
72826         <elf/stackguard-macros.h>.
72828         [BZ #14109]
72829         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
72830         __aligned__ in attribute.
72831         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
72832         (gregset_t): Likewise.
72834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72836         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
72837         * sysdeps/x86_64/64/Implies-after: Here.  New file.
72838         * sysdeps/x86_64/x32/Implies-after: New file.
72840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72842         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
72843         and access return value for _dl_profile_fixup.  Use R10_LP to
72844         load frame size.
72846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72848         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
72850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72852         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
72853         * sysdeps/x86_64/x32/sysdep.h: New file.
72855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72857         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
72858         * sysdeps/x86_64/setjmp.S: Likewise.
72860 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72862         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
72863         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
72864         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
72865         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
72866         remove unused global constant.
72868 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
72870         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72871         include of <not-cancel.h>.
72873 2012-05-15  Roland McGrath  <roland@hack.frob.com>
72875         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
72877 2012-05-15  Jeff Law  <law@redhat.com>
72878             Andreas Jaeger  <aj@suse.de>
72880         [BZ #13594]
72881         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
72882         out from...
72883         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
72884         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
72885         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
72886         code changing __hst_map_handle.map.
72888 2012-05-15  Roland McGrath  <roland@hack.frob.com>
72890         * configure.in (sysnames): Look for Implies-before and Implies-after
72891         files.
72892         * configure: Regenerated.
72894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72896         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
72897         8-byte data alignment with LP_SIZE alignment.
72899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72901         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
72902         into R10_LP.
72904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72906         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
72908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72910         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72911         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
72912         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
72913         Likewise.
72914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72918         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
72919         (stackinfo_sub_sp): Likewise.
72921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72923         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
72924         RAX_LP.
72926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72928         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
72929         into R*_LP.
72931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72933         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
72934         sizes into R*_LP.
72936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72938         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
72940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72942         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
72943         into R11_LP and load __x86_64_shared_cache_size_half into
72944         R8_LP.
72946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72948         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
72949         R8_LP.
72951 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
72954         logb for POWER7.
72955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
72956         logbf for POWER7.
72957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
72958         logbl for POWER7.
72959         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
72960         powerpc32/power7/fpu/s_logb.c via #include.
72961         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
72962         powerpc32/power7/fpu/s_logbf.c via #include.
72963         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
72964         powerpc32/power7/fpu/s_logbl.c via #include.
72966 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
72968         * README.libm: Remove file.
72970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72972         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
72973         count for x32.  Use R*_LP and omit operand-size suffix.
72975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72977         * shlib-versions: Move x86_64-.*-linux.* entries to ...
72978         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
72979         * sysdeps/x86_64/x32/shlib-versions: New file.
72981 2012-05-14  Roland McGrath  <roland@hack.frob.com>
72983         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
72984         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
72985         Use _dl_fatal_printf instead.
72987 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
72989         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
72990         set if not set by the user.  Do not allow for being unset.
72991         * sysdeps/unix/sysv/linux/configure: Regenerated.
72993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72995         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
72996         the `q' suffix from lea and replace .quad with ASM_ADDR.
72998 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73000         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73001         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73002         instead of $17.
73003         (PTR_DEMANGLE): Likewise.
73005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73007         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73008         (LP_OP): Likewise.
73009         (ASM_ADDR): Likewise.
73010         (RAX_LP): Likewise.
73011         (RBP_LP): Likewise.
73012         (RBX_LP): Likewise.
73013         (RCX_LP): Likewise.
73014         (RDI_LP): Likewise.
73015         (RSI_LP): Likewise.
73016         (RSP_LP): Likewise.
73017         (R8_LP): Likewise.
73018         (R9_LP): Likewise.
73019         (R10_LP): Likewise.
73020         (R10_LP): Likewise.
73021         (R11_LP): Likewise.
73022         (R12_LP): Likewise.
73023         (R13_LP): Likewise.
73024         (R14_LP): Likewise.
73025         (R15_LP): Likewise.
73027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73029         * sysdeps/x86_64/x32/dl-machine.h: New file.
73031 2012-05-14  Andreas Jaeger  <aj@suse.de>
73033         * manual/Makefile (subdir): Remove export of subdir.
73034         (all): Remove target.
73035         (.PHONY): Remove all from list.
73036         (mkinstalldirs): Remove.
73037         (.PHONY): Remove installdirs from list.
73038         ($(inst_infodir)/libc.info): Use make-target-directory.
73039         (installdirs): Remove.
73040         (subdir_%): Remove.
73041         (glibc-targets): Remove.
73042         (lib): Remove.
73043         (stubs): Remove.
73044         ($(objpfx)stubs ../po/manual.pot): Remove.
73045         ($(objpfx)stamp%): Remove.
73046         (make-target-directory): Remove.
73047         (subdir_install): Remove.
73048         (routines): Remove.
73049         (aux): Remove.
73050         (sources): Remove.
73051         (objects): Remove.
73052         (headers): Remove.
73054         [BZ #13750]
73055         * manual/.gitignore: Remove, it's not needed anymore.
73056         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73057         all files in it.
73058         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73059         directory.
73060         (texis): Renamed to $(objpfx)texis.
73061         (texis-path): New, contains path to generated files.
73062         (chapters.%): Use texis-path for complete path, add extra argument
73063         libc-texinfo.sh.
73064         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73065         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73066         (summary,texi, stamp-summary): Use complete path of
73067         files. Generate files in build dir.
73068         (dir-add.texi): Build in build dir.
73069         (libm-err.texi,stamp-libm-err): Likewise.
73070         (version.texi, stamp-version): Likewise.
73071         (.%c.texi): Likewise.
73072         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73073         (mostlyclean): Remove target.
73074         (realclean): Remove target.
73075         (generated): Add new variable with contents from mostlyclean and
73076         realclean, remove entries duplicated in common-mostlyclean, add
73077         stamp-libm-err and stamp-version.
73078         (generated-dirs): Add libc directory.
73079         ($(inst_infodir)/libc.info): Install files from build dir.
73081         * manual/install.texi (Configuring and compiling): Adjust since
73082         the info files are not part of the tar ball anymore.
73084 2012-05-14  Andreas Jaeger  <aj@suse.de>
73086         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73087         variable.
73089 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73091         [BZ #13717]
73092         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73093         to 2.2.0 where earlier.
73094         * sysdeps/unix/sysv/linux/configure: Regenerated.
73095         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73096         Remove conditional code.
73097         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73098         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73099         Remove conditional code.
73100         [!__NR_lchown]: Likewise.
73101         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73102         [__NR_lchown]: Likewise.
73103         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73104         comment referencing __ASSUME_LCHOWN_SYSCALL.
73105         * sysdeps/unix/sysv/linux/i386/sigaction.c
73106         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73107         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73108         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73109         Remove conditional code.
73110         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73111         (__protocol_available): Remove #if 0 code.
73112         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73113         conditional code.
73114         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73115         * sysdeps/unix/sysv/linux/kernel-features.h
73116         (__ASSUME_GETCWD_SYSCALL): Don't define.
73117         (__ASSUME_REALTIME_SIGNALS): Likewise.
73118         (__ASSUME_PREAD_SYSCALL): Likewise.
73119         (__ASSUME_PWRITE_SYSCALL): Likewise.
73120         (__ASSUME_POLL_SYSCALL): Likewise.
73121         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73122         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73123         non-SPARC.
73124         (__ASSUME_SIOCGIFNAME): Don't define.
73125         (__ASSUME_MSG_NOSIGNAL): Likewise.
73126         (__ASSUME_SENDFILE): Define unconditionally.
73127         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73128         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73129         conditional code.
73130         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73131         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73132         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73133         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73134         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73135         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73136         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73138         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73139         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73141         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73142         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73144         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73145         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73147         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73150         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73151         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73153         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73154         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73156         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73159         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73161         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73162         Remove conditional code.
73163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73164         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73165         Remove conditional code.
73166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73167         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73168         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73169         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73170         Remove conditional code.
73171         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73172         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73173         Remove conditional code.
73174         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73175         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73176         Remove conditional code.
73177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73178         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73179         Remove conditional code.
73180         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73181         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73182         Remove conditional code.
73183         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73184         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73185         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73186         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73187         * sysdeps/unix/sysv/linux/sigaction.c
73188         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73189         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73190         * sysdeps/unix/sysv/linux/sigpending.c
73191         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73192         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73193         * sysdeps/unix/sysv/linux/sigprocmask.c
73194         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73195         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73196         * sysdeps/unix/sysv/linux/sigsuspend.c
73197         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73198         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73199         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73200         (__libc_missing_rt_sigs): Remove.
73201         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73202         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73203         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73204         Remove conditional code.
73205         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73206         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73207         return 1.
73208         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73209         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73210         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73211         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73213 2012-05-14  Andreas Jaeger  <aj@suse.de>
73215         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73216         it's not used in glibc.
73217         (__coshm1): Likewise.
73218         (__acosh1p): Likewise.
73219         (__sgn): Likewise.
73221         * manual/string.texi (Copying and Concatenation): Add missing
73222         variable in concat example.
73223         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73227         [BZ #14103]
73228         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73229         __builtin_clzl with __builtin_clzll.
73231 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73233         [BZ #14104]
73234         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73235         libc_freeres_ptr.
73237 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73239         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73240         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73241         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73242         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73244 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73246         * NEWS: Update ia64 info.
73248 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73250         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73251         used as bcopy.
73253 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73255         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73256         * sysdeps/unix/syscalls.list (dup3): Likewise.
73257         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73258         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73260 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73262         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73263         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73265 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73267         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73268         thread pointer.
73269         (TLS_IE): Use mov/add instead of movq/addq to load thread
73270         pointer.
73271         (TLS_GD_PREFIX): New.
73272         (TLS_GD): Use it.
73274 2012-05-11  David S. Miller  <davem@davemloft.net>
73276         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73277         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73278         (_FPU_SETCW): Likewise.
73280 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73282         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73283         is 32-byte aligned.
73285 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73287         [BZ #11837]
73288         * iconvdata/gb18030.c: Update tables.
73289         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73290         characters specially.
73291         (BODY for TO_LOOP): Add encoding of missing ranges.
73293 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73295         [BZ #13673]
73296         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73297         * sysdeps/mach/hurd/dup3.c: Likewise.
73298         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73299         * sysdeps/powerpc/memmove.c:: Likewise.
73301 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73303         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73304         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73306 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73308         * elf/elf.h (R_X86_64_RELATIVE64): New.
73309         (R_X86_64_NUM): Updated.
73310         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73311         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73312         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73313         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73314         tst-quad1pie tst-quad2pie
73315         (modules-names): Add tst-quadmod1 tst-quadmod2.
73316         ($(objpfx)tst-quad1): New dependency.
73317         ($(objpfx)tst-quad2): Likewise.
73318         ($(objpfx)tst-quad1pie): Likewise.
73319         ($(objpfx)tst-quad2pie): Likewise.
73320         * sysdeps/x86_64/tst-quad1.c: New file.
73321         * sysdeps/x86_64/tst-quad1pie.c: New file.
73322         * sysdeps/x86_64/tst-quad2.c: Likewise.
73323         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73324         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73325         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73326         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73327         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73331         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73332         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73333         * streams/stropts.h (t_scalar_t): Define type.
73335         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73336         (_PATH_PRESERVE): Set to "/var/lib".
73337         (_PATH_RWHODIR): Set to "/var/spool/rwho".
73339         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73340         instead of int.
73342         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73343         if __dir_mkfile succeeded.
73345         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73346         checking for _hurd_dtablesize.  Unlock it right after having
73347         finished _hurd_dtable allocation.
73349 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73351         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73352         * sysdeps/mach/hurd/configure: Regenerated.
73353         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73354         special-casing to...
73355         * sysdeps/gnu/configure.in: ... this new file.
73356         * sysdeps/unix/sysv/linux/configure: Regenerated.
73357         * sysdeps/gnu/configure: New generated file.
73359         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
73360         for Linux: use nsec instead of usec, as well as:
73361         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
73362         members of type struct timespec.
73363         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
73364         New macros.
73365         (struct stat64): Likewise.
73366         (_STATBUF_ST_NSEC): New macro.
73367         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
73369         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73370         __strtoul_internal rather than strtoul.
73372 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73374         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
73375         and reject them.
73377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73379         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
73380         which preserves existing values.
73381         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
73383 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73385         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
73386         TIMEOUT values.  Return EINVAL for NFDS values either negative or
73387         greater than FD_SETSIZE.
73389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73391         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
73392         allocated, call __vm_protect to finish enabling the existing space, and
73393         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
73394         allocate the remainder.
73396 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73398         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
73399         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
73401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73403         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
73404         sysdeps/mach/hurd/readlink.c.
73406         * posix/tst-sysconf.c (posix_options): Only use
73407         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
73408         _POSIX_SYNCHRONIZED_IO when they are defined
73409         * sysdeps/mach/hurd/bits/posix_opt.h:
73410         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
73411         (_XOPEN_REALTIME): Undefine macro.
73412         (_XOPEN_REALTIME_THREADS): Undefine macro.
73413         (_XOPEN_SHM): Undefine macro.
73414         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
73415         macro to -1.
73416         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
73417         macro to -1.
73418         (_POSIX_ASYNC_IO): Undefine macro.
73419         (_POSIX_PRIORITIZED_IO): Undefine macro.
73420         (_POSIX_SPIN_LOCKS): Define macro to -1.
73422         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
73423         SA_NODEFER, SA_RESETHAND.
73424         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
73425         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
73426         F_DUPFD_CLOEXEC.
73428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73430         * elf/Makefile (pldd-modules): Define unconditionally.
73432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73434         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
73436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73438         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73439         Return ENOENT when name is empty.
73440         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
73442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73444         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
73446         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
73448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73450         Fix mlock in all cases except non-readable pages.
73451         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
73452         instead of VM_PROT_ALL as parameter to __vm_wire function.
73454         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73455         (__mkdir): When path is `/', just fail with EEXIST.
73456         * sysdeps/mach/hurd/mkdirat.c: Likewise.
73458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73460         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
73461         <sys/uio.h> (for writev).
73462         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
73463         and <sys/param.h> (for MIN).
73465 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73467         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
73468         REQUESTED_TIME.  Properly set the remaining time and return EINTR
73469         if interrupted.
73471 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73473         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
73474         Depend on against $(link-rpcuserlibs).
73476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73478         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
73479         (__libc_stack_end): Do not use attribute_relro.
73480         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
73481         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
73482         to libthread-provided value.
73483         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
73484         attribute_relro.
73486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73488         [BZ #3748]
73489         * bits/libc-lock.h (__libc_once_get): New macro.
73490         * sysdeps/mach/bits/libc-lock.h: Likewise.
73491         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
73492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
73493         instead of using implementation details.
73495         * libio/fileops.c: Unconditionally include <kernel-features.h>.
73496         * libio/freopen.c: Likewise.
73497         * libio/freopen64.c: Likewise.
73498         * misc/syslog.c: Likewise.
73499         * nscd/connections.c: Likewise.
73500         * nscd/netgroupcache.c: Likewise.
73501         * sysdeps/posix/getcwd.c: Likewise.
73503 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73505         * math/w_ilogbf.c: Add #include <limits.h>.
73507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73509         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
73510         path instead of returning without unlocking.
73512         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
73513         immediate-write ioctls.
73514         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
73516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73518         * sysdeps/mach/hurd/i386/init-first.c (init): Use
73519         __builtin_frame_address instead of making assumptions about the
73520         location of the return address relative to DATA.  Force early load of
73521         the return address.
73522         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
73523         __builtin_frame_address.
73525         dup3 for GNU Hurd.
73526         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
73527         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
73528         implement dup3 and do some further code clean-ups.
73529         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
73530         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
73532 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73534         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
73536         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
73537         HURD_CRITICAL_END around holding _hurd_dtable_lock.
73538         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
73539         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
73540         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
73541         d->port.lock.
73543         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
73544         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
73545         when handler == SIG_ERR, not when handler != SIG_ERR.
73547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73549         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
73550         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
73551         definitions.
73553         accept4 for GNU Hurd.
73554         * include/sys/socket.h (__libc_accept4): New prototype.
73555         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
73556         to implement __libc_accept4.
73557         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
73558         __libc_accept4.
73559         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
73561         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
73562         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
73563         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
73564         signal-defines.sym.
73566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73568         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
73570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73572         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
73573         assertion on O_CLOEXEC flag.
73574         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
73575         * hurd/intern-fd.c: Likewise.
73576         * hurd/port2fd.c: Likewise.
73578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73580         [BZ #3906]
73581         * bits/in.h (IPV6_PKTINFO): Define new macro.
73582         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
73584 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73586         [BZ #13954]
73587         [BZ #13955]
73588         [BZ #13956]
73589         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
73590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73591         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
73592         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73594         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73595         * math/libm-test.inc (logb_test) : Additional logb tests.
73597 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
73598             Andreas Jaeger  <aj@suse.de>
73600         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
73601         * configure: Regenerated.
73602         * config.h.in (LINK_OBSOLETE_RPC): New macro.
73603         * config.make.in (link-obsolete-rpc): New substituted variable.
73604         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
73605         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
73606         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73607         (shared-only-routines): Don't set it under [link-obsolete-rpc],
73608         so that libc.a contains the symbols.
73609         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73610         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
73611         * sunrpc/auth_none.c: Likewise.
73612         * sunrpc/auth_unix.c: Likewise.
73613         * sunrpc/authdes_prot.c: Likewise.
73614         * sunrpc/authuxprot.c: Likewise.
73615         * sunrpc/clnt_gen.c: Likewise.
73616         * sunrpc/clnt_perr.c: Likewise.
73617         * sunrpc/clnt_raw.c: Likewise.
73618         * sunrpc/clnt_simp.c: Likewise.
73619         * sunrpc/clnt_tcp.c: Likewise.
73620         * sunrpc/clnt_udp.c: Likewise.
73621         * sunrpc/clnt_unix.c: Likewise.
73622         * sunrpc/des_crypt.c: Likewise.
73623         * sunrpc/des_soft.c: Likewise.
73624         * sunrpc/get_myaddr.c: Likewise.
73625         * sunrpc/key_call.c: Likewise.
73626         * sunrpc/key_prot.c: Likewise.
73627         * sunrpc/netname.c: Likewise.
73628         * sunrpc/pm_getmaps.c: Likewise.
73629         * sunrpc/pm_getport.c: Likewise.
73630         * sunrpc/pmap_clnt.c: Likewise.
73631         * sunrpc/pmap_prot.c: Likewise.
73632         * sunrpc/pmap_prot2.c: Likewise.
73633         * sunrpc/pmap_rmt.c: Likewise.
73634         * sunrpc/publickey.c: Likewise.
73635         * sunrpc/rpc_cmsg.c: Likewise.
73636         * sunrpc/rpc_common.c: Likewise.
73637         * sunrpc/rpc_dtable.c: Likewise.
73638         * sunrpc/rpc_prot.c: Likewise.
73639         * sunrpc/rpc_thread.c: Likewise.
73640         * sunrpc/rtime.c: Likewise.
73641         * sunrpc/svc.c: Likewise.
73642         * sunrpc/svc_auth.c: Likewise.
73643         * sunrpc/svc_raw.c: Likewise.
73644         * sunrpc/svc_run.c: Likewise.
73645         * sunrpc/svc_tcp.c: Likewise.
73646         * sunrpc/svc_udp.c: Likewise.
73647         * sunrpc/svc_unix.c: Likewise.
73648         * sunrpc/svcauth_des.c: Likewise.
73649         * sunrpc/xcrypt.c: Likewise.
73650         * sunrpc/xdr.c: Likewise.
73651         * sunrpc/xdr_array.c: Likewise.
73652         * sunrpc/xdr_float.c: Likewise.
73653         * sunrpc/xdr_intXX_t.c: Likewise.
73654         * sunrpc/xdr_mem.c: Likewise.
73655         * sunrpc/xdr_rec.c: Likewise.
73656         * sunrpc/xdr_ref.c: Likewise.
73657         * sunrpc/xdr_sizeof.c: Likewise.
73658         * sunrpc/xdr_stdio.c: Likewise.
73660 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73662         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
73663         change.  Update copyright years.
73665 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
73667         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
73669 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
73670             Joseph Myers  <joseph@codesourcery.com>
73671             Paul Pluzhnikov  <ppluzhnikov@google.com>
73673         [BZ #14012]
73674         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
73675         requiring rpcgen.
73676         [cross-compiling] (extra-libs): Likewise.
73677         [cross-compiling] (extra-libs-others): Likewise.
73678         [cross-compiling] (librpcsvc-routines): Likewise.
73679         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
73680         [cross-compiling] (omit-deps): Likewise.
73681         (sunrpc-CPPFLAGS): New variable.
73682         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
73683         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
73684         (cross-rpcgen-objs): New variable.
73685         (extra-objs): Append $(cross-rpcgen-objs).
73686         ($(cross-rpcgen-objs)): New rule.
73687         ($(objpfx)cross-rpcgen): Likewise.
73688         (rpcgen-cmd): Define to use $(built-program-file).  Expand
73689         comment.
73690         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
73691         ($(objpfx)x%.stmp): Likewise.
73692         * sunrpc/proto.h [IS_IN_build] (_): Define.
73693         [IS_IN_build] (_libc_intl_domainname): Likewise.
73695 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73697         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
73698         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
73699         and R_X86_64_TPOFF64.
73701 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
73703         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
73704         sysdeps/unix/sysv/syscalls.list.
73705         (stime): Likewise.
73706         (utime): Likewise.
73707         * sysdeps/unix/sysv/syscalls.list: Remove file.
73709 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
73711         [BZ #3440]
73712         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
73713         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
73714         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
73715         (__LC_IDENTIFICATION): Make these macros useful in #if
73716         expressions, as required by C99.
73718 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
73720         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
73721         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
73722         after this.
73724 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
73726         * stdlib/longlong.h: Updated from GCC.
73728 2012-05-09  Andreas Jaeger  <aj@suse.de>
73730         * nscd/nscd.c (run_modes): Make named enum, reorder so that
73731         default is first entry.
73732         (run_mode): Set type.
73733         (main): Remove informal message about syslog.
73734         (options): Fix typo.
73736         [BZ #14053]
73737         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
73738         to asm.
73739         (lrint): Likewise.
73740         (llrintf): Likewise.
73741         (llrint): Likewise.
73742         (rint): Likewise.
73743         (rintf): Likewise.
73744         (nearbyint): Likewise.
73745         (nearbyintf): Likewise.
73747 2012-05-09  Andreas Jaeger  <aj@suse.de>
73748             Pedro Alves  <palves@redhat.com>
73750         * nscd/nscd.c (run_mode): Use enum.
73751         (main): Cleanup coding style issue.
73753 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
73754             Andreas Jaeger  <aj@suse.de>
73756         * nscd/nscd.c (go_background): Replaced with...
73757         (run_mode): ... this.
73758         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
73759         (options): Add -F --foreground.
73760         (main): Implement it.
73761         (parse_opt): Parse it.
73763 2012-05-09  Andreas Jaeger  <aj@suse.de>
73765         [BZ #14083]
73766         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
73767         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
73768         -Wconversion warning.
73769         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
73770         Likewise.
73772 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
73774         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
73775         == 0.
73776         (LC_ALL): Use macro-int-constant.
73777         (LC_COLLATE): Likewise.
73778         (LC_CTYPE): Likewise.
73779         (LC_MESSAGES): Likewise.
73780         (LC_MONETARY): Likewise.
73781         (LC_NUMERIC): Likewise.
73782         (LC_TIME): Likewise.
73783         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
73784         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73785         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73786         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
73787         Specify type.
73788         [C99-based standards] (float_t): Expect type.
73789         [C99-based standards] (double_t): Expect type.
73790         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
73791         type.
73792         [C99-based standards] (HUGE_VALL): Likewise.
73793         [C99-based standards] (INFINITY): Likewise.
73794         [C99-based standards] (NAN): Likewise.
73795         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
73796         [C99-based standards] (FP_NAN): Likewise.
73797         [C99-based standards] (FP_NORMAL): Likewise.
73798         [C99-based standards] (FP_SUBNORMAL): Likewise.
73799         [C99-based standards] (FP_ZERO): Likewise.
73800         [C99-based standards] (FP_FAST_FMA): Use
73801         optional-macro-int-constant.  Specify type.  Require == 1.
73802         [C99-based standards] (FP_FAST_FMAF): Likewise.
73803         [C99-based standards] (FP_FAST_FMAL): Likewise.
73804         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
73805         [C99-based standards] (FP_ILOGBNAN): Likewise.
73806         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
73807         Specify type.
73808         [C99-based standards] (MATH_ERREXCEPT): Likewise.
73809         [C99-based standards] (math_errhandling): Specify type.
73810         [ISO99 || ISO11] (signgam): Do not allow.
73811         [non-C99-based standards] (copysignf): Do not allow.
73812         [non-C99-based standards] (exp2f): Likewise.
73813         [non-C99-based standards] (log2f): Likewise.
73814         [non-C99-based standards] (modff): Allow.
73815         [non-C99-based standards] (erff): Do not allow.
73816         [non-C99-based standards] (erfcf): Likewise.
73817         [non-C99-based standards] (gammaf): Likewise.
73818         [non-C99-based standards] (hypotf): Likewise.
73819         [non-C99-based standards] (j0f): Likewise.
73820         [non-C99-based standards] (j1f): Likewise.
73821         [non-C99-based standards] (jnf): Likewise.
73822         [non-C99-based standards] (lgammaf): Likewise.
73823         [non-C99-based standards] (tgammaf): Likewise.
73824         [non-C99-based standards] (y0f): Likewise.
73825         [non-C99-based standards] (y1f): Likewise.
73826         [non-C99-based standards] (ynf): Likewise.
73827         [non-C99-based standards] (isnanf): Likewise.
73828         [non-C99-based standards] (acoshf): Likewise.
73829         [non-C99-based standards] (asinhf): Likewise.
73830         [non-C99-based standards] (atanhf): Likewise.
73831         [non-C99-based standards] (cbrtf): Likewise.
73832         [non-C99-based standards] (expm1f): Likewise.
73833         [non-C99-based standards] (ilogbf): Likewise.
73834         [non-C99-based standards] (log1pf): Likewise.
73835         [non-C99-based standards] (logbf): Likewise.
73836         [non-C99-based standards] (nextafterf): Likewise.
73837         [non-C99-based standards] (remainderf): Likewise.
73838         [non-C99-based standards] (rintf): Likewise.
73839         [non-C99-based standards] (scalbf): Likewise.
73840         [non-C99-based standards] (copysignl): Likewise.
73841         [non-C99-based standards] (exp2l): Likewise.
73842         [non-C99-based standards] (log2l): Likewise.
73843         [non-C99-based standards] (modfl): Allow.
73844         [non-C99-based standards] (erfl): Do not allow.
73845         [non-C99-based standards] (erfcl): Likewise.
73846         [non-C99-based standards] (gammal): Likewise.
73847         [non-C99-based standards] (hypotl): Likewise.
73848         [non-C99-based standards] (j0l): Likewise.
73849         [non-C99-based standards] (j1l): Likewise.
73850         [non-C99-based standards] (jnl): Likewise.
73851         [non-C99-based standards] (lgammal): Likewise.
73852         [non-C99-based standards] (tgammal): Likewise.
73853         [non-C99-based standards] (y0l): Likewise.
73854         [non-C99-based standards] (y1l): Likewise.
73855         [non-C99-based standards] (ynl): Likewise.
73856         [non-C99-based standards] (isnanl): Likewise.
73857         [non-C99-based standards] (acoshl): Likewise.
73858         [non-C99-based standards] (asinhl): Likewise.
73859         [non-C99-based standards] (atanhl): Likewise.
73860         [non-C99-based standards] (cbrtl): Likewise.
73861         [non-C99-based standards] (expm1l): Likewise.
73862         [non-C99-based standards] (ilogbl): Likewise.
73863         [non-C99-based standards] (log1pl): Likewise.
73864         [non-C99-based standards] (logbl): Likewise.
73865         [non-C99-based standards] (nextafterl): Likewise.
73866         [non-C99-based standards] (remainderl): Likewise.
73867         [non-C99-based standards] (rintl): Likewise.
73868         [non-C99-based standards] (scalbl): Likewise.
73869         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73870         [non-C99-based standards] (FP_*): Do not allow.
73871         [C99-based standards] (FP_*): Change to
73872         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73873         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73874         allow.
73875         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
73876         (SIG_ERR): Likewise.
73877         [X/Open-based standards] (SIG_HOLD): Likewise.
73878         (SIG_IGN): Likewise.
73879         (SIGABRT): Use macro-int-constant.  Specify type.  Require
73880         positive value.
73881         (SIGFPE): Likewise.
73882         (SIGILL): Likewise.
73883         (SIGINT): Likewise.
73884         (SIGSEGV): Likewise.
73885         (SIGTER): Likewise.
73886         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
73887         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
73888         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
73889         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
73890         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
73891         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
73892         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
73893         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
73894         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
73895         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
73896         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
73897         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
73898         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
73899         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
73900         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
73901         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
73902         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
73903         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
73904         [X/Open-based standards] (SIGTRAP): Likewise.
73905         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
73906         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
73907         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
73908         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
73909         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73910         allow.
73912 2012-05-08  Ian Wienand  <ianw@vmware.com>
73914         [BZ #14080]
73915         * time/tzset.c (__tzset_parse_tz): Update default rules for
73916         daylight time changes in the Energy Policy Act of 2005.
73918 2012-05-09  Andreas Jaeger  <aj@suse.de>
73920         [BZ #13983]
73921         * elf/ldconfig.c (parse_conf): Change string to make clear that
73922         ldconfig only issued a warning if ld.so.conf does not exist.
73924 2012-05-08  David S. Miller  <davem@davemloft.net>
73926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
73927         movxtod instead of popping the value on the stack.
73929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73931 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
73933         * config.h.in: Add HAVE_ARM_PCS_VFP.
73935 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
73937         [BZ #13979]
73938         * include/features.h: Warn if user requests __FORTIFY_SOURCE
73939         checking but the checks are disabled for any reason.
73941 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
73943         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
73944         and ELF64_R_TYPE with ELFW(R_TYPE).
73946 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
73948         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
73949         (ulimit): Likewise.
73951         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
73952         (settimeofday): Likewise.
73954 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
73956         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
73957         a struct th_u2 inside the union, and move tu_block/tu_code into
73958         a new th_u3 union of tu_block/tu_code inside of that.  Move
73959         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
73960         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
73961         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
73962         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
73963         (th_stuff): Change to th_u1.tu_stuff.
73964         (th_data): Define.
73965         (th_msg): Change to th_u1.th_u2.tu_data.
73967 2012-05-07  David S. Miller  <davem@davemloft.net>
73969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73971         [BZ #14074]
73972         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
73973         (SETUP_PIC_REG): Use it.
73974         (SETUP_PIC_REG_LEAF): Use it.
73976 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
73978         [BZ #13885]
73979         [BZ #13923]
73980         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73981         USE_AS_EXPM1L.
73982         (EXPL_FINITE): Likewise.
73983         (FLDLOG): Likewise.
73984         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73985         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73986         e_expl.S.
73987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73988         USE_AS_EXPM1L.
73989         (EXPL_FINITE): Likewise.
73990         (FLDLOG): Likewise.
73991         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73992         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73993         e_expl.S.
73994         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
73995         test of -max_value argument for long double.
73996         * sysdeps/i386/fpu/libm-test-ulps: Update.
73997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73999 2012-05-06  David S. Miller  <davem@davemloft.net>
74001         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74002         quad soft-float symbols whose references which are compiler
74003         generated.
74004         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74006 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74008         [BZ #13884]
74009         [BZ #13914]
74010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74011         USE_AS_EXP10L.
74012         (EXPL_FINITE): Likewise.
74013         (FLDLOG): Likewise.
74014         (c0): Likewise.
74015         (c1): Likewise.
74016         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74017         Adjust comments for base varying.
74018         (__expl_finite): Change alias to EXPL_FINITE.
74019         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74020         e_expl.S.
74021         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74022         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74023         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74024         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74025         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74026         USE_AS_EXP10L.
74027         (EXPL_FINITE): Likewise.
74028         (FLDLOG): Likewise.
74029         (c0): Likewise.
74030         (c1): Likewise.
74031         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74032         Adjust comments for base varying.
74033         (__expl_finite): Change alias to EXPL_FINITE.
74034         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74035         tests for bugs.
74036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74038         [BZ #14064]
74039         * math/libm-test.inc (check_float_internal): Correct ulp
74040         calculation for subnormal expected results.
74042 2012-05-06  Andreas Jaeger  <aj@suse.de>
74044         * Makeconfig (+math-flags): New, set to -frounding-math.
74045         (+cflags): Add +math-flags so that all of glibc gets compiled with
74046         it.
74048         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74050 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74052         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74053         Disable one test.
74055         [BZ #13787]
74056         [BZ #13922]
74057         [BZ #14036]
74058         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74059         (__ieee754_expl): Allow for and saturate large arguments.
74060         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74061         (u_threshold): Likewise.
74062         (__exp): Call __ieee754_exp before checking for overflow and
74063         underflow.
74064         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74065         (u_threshold): Likewise.
74066         (__expf): Call __ieee754_expf before checking for overflow and
74067         underflow.
74068         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74069         (u_threshold): Likewise.
74070         (__expl): Call __ieee754_expl before checking for overflow and
74071         underflow.
74072         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74073         (__ieee754_expl): Allow for and saturate large arguments.
74074         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74075         missing overflow exception on overflow.
74076         (expm1_test): Do not allow missing overflow exception on overflow.
74078         * sysdeps/i386/fpu/e_expl.c: Move to ...
74079         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74080         rather than using inline asm.
74081         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74082         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74083         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74085         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74086         (nice): Likewise.
74087         (poll): Likewise.
74088         (signal): Likewise.
74089         (time): Likewise.
74090         (times): Likewise.
74092 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74094         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74095         sysdeps/unix/common/syscalls.list.
74096         (fchmod): Likewise.
74097         (fchown): Likewise.
74098         (ftruncate): Likewise.
74099         (getrusage): Likewise.
74100         (gettimeofday): Likewise.
74101         (setpgid): Likewise.
74102         (setregid): Likewise.
74103         (setreuid): Likewise.
74104         (sigaction): Likewise.
74105         (truncate): Likewise.
74106         (vhangup): Likewise.
74107         * sysdeps/unix/common/syscalls.list: Remove file.
74108         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74109         * sysdeps/unix/sysv/linux/Implies: Likewise.
74111 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74113         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74115         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74116         Moved to ...
74117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74118         Here.
74119         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74120         to ...
74121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74122         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74123         to ...
74124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74125         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74126         to ...
74127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74128         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74129         to ...
74130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74131         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74132         to ...
74133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74134         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74135         to ...
74136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74137         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74138         to ...
74139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74140         Here.
74141         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74142         to ...
74143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74144         Here.
74145         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74146         to ...
74147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74148         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74149         Moved to ...
74150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74151         Here.
74152         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74153         to ...
74154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74156 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74158         * sysdeps/unix/common/bits/dirent.h: Remove file.
74159         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74161         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74162         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74163         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74164         * sysdeps/unix/bsd/isatty.c: Likewise.
74165         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74166         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74167         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74169 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74171         [BZ #13563]
74172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74173         long double comparison inaccuracies.
74174         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74177 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74179         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74180         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74182 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74184         [BZ #14049]
74185         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74186         nonzero digits before rounding a hex value.
74187         * stdlib/tst-strtod.c (tests): Add another test.
74189 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74191         * sysdeps/s390/fpu/libm-test-ulps: Update.
74193 2012-05-03  Andreas Jaeger  <aj@suse.de>
74195         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74196         does not get optimized out.
74197         (malloc_opt_barrier): New.
74199 2012-05-03  Andreas Jaeger  <aj@suse.de>
74200             Roland McGrath  <roland@hack.frob.com>
74202         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74203         intermediate file deletion.
74204         (generated): Add .symlist files.
74206 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74208         [BZ #13775]
74209         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74210         Redirect under this condition.
74211         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74212         [__USE_GNU] (__dprintf_chk): Not under this condition.
74213         [__USE_GNU] (__vdprintf_chk): Likewise.
74214         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74215         under this condition.
74216         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74217         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74218         [__USE_XOPEN2K8] (vdprintf): Likewise.
74219         [__USE_GNU] (__dprintf_chk): Not under this condition.
74220         [__USE_GNU] (__vdprintf_chk): Likewise.
74221         [__USE_GNU] (dprintf): Likewise.
74222         [__USE_GNU] (vdprintf): Likewise.
74224 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74226         * elf/Makefile (common-generated): Set this instead of generated for
74227         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74228         $(all-built-dso)-derived lists.
74230 2012-05-03  Andreas Jaeger  <aj@suse.de>
74232         * sysdeps/i386/fpu/libm-test-ulps: Update.
74234         * FAQ: Removed.
74235         * FAQ.in: Likewise.
74236         * scripts/gen-FAQ.pl: Likewise.
74237         * manual/install.texi (Installation): Point to online location of
74238         FAQ.
74239         * Makefile (files-for-dist): Remove FAQ.
74240         (FAQ): Remove.
74242 2012-05-02  Allan McRae  <allan@archlinux.org>
74244         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74245         (LDFLAGS-reldepmod5.so): Likewise.
74246         (LDFLAGS-reldep6mod1.so): Likewise.
74247         (LDFLAGS-reldep6mod4.so): Likewise.
74248         (LDFLAGS-reldep8mod3.so): Likewise.
74249         (LDFLAGS-unload4mod1.so): Likewise.
74250         (LDFLAGS-unload4mod2.so): Likewise.
74251         (LDFLAGS-tst-initorder): Likewise.
74252         (LDFLAGS-tst-initordera2.so): Likewise.
74253         (LDFLAGS-tst-initordera3.so): Likewise.
74254         (LDFLAGS-tst-initordera4.so): Likewise.
74255         (LDFLAGS-tst-initorderb2.so): Likewise.
74256         (LDFLAGS-noload): Likewise.
74257         (LDFLAGS-next): Likewise.
74258         (LDFLAGS-order2mod1.so): Likewise.
74259         (LDFLAGS-order2mod2.so): Likewise.
74260         (LDFLAGS-tst-initorder2): Likewise.
74261         (LDFLAGS-tst-initorder2a.so): Likewise.
74262         (LDFLAGS-tst-initorder2b.so): Likewise.
74263         (LDFLAGS-tst-initorder2c.so): Likewise.
74264         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74266 2012-05-02  David S. Miller  <davem@davemloft.net>
74268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74270 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74272         [BZ #14055]
74273         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74275 2012-05-02  Andreas Jaeger  <aj@suse.de>
74277         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74278         since we manipulate rounding mode.
74279         (CPPFLAGS-test-idouble.c): Likewise.
74280         (CPPFLAGS-test-ifloat.c): Likewise.
74281         (CFLAGS-test-ldouble.c): Likewise.
74282         (CFLAGS-test-double.c): Likewise.
74283         (CFLAGS-test-float.c): Likewise.
74284         (CFLAGS-test-misc.c): Likewise.
74285         (CFLAGS-test-test-fenv.c): Likewise.
74287 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74289         [BZ #2550]
74290         [BZ #2570]
74291         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74292         comparisons to determine direction to adjust input.
74294 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74296         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74297         output to the target.
74299         * scripts/localplt.awk: New file.
74300         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74301         (check-localplt-CFLAGS): Variable removed.
74302         ($(all-built-dso:=.jmprel)): New static pattern rule.
74303         (generated): Add those targets.
74304         (localplt-built-dso): New variable.
74305         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74307         * elf/check-localplt.c: File removed.
74309         * scripts/check-execstack.awk: New file.
74310         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74311         (check-execstack-CFLAGS): Variable removed.
74312         ($(objpfx)check-execstack.h): Target removed.
74313         ($(objpfx)execstack-default): New target.
74314         (generated): Add that instead of check-execstack.h.
74315         ($(all-built-dso:=.phdr)): New static pattern rule.
74316         (generated): Add those targets.
74317         * elf/check-execstack.c: File removed.
74319         * scripts/check-textrel.awk: New file.
74320         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74321         (check-textrel-CFLAGS): Variable removed.
74322         (all-built-dso): Use := to define.o
74323         ($(all-built-dso:=.dyn)): New static pattern rule.
74324         (generated): Add those targets.
74325         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74326         * config.make.in (READELF): New substituted variable.
74327         * elf/check-textrel.c: File removed.
74329 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74331         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74332         allow.
74333         * conform/data/ctype.h-data [C99-based standards] (isblank):
74334         Expect function.
74335         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74336         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74338         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74339         Specify type.  Require positive value.
74340         (EILSEQ): Likewise.
74341         (ERANGE): Likewise.
74342         [ISO || POSIX] (EILSEQ): Do not expect.
74343         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74344         Specify type.  Require positive value.
74345         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74346         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74347         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74348         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74349         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74350         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74351         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74352         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74353         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74354         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74355         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74356         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74357         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
74358         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
74359         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74360         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
74361         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
74362         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
74363         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
74364         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
74365         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
74366         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
74367         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
74368         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
74369         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
74370         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
74371         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
74372         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
74373         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
74374         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
74375         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
74376         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
74377         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
74378         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
74379         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
74380         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
74381         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
74382         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
74383         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
74384         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
74385         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
74386         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
74387         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
74388         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
74389         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
74390         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
74391         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
74392         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
74393         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
74394         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
74395         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
74396         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
74397         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
74398         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
74399         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
74400         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
74401         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74402         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
74403         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
74404         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
74405         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
74406         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
74407         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
74408         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
74409         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
74410         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
74411         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
74412         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
74413         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
74414         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
74415         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
74416         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
74417         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
74418         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
74419         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
74420         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
74421         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
74422         Require >= 2.
74423         (FLT_ROUNDS): Expect as macro, not constant.
74424         (FLT_MANT_DIG): Use macro-int-constant.
74425         (DBL_MANT_DIG): Likewise.
74426         (LDBL_MANT_DIG): Likewise.
74427         (FLT_DIG): Likewise.
74428         (DBL_DIG): Likewise.
74429         (LDBL_DIG): Likewise.
74430         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
74431         (DBL_MIN_EXP): Likewise.
74432         (LDBL_MIN_EXP): Likewise.
74433         (FLT_MAX_EXP): Use macro-int-constant.
74434         (DBL_MAX_EXP): Likewise.
74435         (LDBL_MAX_EXP): Likewise.
74436         (FLT_MAX_10_EXP): Likewise.
74437         (DBL_MAX_10_EXP): Likewise.
74438         (LDBL_MAX_10_EXP): Likewise.
74439         (FLT_MAX): Use macro-constant.
74440         (DBL_MAX): Likewise.
74441         (LDBL_MAX): Likewise.
74442         (FLT_EPSILON): Use macro-constant.  Give upper bound.
74443         (DBL_EPSILON): Likewise.
74444         (LDBL_EPSILON): Likewise.
74445         (FLT_MIN): Likewise.
74446         (DBL_MIN): Likewise.
74447         (LDBL_MIN): Likewise.
74448         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
74449         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
74450         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
74451         [ISO11] (FLT_HAS_SUBNORM): Likewise.
74452         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
74453         [ISO11] (DBL_DECIMAL_DIG): Likewise.
74454         [ISO11] (FLT_DECIMAL_DIG): Likewise.
74455         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
74456         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
74457         [ISO11] (FLT_TRUE_MIN): Likewise.
74458         [ISO11] (LDBL_TRUE_MIN): Likewise.
74459         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74460         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
74461         (SCHAR_MIN): Use macro-int-constant.  Specify type.
74462         (SCHAR_MAX): Likewise.
74463         (UCHAR_MAX): Likewise.
74464         (CHAR_MIN): Likewise.
74465         (CHAR_MAX): Likewise.
74466         (MB_LEN_MAX): Use macro-int-constant.
74467         (SHRT_MIN): Use macro-int-constant.  Specify type.
74468         (SHRT_MAX): Likewise.
74469         (USHRT_MAX): Likewise.
74470         (INT_MAX): Likewise.
74471         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
74472         bound negative.
74473         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74474         bound with "U".
74475         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74476         bound with "L".
74477         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
74478         bound negative.  Suffix upper bound with "L".
74479         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74480         bound with "UL".
74481         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
74482         Specify type.
74483         [C99-based standards] (LLONG_MAX): Likewise.
74484         [C99-based standards] (ULLONG_MAX): Likewise.
74485         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
74486         == 0.
74487         [ISO11] (max_align_t): Require type.
74488         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74490         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
74491         from $CFLAGS, without defining away __attribute__ calls.
74492         (checknamespace): Use $CFLAGS_namespace.
74494         * conform/conformtest.pl (@keywords): Only include C99 keywords
74495         for standards based on C99 or C11.
74497         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
74498         Disable tests.
74499         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
74500         UNIX98]: Likewise.
74502         * conform/conformtest.pl: Handle "macro-int-constant" and test for
74503         usability of symbols in #if.
74505         * conform/conformtest.pl: If macro or constant types start
74506         "promoted:", expect the symbol to be of the following type
74507         promoted by the integer promotions.
74509         * conform/conformtest.pl: Parse all "constant" and "macro" lines
74510         in one place.  Also handle "macro-constant".
74512         * conform/conformtest.pl: Only accept expected macro values with
74513         "==".  Parse all "macro" lines in one place.
74514         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
74516         * conform/conformtest.pl: Handle braced types on "constant" lines
74517         instead of handling "typed-constant".
74518         * conform/data/signal.h-data: Use "constant" instead of
74519         "typed-constant".
74521         * conform/conformtest.pl: Handle "optional-" at start of lines in
74522         one place rather than duplicating several cases.  Handle each
74523         format of "macro" line with initial "optional-".
74525         * conform/conformtest.pl: Only accept expected constant or
74526         optional-constant values with "==".  Parse all "constant" lines in
74527         one place.  Parse all "optional-constant" lines in one place.
74528         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
74529         * conform/data/fmtmsg.h-data: Likewise.
74530         * conform/data/netinet/in.h-data: Likewise.
74531         * conform/data/tar.h-data: Likewise.
74532         * conform/data/limits.h-data: Use "==" form on "constant" and
74533         "optional-constant" lines.
74535         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
74536         Use -std=c99 for XOPEN2K.
74537         (@knownproblems): Remove.
74538         (newtoken): Don't check %isknown.
74540         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
74541         Do not expect macro.
74542         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
74543         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
74544         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
74545         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
74546         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
74547         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
74548         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
74549         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
74550         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
74551         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
74552         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
74553         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
74554         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
74555         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
74556         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
74557         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
74558         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
74559         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
74560         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
74561         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
74562         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
74563         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
74564         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
74565         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
74566         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
74567         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
74568         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
74569         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
74570         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
74571         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
74572         [XPG3] (acosh): Likewise.
74573         [XPG3] (asinh): Likewise.
74574         [XPG3] (atanh): Likewise.
74575         [XPG3] (cbrt): Likewise.
74576         [XPG3] (expm1): Likewise.
74577         [XPG3] (ilogb): Likewise.
74578         [XPG3] (log1p): Likewise.
74579         [XPG3] (logb): Likewise.
74580         [XPG3] (nextafter): Likewise.
74581         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
74582         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
74583         [XPG3] (remainder): Likewise.
74584         [XPG3] (rint): Likewise.
74585         [XPG3 || XPG4 || UNIX98] (round): Likewise.
74586         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
74587         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
74588         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
74589         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
74590         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
74591         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
74592         [UNIX98 || XOPEN2K] (scalb): Expect.
74593         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
74594         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
74595         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74596         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
74597         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
74598         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
74599         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
74600         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
74601         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
74602         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
74603         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
74604         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
74605         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
74606         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
74607         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
74608         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
74609         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
74610         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
74611         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
74612         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
74613         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
74614         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
74615         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
74616         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
74617         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
74618         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
74619         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
74620         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
74621         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
74622         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
74623         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
74624         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
74625         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
74626         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
74627         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
74628         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
74629         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
74630         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
74631         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
74632         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
74633         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
74634         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
74635         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
74636         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
74637         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
74638         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
74639         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
74640         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
74641         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
74642         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
74643         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
74644         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
74645         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
74646         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
74647         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
74648         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
74649         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
74650         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
74651         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
74652         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
74653         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
74654         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
74655         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
74656         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
74657         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
74658         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
74659         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
74660         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
74661         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
74662         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
74663         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
74664         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
74665         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
74666         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
74667         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
74668         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
74669         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
74670         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
74671         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
74672         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
74673         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
74674         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
74675         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
74676         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
74677         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
74678         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
74679         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
74680         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
74681         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
74682         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
74683         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
74684         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
74685         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
74686         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
74687         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
74688         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
74689         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
74690         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
74691         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
74692         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
74693         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
74694         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
74695         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
74696         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
74697         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
74698         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
74699         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
74700         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
74701         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
74702         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
74703         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
74704         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
74705         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
74706         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
74707         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
74708         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
74709         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
74710         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
74711         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
74712         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
74713         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
74714         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
74715         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
74716         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
74717         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
74718         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
74719         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
74720         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
74721         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
74722         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
74723         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
74724         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
74725         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
74726         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
74727         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
74728         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
74729         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
74731         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
74732         _XOPEN_SOURCE_EXTENDED for XPG4.
74734         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
74736         * Makeconfig (localtime): Remove variable.
74737         (inst_localtime-file): Likewise.
74739 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
74741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
74742         Update.
74743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74744         Update.
74745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
74746         Update.
74747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
74748         Update.
74749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
74750         Update.
74751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
74752         Update.
74753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74754         Update.
74755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
74756         Update.
74757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74758         Update.
74760 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74762         [BZ #2550]
74763         [BZ #2570]
74764         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
74765         comparisons to determine direction to adjust input.
74766         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
74767         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
74768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
74769         Likewise.
74770         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
74771         Likewise.
74772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
74773         Likewise.
74774         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
74775         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
74776         Likewise.
74777         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
74778         Likewise.
74779         * math/libm-test.inc (nexttoward_test): Add more tests.
74781 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
74783         [BZ #14040]
74784         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
74785         in version GLIBC_2.1, not GLIBC_2.0.
74786         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
74787         Likewise.
74789 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
74791         [BZ #13942]
74792         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
74793         (1 - x) * (1 + x).
74794         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74795         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
74796         * math/libm-test.inc (acos_test): Add more tests.
74797         (asin_test): Likewise.
74798         * sysdeps/i386/fpu/libm-test-ulps: Update.
74799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74801         [BZ #14034]
74802         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
74803         of square root.
74804         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
74805         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74806         * math/libm-test.inc (acos_test_tonearest): New function.
74807         (acos_test_towardzero): Likewise.
74808         (acos_test_downward): Likewise.
74809         (acos_test_upward): Likewise.
74810         (asin_test_tonearest): Likewise.
74811         (asin_test_towardzero): Likewise.
74812         (asin_test_downward): Likewise.
74813         (asin_test_upward): Likewise.
74814         (main): Call the new functions.
74815         * sysdeps/i386/fpu/libm-test-ulps: Update.
74816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74818         [BZ #13884]
74819         [BZ #13924]
74820         * math/e_exp10.c: Include <float.h>.
74821         (__ieee754_exp10): Handle underflow here rather than multiplying
74822         large negative argument by M_LN10.
74823         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
74824         of __ieee754_expf.
74825         * math/e_exp10l.c: Include <float.h>.
74826         (__ieee754_exp10l): Handle underflow here rather than multiplying
74827         large negative argument by M_LN10l.
74828         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
74829         spurious overflow exception on underflow.
74831 2012-04-29  Marek Polacek  <polacek@redhat.com>
74833         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
74834         (__fortify_function): New macro.
74835         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
74836         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
74837         __extern_always_inline.
74838         * libio/bits/stdio2.h: Likewise.
74839         * libio/bits/stdio.h: Likewise.
74840         * string/string.h: Likewise.
74841         * string/bits/string3.h: Likewise.
74842         * include/stdio.h: Likewise.
74843         * stdlib/bits/stdlib.h: Likewise.
74844         * stdlib/stdlib.h: Likewise.
74845         * rt/bits/mqueue2.h: Likewise.
74846         * rt/mqueue.h: Likewise.
74847         * posix/bits/unistd.h: Likewise.
74848         * posix/unistd.h: Likewise.
74849         * io/bits/poll2.h: Likewise.
74850         * io/bits/fcntl2.h: Likewise.
74851         * io/fcntl.h: Likewise.
74852         * io/sys/poll.h: Likewise.
74853         * misc/bits/syslog.h: Likewise.
74854         * misc/bits/syslog-ldbl.h: Likewise.
74855         * misc/sys/syslog.h: Likewise.
74856         * socket/bits/socket2.h: Likewise.
74857         * socket/sys/socket.h: Likewise.
74858         * debug/tst-chk1.c: Likewise.
74859         * wcsmbs/bits/wchar2.h: Likewise.
74860         * wcsmbs/bits/wchar-ldbl.h: Likewise.
74861         * wcsmbs/wchar.h: Likewise.
74863 2012-04-29  Andreas Jaeger  <aj@suse.de>
74865         * Makerules (tests): Remove enable-check-abi protection.
74866         (check-abi-warn): Remove.
74867         (check-abi-%): Remove check-abi-warn usage.
74869         * configure.in: Remove check-abi configure option.
74870         * configure: Regenerated.
74871         * config.make.in (enable-check-abi): Remove.
74873 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
74875         [BZ #14033]
74876         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
74877         double functions to double *_finite functions.
74879         [BZ #13941]
74880         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
74881         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
74882         LDBL_MIN_EXP.
74883         * stdio-common/Makefile (tests): Add tst-sprintf3.
74884         * stdio-common/tst-sprintf3.c: New file.
74886         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
74887         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
74889 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
74891         * conform/conformtest.pl: Remove duplicate typed-constant
74892         handling.
74894 2012-04-28  David S. Miller  <davem@davemloft.net>
74896         * Makerules (%.abilist): Add vpath on sysdep_dirs.
74897         (check-abi-%): Remove AWK script prerequisite and explicit
74898         abilist directory.
74899         (check-abi): Rewrite to just diff the symlist with the abilist.
74900         (config-tls, config-abi-config): Delete, no longer used.
74901         (update-abi-%): Remove AWK script and explicit abilist directory.
74902         (update-abi): Rewrite to simply compare and conditionally copy the
74903         symlist and the sysdep abilist file.  Remove update-abi-config
74904         checks.
74905         * abilist/ld.abilist: Remove.
74906         * abilist/libBrokenLocale.abilist: Remove.
74907         * abilist/libanl.abilist: Remove.
74908         * abilist/libcrypt.abilist: Remove.
74909         * abilist/libdl.abilist: Remove.
74910         * abilist/librt.abilist: Remove.
74911         * abilist/libthread_db.abilist: Remove.
74912         * abilist/libutil.abilist: Remove.
74913         * scripts/extract-abilist.awk: Remove.
74914         * scripts/merge-abilist.awk: Remove.
74915         * sysdeps/generic/libcidn.abilist: New file.
74916         * sysdeps/generic/libnss_compat.abilist: New file.
74917         * sysdeps/generic/libnss_db.abilist: New file.
74918         * sysdeps/generic/libnss_dns.abilist: New file.
74919         * sysdeps/generic/libnss_files.abilist: New file.
74920         * sysdeps/generic/libnss_hesiod.abilist: New file.
74921         * sysdeps/generic/libnss_nis.abilist: New file.
74922         * sysdeps/generic/libnss_nisplus.abilist: New file.
74923         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
74924         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
74925         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
74926         file.
74927         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
74928         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
74929         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
74930         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
74931         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
74932         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
74933         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
74934         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
74935         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
74936         file.
74937         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
74938         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
74939         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
74940         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
74941         file.
74942         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
74943         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
74944         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
74945         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
74946         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
74947         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
74948         file.
74949         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
74950         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
74951         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
74952         file.
74953         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
74954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
74955         New file.
74956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
74957         New file.
74958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
74959         New file.
74960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
74961         New file.
74962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
74963         New file.
74964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
74965         New file.
74966         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
74967         New file.
74968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
74969         New file.
74970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
74971         New file.
74972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
74973         New file.
74974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
74975         New file.
74976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
74977         New file.
74978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
74979         New file.
74980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
74981         file.
74982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
74983         New file.
74984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
74985         New file.
74986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
74987         file.
74988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
74989         New file.
74990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
74991         New file.
74992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
74993         file.
74994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
74995         New file.
74996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74997         New file.
74998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
74999         New file.
75000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75001         New file.
75002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75003         New file.
75004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75005         New file.
75006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75008         file.
75009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75010         New file.
75011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75012         file.
75013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75014         file.
75015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75016         file.
75017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75018         file.
75019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75020         file.
75021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75022         New file.
75023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75024         file.
75025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75026         file.
75027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75028         New file.
75029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75030         file.
75031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75033         file.
75034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75035         New file.
75036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75037         file.
75038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75039         file.
75040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75041         file.
75042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75043         file.
75044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75045         file.
75046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75047         New file.
75048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75049         file.
75050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75051         file.
75052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75053         New file.
75054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75055         file.
75056         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75057         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75058         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75059         file.
75060         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75061         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75062         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75063         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75064         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75065         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75066         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75067         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75068         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75069         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75072         file.
75073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75074         New file.
75075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75076         file.
75077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75078         file.
75079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75080         file.
75081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75082         file.
75083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75084         file.
75085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75086         New file.
75087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75088         New file.
75089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75090         file.
75091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75092         New file.
75093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75094         file.
75095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75097         file.
75098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75099         New file.
75100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75101         file.
75102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75103         file.
75104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75105         file.
75106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75107         file.
75108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75109         file.
75110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75111         New file.
75112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75113         New file.
75114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75115         file.
75116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75117         New file.
75118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75119         file.
75121 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75123         * conform/conformtest.pl: Fix typo in handling typed-constant from
75124         allow-header.
75126 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75128         * README: Cut down references to pre-2.6 Linux kernels and
75129         Linuxthreads.  Update lists of configurations in libc and ports
75130         and sort alphabetically.  Say "or newer" with Linux kernel version
75131         requirements.
75133         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75135 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75137         [BZ #887]
75138         * math/libm-test.inc (logb_test_downward): New test to expose
75139         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75140         rounding mode.
75142 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75144         [BZ #14027]
75145         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75146         to be done.
75147         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75148         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75150 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75152         * sysdeps/unix/i386/brk.S: Remove file.
75153         * sysdeps/unix/i386/dl-brk.S: Likewise.
75154         * sysdeps/unix/i386/pipe.S: Likewise.
75155         * sysdeps/unix/i386/sigreturn.S: Likewise.
75156         * sysdeps/unix/i386/syscall.S: Likewise.
75157         * sysdeps/unix/i386/vfork.S: Likewise.
75158         * sysdeps/unix/i386/wait.S: Likewise.
75160         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75161         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75163         * configure.in (arm*-none*): Do not allow without
75164         --enable-hacker-mode.
75165         (netbsd*): Remove case setting base_os.
75166         (386bsd*): Likewise.
75167         (freebsd*): Likewise.
75168         (bsdi*): Likewise.
75169         (osf*): Likewise.
75170         (sunos*): Likewise.
75171         (ultrix*): Likewise.
75172         (newsos*): Likewise.
75173         (dynix*): Likewise.
75174         (*bsd*): Likewise.
75175         (sysv*): Likewise.
75176         (isc*): Likewise.
75177         (esix*): Likewise.
75178         (sco*): Likewise.
75179         (minix*): Likewise.
75180         (irix4*): Likewise.
75181         (irix6*): Likewise.
75182         (solaris[2-9]*): Likewise.
75183         (none): Likewise.
75184         * configure: Regenerated.
75186 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75188         [BZ #11521]
75189         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75190         overflow or cancellation in calculating denominator.
75191         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75192         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75193         down expression to avoid unexpected rounding in newer GCCs.
75194         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75196 2012-04-26  David S. Miller  <davem@davemloft.net>
75198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75199         long-double compat symbols.
75200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75214 2012-04-25  David S. Miller  <davem@davemloft.net>
75216         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75217         HWCAP_* values only after the memory barriers have been defined.
75218         (atomic_full_barrier): Define.
75219         (atomic_read_barrier): Define.
75220         (atomic_write_barrier): Define.
75222 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75224         * shlib-versions: Add libgcc_s version information.
75225         * sysdeps/generic/libgcc_s.h: Remove.
75226         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75227         libgcc_s.h.
75228         * sysdeps/gnu/unwind-resume.c: Likewise.
75229         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75231 2012-04-25  David S. Miller  <davem@davemloft.net>
75233         * sysdeps/unix/sparc/brk.S: Delete.
75234         * sysdeps/unix/sparc/dl-brk.S: Delete.
75235         * sysdeps/unix/sparc/pipe.S: Delete.
75236         * sysdeps/unix/sparc/sysdep.S: Delete.
75237         * sysdeps/unix/sparc/sysdep.h: Delete.
75238         * sysdeps/unix/sparc/vfork.S: Delete.
75239         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75240         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75241         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75242         (ret_ERRVAL, r0, r1, MOVE): Define.
75243         (JUMPTARGET): Remove.
75244         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75245         sysdeps/unix/sparc/sysdep.h
75246         (ENTRY, END): Remove.
75247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75249 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75251         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75252         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75253         -DIS_IN_build.
75255         * timezone/README: Update upstream location and email address for
75256         tzcode and tzdata.
75257         * timezone/zdump.c: Update from tzcode 2012b.
75258         * timezone/zic.c: Likewise.
75260         * configure.in (libc_cv_as_needed): Remove test.
75261         * configure: Regenerated.
75262         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75263         conditional definition.
75264         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75265         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75266         * config.make.in (have-as-needed): Remove variable.
75268 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75269             Paul Pluzhnikov  <ppluzhnikov@google.com>
75271         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75272         strings correctly.
75274 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75276         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75277         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75278         * sysdeps/sh/strlen.S: Likewise.
75280 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75282         * sysdeps/unix/fork.S: Remove file.
75283         * sysdeps/unix/i386/fork.S: Likewise.
75284         * sysdeps/unix/sparc/fork.S: Likewise.
75286         * sysdeps/unix/system.c: Remove file.
75287         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75289         * sysdeps/unix/getegid.S: Remove file.
75290         * sysdeps/unix/geteuid.S: Likewise.
75292 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75294         * scripts/check-localplt.awk: New file.
75295         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75296         of diff.
75297         * scripts/data/localplt-generic.data: Add a comment.
75299         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75300         NODE when __dir_mkfile failed.
75301         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75302         Reported by Ludovic Courtès <ludo@gnu.org>.
75304 2012-04-24  Andreas Jaeger  <aj@suse.de>
75306         * Makerules (common-clean): Also remove gen-as-const-headers
75307         files.
75309 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75311         * Makerules (native-compile): Do not change working directory for
75312         build.  Use $(OUTPUT_OPTION) in command.
75313         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75315 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75317         [BZ #13886]
75318         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75319         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75320         * math/libm-test.inc (floor_test): Add more tests.
75321         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75323 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75325         * sysdeps/unix/getdents.c: Remove file.
75326         * sysdeps/unix/sysv/getdents.c: Likewise.
75327         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75329         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75330         sysdeps/unix/mman/syscalls.list.
75331         (mmap): Likewise.
75332         (mprotect): Likewise.
75333         (msync): Likewise.
75334         (munmap): Likewise.
75335         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75336         * sysdeps/unix/mman/syscalls.list: Remove.
75337         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75339         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75340         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75341         * configure: Regenerated.
75342         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75343         $(libgcc_s_suffix).
75344         * config.make.in (libgcc_s_suffix): Remove variable.
75346 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
75348         * sysdeps/unix/sysv/gethostname.c: Move to ...
75349         * sysdeps/posix/gethostname.c: ... here.
75351         * sysdeps/unix/execve.S: Remove file.
75353         * sysdeps/unix/_exit.S: Remove file.
75355 2012-04-23  Andreas Jaeger  <aj@suse.de>
75357         [BZ #13739]
75358         * manual/Makefile: Remove make dist support, there's no
75359         need for a stand-alone documentation tar ball.
75360         (TEXI2DVI): Define always, it's not in Makeconfig.
75361         (dist): Removed.
75362         (tar-it): Removed.
75363         (edition): Removed.
75364         (glibc-doc-$(edition).tar): Removed
75365         (%.Z): Removed.
75366         (%.gz): Removed.
75367         (%.uu): Removed.
75368         (ETAGS): Remove, it's in Makeconfig.
75369         (move-if-change): Remove, it's in Makeconfig.
75371 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
75373         [BZ #13970]
75374         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
75375         (strtod, strtof, strtold, strtol, strtoul, strtoq)
75376         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
75377         (strtod_l, strtof_l, strtold_l): Remove __wur.
75378         It is not necessarily an error to ignore strtol's return value.
75379         One can reliably look at the stored endptr to decide whether
75380         the number had valid syntax.
75382 2012-04-21  Andreas Jaeger  <aj@suse.de>
75384         [BZ #13739]
75385         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
75387 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
75389         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
75390         * sysdeps/unix/sysv/Versions: Remove file.
75392 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
75394         [BZ #13927]
75395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75397 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
75399         [BZ #7064]
75400         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
75401         version from __vm86.
75403 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
75405         * sysdeps/unix/common/lxstat.c: Remove file.
75406         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
75408         * sysdeps/unix/sysv/Makefile: Remove file.
75410         * sysdeps/unix/sysv/direct.h: Remove file.
75412         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
75413         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
75414         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
75415         * sysdeps/unix/sysv/bits/signum.h: Likewise.
75416         * sysdeps/unix/sysv/bits/stat.h: Likewise.
75417         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
75418         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
75420         * sysdeps/unix/sysv/setrlimit.c: Remove file.
75422         * sysdeps/unix/xmknod.c: Remove file.
75423         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75425         * sysdeps/unix/sysv/settimeofday.c: Remove file.
75427         * sysdeps/unix/sysv/i386/time.S: Remove file.
75429         * sysdeps/unix/fxstat.c: Remove file.
75430         * sysdeps/unix/xstat.c: Likewise.
75431         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
75433         * sysdeps/unix/sysv/sigaction.c: Remove file.
75435         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
75436         (sysdep_headers): Remove variable.
75437         [termio.h not in sysdep_headers] (generated): Likewise.
75438         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
75439         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
75440         * sysdeps/unix/sysv/tcdrain.c: Likewise.
75441         * sysdeps/unix/sysv/tcflow.c: Likewise.
75442         * sysdeps/unix/sysv/tcflush.c: Likewise.
75443         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
75444         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75445         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
75446         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
75447         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
75449         * sysdeps/unix/siglist.c: Remove file.
75451         * sysdeps/unix/getppid.S: Remove file.
75453         * sysdeps/unix/mkdir.c: Remove file.
75454         * sysdeps/unix/rmdir.c: Likewise.
75456 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
75458         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
75459         ERR_MAX value.
75460         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
75461         errlist-compat value.
75463 2012-04-18  David S. Miller  <davem@davemloft.net>
75465         * sysdeps/generic/memcopy.h (reg_char): Delete.
75466         * debug/strcat_chk.c: Use char, not reg_char.
75467         * debug/strcpy_chk.c: Likewise.
75468         * debug/strncat_chk.c: Likewise.
75469         * debug/strncpy_chk.c: Likewise.
75470         * string/memchr.c: Likewise.
75471         * string/memrchr.c: Likewise.
75472         * string/rawmemchr.c: Likewise.
75473         * string/strcat.c: Likewise.
75474         * string/strchr.c: Likewise.
75475         * string/strchrnul.c: Likewise.
75476         * string/strcmp.c: Likewise.
75477         * string/strcpy.c: Likewise.
75478         * string/strncat.c: Likewise.
75479         * string/strncmp.c: Likewise.
75480         * string/strncpy.c: Likewise.
75482 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75484         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
75485         __builtin_memcopy is called when src and dest ranges are known to not
75486         overlap.
75488 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75490         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
75491         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
75492         fwd_align_merge macro call.
75493         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
75494         bwd_align_merge macro call.
75495         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75497 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75499         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
75500         bwd_align_merge macros.
75501         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
75502         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
75503         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75505 2012-04-18  David S. Miller  <davem@davemloft.net>
75507         * sysdeps/sparc/sparc64/memcopy.h: Delete.
75509 2012-04-18  Andreas Jaeger  <aj@suse.de>
75511         [BZ# 6794]
75512         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
75513         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
75514         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75516         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
75517         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
75518         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75520         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
75521         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
75522         Adjust for changed ldbl-128 files.
75524         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
75525         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
75526         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75528 2012-04-17  David S. Miller  <davem@davemloft.net>
75530         * sysdeps/sparc/sparc32/memcopy.h: Delete.
75532 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
75534         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
75535         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
75536         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
75537         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
75538         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
75539         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
75541 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75543         [BZ #6794]
75544         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
75545         * math/libm-test.inc: Add ilogb errno and exception tests.
75546         * math/w_ilogb.c: New file: ilogb wrapper.
75547         * math/w_ilogbf.c: New file: ilogbf wrapper.
75548         * math/w_ilogbl.c: New file: ilogbl wrapper.
75549         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
75550         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
75551         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
75552         exception being thrown with 0.0 as argument.
75553         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
75554         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
75555         exception being thrown with 0.0 as argument.
75556         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
75557         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75558         exception being thrown with 0.0 as argument.
75559         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
75560         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75561         exception being thrown with 0.0 as argument.
75562         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
75563         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
75564         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
75565         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
75566         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
75567         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
75568         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
75569         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
75570         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
75572 2012-04-17  Petr Baudis  <pasky@ucw.cz>
75574         * include/sys/uio.h: Change __vector to __iovec to avoid clash
75575         with altivec.
75577 2012-04-16  Marek Polacek  <polacek@redhat.com>
75579         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
75581 2012-04-16  Marek Polacek  <polacek@redhat.com>
75583         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
75584         operands of fdivp instruction.
75586 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75588         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
75589         * elf/tst-auditmod3b.c: Likewise.
75590         * elf/tst-auditmod4b.c: Likewise.
75591         * elf/tst-auditmod5b.c: Likewise.
75592         * elf/tst-auditmod6b.c: Likewise.
75593         * elf/tst-auditmod6c.c: Likewise.
75594         * elf/tst-auditmod7b.c: Likewise.
75595         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
75596         * sysdeps/x86_64/preconfigure.in: Likewise.
75597         * sysdeps/x86_64/preconfigure: Regenerated.
75599 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75601         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
75602         __ILP32__.
75604 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
75606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75607         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
75609 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
75611         [BZ #13973]
75612         * locale/iso-639.def: Fix gl language name. Spotted by
75613         Yaron Shahrabani.
75615 2012-04-12  Roland McGrath  <roland@hack.frob.com>
75617         [BZ #2074]
75618         * libio/libio.h (__io_write_fn): Update comment.
75620 2012-04-12  Petr Baudis  <pasky@ucw.cz>
75622         [BZ #2074]
75623         * stdio.texi (Hook Functions): The user provided writer function
75624         is not allowed to return -1.
75626 2012-04-11  David S. Miller  <davem@davemloft.net>
75628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75630 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
75632         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
75633         Add a leading slash to rtkaio.
75635 2012-04-11  Jim Meyering  <meyering@redhat.com>
75637         [BZ #11959]
75638         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
75639         It is not necessarily an error to ignore fwrite's return
75640         value.  One can reliably use ferror to test for errors after
75641         the fact.
75643 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
75645         * bits/types.h (__snseconds_t): New type.
75646         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
75648         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
75649         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75650         (__SNSECONDS_T_TYPE): Likewise.
75651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75652         (__SNSECONDS_T_TYPE): Likewise.
75653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75654         (__SNSECONDS_T_TYPE): Likewise.
75656 2012-04-10  Andreas Jaeger  <aj@suse.de>
75658         [BZ #2636]
75659         * manual/time.texi (Processor Time): Return type of times is
75660         elapsed real time since an arbitrary point in the past.
75661         (CPU Time): Move CLK_TCK from here...
75662         (Processor Time): ...to here.  Correct description.
75663         * manual/conf.texi (Constants for Sysconf): Correct description of
75664         _SC_CLK_TCK.
75666 2012-04-10  David S. Miller  <davem@davemloft.net>
75668         [BZ #13967]
75669         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
75670         where the is a gap between DT_REL(A) and DT_JMPREL.
75672 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
75674         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
75675         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75676         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75678 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
75680         * elf/dl-support.c (_dl_inhibit_cache): New variable.
75681         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
75682         (dl_main): Handle --inhibit-cache.
75683         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
75684         _dl_inhibit_cache.
75685         * elf/dl-load.c (_dl_map_object): Use it.
75686         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
75688 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
75690         [BZ #13872]
75691         * sysdeps/i386/fpu/e_powl.S (p78): New object.
75692         (__ieee754_powl): Saturate large exponents rather than testing for
75693         overflow of y*log2(x).
75694         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75695         * math/libm-test.inc (pow_test): Do not permit spurious overflow
75696         exceptions.
75698         [BZ #11521]
75699         * math/s_ctan.c: Include <float.h>.
75700         (__ctan): Avoid internal overflow or cancellation in calculating
75701         denominator.
75702         * math/s_ctanf.c: Likewise.
75703         * math/s_ctanl.c: Likewise.
75704         * math/s_ctanh.c: Likewise.
75705         * math/s_ctanhf.c: Likewise.
75706         * math/s_ctanhl.c: Likewise.
75707         * math/libm-test.inc (ctan_test): Add more tests.
75708         (ctanh_test): Likewise.
75709         * sysdeps/i386/fpu/libm-test-ulps: Update.
75710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75712 2012-04-09  Andreas Jaeger  <aj@suse.de>
75714         [BZ #6894]
75715         * manual/filesys.texi (Directory Entries): Mention that d_namlen
75716         is an optional BSD extension.
75718         [BZ #10254]
75719         * manual/stdio.texi (Opening Streams): Document additional fopen
75720         parameters.
75722 2012-04-09  Roland McGrath  <roland@hack.frob.com>
75724         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
75725         %eax without telling the compiler.
75727 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
75729         [BZ # 13963]
75730         * manual/install.texi: Use sourceware.org.
75732 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
75734         [BZ #13873]
75735         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
75736         (__ieee754_pow): Generate overflow and underflow using huge*huge
75737         and tiny*tiny rather than just returning constant infinity or zero
75738         for large exponents.
75739         * math/libm-test.inc (pow_test): Require overflow exceptions for
75740         applicable cases of large exponents.
75742         [BZ #706]
75743         * sysdeps/i386/fpu/e_pow.S (p10): New object.
75744         (__ieee754_pow): Use iterative multiplication algorithm only for
75745         integer exponents with absolute value below 1024.  Check for odd
75746         integer exponents when using algorithm for real exponents.
75747         * math/libm-test.inc (pow_test): Add more tests.
75748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75750 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
75752         [BZ #13705]
75753         * math/libm-test.inc (exp_test): Do not allow overflow exception
75754         on underflow test.
75756 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
75758         [BZ #13705]
75759         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
75760         instead of __kernel_standard_f.
75762 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
75764         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
75765         * sysdeps/x86_64/memset_chk.S: Likewise.
75767 2012-04-08  Andreas Jaeger  <aj@suse.de>
75769         [BZ #10153]
75770         * manual/startup.texi (Environment Access): Describe return value
75771         for putenv and setenv.
75773         [BZ #6895]
75774         * manual/filesys.texi (Directory Entries): Add description for
75775         DT_LNK.
75777         [BZ #6890]
75778         * manual/filesys.texi (Directory Entries): Clarify that it's file
75779         system not operating system in the description of DT_UNKNOWN.
75781         [BZ #6578]
75782         * manual/syslog.texi (closelog): Fix reference, it's openlog.
75784 2012-04-08  Stephen Compall  <s11@member.fsf.org>
75786         [BZ #6649]
75787         * manual/llio.texi (Opening and Closing Files): Add cross
75788         reference to explain mode argument.
75790 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
75792         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
75793         * sysdeps/x86_64/memset_chk.S: Likewise.
75795 2012-04-07  David S. Miller  <davem@davemloft.net>
75797         * elf/elf.h (R_SPARC_WDISP10): Define.
75798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
75799         R_SPARC_SIZE32.
75800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
75801         R_SPARC_SIZE64 and R_SPARC_H34.
75803 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
75805         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
75806         conditions and remove no longer applicable assertion.
75808 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
75810         * bits/byteswap.h: Include <features.h>.
75811         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75812         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75814 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
75816         * bits/byteswap.h (__bswap_16): Removed.
75817         Include <bits/byteswap-16.h> to get __bswap_16.
75818         * sysdeps/i386/bits/byteswap.h: Likewise.
75819         * sysdeps/s390/bits/byteswap.h: Likewise.
75820         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75821         * bits/byteswap-16.h: New file.
75822         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75823         * sysdeps/s390/bits/byteswap-16.h: Likewise.
75824         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
75825         * string/Makefile (headers): Add bits/byteswap-16.h.
75827 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75829         [BZ #13895]
75830         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
75831         extra indirection.
75832         * nss/Makefile (tests-static, tests): Add tst-nss-static.
75833         * nss/tst-nss-static.c: New.
75835 2012-04-06  Robert Millan  <rmh@gnu.org>
75837         [BZ #6486]
75838         * manual/llio.texi (File Position Primitive): lseek
75839         refers to WHENCE when it really means OFFSET.
75841 2012-04-06  Andreas Jaeger  <aj@suse.de>
75843         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
75844         strncmp declarations.
75846         * abilist/libc.abilist: Add __poll and __ppoll.
75848 2012-04-05  David S. Miller  <davem@davemloft.net>
75850         * scripts/check-local-headers.sh: Accept a host triplet in the
75851         path matched by the exclude regexp.
75853         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
75854         definition.
75855         * sysdeps/powerpc/powerpc32/dl-machine.h
75856         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
75857         * sysdeps/s390/s390-32/dl-machine.h
75858         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75859         * sysdeps/sparc/sparc32/dl-machine.h
75860         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75861         * sysdeps/sparc/sparc64/dl-machine.h
75862         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75864         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
75865         lazy binding.
75866         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
75867         undefined symbol errors.
75869         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
75870         DT_NEEDED entries.
75872 2012-04-05  Michael Matz  <matz@suse.de>
75874         [BZ #13592]
75875         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
75877 2012-04-05  Andreas Jaeger  <aj@suse.de>
75879         [BZ #13908]
75880         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
75881         comment.
75883 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75885         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
75886         which ROUND is no valid rounding mode.
75888 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75890         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
75891         read again.
75892         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
75894 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75896         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
75897         an exception using FPU order intentionally.
75899 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75901         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
75902         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
75903         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
75904         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
75906 2012-04-05  Simon Josefsson  <simon@josefsson.org>
75908         [BZ #12340]
75909         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
75910         EINVAL when BUFLEN is too smal.
75912 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
75914         [BZ #13553]
75915         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
75916         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
75918 2012-04-03  Andreas Jaeger  <aj@suse.de>
75920         [BZ #13938]
75921         * manual/setjmp.texi (System V contexts): Fix sentence.
75923         [BZ #13926]
75924         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
75925         New macro for this case.
75926         [!__GNUC__] (__bswap_64): New inline function for this case.
75927         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75928         * bits/byteswap.h: Likewise.
75929         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
75930         ull, guard with __GLIBC_HAVE_LONG_LONG.
75932         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
75933         __GLIBC_HAVE_LONG_LONG.
75935         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
75936         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
75938 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75940         [BZ #13691]
75941         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
75942         inptr and inend, rather than using last_ch.
75944 2012-04-02  David S. Miller  <davem@davemloft.net>
75946         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
75947         * stdio-common/printf-parse.h (read_int): Change return type to
75948         'int', return -1 on INT_MAX overflow.
75949         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
75950         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
75951         overflows INT_MAX.  Check for overflow of in-format-string precision
75952         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
75953         SIZE_MAX not INT_MAX for integer overflow test.
75954         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
75955         skip the construct in the format string but do not record anything.
75956         * stdio-common/bug22.c: Adjust to test both width/prevision
75957         INT_MAX overflow as well as total length INT_MAX overflow.  Check
75958         explicitly for proper errno values.
75960 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
75962         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
75963         CHAR_MAX.
75964         * string/test-strcmp.c [! WIDE]: Likewise.
75965         * time/tst-mktime2.c: Likewise for INT_MAX.
75966         * string/test-string.h: #include <sys/param.h> for MIN.
75968         * csu/init-first.c (__libc_init_first): Call __ctype_init.
75969         * sysdeps/i386/init-first.c (init): Likewise.
75970         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
75971         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
75972         * sysdeps/sh/init-first.c (init): Likewise.
75974 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
75976         * po/ru.po: Update from translation team.
75977         * po/vi.po: Likewise.
75979 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
75981         * resolv/nss_dns/dns-host.c: Merge copyright years.
75983 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75985         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75986         Optimize memcpy with prefetch if
75987         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
75988         src, dst pointers have unequal 16 byte alignments.
75990 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
75992         [BZ #13928]
75993         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
75994         from a CNAME entry and return the minimum ttl for the query.
75995         (gaih_getanswer_slice): Likewise.
75997 2012-03-30  Jeff Law  <law@redhat.com>
75999         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76000         due to long keys.
76001         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76002         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76004         * resolv/nss_dns/dns-host.c: Update copyright year.
76006 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76008         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76009         requests to save a system call.  Fix check that all bytes are sent.
76011         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76012         comments for sendmmsg.
76014 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76016         [BZ #13691]
76017         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76018         with only 1 character between 0x0041 and 0x01b0.
76019         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76020         * wcsmbs/tst-mbsnrtowcs.c: New file.
76022 2012-03-29  David S. Miller  <davem@davemloft.net>
76024         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76025         small copies by hand.
76027 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76029         [BZ #13761]
76030         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76031         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76032         group memberships.
76034 2012-03-28  David S. Miller  <davem@davemloft.net>
76036         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76037         that branches into memcpy.
76038         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76039         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76040         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76041         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76042         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76043         bits.
76044         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76045         implementation too.
76046         * sysdeps/sparc/mempcpy.S: New file.
76048         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76049         the IFUNC routine in the libc case.
76050         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76052         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76053         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76054         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76055         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76056         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76057         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76058         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76059         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76061         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76062         loop to 256 bytes instead of 64 bytes and fix test signedness.
76064         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76065         * sysdeps/sparc/sparc32/Makefile: rather than here...
76066         * sysdeps/sparc/sparc64/Makefile: and here.
76068 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76070         * malloc/mallocbug.c: Avoid warnings about unused variables.
76072 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76074         [BZ #13760]
76075         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76076         in the right place. Discard and retry query if response is
76077         larger than input buffer size.
76079 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76081         [BZ #369]
76082         [BZ #2678]
76083         [BZ #3866]
76084         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76085         x for large integer exponent.
76086         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76087         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76088         sign of result as needed afterwards.
76089         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76090         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76091         result for underflowing pow the same as for overflow.
76092         (__kernel_standard_l): Handle powl overflow and underflow here
76093         rather than calling __kernel_standard.
76094         * math/libm-test.inc (pow_test): Add more tests.
76096         [BZ #3868]
76097         [BZ #13879]
76098         [BZ #13910]
76099         [BZ #13911]
76100         [BZ #13912]
76101         [BZ #13913]
76102         [BZ #13915]
76103         [BZ #13916]
76104         [BZ #13917]
76105         [BZ #13918]
76106         [BZ #13919]
76107         [BZ #13920]
76108         [BZ #13921]
76109         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76110         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76111         (__kernel_standard_l): New function.
76112         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76113         __kernel_standard.
76114         * math/w_acosl.c (__acosl): Likewise.
76115         * math/w_asinl.c (__asinl): Likewise.
76116         * math/w_atan2l.c (__atan2l): Likewise.
76117         * math/w_atanhl.c (__atanhl): Likewise.
76118         * math/w_coshl.c (__coshl): Likewise.
76119         * math/w_exp10l.c (__exp10l): Likewise.
76120         * math/w_exp2l.c (__exp2l): Likewise.
76121         * math/w_fmodl.c (__fmodl): Likewise.
76122         * math/w_hypotl.c (__hypotl): Likewise.
76123         * math/w_j0l.c (__j0l, __y0l): Likewise.
76124         * math/w_j1l.c (__j1l, __y1l): Likewise.
76125         * math/w_jnl.c (__jnl, __ynl): Likewise.
76126         * math/w_lgammal.c (__lgammal): Likewise.
76127         * math/w_log10l.c (__log10l): Likewise.
76128         * math/w_log2l.c (__log2l): Likewise.
76129         * math/w_logl.c (__logl): Likewise.
76130         * math/w_powl.c (__powl): Likewise.
76131         * math/w_remainderl.c (__remainderl): Likewise.
76132         * math/w_scalbl.c (sysv_scalbl): Likewise.
76133         * math/w_sinhl.c (__sinhl): Likewise.
76134         * math/w_sqrtl.c (__sqrtl): Likewise.
76135         * math/w_tgammal.c (__tgammal): Likewise.
76136         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76137         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76138         * math/libm-test.inc (acos_test): Add more tests.
76139         (acosh_test): Likewise.
76140         (asin_test): Likewise.
76141         (atanh_test): Likewise.
76142         (exp_test): Likewise.
76143         (exp10_test): Likewise.
76144         (exp2_test): Likewise.
76145         (expm1_test): Likewise.
76146         (lgamma_test): Likewise.
76147         (log_test): Likewise.
76148         (log10_test): Likewise.
76149         (log1p_test): Likewise.
76150         (log2_test): Likewise.
76151         (pow_test): Do not allow some spurious overflow exceptions.
76152         (sqrt_test): Add more tests.
76153         (tgamma_test): Likewise.
76154         (y0_test): Likewise.
76155         (y1_test): Likewise.
76156         (yn_test): Likewise.
76158 2012-03-27  Anton Blanchard  <anton@samba.org>
76160         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76161         MAP_HUGETLB.
76162         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76163         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76164         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76166 2012-03-27  David S. Miller  <davem@davemloft.net>
76168         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76170         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76171         have-as-vis3 check.
76173 2012-03-27  Andreas Jaeger  <aj@suse.de>
76175         * sysdeps/x86_64/elf/configure.in: Moved to ...
76176         * sysdeps/x86_64/configure.in: ... here.
76177         * sysdeps/x86_64/elf/start.S: Moved to ...
76178         * sysdeps/x86_64/start.S: ... here.
76179         * sysdeps/x86_64/elf/configure: Delete.
76181         * sysdeps/x86_64/configure.in: Merge contents from
76182         sysdeps/i386/configure.in (without i686 check).
76184         * sysdeps/i386/elf/Versions: Merge into ...
76185         * sysdeps/i386/Versions: ... this.
76186         * sysdeps/i386/elf/Versions: Delete file.
76187         * sysdeps/i386/elf/start.S: Moved to ...
76188         * sysdeps/i386/start.S: ...here.
76189         * sysdeps/i386/elf/configure.in: Merge into...
76190         * sysdeps/i386/configure.in: ...here.
76191         * sysdeps/i386/elf/configure.in: Delete file.
76192         * sysdeps/i386/elf/configure: Delete file.
76194         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76195         * debug/backtracesyms.c: ... here.
76196         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76197         * debug/backtracesymsfd.c: ... here.
76198         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76199         * sysdeps/generic/ifunc-sel.h: ... here.
76201         * sysdeps/unix/i386/start.c: Delete file.
76202         * sysdeps/unix/sparc/start.c: Delete file.
76203         * sysdeps/unix/start.c: Delete file.
76205         * sysdeps/sh/elf/configure.in: Moved to ...
76206         * sysdeps/sh/configure.in: ... here.
76207         * sysdeps/sh/elf/start.S: Moved to ...
76208         * sysdeps/sh/start.S: ... here.
76209         * sysdeps/sh/elf/configure: Delete file.
76211         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76212         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76213         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76214         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76215         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76216         * sysdeps/powerpc/powerpc64/start.S: here.
76217         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76218         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76219         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76220         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76221         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76223         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76224         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76225         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76226         * sysdeps/powerpc/powerpc32/start.S: ... here.
76227         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76228         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76229         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76231         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76232         * sysdeps/powerpc/ifunc-sel.h: ... here.
76233         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76234         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76236         * sysdeps/sparc/elf/configure.in: Moved to ...
76237         * sysdeps/sparc/configure.in: ... here.
76238         * sysdeps/sparc/elf/configure: Delete file.
76239         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76240         * sysdeps/sparc/sparc32/start.S: ... here.
76241         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76242         * sysdeps/sparc/sparc64/start.S: ... here.
76243         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76244         * sysdeps/sparc/sparc32/Makefile: ... this.
76245         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76246         * sysdeps/sparc/sparc64/Makefile: ... this.
76248         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76249         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76250         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76251         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76252         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76253         * sysdeps/s390/s390-32/setjmp.S: ... here.
76254         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76255         * sysdeps/s390/s390-32/configure.in: ... here.
76256         * sysdeps/s390/s390-32/elf/configure: Delete file.
76257         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76258         * sysdeps/s390/s390-32/start.S: ... here.
76260         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76261         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76262         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76263         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76264         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76265         * sysdeps/s390/s390-64/setjmp.S: ... here.
76266         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76267         * sysdeps/s390/s390-64/configure.in: ... here
76268         * sysdeps/s390/s390-64/elf/configure: Delete file.
76269         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76270         * sysdeps/s390/s390-64/start.S: ... here.
76271         * sysdeps/s390/s390-64/elf/configure: Delete.
76273         * configure.in: Remove support for elf directories in sysdeps.
76275         * configure: Regenerated.
76276         * sysdeps/i386/configure: Regenerated.
76277         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76278         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76279         * sysdeps/s390/s390-32/configure: Regenerated.
76280         * sysdeps/s390/s390-64/configure: Regenerated.
76281         * sysdeps/sh/configure: Regenerated.
76282         * sysdeps/sparc/configure: Regenerated.
76283         * sysdeps/x86_64/configure: Regenerated.
76285 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76289         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76290         denormal result into account.
76292 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76294         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76295         Reported by Allan McRae <allan@archlinux.org>.
76297 2012-03-23  Jeff Law  <law@redhat.com>
76299         * nss/getnssent.c (__nss_getent): Fix typo.
76301 2012-03-23  David S. Miller  <davem@davemloft.net>
76303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76305 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76307         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76308         to pad to uint64_t for each field.
76309         (dl_tls_index): Replace unsigned long with uint64_t.
76311 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76312         Paul Pluzhnikov  <ppluzhnikov@google.com>
76314         [BZ #6528]
76315         * grp/Makefile (otherlibs): Don't set it.
76316         * inet/Makefile (otherlibs): Likewise.
76317         * login/Makefile (otherlibs): Likewise.
76318         * nscd/Makefile (otherlibs): Likewise.
76319         * posix/Makefile (otherlibs): Likewise.
76320         * pwd/Makefile (otherlibs): Likewise.
76321         * rt/Makefile (otherlibs): Likewise.
76322         * sunrpc/Makefile (otherlibs): Likewise.
76323         * nss/Makefile (otherlibs): Likewise.
76324         Add libnss_files to routines and static-only-routines.
76325         ($(objpfx)getent): Remove rule.
76326         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76327         static-only-routines.
76329 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76331         [BZ #13892]
76332         * math/s_cexp.c: Include <float.h>.
76333         (__cexp): Handle exp result overflowing not necessarily
76334         overflowing both real and imaginary parts of result.
76335         * math/s_cexpf.c: Likewise.
76336         * math/s_cexpl.c: Likewise.
76337         * math/libm-test.inc (cexp_test): Add more tests.
76338         * sysdeps/i386/fpu/libm-test-ulps: Update.
76339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76341 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76343         * include/link.h (ELFW): New macro.
76344         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76345         Replace ELF64_R_TYPE with ELFW(R_TYPE).
76347 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76349         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76350         with uint64_t.
76352 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76354         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76355         declaration.
76356         (struct La_x32_retval): Likewise.
76358 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76360         * sysdeps/x86_64/preconfigure.in: New file.
76361         * sysdeps/x86_64/preconfigure: New generated file.
76363 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76365         [BZ #13824]
76366         * math/e_exp2l.c: Include <float.h>.
76367         (__ieee754_exp2l): Handle overflow and underflow cases
76368         separately.  Only pass fractional part of argument to
76369         __ieee754_expl.
76370         * math/libm-test.inc (exp2_test): Add more tests.
76372         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
76373         negating x to take absolute value.
76374         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
76375         Likewise.
76376         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
76377         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
76378         Likewise.
76379         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
76380         computing low part if x was negated.
76381         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
76383 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76385         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76386         la_x32_gnu_pltexit.
76387         (pltexit): Cast int_retval to ptrdiff_t.
76388         * elf/tst-auditmod3b.c: Likewise.
76389         * elf/tst-auditmod4b.c: Likewise.
76390         * elf/tst-auditmod5b.c: Likewise.
76391         * elf/tst-auditmod6b.c: Likewise.
76392         * elf/tst-auditmod6c.c: Likewise.
76393         * elf/tst-auditmod7b.c: Likewise.
76395         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
76396         and x32_gnu_pltexit.
76398         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
76399         __ELF_NATIVE_CLASS.
76400         (La_x32_regs): New macro.
76401         (La_x32_retval): Likewise.
76402         (la_x32_gnu_pltenter): New function prototype.
76403         (la_x32_gnu_pltexit): Likewise.
76405 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
76407         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
76408         exponent.
76410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76412         * configure.in (libc_cv_cc_nofma): Check for option to disable
76413         generation of FMA instructions.
76414         * configure: Regenerate.
76415         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76416         * sysdeps/ieee754/dbl-64/Makefile: New file.
76417         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
76418         Remove brandred-fma4.
76419         (CFLAGS-brandred-fma4.c): Remove.
76420         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
76421         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76422         define.
76423         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
76424         define.
76426 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76428         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76429         LLONG_MAX != LONG_MAX.
76430         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76431         (_fitoa_word): Likewise.
76432         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76433         LLONG_MAX != LONG_MAX.
76434         * stdio-common/_itowa.h: Include <_itoa.h>.
76435         (_itowa_word): Use _ITOA_WORD_TYPE on value.
76436         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
76437         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
76438         only if not defined.
76439         (_ITOA_WORD_TYPE): Likewise.
76440         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76441         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
76443 2012-03-21  David S. Miller  <davem@davemloft.net>
76445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76447 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76449         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
76450         of x86_64 when setting libc_cv_slibdir, libdir and
76451         libc_cv_localedir.
76452         * sysdeps/unix/sysv/linux/configure: Regenerated.
76454 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76456         * manual/lang.texi (Old Varargs): Remove section.
76457         (How Variadic): Update menu.
76458         (va_start): Do not mention varargs.h.
76460 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76461             Joseph Myers  <joseph@codesourcery.com>
76463         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
76464         link test.
76465         * configure: Regenerated.
76467 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76469         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
76470         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
76471         conformtest.pl
76473 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76475         * NOTES: Remove.
76476         * Makefile (files-for-dist): Remove NOTES.
76477         (NOTES): Remove rule.
76478         * README: Don't refer to NOTES.
76479         * manual/creature.texi: Don't include macros.texi.
76480         * manual/intro.texi (creature.texi): Remove comment referring to
76481         NOTES.
76483         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
76484         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
76485         * configure: Regenerated.
76486         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
76487         LIBC_TRY_CC_OPTION.
76488         (libc_cv_as_i686): Likewise.
76489         (libc_cv_cc_avx): Likewise.
76490         (libc_cv_cc_sse2avx): Likewise.
76491         (libc_cv_cc_fma4): Likewise.
76492         (libc_cv_cc_novzeroupper): Likewise.
76493         * sysdeps/i386/configure: Regenerated.
76495         [BZ #13883]
76496         * sysdeps/i386/fpu/s_cexp.S: Remove.
76497         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76498         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76499         * math/libm-test.inc (cexp_test): Add more tests.
76500         * sysdeps/i386/fpu/libm-test-ulps: Update.
76501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76503 2012-03-21  Allan McRae  <allan@archlinux.org>
76505         * timezone/Makefile: Do not install iso3166.tab and zone.tab
76507 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76509         [BZ #13871]
76510         * math/w_exp2.c: Do not include <float.h>.
76511         (o_threshold, u_threshold): Remove.
76512         (__exp2): Calculate result before checking finiteness and calling
76513         __kernel_standard.
76514         * math/w_exp2f.c: Likewise.
76515         * math/w_exp2l.c: Likewise.
76516         * math/libm-test.inc (exp2_test): Require overflow exception for
76517         1e6 input.
76519         [BZ #3866]
76520         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
76521         range of signed 64-bit integers before using fistpll.  Remove
76522         checks for whether integers fit in mantissa bits.
76523         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
76524         the range of signed 32-bit integers before using fistpl.  Remove
76525         checks for whether integers fit in mantissa bits.
76526         * sysdeps/i386/fpu/e_powl.S (p64): New object.
76527         (__ieee754_powl): Test for y outside the range of signed 64-bit
76528         integers before using fistpll.  Reduce 64-bit values to 63-bit
76529         ones as needed.
76530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
76531         divide-by-zero is raised for zero to large negative powers.
76532         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
76533         (__ieee754_powl): Test for y outside the range of signed 64-bit
76534         integers before using fistpll.  Reduce 64-bit values to 63-bit
76535         ones as needed.
76536         * math/libm-test.inc (pow_test): Add more tests.
76538 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76540         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
76541         <stdio-common/_itoa.h>.
76542         * debug/segfault.c: Likewise.
76543         * elf/dl-cache.c: Likewise.
76544         * elf/dl-minimal.c: Likewise.
76545         * elf/dl-misc.c: Likewise.
76546         * elf/dl-sysdep.c: Likewise.
76547         * elf/dl-version.c: Likewise.
76548         * elf/rtld.c: Likewise.
76549         * hurd/hurdsock.c: Likewise.
76550         * hurd/lookup-retry.c: Likewise.
76551         * malloc/malloc.c: Likewise.
76552         * malloc/mtrace.c: Likewise.
76553         * nscd/nscd_getgr_r.c: Likewise.
76554         * nscd/nscd_getpw_r.c: Likewise.
76555         * nscd/nscd_getserv_r.c: Likewise.
76556         * posix/getopt_init.c: Likewise.
76557         * posix/wordexp.c: Likewise.
76558         * stdio-common/_itoa.c: Likewise.
76559         * stdio-common/printf_fphex.c: Likewise.
76560         * stdio-common/vfprintf.c: Likewise.
76561         * string/_strerror.c: Likewise.
76562         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
76563         * sysdeps/i386/i686/hp-timing.h: Likewise.
76564         * sysdeps/mach/_strerror.c: Likewise.
76565         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
76566         * sysdeps/mach/hurd/sethostid.c: Likewise.
76567         * sysdeps/mach/hurd/xmknodat.c: Likewise.
76568         * sysdeps/mach/xpg-strerror.c: Likewise.
76569         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
76570         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
76571         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
76572         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
76573         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
76574         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
76575         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
76576         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
76577         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
76578         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
76579         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
76580         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
76581         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
76582         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
76583         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
76584         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
76585         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
76586         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
76587         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
76588         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
76589         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
76591         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
76593         * stdio-common/_itoa.h: Moved to ...
76594         * sysdeps/generic/_itoa.h: Here.
76596         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
76598         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
76599         instead of "_itoa.h" and "_itowa.h".
76600         * stdio-common/vfprintf.: Likewise.
76602 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76604         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
76605         <bits/wordsize.h>.
76606         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
76607         (__signbit): Likewise.
76608         (llrintf): Likewise.
76609         (llrint): Likewise.
76611 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76613         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
76614         __WORDSIZE != 64.
76616 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
76618         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
76619         OVERFLOW_EXCEPTION_OK.
76620         * math/libm-test.inc ("Philosophy"): Update comment about
76621         exception testing.
76622         (OVERFLOW_EXCEPTION): Define.
76623         (OVERFLOW_EXCEPTION_OK): Likewise.
76624         (INVALID_EXCEPTION_OK): Renumber.
76625         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76626         (IGNORE_ZERO_INF_SIGN): Likewise.
76627         (test_exceptions): Handle FE_OVERFLOW.
76628         (exp10_test): Expect overflow exceptions.
76629         (exp2_test): Likewise.
76630         (expm1_test): Likewise.
76631         (nextafter_test): Likewise.
76632         (pow_test): Likewise.
76633         (scalbn_test): Likewise.
76634         (scalbln_test): Likewise.
76636 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76638         * sysdeps/x86_64/bits/atomic.h
76639         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
76640         64bit integer.
76641         (atomic_exchange_acq): Likewise.
76642         (__arch_exchange_and_add_body): Likewise.
76643         (__arch_add_body): Likewise.
76644         (atomic_add_negative): Likewise.
76645         (atomic_add_zero): Likewise.
76647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76649         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
76650         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
76652 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76654         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
76655         Check __x86_64__ instead of __WORDSIZE.
76657 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76659         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
76661 2012-03-19  David S. Miller  <davem@davemloft.net>
76663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76665         * sysdeps/sparc/fpu/fenv_private.h: New file.
76666         * sysdeps/sparc/fpu/math_private.h: Use it.
76667         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
76668         Remove.
76669         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
76670         (libc_feholdexcept_setroundl): Remove.
76671         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
76672         Remove.
76673         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
76674         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
76676 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76678         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
76679         int64_t instead of long int.
76680         (INSERT_WORDS64): Likewise.
76682 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76684         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
76685         _Unwind_GetCFA return to _Unwind_Ptr first.
76687 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
76689         [BZ #13629]
76690         * math/s_clog.c: Include <float.h>.
76691         (__clog): Scale large or subnormal inputs.
76692         * math/s_clogf.c: Likewise.
76693         * math/s_clogl.c: Likewise.
76694         * math/s_clog10.c: Include <float.h>.
76695         (M_LOG10_2): Define.
76696         (__clog10): Scale large or subnormal inputs.
76697         * math/s_clog10f.c: Likewise.
76698         * math/s_clog10l.c: Likewise.
76699         * math/libm-test.inc (clog_test): Add more tests.
76700         (clog10_test): Likewise.
76701         * sysdeps/i386/fpu/libm-test-ulps: Update.
76702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76704         [BZ #11451]
76705         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
76706         x and y.
76707         * math/libm-test.inc (atan2_test): Add another test.
76709         * Makerules (common-objdir-compile): Remove.
76710         * sysdeps/unix/Makefile (config-generated): Do not add
76711         $(unix-generated) to variable.
76712         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
76713         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
76714         Remove rule.
76715         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
76716         Likewise.
76717         [generic bits/local_lim.h] (before-compile): Do not append to
76718         variable.
76719         [generic bits/local_lim.h] (common-generated): Likewise.
76720         [generic sys/param.h] (before-compile): Do not append to variable.
76721         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
76722         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
76723         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
76724         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
76725         include.
76726         [generic sys/param.h] (sys/param.h-includes): Remove variable.
76727         [generic sys/param.h] (sys/param.h-includes): Remove rule.
76728         [generic sys/param.h] ($(addprefix
76729         $(common-objpfx),$(sys/param.h-includes))): Likewise.
76730         [generic sys/param.h] (common-generated): Do not append to
76731         variable.
76732         [generic sys/param.h] (sysdep_headers): Likewise.
76733         [generic bits/errno.h] (before-compile): Do not append to
76734         variable.
76735         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
76736         rule.
76737         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
76738         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
76739         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
76740         [generic bits/errno.h] (common-generated): Do not append to
76741         variable.
76742         [generic bits/ioctls.h] (before-compile): Do not append to
76743         variable.
76744         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
76745         rule.
76746         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
76747         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
76748         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
76749         rule.
76750         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
76751         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
76752         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
76753         [generic bits/ioctls.h] (common-generated): Do not append to
76754         variable.
76755         [generic sys/syscall.h] (syscall.h): Remove variable.
76756         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
76757         rule.
76758         [generic sys/syscall.h] (before-compile): Do not append to
76759         variable.
76760         [generic sys/syscall.h] (common-generated): Likewise.
76761         * sysdeps/unix/errnos-tmpl.c: Remove file.
76762         * sysdeps/unix/errnos.awk: Likewise.
76763         * sysdeps/unix/ioctls-tmpl.c: Likewise.
76764         * sysdeps/unix/ioctls.awk: Likewise.
76765         * sysdeps/unix/mk-local_lim.c: Likewise.
76766         * sysdeps/unix/snarf-ioctls: Likewise.
76768 2012-03-19  Richard Henderson  <rth@twiddle.net>
76770         * sysdeps/i386/fpu/fenv_private.h: New file.
76771         * sysdeps/i386/fpu/math_private.h: Use it.
76772         (math_opt_barrier, math_force_eval): Remove.
76773         (libc_feholdexcept_setround_53bit): Remove.
76774         (libc_feupdateenv_53bit): Remove.
76775         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76776         (math_opt_barrier, math_force_eval): Remove.
76777         (libc_feholdexcept): Remove.
76778         (libc_feholdexcept_setround): Remove.
76779         (libc_fetestexcept, libc_fesetenv): Remove.
76780         (libc_feupdateenv_test): Remove.
76781         (libc_feupdateenv, libc_feholdsetround): Remove.
76782         (libc_feresetround): Remove.
76784         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
76785         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
76787         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
76788         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
76789         (libc_feupdateenv_testl): New.
76790         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
76791         (libc_feupdateenv_testf): New.
76792         (libc_feupdateenv): Use libc_feupdateenv_test.
76793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
76794         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
76796         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
76797         (libc_feholdsetroundf, libc_feholdsetroundl): New.
76798         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
76799         (libc_feresetround_noex): New.
76800         (libc_feresetround_noexf): New.
76801         (libc_feresetround_noexl): New.
76802         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
76803         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
76804         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
76805         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
76806         SET_RESTORE_ROUND.
76807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
76808         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
76809         (__cos): Likewise.
76810         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
76811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
76812         SET_RESTORE_ROUND_NOEX.
76813         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
76814         SET_RESTORE_ROUND_NOEXF.
76815         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
76816         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
76817         (libc_feholdsetroundf): New.
76818         (libc_feresetround, libc_feresetroundf): New.
76820         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
76821         (libc_feholdexcept_setround_53bit): Convert from macro to function.
76822         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
76824         * sysdeps/generic/math_private.h: Include <fenv.h>.
76825         (default_libc_feholdexcept): New.
76826         (default_libc_feholdexcept_setround): New.
76827         (default_libc_fesetenv, default_libc_feupdateenv): New.
76828         (libc_feholdexcept): Only define if undefined.
76829         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
76830         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
76831         (libc_feholdexcept_setroundl): Likewise.
76832         (libc_feholdexcept_setround_53bit): Likewise.
76833         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
76834         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
76835         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
76836         (libc_feupdateenv_53bit): Likewise.
76837         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
76838         (libc_feholdexcept): Convert from macro to inline function.
76839         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
76840         (libc_fesetenv, libc_feupdateenv): Likewise.
76842         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
76843         not previously defined.
76844         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
76845         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
76846         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
76847         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
76848         * sysdeps/ieee754/flt-32/math_private.h: New file.
76849         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
76850         math_private.h below SET_FLOAT_WORD.
76851         (__isnan, __isinf_ns, __finite): Remove.
76852         (__isnanf, __isinf_nsf, __finitef): Remove.
76854 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
76856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76858 2012-03-17  David S. Miller  <davem@davemloft.net>
76860         [BZ #6471]
76861         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
76862         for 2.16.
76864 2012-03-16  David S. Miller  <davem@davemloft.net>
76866         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
76867         warnings.
76869         [BZ #6471]
76870         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
76871         properly.
76872         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
76873         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
76874         sysdep_routines when subdir is sysvipc.
76875         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
76876         __getshmlba helper.
76878         * sysdeps/sparc/fpu/libm-test/ulps: Update.
76880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76882         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
76883         [__LP64__].
76885 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
76888         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
76889         (__lround): Renamed to ...
76890         (__llround): This.  Replace long int with long long int.
76891         Define lround functions as aliases of llround functions.
76892         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76894 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76896         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
76897         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
76898         adresses to uintptr_t.  Replace "long int" and "unsigned long
76899         int" with "greg_t" on va_arg.
76901 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76903         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
76904         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
76906         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
76907         Move e_machine check before EI_CLASS check.  Handle x32
76908         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
76909         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
76910         SKIP_EM_IA_64 and include
76911         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
76913         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
76914         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
76915         (add_system_dir): New macro.
76917         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
76918         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
76920 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
76922         [BZ #2551]
76923         [BZ #2552]
76924         [BZ #2553]
76925         [BZ #2554]
76926         [BZ #2562]
76927         [BZ #2563]
76928         [BZ #2565]
76929         [BZ #2566]
76930         [BZ #2576]
76931         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
76932         (y0): Likewise.
76933         * math/w_j0f.c (j0f): Likewise.
76934         (y0f): Likewise.
76935         * math/w_j0l.c (__j0l): Likewise.
76936         (__y0l): Likewise.
76937         * math/w_j1.c (j1): Likewise.
76938         (y1): Likewise.
76939         * math/w_j1f.c (j1f): Likewise.
76940         (y1f): Likewise.
76941         * math/w_j1l.c (__j1l): Likewise.
76942         (__y1l): Likewise.
76943         * math/w_jn.c (jn): Likewise.
76944         (yn): Likewise.
76945         * math/w_jnf.c (jnf): Likewise.
76946         (ynf): Likewise.
76947         * math/w_jnl.c (__jnl): Likewise.
76948         (__ynl): Likewise.
76949         * math/libm-test.inc (j0_test): Add more tests.
76950         (j1_test): Likewise.
76951         (jn_test): Likewise.  Add trailing semicolon to existing test.
76952         (y0_test): Likewise.
76953         (y1_test): Likewise.
76954         * sysdeps/i386/fpu/libm-test-ulps: Update.
76955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76957         [BZ #13851]
76958         [BZ #13854]
76959         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
76960         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
76961         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
76962         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
76963         (__tanl): Set errno for infinite argument.
76964         * sysdeps/i386/fpu/mptan.c: Remove.
76965         * sysdeps/i386/fpu/s_tan.S: Likewise.
76966         * sysdeps/i386/fpu/s_tanl.S: Likewise.
76967         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
76968         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
76969         * math/libm-test.inc (tan_test): Add more tests and enable more
76970         tests for double and long double.
76971         * sysdeps/i386/fpu/libm-test-ulps: Update.
76972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76974 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
76976         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
76977         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
76979 2012-03-16  Roland McGrath  <roland@hack.frob.com>
76981         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
76982         * configure.in: Use it for both main tree and add-ons.
76983         * configure: Regenerated.
76985 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76987         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
76989 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
76991         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
76992         in comment.
76994         [BZ #13851]
76995         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
76996         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
76997         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
76998         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
76999         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77000         infinite argument.
77001         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77002         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77003         != 0 for prec == 2.
77004         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77005         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77006         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77007         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77008         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77009         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77010         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77011         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77012         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77013         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77014         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77015         * math/libm-test.inc (cos_test): Add more tests and enable more
77016         tests for long double.
77017         (sin_test): Likewise.
77018         (sincos_test): Likewise.
77019         * sysdeps/i386/fpu/libm-test-ulps: Update.
77020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77022 2012-03-16  David S. Miller  <davem@davemloft.net>
77024         * sysdeps/sparc/fpu/math_private.h: New file.
77026 2012-03-15  David S. Miller  <davem@davemloft.net>
77028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77029         file.
77030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77032         file.
77033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77038         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77039         sysdep routines.
77040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77042         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77043         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77045         * sysdeps/sparc/sparc-ifunc.h: New file.
77046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77047         sparc-ifunc.h
77048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77050         Likewise.
77051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77052         Likewise.
77053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77057         Likewise.
77058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77063         Likewise.
77064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77065         Likewise.
77066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77072         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77073         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77075         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77084         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77085         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77086         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77087         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77089         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77091 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77093         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77094         scaling.
77095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77097 2012-03-15  Andreas Jaeger  <aj@suse.de>
77099         [BZ #13852]
77100         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77101         ieee754/flt-32 implementation for sin, cos and sincos.
77102         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77103         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77104         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77105         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77106         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77107         ieee754/flt-32 implementation for tan.
77109         * math/libm-test.inc (cos_test): Enable some large input tests for
77110         float as well
77111         (sin_test): Likewise.
77112         (sincos_test): Likewise.
77113         (tan_test): Add tests for large input.
77115         * sysdeps/i386/fpu/libm-test-ulps: Update.
77117 2012-03-15  Andreas Jaeger  <aj@suse.de>
77119         [BZ #13658]
77120         * math/libm-test.inc (cos_test): Add more test cases.
77121         (sin_test): Likewise.
77122         (sincos_test): Likewise.
77124 2012-03-15  Andreas Jaeger  <aj@suse.de>
77126         [BZ #13837]
77127         * math/libm-test.inc (cos_test): Add a test case for large input
77128         value.
77129         (sin_test): Likewise.
77130         (sincos_test): Likewise.
77132 2012-03-15  Andreas Jaeger  <aj@suse.de>
77133             Joseph Myers  <joseph@codesourcery.com>
77135         [BZ #13658]
77136         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77137         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77138         * sysdeps/i386/fpu/branred.c: Likewise.
77139         * sysdeps/i386/fpu/dosincos.c: Likewise.
77140         * sysdeps/i386/fpu/mpa.c: Likewise.
77141         * sysdeps/i386/fpu/s_cos.S: Likewise.
77142         * sysdeps/i386/fpu/s_sin.S: Likewise.
77143         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77144         * sysdeps/i386/fpu/sincos32.c: Likewise.
77146         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77147         Define.
77148         (libc_feupdateenv_53bit): Define.
77149         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77150         Define.
77151         (libc_feupdateenv_53bit): Define.
77153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77154         53 bit (without extend i386 double precision).
77156         * math/libm-test.inc (sincos_test): Add tests for large input.
77157         (sin): Likewise.
77158         (cos): Likewise.
77160         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77162 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77166 2012-03-15  David S. Miller  <davem@davemloft.net>
77168         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77169         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77170         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77171         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77184         file.
77185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77187         file.
77188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77190         file.
77191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77193         file.
77194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77196         fmin/fmax sysdep routines.
77197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77199 2012-03-14  David S. Miller  <davem@davemloft.net>
77201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77205         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77206         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77207         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77208         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77220         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77221         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77223         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77224         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77225         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77226         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77227         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77228         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77230         routines.
77231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77232         file.
77233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77235         file.
77236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77238         file.
77239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77241         file.
77242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77244         file.
77245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77247         file.
77248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77249         file.
77250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77251         file.
77252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77253         file.
77254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77255         New file.
77256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77257         file.
77258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77259         file.
77260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77262         file.
77263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77265         file.
77266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77268         file.
77269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77271         VIS3 routines.
77273         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77274         New file.
77276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77278         * sysdeps/sparc/configure.in: New file.
77279         * sysdeps/sparc/configure: Generate.
77280         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77281         * configure: Regenerate.
77282         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77283         * config.make.in (have-as-vis3): New.
77284         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77285         available use -Av9d instead of -Av9a.
77286         * sysdeps/sparc/sparc64/Makefile: Likewise.
77287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77289         New file.
77290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77291         file.
77292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77293         New file.
77294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77295         file.
77296         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77297         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77299         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77300         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77302         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77303         fzeros/fnegs to load 0x80000000 into a float register instead of
77304         using the stack.
77305         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77307 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77310         bits/syscall.h.
77311         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77312         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77313         ($(inst_includedir)/bits/syscall.h): Remove rule.
77314         ($(objpfx)bits/syscall.d): Include instead of
77315         $(objpfx)syscall-list.d.
77316         (generated): Change syscall-list.h and syscall-list.d to
77317         bits/syscall.h and bits/syscall.d.
77319 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77321         [BZ #13846]
77322         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77324 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77326         [BZ #13841]
77327         * math/s_csqrt.c: Include <float.h>.
77328         (__csqrt): Scale large or subnormal inputs.
77329         * math/s_csqrtf.c: Likewise.
77330         * math/s_csqrtl.c: Likewise.
77331         * math/libm-test.inc (csqrt_test): Add more tests.
77332         * sysdeps/i386/fpu/libm-test-ulps: Update.
77333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77335         [BZ #13840]
77336         * math/libm-test.inc (hypot_test): Add more tests.
77338 2012-03-13  David S. Miller  <davem@davemloft.net>
77340         [BZ #13840]
77341         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77342         double-precision for the calculation instead of scaling.
77344 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
77346         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77347         manipulate bits before adding and subtracting TWO52[sx].
77348         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77349         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77350         Likewise.
77351         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77353 2012-03-13  David S. Miller  <davem@davemloft.net>
77355         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77356         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
77358         rtld-global-offsets.h
77359         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77361         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
77362         large parameters.
77364         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
77366         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
77367         'err' in the ifdef scope in which it is actually used.
77369         * nss/nss_db/db-init.c: Include string.h
77371 2012-03-12  David S. Miller  <davem@davemloft.net>
77373         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77374         masking out of the most significant byte of random value used.
77375         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77376         Fix coding style in previous change.
77378         * sysdeps/unix/sysv/linux/kernel-features.h
77379         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
77380         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
77381         expression.
77382         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
77383         later.
77385 2012-03-11  David S. Miller  <davem@davemloft.net>
77387         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
77388         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
77389         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
77390         for 'resultvar' otherwise things get truncated on 64-bit.
77392         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77393         Fix masking out of the most significant byte of random value used.
77395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77397 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
77399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77401 2012-03-09  David S. Miller  <davem@davemloft.net>
77403         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
77404         variables with appropriate CPP guards.
77405         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
77406         from the frame pointer, not the stack pointer.  Correct layout
77407         comments.  Fix test on resulting framesize and the management of
77408         the outregs buffer for pltexit.  Preserve floating point return
77409         values across _dl_call_pltexit call.
77410         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
77411         framesize and the management of the outregs buffer for pltexit.
77412         Preserve floating point return values across _dl_call_pltexit
77413         call.
77414         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
77415         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
77416         (la_sparc64_gnu_pltexit): New functions.
77417         (print_exit): Fix format string for return register value.
77419 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
77421         * sunrpc/Makefile (others): Add rpcgen.
77422         ($(objpfx)rpcgen): Remove special build rule and dependency on
77423         libc.
77424         * sunrpc/rpcgen.c: New file.
77426 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
77428         [BZ #13673]
77429         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
77430         * stdio-common/bug-vfprintf-nargs.c: Likewise.
77431         * sysdeps/i386/crti.S: Likewise.
77432         * sysdeps/i386/crtn.S: Likewise.
77433         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
77434         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
77435         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
77436         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
77437         * sysdeps/sh/crti.S: Likewise.
77438         * sysdeps/sh/crtn.S: Likewise.
77439         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77441         [BZ #13673]
77442         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
77443         with URL.
77444         * locale/programs/locfile-kw.gperf: Likewise.
77445         * locale/programs/charmap-kw.h: Regenerated.
77446         * locale/programs/locfile-kw.h: Likewise.
77448         [BZ #13673]
77449         * intl/plural.y: Replace FSF snail mail address with URL.
77450         * intl/plural.c: Regenerated.
77452 2012-03-09  Richard Henderson  <rth@twiddle.net>
77454         * include/math_private.h: Remove file.
77455         * math/math_private.h: Move file ...
77456         * sysdeps/generic/math_private.h: ... here.
77458         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
77459         * sysdeps/powerpc/fpu/math_private.h: Likewise.
77460         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77462         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
77463         and <math_private.h>.
77464         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77465         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77466         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77467         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77468         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77469         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
77470         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77471         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77472         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77473         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77475         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77476         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77477         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77478         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77479         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77480         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77481         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77482         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77483         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77485         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77486         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77488         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
77489         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77490         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77491         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77493         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77494         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77495         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77496         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
77497         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77498         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77499         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77500         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77501         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77502         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77503         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77504         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
77505         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77506         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77507         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
77508         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
77509         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77510         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
77511         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
77512         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77513         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77514         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
77515         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
77516         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
77517         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77518         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
77519         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77520         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77521         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
77522         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
77523         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
77524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77525         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
77526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77527         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77528         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
77529         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77530         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77531         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77532         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
77533         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
77534         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
77535         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77536         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
77537         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77538         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
77539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
77540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
77541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77542         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
77543         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
77544         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
77545         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
77546         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
77547         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77548         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
77550         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
77551         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
77552         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77553         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77554         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77555         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77556         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77557         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77558         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77559         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77560         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77561         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77562         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77563         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77564         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77565         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77566         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77567         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77568         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77569         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77570         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77571         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77572         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77573         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77574         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77575         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77576         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77577         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77578         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
77579         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77580         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77581         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77582         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77583         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77584         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77585         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77586         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77587         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
77588         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77589         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77590         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77591         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
77592         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77593         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
77594         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
77595         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77596         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77597         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
77598         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
77599         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77600         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77601         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77602         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
77603         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77604         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77605         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77606         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77607         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
77608         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
77609         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77610         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77611         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77612         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
77613         * sysdeps/ieee754/k_standard.c: Likewise.
77614         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77615         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77616         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77617         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77618         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77619         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77620         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77621         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77622         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77623         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77624         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77625         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77626         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77627         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77628         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77629         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77630         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
77631         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77632         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77633         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
77634         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
77635         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
77636         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77637         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77638         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
77639         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
77640         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77641         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77642         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77643         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77644         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
77645         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77646         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77647         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77648         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
77649         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77650         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77651         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
77652         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
77653         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77654         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
77655         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
77656         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
77657         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77658         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
77659         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
77660         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77662         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77663         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77664         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77665         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
77666         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77667         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
77668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77670         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
77671         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
77672         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77673         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77674         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77675         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
77676         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77677         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77680         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77681         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77682         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77684         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77686         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77687         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77688         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77689         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77690         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
77691         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77692         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77693         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
77694         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
77695         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
77696         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77697         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77698         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
77699         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77700         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77701         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
77702         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77704         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
77705         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77706         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
77707         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
77708         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77709         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77710         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
77711         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
77712         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
77713         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
77714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77715         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77716         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77717         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77718         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
77719         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77720         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77721         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
77722         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
77723         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77724         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77725         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77726         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77727         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77728         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77729         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77730         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77731         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77732         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77733         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77734         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77735         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77736         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77737         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77738         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77739         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
77740         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77741         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77742         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77743         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77744         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77745         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77746         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77747         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
77748         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77749         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77750         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
77751         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
77752         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77753         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
77754         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
77755         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77756         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
77757         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
77758         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77759         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77760         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77761         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77762         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77763         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
77764         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77765         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77766         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77767         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77768         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
77769         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
77770         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77771         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77772         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77773         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
77774         * sysdeps/ieee754/s_lib_version.c: Likewise.
77775         * sysdeps/ieee754/s_matherr.c: Likewise.
77776         * sysdeps/ieee754/s_signgam.c: Likewise.
77777         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77778         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77779         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
77780         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
77781         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
77782         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77783         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
77784         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
77785         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
77786         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
77787         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
77788         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
77789         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77790         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77791         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
77792         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
77793         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
77794         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
77795         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
77796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77799 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
77801         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
77802         * sunrpc/rpc_main.c: Likewise.
77803         * sunrpc/rpc_svcout.c: Likewise.
77805 2012-03-09  David S. Miller  <davem@davemloft.net>
77807         * include/math_private.h: New file.
77809 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
77811         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
77812         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
77813         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
77814         from <bits/socket_type.h>.
77815         (enum __socket_type): Don't define here.
77816         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
77817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77818         bits/socket_type.h.
77820         [BZ #13566]
77821         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
77822         checking __USE_GNU.
77824         * Makerules ($(inst_includedir)/%.h): New rule.
77825         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
77826         (install-others): Remove variable setting.
77827         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
77829 2012-03-08  Richard Henderson  <rth@twiddle.net>
77831         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
77832         from macro to inline function; merge with the
77833         !__LIBC_INTERNAL_MATH_INLINES version.
77834         (__ieee754_sqrtf): Likewise.
77836         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
77837         to inline function.
77838         (__rintf, __floor, __floorf): Likewise.
77840         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
77841         macro to inline function.
77842         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
77844         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
77845         not <math/math_private.h>.
77847 2012-03-08  David S. Miller  <davem@davemloft.net>
77849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
77850         copyright year.
77851         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
77853 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
77855         * resolv/gai_misc.c (handle_requests): Fix struct timespec
77856         normalization.
77857         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
77858         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
77860 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
77862         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
77863         be defined individually, they must be defined as a block.  Define
77864         S for printing a string instead of hidint the different by using a
77865         macro for adding the 'l'.
77866         * stdio-common/tst-fphex-wide.c: Adjust.
77868 2012-03-07  Marek Polacek  <polacek@redhat.com>
77870         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
77872 2012-03-08  Marek Polacek  <polacek@redhat.com>
77874         [BZ #13806]
77875         * stdio-common/Makefile (tests): Add tst-fphex-wide.
77876         * stdio-common/tst-fphex.c: Define a few macros to make the
77877         test reusable.  Use them.
77878         * stdio-common/tst-fphex-wide.c: New file.
77880 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
77882         [BZ #6911]
77883         * manual/macros.texi (gnusystems): New macro.
77884         (nongnusystems): Likewise.
77885         (gnulinuxhurdsystems): Likewise.
77886         (gnuhurdsystems): Likewise..
77887         (gnulinuxsystems): Likewise.
77888         * manual/charset.texi: Use new macros or @theglibc{} to refer to
77889         variants of the GNU system, not "GNU system".
77890         * manual/conf.texi: Likewise.
77891         * manual/errno.texi: Likewise.  Update example of errno macro
77892         expansion.
77893         * manual/filesys.texi: Likewise.
77894         (getumask): Document as specific to GNU/Hurd.
77895         * manual/install.texi: Likewise.  Reword some references to
77896         GNU/Linux.
77897         * manual/intro.texi: Likewise.
77898         * manual/io.texi: Likewise.
77899         (File Name Portability): Detail which constraints are inapplicable
77900         to all GNU systems and which are only inapplicable to GNU/Hurd.
77901         * manual/job.texi: Likewise.
77902         * manual/llio.texi: Likewise.
77903         (O_NOCTTY): Document as present on GNU/Linux.
77904         * manual/maint.texi: Likewise.
77905         * manual/memory.texi: Likewise.
77906         * manual/pattern.texi: Likewise.
77907         * manual/pipe.texi: Likewise.
77908         * manual/process.texi: Likewise.
77909         * manual/resource.texi: Likewise.
77910         (RUSAGE_CHILDREN): Remove statement about specifying a particular
77911         child on GNU/Hurd.
77912         * manual/setjmp.texi: Likewise.
77913         * manual/signal.texi: Likewise.
77914         * manual/startup.texi: Likewise.
77915         * manual/stdio.texi: Likewise.
77916         * manual/terminal.texi: Likewise.
77917         (ONLCR): Document as POSIX.
77918         (OXTABS): Document availability on GNU/Linux as XTABS.
77919         (ONOEOT): Document availability separately from other bits.
77920         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
77921         * manual/time.texi: Likewise.
77922         * manual/users.texi: Likewise.
77923         * INSTALL: Regenerated.
77924         * sysdeps/gnu/errlist.c: Regenerated.
77926         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
77927         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
77928         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
77929         puts.
77930         * configure: Regenerated.
77932 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
77934         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
77935         default includes instead of AC_HEADER_CHECK.
77936         * sysdeps/i386/configure: Regenerated.
77938         [BZ #10716]
77939         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
77940         * math/s_cacoshf.c (__cacoshf): Likewise.
77941         * math/s_cacoshl.c (__cacoshl): Likewise.
77942         * math/s_casinh.c (__casinh): Set signs of result from argument.
77943         * math/s_casinhf.c (__casinhf): Likewise.
77944         * math/s_casinhl.c (__casinhl): Likewise.
77945         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
77946         (casinh_test): Add more tests.
77947         * sysdeps/i386/fpu/libm-test-ulps: Update.
77948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77950 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
77952         * po/zh_TW.po: Update from translation team.
77954         * login/Makefile (distribute): Remove variable.
77955         * catgets/Makefile: Likewise.
77956         * mach/Makefile: Likewise.
77957         * malloc/Makefile: Likewise.
77958         * misc/Makefile: Likewise.
77959         * iconv/Makefile: Likewise.
77960         * nscd/Makefile: Likewise.
77961         * hurd/Makefile: Likewise.
77962         * manual/Makefile: Likewise.
77963         * locale/Makefile: Likewise.
77964         * intl/Makefile: Likewise.
77965         * conform/Makefile: Likewise.
77966         * nss/Makefile: Likewise.
77967         * time/Makefile: Likewise.
77968         * soft-fp/Makefile: Likewise.
77969         * dirent/Makefile: Likewise.
77970         * gmon/Makefile: Likewise.
77971         * po/Makefile: Likewise.
77972         * rt/Makefile: Likewise.
77973         * socket/Makefile: Likewise.
77974         * math/Makefile: Likewise.
77975         * signal/Makefile: Likewise.
77976         * debug/Makefile: Likewise.
77977         * elf/Makefile: Likewise.
77978         * timezone/Makefile: Likewise.
77979         * stdlib/Makefile: Likewise.
77980         * iconvdata/Makefile: Likewise.
77981         * sunrpc/Makefile: Likewise.
77982         * io/Makefile: Likewise.
77983         * argp/Makefile: Likewise.
77984         * inet/Makefile: Likewise.
77985         * hesiod/Makefile: Likewise.
77986         * grp/Makefile: Likewise.
77987         * csu/Makefile: Likewise.
77988         * wctype/Makefile: Likewise.
77989         * crypt/Makefile: Likewise.
77990         * libio/Makefile: Likewise.
77991         * string/Makefile: Likewise.
77992         * nis/Makefile: Likewise.
77993         * resolv/Makefile: Likewise.
77994         * stdio-common/Makefile: Likewise.
77995         * wcsmbs/Makefile: Likewise.
77996         * dlfcn/Makefile: Likewise.
77997         * posix/Makefile: Likewise.
77999         [BZ #6959]
78000         * timezone/Makefile: Don't install timezone files, just the programs
78001         and scripts.
78003 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78005         * nss/databases.def: Add missing gshadow entry.
78007         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78009 2012-03-06  Marek Polacek  <polacek@redhat.com>
78011         [BZ #13726]
78012         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78013         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78014         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78015         * stdio-common/tst-long-dbl-fphex.c: New file.
78017 2012-03-06  David S. Miller  <davem@davemloft.net>
78019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78020         (set_obp_int): New function.
78021         (get_obp_int): New function.
78022         (__get_clockfreq_via_dev_openprom): Likewise.
78023         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78024         Avoid unused variable warnings on 'val' and use builtin_expect.
78025         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78026         __builtin_expect.
78027         (INLINE_CLONE_SYSCALL): Likewise.
78029 2012-03-05  David S. Miller  <davem@davemloft.net>
78031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78033 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78038         only for |x| >= 40.
78039         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78041 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78044         Replace gettimeofday with __vdso_gettimeofday.
78046         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78047         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78048         __vdso_clock_gettime and __vdso_getcpu.
78050         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78051         time with __vdso_time.
78053 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78055         * manual/lang.texi (size_t): Note types to which size_t may be
78056         equivalent with the GNU C Library, but do not describe when
78057         differences between them are significant.
78059 2012-03-05  Andreas Jaeger  <aj@suse.de>
78061         * sysdeps/i386/fpu/libm-test-ulps: Update.
78063 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78065         [BZ #3976]
78066         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78067         (__ieee754_pow): Save and restore rounding mode and use
78068         round-to-nearest for main computations.
78069         * math/libm-test.inc (pow_test_tonearest): New function.
78070         (pow_test_towardzero): Likewise.
78071         (pow_test_downward): Likewise.
78072         (pow_test_upward): Likewise.
78073         (main): Call the new functions.
78074         * sysdeps/i386/fpu/libm-test-ulps: Update.
78075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78077         [BZ #3976]
78078         * math/libm-test.inc (cosh_test_tonearest): New function.
78079         (cosh_test_towardzero): Likewise.
78080         (cosh_test_downward): Likewise.
78081         (cosh_test_upward): Likewise.
78082         (sinh_test_tonearest): Likewise.
78083         (sinh_test_towardzero): Likewise.
78084         (sinh_test_downward): Likewise.
78085         (sinh_test_upward): Likewise.
78086         (main): Call the new functions.
78087         * sysdeps/i386/fpu/libm-test-ulps: Update.
78088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78090 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78092         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78093         default stack guard is set in last bytes.
78094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78096 2012-03-05  Kees Cook  <keescook@chromium.org>
78098         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78100         [BZ #13656]
78101         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78102         possibly allocate from heap instead of stack.
78103         * stdio-common/bug-vfprintf-nargs.c: New file.
78104         * stdio-common/Makefile (tests): Add nargs overflow test.
78106 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78110 2012-03-03  Marek Polacek  <polacek@redhat.com>
78112         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78113         * math/math_private.h: Likewise.
78114         * stdlib/tst-strtod.c: Likewise.
78115         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78116         * sysdeps/x86_64/bits/atomic.h: Likewise.
78118 2012-03-02  David S. Miller  <davem@davemloft.net>
78120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78124         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78125         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78126         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78127         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78129 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78131         [BZ #13792]
78132         * manual/examples/README: New file, says the example source files
78133         can be used under GPL>=2.
78134         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78135         line containing just "*/".
78136         * manual/examples/add.c: Add copyright header (GPL>=2).
78137         * manual/examples/argp-ex1.c: Likewise.
78138         * manual/examples/argp-ex2.c: Likewise.
78139         * manual/examples/argp-ex3.c: Likewise.
78140         * manual/examples/argp-ex4.c: Likewise.
78141         * manual/examples/atexit.c: Likewise.
78142         * manual/examples/db.c: Likewise.
78143         * manual/examples/dir.c: Likewise.
78144         * manual/examples/dir2.c: Likewise.
78145         * manual/examples/execinfo.c: Likewise.
78146         * manual/examples/filecli.c: Likewise.
78147         * manual/examples/filesrv.c: Likewise.
78148         * manual/examples/fmtmsgexpl.c: Likewise.
78149         * manual/examples/genpass.c: Likewise.
78150         * manual/examples/inetcli.c: Likewise.
78151         * manual/examples/inetsrv.c: Likewise.
78152         * manual/examples/isockad.c: Likewise.
78153         * manual/examples/longopt.c: Likewise.
78154         * manual/examples/memopen.c: Likewise.
78155         * manual/examples/memstrm.c: Likewise.
78156         * manual/examples/mkfsock.c: Likewise.
78157         * manual/examples/mkisock.c: Likewise.
78158         * manual/examples/mygetpass.c: Likewise.
78159         * manual/examples/pipe.c: Likewise.
78160         * manual/examples/popen.c: Likewise.
78161         * manual/examples/rprintf.c: Likewise.
78162         * manual/examples/search.c: Likewise.
78163         * manual/examples/select.c: Likewise.
78164         * manual/examples/setjmp.c: Likewise.
78165         * manual/examples/sigh1.c: Likewise.
78166         * manual/examples/sigusr.c: Likewise.
78167         * manual/examples/stpcpy.c: Likewise.
78168         * manual/examples/strdupa.c: Likewise.
78169         * manual/examples/strftim.c: Likewise.
78170         * manual/examples/strncat.c: Likewise.
78171         * manual/examples/subopt.c: Likewise.
78172         * manual/examples/swapcontext.c: Likewise.
78173         * manual/examples/termios.c: Likewise.
78174         * manual/examples/testopt.c: Likewise.
78175         * manual/examples/testpass.c: Likewise.
78176         * manual/examples/timeval_subtract.c: Likewise.
78178         [BZ #13792]
78179         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78180         function to ...
78181         * manual/timeval_subtract.c.texi: ... here, new file.
78183 2012-03-02  David S. Miller  <davem@davemloft.net>
78185         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78187 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78189         [BZ #3976]
78190         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78191         (__sin): Save and restore rounding mode and use round-to-nearest
78192         for all computations.
78193         (__cos): Save and restore rounding mode and use round-to-nearest
78194         for all computations.
78195         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78196         <fenv.h>.
78197         (tan): Save and restore rounding mode and use round-to-nearest for
78198         all computations.
78199         * math/libm-test.inc (cos_test_tonearest): New function.
78200         (cos_test_towardzero): Likewise.
78201         (cos_test_downward): Likewise.
78202         (cos_test_upward): Likewise.
78203         (sin_test_tonearest): Likewise.
78204         (sin_test_towardzero): Likewise.
78205         (sin_test_downward): Likewise.
78206         (sin_test_upward): Likewise.
78207         (tan_test_tonearest): Likewise.
78208         (tan_test_towardzero): Likewise.
78209         (tan_test_downward): Likewise.
78210         (tan_test_upward): Likewise.
78211         (main): Call the new functions.
78212         * sysdeps/i386/fpu/libm-test-ulps: Update.
78213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78215         [BZ #10135]
78216         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78217         small n, then large n, before computing and testing k+n.
78218         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78220         Likewise.
78221         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78222         Likewise.
78223         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78224         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78225         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78226         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78227         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78228         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78229         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78230         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78231         * math/libm-test.inc (scalbn_test): Add more tests.
78232         (scalbln_test): Likewise.
78234         * manual/filesys.texi (mode_t): Describe constraints on size and
78235         signedness, not exact equivalence to a particular type.
78236         (ino_t): Likewise.
78237         (ino64_t): Likewise.
78238         (dev_t): Likewise.
78239         (nlink_t): Likewise.
78240         (blkcnt_t): Likewise.
78241         (blkcnt64_t): Likewise.
78242         * manual/llio.texi (off_t): Likewise.
78244         [BZ #3976]
78245         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78246         (__ieee754_exp): Save and restore rounding mode and use
78247         round-to-nearest for all computations.
78248         * math/libm-test.inc (exp_test_tonearest): New function.
78249         (exp_test_towardzero): Likewise.
78250         (exp_test_downward): Likewise.
78251         (exp_test_upward): Likewise.
78252         (main): Call the new functions.
78253         * sysdeps/i386/fpu/libm-test-ulps: Update.
78254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78256 2012-03-01  Chris Demetriou  <cgd@google.com>
78258         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78259         have predictable order.
78261 2012-03-01  David S. Miller  <davem@davemloft.net>
78263         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78265         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78266         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78267         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78268         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78270         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78271         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78272         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78274         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78275         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78276         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78277         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78278         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78282         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78283         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78284         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78286         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78287         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78288         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78289         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78290         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78291         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78292         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78293         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78294         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78295         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78296         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78297         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78299         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78300         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78302         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78303         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78304         * sysdeps/sparc/elf/configure: Regenerated.
78306 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78308         * configure.in (AS, LD): Require binutils 2.20 or later.
78309         * configure: Regenerated.
78310         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78311         as required minimum version.
78312         * INSTALL: Regenerated.
78314         [BZ #2541]
78315         [BZ #4108]
78316         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78317         before squaring exponent.
78318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78319         bottom long double and 27 bits of top long double before squaring
78320         exponent.
78321         * math/libm-test.inc (erfc_test): Add more tests.
78322         * sysdeps/i386/fpu/libm-test-ulps: Update.
78323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78326 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78328         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78329         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78330         containing bit-fields.
78331         * soft-fp/extended.h (_FP_UNION_E): Likewise.
78332         * soft-fp/single.h (_FP_UNION_S): Likewise.
78333         * soft-fp/double.h (_FP_UNION_D): Likewise.
78335 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78337         [BZ #13786]
78338         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78339         not include ../strcmp.S.
78340         [USE_AS_STRNCASECMP_L]: Likewise.
78341         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78342         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78343         * sysdeps/i386/i686/multiarch/strncase_l-c.c
78344         (__strncasecmp_l_ia32): Define as alias to
78345         __strncasecmp_l_nonascii.
78347         [BZ #5794]
78348         * math/libm-test.inc (expm1_test): Add test for bug 5794.
78349         * sysdeps/i386/fpu/libm-test-ulps: Update.
78350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78352         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78355 2012-02-29  Jeff Law  <law@redhat.com>
78357         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
78358         out of bounds read.
78360 2012-02-29  Marek Polacek  <polacek@redhat.com>
78362         [BZ #13706]
78363         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
78364         * elf/Makefile: Add rules to run tst-unused-dep.out.
78366 2012-02-28  David S. Miller  <davem@davemloft.net>
78368         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
78369         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
78370         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
78371         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
78372         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
78373         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
78375 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78377         * math/libm-test.inc (llround_test): Move one test from
78378         lround_test.  Use TEST_f_L in moved test.
78379         (lround_test): Move misplaced test to llround_test.  Add testcase
78380         from bug 2561.
78382 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
78384         * sysdeps/x86_64/fpu/e_expf.S: New file.
78385         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
78387 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
78389         [BZ #13637]
78390         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
78391         of remain_len that may cause incomplete multi-byte character and
78392         false match.
78393         * posix/bug-regex33.c: New file.
78394         * posix/Makefile (tests): Add bug-regex33.
78396 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
78398         * manual/macros.texi: New file.
78399         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
78400         * manual/libc.texinfo: Include macros.texi.
78401         * manual/creatute.texi: Likewise.
78402         * manual/install.texi: Likewise.
78403         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
78404         @glibcadj{} in references to the GNU C Library.
78405         * manual/charset.texi: Likewise.
78406         * manual/conf.texi: Likewise.
78407         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
78408         when not using those macros.
78409         * manual/creature.texi: Likewise.
78410         * manual/crypt.texi: Likewise.
78411         * manual/errno.texi: Likewise.
78412         * manual/filesys.texi: Likewise.
78413         * manual/header.texi: Likewise.
78414         * manual/install.texi: Likewise.
78415         * manual/intro.texi: Likewise.
78416         * manual/io.texi: Likewise.
78417         * manual/job.texi: Likewise.
78418         * manual/lang.texi: Likewise.
78419         * manual/libc.texiinfo: Likewise.
78420         * manual/llio.texi: Likewise.
78421         * manual/locale.texi: Likewise.
78422         * manual/maint.texi: Likewise.
78423         * manual/math.texi: Likewise.
78424         * manual/memory.texi: Likewise.
78425         * manual/message.texi: Likewise.
78426         * manual/nss.texi: Likewise.
78427         * manual/pattern.texi: Likewise.
78428         * manual/process.texi: Likewise.
78429         * manual/resource.texi: Likewise.
78430         * manual/search.texi: Likewise.
78431         * manual/setjmp.texi: Likewise.
78432         * manual/signal.texi: Likewise.
78433         * manual/socket.texi: Likewise.
78434         * manual/startup.texi: Likewise.
78435         * manual/stdio.texi: Likewise.
78436         * manual/string.texi: Likewise.
78437         * manual/sysinfo.texi: Likewise.
78438         * manual/syslog.texi: Likewise.
78439         * manual/terminal.texi: Likewise.
78440         * manual/time.texi: Likewise.
78441         * manual/users.texi: Likewise.
78442         * INSTALL: Regenerated.
78443         * NOTES: Regenerated.
78444         * sysdeps/gnu/errlist.c: Regenerated.
78446 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
78448         * include/dirent.h: Include <dirstream.h> before
78449         <dirent/dirent.h>.
78451 2012-02-28  David S. Miller  <davem@davemloft.net>
78453         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
78454         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
78455         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
78456         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
78458 2012-02-27  David S. Miller  <davem@davemloft.net>
78460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
78461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
78462         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
78463         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
78465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
78466         frame pointer instead of stack pointer relative arg slot.
78467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78468         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78469         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78471 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
78473         [BZ #3992]
78474         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
78476 2012-02-27  David S. Miller  <davem@davemloft.net>
78478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
78479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
78482         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78483         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78484         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
78485         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
78487 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78489         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
78490         later.  Allow versions 5-9.
78491         * configure: Regenerated.
78492         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
78493         required minimum version and 4.6 as recommended version.  Do not
78494         mention bugs in GCC 2.7 and 2.8.
78495         * INSTALL: Regenerated.
78497 2012-02-27  David S. Miller  <davem@davemloft.net>
78499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
78500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
78501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
78502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
78503         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
78504         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
78505         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
78506         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
78508         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
78509         manipulate bits before adding and subtracting TWO112[sx].
78510         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
78512 2012-02-27  Roland McGrath  <roland@hack.frob.com>
78514         [BZ #13775]
78515         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
78516         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
78517         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
78518         being in POSIX, because they are in 1003.1-2008.
78520         * rt/tst-aio.c: Include <fcntl.h>.
78521         * rt/tst-aio7.c: Likewise.
78522         * rt/tst-aio64.c: Likewise.
78524         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
78526 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78528         * manual/install.texi (--with-headers): Describe headers as
78529         interface headers, not private headers.
78530         (Specific advice for GNU/Linux systems): Describe use of headers
78531         from "make headers_install", not private headers from older
78532         kernels.
78533         * INSTALL: Regenerated.
78534         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
78535         Change to 2.6.19.
78536         * sysdeps/unix/sysv/linux/configure: Regenerated.
78538         * manual/llio.texi (fclean): Remove documentation.
78540         * manual/Makefile (libc-texi-generated): New variable.  Include
78541         version.texi.
78542         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
78543         $(libc-texi-generated), not duplicated list of files.
78544         (version.texi, stamp-version): New rules.
78545         (realclean): Remove $(libc-texi-generated), not individual files
78546         from that list.  Do not remove dir-add.texinfo.
78547         * manual/libc.texinfo: Comment out uses of edition numbers and
78548         references to printed manual.  Remove last-updated dates.
78549         (EDITION): Comment out.
78550         (ISBN): Likewise.
78551         (VERSION, UPDATED): Remove.
78552         (version.texi): Include.
78554 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
78556         * sysdeps/posix/spawni.c: Include <signal.h>.
78557         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
78558         * sysdeps/pthread/aio_fsync.c: Likewise.
78560 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
78562         * conform/Makefile (tests): Run only when not cross-compiling and
78563         when fast-check is not defined.
78565         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
78566         * conform/data/limits.h-data: Fixes for POSIX2008.
78567         * conform/run-conformtest.sh: Run all tests.
78568         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
78569         headers.
78570         * include/bits/dlfcn.h: Likewise.
78571         * include/langinfo.h: Likewise.
78572         * include/monetary.h: Likewise.
78573         * include/sys/poll.h: Likewise.
78575         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
78576         for __USE_GNU.
78577         * posix/spawn.h: Define __need_sigset_t.
78578         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
78579         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
78580         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
78581         to get sigevent_t only.
78582         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
78583         only for __USE_GNU.
78584         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78585         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78586         process_vm_writev only for __USE_GNU.
78587         * termios/termios.h: Declare tcgetsid also for POSIX2008.
78589         * conform/Makefile: For now ignore errors from run-conformtest.
78590         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
78591         POSIX to avoid namespace pollution.  Don't prepend headers.
78592         * conform/data/aio.h-data: Fixes for POSIX testing.
78593         * conform/data/fcntl.h-data: Likewise.
78594         * conform/data/glob.h-data: Likewise.
78595         * conform/data/grp.h-data: Likewise.
78596         * conform/data/pthread.h-data: Likewise.
78597         * conform/data/pwd.h-data: Likewise.
78598         * conform/data/signal.h-data: Likewise.
78599         * conform/data/spawn.h-data: Likewise.
78600         * conform/data/stdio.h-data: Likewise.
78601         * conform/data/stdlib.h-data: Likewise.
78602         * conform/data/stropts.h-data: Likewise.
78603         * conform/data/sys/mman.h-data: Likewise.
78604         * conform/data/sys/stat.h-data: Likewise.
78605         * conform/data/sys/types.h-data: Likewise.
78606         * conform/data/sys/wait.h-data: Likewise.
78607         * conform/data/time.h-data: Likewise.
78608         * conform/data/unistd.h-data: Likewise.
78609         * conform/data/utime.h-data: Likewise.
78611         * io/sys/stat.h: fchmod was always in POSIX.
78612         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
78613         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
78614         * rt/aio.h: Define __need_timespec before including <time.h>.
78615         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
78616         struct.  Add forward declaration of pthread_attr_t and use it in
78617         sigevent.
78618         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78619         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78620         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
78621         always remove CLK_TCK definition.
78623 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
78625         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
78627 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
78629         * conform/run-conformtest.sh: New file.
78630         * conform/Makefile: Run run-conformtest for tests.
78631         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
78632         support.
78634         * conform/data/uchar.h-data: New file.
78635         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
78636         * conform/data/arpa/inet.h-data: Likewise.
78637         * conform/data/assert.h-data: Likewise.
78638         * conform/data/complex.h-data: Likewise.
78639         * conform/data/cpio.h-data: Likewise.
78640         * conform/data/ctype.h-data: Likewise.
78641         * conform/data/dirent.h-data: Likewise.
78642         * conform/data/dlfcn.h-data: Likewise.
78643         * conform/data/errno.h-data: Likewise.
78644         * conform/data/fcntl.h-data: Likewise.
78645         * conform/data/float.h-data: Likewise.
78646         * conform/data/fmtmsg.h-data: Likewise.
78647         * conform/data/fnmatch.h-data: Likewise.
78648         * conform/data/ftw.h-data: Likewise.
78649         * conform/data/glob.h-data: Likewise.
78650         * conform/data/grp.h-data: Likewise.
78651         * conform/data/iconv.h-data: Likewise.
78652         * conform/data/inttypes.h-data: Likewise.
78653         * conform/data/langinfo.h-data: Likewise.
78654         * conform/data/libgen.h-data: Likewise.
78655         * conform/data/limits.h-data: Likewise.
78656         * conform/data/locale.h-data: Likewise.
78657         * conform/data/math.h-data: Likewise.
78658         * conform/data/monetary.h-data: Likewise.
78659         * conform/data/mqueue.h-data: Likewise.
78660         * conform/data/ndbm.h-data: Likewise.
78661         * conform/data/net/if.h-data: Likewise.
78662         * conform/data/netdb.h-data: Likewise.
78663         * conform/data/netinet/in.h-data: Likewise.
78664         * conform/data/nl_types.h-data: Likewise.
78665         * conform/data/poll.h-data: Likewise.
78666         * conform/data/pthread.h-data: Likewise.
78667         * conform/data/pwd.h-data: Likewise.
78668         * conform/data/regex.h-data: Likewise.
78669         * conform/data/sched.h-data: Likewise.
78670         * conform/data/search.h-data: Likewise.
78671         * conform/data/semaphore.h-data: Likewise.
78672         * conform/data/setjmp.h-data: Likewise.
78673         * conform/data/signal.h-data: Likewise.
78674         * conform/data/spawn.h-data: Likewise.
78675         * conform/data/stdarg.h-data: Likewise.
78676         * conform/data/stdio.h-data: Likewise.
78677         * conform/data/stdlib.h-data: Likewise.
78678         * conform/data/string.h-data: Likewise.
78679         * conform/data/strings.h-data: Likewise.
78680         * conform/data/stropts.h-data: Likewise.
78681         * conform/data/sys/ipc.h-data: Likewise.
78682         * conform/data/sys/mman.h-data: Likewise.
78683         * conform/data/sys/msg.h-data: Likewise.
78684         * conform/data/sys/resource.h-data: Likewise.
78685         * conform/data/sys/select.h-data: Likewise.
78686         * conform/data/sys/sem.h-data: Likewise.
78687         * conform/data/sys/shm.h-data: Likewise.
78688         * conform/data/sys/socket.h-data: Likewise.
78689         * conform/data/sys/stat.h-data: Likewise.
78690         * conform/data/sys/statvfs.h-data: Likewise.
78691         * conform/data/sys/time.h-data: Likewise.
78692         * conform/data/sys/timeb.h-data: Likewise.
78693         * conform/data/sys/times.h-data: Likewise.
78694         * conform/data/sys/types.h-data: Likewise.
78695         * conform/data/sys/uio.h-data: Likewise.
78696         * conform/data/sys/un.h-data: Likewise.
78697         * conform/data/sys/utsname.h-data: Likewise.
78698         * conform/data/sys/wait.h-data: Likewise.
78699         * conform/data/syslog.h-data: Likewise.
78700         * conform/data/tar.h-data: Likewise.
78701         * conform/data/termios.h-data: Likewise.
78702         * conform/data/utime.h-data: Likewise.
78703         * conform/data/utmpx.h-data: Likewise.
78704         * conform/data/varargs.h-data: Likewise.
78705         * conform/data/wchar.h-data: Likewise.
78706         * conform/data/wctype.h-data: Likewise.
78707         * conform/data/wordexp.h-data: Likewise.
78709         * include/stropts.h: New file.
78710         * include/uchar.h: New file.
78711         * include/aio.h: Changes to allow conformtest.pl to use the headers.
78712         * include/assert.h: Likewise.
78713         * include/ctype.h: Likewise.
78714         * include/dirent.h: Likewise.
78715         * include/dlfcn.h: Likewise.
78716         * include/fcntl.h: Likewise.
78717         * include/fnmatch.h: Likewise.
78718         * include/glob.h: Likewise.
78719         * include/grp.h: Likewise.
78720         * include/libio.h: Likewise.
78721         * include/locale.h: Likewise.
78722         * include/math.h: Likewise.
78723         * include/net/if.h: Likewise.
78724         * include/netdb.h: Likewise.
78725         * include/netinet/in.h: Likewise.
78726         * include/pthread.h: Likewise.
78727         * include/pwd.h: Likewise.
78728         * include/regex.h: Likewise.
78729         * include/sched.h: Likewise.
78730         * include/search.h: Likewise.
78731         * include/setjmp.h: Likewise.
78732         * include/signal.h: Likewise.
78733         * include/stdio.h: Likewise.
78734         * include/stdlib.h: Likewise.
78735         * include/string.h: Likewise.
78736         * include/sys/cdefs.h: Likewise.
78737         * include/sys/mman.h: Likewise.
78738         * include/sys/msg.h: Likewise.
78739         * include/sys/resource.h: Likewise.
78740         * include/sys/select.h: Likewise.
78741         * include/sys/socket.h: Likewise.
78742         * include/sys/stat.h: Likewise.
78743         * include/sys/statvfs.h: Likewise.
78744         * include/sys/time.h: Likewise.
78745         * include/sys/times.h: Likewise.
78746         * include/sys/uio.h: Likewise.
78747         * include/sys/utsname.h: Likewise.
78748         * include/sys/wait.h: Likewise.
78749         * include/termios.h: Likewise.
78750         * include/time.h: Likewise.
78751         * include/ulimit.h: Likewise.
78752         * include/unistd.h: Likewise.
78753         * include/utime.h: Likewise.
78754         * include/wchar.h: Likewise.
78755         * include/wctype.h: Likewise.
78756         * include/wordexp.h: Likewise.
78758         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
78760         * time/time.h: TIME_UTC must be a macro.
78761         Make timespec_get available for ISO C11 only as well.
78763 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
78765         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
78766         Reported by Peng Haitao <penght@cn.fujitsu.com>.
78768 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
78770         * configure.in: Use -o not -a in test for unsupported multi-arch.
78772 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
78774         * manual/texinfo.tex: Update to version 2012-01-19.16.
78776 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
78778         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
78780 2012-02-24  Roland McGrath  <roland@hack.frob.com>
78782         [BZ #13738]
78783         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
78784         * manual/fdl-1.3.texi: New file.
78785         * manual/fdl-1.1.texi: File removed.
78787         [BZ #13738]
78788         * manual/libc.texinfo (FDL_VERSION): New @set.
78789         Use it for mention of FDL in cover text.
78790         (Documentation License): Use it in @include file name.
78792 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78793             Roland McGrath  <roland@hack.frob.com>
78795         [BZ #5461]
78796         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
78797         (not LONG_LONG_MAX and LONG_LONG_MIN.
78798         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
78799         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
78800         name.
78801         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
78803 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78805         [BZ #2547]
78806         [BZ #11365]
78807         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
78808         manipulate bits before adding and subtracting TWO23[sx].
78809         * math/libm-test.inc (nearbyint_test): Add more tests.
78811 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78813         [BZ #2548]
78814         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
78815         bits before adding and subtracting TWO23[sx].
78816         * math/libm-test.inc (rint_test): Add more tests.
78817         (rint_test_tonearest): Likewise.
78818         (rint_test_towardzero): Likewise.
78819         (rint_test_downward): Likewise.
78820         (rint_test_upward: Likewise.
78822 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78824         [BZ #10110]
78825         * include/stdc-predef.h: New file.  Extracted from features.h.
78826         * include/features.h: Include stdc-predef.h.
78827         * Makefile (headers): Add stdc-predef.h.
78828         * CONFORMANCE (Compiler limitations): Update.
78830 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78832         * manual/libc.texinfo (VERSION, UPDATED): Revert.
78834 2012-02-21  David S. Miller  <davem@davemloft.net>
78836         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
78837         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78839 2012-02-20  David S. Miller  <davem@davemloft.net>
78841         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
78842         using a normal save/restore sequence, rather than allocating a
78843         dummy stack frame just to store a frame pointer and restore.
78844         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78846 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78848         * manual/install.texi: Fix stray word in line-wrapped comment.
78850 2012-02-20  David S. Miller  <davem@davemloft.net>
78852         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
78853         both binutils and gcc support GOTDATA.
78855         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
78856         "rd %pc" in the PIC register setup sequences.
78858         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
78859         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
78860         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78861         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
78862         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78863         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78864         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78865         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
78867         (SYSCALL_ERROR_HANDLER): Likewise.
78868         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78869         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
78871         (SYSCALL_ERROR_HANDLER): Likewise.
78873         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
78874         (HAVE_GCC_GOTDATA): New.
78875         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
78876         relocation support in both binutils and gcc.
78877         * sysdeps/sparc/elf/configure: Regenerate.
78879         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
78880         * sysdeps/sparc/sparc32/elf/configure: Delete.
78881         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
78882         * sysdeps/sparc/sparc64/elf/configure: Delete.
78883         * sysdeps/sparc/elf/configure.in: New file.
78884         * sysdeps/sparc/elf/configure: Generate.
78886         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
78887         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
78888         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78889         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
78890         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
78892 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78894         * manual/install.texi: Do not mention specific glibc version
78895         numbers.
78896         * manual/libc.texinfo (VERSION, UPDATED): Update.
78897         (@copying): Use @copyright{} and range of years.
78899 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78901         [BZ #13695]
78902         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
78903         [crti.S not in sysdirs] (generated): Do not append.
78904         [crti.S not in sysdirs] (omit-deps): Likewise.
78905         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
78906         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
78907         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
78908         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
78909         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
78910         Likewise.
78911         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
78912         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
78913         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
78914         * csu/defs.awk: Remove file.
78915         * sysdeps/generic/initfini.c: Likewise.
78916         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
78917         variable.
78918         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
78919         Likewise.
78921 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78923         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
78924         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
78925         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
78926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
78927         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78928         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
78929         <bits/epoll.h>.
78930         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
78931         (__EPOLL_PACKED): Define to empty if not defined by
78932         <bits/epoll.h>.
78933         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
78934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78935         bits/epoll.h.
78937 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78939         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
78940         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
78941         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
78942         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
78943         <bits/timerfd.h>.
78944         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
78945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78946         bits/timerfd.h.
78948 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78950         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
78951         in C locale.
78952         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78953         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
78954         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
78955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78957 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
78959         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78960         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78962 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
78964         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
78965         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
78966         defined.
78967         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
78968         Likewise.
78969         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
78970         entry for 2.16.
78972 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
78974         * math/w_acos.c: Use non-signaling floating-point comparisons.
78975         * math/w_acosf.c: Likewise.
78976         * math/w_acosh.c: Likewise.
78977         * math/w_acoshf.c: Likewise.
78978         * math/w_acoshl.c: Likewise.
78979         * math/w_acosl.c: Likewise.
78980         * math/w_asin.c: Likewise.
78981         * math/w_asinf.c: Likewise.
78982         * math/w_asinl.c: Likewise.
78983         * math/w_atanh.c: Likewise.
78984         * math/w_atanhf.c: Likewise.
78985         * math/w_atanhl.c: Likewise.
78986         * math/w_exp2.c: Likewise.
78987         * math/w_exp2f.c: Likewise.
78988         * math/w_exp2l.c: Likewise.
78989         * math/w_j0.c: Likewise.
78990         * math/w_j0f.c: Likewise.
78991         * math/w_j0l.c: Likewise.
78992         * math/w_j1.c: Likewise.
78993         * math/w_j1f.c: Likewise.
78994         * math/w_j1l.c: Likewise.
78995         * math/w_jn.c: Likewise.
78996         * math/w_jnf.c: Likewise.
78997         * math/w_log.c: Likewise.
78998         * math/w_log10.c: Likewise.
78999         * math/w_log10f.c: Likewise.
79000         * math/w_log10l.c: Likewise.
79001         * math/w_log2.c: Likewise.
79002         * math/w_log2f.c: Likewise.
79003         * math/w_log2l.c: Likewise.
79004         * math/w_logf.c: Likewise.
79005         * math/w_logl.c: Likewise.
79006         * math/w_sqrt.c: Likewise.
79007         * math/w_sqrtf.c: Likewise.
79008         * math/w_sqrtl.c: Likewise.
79009         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79010         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79011         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79012         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79013         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79015 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79017         [BZ #9739]
79018         * manual/string.texi (strnlen): Use correct parameter name in
79019         equivalent expression.
79021 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79023         [BZ #11174]
79024         * manual/users.texi (seteuid): Consistently use neweuid for
79025         argument name.
79027 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79029         [BZ #13704]
79030         * manual/nss.texi (Services in the NSS configuration): Correct
79031         list of services in example configuration file.
79033 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79035         [BZ #11322]
79036         * manual/arith.texi: Remove statements about negative zero
79037         behaving identically to zero.
79039 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79041         [BZ #5993]
79042         * manual/install.texi: Do not document upgrading from libc5.
79044 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79046         [BZ #4596]
79047         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79049 2012-02-18  David S. Miller  <davem@davemloft.net>
79051         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79052         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79053         %o7 across the call.
79054         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79055         instead.
79056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79057         SETUP_PIC_REG_LEAF.
79058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79059         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79060         * sysdeps/sparc/crtn.S: Likewise.
79062 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79064         * aout/Makefile: Remove.
79066 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79068         [BZ #13058]
79069         * manual/examples/argp-ex1.c (main): Format definition in GNU
79070         style.
79071         * manual/examples/argp-ex2.c (main): Likewise.
79072         * manual/examples/argp-ex3.c (main): Likewise.
79073         * manual/examples/argp-ex4.c (main): Likewise.
79074         * manual/examples/longopt.c (main): Use new-style prototype
79075         definition.
79076         * manual/examples/strncat.c (main): Specify return type and use
79077         (void) for arguments.
79078         * manual/examples/subopt.c (main): Use char **argv argument.
79080 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79082         [BZ #5077]
79083         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79084         rounding modes.
79086 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79088         [BZ #6907]
79089         * manual/string.texi (strchr): Change when strchrnul is
79090         recommended.
79092 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79094         [BZ #174]
79095         * manual/locale.texi (setlocale): Document LOCPATH.
79097 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79099         [BZ #10210]
79100         * manual/process.texi (execle): Move @dots{} before last argument.
79102 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79104         [BZ #12047]
79105         * manual/charset.texi (Generic Charset Conversion): Fix typo
79106         (LC_TYPE -> LC_CTYPE).
79108 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79110         [BZ #5805]
79111         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79112         (scalbnf): Likewise.
79113         (scalbnl): Likewise.
79114         (scalbln): Likewise.
79115         (scalblnf): Likewise.
79116         (scalblnl): Likewise.
79117         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79118         (vwarnx): Likewise.
79119         (verr): Likewise.
79120         (verrx): Likewise.
79121         * manual/filesys.texi (telldir): Use braces around return type.
79122         * manual/llio.texi (mmap): Add space after comma.
79123         (mmap64): Likewise.
79124         * manual/math.texi (jn): Use @var{} on parameter names.
79125         (jnf): Likewise.
79126         (jnl): Likewise.
79127         (yn): Likewise.
79128         (ynf): Likewise.
79129         (ynl): Likewise.
79130         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79131         line.
79132         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79133         "...".
79134         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79135         (sched_get_priority_max): Likewise.
79136         * manual/signal.texi (sigvec): Add space after comma.
79137         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79138         names.
79139         (if_indextoname): Likewise.
79140         (if_freenameindex): Likewise.
79141         (sendto): Use ',' instead of '.' in prototype.
79142         * manual/startup.texi (syscall): Use @dots{} instead of literal
79143         "...".
79144         * manual/stdio.texi (__fpending): Separate initial words of
79145         paragraph from @deftypefun line.
79146         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79147         "...".
79148         (vsyslog): Use @var{} on parameter names.
79149         * manual/terminal.texi (stty): Use @var{} on parameter names.
79150         * manual/users.texi (getutmp): Use @var{} on parameter names.
79151         (getutmpx): Likewise.
79153 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79155         [BZ #6884]
79156         * manual/stdio.texi (fopen): Fix typos in description of
79157         ",ccs=STRING".
79159 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79161         [BZ #4026]
79162         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79163         get clock_id definition.
79165 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79167         [BZ #4822]
79168         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79169         (madvise): Cast every argument to void on its own.
79171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79173         [BZ #9902]
79174         * manual/startup.texi (Exit Status): Fix typo.
79176 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79178         [BZ #10140]
79179         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79180         * manual/examples/argp-ex2.c: Likewise.
79181         * manual/examples/argp-ex3.c: Likewise.
79183 2012-02-16  Richard Henderson  <rth@redhat.com>
79185         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79186         * sysdeps/s390/s390-32/initfini.c: Remove.
79187         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79188         * sysdeps/s390/s390-64/initfini.c: Remove.
79190 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79192         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79193         compiler output for sysdeps/generic/initfini.c.
79194         * sysdeps/sh/elf/initfini.c: Remove file.
79196 2012-02-16  David S. Miller  <davem@davemloft.net>
79198         [BZ #11494]
79199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79201         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79202         * sysdeps/sparc/crti.S: New file.
79203         * sysdeps/sparc/crtn.S: New file.
79204         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79205         * sysdeps/sparc/sparc64/Makefile: Likewise.
79207 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79209         [BZ #3335]
79210         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79212 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79214         [BZ #4822]
79215         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79217         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79218         (write, read, close): Likewise.
79219         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79221 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79223         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79224         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79225         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79226         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79227         <bits/signalfd.h>.
79228         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79230         bits/signalfd.h.
79232 2012-02-14  Marek Polacek  <polacek@redhat.com>
79234         * sysdeps/x86_64/crti.S: New file.
79235         * sysdeps/x86_64/crtn.S: New file.
79236         * sysdeps/x86_64/elf/initfini.c: Remove file.
79238 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79240         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79241         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79242         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79243         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79244         <bits/inotify.h>.
79245         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79247         bits/inotify.h.
79249 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79251         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79252         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79253         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79254         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79255         <bits/eventfd.h>.
79256         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79258         bits/eventfd.h.
79260 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79262         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79263         __feraiseexcept instead of feraiseexcept.
79265         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79266         nanosleep invocations.
79267         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79268         strings, and add error checking for a nanosleep invocations.
79270 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79272         Replace FSF snail mail address with URLs, as per GNU coding standards.
79273         Most of the snail mail addresses were wrong anyway, and omitting
79274         them makes the source code easier to maintain.  Almost all of the
79275         changes are to license notices and to locale LC_IDENTIFICATION
79276         addresses, except for this one:
79277         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79278         not its snail mail address.
79280 2012-02-09  Richard Henderson  <rth@twiddle.net>
79282         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79283         of kernel-features.h.
79285         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79287 2012-02-08  Marek Polacek  <polacek@redhat.com>
79289         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79290         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79291         * sysdeps/gnu/_G_config.h: Likewise.
79292         * sysdeps/generic/_G_config.h: Likewise.
79294 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79296         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79297         tests.
79298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79300         * sysdeps/powerpc/powerpc32/crti.S: New file.
79301         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79302         * sysdeps/powerpc/powerpc64/crti.S: New file.
79303         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79305         * Makeconfig (have-initfini): Don't set.
79306         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79307         * configure.in (nopic_initfini): Don't substitute.
79308         * config.h.in (HAVE_INITFINI): Don't #undef.
79309         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79310         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79312 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79314         Support crti.S and crtn.S provided directly by architectures.
79315         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79316         [crti.S in sysdirs] (omit-deps): Likewise.
79317         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79318         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79319         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79320         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79321         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79322         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79323         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79324         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79325         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79326         compiler output for sysdeps/generic/initfini.c.
79327         * sysdeps/i386/elf/Makefile: Remove file.
79328         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79330 2012-02-07  Marek Polacek  <polacek@redhat.com>
79332         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79333         * sysdeps/gnu/_G_config.h: Likewise.
79334         * sysdeps/mach/hurd/_G_config.h: Likewise.
79336 2012-02-07  Marek Polacek  <polacek@redhat.com>
79338         * math/Makefile (tests): Add tst-CMPLX2.
79339         * math/tst-CMPLX2.c: New file.
79341 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
79343         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79345         * math/libm-test.inc (jn_test): Add missing L suffix.
79347 2012-02-06  Marek Polacek  <polacek@redhat.com>
79349         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79350         * sysdeps/i386/fpu/e_powf.S: Likewise.
79351         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79352         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79353         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79354         * sysdeps/i386/fpu/e_pow.S: Likewise.
79355         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79356         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79357         * sysdeps/i386/fpu/s_expm1.S: Likewise.
79358         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
79359         * sysdeps/i386/fpu/e_log2.S: Likewise.
79360         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79361         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79362         * sysdeps/i386/fpu/e_powl.S: Likewise.
79363         * sysdeps/i386/fpu/s_log1p.S: Likewise.
79364         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79365         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
79366         * sysdeps/i386/fpu/e_logl.S: Likewise.
79367         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
79368         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
79369         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
79370         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
79371         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79372         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79373         * sysdeps/i386/fpu/e_log.S: Likewise.
79374         * sysdeps/i386/fpu/s_cexp.S: Likewise.
79375         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79376         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
79377         * sysdeps/i386/fpu/e_logf.S: Likewise.
79378         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79379         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79380         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
79381         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
79382         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79383         * sysdeps/i386/fpu/e_log10.S: Likewise.
79384         * sysdeps/i386/fpu/s_frexp.S: Likewise.
79385         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79386         * sysdeps/i386/fpu/s_asinh.S: Likewise.
79387         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
79388         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79389         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
79390         * sysdeps/i386/asm-syntax.h: Likewise.
79391         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79392         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79393         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79394         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
79395         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
79396         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79397         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
79398         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79399         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79400         * sysdeps/powerpc/sysdep.h: Likewise.
79401         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
79402         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79404 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79406         [BZ #411]
79407         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
79409 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79411         * sysdeps/i386/sysdep.h: Include <features.h>.
79412         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
79413         version.
79415 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
79417         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
79418         Define.
79419         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
79420         LOAD_PIC_REG_STR.
79422 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79424         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
79425         (SETUP_PIC_REG): Use GET_PC_THUNK.
79426         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
79427         macro.
79429 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79431         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
79432         for non-PIC compilation.
79433         (SETUP_PIC_REG): Add .p2align directive.
79434         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
79435         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
79436         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
79437         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
79438         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
79439         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
79440         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
79441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79442         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
79443         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
79444         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
79445         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
79446         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
79447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79448         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
79449         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
79450         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
79451         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
79452         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
79453         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
79454         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
79455         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
79456         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
79457         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
79458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
79459         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
79460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79461         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
79462         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
79463         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
79464         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
79465         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79466         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
79467         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
79468         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
79469         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
79470         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
79471         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
79472         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
79473         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
79474         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
79476 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79478         * math/tst-CMPLX.c: Include <stdio.h>.
79480 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
79482         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
79483         float.
79484         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79485         * sysdeps/sparc/bits/mathdef.h: Likewise.
79487 2012-01-31  Marek Polacek  <polacek@redhat.com>
79489         * libio/libio.h: Don't define _PARAMS.
79490         * locale/programs/config.h: Don't define PARAMS.
79491         * stdlib/strtol_l.c: Likewise.
79492         (__strtol_l): Remove PARAMS from the prototype.
79494 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
79496         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
79497         names.  Just use the correct names.  Remove unnecessary wrapper
79498         functions.
79499         * malloc/arena.c: Likewise.
79500         * malloc/hooks.c: Likewise.
79502         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
79503         ARENA_TEST says not to.  Simplify test for creation of a new arena.
79504         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
79506 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
79508         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
79509         into tail calls.
79510         (update_get_addr): New function.
79511         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
79512         GET_ADDR_MODULE parameter.
79514 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79516         * crypt/cert.c: Remove __STDC__ conditionals.
79517         * crypt/crypt-entry.c: Likewise.
79518         * crypt/crypt_util.c: Likewise.
79519         * libio/filedoalloc.c: Likewise.
79520         * libio/fileops.c: Likewise.
79521         * libio/genops.c: Likewise.
79522         * libio/iofclose.c: Likewise.
79523         * libio/iofdopen.c: Likewise.
79524         * libio/iofopen.c: Likewise.
79525         * libio/iofopen64.c: Likewise.
79526         * libio/iogetdelim.c: Likewise.
79527         * libio/iopopen.c: Likewise.
79528         * libio/obprintf.c: Likewise.
79529         * libio/oldfileops.c: Likewise.
79530         * libio/oldiofclose.c: Likewise.
79531         * libio/oldiofdopen.c: Likewise.
79532         * libio/oldiofopen.c: Likewise.
79533         * libio/oldiopopen.c: Likewise.
79534         * libio/wfiledoalloc.c: Likewise.
79535         * libio/wgenops.c: Likewise.
79536         * locale/programs/xmalloc.c: Likewise.
79537         * misc/syslog.c: Likewise.
79538         * stdio-common/xbug.c: Likewise.
79539         * string/memchr.c: Likewise.
79540         * string/memcmp.c: Likewise.
79541         * string/memrchr.c: Likewise.
79542         * string/rawmemchr.c: Likewise.
79543         * sysdeps/posix/getcwd.c: Likewise.
79544         * time/strftime_l.c: Likewise.
79546 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79548         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
79549         * config.make.in (config-cflags-sse2avx): Define.
79550         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
79551         Fix typo.
79553 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
79555         * scripts/config.guess: Update from upstream config git repository.
79556         * scripts/config.sub: Likewise.
79558 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
79560         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
79561         (EM_NUM): Update.
79562         (R_TILEPRO_*, R_TILEGX_*): New macros.
79564         * scripts/firstversions.awk: Fix bug in version range handling.
79566         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
79568         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
79570         * include/sys/epoll.h: New file.
79571         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
79572         libc_hidden_def.
79574 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
79576         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
79577         Avoid unnecessary __WORDSIZE == 64 test.
79578         (fmaxf): Use VEX format if possible.
79579         (fmax): Likewise.
79580         (fminf): Likewise.
79581         (fmin): Likewise.
79583         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
79584         * math/math_private.h: Remove libc_fegetround* and
79585         libc_fesetround*.
79586         * sysdeps/i386/configure.in: Check for -msse2avx.
79587         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
79588         also if SSE2AVX is defined.
79589         Remove libc_fegetround* and libc_fesetround*.
79590         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
79591         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
79592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
79593         of HAS_YMM_USABLE.
79594         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79595         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79596         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79597         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79598         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79600         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
79602 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79604         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
79605         size is not set.
79606         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79608 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
79610         [BZ #13618]
79611         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
79612         relocation.
79613         * Makeconfig (libm): Define.
79614         * elf/Makefile: Add rules to build and run tst-relsort1.
79615         * elf/tst-relsort1.c: New file.
79616         * elf/tst-relsort1mod1.c: New file.
79617         * elf/tst-relsort1mod2.c: New file.
79619 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
79621         * math/s_ldexp.c: Remove __STDC__ conditionals.
79622         * math/s_ldexpf.c: Likewise.
79623         * math/s_ldexpl.c: Likewise.
79624         * math/s_nextafter.c: Likewise.
79625         * math/s_nexttowardf.c: Likewise.
79626         * math/s_significand.c: Likewise.
79627         * math/s_significandf.c: Likewise.
79628         * math/s_significandl.c: Likewise.
79629         * math/w_jnl.c: Likewise.
79630         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79631         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79632         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79633         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79634         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79635         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79636         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
79637         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79638         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79639         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79640         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79641         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79642         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79643         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79644         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79645         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79646         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79647         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79648         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79649         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79650         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79651         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79652         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79654         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79655         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79656         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79657         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79658         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79659         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79660         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79661         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79662         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79663         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79664         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79665         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79666         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79667         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79668         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79669         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79670         * sysdeps/ieee754/k_standard.c: Likewise.
79671         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79672         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79673         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79674         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79675         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79676         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79677         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79678         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79679         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79680         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79681         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79682         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79683         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79684         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79685         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79686         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79687         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79688         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79689         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79690         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79693         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79694         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79695         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79696         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79697         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79698         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79700         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79701         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79702         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
79703         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79704         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79705         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79706         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79707         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
79708         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79709         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79710         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
79711         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
79712         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79713         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
79714         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
79715         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79716         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
79717         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
79718         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79719         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79720         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
79721         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
79722         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79723         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79724         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79725         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79726         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79727         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
79728         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79729         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79730         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79731         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79732         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79733         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79734         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79735         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79736         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79737         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79738         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79739         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79740         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79741         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79742         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79743         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79744         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79745         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79746         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79747         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79748         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79749         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79750         * sysdeps/ieee754/s_matherr.c: Likewise.
79751         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79752         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79753         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79754         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79756 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
79758         * crypt/md5.h: Remove __STDC__ conditionals.
79759         * libio/libioP.h: Likewise.
79760         * locale/programs/config.h: Likewise.
79761         * sysdeps/generic/sysdep.h: Likewise.
79762         * sysdeps/i386/asm-syntax.h: Likewise.
79763         * sysdeps/s390/asm-syntax.h: Likewise.
79764         * sysdeps/unix/sysdep.h: Likewise.
79765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
79766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
79768 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
79770         * libio/libio.h: Remove __STDC__ conditionals.
79771         * malloc/obstack.h: Likewise.
79772         * math/complex.h: Likewise.
79773         * math/math.h: Likewise.
79774         * sysdeps/generic/_G_config.h: Likewise.
79775         * sysdeps/gnu/_G_config.h: Likewise.
79776         * sysdeps/mach/hurd/_G_config.h: Likewise.
79777         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79778         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79779         * sysdeps/sparc/bits/mathdef.h: Likewise.
79781 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
79783         [BZ #13583]
79784         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
79785         Clean up HAS_* macros.
79786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
79787         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
79788         possible.
79789         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
79790         HAS_AVX.
79791         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79792         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79793         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79794         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79795         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79797 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
79799         * elf/tst-unique3.cc (gets): Remove declaration.
79800         * elf/tst-unique3lib.cc (gets): Likewise.
79801         * elf/tst-unique3lib2.cc (gets): Likewise.
79802         * elf/tst-unique4.cc (gets): Likewise.
79804 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
79806         * include/stdio.h: Add C++ protection.  Add gets declarations and
79807         definitions.
79808         * debug/tst-chk1.c: Don't declare gets here.
79809         * stdio-common/tst-gets.c: Likewise.
79811 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
79813         * posix/glob: Remove directory.
79815 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
79817         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
79819 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
79821         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
79822         of the non-standard EPFNOSUPPORT.
79824 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79826         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
79827         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
79828         ANYWHERE set to 1 only on KERN_NO_SPACE error.
79830 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
79832         * wcsmbs/uchar.h: Test __STDC_VERSION__.
79834 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
79836         * nscd/aicache.c (addhstaiX): Do not cache negative results of
79837         transient errors.
79838         * nscd/grpcache.c (cache_addgr): Likewise.
79839         * nscd/hstcache.c (cache_addhst): Likewise.
79840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79841         * nscd/pwdcache.c (cache_addpw): Likewise.
79842         * nscd/servicescache.c (cache_addserv): Likewise.
79844 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
79846         * malloc/malloc.c: Various cleanups.
79847         * malloc/hooks.c: Likewise.
79849         * stdlib/Makefile (tests): Add bug-fmtmsg1.
79850         * stdlib/bug-fmtmsg1.c: New file.
79852         * stdlib/fmtmsg.c (init): Add missing unlock.
79853         Patch by Peng Haitao <penght@cn.fujitsu.com>.
79855 2012-01-12  Marek Polacek  <polacek@redhat.com>
79857         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
79858         and _GNU_SOURCE.
79860 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79862         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
79863         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
79864         macro to ensure uniqueness of label name.
79865         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79866         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79868 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
79870         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
79872         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
79873         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79874         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79875         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
79877 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
79879         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
79881         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
79882         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79883         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79885         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
79887         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
79888         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79889         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
79892         * math/bits/math-finite.h: Add ldexp support.
79894 2012-01-10  Marek Polacek  <polacek@redhat.com>
79896         * locale/programs/localedef.h (show_archive_content): Add noreturn
79897         attribute.
79899 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
79901         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
79903 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79905         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
79907         * io/Makefile (headers): Add bits/poll2.h.
79909 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
79911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
79912         typo #include statement.
79914 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79916         * include/sys/cdefs.h: Define __attribute_alloc_size.
79917         * catgets/gencat.c: Add alloc_size attribute and apply consistently
79918         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
79919         * elf/pldd.c: Likewise.
79920         * iconv/iconv_charmap.c: Likewise.
79921         * iconv/iconvconfig.c: Likewise.
79922         * iconv/strtab.c: Likewise.
79923         * locale/programs/locale.c: Likewise.
79924         * locale/programs/localedef.h: Likewise.
79925         * locale/programs/simple-hash.c: Likewise.
79926         * nscd/nscd.h: Likewise.
79927         * nss/makedb.c: Likewise.
79928         * sysdeps/generic/ldconfig.h: Likewise.
79929         * locale/programs/localedef.c: Remove xmalloc prototype.
79930         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
79932 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79934         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
79935         appropriate.
79937 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79939         * math/Makefile (tests): Add tst-CMPLX.
79940         * math/tst-CMPLX.c: New file.
79942         * math/complex.h (CMPLXL): Fix typo.
79944         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
79945         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
79946         GLIBC_2.16.
79947         * debug/tst-chk1.c: Add poll and ppoll tests.
79948         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
79949         * include/sys/poll.h: Add hidden proto for ppoll.
79950         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
79951         * sysdeps/mach/hurd/ppoll.c: Likewise.
79952         * io/ppoll.c: Likewise.
79953         * debug/poll_chk.c: New file.
79954         * debug/ppoll_chk.c: New file.
79955         * include/bits/poll2.h: New file.
79956         * io/bits/poll2.h: New file.
79958         [BZ #1350]
79959         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
79961         * configure.in: static is always set to yes.  Remove.
79962         * config.make.in: Don't set build-static.
79963         * Makeconfig: Remove use of build-static.
79964         * dlfcn/Makefile: Likewise.
79965         * elf/Makefile: Likewise.
79966         * math/Makefile: Likewise.
79967         * misc/Makefile: Likewise.
79968         * nptl/Makefile: Likewise.
79969         * sysdeps/mach/hurd/Makefile: Likewise.
79971         * configure.in: PWD_P is not used anymore.
79972         * config.make.in: Remove PWD_P entry.
79974         * configure.in: Remove last remnants of RANLIB.
79975         No need to check for signed size_t anymore.
79976         Don't set libc_commonpagesize and libc_relro_required here for Alpha
79977         and IA-64.
79978         Remove __builtin_expect test because we require at least gcc 3.4.
79979         * aclocal.m4: Likewise.
79981         * wcsmbs/mbrtoc16.c: Implement using towc function.
79982         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
79983         * wcsmbs/wcsmbsload.c: Likewise.
79984         * iconv/gconv_simple.c: Likewise.
79985         * iconv/gconv_int.h: Likewise.
79986         * iconv/gconv_builtin.h: Likewise.
79987         * iconv/iconv_prog.c: Remove CHAR16 handling.
79989         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
79991         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
79993         * configure.in: Remove --with-elf and --enable-bounded options.
79994         Dont set base_machine for ia64.  More non-ELF conditions removed.
79995         Remove testing and setting of leading underscore information.
79996         * config.make.in (build-bounded): Set to no.
79997         * config.h.in: Remove NO_UNDERSCORES entry.
79998         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
79999         them.
80000         * csu/start.c: Remove !NO_UNDERSCORE code.
80001         * locale/localeinfo.h: Likewise.
80002         * sysdeps/generic/machine-gmon.h: Likewise.
80003         * sysdeps/generic/sysdep.h: Likewise.
80004         * sysdeps/i386/sysdep.h: Likewise.
80005         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80006         * sysdeps/mach/sysdep.h: Likewise.
80007         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80008         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80009         * sysdeps/sh/sysdep.h: Likewise.
80010         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80011         * sysdeps/unix/i386/sysdep.S: Likewise.
80012         * sysdeps/unix/sparc/start.c: Likewise.
80013         * sysdeps/unix/sparc/sysdep.S: Likewise.
80014         * sysdeps/unix/sparc/sysdep.h: Likewise.
80015         * sysdeps/unix/start.c: Likewise.
80016         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80017         * sysdeps/x86_64/sysdep.h: Likewise.
80019 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80021         [BZ #13553]
80022         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80023         for non-gcc.
80024         * argp/argp-fmtstream.h: Use const instead __const.
80025         * argp/argp.h: Likewise.
80026         * assert/assert.h: Likewise.
80027         * bits/fenv.h: Likewise.
80028         * bits/sched.h: Likewise.
80029         * bits/sigset.h: Likewise.
80030         * bits/sigthread.h: Likewise.
80031         * catgets/nl_types.h: Likewise.
80032         * conform/data/pthread.h-data: Likewise.
80033         * crypt/crypt-private.h: Likewise.
80034         * crypt/crypt.h: Likewise.
80035         * crypt/crypt_util.c: Likewise.
80036         * ctype/ctype.h: Likewise.
80037         * debug/execinfo.h: Likewise.
80038         * debug/mbsnrtowcs_chk.c: Likewise.
80039         * debug/mbsrtowcs_chk.c: Likewise.
80040         * debug/wcsnrtombs_chk.c: Likewise.
80041         * debug/wcsrtombs_chk.c: Likewise.
80042         * debug/wcstombs_chk.c: Likewise.
80043         * dirent/dirent.h: Likewise.
80044         * dlfcn/dlfcn.h: Likewise.
80045         * elf/neededtest4.c: Likewise.
80046         * grp/grp.h: Likewise.
80047         * gshadow/gshadow.h: Likewise.
80048         * iconv/gconv.h: Likewise.
80049         * iconv/gconv_int.h: Likewise.
80050         * iconv/gconv_simple.c: Likewise.
80051         * iconv/iconv.h: Likewise.
80052         * iconv/loop.c: Likewise.
80053         * iconv/skeleton.c: Likewise.
80054         * include/aio.h: Likewise.
80055         * include/aliases.h: Likewise.
80056         * include/argz.h: Likewise.
80057         * include/arpa/inet.h: Likewise.
80058         * include/assert.h: Likewise.
80059         * include/dirent.h: Likewise.
80060         * include/dlfcn.h: Likewise.
80061         * include/execinfo.h: Likewise.
80062         * include/fcntl.h: Likewise.
80063         * include/fenv.h: Likewise.
80064         * include/glob.h: Likewise.
80065         * include/grp.h: Likewise.
80066         * include/libintl.h: Likewise.
80067         * include/mntent.h: Likewise.
80068         * include/netdb.h: Likewise.
80069         * include/pwd.h: Likewise.
80070         * include/rpc/netdb.h: Likewise.
80071         * include/sched.h: Likewise.
80072         * include/search.h: Likewise.
80073         * include/shadow.h: Likewise.
80074         * include/signal.h: Likewise.
80075         * include/stdio.h: Likewise.
80076         * include/stdlib.h: Likewise.
80077         * include/string.h: Likewise.
80078         * include/sys/socket.h: Likewise.
80079         * include/sys/stat.h: Likewise.
80080         * include/sys/statfs.h: Likewise.
80081         * include/sys/statvfs.h: Likewise.
80082         * include/sys/syslog.h: Likewise.
80083         * include/sys/time.h: Likewise.
80084         * include/sys/uio.h: Likewise.
80085         * include/time.h: Likewise.
80086         * include/unistd.h: Likewise.
80087         * include/utmp.h: Likewise.
80088         * include/wchar.h: Likewise.
80089         * include/wctype.h: Likewise.
80090         * inet/aliases.h: Likewise.
80091         * inet/arpa/inet.h: Likewise.
80092         * inet/netinet/ether.h: Likewise.
80093         * inet/netinet/in.h: Likewise.
80094         * intl/libintl.h: Likewise.
80095         * io/bits/fcntl2.h: Likewise.
80096         * io/fcntl.h: Likewise.
80097         * io/ftw.h: Likewise.
80098         * io/sys/poll.h: Likewise.
80099         * io/sys/stat.h: Likewise.
80100         * io/sys/statfs.h: Likewise.
80101         * io/sys/statvfs.h: Likewise.
80102         * io/utime.h: Likewise.
80103         * libio/bits/stdio.h: Likewise.
80104         * libio/bits/stdio2.h: Likewise.
80105         * libio/libio.h: Likewise.
80106         * libio/libioP.h: Likewise.
80107         * libio/stdio.h: Likewise.
80108         * locale/lc-ctype.c: Likewise.
80109         * locale/locale.h: Likewise.
80110         * login/utmp.h: Likewise.
80111         * malloc/arena.c: Likewise.
80112         * malloc/malloc.c: Likewise.
80113         * malloc/malloc.h: Likewise.
80114         * malloc/mcheck.c: Likewise.
80115         * malloc/mtrace.c: Likewise.
80116         * math/bits/mathcalls.h: Likewise.
80117         * math/fenv.h: Likewise.
80118         * math/math_private.h: Likewise.
80119         * misc/bits/error.h: Likewise.
80120         * misc/bits/syslog.h: Likewise.
80121         * misc/err.h: Likewise.
80122         * misc/error.h: Likewise.
80123         * misc/fstab.h: Likewise.
80124         * misc/mntent.h: Likewise.
80125         * misc/regexp.h: Likewise.
80126         * misc/search.h: Likewise.
80127         * misc/sgtty.h: Likewise.
80128         * misc/sys/mman.h: Likewise.
80129         * misc/sys/syslog.h: Likewise.
80130         * misc/sys/uio.h: Likewise.
80131         * misc/sys/xattr.h: Likewise.
80132         * misc/ttyent.h: Likewise.
80133         * nis/rpcsvc/ypclnt.h: Likewise.
80134         * nss/nss.h: Likewise.
80135         * posix/bits/unistd.h: Likewise.
80136         * posix/fnmatch.h: Likewise.
80137         * posix/glob.h: Likewise.
80138         * posix/sched.h: Likewise.
80139         * posix/spawn.h: Likewise.
80140         * posix/sys/wait.h: Likewise.
80141         * posix/unistd.h: Likewise.
80142         * posix/wordexp.h: Likewise.
80143         * pwd/pwd.h: Likewise.
80144         * resolv/netdb.h: Likewise.
80145         * resource/sys/resource.h: Likewise.
80146         * rt/aio.h: Likewise.
80147         * rt/bits/mqueue2.h: Likewise.
80148         * rt/mqueue.h: Likewise.
80149         * shadow/shadow.h: Likewise.
80150         * signal/signal.h: Likewise.
80151         * socket/send.c: Likewise.
80152         * socket/sendto.c: Likewise.
80153         * socket/sys/socket.h: Likewise.
80154         * stdio-common/printf.h: Likewise.
80155         * stdlib/bits/stdlib.h: Likewise.
80156         * stdlib/fmtmsg.h: Likewise.
80157         * stdlib/monetary.h: Likewise.
80158         * stdlib/stdlib.h: Likewise.
80159         * stdlib/ucontext.h: Likewise.
80160         * streams/stropts.h: Likewise.
80161         * string/argz.h: Likewise.
80162         * string/bits/string2.h: Likewise.
80163         * string/string.h: Likewise.
80164         * string/strings.h: Likewise.
80165         * sunrpc/rpc/auth.h: Likewise.
80166         * sunrpc/rpc/auth_des.h: Likewise.
80167         * sunrpc/rpc/clnt.h: Likewise.
80168         * sunrpc/rpc/netdb.h: Likewise.
80169         * sunrpc/rpc/pmap_clnt.h: Likewise.
80170         * sunrpc/rpc/xdr.h: Likewise.
80171         * sysdeps/generic/inttypes.h: Likewise.
80172         * sysdeps/generic/net/if.h: Likewise.
80173         * sysdeps/generic/sys/swap.h: Likewise.
80174         * sysdeps/gnu/net/if.h: Likewise.
80175         * sysdeps/gnu/utmpx.h: Likewise.
80176         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80177         * sysdeps/i386/i486/bits/string.h: Likewise.
80178         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80179         * sysdeps/s390/bits/string.h: Likewise.
80180         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80181         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80182         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80183         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80184         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80185         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80186         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80187         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80188         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80189         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80190         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80191         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80192         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80193         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80194         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80195         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80196         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80197         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80198         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80199         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80200         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80201         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80202         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80203         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80204         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80205         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80206         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80207         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80208         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80209         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80210         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80211         * sysvipc/sys/ipc.h: Likewise.
80212         * sysvipc/sys/msg.h: Likewise.
80213         * sysvipc/sys/sem.h: Likewise.
80214         * sysvipc/sys/shm.h: Likewise.
80215         * termios/termios.h: Likewise.
80216         * time/sys/time.h: Likewise.
80217         * time/time.h: Likewise.
80218         * wcsmbs/bits/wchar2.h: Likewise.
80219         * wcsmbs/uchar.h: Likewise.
80220         * wcsmbs/wchar.h: Likewise.
80221         * wctype/wctype.h: Likewise.
80223         [BZ #13551]
80224         * Makeconfig: Remove all but ELF support including AIX support.
80225         * Makerules: Likewise.
80226         * config.h.in: Likewise.
80227         * config.make.in: Likewise.
80228         * configure: Likewise.
80229         * configure.in: Likewise.
80230         * csu/Makefile: Likewise.
80231         * csu/version.c: Likewise.
80232         * debug/Makefile: Likewise.
80233         * dlfcn/Makefile: Likewise.
80234         * elf/Makefile: Likewise.
80235         * extra-lib.mk: Likewise.
80236         * iconv/Makefile: Likewise.
80237         * include/libc-symbols.h: Likewise.
80238         * include/shlib-compat.h: Likewise.
80239         * resolv/Makefile: Likewise.
80240         * resolv/res_libc.c: Likewise.
80241         * rt/Makefile: Likewise.
80242         * sysdeps/i386/asm-syntax.h: Likewise.
80243         * sysdeps/i386/sysdep.h: Likewise.
80244         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80245         * sysdeps/mach/sysdep.h: Likewise.
80246         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80247         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80248         * sysdeps/s390/asm-syntax.h: Likewise.
80249         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80250         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80251         * sysdeps/sh/sysdep.h: Likewise.
80252         * sysdeps/unix/sparc/sysdep.h: Likewise.
80253         * sysdeps/wordsize-32/divdi3.c: Likewise.
80254         * sysdeps/x86_64/sysdep.h: Likewise.
80256         * argp/Versions: Remove _argp_unlock_xxx.
80258         [BZ #13559]
80259         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80260         * abilist/libBrokenLocale.abilist: Likewise.
80261         * abilist/libanl.abilist: Likewise.
80262         * abilist/libc.abilist: Likewise.
80263         * abilist/libcrypt.abilist: Likewise.
80264         * abilist/libdl.abilist: Likewise.
80265         * abilist/libm.abilist: Likewise.
80266         * abilist/libnsl.abilist: Likewise.
80267         * abilist/libpthread.abilist: Likewise.
80268         * abilist/libresolv.abilist: Likewise.
80269         * abilist/librt.abilist: Likewise.
80270         * abilist/libthread_db.abilist: Likewise.
80271         * abilist/libutil.abilist: Likewise.
80272         * abilist/libnss_db.abilist: New file.
80274         * scripts/abilist.awk: Add support for indirect functions.
80276         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80278         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80280         * shlib-versions: Remove entries for ports architectures.
80282         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80283         files in ports.
80284         * elf/stackguard-macros.h: Remove support for IA-64.
80285         * elf/tst-auditmod1.c: Likewise.
80286         * sysdeps/generic/ldsodefs.h: Likewise.
80288         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80289         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80290         configure files.
80292         [BZ #13552]
80293         * configure.in: Remove --enable-omitfp support.
80294         * FAQ.in: Adjust.
80295         * config.make.in: Likewise.
80296         * Makeconfig: Likewise.
80297         * manual/install.texi: Likewise.
80299         In case anyone cares, the IA-64 architecture could move to ports.
80300         * sysdeps/ia64/*: Removed.
80301         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80302         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80304         [BZ #13555]
80305         * configure.in: Remove entries for unsupported architectures.
80307         [BZ #13533]
80308         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80309         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80310         routines.
80311         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80312         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80313         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80314         fall back to using wcrtomb.
80315         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80316         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80317         renaming.
80318         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80319         * wcsmbs/tst-c16c32-1.c: New file.
80321         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80322         local variable.
80324         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80326         * elf/tst-unique3.cc: Add explicit declaration of gets.
80327         * elf/tst-unique3lib.cc: Likewise.
80328         * elf/tst-unique3lib2.cc: Likewise.
80329         * elf/tst-unique4.cc: Likewise.
80331         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80333 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
80335         [BZ #13566]
80336         * assert/assert.h (static_assert): Don't define for C++.
80337         * libio/stdio.h (gets): Do declare for C++ <= C++11.
80338         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80340 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
80342         * iconv/loop.c (single loop): Fix assertion in storing of
80343         remaining bytes.
80345         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80347 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
80349         * posix/getconf.c: Update copyright year.
80350         * nss/getent.c: Likewise.
80351         * nss/makedb.c: Likewise.
80352         * iconv/iconvconfig.c: Likewise.
80353         * iconv/iconv_prog.c: Likewise.
80354         * elf/ldconfig.c: Likewise.
80355         * elf/pldd.c: Likewise.
80356         * elf/sotruss.ksh: Likewise.
80357         * catgets/gencat.c: Likewise.
80358         * csu/version.c: Likewise.
80359         * elf/ldd.bash.in: Likewise.
80360         * elf/sprof.c (print_version): Likewise.
80361         * locale/programs/locale.c: Likewise.
80362         * locale/programs/localedef.c: Likewise.
80363         * login/programs/pt_chown.c: Likewise.
80364         * nscd/nscd.c (print_version): Likewise.
80365         * debug/xtrace.sh: Likewise.
80366         * malloc/memusage.sh: Likewise.
80367         * malloc/mtrace.pl: Likewise.
80368         * debug/catchsegv.sh: Likewise.
80370 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
80372         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
80373         pure attribute.
80375 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
80377         [BZ #13533]
80378         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
80379         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
80380         transformations.
80381         * iconv/gconv_int.h: Likewise.
80382         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
80383         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
80384         from libc for GLIBC_2.16.
80385         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
80386         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
80387         * wcsmbs/uchar.h: Really define mbstate_t.
80388         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
80389         * wcsmbs/c16rtomb.c: New file.
80390         * wcsmbs/mbrtoc16.c: New file.
80391         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
80392         for C/POSIX locale.
80393         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
80394         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
80396         * wcsmbs/wchar.h: Add missing __restrict.
80398 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80400         [BZ #13532]
80401         * time/Makefile (routines): Add timespec_get.
80402         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
80403         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
80404         timespec for ISO C11.
80405         * time/timespec_get.c: New file.
80406         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
80407         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
80409         [BZ #13531]
80410         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
80411         * stdlib/stdlib.h: Declare aligned_alloc.
80412         * Versions.def: Add GLIBC_2.16 for libc.
80413         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
80415         [BZ 13527]
80416         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
80417         ISO C11.
80419         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
80420         code.
80422         [BZ #13528]
80423         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
80425         [BZ #13529]
80426         * assert/assert.h (static_assert): Define.
80428         * version.h: Update for 2.16 development version.
80430         [BZ #13526]
80431         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
80432         _ISOC11_SOURCE.
80434         * version.h (RELEASE): Bump for 2.15 release.
80435         * include/features.h (__GLIBC_MINOR__): Bump to 15.
80437         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
80438         Patch by Marek Polacek <mpolacek@redhat.com>.
80440         * bits/byteswap.h: Protect long long constants with __extension__.
80441         * sysdeps/i386/bits/byteswap.h: Likewise.
80442         * sysdeps/ia64/bits/byteswap.h: Likewise.
80443         * sysdeps/s390/bits/byteswap.h: Likewise.
80444         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80446 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80448         [BZ #13540]
80449         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
80450         destination buffer.
80451         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
80453 2011-12-23  Marek Polacek  <polacek@redhat.com>
80455         * elf/dl-addr.c (determine_info): Add inline keyword.
80456         * elf/tst-auditmod4b.c (check_avx): Likewise.
80457         * elf/tst-auditmod6b.c (check_avx): Likewise.
80458         * elf/tst-auditmod6c.c (check_avx): Likewise.
80459         * elf/tst-auditmod7b.c (check_avx): Likewise.
80461 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80463         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
80464         !__SSE_MATH__.
80466 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80468         [BZ #13540]
80469         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
80470         processing for last bytes.
80472 2011-08-06  Bruno Haible  <bruno@clisp.org>
80474         [BZ #13061]
80475         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
80476         U+0385, not to U+1FEE.
80478         [BZ #13062]
80479         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
80480         entry for U+00A5 U+0301.
80482 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80484         [BZ #13166]
80485         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
80486         buffer for the output is too small.
80488         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
80489         optimization.
80491         [BZ #13185]
80492         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
80493         SSE flags if possible.
80495 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80497         [BZ #13540]
80498         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
80499         processing for last bytes.
80501 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
80503         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
80504         (syscall-list-default-options, syscall-list-default-condition)
80505         (syscall-list-includes): Define.
80506         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
80507         list of ABIs and options and #if conditions for each ABI.  Do not
80508         handle common syscalls between ABIs specially.
80509         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
80510         Remove.
80511         (syscall-list-variants, syscall-list-32bit-options)
80512         (syscall-list-32bit-condition, syscall-list-64bit-options)
80513         (syscall-list-64bit-condition): Define.
80514         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
80515         (syscall-list-variants, syscall-list-32bit-options)
80516         (syscall-list-32bit-condition, syscall-list-64bit-options)
80517         (syscall-list-64bit-condition): Define.
80518         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
80519         Remove.
80520         (syscall-list-variants, syscall-list-32bit-options)
80521         (syscall-list-32bit-condition, syscall-list-64bit-options)
80522         (syscall-list-64bit-condition): Define.
80523         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
80524         Remove.
80525         (syscall-list-variants, syscall-list-32bit-options)
80526         (syscall-list-32bit-condition, syscall-list-64bit-options)
80527         (syscall-list-64bit-condition): Define.
80529 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80531         * locale/iso-639.def: Add brx entry.
80533         [BZ #13328]
80534         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
80535         Proposed by Mariusz_Cukr <marcukr@op.pl>.
80537         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
80538         __feraiseexcept_renamed.
80540 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80542         [BZ #13538]
80543         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
80544         EPOLLET with unsigned values.
80545         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80546         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80548         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
80549         to large cancellation.
80550         * math/s_cacoshf.c: Likewise.
80551         * math/s_cacoshl.c: Likewise.
80553 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
80555         [BZ #13305]
80556         [BZ #12786]
80557         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
80558         * math/s_cacoshf.c: Likewise.
80559         * math/s_cacoshl.c: Likewise.
80561 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80563         [BZ #13439]
80564         * iconv/gconv.h: Define __GCONV_SWAP.
80565         * iconvdata/unicode.c: The swap bit must be stored in __flags.
80566         * iconvdata/utf-16.c: Likewise.
80567         * iconvdata/utf-32.c: Likewise.
80569 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
80571         [BZ #13524]
80572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
80573         numerator after shifting it by one limb.
80575 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
80577         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
80578         under [__USE_EXTERN_INLINES].
80580 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80582         [BZ #13446]
80583         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
80585 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80587         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
80588         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
80589         optimized code.
80590         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
80591         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
80592         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
80593         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
80594         for strncasecmp/strncasecmp_l compilation.
80595         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
80596         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
80598 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
80600         [BZ #13484]
80601         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
80602         of __asm__.
80604 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80606         [BZ #13506]
80607         * time/tzfile.c (__tzfile_read): Check values from file header.
80609 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
80611         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
80612         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
80613         * powerpc/powerpc32/dl-start.S: Likewise.
80614         * powerpc/powerpc32/elf/start.S: Likewise.
80615         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
80616         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
80617         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
80618         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
80619         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
80620         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
80621         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
80622         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
80623         * powerpc/powerpc32/fpu/s_round.S: Likewise.
80624         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
80625         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
80626         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
80627         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
80628         * powerpc/powerpc32/memset.S: Likewise.
80629         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
80630         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
80631         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
80632         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
80633         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
80634         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
80635         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
80636         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
80637         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
80638         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
80639         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
80640         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80641         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80643 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80645         * math/libm-test.inc: Added more nearbyint tests.
80646         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
80647         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
80648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
80649         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
80651 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
80653         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
80654         FD_CLOEXEC.
80656 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80658         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
80659         Add wcscpy-ssse3 wcscpy-c.
80660         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
80661         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
80662         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
80663         * sysdeps/x86_64/wcschr.S: New file.
80664         * sysdeps/x86_64/wcsrchr.S: New file.
80665         * string/test-strcmp.c: Remove checking of wcscmp function for
80666         wrong alignments.
80667         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
80668         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
80669         wcsrchr-sse2 wcsrchr-c.
80670         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
80671         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
80672         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
80673         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
80674         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
80675         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
80676         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
80677         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
80678         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
80679         * wcsmbc/wcschr.c (WCSCHR): New macro.
80681 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80683         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
80684         * wcsmbs/test-wcsrchr.c: New file.
80685         * string/test-strrchr.c: Add wcsrchr support.
80686         (WIDE): New macro.
80687         * wcsmbs/test-wcscpy.c: New file.
80688         * string/test-strcpy.c: Add wcscpy support.
80689         (WIDE): New macro.
80691 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
80693         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
80694         the inner loop.
80696 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
80698         [BZ #13472]
80699         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
80701 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
80703         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
80704         Minor optimizations.
80706         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
80707         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
80708         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
80710 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
80712         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
80713         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
80714         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
80715         for gcc to avoid warnings.
80716         * inet/Makefile (tests): Add tst-checks.
80717         * inet/tst-checks.c: New file.
80719         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
80720         warning.
80722         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
80723         __wmemcmp_sse2.
80725         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
80726         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
80728         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
80730 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
80732         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
80733         problem.
80735         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
80737 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
80739         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
80740         conditional on GCC version.
80741         (__arch_compare_and_exchange_val_8_acq)
80742         (__arch_compare_and_exchange_val_16_acq)
80743         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
80744         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
80745         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
80747 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
80749         * sysdeps/sh/backtrace.c: New file.
80751 2011-12-02  Andreas Schwab  <schwab@redhat.com>
80753         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
80754         parenthesis.
80756 2011-12-01  Andreas Schwab  <schwab@redhat.com>
80758         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
80759         falling back to utime.
80761 2011-11-30  Andreas Schwab  <schwab@redhat.com>
80763         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
80764         expectations for float.
80766 2011-11-29  Andreas Schwab  <schwab@redhat.com>
80768         * locale/weight.h (findidx): Add parameter len.
80769         * locale/weightwc.h (findidx): Likewise.
80770         * posix/fnmatch_loop.c (FCT): Adjust caller.
80771         * posix/regcomp.c (build_equiv_class): Likewise.
80772         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
80773         * posix/regexec.c (check_node_accept_bytes): Likewise.
80774         * string/strcoll_l.c (STRCOLL): Likewise.
80775         * string/strxfrm_l.c (STRXFRM): Likewise.
80777 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
80779         * Makefile.in: Remove CVSOPT handling.
80780         * configure.in: Remove use of AC_REVISION.
80781         * iconvdata/Makefile (distribute): No need to filter out CVS.
80782         * scripts/list-sources.sh: Remove CVS, subversion and monotone
80783         handling.
80785 2011-11-16  Andreas Schwab  <schwab@redhat.com>
80787         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
80788         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
80789         [USE_AS_STRNCASECMP_L]: Likewise.
80790         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
80791         NO_TLS_DIRECT_SEG_REFS.
80792         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
80793         Fix argument offsets for non-PIC.
80794         [USE_AS_STRNCASECMP_L]: Likewise.
80795         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
80796         NO_TLS_DIRECT_SEG_REFS.
80798 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
80800         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
80801         O_CLOEXEC.
80802         * locale/loadlocale.c (_nl_load_locale): Likewise.
80804 2011-11-15  Andreas Schwab  <schwab@redhat.com>
80806         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
80807         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
80808         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
80809         (SYSCALL_GETTIME): Set errno on error.
80811         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
80812         count references to noai6ai_cached.
80814 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
80816         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
80818         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
80819         FD_CLOEXEC for /proc/self/maps.
80821         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
80822         FD_CLOEXEC for /proc/meminfo.
80824         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
80825         gai.conf.
80827         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
80828         FD_CLOEXEC for given file.
80830         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
80832         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
80833         FD_CLOEXEC for /etc/hosts.
80834         (_gethtent): Likewise.
80836         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
80838         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
80839         cancellation and set FD_CLOEXEC for /etc/netgroup.
80841         * nss/nss_files/files-key.c (search): Don't allow cancellation when
80842         reading /etc/publickey.
80844         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
80845         allow cancellation when reading /etc/group.
80847         * nss/nss_files/files-alias.c (internal_setent): Don't allow
80848         cancellation.
80849         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
80851         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
80852         when using data file.
80854         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
80856         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
80857         (write_nis_obj): Use "c" and "e" in fopen.
80859         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
80861         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
80863         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
80865         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
80867         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
80868         locale.alias.
80870         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
80872         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
80874         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
80876         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
80877         file parsing and set FD_CLOEXEC.
80879 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
80881         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
80883 2011-11-14  Andreas Schwab  <schwab@redhat.com>
80885         * malloc/arena.c (arena_get2): Don't call reused_arena when
80886         _int_new_arena failed.
80888 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
80890         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
80891         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
80892         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
80893         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80894         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80895         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
80896         to compile strcasecmp and strncasecmp.
80897         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
80898         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
80900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
80902 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
80904         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
80905         locale-defines.sym to gen-as-const-headers.
80906         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
80907         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
80908         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
80909         to compile strcasecmp and strncasecmp.
80910         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
80911         strcasecmp_l and strncasecmp_l.
80912         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
80913         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
80914         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
80915         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
80916         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
80917         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
80918         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
80919         * sysdeps/i386/i686/multiarch/strncase.S: New file.
80920         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
80921         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
80922         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
80924 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
80926         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
80927         result of SYSDEP_GETTIME_CPU to retval.
80928         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
80929         parameter list to macro.  Remove trailing semicolon.  Adjust users.
80931         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
80932         variable.
80934         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
80935         mantissa words.
80936         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
80938         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
80939         from unused variable.
80941         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
80942         DWARF definitions.
80943         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
80944         for assembling.
80946         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
80947         over namespaces.
80949         * sunrpc/rpc_prot.c (rejected): Fix case value.
80951         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
80952         unsigned long long int to avoid warnings in shift.
80954         * posix/regex_internal.c (re_string_reconstruct): Actually use result
80955         of use of trans.
80956         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
80957         variable tmp.
80959         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
80960         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
80961         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
80963         * nis/nis_table.c (nis_list): Use variable of correct type for
80964         result of __follow_path call.
80966 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80968         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
80969         of math functions ceil, trunc, floor, round, and sqrt, when
80970         avaliable on the platform.
80971         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
80972         name clash.
80973         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80974         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80975         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80977 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
80979         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
80980         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
80982 2011-11-11  Roland McGrath  <roland@hack.frob.com>
80984         * include/unistd.h: Fix __readlink return type.
80985         Reported by Chris Metcalf <cmetcalf@tilera.com>.
80987 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
80989         * stdlib/ucontext.h: Undo last change for makecontext.
80991 2011-11-11  Andreas Schwab  <schwab@redhat.com>
80993         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
80995         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
80996         * setjmp/setjmp.h: Mark functions as non-leaf.
80997         * setjmp/bits/setjmp2.h: Likewise.
80998         * stdlib/ucontext.h: Likewise.
81000 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81002         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81003         (reused_arena): Don't check arena limit.
81004         (arena_get2): Atomically check arena limit.
81006 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81008         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81009         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81012         instructions.
81014 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81016         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81017         handler when locking.
81019         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81020         Fix size of allocated buffer.
81022 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81024         [BZ #10103]
81025         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81026         declarations for long double functions.
81027         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81029         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81031 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81033         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81034         installed.
81036         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81037         is disabled.
81039 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81041         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81043 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81045         * include/alloca.h (stackinfo_alloca_round): Define.
81046         (extend_alloca): Use it.
81047         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81048         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81049         here.
81051         * scripts/check-local-headers.sh: Ignore libaudit.h.
81053         * nscd/Makefile (extra-objs): Make recursively expanded.
81055 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81057         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81058         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81060         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81061         * posix/tst-rfc3484-2.c: Likewise.
81062         * posix/tst-rfc3484-3.c: Likewise.
81064         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81065         process_vm_writev.
81066         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81067         process_vm_writev.
81068         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81069         process_vm_writev from libc using GLIBC_2.15 version.
81071         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81073 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81075         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81076         stack usage.
81078 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81080         [BZ #13367]
81081         * nss/getent.c (initgroups_keys): Show error message in case no group
81082         names are given.
81084         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81085         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81086         __bump_nl_timestamp.
81087         * nscd/connections (nscd_init): When host database is served open
81088         netlink socket and request notification about configuration changes.
81089         (main_loop_poll): Track netlink file descriptor and bump timestamp
81090         in case data becomes available.
81091         (main_loop_epoll): Likewise.
81092         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81093         (database_pers_head): Add extra_data fileds.
81094         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81095         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81096         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81097         Adjust caller.
81098         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81099         in6ai data, call __free_in6ai.
81100         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81101         Add -DHAVE_NETLINK.
81102         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81103         interface information.  Reuse previous data if netlink timestamp
81104         is not changed.
81105         (__bump_nl_timestamp): New function.
81106         (__free_in6ai): New function.
81108 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81110         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81111         close_not_cancel_no_status here.
81112         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81114 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81116         [BZ #13276]
81117         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81118         return value.
81120         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81121         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81122         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81124 2011-07-03  Andreas Jaeger  <aj@suse.de>
81126         [BZ #10709]
81127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81128         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81129         * math/libm-test.inc (sin_test): Add test case.
81131 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81133         [BZ #13337]
81134         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81135         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81137         * elf/chroot_canon.c (chroot_canon): Cleanups.
81139         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81141         [BZ #13335]
81142         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81143         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81145         * string/test-strchr.c: Make usable for strchrnul testing.
81146         * string/test-strchrnul.c: New file.
81147         * string/Makefile (strop-tests): Add strchrnul.
81149         * po/it.po: Update from translation team.
81150         * po/es.po: Likewise.
81152 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81154         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81155         the three constants needed as parameters.  Drop the others.
81156         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81157         __m128i_strloadu_tolower.
81158         Create and initialize variable zero and use it in all the places
81159         where _mm_setzero_si128 was used.
81161         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81162         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81163         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81164         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81165         anymore.
81166         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81167         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81168         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81169         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81170         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81171         __mpranred, __mptan.
81172         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81173         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81174         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81175         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81176         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81177         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81178         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81179         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81180         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81182 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81184         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81185         redefine if SHARED.
81186         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81189         wide char related routines to wcsmbs subdir.
81191 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81193         [BZ #13344]
81194         * misc/sys/cdefs.h (__THROWNL): Define.
81195         * posix/unistd.h: Use __THREADNL instead of __THREAD
81196         for memory synchronization functions.
81198 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81200         [BZ #13349]
81201         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81202         doesn't exist.
81203         * manual/stdio.texi (Obstack Streams): Node removed.
81205 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81207         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81208         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81209         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81211         * math/math_private.h (math_force_eval): Allow non-addressable
81212         arguments.
81213         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81215 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81217         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81218         file is not needed.
81220         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81221         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81222         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81223         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81224         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81225         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81226         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81227         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81228         Add AVX variants.
81229         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81230         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81231         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81232         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81233         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81234         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81235         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81236         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81237         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81238         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81239         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81240         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81241         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81242         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81243         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81244         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81245         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81246         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81247         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81249         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81250         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81252         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81253         place.  Use VEX encoding when compiling for AVX.
81255 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81257         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81258         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81260         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81262 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81264         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81265         useless if() expression.
81266         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81267         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81268         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81269         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81270         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81271         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81272         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81273         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81274         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81275         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81276         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81277         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81278         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81279         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81280         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81281         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81282         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81283         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81284         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81286         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81288 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81290         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81291         condition.
81292         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81294 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81296         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81297         .text section.  Avoid duplicate constants.
81298         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81300         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81301         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81303         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81304         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81305         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81306         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81307         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81308         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81309         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81310         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81311         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81312         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81313         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81314         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81315         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81316         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81317         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81318         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81319         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81320         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81321         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81322         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81323         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81324         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81325         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81326         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81327         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81328         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81329         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81330         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81331         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81332         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81333         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81334         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81335         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81336         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81337         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81338         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81339         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81340         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81341         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81342         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81344 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
81346         * sysdeps/x86_64/dla.h: Move to ...
81347         * sysdeps/x86_64/fpu/dla.h: ...here.
81348         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81349         situations.  Use __builtin_fma only for gcc 4.6 and up.
81351         * config.make.in: Add have-mfma4 entry.
81352         * configure.in: Substitute libc_cv_cc_fma4.
81353         * math/Makefile (dbl-only-routines): Add sincostab.
81354         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81355         Use __sincostab not sincos.
81356         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81357         name is a macro.
81358         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81359         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81360         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
81362         using __copysign.
81363         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
81364         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
81365         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
81366         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
81367         and __inv.
81368         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
81369         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
81370         __copysign.
81371         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
81372         define aliases when function name is a macro.
81373         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
81374         sysdeps/ieee754/dbl-64/sincos.tbl.
81375         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
81376         fma4-enabled routines.
81377         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
81378         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
81379         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
81380         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
81381         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
81382         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
81383         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
81384         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
81385         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
81386         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
81387         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
81388         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
81389         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
81390         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
81391         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
81392         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
81393         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
81394         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
81395         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
81396         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
81397         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
81398         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
81399         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
81400         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
81401         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
81402         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
81403         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
81404         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
81405         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
81406         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
81408         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
81409         rename.
81410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81411         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81413         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81414         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81415         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81416         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81417         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81419 2011-10-24  Andreas Schwab  <schwab@redhat.com>
81421         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
81423 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81425         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
81427         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
81428         prediction.
81429         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
81431         * string/strnlen.c: Don't define STRNLEN, reverse logic.
81432         Remove unused variable magic_bits.
81433         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
81435         * string/strnlen.c: Define and use STRNLEN macro.
81436         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
81437         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
81438         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
81439         * wcsmbs/wcslen.c: Define and use WCSLEN.
81440         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
81441         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
81442         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
81443         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
81444         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
81445         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
81446         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81448 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81451         strnlen-sse2-no-bsf.
81452         Rename strlen-no-bsf to strlen-sse2-no-bsf.
81453         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
81454         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
81455         Add strnlen support.
81456         (USE_AS_STRNLEN): New macro.
81457         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
81458         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
81459         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
81460         * sysdeps/x86_64/wcslen.S: New file.
81462 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
81464         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81465         XMM-moves are used for copying on small sizes.
81467 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81469         * wcsmbs/Makefile (strop-tests): Add wcschr.
81470         * wcsmbs/test-wcschr.c: New file.
81471         * string/test-strchr.c: Update.
81472         Add wcschr support.
81473         (WIDE): New macro.
81475 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81477         * wcsmbs/Makefile (strop-tests): Add wcslen.
81478         * wcsmbs/test-wcslen.c: New file.
81479         * string/test-strlen.c: Update.
81480         Add wcslen support.
81481         (WIDE): New macro.
81483 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81485         * po/it.po: Update from translation team.
81487 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81489         * sysdeps/x86_64/wcscmp.S: Update.
81490         Fix wrong comparison semantics.
81491         wcscmp shall use signed comparison not unsigned.
81492         Don't use substraction to avoid overflow bug.
81493         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
81494         * wcsmbc/wcscmp.c: Likewise.
81495         * string/test-strcmp.c: Likewise.
81496         Add new tests to check cases with negative values.
81498 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81500         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
81501         * sysdeps/x86_64/dla.h: ...here.  New file.
81502         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
81503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81506         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81507         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81509         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81512 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
81514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
81515         __ynl_finite aliases.
81517 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81521         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
81522         define DLA_FMA.
81523         [DLA_FMA] (EMULV): Use DLA_FMA.
81524         [DLA_FMA] (MUL12): Use EMULV.
81525         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
81526         that are not needed.
81527         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81530         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81535 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
81537         * math/s_nan.c: Undef __nan.
81538         * math/s_nanf.c: Undef __nanf.
81539         * math/s_nanl.c: Undef __nanl.
81540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
81541         "math_private.h".
81543 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81545         * math/s_catan.c: Add branch predictions.
81546         * math/s_catanf.c: Likewise.
81547         * math/s_catanh.c: Likewise.
81548         * math/s_catanhf.c: Likewise.
81549         * math/s_catanhl.c: Likewise.
81550         * math/s_catanl.c: Likewise.
81551         * math/s_cexp.c: Likewise.
81552         * math/s_cexpf.c: Likewise.
81553         * math/s_cexpl.c: Likewise.
81554         * math/s_clog.c: Likewise.
81555         * math/s_clog10.c: Likewise.
81556         * math/s_clog10f.c: Likewise.
81557         * math/s_clog10l.c: Likewise.
81558         * math/s_clogf.c: Likewise.
81559         * math/s_clogl.c: Likewise.
81560         * math/s_csqrt.c: Likewise.
81561         * math/s_csqrtf.c: Likewise.
81562         * math/s_csqrtl.c: Likewise.
81563         * math/s_ctanf.c: Likewise.
81564         * math/s_ctanh.c: Likewise.
81565         * math/s_ctanhf.c: Likewise.
81566         * math/s_ctanhl.c: Likewise.
81567         * math/s_ctanl.c: Likewise.
81569         * math/math_private.h: Define __nan, __nanf, __nanl.
81570         * math/s_cacosh.c: Include <math_private.h>.
81571         * math/s_cacoshl.c: Likewise.
81572         * math/s_casinh.c: Likewise.
81573         * math/s_casinhf.c: Likewise.
81574         * math/s_casinhl.c: Likewise.
81575         * math/s_ccos.c: Rely entire on ccosh.
81576         * math/s_ccosf.c: Rely entire on ccoshf.
81577         * math/s_ccosl.c: Rely entirely on ccoshl.
81578         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
81579         Remove tests for FE_INVALID.
81580         * math/s_ccoshf.c: Likewise.
81581         * math/s_ccoshl.c: Likewise.
81582         * math/s_csin.c: Likewise.
81583         * math/s_csinf.c: Likewise.
81584         * math/s_csinh.c Likewise.
81585         * math/s_csinhf.c: Likewise.
81586         * math/s_csinhl.c: Likewise.
81587         * math/s_csinl.c: Likewise.
81588         * math/s_ctan.c: Likewise.
81589         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
81590         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
81591         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
81593 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
81595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
81596         compilation problems.
81598         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
81599         __builtin_expect.
81601 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
81603         * sysdeps/i386/configure.in: Test for -mfma4 option.
81604         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
81605         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
81606         COMMON_CPUID_INDEX_80000001.
81607         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
81608         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
81609         use it if FMA3 is not supported.
81610         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
81612         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
81613         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81615 2011-10-20  Andreas Schwab  <schwab@redhat.com>
81617         [BZ #12892]
81618         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
81619         it would create a cycle with a link time dependency.
81621 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
81623         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
81624         instruction.
81625         * string/Makefile (strop-tests): Add rawmemchr.
81626         * string/test-rawmemchr.c: New file.
81628         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
81629         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
81630         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
81631         when compiling str{,n}casecmp and when AVX is available.  Hook up
81632         new optimized code in initializers.
81634 2011-10-19  Andreas Schwab  <schwab@redhat.com>
81636         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
81637         __feraiseexcept instead of feraiseexcept.
81639 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
81641         * math/math_private.h: Define defaults for libc_fetestexcept and
81642         libc_feupdateenv.
81643         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
81644         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
81645         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81646         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81647         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81648         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81649         libc_fetestexcept and libc_feupdateenv.
81651         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
81652         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
81653         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
81654         * sysdeps/x86_64/fpu/math_private.h: Define special version of
81655         libc_feholdexcept_setround.
81657         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
81658         Add s_nearbyint-c and s_nearbyintf-c.
81659         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
81660         nearbyintf inlines.
81661         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
81662         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
81663         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
81664         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
81666         * math/math_private.h: Define defaults for libc_fegetround,
81667         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
81668         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
81669         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
81670         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
81671         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
81672         standard functions.
81673         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81674         Remove comments and hacks for old compiler versions.
81675         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81676         libc_fegetround, libc_fesetround, libc_feholdexcept, and
81677         libc_feholdexceptl.
81679 2011-10-18  Andreas Schwab  <schwab@redhat.com>
81681         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
81682         (__feraiseexcept_renamed): Add __NTH.
81683         (feraiseexcept): Add __NTH.  Rename local variables to fix
81684         namespace violations.
81686 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
81688         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
81690         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
81692         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
81693         recently added interfaces.
81694         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
81696         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
81697         about macro parameter expansion.
81699         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
81700         __NO_MATH_INLINES is defined.  Cleanups.
81702         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
81703         and __floorf is target has SSE4.1.
81704         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
81705         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
81706         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
81707         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
81709         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
81710         name.
81711         (floorf): Likewise.
81713         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
81715 2011-10-17  Andreas Schwab  <schwab@redhat.com>
81717         * misc/sys/cdefs.h: Fix last change.
81719         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
81720         database lookup.
81722 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
81724         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
81726         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
81727         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81728         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81729         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81730         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81731         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81732         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81733         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81734         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81735         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
81736         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
81737         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
81738         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
81739         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
81740         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
81741         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
81742         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
81743         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
81744         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
81745         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
81746         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
81747         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
81749         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
81750         ceil, ceilf, floor, floorf.
81752         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
81753         Perform IRELATIVE relocations last.
81755         * elf/do-rel.h: Add another parameter nrelative, replacing the
81756         local variable with the same name.  Change name of the function
81757         to end in Rel or Rela (uppercase).
81758         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
81759         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
81760         elf_dynamic_do_##reloc function.
81762 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
81764         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
81765         is sufficient, at least on modern CPUs.
81767         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
81769         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
81770         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
81772         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
81773         __expl_finite.
81774         * math/bits/math-finite.h: Add entries for exp.
81775         * math/e_expl.c: Add __*_finite alias.
81776         * sysdeps/i386/fpu/e_exp.S: Likewise.
81777         * sysdeps/i386/fpu/e_expf.S: Likewise.
81778         * sysdeps/i386/fpu/e_expl.c: Likewise.
81779         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81780         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81781         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
81782         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
81783         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
81784         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81785         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81787         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
81788         is sufficient, at least on modern CPUs.
81790         * ctype/ctype-info.c (__ctype_init): Define.
81791         * include/ctype.h (__ctype_init): Declare.
81792         (__ctype_b_loc): The variable is always initialized.
81793         (__ctype_toupper_loc): Likewise.
81794         (__ctype_tolower_loc): Likewise.
81795         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
81796         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
81798 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
81800         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
81802         * configure.in: Also look in $cxxmachine/include for C++ system
81803         headers.
81805 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81807         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
81808         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
81809         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
81810         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
81811         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
81812         (USE_AS_WMEMCMP): New macro.
81813         Fixing indents.
81814         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
81815         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
81816         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
81817         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
81818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81819         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
81820         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
81821         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
81822         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
81823         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
81824         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
81825         (USE_AS_WMEMCMP): New macro.
81826         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
81827         * sysdeps/string/test-memcmp.c: Update.
81828         Fix simple_wmemcmp.
81829         Add new tests.
81830         * wcsmbs/wmemcmp.c: Update.
81831         (WMEMCMP): New macro.
81832         Fix overflow bug.
81834 2011-10-12  Andreas Jaeger  <aj@suse.de>
81836         [BZ #13268]
81837         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
81839 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
81841         * libio/iofwide.c (do_length): Avoid warning.
81843         * ctype/ctype.h (__isctype_f): Add missing __THROW.
81845 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
81847         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
81849         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
81850         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
81851         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
81852         * sysdeps/i386/i686/fpu/e_log.S: New file.
81853         * sysdeps/i386/i686/fpu/e_logf.S: New file.
81854         * sysdeps/i386/i686/fpu/e_logl.S: New file.
81856         * ctype/ctype.h: Add support for inlined isXXX functions when
81857         compiling C++ code.
81859 2011-10-14  Andreas Schwab  <schwab@redhat.com>
81861         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81863         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
81865 2011-10-13  Roland McGrath  <roland@hack.frob.com>
81867         [BZ #13291]
81868         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
81870 2011-10-13  Andreas Schwab  <schwab@redhat.com>
81872         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
81873         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
81874         feraiseexcept.
81876         * sysdeps/x86_64/memrchr.S: Check for zero size.
81878         * string/stratcliff.c: Add memrchr tests.
81880 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81883         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
81884         rawmemchr-sse2 rawmemchr-sse2-bsf.
81885         * sysdeps/i386/i686/multiarch/memchr.S: New file.
81886         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
81887         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
81888         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
81889         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
81890         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
81891         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
81892         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
81893         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
81894         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
81895         * string/memrchr.c (MEMRCHR): New macro.
81897 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
81899         Add integration with gcc's -ffinite-math-only and optimize wrapper
81900         functions in libm.
81901         * Versions.def: Define GLIBC_2.15 version for libm.
81902         * math/Makefile (headers): Add bits/math-finite.h.
81903         * math/bits/math-finite.h: New file.
81904         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
81905         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
81906         * math/e_acoshl.c: Add __*_finite alias.
81907         * math/e_acosl.c: Likewise.
81908         * math/e_asinl.c: Likewise.
81909         * math/e_atan2l.c: Likewise.
81910         * math/e_atanhl.c: Likewise.
81911         * math/e_coshl.c: Likewise.
81912         * math/e_exp10.c: Likewise.
81913         * math/e_exp10f.c: Likewise.
81914         * math/e_exp10l.c: Likewise.
81915         * math/e_exp2l.c: Likewise.
81916         * math/e_fmodl.c: Likewise.
81917         * math/e_gammal_r.c: Likewise.
81918         * math/e_hypotl.c: Likewise.
81919         * math/e_j0l.c: Likewise.
81920         * math/e_j1l.c: Likewise.
81921         * math/e_jnl.c: Likewise.
81922         * math/e_lgammal_r.c: Likewise.
81923         * math/e_log10l.c: Likewise.
81924         * math/e_log2l.c: Likewise.
81925         * math/e_logl.c: Likewise.
81926         * math/e_powl.c: Likewise.
81927         * math/e_sinhl.c: Likewise.
81928         * math/e_sqrtl.c: Likewise.
81929         * math/e_scalb.c: Completely rewritten and optimized.
81930         * math/e_scalbf.c: Likewise.
81931         * math/e_scalbl.c: Likewise.
81932         * math/w_acos.c: Likewise.
81933         * math/w_acosf.c: Likewise.
81934         * math/w_acosl.c: Likewise.
81935         * math/w_acosh.c: Likewise.
81936         * math/w_acoshf.c: Likewise.
81937         * math/w_acoshl.c: Likewise.
81938         * math/w_asin.c: Likewise.
81939         * math/w_asinf.c: Likewise.
81940         * math/w_asinl.c: Likewise.
81941         * math/w_atan2.c: Likewise.
81942         * math/w_atan2f.c: Likewise.
81943         * math/w_atan2l.c: Likewise.
81944         * math/w_atanh.c: Likewise.
81945         * math/w_atanhf.c: Likewise.
81946         * math/w_atanhl.c: Likewise.
81947         * math/w_exp10.c: Likewise.
81948         * math/w_exp10f.c: Likewise.
81949         * math/w_exp10l.c: Likewise.
81950         * math/w_fmod.c: Likewise.
81951         * math/w_fmodf.c: Likewise.
81952         * math/w_fmodl.c: Likewise.
81953         * math/w_j0.c: Likewise.
81954         * math/w_j0f.c: Likewise.
81955         * math/w_j0l.c: Likewise.
81956         * math/w_j1.c: Likewise.
81957         * math/w_j1f.c: Likewise.
81958         * math/w_j1l.c: Likewise.
81959         * math/w_jn.c: Likewise.
81960         * math/w_jnf.c: Likewise.
81961         * math/w_log.c: Likewise.
81962         * math/w_logf.c: Likewise.
81963         * math/w_logl.c: Likewise.
81964         * math/w_log10.c: Likewise.
81965         * math/w_log10f.c: Likewise.
81966         * math/w_log10l.c: Likewise.
81967         * math/w_log2.c: Likewise.
81968         * math/w_log2f.c: Likewise.
81969         * math/w_log2l.c: Likewise.
81970         * math/w_pow.c: Likewise.
81971         * math/w_powf.c: Likewise.
81972         * math/w_powl.c: Likewise.
81973         * math/w_remainder.c: Likewise.
81974         * math/w_remainderf.c: Likewise.
81975         * math/w_remainderl.c: Likewise.
81976         * math/w_scalb.c: Likewise.
81977         * math/w_scalbf.c: Likewise.
81978         * math/w_scalbl.c: Likewise.
81979         * math/w_sqrt.c: Likewise.
81980         * math/w_sqrtf.c: Likewise.
81981         * math/w_sqrtl.c: Likewise.
81982         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
81983         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
81984         used.
81985         * math/math_private.h: Declare __kernel_standard_f.
81986         * math/w_cosh.c: Remove cruft and optimize a bit.
81987         * math/w_coshf.c: Likewise.
81988         * math/w_coshl.c: Likewise.
81989         * math/w_exp2.c: Likewise.
81990         * math/w_exp2f.c: Likewise.
81991         * math/w_exp2l.c: Likewise.
81992         * math/w_hypot.c: Likewise.
81993         * math/w_hypotf.c: Likewise.
81994         * math/w_hypotl.c: Likewise.
81995         * math/w_lgamma.c: Likewise.
81996         * math/w_lgamma_r.c: Likewise.
81997         * math/w_lgammaf.c: Likewise.
81998         * math/w_lgammaf_r.c: Likewise.
81999         * math/w_lgammal.c: Likewise.
82000         * math/w_lgammal_r.c: Likewise.
82001         * math/w_sinh.c: Likewise.
82002         * math/w_sinhf.c: Likewise.
82003         * math/w_sinhl.c: Likewise.
82004         * math/w_tgamma.c: Likewise.
82005         * math/w_tgammaf.c: Likewise.
82006         * math/w_tgammal.c: Likewise.
82007         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82008         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82009         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82010         Minor optimizations.  Pretty printing.  Remove cruft.
82011         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82012         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82013         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82014         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82015         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82016         * sysdeps/i386/fpu/e_asin.S: Likewise.
82017         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82018         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82019         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82020         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82021         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82022         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82023         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82024         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82025         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82026         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82027         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82028         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82029         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82030         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82031         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82032         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82033         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82034         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82035         * sysdeps/i386/fpu/e_log.S: Likewise.
82036         * sysdeps/i386/fpu/e_log10.S: Likewise.
82037         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82038         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82039         * sysdeps/i386/fpu/e_log2.S: Likewise.
82040         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82041         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82042         * sysdeps/i386/fpu/e_logf.S: Likewise.
82043         * sysdeps/i386/fpu/e_logl.S: Likewise.
82044         * sysdeps/i386/fpu/e_pow.S: Likewise.
82045         * sysdeps/i386/fpu/e_powf.S: Likewise.
82046         * sysdeps/i386/fpu/e_powl.S: Likewise.
82047         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82048         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82049         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82050         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82051         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82052         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82053         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82054         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82055         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82056         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82057         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82058         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82059         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82060         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82061         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82062         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82063         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82064         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82065         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82066         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82067         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82069         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82070         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82072         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82073         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82076         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82077         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82078         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82079         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82080         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82081         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82082         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82083         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82084         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82085         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82086         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82087         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82088         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82089         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82090         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82091         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82092         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82093         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82094         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82095         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82096         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82097         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82098         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82099         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82100         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82101         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82102         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82103         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82104         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82105         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82106         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82107         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82108         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82109         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82110         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82111         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82112         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82113         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82114         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82115         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82116         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82117         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82118         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82119         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82120         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82121         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82122         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82124         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82126         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82127         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82128         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82129         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82130         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82131         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82132         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82133         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82134         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82135         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82136         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82137         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82138         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82139         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82140         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82141         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82142         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82143         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82144         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82145         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82146         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82147         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82148         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82149         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82150         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82151         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82152         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82153         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82154         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82155         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82156         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82157         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82158         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82159         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82160         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82161         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82162         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82163         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82164         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82165         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82166         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82167         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82168         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82169         (__isnanf): Likewise.
82170         (__isinf_ns): Likewise.
82171         (__isinf_nsf): Likewise.
82172         (__finite): Likewise.
82173         (__finitef): Likewise.
82174         (__ieee754_sqrt): Define as macro.
82175         (__ieee754_sqrtf): Define as macro.
82176         (__ieee754_sqrtl): Define as macro.
82177         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82178         inlined copy.
82179         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82180         __FINITE_MATH_ONLY__ consistent.
82181         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82183 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82185         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82186         of rawmemchr.
82188         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82190 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82192         * po/ja.po: Update from translation team.
82194 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82196         * locale/programs/locarchive.c (prepare_address_space): New function.
82197         (create_archive, enlarge_archive, open_archive): Use it.
82199         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82200         inside [SHARED], where it is used.
82202         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82204         * nss/getent.c (netgroup_keys): Remove unused variable.
82205         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82207 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82209         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82210         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82212         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82213         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82214         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82215         * math/Makefile (libm-calls): Add s_isinf_ns.
82216         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82217         * math/multc3.c: Likewise.
82218         * math/s_casin.c: Likewise.
82219         * math/s_casinf.c: Likewise.
82220         * math/s_casinl.c: Likewise.
82221         * math/s_ccos.c: Likewise.
82222         * math/s_ccosf.c: Likewise.
82223         * math/s_ccosl.c: Likewise.
82224         * math/s_ctan.c: Likewise.
82225         * math/s_ctanf.c: Likewise.
82226         * math/s_ctanh.c: Likewise.
82227         * math/s_ctanhf.c: Likewise.
82228         * math/s_ctanhl.c: Likewise.
82229         * math/s_ctanl.c: Likewise.
82230         * math/w_fmod.c: Likewise.
82231         * math/w_fmodf.c: Likewise.
82232         * math/w_fmodl.c: Likewise.
82233         * math/w_remainder.c: Likewise.
82234         * math/w_remainderf.c: Likewise.
82235         * math/w_remainderl.c: Likewise.
82236         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82237         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82238         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82240         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82241         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82242         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82243         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82245         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82246         of the number.
82247         * stdio-common/printf_fphex.c: Likewise.
82248         * stdio-common/printf_size.c: Likewise.
82250         * math/e_exp10.c: Include math_private.h using <...> not "...".
82251         * math/e_exp10f.c: Likewise.
82252         * math/e_exp10l.c: Likewise.
82253         * math/e_exp2l.c: Likewise.
82254         * math/e_j0l.c: Likewise.
82255         * math/e_j1l.c: Likewise.
82256         * math/e_jnl.c: Likewise.
82257         * math/e_lgammal_r.c: Likewise.
82258         * math/e_rem_pio2l.c: Likewise.
82259         * math/e_scalb.c: Likewise.
82260         * math/e_scalbf.c: Likewise.
82261         * math/e_scalbl.c: Likewise.
82262         * math/k_cosl.c: Likewise.
82263         * math/k_sinl.c: Likewise.
82264         * math/k_tanl.c: Likewise.
82265         * math/s_cacoshf.c: Likewise.
82266         * math/s_catan.c: Likewise.
82267         * math/s_catanf.c: Likewise.
82268         * math/s_catanh.c: Likewise.
82269         * math/s_catanhf.c: Likewise.
82270         * math/s_catanhl.c: Likewise.
82271         * math/s_catanl.c: Likewise.
82272         * math/s_ccosh.c: Likewise.
82273         * math/s_ccoshf.c: Likewise.
82274         * math/s_ccoshl.c: Likewise.
82275         * math/s_cexp.c: Likewise.
82276         * math/s_cexpf.c: Likewise.
82277         * math/s_cexpl.c: Likewise.
82278         * math/s_clog.c: Likewise.
82279         * math/s_clog10.c: Likewise.
82280         * math/s_clog10f.c: Likewise.
82281         * math/s_clog10l.c: Likewise.
82282         * math/s_clogf.c: Likewise.
82283         * math/s_clogl.c: Likewise.
82284         * math/s_csin.c: Likewise.
82285         * math/s_csinf.c: Likewise.
82286         * math/s_csinh.c: Likewise.
82287         * math/s_csinhf.c: Likewise.
82288         * math/s_csinhl.c: Likewise.
82289         * math/s_csinl.c: Likewise.
82290         * math/s_csqrt.c: Likewise.
82291         * math/s_csqrtf.c: Likewise.
82292         * math/s_csqrtl.c: Likewise.
82293         * math/s_ctan.c: Likewise.
82294         * math/s_ctanf.c: Likewise.
82295         * math/s_ctanh.c: Likewise.
82296         * math/s_ctanhf.c: Likewise.
82297         * math/s_ctanhl.c: Likewise.
82298         * math/s_ctanl.c: Likewise.
82299         * math/s_ldexp.c: Likewise.
82300         * math/s_ldexpf.c: Likewise.
82301         * math/s_ldexpl.c: Likewise.
82302         * math/s_significand.c: Likewise.
82303         * math/s_significandf.c: Likewise.
82304         * math/s_significandl.c: Likewise.
82305         * math/w_acos.c: Likewise.
82306         * math/w_acosf.c: Likewise.
82307         * math/w_acosh.c: Likewise.
82308         * math/w_acoshf.c: Likewise.
82309         * math/w_acoshl.c: Likewise.
82310         * math/w_acosl.c: Likewise.
82311         * math/w_asin.c: Likewise.
82312         * math/w_asinf.c: Likewise.
82313         * math/w_asinl.c: Likewise.
82314         * math/w_atan2.c: Likewise.
82315         * math/w_atan2f.c: Likewise.
82316         * math/w_atan2l.c: Likewise.
82317         * math/w_atanh.c: Likewise.
82318         * math/w_atanhf.c: Likewise.
82319         * math/w_atanhl.c: Likewise.
82320         * math/w_cosh.c: Likewise.
82321         * math/w_coshf.c: Likewise.
82322         * math/w_coshl.c: Likewise.
82323         * math/w_dremf.c: Likewise.
82324         * math/w_exp10.c: Likewise.
82325         * math/w_exp10f.c: Likewise.
82326         * math/w_exp10l.c: Likewise.
82327         * math/w_exp2.c: Likewise.
82328         * math/w_exp2f.c: Likewise.
82329         * math/w_fmod.c: Likewise.
82330         * math/w_fmodf.c: Likewise.
82331         * math/w_fmodl.c: Likewise.
82332         * math/w_hypot.c: Likewise.
82333         * math/w_hypotf.c: Likewise.
82334         * math/w_hypotl.c: Likewise.
82335         * math/w_j0.c: Likewise.
82336         * math/w_j0f.c: Likewise.
82337         * math/w_j0l.c: Likewise.
82338         * math/w_j1.c: Likewise.
82339         * math/w_j1f.c: Likewise.
82340         * math/w_j1l.c: Likewise.
82341         * math/w_jn.c: Likewise.
82342         * math/w_jnf.c: Likewise.
82343         * math/w_jnl.c: Likewise.
82344         * math/w_lgamma.c: Likewise.
82345         * math/w_lgamma_r.c: Likewise.
82346         * math/w_lgammaf.c: Likewise.
82347         * math/w_lgammaf_r.c: Likewise.
82348         * math/w_lgammal.c: Likewise.
82349         * math/w_lgammal_r.c: Likewise.
82350         * math/w_log.c: Likewise.
82351         * math/w_log10.c: Likewise.
82352         * math/w_log10f.c: Likewise.
82353         * math/w_log10l.c: Likewise.
82354         * math/w_log2.c: Likewise.
82355         * math/w_log2f.c: Likewise.
82356         * math/w_log2l.c: Likewise.
82357         * math/w_logf.c: Likewise.
82358         * math/w_logl.c: Likewise.
82359         * math/w_pow.c: Likewise.
82360         * math/w_powf.c: Likewise.
82361         * math/w_powl.c: Likewise.
82362         * math/w_remainder.c: Likewise.
82363         * math/w_remainderf.c: Likewise.
82364         * math/w_remainderl.c: Likewise.
82365         * math/w_scalb.c: Likewise.
82366         * math/w_scalbf.c: Likewise.
82367         * math/w_scalbl.c: Likewise.
82368         * math/w_sinh.c: Likewise.
82369         * math/w_sinhf.c: Likewise.
82370         * math/w_sinhl.c: Likewise.
82371         * math/w_sqrt.c: Likewise.
82372         * math/w_sqrtf.c: Likewise.
82373         * math/w_sqrtl.c: Likewise.
82374         * math/w_tgamma.c: Likewise.
82375         * math/w_tgammaf.c: Likewise.
82376         * math/w_tgammal.c: Likewise.
82378         * po/ja.po: Update from translation team.
82380 2011-09-29  Andreas Jaeger  <aj@suse.de>
82382         [BZ #13179]
82383         * sunrpc/netname.c (netname2host): Fix logic.
82385         [BZ #6779]
82386         [BZ #6783]
82387         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
82388         correctly.
82389         * math/w_remainder.c (__remainder): Likewise.
82390         * math/w_remainderf.c (__remainderf): Likewise.
82391         * math/libm-test.inc (remainder_test): Add test cases.
82393 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82395         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
82396         sdiv_qrnnd.
82398 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82400         * string/test-memcmp.c: Avoid unncessary #defines.
82401         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82403 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82405         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
82406         Use new sse2 version for core i3 - i7 as it's faster
82407         than sse42 version.
82408         (bit_Prefer_PMINUB_for_stringop): New.
82409         * sysdeps/x86_64/rawmemchr.S: Update.
82410         Replace with faster SSE2 version.
82411         * sysdeps/x86_64/memrchr.S: New file.
82412         * sysdeps/x86_64/memchr.S: Update.
82413         Replace with faster SSE2 version.
82415 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
82417         * elf/dl-load.c (lose): Add cast to avoid warning.
82419 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82421         * po/ca.po: Update from translation team.
82423         * inet/getnetgrent_r.c: Hook up nscd.
82424         * nscd/Makefile (routines): Add nscd_netgroup.
82425         (nscd-modules): Add netgroupcache.
82426         (CFLAGS-netgroupcache.c): Define.
82427         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
82428         (cache_search): Add const to second parameter.
82429         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
82430         INNETGR.
82431         (dbs): Add netgrdb entry.
82432         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
82433         (verify_persistent_db): Handle netgrdb.
82434         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
82435         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
82436         GETFDNETGR.
82437         (netgroup_response_header): Define.
82438         (innetgroup_response_header): Define.
82439         (datahead): Add netgroup_response_header and innetgroup_response_header
82440         elements.
82441         * nscd/nscd.conf: Add entries for netgroup cache.
82442         * nscd/nscd.h (dbtype): Add netgrdb.
82443         (_PATH_NSCD_NETGROUP_DB): Define.
82444         (netgroup_iov_disabled): Declare.
82445         (xmalloc, xcalloc, xrealloc): Move declarations here.
82446         (cache_search): Adjust prototype.
82447         Add netgroup-related prototypes.
82448         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
82449         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
82450         (__nscd_innetgr): Declare.
82451         * nscd/selinux.c (perms): Use access_vector_t as element type and
82452         add netgroup-related initializers.
82453         * nscd/netgroupcache.c: New file.
82454         * nscd/nscd_netgroup.c: New file.
82455         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
82456         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
82457         For four parameters use innetgr.
82458         * nss/nss_files/files-init.c: Add definition and callback for netgr.
82459         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
82460         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
82461         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
82463         * nscd/connections.c (register_traced_file): Don't register file
82464         for disabled databases.
82466 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
82468         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
82470         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
82471         from tree and freeing node.
82473 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
82475         * nss/nsswitch.c (__nss_database_lookup): Handle
82476         nss_parse_service_list out of memory case.
82478 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
82480         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
82481         out of memory case.
82483 2011-10-04  Andreas Schwab  <schwab@redhat.com>
82485         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
82486         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
82487         pass it down.
82488         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
82489         elf_machine_rela, elf_machine_lazy_rel.
82490         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
82491         (ELF_DYNAMIC_DO_REL): Likewise.
82492         (ELF_DYNAMIC_DO_RELA): Likewise.
82493         (ELF_DYNAMIC_RELOCATE): Likewise.
82494         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
82495         to ELF_DYNAMIC_DO_REL.
82496         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
82497         (dl_main): In trace mode always set __RTLD_NOIFUNC.
82498         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
82499         elf_machine_rela.
82500         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
82501         skip_ifunc, don't call ifunc function if non-zero.
82502         (elf_machine_rela): Likewise.
82503         (elf_machine_lazy_rel): Likewise.
82504         (elf_machine_lazy_rela): Likewise.
82505         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
82506         (elf_machine_lazy_rel): Likewise.
82507         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
82508         Likewise.
82509         (elf_machine_lazy_rel): Likewise.
82510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82511         Likewise.
82512         (elf_machine_lazy_rel): Likewise.
82513         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
82514         (elf_machine_lazy_rel): Likewise.
82515         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
82516         (elf_machine_lazy_rel): Likewise.
82517         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
82518         (elf_machine_lazy_rel): Likewise.
82519         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
82520         (elf_machine_lazy_rel): Likewise.
82521         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
82522         (elf_machine_lazy_rel): Likewise.
82523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
82524         (elf_machine_lazy_rel): Likewise.
82526 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
82528         * nss/nss_files/files-init.c (_nss_files_init): Use static
82529         initialization for all the *_traced_file variables.
82531 2011-09-28  Andreas Schwab  <schwab@redhat.com>
82533         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82535 2011-09-27  Roland McGrath  <roland@hack.frob.com>
82537         [BZ #13226]
82538         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
82540 2011-09-27  Andreas Schwab  <schwab@redhat.com>
82542         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82543         Reread the line before reparsing it.
82545 2011-09-26  Andreas Schwab  <schwab@redhat.com>
82547         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
82549 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
82550             Maxim Kuvyrkov  <maxim@codesourcery.com>
82551             Joseph Myers  <joseph@codesourcery.com>
82553         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
82554         if needed for __stack_chk_guard.
82556 2011-09-19  Roland McGrath  <roland@hack.frob.com>
82558         * sysdeps/posix/spawni.c (script_execute): Always define it.
82559         It will be optimized away if unused.
82560         (maybe_script_execute): New function.
82561         (__spawni): Call it.
82563         * Makerules: Don't include tls.make.
82564         (config-tls): Always set to thread.
82565         * tls.make.c: File removed.
82567 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
82569         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
82570         * config.make.in (CPPFLAGS-config): New substituted variable.
82572 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82574         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
82576         [BZ #13192]
82577         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
82578         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
82580 2011-09-15  Roland McGrath  <roland@hack.frob.com>
82582         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
82583         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
82584         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82585         (CALL_FAIL): Likewise.
82586         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
82587         (CALL_FAIL): Macro removed.
82588         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
82590 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82592         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
82593         for __FINITE_MATH_ONLY__ == 1.
82595 2011-09-15  Andreas Schwab  <schwab@redhat.com>
82597         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
82598         __ieee754_sqrt instead of sqrt.
82599         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
82600         __ieee754_sqrtf instead of sqrtf.
82601         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
82602         __floorf instead of floorf.
82603         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
82604         __floorf, __truncf instead of floorf, truncf.
82606 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
82608         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
82610         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
82611         __extern_always_inline.
82612         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
82613         32-bit.
82615 2011-09-14  Andreas Schwab  <schwab@redhat.com>
82617         * elf/rtld.c (dl_main): Also relocate in dependency order when
82618         doing symbol dependency testing.
82620 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
82622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82623         Always define `refsym'.
82625 2011-09-13  Andreas Schwab  <schwab@redhat.com>
82627         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
82628         (__FD_ELT): Renamed from __FDELT.
82629         * misc/bits/select2.h (__FD_ELT): Likewise.
82630         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
82631         __FD_MASK instead of __FDELT, __FDMASK.
82632         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82633         Likewise.
82634         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82635         Likewise.
82637         * elf/Makefile (gen-ldd): Fix pattern.
82639         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
82640         (init_tls): Likewise.
82642 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
82644         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
82646 2011-09-12  Andreas Schwab  <schwab@redhat.com>
82648         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
82649         `struct cmsghdr *' instead of `void *'.
82650         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
82651         Likewise.
82653 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
82655         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
82656         if non-absolute.
82657         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
82658         ldd_rewrite_script.
82660 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
82662         * configure.in: Remove --with-tls option.
82663         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
82664         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
82665         out in case it is missing.
82666         * sysdeps/ia64/elf/configure.in: Likewise.
82667         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
82668         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
82669         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
82670         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
82671         * sysdeps/sh/elf/configure.in: Likewise.
82672         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
82673         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82674         * sysdeps/x86_64/elf/configure.in: Likewise.
82675         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
82676         * sysdeps/mach/hurd/tls.h: Likewise.
82678         [BZ #13067]
82679         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
82681         [BZ #13090]
82682         * configure.in: Fix use of AC_INIT.
82684         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
82686 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
82688         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
82689         __set_errno.
82690         * malloc/hooks.c: Likewise.
82692         [BZ #11929]
82693         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
82694         variables statically.
82695         (narenas): Initialize.
82696         (list_lock): Initialize.
82697         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
82698         initializtion of main_arena and list_lock.  Small cleanups.
82699         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
82700         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
82701         Add initializers to main_arena and mp_.
82702         (malloc_state): Remove pagesize member.  Change all users to use
82703         GLRO(dl_pagesize).
82705         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
82706         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
82707         is always initialized.
82709         * malloc/malloc.c: Removed unused configurations and dead code.
82710         * malloc/arena.c: Likewise.
82711         * malloc/hooks.c: Likewise.
82712         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
82714         * include/tls.h: Removed.  USE___THREAD must always be defined.
82715         * bits/libc-tsd.h: Don't handle !USE___THREAD.
82716         * elf/dl-libc.c: Likewise.
82717         * elf/dl-tsd.c: Likewise.
82718         * include/errno.h: Likewise.
82719         * include/netdb.h: Likewise.
82720         * include/resolv.h: Likewise.
82721         * inet/herrno-loc.c: Likewise.
82722         * inet/herrno.c: Likewise.
82723         * malloc/arena.c: Likewise.
82724         * malloc/hooks.c: Likewise.
82725         * malloc/malloc.c: Likewise.
82726         * resolv/res-state.c: Likewise.
82727         * resolv/res_libc.c: Likewise.
82728         * sysdeps/i386/dl-machine.h: Likewise.
82729         * sysdeps/ia64/dl-machine.h: Likewise.
82730         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
82731         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
82732         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
82733         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
82734         * sysdeps/sh/dl-machine.h: Likewise.
82735         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82736         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82737         * sysdeps/unix/i386/sysdep.S: Likewise.
82738         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
82739         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
82740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
82741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
82742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
82743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
82744         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
82745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82746         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
82748         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82749         * sysdeps/x86_64/dl-machine.h: Likewise.
82750         * tls.make.c: Likewise.
82752         * configure.in: Remove --with-__thread option.  Make tests for
82753         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
82754         tls_model attribute fail if no support is available.  Remove
82755         USE_IN_LIBIO.
82756         * Makeconfig: Adjust for dropped configure option.  All features are
82757         now mandatory.
82758         * Makerules: Likewise.
82759         * Versions.def: Likewise.
82760         * argp/argp-fmtstream.c: Likewise.
82761         * argp/argp-fmtstream.h: Likewise.
82762         * argp/argp-help.c: Likewise.
82763         * assert/assert.c: Likewise.
82764         * config.h.in: Likewise.
82765         * config.make.in: Likewise.
82766         * configure: Likewise.
82767         * configure.in: Likewise.
82768         * csu/Versions: Likewise.
82769         * csu/init.c: Likewise.
82770         * elf/tst-audit2.c: Likewise.
82771         * elf/tst-tls10.c: Likewise.
82772         * elf/tst-tls10.h: Likewise.
82773         * elf/tst-tls11.c: Likewise.
82774         * elf/tst-tls12.c: Likewise.
82775         * elf/tst-tls14.c: Likewise.
82776         * elf/tst-tlsmod11.c: Likewise.
82777         * elf/tst-tlsmod12.c: Likewise.
82778         * elf/tst-tlsmod13.c: Likewise.
82779         * elf/tst-tlsmod13a.c: Likewise.
82780         * elf/tst-tlsmod14a.c: Likewise.
82781         * elf/tst-tlsmod15b.c: Likewise.
82782         * elf/tst-tlsmod16a.c: Likewise.
82783         * elf/tst-tlsmod16b.c: Likewise.
82784         * elf/tst-tlsmod7.c: Likewise.
82785         * elf/tst-tlsmod8.c: Likewise.
82786         * elf/tst-tlsmod9.c: Likewise.
82787         * gmon/gmon.c: Likewise.
82788         * grp/fgetgrent_r.c: Likewise.
82789         * grp/putgrent.c: Likewise.
82790         * hurd/fopenport.c: Likewise.
82791         * include/libc-symbols.h: Likewise.
82792         * include/tls.h: Likewise.
82793         * intl/gettextP.h: Likewise.
82794         * intl/loadinfo.h: Likewise.
82795         * locale/global-locale.c: Likewise.
82796         * locale/localeinfo.h: Likewise.
82797         * mach/devstream.c: Likewise.
82798         * malloc/arena.c: Likewise.
82799         * malloc/set-freeres.c: Likewise.
82800         * misc/err.c: Likewise.
82801         * misc/getttyent.c: Likewise.
82802         * misc/mntent_r.c: Likewise.
82803         * posix/getopt.c: Likewise.
82804         * posix/wordexp.c: Likewise.
82805         * pwd/fgetpwent_r.c: Likewise.
82806         * resolv/Versions: Likewise.
82807         * resolv/res_hconf.c: Likewise.
82808         * shadow/fgetspent_r.c: Likewise.
82809         * shadow/putspent.c: Likewise.
82810         * stdio-common/printf_fphex.c: Likewise.
82811         * stdio-common/tmpfile.c: Likewise.
82812         * stdlib/abort.c: Likewise.
82813         * stdlib/fmtmsg.c: Likewise.
82814         * sunrpc/auth_unix.c: Likewise.
82815         * sunrpc/clnt_perr.c: Likewise.
82816         * sunrpc/clnt_tcp.c: Likewise.
82817         * sunrpc/clnt_udp.c: Likewise.
82818         * sunrpc/clnt_unix.c: Likewise.
82819         * sunrpc/openchild.c: Likewise.
82820         * sunrpc/svc_simple.c: Likewise.
82821         * sunrpc/svc_tcp.c: Likewise.
82822         * sunrpc/svc_udp.c: Likewise.
82823         * sunrpc/svc_unix.c: Likewise.
82824         * sunrpc/xdr.c: Likewise.
82825         * sunrpc/xdr_array.c: Likewise.
82826         * sunrpc/xdr_rec.c: Likewise.
82827         * sunrpc/xdr_ref.c: Likewise.
82828         * sunrpc/xdr_stdio.c: Likewise.
82830 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82832         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82834 2011-07-03  Andreas Jaeger  <aj@suse.de>
82836         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
82837         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
82838         regenerate with gen-libm-tests.pl.
82840 2010-05-12  Petr Baudis  <pasky@suse.cz>
82842         [BZ #11589]
82843         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
82844         around j0() zero points by switching to j1().
82845         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82846         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82847         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82848         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82850 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82852         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
82853         instead of 0.
82854         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
82855         instead of 0.
82856         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82857         Patch in part by Pavel Roskin <proski@gnu.org>.
82859         [BZ #13138]
82860         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
82861         realloc.
82862         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
82863         Free memory block if necessary.
82865         [BZ #12847]
82866         * libio/genops.c (INTDEF): For string streams the _lock pointer can
82867         be NULL.  Don't lock in this case.
82869 2011-09-09  Roland McGrath  <roland@hack.frob.com>
82871         * elf/elf.h (ELFOSABI_GNU): New macro.
82872         (ELFOSABI_LINUX): Define to that.
82874 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
82876         * string/strncat.c (strncat): Undef the symbol in case it has been
82877         defined in bits/string.h.
82879 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82881         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
82883         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
82884         link map.
82886 2011-08-17  Andreas Jaeger  <aj@suse.de>
82888         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
82890 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
82891             Ian Lance Taylor  <iant@google.com>
82893         * math/libm-test.inc (lround_test): New testcase.
82894         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
82896 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
82898         * Makefile: Remove support for automatic cvs check-ins.
82899         * Makerules: Likewise.
82900         * config.make.in: Likewise.
82901         * configure.in: Likewise.
82902         * intl/Makefile: Likewise.
82903         * locale/Makefile: Likewise.
82904         * po/Makefile: Likewise.
82905         * posix/Makefile: Likewise.
82906         * sysdeps/gnu/Makefile: Likewise.
82907         * sysdeps/mach/hurd/Makefile: Likewise.
82908         * sysdeps/sparc/sparc32/Makefile: Likewise.
82910         [BZ #13118]
82911         * posix/Makefile (bug-regex32-ENV): Define.
82912         Patch by John Stanley <jpsinthemix@verizon.net>.
82914         * misc/Makefile (headers): Add bits/select2.h.
82915         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
82916         * misc/bits/select2.h: New file.
82917         * include/bits/select2.h: New file.
82918         * debug/Makefile (routines): Add fdelt_chk.
82919         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
82920         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
82921         FD_ISSET.
82922         * debug/fdelt_chk.c: New file.
82924         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
82925         * wcsmbs/test-wmemcmp.c: Likewise.
82926         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
82927         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
82929 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82931         * string/Makefile (strop-tests): Add memcmp.
82932         * string/test-wmemcmp.c: New file.
82933         * string/test-memcmp.c: Add wmemcmp support.
82935 2011-09-08  Roland McGrath  <roland@hack.frob.com>
82937         [BZ #13153]
82938         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
82939         2011-07-19 change.
82941         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
82942         garbage value in a __mach_port_mod_refs call in the cases of the
82943         task-self and thread-self ports.
82945 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82947         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
82949 2011-09-08  Andreas Schwab  <schwab@redhat.com>
82951         * elf/dl-load.c (lose): Check for non-null L.
82953 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
82955         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
82957         * elf/dl-libc.c (dlerror_run): Pass back error code from
82958         dl_catch_error.
82960         [BZ #13123]
82961         * elf/dl-load.c (lose): Free l_origin if it is valid.
82963         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
82964         names.
82965         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
82966         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82967         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82968         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82969         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
82970         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
82972 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82974         * sysdeps/powerpc/fpu/e_hypot.c: New file.
82975         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
82976         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
82977         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
82978         * sysdeps/powerpc/fpu/k_cosf.c: New file.
82979         * sysdeps/powerpc/fpu/k_sinf.c: New file.
82980         * sysdeps/powerpc/fpu/s_cosf.c: New file.
82981         * sysdeps/powerpc/fpu/s_sinf.c: New file.
82982         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
82983         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
82985 2011-08-15  Alan Modra  <amodra@gmail.com>
82987         [BZ #13092]
82988         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
82989         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
82990         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
82991         ppc_mcount to static-only-routines.
82992         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
82993         __mcount_internal.
82994         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
82995         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
82997 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
82999         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83000         for finite and infinity parameters.
83002 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83004         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83005         and add nop instructions for throughput optimization.
83006         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83008 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83010         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83011         aligned copy for power7 with vector-scalar instructions.
83012         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83014 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83017         AVX check.
83019 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83021         [BZ #13144]
83022         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83023         last change.
83025 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83027         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83028         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83029         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83030         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83031         clock_gettime.
83033 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83035         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83036         Forgot to demangle the pointer.
83038         * sysdeps/i386/sysdep.h: Define atom_text_section.
83039         * sysdeps/x86_64/sysdep.h: Likewise.
83040         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83041         section with atom_text_section.
83042         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83043         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83044         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83045         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83046         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83048         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83049         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83050         already be defined.  Change to take two parameters and don't assign
83051         result to variable.  Adjust all users.
83052         Define INTERNAL_GETTIME if not already defined.
83053         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83054         call.
83055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83056         HAVE_CLOCK_GETTIME_VSYSCALL.
83057         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83060         gettimeofday vsyscall, just use time.
83062 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83064         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83065         <errno.h>.
83067 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83069         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83070         syscall on x86-64.
83071         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83072         syscall.
83073         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83074         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83075         syscall if possible.
83077 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83079         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83080         e_ident.  Don't pass to find_mapsXX.
83081         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83083 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83086         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83087         * sysdeps/x86_64/multiarch/strchr.S: Update.
83088         Check bit_slow_BSF bit.
83089         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83090         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83091         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83093 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83095         [BZ #13134]
83096         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83097         before glibc 2.15.
83098         (tryshell): Define.
83099         (__spawni): Change last parameter to be flag.  Test
83100         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83101         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83102         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83103         * posix/spawni.c: Likewise.
83104         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83105         * posix/spawnp.c: Likewise.  Change normal version to use
83106         SPAWN_XFLAGS_USE_PATH.
83107         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83108         SPAWN_XFLAGS_TRY_SHELL.
83110         [BZ #13150]
83111         * posix/glob.h: Remove gcc 1.x support.
83113         [BZ #13068]
83114         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83116 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83119         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83120         strrchr-sse2-bsf
83121         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83122         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83123         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83124         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83125         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83126         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83128 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83130         * sysdeps/x86_64/wcscmp.S: New file.
83132         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83133         wcscmp-c wcscmp-sse2
83134         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83135         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83136         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83137         * wcsmbs/wcscmp.c: Allow renaming.
83139 2011-09-05  David S. Miller  <davem@davemloft.net>
83141         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83142         stack slot, rather than the struct return pointer slot.
83143         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83144         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83146         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83148 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83150         * po/ja.po: Update from translation team.
83152         [BZ #13144]
83153         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83154         kernel in 64-bit binaries.
83156 2011-09-01  David S. Miller  <davem@davemloft.net>
83158         * elf/elf.h (HWCAP_SPARC_*): Move to..
83159         * sysdeps/sparc/sysdep.h: this new file and add new values.
83160         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83161         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83162         _DL_HWCAP_COUNT to 24.
83163         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83164         entries.
83165         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83166         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83167         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83168         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83169         instead of magic constants.
83170         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83172 2011-08-31  David S. Miller  <davem@davemloft.net>
83174         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83176         Reimplement to do errno handling inline.
83177         (SYSCALL_ERROR_HANDLER): New macro.
83178         (__SYSCALL_STRING): Do not do errno handling in asm.
83179         (__CLONE_SYSCALL_STRING): Delete.
83180         (__INTERNAL_SYSCALL_STRING): Delete.
83181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83182         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83183         (PSEUDO): Reimplement to do errno handling inline.
83184         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83185         (SYSCALL_ERROR_HANDLER): New macro.
83186         (__SYSCALL_STRING): Do not do errno handling in asm.
83187         (__CLONE_SYSCALL_STRING): Delete.
83188         (__INTERNAL_SYSCALL_STRING): Delete.
83189         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83190         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83191         i386.
83192         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83193         (inline_syscall*): Add 'err' argument.
83194         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83195         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83196         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83197         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83199         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83200         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83202 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83204         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83206 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83208         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83209         directive.
83211 2011-08-24  David S. Miller  <davem@davemloft.net>
83213         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83215 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83217         * elf/Makefile: Add rules to build and run unload8 test.
83218         * elf/unload8.c: New file.
83219         * elf/unload8mod1.c: New file.
83220         * elf/unload8mod1x.c: New file.
83221         * elf/unload8mod2.c: New file.
83222         * elf/unload8mod3.c: New file.
83224         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83225         it wasn't used.
83227 2011-08-23  David S. Miller  <davem@davemloft.net>
83229         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83230         subtract stack bias.
83231         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83232         %sp not %fp in calculations.
83233         (_JMPBUF_UNWINDS_ADJ): Likewise.
83235         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83236         (aio_suspend): Call it to force an exception region around the
83237         AIO_MISC_WAIT() invocation.
83239 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83241         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83242         backslash.
83244 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83246         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83247         protection macro.
83248         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83249         and <dl-machine.h>.
83250         (Elf64_FuncDesc): Remove.
83252 2011-08-22  David S. Miller  <davem@davemloft.net>
83254         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83255         sigaltstack check, add missing cfi directives.
83256         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83257         missing cfi directives, and sigaltstack handling.
83259 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83261         [BZ #11724]
83262         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83263         object is seen twice.
83264         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83266         * elf/Makefile (distribute): Add tst-initorder2.c.
83267         (tests): Add tst-initorder2.
83268         (modules-names): Add tst-initorder2a tst-initorder2b
83269         tst-initorder2c tst-initorder2d.  Add rules to build them.
83270         ($(objpfx)tst-initorder2.out): New rule.
83271         * elf/tst-initorder2.c: New file.
83272         * elf/tst-initorder2.exp: New file.
83274 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83276         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83278         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83279         dependencies back to end of function.
83281         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83282         $(elfobjdir)/ld.so.
83284 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83286         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83287         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83288         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83289         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83290         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83291         of __vdso_gettimeofday.
83292         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83293         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83294         attribute_hidden.
83295         (_libc_vdso_platform_setup): Remove initialization of
83296         __vdso_gettimeofday and __vdso_time.
83298 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83300         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83301         and fgetc_unlocked.
83302         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83303         getc_unlocked.
83305         * elf/dl-open.c (add_to_global): Report additions to the global scope
83306         for LD_DEBUG=scopes.
83307         (dl_open_worker): Also print scope of newly loaded dependencies.
83308         (_dl_show_scope): Indicate if there is no scope.
83310         [BZ #13114]
83311         * stdio-common/Makefile (tests): Add bug24.
83312         * stdio-common/bug24.c: New file.
83314 2011-08-19  Andreas Jaeger  <aj@suse.de>
83316         [BZ #13114]
83317         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83318         non-existant file when using close-on-exec mode.
83320 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83323         the very first instruction.
83325         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83326         the CFI state in the end.
83327         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83328         inclusion of dl-trampoline.h.
83329         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83331 2011-08-19  Andreas Schwab  <schwab@redhat.com>
83333         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83334         expectations for long double.
83336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83337         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83339 2011-08-14  David S. Miller  <davem@davemloft.net>
83341         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83342         artificual limit depends upon the system page size.
83344 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83346         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83347         * resolv/Makefile: Define CFLAGS-libresolv.
83349 2011-08-17  Andreas Schwab  <schwab@redhat.com>
83351         * nss/makedb.c (compute_tables): Make variables used in nested
83352         function static.
83354 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83356         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83357         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
83358         if buffer was too small.
83360         * elf/pldd.c (main): Attach to all threads in the process.
83361         Rewrite /proc handling to use *at functions.
83363 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
83365         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
83366         specifies first scope to show.
83367         (dl_open_worker): Update callers.  Move printing scope of new
83368         object to before the relocation.
83369         * elf/rtld.c (dl_main): Update _dl_show_scope call.
83370         * sysdeps/generic/ldsodefs.h: Update declaration.
83372         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
83373         string for the scope number.
83375 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
83377         * nscd/servicescache.c (cache_addserv): Make sure written is always
83378         initialized.
83380 2011-08-14  Roland McGrath  <roland@hack.frob.com>
83382         * sysdeps/i386/i486/bits/atomic.h
83383         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
83384         statement expression, so as to suppress "set but not used" warning.
83385         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
83387         * string/strncat.c (STRNCAT): Use prototype definition.
83389         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
83390         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
83391         -Iprograms here.
83392         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
83393         (localedef-modules): Add localedef.
83394         (locale-modules): Add locale.
83396         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
83397         * elf/rtld.c (dl_main): Invert order of assignment in last change,
83398         to avoid a warning.
83400 2011-08-14  David S. Miller  <davem@davemloft.net>
83402         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
83403         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
83405 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
83407         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
83408         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
83409         * elf/rtld.c (dl_main): Set l_name of vDSO.
83410         Call _dl_show_scope when DL_DEBUG_SCOPES.
83411         (process_dl_debug): Recognize scopes flag and also set it for all.
83412         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
83413         Declare _dl_show_scope.
83415         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
83416         (do_dlopen): Pass caller_dlopen to dl_open.
83417         (__libc_dlopen_mode): Initialize caller_dlopen.
83419         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
83420         of libc.  Make tolower call locale-independent.  Optimize a bit by
83421         using isdigit instead of isalnum.
83422         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
83424 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
83426         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
83427         was a dependency or dynamically loaded.
83429 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
83431         * intl/l10nflist.c: Allow architecture-specific pop function.
83432         * sysdeps/x86_64/l10nflist.c: New file.
83434         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
83435         classification.
83437 2011-08-10  Andreas Schwab  <schwab@redhat.com>
83439         * include/dirent.h: Add libc_hidden_proto for scandirat and
83440         scandirat64.  Don't declare __scandirat64.
83441         * dirent/scandirat.c: Add libc_hidden_def.
83442         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
83443         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
83445 2011-08-10  David S. Miller  <davem@davemloft.net>
83447         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
83448         enum.
83449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83450         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83451         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83453 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
83455         * Versions.def [libc]: Add GLIBC_2.15.
83456         * dirent/Makefile (routines): Add scandirat and scandirat64.
83457         * dirent/Versions [libc]: Export scandirat and scandirat64 for
83458         GLIBC_2.15.
83459         * dirent/dirent.h: Declare scandirat and scandirat64.
83460         * dirent/scandirat.c: New file.
83461         * dirent/scandirat64.c: New file.
83462         * sysdeps/wordsize-64/scandirat.c: New file.
83463         * sysdeps/wordsize-64/scandirat64.c: New file.
83464         * dirent/opendir.c: Define opendirat.
83465         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
83466         using scandirat.
83467         * dirent/scandir64.c: Adjust for scandir.c change.
83468         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
83469         __scandirat64, and __scandir_cancel_handler.
83470         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
83471         additional parameter and use openat instead of open (outside of ld.so).
83472         Add new __opendir as wrapper around __opendirat.
83473         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
83474         here without requiring old scandirat implementation.
83476 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
83478         * dirent/scandir.c (cancel_handler): Renamed to
83479         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
83480         defined.  Adjust users.
83481         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
83482         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
83484 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
83486         * string/test-string.h (IMPL): Use __STRING to expand name and then
83487         stringify it.
83489         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
83490         of cleanups.
83492 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83494         * string/Makefile: Update.
83495         (strop-tests): Append strncat.
83496         * string/test-wcscmp.c: New file.
83497         New comprehensive test for wcscmp.
83498         * string/test-strcmp.c: Update.
83499         (WIDE): New define.
83501 2011-07-22  Andreas Schwab  <schwab@redhat.com>
83503         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
83504         line.
83506 2011-07-26  Andreas Schwab  <schwab@redhat.com>
83508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83509         encoding to ACE if AI_IDN.
83511 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
83513         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
83514         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
83516 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83518         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
83519         Fix overflow bug in strncat.
83520         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
83522         * string/test-strncat.c: Update.
83523         Add new tests for checking overflow bugs.
83525 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83528         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
83529         * sysdeps/i386/i686/multiarch/strcat.S: New file.
83530         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
83531         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
83532         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
83533         * sysdeps/i386/i686/multiarch/strncat.S: New file.
83534         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
83535         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
83537         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
83538         (USE_AS_STRCAT): Define.
83539         Add strcat and strncat support.
83540         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83542 2011-07-25  Andreas Schwab  <schwab@redhat.com>
83544         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
83545         __n bigger than INT_MAX+1.
83546         (__strncmp_g): Likewise.
83548 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
83550         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
83551         * libio/stido.h: Likewise.
83553         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
83554         (AF_NFC): Define.
83555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
83556         (AF_NFC): Define.
83558         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
83559         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83560         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83561         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
83562         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83564         [BZ #13021]
83565         * scripts/test-installation.pl: Don't expect libnss_test1 to be
83566         installed.
83568         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
83569         typo.
83570         (_dl_x86_64_save_sse): Likewise.
83572 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
83574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
83575         OSXSAVE.
83576         (_dl_x86_64_save_sse): Likewise.
83578         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
83580         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
83582 2011-07-21  Andreas Schwab  <schwab@redhat.com>
83584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
83585         change.
83586         (_dl_x86_64_save_sse): Use correct AVX check.
83588 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83590         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
83591         bug in strncpy/strncat.
83592         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
83594 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
83596         * string/tester.c (test_strcat): Add tests for different alignments
83597         of source and destination.
83598         (test_strncat): Likewise.
83600 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
83602         [BZ #12852]
83603         * posix/glob.c (glob): Check passed in values before using them in
83604         expressions to avoid some overflows.
83605         (glob_in_dir): Likewise.
83607         [BZ #13007]
83608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
83609         check for AVX enablement so that we don't crash with old kernels and
83610         new hardware.
83611         * elf/tst-audit4.c: Add same checks here.
83612         * elf/tst-audit6.c: Likewise.
83614         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
83616 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
83618         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
83620 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
83622         * po/cs.po: Update from translation team.
83623         * po/bg.po: Likewise.
83625 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
83627         * misc/sys/cdefs.h: Add support for const attribute.
83628         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
83629         to gnu_dev_{major,minor,makedev} functions.
83631 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
83633         * intl/dcigettext.c (get_output_charset): Add missing bracket.
83635 2011-07-20  Andreas Schwab  <schwab@redhat.com>
83637         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
83638         strlen results.
83640 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
83643         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
83644         register in order to avoid conflicts with the soft frame pointer
83645         being held in r11 when necessary.
83646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
83647         (INTERNAL_VSYSCALL_NCS): Likewise.
83649 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
83651         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
83652         * elf/dl-fini.c (_dl_fini): Adjust caller.
83653         * elf/dl-close.c (_dl_close_worker): Likewise.
83654         * sysdeps/generic/ldsodefs.h: Adjust declaration.
83656 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
83658         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
83659         "aux_cache->nlibs < 0".
83661         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
83662         in the reload-count case.
83664 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83667         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
83668         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
83669         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
83670         * sysdeps/x86_64/multiarch/strcat.S: New file.
83671         * sysdeps/x86_64/multiarch/strncat.S: New file.
83672         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
83673         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
83674         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
83675         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
83676         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
83677         (USE_AS_STRCAT): Define.
83678         Add strcat and strncat support.
83679         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83680         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
83681         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
83682         * string/strncat.c: Update.
83683         (USE_AS_STRNCAT): Define.
83684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83685         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
83686         and i7.
83687         * sysdeps/x86_64/multiarch/init-arch.h
83688         (bit_Prefer_PMINUB_for_stringop): New.
83689         (index_Prefer_PMINUB_for_stringop): Likewise.
83690         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
83691         bit_Prefer_PMINUB_for_stringop.
83693 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
83695         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
83696         buffer64.
83697         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
83698         of casting of buffer.
83699         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
83700         buffer32 and buffer64.
83701         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
83702         writes instead of casting of buffer.
83703         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
83704         buffer32.
83705         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
83706         casting of buffer.
83708 2011-07-19  Andreas Schwab  <schwab@redhat.com>
83710         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
83712 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
83714         * nscd/nscd.c (termination_handler): Don't do anything for a database
83715         if it has not yet been initialized.
83717 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
83719         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
83721 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
83723         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
83725 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
83727         * po/nl.po: Update from translation team.
83728         * po/sv.po: Likewise.
83730 2011-07-16  Roland McGrath  <roland@hack.frob.com>
83732         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
83733         now disallowed by GCC.
83735         * configure.in (use-default-link): Default to yes if a test -shared
83736         link meets our qualifications.
83737         * configure: Regenerated.
83739         * config.make.in (output-format): New variable.
83740         * configure.in: Check for ld --print-output-format support.
83741         * configure: Regenerated.
83742         * Makerules ($(common-objpfx)format.lds)
83743         [$(output-format) != unknown]: Just use $(output-format),
83744         instead of the linker-script munging.
83746 2011-07-14  Roland McGrath  <roland@hack.frob.com>
83748         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
83749         of $(common-objpfx)shlib.lds.
83750         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
83752         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
83753         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
83755         * configure.in (-z relro check): Adjust test code to add a large
83756         writable data section after it.
83757         * configure: Regenerated.
83759 2011-07-11  Roland McGrath  <roland@hack.frob.com>
83761         * configure.in (-z relro check): Fix test code to make the variable
83762         truly const.
83763         * configure: Regenerated.
83765 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
83767         * nscd/nscd.h (struct traced_file): Define.
83768         (struct database_dyn): Remove inotify_descr, reset_res, and filename
83769         elements.  Add traced_files.
83770         (inotify_fd): Declare.
83771         (register_traced_file): Declare.
83772         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
83773         (inotify_fd): Export.
83774         (resolv_conf_descr): Remove.
83775         (nscd_init): Move inotify descriptor creation to main.
83776         Don't register files for notification here.
83777         (register_traced_file): New function.
83778         (invalidate_cache): Don't use reset_res to determine whether to call
83779         res_init, go through the list of registered files.
83780         (main_loop_poll): The inotify descriptors are now stored in the
83781         structures for the traced files.
83782         (main_loop_epoll): Likewise.
83783         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
83784         to __nss_disable_nscd.
83785         * nscd/cache.c (prune_cache): There is no single inotify descriptor
83786         for a database anymore.  Check the records for all the registered
83787         files instead.
83788         * nss/Makefile (libnss_files-routines): Add files-init.
83789         (libnss_db-routines): Add db-init.
83790         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
83791         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
83792         * nss/nss_db/db-init.c: New file.
83793         * nss/nss_files/files-init.c: New file.
83794         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
83795         __nss_lookup_function.
83796         (__nss_lookup_function): Call nss_load_library.
83797         (nss_load_all_libraries): New function.
83798         (__nss_disable_nscd): Take parameter with callback function for files
83799         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
83800         used for the cached services.
83801         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
83802         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
83803         options for features to all the files in nscd.
83805         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
83807 2011-07-10  Roland McGrath  <roland@hack.frob.com>
83809         * csu/elf-init.c (__libc_csu_init): Comment typo.
83811 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
83813         * po/pl.po: Update from translation team.
83814         * po/ja.po: Likewise.
83815         * po/ru.po: Likewise.
83816         * po/ko.po: Likewise.
83817         * po/fr.po: Likewise.
83819 2011-07-09  Roland McGrath  <roland@hack.frob.com>
83821         * configure.in (.ctors/.dtors header and trailer check):
83822         Use an empirical test on a built program.
83823         * configure: Regenerated.
83825         * configure.in (-z relro check): Use an empirical test on a built DSO.
83826         Detect, but do not require, on ia64.
83827         * configure: Regenerated.
83829         * configure.in (READELF): Find it with AC_CHECK_TOOL.
83830         Update tests that use readelf to use $READELF instead.
83831         * configure: Regenerated.
83833 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
83835         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
83836         if the result is not used.
83838 2011-07-05  Andreas Jaeger  <aj@suse.de>
83840         [BZ#9696]
83841         * stdlib/tst-strtod.c: Add testcase.
83843 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
83845         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
83846         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
83847         The latter has a higher limit.  Take additional parameter to pass to
83848         the new function.
83849         (__pathconf): Pass file to __statfs_link_max.
83850         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
83851         __statfs_link_max.
83852         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
83853         __statfs_link_max.
83855         [BZ #12868]
83856         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
83857         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83858         Handle Lustre.
83859         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
83860         (__statfs_filesize_max): Likewise.
83861         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
83863 2011-07-05  Andreas Jaeger  <aj@suse.de>
83865         * resolv/res_comp.c (dn_skipname): Remove unused variable.
83867 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
83869         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
83870         `status' variable.
83871         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
83872         Likewise.
83874 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
83876         * Makefile (strop-tests): Add strncat.
83877         * string/test-strncat.c: New file.
83879 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
83881         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
83883 2011-06-21  Andreas Jaeger  <aj@suse.de>
83885         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
83886         Copy rule from iconvdata/Makefile.
83888 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
83890         [BZ #12922]
83891         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
83892         but no long options are defined, just return 'W'.
83894 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
83896         [BZ #9696]
83897         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
83899 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
83901         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
83902         netgroups to read.
83903         (innetgr): Likewise.
83905 2011-07-05  Roland McGrath  <roland@hack.frob.com>
83907         * config.make.in (install_root): Default to $(DESTDIR).
83909 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
83911         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
83913 2011-07-02  Roland McGrath  <roland@hack.frob.com>
83915         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
83917         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
83918         containing directory rather than embedding absolute directory names.
83920         * scripts/check-local-headers.sh: Rewritten using awk.
83921         Match by word, not by line.  Print error messages for matches.
83922         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
83924         * Makerules [shlib-lds-flags empty]:
83925         ($(common-objpfx)libc_pic.opts): New target.
83926         ($(common-objpfx)libc_pic.os.clean): New target.
83927         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
83929         * config.make.in (OBJCOPY): New variable.
83930         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
83931         * configure: Regenerated.
83933         * config.make.in (use-default-link): New variable.
83934         * configure.in (use_default_link): Grok --with-default-link to set it.
83935         * configure: Regenerated.
83936         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
83937         (shlib-lds, shlib-lds-flags): Define to empty.
83939         * Makerules (shlib-lds): New variable.
83940         (shlib-lds-flags): New variable.
83941         (build-shlib, build-moduile, build-module-asneeded): Use it.
83942         ($(common-objpfx)libc.so): Use $(shlib-lds).
83943         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
83944         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
83946         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
83947         DT_FLAGS/DT_FLAGS_1 with zero flags.
83949         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
83950         linker script munging.
83952 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
83954         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
83955         as 128-bit value.
83956         * crypt/sha512.c (sha512_process_block): Perform total addition using
83957         128-bit if possible.
83958         (__sha512_finish_ctx): Likewise.
83959         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
83960         as 64-bit value.
83961         * crypt/sha256.c (SWAP64): Define.
83962         (sha256_process_block): Perform total addition using 64-bit if
83963         possible.
83964         (__sha256_finish_ctx): Likewise.
83966 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
83968         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
83969         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83970         * nscd/hstcache.c (cache_addhst): Likewise.
83971         * nscd/grpcache.c (cache_addgr): Likewise.
83972         * nscd/aicache.c (addhstaiX): Likewise.
83973         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
83975 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
83977         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
83978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83979         * nscd/hstcache.c (cache_addhst): Likewise.
83980         * nscd/grpcache.c (cache_addgr): Likewise.
83981         * nscd/aicache.c (addhstaiX): Likewise.
83983 2011-07-01  Andreas Schwab  <schwab@redhat.com>
83985         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
83986         domain only when needed.
83988 2011-06-30  Andreas Schwab  <schwab@redhat.com>
83990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
83991         is always restored.
83993 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
83995         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
83996         are re-adding the entry.
83997         * nscd/servicescache.c (cache_addserv): Likewise.
83999 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84001         * sysdeps/generic/dl-irel.h: fix protection against multiple
84002         inclusions.
84003         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84005 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84007         [BZ #12935]
84008         * malloc/memusage.sh: Fix quoting in message.
84009         * debug/xtrace.sh: Likewise.
84011         * configure.in: Remove support for --experimental-malloc option, make
84012         it the default.
84013         * config.make.in: Likewise.
84014         * malloc/Makefile: Likewise.
84016 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84018         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84019         two-byte characters.
84021 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84023         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84024         AC_CACHE_CHECK invocation.
84025         * configure: Regenerated.
84027         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84029 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84031         [BZ #12350]
84032         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84033         bit from old_res_options.
84035         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84037         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84038         value type for setfct.
84040 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84042         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84043         __gettimeofday instead of gettimeofday.
84045 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84047         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84049 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84051         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84053         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84054         info.
84056 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84059         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84060         strcpy-sse2-unaligned strncpy-sse2-unaligned
84061         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84062         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84063         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84064         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84065         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84066         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84067         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84068         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84069         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84070         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84071         (STRCPY): Support SSE2 and SSSE3 versions.
84073 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84075         [BZ #12874]
84076         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84077         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84078         kernels which artificially limit size of requests.
84080 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84082         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84083         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84084         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84085         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84086         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84087         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84088         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84089         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84090         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84091         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84092         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84093         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84094         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84095         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84096         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84098         Enable unaligned load optimization for Intel Core i3, i5 and i7
84099         processors.
84100         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84101         Define.
84102         (index_Fast_Unaligned_Load): Define.
84103         (HAS_FAST_UNALIGNED_LOAD): Define.
84105 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84107         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84109 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84111         [BZ #12907]
84112         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84113         until it is clear that the information is realy needed.
84114         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84116 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84120 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84123         /sys/devices/system/cpu/online if it is usable.
84125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84126         reading the information from the /proc filesystem to once a second.
84128 2011-06-21  Andreas Jaeger  <aj@suse.de>
84130         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84131         NULL after inclusion of kernel headers.
84133 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84135         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84136         calls to internal_setent.
84138         [BZ #12885]
84139         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84140         addresses using gethostbyname4_r ignore IPv4 addresses.
84142         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84143         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84145         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84147 2011-06-20  David S. Miller  <davem@davemloft.net>
84149         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84150         inclusions.
84151         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84153         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84154         (elf_irel): Use it.
84155         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84156         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84157         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84158         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84159         * sysdeps/x86_64/dl-irel.h: Likewise.
84161         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84162         * elf/dl-sym.c: Likewise.
84164 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84166         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84167         need to dereference resplen2.
84169 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84171         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84173 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84175         * Makeconfig: Define vardbdir and inst_vardbdir.
84176         * nss/Makefile: Add rules to install db-Makefile.
84178         * nss/nss_db/db-XXX.c: Cleanup.
84180         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84181         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84182         GLIBC_PRIVATE.
84183         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84184         * nss/makedb.c: Implement -g option to specify that value strings
84185         are generated and should not be added to table iterated over for
84186         get*ent calls.
84187         * nss/nss_db/db-initgroups.c: New file.
84189         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84190         interface.
84192         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84193         (internal_getgrouplist): Adjust to name change.
84194         Update use_initgroups_entry if this is not the first call.
84195         * nss/databases.def: Add initgroups entry.
84197         * nss/makedb.c (compute_tables): Check result of multiple hash table
84198         sizes to minimize maximum chain length.
84200 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84202         * Versions.def: Add entry for libnss_db.
84203         * shlib-versions: Likewise.
84204         * nss/Makefile: Add rules to build libnss_db.
84205         * nss/Versions: Add libnss_db information.  Organize libnss_files
84206         entries better.
84207         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84208         makedb progra.  Some minor improvements to generate smaller files.
84209         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84210         here from...
84211         * nss/makedb.c: ...here.
84212         Improve database format to be smaller and require less memory at
84213         runtime.
84214         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84215         db anymore.
84216         * nss/nss_db/db-netgrp.c: Likewise.
84217         * nss/nss_db/db-open.c: Likewise.
84218         * nss/nss_files/flies-XXX.x: Adjust comments.
84219         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84220         * nss/nss_files/files-grp.c: Likewise.
84221         * nss/nss_files/files-hosts.c: Likewise.
84222         * nss/nss_files/files-network.c: Likewise.
84223         * nss/nss_files/files-proto.c: Likewise.
84224         * nss/nss_files/files-pwd.c: Likewise.
84225         * nss/nss_files/files-rpc.c: Likewise.
84226         * nss/nss_files/files-service.c: Likewise.
84227         * nss/nss_files/files-sgrp.c: Likewise.
84228         * nss/nss_files/files-spwd.c: Likewise.
84229         * nss/nss_db/db-alias.c: Removed.
84230         * nss/nss_db/dummy-db.h: Removed.
84232 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84234         * nss/makedb.c: Rewritten to not use database library.
84235         * nss/Makefile: Update to build new makedb program.
84237 2011-06-14  Andreas Jaeger  <aj@suse.de>
84239         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84240         memset declaration.
84242 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84245         tmpbuf.
84247 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84249         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84250         * elf/Makefile ($(objpfx)ld.so): Likewise.
84252         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84253         Don't list ld.so twice in dependencies.
84255         * posix/bug-regex31.c: Include <stdlib.h>.
84257         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84259         * nis/nss_compat/compat-spwd.c
84260         (getspent_next_nss_netgr): Remove unused variable.
84261         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84263         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84264         nonmembers" output to use the right array.
84266         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84268         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84270         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84271         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84272         * catgets/gencat.c (read_input_file): Likewise.
84273         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84275         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84276         variable definition inside #if's controlling its use.
84278         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84280         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84282         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84284         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84285         unreachable code.
84287         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84289         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84290         * configure: Regenerated.
84292         * Makerules: Revert last change.
84293         * elf/Makefile: Likewise.
84295 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84297         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84298         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84299         (reloc-link): Likewise.
84301 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84303         * elf/Makefile: Add rules to build pldd.
84304         * elf/pldd.c: New file.
84305         * elf/pldd-xx.c: New file.
84307 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84309         * version.h: Update for 2.15 development version.
84311 2011-06-07  David S. Miller  <davem@davemloft.net>
84313         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84314         ifuncs.
84315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84316         elf_machine_lazy_rel): Likewise.
84317         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84319         elf_machine_lazy_rel): Likewise.
84320         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84321         dl_hwcap via passed in argument.
84322         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84323         Likewise.
84325 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84327         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84329 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84331         [BZ #12849]
84332         * manual/fdl-1.1.texi: New file, verbatim from:
84333         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84334         * manual/lgpl-2.1.texi: New file, verbatim from:
84335         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84336         * manual/Makefile (licenses): New variable, list those new file names.
84337         (texis): Use it.
84338         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84340         * manual/fdl.texi: File removed.
84341         * manual/lesser.texi: File removed.
84342         * manual/libc.texinfo (Copying, Documentation License):
84343         Use new @include file names, put @appendix directive before @include.
84345 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
84347         [BZ #12841]
84348         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84349         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84350         (mq_open): Add __NTH.
84352 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
84354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84355         Assume Intel Core i3/i5/i7 processor if AVX is available.
84357 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84360         typo.
84362 2011-05-31  Andreas Schwab  <schwab@redhat.com>
84364         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
84365         memory.  Use alloca_account.  Fix memory leak when retrying.
84367 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84369         * version.h (RELEASE): Bump for 2.14 release.
84370         * include/features.h (__GLIBC_MINOR__): Bump to 14.
84372         * config.make.in (RANLIB): Remove entry.
84374 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
84376         * po/Makefile (po-sed-cmd): Add ksh to extensions.
84377         (libc.pot): Work around missing support for .ksh extension in xgettext.
84379         [BZ #12684]
84380         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
84381         if both request failed.
84382         (send_dg): In case of server errors clear resplen or *resplen2.
84384         [BZ #12454]
84385         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
84386         when there are multiple maps.
84387         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
84388         (_dl_fini): Remove test here.
84390         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
84392 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
84394         [BZ #12350]
84395         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
84396         bit from old_res_options.
84397         (gaih_inet): Likewise.
84399         [BZ #11099]
84400         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
84401         as signed.
84403         * resolv/res_init.c (res_setoptions): Make the code more compact.
84405         [BZ #11558]
84406         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
84407         set RES_USEVC.
84409         [BZ #11634]
84410         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
84412         * malloc/malloc.h: Mark malloc hook variables as deprecated.
84414         [BZ #11781]
84415         * malloc/malloc.h: Declare malloc hook variables as volatile.
84417         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
84418         in last patch.
84420         [BZ #11799]
84421         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
84422         raise in the comment.
84423         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84424         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84425         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
84427 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
84429         [BZ #12811]
84430         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
84431         grow the buffers more if it already has to be sufficient.
84432         (build_wcs_upper_buffer): Likewise.
84433         * posix/regexec.c (check_matching): Likewise.
84434         (clean_state_log_if_needed): Likewise.
84435         (extend_buffers): Don't enlarge buffers beyond size of the input
84436         buffer.
84437         Patches mostly by Emil Wojak <emil@wojak.eu>.
84438         * posix/bug-regex32.c: New file.
84439         * posix/Makefile (tests): Add bug-regex32.
84441         * locale/findlocale.c (_nl_find_locale): Return right away if
84442         _nl_explode_name failed.
84443         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
84445         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
84447         * debug/xtrace.sh: Unify messages.
84448         * malloc/memusage.sh: Likewise.
84450         [BZ #12813]
84451         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
84452         time symbol from vDSO.  Substitute with vsyscall if not available.
84453         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
84454         __vdso_time.
84456         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
84457         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
84458         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
84459         Add sendmmsg and internal_sendmmsg.
84460         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
84461         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
84462         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
84464         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
84465         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
84466         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
84468 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
84470         [BZ #12813]
84471         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
84472         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
84473         available.
84474         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
84475         __vdso_getcpu.
84477         [BZ #12814]
84478         * iconvdata/Makefile (tests): Add bug-iconv9.
84479         * iconvdata/bug-iconv9.c: New file.
84481 2011-05-27  Andreas Schwab  <schwab@redhat.com>
84483         [BZ #12814]
84484         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
84486 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
84488         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84489         (struct user_regs_struct): Change intcs field back to cs.
84491 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
84493         * po/ja.po: Update from translation team.
84495 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
84497         [BZ #12795]
84498         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
84499         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
84501 2011-05-20  Andreas Schwab  <schwab@redhat.com>
84503         * stdlib/longlong.h: Update from GCC.
84505 2011-05-23  Andreas Schwab  <schwab@redhat.com>
84507         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
84508         parameter name.
84509         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
84510         Add parameter name.
84511         (__sysconf): Pass it down.
84513 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
84515         [BZ #12671]
84516         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
84517         some situations.
84518         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
84519         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
84520         add in in __libc_use_alloca calls.  Adjust callers.
84521         (glob): Use malloc in some situations.
84523         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
84524         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
84525         pltexit.
84527 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
84529         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
84530         and CLOCK_BOOTTIME_ALARM.
84532         [BZ #12782]
84533         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
84534         is returned.
84536         * string/_strerror.c (__strerror_r): Print negative errors as signed
84537         numbers.
84539         [BZ #12777]
84540         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
84541         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
84542         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
84544         * configure.in: Fix typo in redirection and correct removal of test
84545         files in two cases.
84547         [BZ #12788]
84548         * locale/setlocale.c (new_composite_name): Fix test to check for
84549         identical name of all categories.
84551         [BZ #12792]
84552         * libio/filedoalloc.c (local_isatty): New function.
84553         (_IO_file_doallocate): Use local_isatty.
84554         * stdio-common/perror.c (perror): In case a new stream is used
84555         forward the stream error.
84556         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
84557         error flag.
84559 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
84561         [BZ #11884]
84562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
84563         alloca.
84564         * include/alloca.h (extend_alloca_account): Define.
84566         [BZ #11857]
84567         * posix/regex.h: Fix comments with documentation of user-accessible
84568         fields after compilation and describe correct free'ing of pattern
84569         after re_compile_pattern.
84570         Patch by Reuben Thomas <rrt@sc3d.org>.
84572 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
84574         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
84575         and -mno-altivec to prevent the compiler from using Altivec and/or
84576         VSX instructions when the corresponding registers are not available.
84578 2011-05-19  Andreas Schwab  <schwab@redhat.com>
84580         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
84582 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
84584         * libio/freopen.c (freopen): Use __dup2, not dup2.
84585         * libio/freopen64.c (freopen64): Likewise.
84587 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
84589         [BZ #12775]
84590         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
84591         * math/Makefile (tests): Add test-powl.
84592         (CFLAGS-test-powl.c): Define.
84593         * math/test-powl.c: New file.
84595 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
84597         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
84599 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
84601         [BZ #11837]
84602         * iconvdata/gb18030.c: Update to GB18020-2005.
84604 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
84606         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
84607         RE_SYNTAX_POSIX_AWK): Update to match recent development.
84608         Patch by Aharon Robbins <arnold@skeeve.com>.
84610         [BZ #11892]
84611         * stdlib/putenv.c (putenv): Don't always create copy of the variable
84612         on the stack.
84614         [BZ #11895]
84615         * misc/pselect.c (__pselect): Handle timeout value errors hidden
84616         through underflows.
84618         [BZ #12766]
84619         * misc/error.c (error_at_line): Ensure file_name and old_file_name
84620         point to strings before performing equality test for error_one_per_line
84621         mode.
84623         [BZ #11697]
84624         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
84626         [BZ #11820]
84627         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84628         (struct user_fpregs_struct): Avoid __uint*_t types.
84630         [BZ #6420]
84631         * malloc/mtrace.c (tr_where): Add additional parameter to point to
84632         symbol info.  Use it instead of calling _dl_addr locally.
84633         (lock_and_info): New function.
84634         (tr_freehook): Call lock_and_info and pass symbol info as additional
84635         parameter to tr_where.
84636         (tr_mallochook): Likewise.
84637         (tr_reallochook): Likewise.
84638         (tr_memalignhook): Likewise.
84640         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
84641         used and couldn't be at all thread-safe.
84643 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
84645         * libio/freopen.c (freopen): Don't close old file descriptor
84646         before the new one is opened.  Instead dup the new file descriptor
84647         to the old one after the new stream is created.
84648         * libio/freopen64.c (freopen64): Likewise.
84649         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
84650         * libio/fileops.c (_IO_new_file_close_it): Handle new
84651         _IO_FLAGS2_NOCLOSE flag.
84652         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
84653         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
84654         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
84655         _IO_FLAGS2_NOCLOSE flag.
84656         * include/unistd.h: Add hidden_proto for dup3.
84657         Define __have_dup3.
84658         * io/dup3.c: Define hidden symbol.
84659         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
84661         [BZ #7101]
84662         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
84663         when an incomplete long option is used.
84664         * posix/tst-getopt_long1.c: New file.
84665         * posix/Makefile (tests): Add tst-getopt_long1.
84667         [BZ #10138]
84668         * scripts/config.guess: Update from autoconf-2.68.
84669         * scripts/config.sub: Likewise.
84671         [BZ #10157]
84672         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
84673         tests into ...
84674         (has_cpuclock): ...this.  New function.
84675         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
84676         macro here based on has_cpuclock code.
84678         [BZ #10149]
84679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84680         First byte (not low byte) is now always NUL.
84681         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
84683         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84684         Use non-cancelable interfaces.
84686         [BZ #9809]
84687         * locale/iso-639.def: Add entry for Sorani.
84689         [BZ #11901]
84690         * include/stdlib.h: Move include protection to the right place.
84691         Define abort_msg_s.  Declare __abort_msg with it.
84692         * stdlib/abort.c (__abort_msg): Adjust type.
84693         * assert/assert.c (__assert_fail_base): New function.  Majority
84694         of code from __assert_fail.  Allocate memory for __abort_msg with
84695         mmap.
84696         (__assert_fail): Now call __assert_fail_base.
84697         * assert/assert-perr.c: Remove bulk of implementation.  Use
84698         __assert_fail_base.
84699         * include/assert.hL Declare __assert_fail_base.
84700         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
84701         mmap.
84702         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
84704 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
84706         [BZ #11952]
84707         [BZ #12453]
84708         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
84709         until all modules are registered in the DTV.
84710         * elf/Makefile: Add rules to build and run tst-tls19.
84711         * elf/tst-tls19.c: New file.
84712         * elf/tst-tls19mod1.c: New file.
84713         * elf/tst-tls19mod2.c: New file.
84714         * elf/tst-tls19mod3.c: New file.
84715         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
84717         [BZ #12083]
84718         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
84719         correctly.
84721         [BZ #12601]
84722         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
84723         two-byte sequence errors.
84724         * iconvdata/Makefile (tests): Add bug-iconv8.
84725         * iconvdata/bug-iconv8.c: New file.
84727         [BZ #12626]
84728         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
84729         buf2 definition.
84731         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
84733         [BZ #12432]
84734         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
84735         (dummy_getcfa): New function.
84736         (init): Get _Unwind_GetCFA address, use dummy if not found.
84737         (backtrace_helper): In recursion check, also check whether CFA changes.
84738         (__backtrace): Completely initialize arg.
84740         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
84741         storing incomplete byte sequence in state object.  Avoid testing for
84742         guaranteed too small input if we know there is enough data available.
84744 2011-05-11  Andreas Schwab  <schwab@redhat.com>
84746         * Makeconfig (+link-pie): Indent.
84747         * Rules (binaries-pie): Define if $(have-fpie) and
84748         $(build-shared).
84749         (binaries-shared): Also filter out $(binaries-pie).
84750         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
84751         * nscd/Makefile (others-pie): Add nscd.
84752         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
84753         ($(objpfx)nscd): Remove command override.
84754         * login/Makefile (others-pie): Add pt_chown.
84755         ($(objpfx)pt_chown): Remove command override.
84756         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
84757         remove command overrides.
84759 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
84761         * libio/tst_putwc.c: Fix error messages.
84763         [BZ #12724]
84764         * libio/fileops.c (_IO_new_file_close_it): Always flush when
84765         currently writing and seek to current position when not.
84766         * libio/Makefile (tests): Add bug-fclose1.
84767         * libio/bug-fclose1.c: New file.
84769 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
84771         [BZ #12511]
84772         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
84773         don't set DF_1_NODELETE here.
84774         (do_lookup_x): When entering new entry test for copy relocation
84775         and if necessary set DF_1_NODELETE flag.
84776         * elf/tst-unique4.cc: New file.
84777         * elf/tst-unique4.h: New file.
84778         * elf/tst-unique4lib.cc: New file.
84779         * elf/Makefile: Add rules to build and run tst-unique4.
84780         Patch by Piotr Bury <pbury@goahead.com>.
84782 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
84784         [BZ #12052]
84785         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
84787         [BZ #12625]
84788         * misc/mntent_r.c (addmntent): Flush the stream after the output
84790         [BZ #12393]
84791         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
84792         (is_trusted_path_normalize): Skip initial colon.  Append slash
84793         to empty buffer.  Duplicate is_trusted_path code but allow
84794         constructed patch to be prefix.
84795         (is_dst): Allow $ORIGIN followed by /.
84796         (_dl_dst_substitute): Correct clearing of check_for_trusted.
84797         Correct testing of result of is_trusted_path_normalize
84798         (decompose_rpath): Fix warning.
84800 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
84802         [BZ #11257]
84803         * grp/initgroups.c (internal_getgrouplist): When we found the service
84804         list through the initgroups entry in nsswitch.conf do not always
84805         continue on a successful lookup.  Don't always use the
84806         __nss_group_database value if it is set.
84807         * nss/nsswitch.conf (initgroups): Change action for successful db
84808         lookup to continue for compatibility.
84810 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
84812         [BZ #11532]
84813         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
84814         and CP774 modules.
84815         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
84816         and CP774 modules.
84817         * iconvdata/tst-tables.sh: Likewise.
84818         * iconvdata/cp770.c: New file.
84819         * iconvdata/cp771.c: New file.
84820         * iconvdata/cp772.c: New file.
84821         * iconvdata/cp773.c: New file.
84822         * iconvdata/cp774.c: New file.
84823         * iconvdata/testdata/CP770: New file.
84824         * iconvdata/testdata/CP770..UTF8: New file.
84825         * iconvdata/testdata/CP771: New file.
84826         * iconvdata/testdata/CP771..UTF8: New file.
84827         * iconvdata/testdata/CP772: New file.
84828         * iconvdata/testdata/CP772..UTF8: New file.
84829         * iconvdata/testdata/CP773: New file.
84830         * iconvdata/testdata/CP773..UTF8: New file.
84831         * iconvdata/testdata/CP774: New file.
84832         * iconvdata/testdata/CP774..UTF8: New file.
84834         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
84835         END CHARMAP line.
84836         * iconvdata/gen-8bit-gap.sh: Likewise.
84837         * iconvdata/gen-8bit.sh: Likewise.
84839         * locale/iso-639.def: Add ary entry.
84841         [BZ #11258]
84842         * locale/C-translit.h.in: Add U20A1 transliteration.
84844         [BZ #12178]
84845         * locale/iso-639.def: Add wae entry.
84846         Patch by Kevin Bortis <bortis@translate-wae.ch>.
84848         [BZ #12545]
84849         * locale/programs/localedef.c (construct_output_path): Use ssize_t
84850         for n.
84852         [BZ #12711]
84853         * locale/C-translit.h.in: Add entry for U20B9.
84854         Patch by pravin.d.s@gmail.com.
84856 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
84858         [BZ #12713]
84859         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
84860         ENAMETOOLONG use generic getcwd.
84861         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
84862         in rtld.  Use *stat64.
84863         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
84864         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
84865         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
84866         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
84867         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
84868         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
84869         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
84870         __fstatat64 macros.
84871         * include/dirent.h: Add libc_hidden_proto for rewinddir.
84872         * dirent/rewinddir.c: Add libc_hidden_def.
84873         * sysdeps/mach/hurd/rewinddir.c: Likewise.
84874         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
84876         * include/dirent.h (__alloc_dir): Add flags parameter.
84877         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
84878         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
84879         __alloc_dir.
84880         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
84881         from fdopendir if O_CLOEXEC is already set.
84883 2011-03-15  Alan Modra  <amodra@gmail.com>
84885         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
84886         l_tls_firstbyte_offset non-zero.  Save padding offset in
84887         l_tls_firstbyte_offset for later use.
84888         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
84889         freeing static tls block.
84891 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
84893         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84894         where #ifdef was intended.  The intent is to prevent ARG_MAX from
84895         being defined by the kernel headers.
84897 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
84899         [BZ #12734]
84900         * resolv/resolv.h: Define RES_NOTLDQUERY.
84901         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
84902         no-tld-query and set RES_NOTLDQUERY.
84903         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
84904         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
84905         modern BIND to search name as TLD unless forbidden.
84907 2011-05-07  Petr Baudis  <pasky@suse.cz>
84908             Ulrich Drepper  <drepper@gmail.com>
84910         [BZ #12393]
84911         * elf/dl-load.c (fillin_rpath): Move trusted path check...
84912         (is_trusted_path): ...to here.
84913         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
84914         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
84915         using is_trusted_path_normalize() in setuid scripts.
84917 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84919         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
84920         __BEGIN/__END_DECLS.
84922 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
84924         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
84925         NSS_STATUS_NOTFOUND if no record was found.
84927 2011-05-05  Andreas Schwab  <schwab@redhat.com>
84929         * sunrpc/Makefile (headers): Add rpc/netdb.h.
84930         (headers-not-in-tirpc): Remove rpc/netdb.h
84931         * resolv/netdb.h: Revert last change.
84933 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84935         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
84936         circular dependency between libgcc.a and libc.a.
84938 2011-05-05  Andreas Schwab  <schwab@redhat.com>
84940         * resolv/netdb.h: Don't include <rpc/netdb.h>.
84941         * nis/Makefile: Don't install rpcsvc/*.
84942         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
84943         instead of <rpc/types.h>.
84944         (MAXHOSTNAMELEN): Define.
84946 2011-05-03  Andreas Schwab  <schwab@redhat.com>
84948         * elf/ldconfig.c (add_dir): Don't crash on empty path.
84950 2011-04-28  Maciej Babinski  <mbabinski@google.com>
84952         [BZ #12714]
84953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
84954         gethostbyname4_r when IPv6 results are possible.
84956 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
84958         [BZ #12723]
84959         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
84960         _PC_PIPE_BUF handling.
84962 2011-04-30  Bruno Haible  <bruno@clisp.org>
84964         [BZ #12717]
84965         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
84966         * resolv/netdb.h (getnameinfo): Change type of flags parameter
84967         to 'int'.
84968         * inet/getnameinfo.c (getnameinfo): Likewise.
84970 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
84972         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
84973         to groups setting in database lookup.
84974         * nss/nsswitch.conf: Add initgroups entry.
84976 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
84978         [BZ #12685]
84979         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
84980         mode string.
84981         Patch by Eric Blake <eblake@redhat.com>.
84983 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
84985         * sunrpc/Makefile (need-export-routines): Add svc_run.
84986         (routines): Remove svc_run.
84987         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
84988         * sunrpc/clnt_perr.c (clnt_perrno): Export.
84989         * sunrpc/svc_run.c (svc_run): Likewise.
84990         * sunrpc/svc_udp.c (svcudp_create): Likewise.
84992 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
84994         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
84995         problem in reallocation in last patch.
84997 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
84999         * sunrpc/Makefile: Move inclusion of Rules.
85001 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85003         * nss/nss_files/files-initgroups.c: New file.
85004         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85005         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85006         _nss_files_initgroups_dyn.
85008 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85010         * elf/elf.h (R_ARM_IRELATIVE): Define.
85012 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85014         * po/ru.po: Update from translation team.
85016 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85018         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85019         dependencies.
85021 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85023         [BZ #12653]
85024         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85025         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85026         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85027         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85028         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85030 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85032         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85033         differing bytes.
85034         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85035         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85036         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85038 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85040         [BZ #12420]
85041         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85042         storing it.
85043         * stdlib/bug-getcontext.c: New file.
85044         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85046 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85048         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85049         instructions into .machine "z9-109".
85050         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85051         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85053 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85055         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85056         between environment variables and auxiliary vector.
85058 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85060         * Makefile: Add rules to build linkobj/libc.so.
85061         * include/libc-symbols.h: Define libc_hidden_nolink.
85062         * include/rpc/auth.h: Mark functions which are to be hidden.
85063         * include/rpc/auth_des.h: Likewise.
85064         * include/rpc/auth_unix.h: Likewise.
85065         * include/rpc/clnt.h: Likewise.
85066         * include/rpc/des_crypt.h: Likewise.
85067         * include/rpc/key_prot.h: Likewise.
85068         * include/rpc/pmap_clnt.h: Likewise.
85069         * include/rpc/pmap_prot.h: Likewise.
85070         * include/rpc/pmap_rmt.h: Likewise.
85071         * include/rpc/rpc_msg.h: Likewise.
85072         * include/rpc/svc.h: Likewise.
85073         * include/rpc/svc_auth.h: Likewise.
85074         * include/rpc/xdr.h: Likewise.
85075         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85076         * nss/Makefile: Likewise.
85077         * sunrpc/Makefile: Don't install headers.  Build library with normal
85078         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85079         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85080         for the compat linking library.  Remove use of INTDEF/INTUSE.
85081         * sunrpc/auth_none.c: Likewise.
85082         * sunrpc/auth_unix.c: Likewise.
85083         * sunrpc/authdes_prot.c: Likewise.
85084         * sunrpc/authuxprot.c: Likewise.
85085         * sunrpc/clnt_gen.c: Likewise.
85086         * sunrpc/clnt_perr.c: Likewise.
85087         * sunrpc/clnt_raw.c: Likewise.
85088         * sunrpc/clnt_simp.c: Likewise.
85089         * sunrpc/clnt_tcp.c: Likewise.
85090         * sunrpc/clnt_udp.c: Likewise.
85091         * sunrpc/clnt_unix.c: Likewise.
85092         * sunrpc/des_crypt.c: Likewise.
85093         * sunrpc/des_soft.c: Likewise.
85094         * sunrpc/get_myaddr.c: Likewise.
85095         * sunrpc/key_call.c: Likewise.
85096         * sunrpc/key_prot.c: Likewise.
85097         * sunrpc/netname.c: Likewise.
85098         * sunrpc/pm_getmaps.c: Likewise.
85099         * sunrpc/pm_getport.c: Likewise.
85100         * sunrpc/pmap_clnt.c: Likewise.
85101         * sunrpc/pmap_prot.c: Likewise.
85102         * sunrpc/pmap_prot2.c: Likewise.
85103         * sunrpc/pmap_rmt.c: Likewise.
85104         * sunrpc/publickey.c: Likewise.
85105         * sunrpc/rpc_cmsg.c: Likewise.
85106         * sunrpc/rpc_common.c: Likewise.
85107         * sunrpc/rpc_dtable.c: Likewise.
85108         * sunrpc/rpc_prot.c: Likewise.
85109         * sunrpc/rpc_thread.c: Likewise.
85110         * sunrpc/rtime.c: Likewise.
85111         * sunrpc/svc.c: Likewise.
85112         * sunrpc/svc_auth.c: Likewise.
85113         * sunrpc/svc_authux.c: Likewise.
85114         * sunrpc/svc_raw.c: Likewise.
85115         * sunrpc/svc_run.c: Likewise.
85116         * sunrpc/svc_simple.c: Likewise.
85117         * sunrpc/svc_tcp.c: Likewise.
85118         * sunrpc/svc_udp.c: Likewise.
85119         * sunrpc/svc_unix.c: Likewise.
85120         * sunrpc/svcauth_des.c: Likewise.
85121         * sunrpc/xcrypt.c: Likewise.
85122         * sunrpc/xdr.c: Likewise.
85123         * sunrpc/xdr_array.c: Likewise.
85124         * sunrpc/xdr_float.c: Likewise.
85125         * sunrpc/xdr_intXX_t.c: Likewise.
85126         * sunrpc/xdr_mem.c: Likewise.
85127         * sunrpc/xdr_rec.c: Likewise.
85128         * sunrpc/xdr_ref.c: Likewise.
85129         * sunrpc/xdr_sizeof.c: Likewise.
85130         * sunrpc/xdr_stdio.c: Likewise.
85132 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85134         [BZ #12650]
85135         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85136         * sysdeps/ia64/dl-tls.h: Likewise.
85137         * sysdeps/powerpc/dl-tls.h: Likewise.
85138         * sysdeps/s390/dl-tls.h: Likewise.
85139         * sysdeps/sh/dl-tls.h: Likewise.
85140         * sysdeps/sparc/dl-tls.h: Likewise.
85141         * sysdeps/x86_64/dl-tls.h: Likewise.
85142         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85144 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85146         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85147         rpath element also skip the following colon.
85148         (expand_dynamic_string_token): Add is_path parameter and pass
85149         down to DL_DST_REQUIRED and _dl_dst_substitute.
85150         (decompose_rpath): Call expand_dynamic_string_token with
85151         non-zero is_path.  Ignore empty rpaths.
85152         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85153         with zero is_path.
85155 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85158         Make cancelable.
85160 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85162         [BZ #12655]
85163         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85164         Patch by Filipe David Manana <fdmanana@apache.org>.
85166 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85168         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85169         Maintain aligned stack.
85170         (CHECK_RSP): Remove unused macro.
85172 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85174         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85175         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85177 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85179         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85181         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85183 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85185         [BZ #12518]
85186         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85187         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85188         * sysdeps/x86_64/memmove.c: New file.
85189         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85190         (memcpy): Renamed to ...
85191         (__new_memcpy): This.
85192         (memcpy): Provide GLIBC_2_14 memcpy.
85193         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85194         (memcpy): Provide GLIBC_2_2_5 memcpy.
85196 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85198         [BZ #12631]
85199         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85201 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85203         * misc/syncfs.c: New file.
85204         * misc/Makefile (routines): Add syncfs.
85205         * posix/unistd.h: Declare syncfs.
85206         * sysdeps/unix/syscalls.list: Add syncfs.
85208 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85210         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85211         open_by_handle_at.
85212         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85213         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85215         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85217         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85218         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85220 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85222         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85223         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85224         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85225         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85226         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85230         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85231         sync_file_range.c with -fexceptions.
85232         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85233         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85234         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85235         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85236         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85237         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85238         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85239         sync_file_range as cancellation point
85240         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85241         now a wrapper around __call_sync_file_range with cancellation handling.
85242         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85243         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85244         function name to __call_sync_file_range.
85245         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85246         Add call_sync_file_range.
85248 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85250         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85251         bits/timex.h.
85253 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85255         * iconv/iconv.h: Fix typo in comment.
85256         * io/fcntl.h: Likewise.
85257         * libio/stdio.h: Likewise.
85258         * posix/spawn.h: Likewise.
85259         * posix/unistd.h: Likewise.
85260         * stdlib/stdlib.h: Likewise.
85261         * time/time.h: Likewise.
85262         * wcsmbs/wchar.h: Likewise.
85264         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85265         open_by_handle): Add.
85266         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85267         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85268         Augment a few comments.
85269         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85271         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85273         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85274         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85275         open_by_handle.
85277         * io/fcntl.h (AT_EMPTY_PATH): Define.
85279 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85281         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85282         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85283         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85284         to...
85285         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85286         * Versions.def: Add GLIBC_2.14.
85287         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85288         Export.
85290 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85292         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85293         round counter.
85294         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85296 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85298         [BZ #12597]
85299         * string/test-strncmp.c (do_page_test): New function.
85300         (check2): Likewise.
85301         (test_main): Call check2.
85302         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85304 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85306         [BZ #12587]
85307         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85308         Handle cache information in CPU leaf 4.
85309         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85311 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85313         [BZ #12583]
85314         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85315         character representation.
85316         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85318 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85320         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85321         END(__isnan) to END(__isnanf) to match function entry point/label
85322         EALIGN(__isnanf,...).
85324 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85326         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85328 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85330         [BZ #12510]
85331         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85332         copy from the symbol referenced in the relocation to initialize the
85333         used variable.
85334         Patch by Piotr Bury <pbury@goahead.com>.
85335         * elf/Makefile: Add rules to build and tst-unique3.
85336         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85337         * elf/tst-unique3.cc: New file.
85338         * elf/tst-unique3.h: New file.
85339         * elf/tst-unique3lib.cc: New file.
85340         * elf/tst-unique3lib2.cc: New file.
85342         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85344 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
85346         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85347         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
85348         to _start.
85350 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
85352         * elf/dl-load.c (_dl_map_object): If we are looking for the first
85353         to-be-loaded object along a path to loader is ld.so.
85355 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85356             Ulrich Drepper  <drepper@gmail.com>
85358         * sysdeps/x86_64/memset.S: After aligning destination, code
85359         branches to different locations depending on the value of
85360         misalignment, when multiarch is enabled. Fix this.
85362 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85364         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
85365         Set _x86_64_preferred_memory_instruction for AMD processsors.
85366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85367         Set bit_Prefer_SSE_for_memop for AMD processors.
85369 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
85371         * libio/fmemopen.c (fmemopen): Optimize a bit.
85373 2011-03-03  Andreas Schwab  <schwab@redhat.com>
85375         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
85377 2011-03-03  Roland McGrath  <roland@redhat.com>
85379         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
85381 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
85383         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
85384         __bzero_ultra1 instead of __memset_ultra1.
85386 2011-02-23  Andreas Schwab  <schwab@redhat.com>
85387             Ulrich Drepper  <drepper@gmail.com>
85389         [BZ #12509]
85390         * include/link.h (struct link_map): Add l_orig_initfini.
85391         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
85392         returning unsuccessfully.
85393         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
85394         close of a file loaded at startup, restore the original l_initfini
85395         list.
85396         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
85397         list, store the pointer.
85398         * elf/Makefile ($(objpfx)noload-mem): New rule.
85399         (noload-ENV): Define.
85400         (tests): Add $(objpfx)noload-mem.
85401         * elf/noload.c: Include <memcheck.h>.
85402         (main): Call mtrace.  Close all opened handles.
85404 2011-02-17  Andreas Schwab  <schwab@redhat.com>
85406         [BZ #12454]
85407         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
85408         dependencies are missing.
85410 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85412         Fix __if_freereq crash: Unlike the generic version which uses free,
85413         Hurd needs munmap.
85414         * sysdeps/mach/hurd/ifreq.h: New file.
85416 2011-01-27  Petr Baudis  <pasky@suse.cz>
85417             Ulrich Drepper  <drepper@gmail.com>
85419         [BZ 12445]#
85420         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
85421         to extend_alloca().
85422         * stdio-common/bug23.c: New file.
85423         * stdio-common/Makefile (tests): Add bug23.
85425 2010-09-28  Andreas Schwab  <schwab@redhat.com>
85426             Ulrich Drepper  <drepper@gmail.com>
85428         [BZ #12489]
85429         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
85430         before performing relro protection.  At old place add assertion
85431         to make sure nothing changed.
85433 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
85434             Glauber de Oliveira Costa  <glommer@gmail.com>
85436         * elf/elf.h: Add new ARM TLS relocs.
85438 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
85440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
85441         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
85442         cast from r3.
85443         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
85444         'tests' variable.
85445         * sysdeps/wordsize-64/tst-writev.c: New file.
85447 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
85449         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
85450         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
85451         insns in _dl_start to prevent a TOC reference before relocs are
85452         resolved.
85454 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
85456         [BZ #12469]
85457         * Makeconfig: Remove RANLIB definition.
85458         * Makerules: Don't use RANLIB.
85459         * aclocal.m4: Remove ranlib test.
85460         * configure.in: No need to check for ranlib.
85461         * elf/rtld-Rules: Don't use RANLIB.
85463 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85465         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
85466         protection macro.
85467         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
85468         inclusion protection macro.
85470         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
85471         SIGRTMIN and SIGRTMAX and print information in that case only when
85472         SIGRTMIN is defined.
85474 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
85476         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
85477         arginfo fn returning -1.
85479         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
85480         and thousands string is zero terminated.
85482 2011-02-03  Andreas Schwab  <schwab@redhat.com>
85484         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
85485         sysdeps/unix/sysv/linux/bits/socket.h.
85487 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85489         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
85490         (__CPU_COUNT): Remove old macros.
85491         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
85492         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
85493         (__CPU_ALLOC, __CPU_FREE): Add macros.
85494         (__sched_cpualloc, __sched_cpufree): Add declarations.
85496 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
85498         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
85499         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
85500         * nscd/aicache.c (addhstaiX): Return timeout of added value.
85501         (readdhstai): Return value of addhstaiX call.
85502         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
85503         (addgrbyX): Return value returned by cache_addgr.
85504         (readdgrbyname): Return value returned by addgrbyX.
85505         (readdgrbygid): Likewise.
85506         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
85507         (addpwbyX): Return value returned by cache_addpw.
85508         (readdpwbyname): Return value returned by addhstbyX.
85509         (readdpwbyuid): Likewise.
85510         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
85511         (addservbyX): Return value returned by cache_addserv.
85512         (readdservbyname): Return value returned by addservbyX:
85513         (readdservbyport): Likewise.
85514         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
85515         (addhstbyX): Return value returned by cache_addhst.
85516         (readdhstbyname): Return value returned by addhstbyX.
85517         (readdhstbyaddr): Likewise.
85518         (readdhstbynamev6): Likewise.
85519         (readdhstbyaddrv6): Likewise.
85520         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
85521         (readdinitgroups): Return value returned by addinitgroupsX.
85522         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
85523         (prune_cache): Keep track of timeout value of re-added entries.
85524         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
85525         * nscd/nscd.h: Adjust prototypes of readd* functions.
85527 2011-02-04  Roland McGrath  <roland@redhat.com>
85529         * nis/nis_server.c (nis_servstate): Use the right name for 0.
85530         (nis_stats): Likewise.
85531         * nis/nis_modify.c (nis_modify): Likewise.
85532         * nis/nis_remove.c (nis_remove): Likewise.
85533         * nis/nis_add.c (nis_add): Likewise.
85535         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
85537         * posix/fnmatch_loop.c: Add some consts.
85539         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
85541 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
85543         [BZ #12460]
85544         * config.make.in (config-cflags-novzeroupper): Define.
85545         * configure.in: Substitute libc_cv_cc_novzeroupper.
85546         * elf/Makefile (AVX-CFLAGS): Define.
85547         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
85548         (CFLAGS-tst-auditmod4a.c): Likewise.
85549         (CFLAGS-tst-auditmod4b.c): Likewise.
85550         (CFLAGS-tst-auditmod6b.c): Likewise.
85551         (CFLAGS-tst-auditmod6c.c): Likewise.
85552         (CFLAGS-tst-auditmod7b.c): Likewise.
85553         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
85555 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
85557         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
85558         function to the callback.
85559         Patch partly by Jiri Olsa <jolsa@redhat.com>.
85561 2011-02-02  Andreas Schwab  <schwab@redhat.com>
85563         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
85564         of errno.
85566 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
85568         [BZ #11724]
85569         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
85570         of constructors.
85571         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
85572         of destructors.
85573         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
85575         [BZ #11724]
85576         * elf/Makefile: Add rules to build and run new test.
85577         * elf/tst-initorder.c: New file.
85578         * elf/tst-initorder.exp: New file.
85579         * elf/tst-initordera1.c: New file.
85580         * elf/tst-initordera2.c: New file.
85581         * elf/tst-initordera3.c: New file.
85582         * elf/tst-initordera4.c: New file.
85583         * elf/tst-initorderb1.c: New file.
85584         * elf/tst-initorderb2.c: New file.
85585         * elf/tst-order-a1.c: New file.
85586         * elf/tst-order-a2.c: New file.
85587         * elf/tst-order-a3.c: New file.
85588         * elf/tst-order-a4.c: New file.
85589         * elf/tst-order-b1.c: New file.
85590         * elf/tst-order-b2.c: New file.
85591         * elf/tst-order-main.c: New file.
85592         New test case by George Gensure <werkt0@gmail.com>.
85594 2010-10-01  Andreas Schwab  <schwab@redhat.com>
85596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85597         decoding ACE if AI_CANONIDN.
85599 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
85601         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
85603 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
85605         * version.h (RELEASE): Bump for 2.13 release.
85606         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
85608         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
85610         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
85611         MADV_NOHUGEPAGE.
85612         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
85613         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
85614         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85615         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85616         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85617         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85619         * posix/getconf.c: Update copyright year.
85620         * catgets/gencat.c: Likewise.
85621         * csu/version.c: Likewise.
85622         * debug/catchsegv.sh: Likewise.
85623         * debug/xtrace.sh: Likewise.
85624         * elf/ldconfig.c: Likewise.
85625         * elf/ldd.bash.in: Likewise.
85626         * elf/sprof.c (print_version): Likewise.
85627         * iconv/iconv_prog.c: Likewise.
85628         * iconv/iconvconfig.c: Likewise.
85629         * locale/programs/locale.c: Likewise.
85630         * locale/programs/localedef.c: Likewise.
85631         * malloc/memusage.sh: Likewise.
85632         * malloc/mtrace.pl: Likewise.
85633         * nscd/nscd.c (print_version): Likewise.
85634         * nss/getent.c: Likewise.
85636         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
85637         PF_CAIF, and PF_ALG.
85638         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85640 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
85642         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
85643         (modules-names): Use them.
85644         (ifunc-test-modules, ifunc-pie-tests): Define.
85645         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
85646         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
85647         (test-extras): Likewise.
85648         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
85649         $(compile-command.c).
85650         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
85651         (all-built-dso): Define.
85652         (check-textrel.out, check-execstack.out): Depend on it.
85654         * configure.in: Don't override --enable-multi-arch.
85656 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
85658         [BZ #6812]
85659         * nscd/hstcache.c (tryagain): Define.
85660         (cache_addhst): Return tryagain not notfound for temporary errors.
85661         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
85662         failed.
85664 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
85666         [BZ #10563]
85667         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
85668         to make the syscall.
85669         * sysdeps/unix/sysv/linux/setgroups.c: New file.
85671         [BZ #12378]
85672         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
85673         and fall back to matching as normal character if the string ends before
85674         the matching ']' is found.  This is what POSIX requires.
85675         * posix/testfnm.c: Adjust test result.
85676         * posix/globtest.sh: Adjust test result.  Add new test.
85677         * posix/tst-fnmatch.input: Likewise.
85678         * posix/tst-fnmatch2.c: Add new test.
85680 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
85682         * elf/Makefile (check-execstack): Revert last change.  Depend on
85683         check-execstack.h.
85684         (check-execstack.h): New target.
85685         (generated): Add check-execstack.h.
85686         * elf/check-execstack.c: Include "check-execstack.h".
85687         (main): Revert last change.
85688         (handle_file): Return zero if GNU_STACK is absent and
85689         DEFAULT_STACK_PERMS doesn't include PF_X.
85691 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
85693         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
85694         in child fails because the descriptor is already closed.
85695         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
85696         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
85697         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
85699         [BZ #12397]
85700         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
85701         syscall.
85703         [BZ #10484]
85704         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
85705         temporary buffer used to handle multi lookups locally.
85706         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
85708 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
85710         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
85711         loader is ld.so.
85713 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
85715         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
85716         alignment for SSE2.
85718 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
85720         [BZ #12394]
85721         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
85722         characters.  When rounding increased number of integer digits recompute
85723         number of groups.
85724         * stdio-common/tst-grouping.c: New file.
85725         * stdio-common/Makefile: Add rules to build and run tst-grouping.
85727 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
85729         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
85730         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
85732         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
85733         void.
85734         * bits/select.h: Likewise.
85736 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
85738         * po/ja.po: Update from translation team.
85740 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
85742         [BZ #11155]
85743         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
85744         implementation just like for lxstat, fxstatat, et al.
85746 2010-12-27  Jim Meyering  <meyering@redhat.com>
85748         [BZ #12348]
85749         * posix/regexec.c (build_trtable): Return failure indication upon
85750         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
85752 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
85754         [BZ #12201]
85755         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
85756         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
85757         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
85758         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
85760         [BZ #12207]
85761         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
85763         [BZ #12204]
85764         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
85765         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
85767 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
85769         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
85770         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
85771         script has SORT_BY_INIT_PRIORITY.
85772         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
85773         NO_CTORS_DTORS_SECTIONS is defined.
85774         * elf/soinit.c: Likewise.
85775         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
85776         NO_CTORS_DTORS_SECTIONS is defined.
85777         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
85778         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
85779         * sysdeps/sh/init-first.c: Likewise.
85780         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
85782 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
85784         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
85785         always use the slow path.
85787 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
85789         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
85790         similar rule which adds the sysdep directories to the header search in
85791         order to pick up the correct platform stackinfo.h.
85792         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
85793         perform test if it is, otherwise return successfully without testing.
85794         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
85795         DEFAULT_STACK_PERMS define in stackinfo.h.
85796         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
85797         defined in stackinfo.h.
85798         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
85799         DEFAULT_STACK_PERMS defined in stackinfo.h.
85800         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
85801         * sysdeps/ia64/stackinfo.h: Likewise.
85802         * sysdeps/s390/stackinfo.h: Likewise.
85803         * sysdeps/sh/stackinfo.h: Likewise.
85804         * sysdeps/sparc/stackinfo.h: Likewise.
85805         * sysdeps/x86_64/stackinfo.h: Likewise.
85806         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
85807         PF_X for powerpc64.  Retain PF_X for powerpc32.
85809 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
85811         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
85812         accurately.
85813         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
85814         GETDENTS_64BIT_ALIGNED.
85816 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
85818         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
85820 2010-12-10  Andreas Schwab  <schwab@redhat.com>
85822         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
85823         _GNU_SOURCE.
85825         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
85826         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
85827         Remove __restrict.
85828         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
85829         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
85831 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
85833         [BZ #11655]
85834         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
85835         are initialized.
85837 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
85839         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
85841 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
85843         * po/it.po: Update from translation team.
85845 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
85847         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
85848         unused codes.
85850 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
85852         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
85854 2010-11-24  Andreas Schwab  <schwab@redhat.com>
85856         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
85857         specially.
85858         (gaih_getanswer_slice): Likewise.
85860 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
85862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
85864 2010-05-31  Petr Baudis  <pasky@suse.cz>
85866         [BZ #11149]
85867         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
85868         silently even in the chroot mode.
85870 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
85872         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
85873         last patch a bit.  Pretty printing
85875 2010-05-31  Petr Baudis <pasky@suse.cz>
85877         [BZ #10085]
85878         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
85879         initialization of skip_initgroups_dyn.
85881 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
85883         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
85884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85886 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
85888         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
85890 2010-11-11  Andreas Schwab  <schwab@redhat.com>
85892         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
85893         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
85894         (tst-fnmatch-ENV): Set MALLOC_TRACE.
85895         ($(objpfx)tst-fnmatch-mem): New rule.
85896         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
85897         * posix/tst-fnmatch.c (main): Call mtrace.
85899 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
85901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85902         Support Intel processor model 6 and model 0x2c.
85904 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
85906         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
85907           signed comparison.
85909 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
85911         [BZ #12205]
85912         * string/test-strncasecmp.c (check_result): New function.
85913         (do_one_test): Use it.
85914         (check1): New function.
85915         (test_main): Use it.
85916         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
85917         Support strcasecmp and strncasecmp.
85919 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
85921         [BZ #12194]
85922         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
85923         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85925 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
85927         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
85928         IFUNC support.
85929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85930         memset-x86-64.
85931         * sysdeps/x86_64/multiarch/bzero.S: New file.
85932         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
85933         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
85934         * sysdeps/x86_64/multiarch/memset.S: New file.
85935         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
85936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85937         Set bit_Prefer_SSE_for_memop for Intel processors.
85938         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
85939         Define.
85940         (index_Prefer_SSE_for_memop): Define.
85941         (HAS_PREFER_SSE_FOR_MEMOP): Define.
85943 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
85945         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
85946         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
85948 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
85950         [BZ #12191]
85951         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85952         (__x86_64_raw_data_cache_size_half): Likewise.
85953         (__x86_64_raw_shared_cache_size): Likewise.
85954         (__x86_64_raw_shared_cache_size_half): Likewise.
85956         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85957         (__x86_64_raw_data_cache_size_half): Likewise.
85958         (__x86_64_raw_shared_cache_size): Likewise.
85959         (__x86_64_raw_shared_cache_size_half): Likewise.
85960         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
85961         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
85962         and __x86_64_raw_shared_cache_size_half.  Round
85963         __x86_64_data_cache_size_half, __x86_64_data_cache_size
85964         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
85965         to multiple of 256 bytes.
85967 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
85969         [BZ #12167]
85970         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
85971         of inacessible symlinks.  Verify result of symlink before returning it.
85972         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
85973         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
85975 2010-10-28  Erich Ritz  <erichritz@gmail.com>
85977         * math/math.h (isinf): Fix typo in comment.
85979 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
85981         * po/da.po: Update from translation team.
85983 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
85985         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
85986         is added to the list.
85988 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85989             Ulrich Drepper  <drepper@gmail.com>
85991         * elf/dl-object.c (_dl_new_object): Don't append the new object to
85992         the global list here.  Move code to...
85993         (_dl_add_to_namespace_list): ...here.  New function.
85994         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
85995         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
85996         * elf/dl-load.c (lose): Don't remove the element from the list.
85997         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
85998         (_dl_map_object): Likewise.
86000 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86002         [BZ #12159]
86003         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86004         into all bytes of SSE register.
86005         Patch by Richard Li <richardpku@gmail.com>.
86007 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86009         [BZ #12140]
86010         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86011         perturbing.
86013 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86015         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86016         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86017         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86018         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86020         submachine.
86021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86023 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86025         * include/dlfcn.h (__RTLD_SECURE): Define.
86026         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86027         mode & __RTLD_SECURE instead.
86028         (open_path): Rename preloaded parameter to secure.
86029         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86030         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86031         * elf/dl-deps.c (openaux): Likewise.
86032         * elf/rtld.c (struct map_args): Remove is_preloaded.
86033         (map_doit): Don't use it.
86034         (dl_main): Likewise.
86035         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86036         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86038 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86040         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86041         (sysd-rules-targets): Remove duplicates.
86042         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86043         rtld-%.$o dependency.
86045 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86047         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86048         _dl_map_object do it.
86050 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86052         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86053         fast fma builtins, define the macros in the C99 standard.
86054         (FP_FAST_FMAF): Likewise.
86055         (FP_FAST_FMAL): Likewise.
86056         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86058         * bits/mathdef.h: Update copyright year.
86059         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86061 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86063         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86064         builtins, define the macros in the C99 standard.
86065         (FP_FAST_FMAF): Likewise.
86066         (FP_FAST_FMAL): Likewise.
86067         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86068         multiply/add.
86069         (FP_FAST_FMAF): Likewise.
86071 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86073         [BZ #3268]
86074         * math/libm-test.inc (fma_test): Some new testcases.
86075         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86076         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86077         y and infinite z.  Do multiplication by C already in long double.
86078         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86080         y and infinite z.  Do bitwise or of inexact bit into u.d.
86081         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86082         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86083         * sysdeps/i386/fpu/s_fma.S: Removed.
86084         * sysdeps/i386/fpu/s_fmal.S: Removed.
86086 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86088         [BZ #3268]
86089         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86091         computation is not scheduled after fetestexcept.  Fix value
86092         of minimum denormal long double.
86094 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86096         [BZ #3268]
86097         * math/libm-test.inc (fma_test): Add some more tests.
86098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86099         correctly.
86101 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86103         * scripts/data/localplt-s390-linux-gnu.data: New file.
86104         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86106 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86108         [BZ #3268]
86109         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86110         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86111         instead of dbl-64.
86112         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86113         inlines.
86114         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86116         if one of x and y is very large and the other is subnormal.
86117         * sysdeps/s390/fpu/s_fmaf.c: New file.
86118         * sysdeps/s390/fpu/s_fma.c: New file.
86119         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86120         * sysdeps/powerpc/fpu/s_fma.S: New file.
86121         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86122         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86123         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86125 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86127         [BZ #3268]
86128         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86129         fma tests.
86130         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86131         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86132         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86133         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86134         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86135         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86136         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86138 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86140         [BZ #12078]
86141         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86142         * posix/bug-regex31.input: Add test case.
86144 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86146         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86147         * posix/bug-regex31.input: New file.
86149         [BZ #12078]
86150         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86151         (parse_sub_exp): Fix last change, use postorder.
86153         * posix/bug-regex31.c: New file.
86154         * posix/Makefile: Add rules to build and run bug-regex31.
86156         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86158         [BZ #12078]
86159         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86161         [BZ #12108]
86162         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86163         to have entries in sys_siglist.
86165         [BZ #12093]
86166         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86167         be NULL.
86169 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86171         [BZ #3268]
86172         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86173         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86174         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86175         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86176         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86177         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86178         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86179         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86180         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86181         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86182         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86183         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86184         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86185         * math/ftestexcept.c (fetestexcept): Likewise.
86186         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86187         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86188         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86189         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86190         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86191         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86192         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86194 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86196         [BZ #12107]
86197         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86198         newline.
86200 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86202         * string/bug-strstr1.c: New file.
86203         * string/Makefile: Add rules to build and run bug-strstr1.
86205 2010-10-05  Eric Blake  <eblake@redhat.com>
86207         [BZ #12092]
86208         * string/str-two-way.h (two_way_long_needle): Always clear memory
86209         when skipping input due to the shift table.
86211 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86213         [BZ #12005]
86214         * malloc/mcheck.c: Handle large requests.
86216         [BZ #12077]
86217         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86218         for strncmp and strncasecmp.
86219         * string/stratcliff.c: Add tests for strcmp and strncmp.
86220         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86222 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86224         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86225         __set_fpscr.
86227 2010-09-30  Andreas Jaeger  <aj@suse.de>
86229         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86230         (CGROUP_SUPER_MAGIC): Define.
86231         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86232         Handle btrfs and cgroup file systems.
86233         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86234         Likewise.
86236 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86238         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86239         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86241 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86243         [BZ #12067]
86244         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86245         trying to locate the ELF header.
86247 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86249         [BZ #11611]
86250         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86251         Mask out sign-bit copies when constructing f_fsid.
86253 2010-09-24  Petr Baudis <pasky@suse.cz>
86255         * debug/stack_chk_fail_local.c: Add missing licence exception.
86256         * debug/warning-nop.c: Likewise.
86258 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86260         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86261         implementing getdents64 using getdents syscall, set d_type if
86262         __ASSUME_GETDENTS32_D_TYPE.
86264 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86266         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86267         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86269 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86271         [BZ #12037]
86272         * posix/unistd.h: Undo change of feature selection for ftruncate from
86273         2010-01-11.
86275 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86277         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86278         detection.
86280 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86282         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86283         fanotify_mark.
86284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86286 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86288         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86289         variables after CHECK_SP call.
86290         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86292 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86293             Ulrich Drepper  <drepper@redhat.com>
86295         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86296         re-relocationg ld.so.
86297         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86298         _dl_init_paths call.
86299         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86300         here anymore.
86302 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86304         * resolv/res_init.c (__res_vinit): Count the default server we added.
86306 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86307             Ulrich Drepper  <drepper@redhat.com>
86309         [BZ #11968]
86310         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86311         (____longjmp_chk): Use %ebx for saving value across system call.
86312         Add unwind info.
86314 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86316         * manual/Makefile: Don't mix pattern rules with normal rules.
86318 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86320         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86321         operation.
86322         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86323         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86324         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86325         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86327         Likewise.
86329 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86331         [BZ #11979]
86332         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86333         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86335 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
86337         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86338         * sysdeps/x86_64/addmul_1.S: Likewise.
86339         * sysdeps/x86_64/lshift.S: Likewise.
86340         * sysdeps/x86_64/mul_1.S: Likewise.
86341         * sysdeps/x86_64/rshift.S: Likewise.
86342         * sysdeps/x86_64/sub_n.S: Likewise.
86343         * sysdeps/x86_64/submul_1.S: Likewise.
86345 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86347         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86348         Define __sched_param instead of SCHED_* and sched_param when
86349         <bits/sched.h> is included with __need_schedparam defined.
86350         * bits/sched.h [__need_schedparam]
86351         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86352         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86353         (__defined_schedparam): Define to 1.
86354         (__sched_param): New structure, identical to sched_param.
86355         (__need_schedparam): Undefine.
86357 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
86359         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
86360         (epoll_create1): Declare.
86362         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
86364 2010-08-31  Andreas Schwab  <schwab@redhat.com>
86366         [BZ #7066]
86367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
86368         shifting retval into place.
86370 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
86372         * nis/rpcsvc/nis.h: Update copyright notice.
86373         * nis/rpcsvc/nis.x: Likewise.
86374         * nis/rpcsvc/nis_callback.h: Likewise.
86375         * nis/rpcsvc/nis_callback.x: Likewise.
86376         * nis/rpcsvc/nis_object.x: Likewise.
86377         * nis/rpcsvc/nis_tags.h: Likewise.
86378         * nis/rpcsvc/yp.h: Likewise.
86379         * nis/rpcsvc/yp.x: Likewise.
86380         * nis/rpcsvc/ypupd.h: Likewise.
86381         * nis/yp_xdr.c: Likewise.
86382         * nis/ypupdate_xdr.c: Likewise.
86384         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
86385         mainly the body of pmap_getport.  Add parameters to specify timeouts.
86386         (pmap_getport): Use __libc_rpc_getport.
86387         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
86388         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
86389         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86391 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
86393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
86394         fanotify_mark.
86396 2010-08-27  Roland McGrath  <roland@redhat.com>
86398         * sysdeps/i386/i686/multiarch/Makefile
86399         (CFLAGS-varshift.c): New variable.
86401 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
86403         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
86404         * sysdeps/i386/i686/multiarch/varshift.c: New file.
86406         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
86408         * sysdeps/x86_64/strlen.S: Minimal code improvement.
86410 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
86412         * sysdeps/x86_64/strlen.S: Unroll the loop.
86413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86414         strlen-sse2 strlen-sse2-bsf.
86415         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
86416         __strlen_no_bsf if bit_Slow_BSF is set.
86417         (__strlen_sse42): Removed.
86418         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
86419         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
86421 2010-08-25  Roland McGrath  <roland@redhat.com>
86423         * sysdeps/x86_64/multiarch/varshift.S: File removed.
86424         * sysdeps/x86_64/multiarch/varshift.c: New file.
86425         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
86426         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
86427         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
86428         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
86430 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
86432         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86433         strlen-sse2 strlen-sse2-bsf.
86434         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
86435         __strlen_sse2_bsf if bit_Slow_BSF is unset.
86436         (__strlen_sse2): Removed.
86437         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
86438         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
86439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86440         bit_Slow_BSF for Atom.
86441         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
86442         (index_Slow_BSF): Define.
86443         (HAS_SLOW_BSF): Define.
86445 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
86447         [BZ #10851]
86448         * resolv/res_init.c (__res_vinit): When no server address at all
86449         is given default to loopback.
86451 2010-08-24  Roland McGrath  <roland@redhat.com>
86453         * configure.in: Remove config-name.h generation.
86454         * configure: Regenerated.
86455         * config-name.in: File removed.
86456         * scripts/config-uname.sh: New file.
86457         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
86458         ($(objdir)config-name.h): New target.
86460         * sunrpc/rpc_parse.h: Avoid nested comment.
86462 2010-08-24  Richard Henderson  <rth@redhat.com>
86463             Ulrich Drepper  <drepper@redhat.com>
86464             H.J. Lu  <hongjiu.lu@intel.com>
86466         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
86467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
86468         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
86469         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
86470         _mm_alignr_epi8 with _mm_loadu_si128.
86471         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
86472         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
86473         (__m128i_shift_right): Removed.
86474         * sysdeps/i386/i686/multiarch/varshift.h: New file.
86475         * sysdeps/i386/i686/multiarch/varshift.S: New file.
86476         * sysdeps/x86_64/multiarch/varshift.h: New file.
86477         * sysdeps/x86_64/multiarch/varshift.S: New file.
86479 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
86481         * configure.in: Move assembler checks to before sysdep dir checking.
86483 2010-08-20  Petr Baudis  <pasky@suse.cz>
86485         * LICENSES: Sync the sunrpc license.
86487 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
86489         * sunrpc/auth_des.c: Update copyright notice once again.
86490         * sunrpc/auth_none.c: Likewise.
86491         * sunrpc/auth_unix.c: Likewise.
86492         * sunrpc/authdes_prot.c: Likewise.
86493         * sunrpc/authuxprot.c: Likewise.
86494         * sunrpc/bindrsvprt.c: Likewise.
86495         * sunrpc/clnt_gen.c: Likewise.
86496         * sunrpc/clnt_perr.c: Likewise.
86497         * sunrpc/clnt_raw.c: Likewise.
86498         * sunrpc/clnt_simp.c: Likewise.
86499         * sunrpc/clnt_tcp.c: Likewise.
86500         * sunrpc/clnt_udp.c: Likewise.
86501         * sunrpc/clnt_unix.c: Likewise.
86502         * sunrpc/des_crypt.c: Likewise.
86503         * sunrpc/des_soft.c: Likewise.
86504         * sunrpc/get_myaddr.c: Likewise.
86505         * sunrpc/getrpcport.c: Likewise.
86506         * sunrpc/key_call.c: Likewise.
86507         * sunrpc/key_prot.c: Likewise.
86508         * sunrpc/openchild.c: Likewise.
86509         * sunrpc/pm_getmaps.c: Likewise.
86510         * sunrpc/pm_getport.c: Likewise.
86511         * sunrpc/pmap_clnt.c: Likewise.
86512         * sunrpc/pmap_prot.c: Likewise.
86513         * sunrpc/pmap_prot2.c: Likewise.
86514         * sunrpc/pmap_rmt.c: Likewise.
86515         * sunrpc/rpc/auth.h: Likewise.
86516         * sunrpc/rpc/auth_unix.h: Likewise.
86517         * sunrpc/rpc/clnt.h: Likewise.
86518         * sunrpc/rpc/des_crypt.h: Likewise.
86519         * sunrpc/rpc/key_prot.h: Likewise.
86520         * sunrpc/rpc/netdb.h: Likewise.
86521         * sunrpc/rpc/pmap_clnt.h: Likewise.
86522         * sunrpc/rpc/pmap_prot.h: Likewise.
86523         * sunrpc/rpc/pmap_rmt.h: Likewise.
86524         * sunrpc/rpc/rpc.h: Likewise.
86525         * sunrpc/rpc/rpc_des.h: Likewise.
86526         * sunrpc/rpc/rpc_msg.h: Likewise.
86527         * sunrpc/rpc/svc.h: Likewise.
86528         * sunrpc/rpc/svc_auth.h: Likewise.
86529         * sunrpc/rpc/types.h: Likewise.
86530         * sunrpc/rpc/xdr.h: Likewise.
86531         * sunrpc/rpc_clntout.c: Likewise.
86532         * sunrpc/rpc_cmsg.c: Likewise.
86533         * sunrpc/rpc_common.c: Likewise.
86534         * sunrpc/rpc_cout.c: Likewise.
86535         * sunrpc/rpc_dtable.c: Likewise.
86536         * sunrpc/rpc_hout.c: Likewise.
86537         * sunrpc/rpc_main.c: Likewise.
86538         * sunrpc/rpc_parse.c: Likewise.
86539         * sunrpc/rpc_parse.h: Likewise.
86540         * sunrpc/rpc_prot.c: Likewise.
86541         * sunrpc/rpc_sample.c: Likewise.
86542         * sunrpc/rpc_scan.c: Likewise.
86543         * sunrpc/rpc_scan.h: Likewise.
86544         * sunrpc/rpc_svcout.c: Likewise.
86545         * sunrpc/rpc_tblout.c: Likewise.
86546         * sunrpc/rpc_util.c: Likewise.
86547         * sunrpc/rpc_util.h: Likewise.
86548         * sunrpc/rpcinfo.c: Likewise.
86549         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
86550         * sunrpc/rpcsvc/key_prot.x: Likewise.
86551         * sunrpc/rpcsvc/klm_prot.x: Likewise.
86552         * sunrpc/rpcsvc/mount.x: Likewise.
86553         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
86554         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
86555         * sunrpc/rpcsvc/rex.x: Likewise.
86556         * sunrpc/rpcsvc/rstat.x: Likewise.
86557         * sunrpc/rpcsvc/rusers.x: Likewise.
86558         * sunrpc/rpcsvc/sm_inter.x: Likewise.
86559         * sunrpc/rpcsvc/spray.x: Likewise.
86560         * sunrpc/rpcsvc/yppasswd.x: Likewise.
86561         * sunrpc/rtime.c: Likewise.
86562         * sunrpc/svc.c: Likewise.
86563         * sunrpc/svc_auth.c: Likewise.
86564         * sunrpc/svc_authux.c: Likewise.
86565         * sunrpc/svc_raw.c: Likewise.
86566         * sunrpc/svc_run.c: Likewise.
86567         * sunrpc/svc_simple.c: Likewise.
86568         * sunrpc/svc_tcp.c: Likewise.
86569         * sunrpc/svc_udp.c: Likewise.
86570         * sunrpc/svc_unix.c: Likewise.
86571         * sunrpc/svcauth_des.c: Likewise.
86572         * sunrpc/xcrypt.c: Likewise.
86573         * sunrpc/xdr.c: Likewise.
86574         * sunrpc/xdr_array.c: Likewise.
86575         * sunrpc/xdr_float.c: Likewise.
86576         * sunrpc/xdr_mem.c: Likewise.
86577         * sunrpc/xdr_rec.c: Likewise.
86578         * sunrpc/xdr_ref.c: Likewise.
86579         * sunrpc/xdr_sizeof.c: Likewise.
86580         * sunrpc/xdr_stdio.c: Likewise.
86582         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
86583         handling.
86585 2010-08-19  Andreas Schwab  <schwab@redhat.com>
86587         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
86589 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
86591         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
86592         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
86593         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
86594         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
86595         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
86596         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
86597         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
86598         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
86599         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
86600         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
86601         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
86602         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
86603         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
86604         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
86606 2010-07-26  Anton Blanchard  <anton@samba.org>
86608         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
86609         * malloc/arena.c (heap_trim): Likewise.
86611 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
86613         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
86614         here.  Not...
86615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
86616         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
86618 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
86620         * sysdeps/i386/elf/Makefile: New file.
86622 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
86624         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
86625         from fanotify_init.
86626         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
86627         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86629 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
86631         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
86632         of strncasecmp_l.
86633         * sysdeps/multiarch/strcmp.S: Likewise.
86635 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
86637         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86638         strncase_l-nonascii.
86639         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86640         Add strncase_l-ssse3.
86641         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
86642         * sysdeps/x86_64/strcmp.S: Likewise.
86643         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
86644         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
86645         * sysdeps/x86_64/strncase.S: New file.
86646         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
86647         * sysdeps/x86_64/strncase_l.S: New file.
86648         * string/Makefile (strop-tests): Add strncasecmp.
86649         * string/test-strncasecmp.c: New file.
86651         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
86652         warning.
86654         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
86655         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
86657 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
86659         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
86661 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
86663         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
86664         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
86665         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
86667 2010-05-01  Alan Modra  <amodra@gmail.com>
86669         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
86670         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
86671         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
86672         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
86673         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
86674         tidying.  Don't tail-call __sigjmp_save for static lib.
86675         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
86676         save location.
86677         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
86678         (CALL_MCOUNT): Add eh info, and nop after bl.
86679         (TAIL_CALL_SYSCALL_ERROR): New macro.
86680         (PSEUDO_RET): Use it.
86681         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
86682         Correct save location of integer regs and cr.
86683         (_dl_profile_resolve): Correct cr save location.  Delete nops
86684         after bl when SHARED.  Reduce cfi size a little by better
86685         placement of cfi directives.
86686         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
86687         make a stack frame.  Instead use parm save area as a temp.
86688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
86689         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
86690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
86691         Don't make a stack frame for parent, use parm save area.
86692         Increase child stack frame to 112 bytes.  Don't save unused reg,
86693         and adjust reg usage.  Set up cfi on error recovery and
86694         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
86695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
86696         (__makecontext): Add dummy nop after jump to exit.
86697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
86698         Use correct parm save area and cr save, reduce stack frame.
86699         Correct cfi for possible PSEUDO_RET frame setup.
86700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
86701         Branch to local label emitted by PSEUDO_RET rather than
86702         __syscall_error.
86704 2010-08-12  Andreas Schwab  <schwab@redhat.com>
86706         [BZ #11904]
86707         * locale/programs/locale.c (print_assignment): New function.
86708         (show_locale_vars): Use it.
86710 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
86712         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
86713         field.
86714         (struct statfs64): Likewise.
86715         (_STATFS_F_FLAGS): Define.
86716         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
86717         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86718         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
86719         (ST_VALID): Define locally.
86720         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
86721         __statvfs_getflags, use the provided value.
86722         * sysdeps/unix/sysv/linux/kernel-features.h: Define
86723         __ASSUME_STATFS_F_FLAGS.
86725         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
86727         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
86728         Add sys/fanotify.h.
86729         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
86730         fanotify_mask for GLIBC_2.13.
86731         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
86732         fanotify_init and fanotify_mark.
86733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86734         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
86736         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
86737         Add prlimit.
86738         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
86739         prlimit64 for GLIBC_2.13.
86740         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
86741         prlimit64.
86742         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
86743         syscall.
86744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
86745         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86746         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
86747         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
86748         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
86749         add prlimit alias.
86750         * sysdeps/unix/sysv/linux/prlimit.c: New file.
86752         [BZ #11903]
86753         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
86754         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
86756         * nss/Makefile: Add rules to build and run tst-nss-test1.
86757         * shlib-versions: Add entry for libnss_test1.
86758         * nss/nss_test1.c: New file.
86759         * nss/tst-nss-test1.c: New file.
86761         * nss/nsswitch.c (__nss_database_custom): Define new variable.
86762         (__nss_configure_lookup): Set appropriate entry in
86763         __nss_configure_lookup to true.
86764         * nss/nsswitch.h: Define enum with indeces of databases in
86765         databases and __nss_database_custom arrays.  Declare
86766         __nss_database_custom.
86767         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
86768         to avoid using nscd when custom rules are installed.
86769         * nss/getXXbyYY_r.c: Likewise.
86770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
86772         * nss/nss_files/files-parse.c: Whitespace fixes.
86774 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
86776         [BZ #11883]
86777         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
86778         * posix/fnmatch_loop.c: Likewise.
86780 2010-07-17  Andi Kleen  <ak@linux.intel.com>
86782         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
86783         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
86784         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
86785         * Versions.def [GLIBC_2.13]: Add.
86787 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
86789         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
86790         Also fail if tpwd after pwuid call is NULL.
86792 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86794         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
86795         when converting to ms.
86797 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86799         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
86800         EOPNOTSUPP errors with ENOTTY.
86801         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
86802         EOPNOTSUPP errors with ENOTTY.
86804 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
86806         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86807         Add strcasecmp_l-ssse3.
86808         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
86809         strcasecmp.
86810         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
86811         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
86812         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
86814 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
86816         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
86818         * string/Makefile (strop-tests): Add strcasecmp.
86819         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86820         strcasecmp_l-nonascii.
86821         (gen-as-const-headers): Add locale-defines.sym.
86822         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
86823         * sysdeps/x86_64/strcasecmp.S: New file.
86824         * sysdeps/x86_64/strcasecmp_l.S: New file.
86825         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
86826         * sysdeps/x86_64/locale-defines.sym: New file.
86827         * string/test-strcasecmp.c: New file.
86829         * string/test-strcasestr.c: Test both ends of the range of characters.
86830         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
86832 2010-07-29  Roland McGrath  <roland@redhat.com>
86834         [BZ #11856]
86835         * manual/locale.texi (Yes-or-No Questions): Fix example code.
86837 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
86839         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
86840         for ld.so.
86842 2010-07-27  Andreas Schwab  <schwab@redhat.com>
86844         * manual/memory.texi (Malloc Tunable Parameters): Document
86845         M_PERTURB.
86847 2010-07-26  Roland McGrath  <roland@redhat.com>
86849         [BZ #11840]
86850         * configure.in (-fgnu89-inline check): Set and substitute
86851         gnu89_inline, not libc_cv_gnu89_inline.
86852         * configure: Regenerated.
86853         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
86855 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
86857         * string/test-strnlen.c: New file.
86858         * string/Makefile (strop-tests): Add strnlen.
86859         * string/tester.c (test_strnlen): Add a few more test cases.
86860         * string/tst-strlen.c: Better error reporting.
86862         * sysdeps/x86_64/strnlen.S: New file.
86864 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
86866         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
86867         lower-latency instructions.
86869 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
86871         * string/test-strcasestr.c: New file.
86872         * string/test-strstr.c: New file.
86873         * string/Makefile (strop-tests): Add strstr and strcasestr.
86874         * string/str-two-way.h: Don't undefine MAX.
86875         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
86877 2010-07-21  Andreas Schwab  <schwab@redhat.com>
86879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86880         strcasestr-nonascii.
86881         (CFLAGS-strcasestr-nonascii.c): Define.
86882         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
86883         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
86884         Remove unused attribute.
86886 2010-07-20  Roland McGrath  <roland@redhat.com>
86888         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
86889         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
86890         ld.so.cache was broken.  With it, there is no way to disable dsocaps
86891         like LD_HWCAP_MASK can disable hwcaps.
86893 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
86895         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
86897 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
86899         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
86900         call in strcasestr.
86901         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
86902         __strcasestr_sse42_nonascii.
86903         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
86904         strcasestr-nonascii.c.
86905         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
86907 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
86909         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
86910         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
86911         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
86912         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
86914 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
86916         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
86917         fcntl.
86919 2010-07-06  Andreas Schwab  <schwab@redhat.com>
86921         [BZ #11577]
86922         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86923         dl_signal_cerror.
86925 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
86927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
86928         _PC_PIPE_BUF using F_GETPIPE_SZ.
86930 2010-07-05  Roland McGrath  <roland@redhat.com>
86932         * manual/arith.texi (Rounding Functions): Fix rint description
86933         implicit in round description.
86935 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
86937         * elf/Makefile: Fix linking for a few tests to make recent linker
86938         happy.
86940 2010-06-30  Andreas Schwab  <schwab@redhat.com>
86942         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86943         $(common-objpfx)libc_nonshared.a.
86945 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
86947         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
86948         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
86949         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86950         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86951         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
86952         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
86953         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86954         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
86956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
86957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
86958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
86960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
86962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
86963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
86964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
86965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
86967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
86969         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
86970         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
86971         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
86972         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
86973         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
86974         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
86975         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
86976         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
86977         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
86978         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
86979         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
86980         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
86981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
86982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
86983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
86984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
86985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
86986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
86987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
86988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
86989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
86990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
86991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
86992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
86993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
86994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
86996 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
86998         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
86999         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87000         * string/memmove.c (memmove): Renamed to ...
87001         (MEMMOVE): ...this.  Default to memmove.
87002         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87003         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87004         (END_CHK): Define.
87005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87006         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87007         mempcpy-ssse3-back memmove-ssse3-back.
87008         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87011         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87012         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87013         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87014         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87015         * sysdeps/x86_64/multiarch/memmove.c: New file.
87016         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87017         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87018         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87019         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87020         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87021         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87022         Define.
87023         (index_Fast_Copy_Backward): Define.
87024         (HAS_ARCH_FEATURE): Define.
87025         (HAS_FAST_REP_STRING): Define.
87026         (HAS_FAST_COPY_BACKWARD): Define.
87028 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87030         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87031         Restore proper fallback handling.
87033 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87035         [BZ #11701]
87036         * posix/group_member.c (__group_member): Correct checking loop.
87038         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87039         OOM in getpwuid_r correctly.  Return error number when the caller
87040         should return, otherwise -1.
87041         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87042         call returning > 0 value.
87043         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87045 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87047         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87048         libc_nonshared.a from targets in modules-names.
87050 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87052         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87053         requires it.
87055 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87057         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87058         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87059         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87060         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87062 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87064         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87066 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87068         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87069         and F_GETPIPE_SZ.
87070         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87071         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87074         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87075         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87077 2010-06-14  Roland McGrath  <roland@redhat.com>
87079         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87081 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87083         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87084         __REDIRECT followed by __THROW.
87085         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87086         * posix/getopt.h (getopt): Likewise.
87088 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87090         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87091         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87092         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87093         in AT_FLAGS.
87094         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87095         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87097 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87099         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87101 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87103         [BZ #11640]
87104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87105         Properly check family and model.
87107 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87109         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87111 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87113         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87115 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87117         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87118         symbol reference.
87120 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87122         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87123         symbol reference.
87125 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87127         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87128         and internal_recvmmsg.
87129         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87130         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87131         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87132         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87134         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87135         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87136         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87138 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87140         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87142 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87144         POWER7 optimizations.
87145         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87146         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87148 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87150         * version.h: Update for 2.13 development version.
87152 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87154         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87155         exceptions.  Return 0.
87157 2010-05-07  Roland McGrath  <roland@redhat.com>
87159         * elf/ldconfig.c (main): Add a const.
87161 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87163         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87164         (args_options): Add no-idn option.
87165         (ahosts_keys_int): Add idn_flags to ai_flags.
87166         (parse_option): Handle 'i' option to clear idn_flags.
87168         * malloc/malloc.c (_int_free): Possible race in the most recently
87169         added check.  Only act on the data if no current modification
87170         happened.
87172 See ChangeLog.17 for earlier changes.